.fpv-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

/* Toolbar: filter tabs + sort dropdown */
.fpv-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.fpv-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.fpv-filter {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #D8D8D8;
    color: #3A3A3A;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
}
.fpv-filter:hover {
    border-color: #0F1C3D;
}
.fpv-filter.active {
    background: #0F1C3D;
    border-color: #0F1C3D;
    color: #fff;
}
.fpv-sort {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #3A3A3A;
    background: #fff;
    border: 1px solid #D8D8D8;
    border-radius: 6px;
    padding: 9px 14px;
}

/* Badge, shared by hero and grid cards */
.fpv-badge {
    display: inline-block;
    background: var(--badge-color, #0F1C3D);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 999px;
}

/* Featured hero card */
.fpv-hero-card {
    display: flex;
    background: #EEF3FA;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}
.fpv-hero-image {
    flex: 0 0 42%;
}
.fpv-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fpv-hero-body {
    flex: 1 1 auto;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.fpv-hero-body .fpv-badge {
    margin-bottom: 12px;
}
.fpv-hero-title {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #16233F;
    text-decoration: none;
    margin-bottom: 12px;
}
.fpv-hero-title:hover {
    color: #0F1C3D;
}
.fpv-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #5A5A5A;
    margin-bottom: 14px;
}
.fpv-hero-meta svg {
    vertical-align: -2px;
    margin-right: 3px;
}
.fpv-meta-sep {
    color: #B8B8B8;
}
.fpv-hero-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #46505E;
    margin: 0 0 18px;
}
.fpv-hero-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.fpv-hero-link span {
    transition: transform 0.15s ease;
}
.fpv-hero-link:hover span {
    transform: translateX(3px);
}

/* Section heading */
.fpv-heading {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 22px;
}

/* 4-column grid */
.fpv-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.fpv-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fpv-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.fpv-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    background: #EDEDED;
}
.fpv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fpv-badge-sm {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 4px 10px;
}
.fpv-card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.fpv-card-title {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #1A1A1A;
    text-decoration: none;
    margin-bottom: 8px;
}
.fpv-card-title:hover {
    color: #0F1C3D;
}
.fpv-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: #5A5A5A;
    margin: 0 0 14px;
    flex: 1 1 auto;
}
.fpv-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
    margin-top: auto;
}
.fpv-card-link span {
    transition: transform 0.15s ease;
}
.fpv-card-link:hover span {
    transform: translateX(3px);
}

.fpv-loading,
.fpv-empty {
    padding: 24px 0;
    color: #6B6B6B;
    font-family: 'Inter', sans-serif;
}

/* Pagination */
.fpv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.fpv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;
}
.fpv-pagination .page-numbers:hover {
    border-color: #0F1C3D;
}
.fpv-pagination .page-numbers.current {
    background: #0F1C3D;
    border-color: #0F1C3D;
    color: #fff;
    box-shadow: none;
}
.fpv-pagination .page-numbers.dots {
    border: none;
    box-shadow: none;
    background: transparent;
    color: #6B6B6B;
    min-width: auto;
    padding: 0 2px;
}
.fpv-pagination .page-numbers.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 980px) {
    .fpv-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .fpv-hero-card {
        flex-direction: column;
    }
    .fpv-hero-image {
        flex-basis: auto;
        height: 220px;
    }
    .fpv-cards {
        grid-template-columns: 1fr;
    }
}
