/* =========================
   Articles Section
========================= */

.fb-articles-section {
    position: relative;
    overflow: hidden;

    padding: 96px 24px;

    background:
        radial-gradient(circle at 15% 12%, rgba(213, 173, 40, 0.10), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(7, 19, 38, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);

    border-top: 1px solid rgba(231, 223, 210, 0.72);
}

.fb-articles-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(7, 19, 38, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 19, 38, 0.025) 1px, transparent 1px);

    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 72%);
    pointer-events: none;
}

.fb-articles-container {
    position: relative;
    z-index: 2;

    max-width: 1320px;
    margin: 0 auto;
}


/* =========================
   Header
========================= */

.fb-articles-header {
    margin-bottom: 34px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.fb-articles-eyebrow {
    display: inline-flex;
    align-items: center;

    padding: 8px 13px;
    margin-bottom: 18px;

    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-dark);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fb-articles-header h2 {
    max-width: 760px;

    color: var(--text-main);
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.fb-articles-header p:not(.fb-articles-eyebrow) {
    max-width: 720px;
    margin-top: 16px;

    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.fb-articles-view-all {
    flex-shrink: 0;

    min-height: 46px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    background: var(--navy);
    color: #ffffff;

    font-size: 0.92rem;
    font-weight: 850;

    box-shadow: 0 16px 34px rgba(7, 19, 38, 0.16);
    transition: all 0.2s ease;
}

.fb-articles-view-all:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}


/* =========================
   Article Grid
========================= */

.fb-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fb-article-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(222, 222, 216, 0.92);
    box-shadow: 0 18px 44px rgba(31, 31, 31, 0.055);
    backdrop-filter: blur(14px);

    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.fb-article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(213, 173, 40, 0.42);
    box-shadow: 0 26px 64px rgba(31, 31, 31, 0.09);
}

.fb-article-image-link {
    display: block;
}

.fb-article-image,
.fb-article-image-placeholder {
    width: 100%;
    height: 210px;

    display: block;
}

.fb-article-image {
    object-fit: cover;
}

.fb-article-image-placeholder {
    position: relative;
    overflow: hidden;

    display: grid;
    place-items: center;

    background:
        radial-gradient(circle at top right, rgba(213, 173, 40, 0.22), transparent 34%),
        linear-gradient(180deg, #101827 0%, #071326 100%);
}

.fb-article-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);

    background-size: 38px 38px;
    pointer-events: none;
}

.fb-article-image-placeholder span {
    position: relative;
    z-index: 2;

    width: 74px;
    height: 74px;

    display: grid;
    place-items: center;

    border-radius: 24px;
    background: var(--gold);
    color: var(--navy);

    font-size: 2rem;
    font-weight: 900;
}


/* =========================
   Article Content
========================= */

.fb-article-content {
    flex: 1;
    padding: 24px;

    display: flex;
    flex-direction: column;
}

.fb-article-meta {
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fb-article-meta span {
    padding: 7px 10px;

    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-dark);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fb-article-meta small {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 750;
    white-space: nowrap;
}

.fb-article-content h3 {
    margin: 0;

    color: var(--text-main);
    font-size: 1.25rem;
    line-height: 1.14;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.fb-article-content h3 a {
    color: inherit;
}

.fb-article-content h3 a:hover {
    color: var(--gold-dark);
}

.fb-article-content p {
    margin-top: 12px;

    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.fb-article-read-more {
    width: fit-content;
    margin-top: auto;
    padding-top: 18px;

    color: var(--gold-dark);
    font-size: 0.9rem;
    font-weight: 900;

    transition: color 0.2s ease;
}

.fb-article-read-more:hover {
    color: var(--navy);
}


/* =========================
   Empty State
========================= */

.fb-articles-empty {
    padding: 42px 24px;

    text-align: center;

    border-radius: 28px;
    background: #ffffff;
    border: 1px dashed var(--border-strong);
    box-shadow: 0 18px 44px rgba(31, 31, 31, 0.045);
}

.fb-articles-empty span {
    width: 64px;
    height: 64px;

    margin: 0 auto 18px;

    display: grid;
    place-items: center;

    border-radius: 22px;
    background: var(--gold-soft);
    color: var(--gold-dark);

    font-size: 1.1rem;
    font-weight: 900;
}

.fb-articles-empty h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.fb-articles-empty p {
    max-width: 560px;
    margin: 10px auto 0;

    color: var(--text-muted);
    line-height: 1.65;
}


/* =========================
   Responsive
========================= */

@media (max-width: 1040px) {
    .fb-articles-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fb-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .fb-articles-section {
        padding: 74px 18px;
    }

    .fb-articles-grid {
        grid-template-columns: 1fr;
    }

    .fb-article-image,
    .fb-article-image-placeholder {
        height: 190px;
    }

    .fb-articles-view-all {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .fb-articles-section {
        padding: 64px 16px;
    }

    .fb-article-card,
    .fb-articles-empty {
        border-radius: 22px;
    }

    .fb-article-content {
        padding: 20px;
    }

    .fb-article-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}