.spfl-container {
box-sizing: border-box;
width: 100%;
margin: 30px auto;
}
.spfl-container *,
.spfl-container *::before,
.spfl-container *::after {
box-sizing: inherit;
} .spfl-filter-nav {
margin-bottom: 30px;
text-align: center;
}
.spfl-filter-tabs {
list-style: none;
padding: 0;
margin: 0;
display: inline-flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}
.spfl-filter-tabs .spfl-tab-item {
margin: 0;
padding: 0;
}
.spfl-filter-tabs .spfl-filter-btn {
display: inline-block;
padding: 10px 22px;
font-size: 15px;
font-weight: 600;
text-decoration: none;
color: #333333;
background-color: #f3f4f6;
border-radius: 30px;
transition: all 0.25s ease-in-out;
border: 1px solid transparent;
cursor: pointer;
}
.spfl-filter-tabs .spfl-filter-btn:hover {
background-color: #e5e7eb;
color: #000000 !important;
}
.spfl-filter-tabs .spfl-tab-item.active .spfl-filter-btn {
background-color: #000000 !important;
color: #ffffff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} .spfl-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 28px;
margin-bottom: 35px;
transition: opacity 0.2s ease;
}
.spfl-grid.spfl-loading {
opacity: 0.5;
pointer-events: none;
} .spfl-card {
position: relative;
border-radius: 12px;
overflow: hidden;
background-color: #1a1a1a;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spfl-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}
.spfl-card-image-wrap {
position: relative;
width: 100%;
aspect-ratio: 16 / 10;
overflow: hidden;
}
.spfl-card-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.5s ease;
}
.spfl-card:hover .spfl-card-img {
transform: scale(1.05);
} .spfl-card-overlay {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 24px;
transition: background-color 0.35s ease;
}
.spfl-card:hover .spfl-card-overlay {
background-color: rgba(0, 0, 0, 0.65);
}
.spfl-card-content {
color: #ffffff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
max-width: 90%;
}
.spfl-card-title {
margin: 0 0 12px 0;
font-weight: 600 !important;
line-height: 1.3;
text-align: center;
}
.spfl-card-title a {
color: #ffffff !important;
text-decoration: none;
transition: color 0.2s ease;
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.spfl-card-title a:hover {
color: #ffffff;
text-decoration: none;
}
.spfl-card-action {
margin-top: 6px;
text-align: center;
}
.spfl-view-project-link {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
color: #ffffff !important;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(4px);
border: 1px solid rgba(255, 255, 255, 0.4);
padding: 8px 18px;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: all 0.25s ease;
}
.spfl-view-project-link:hover {
background: #ffffff;
color: #000000 !important;
border-color: #ffffff;
transform: translateY(-2px);
} .spfl-no-posts {
grid-column: 1 / -1;
text-align: center;
padding: 50px 20px;
background: #f9fafb;
border-radius: 8px;
color: #6b7280;
font-size: 16px;
} .spfl-pagination-wrapper {
text-align: center;
margin-top: 20px;
}
.spfl-load-more-btn {
background-color: #000000 !important;
color: #ffffff;
border: none;
padding: 14px 34px;
font-size: 15px;
font-weight: 600;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.25s ease, transform 0.2s ease;
}
.spfl-load-more-btn:hover {
background-color: #374151 !important;
transform: translateY(-2px);
}
.spfl-load-more-btn:disabled {
background-color: #9ca3af;
cursor: not-allowed;
transform: none;
} .spfl-numeric-pagination .spfl-page-numbers {
display: inline-flex;
gap: 8px;
}
.spfl-page-num {
background-color: #f3f4f6 !important;
color: #374151 !important;
border: 1px solid #d1d5db !important;
border-radius: 6px;
min-width: 42px;
height: 42px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.spfl-page-num:hover {
background-color: #e5e7eb !important;
}
.spfl-page-num.active {
background-color: #000000 !important;
color: #ffffff 111827;
border-color: #000000 !important;
} .spfl-loading-indicator {
text-align: center;
margin: 20px 0;
color: #4b5563;
font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.spfl-spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(0, 0, 0, 0.1);
border-radius: 50%;
border-top-color: #000000 !important;
animation: spfl-spin 0.8s linear infinite;
}
@keyframes spfl-spin {
to {
transform: rotate(360deg);
}
} @media (max-width: 768px) {
.spfl-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.spfl-card-title {
font-size: 19px;
}
.spfl-card-overlay {
padding: 18px;
}
}