/**
 * Blog page — scoped under .fc-blog-modern
 * Matches home / about / services / projects design system
 */

.fc-blog-modern {
    --fc-navy: #030f27;
    --fc-navy-2: #0a1f45;
    --fc-gold: #fdbe33;
    --fc-gold-soft: rgba(253, 190, 51, 0.22);
    --fc-muted: #5c6577;
    --fc-surface: #fafbfc;
    --fc-radius-xl: 20px;
    --fc-radius-lg: 16px;
    --fc-shadow: 0 8px 40px rgba(3, 15, 39, 0.1);
    --fc-shadow-lg: 0 24px 60px rgba(3, 15, 39, 0.16);
    color: #252525;
    background: var(--fc-surface);
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    .fc-blog-modern *,
    .fc-blog-modern *::before,
    .fc-blog-modern *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.05ms !important;
    }
}

/* ── Shared typography ───────────────────────────────────────── */
.fc-blog-modern .fc-blog-kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fc-gold);
    margin-bottom: 10px;
}
.fc-blog-modern .fc-blog-title {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--fc-navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0;
}
.fc-blog-modern .fc-blog-sub {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--fc-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.fc-blog-modern .fc-blog-section-head.text-center .fc-blog-sub {
    margin-inline: auto;
}
.fc-blog-modern .fc-blog-head-line {
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fc-gold), #ffc94d);
    transform-origin: left center;
}
.fc-blog-modern .fc-blog-head-line--center {
    margin-inline: auto;
}
html[dir='rtl'] .fc-blog-modern .fc-blog-head-line {
    transform-origin: right center;
}
.fc-blog-modern .fc-blog-section-head {
    margin-bottom: clamp(28px, 4vw, 40px);
}

/* ── Hero ──────────────────────────────────────────────────── */
.fc-blog-modern .fc-blog-hero {
    position: relative;
    padding: clamp(48px, 10vw, 88px) 0 clamp(56px, 10vw, 96px);
    overflow: hidden;
    isolation: isolate;
}
.fc-blog-modern .fc-blog-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(3, 15, 39, 0.92) 0%, rgba(10, 31, 69, 0.85) 100%),
        url('../img/carousel-1.jpg') center / cover no-repeat;
    z-index: 0;
}
.fc-blog-modern .fc-blog-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 15% 75%, rgba(253, 190, 51, 0.14), transparent),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
    z-index: 1;
    pointer-events: none;
}
.fc-blog-modern .fc-blog-hero .container {
    position: relative;
    z-index: 2;
}
.fc-blog-modern .fc-blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: clamp(24px, 4vw, 36px);
}
.fc-blog-modern .fc-blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}
.fc-blog-modern .fc-blog-breadcrumb a:hover {
    color: var(--fc-gold);
}
.fc-blog-modern .fc-blog-breadcrumb span:last-child {
    color: var(--fc-gold);
}
.fc-blog-modern .fc-blog-breadcrumb span[aria-hidden] {
    color: rgba(255, 255, 255, 0.35);
}
.fc-blog-modern .fc-blog-hero-title {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 14px;
}
.fc-blog-modern .fc-blog-hero-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
}
.fc-blog-modern .fc-blog-hero .fc-blog-head-line {
    margin-top: 20px;
}

/* ── Topics strip ──────────────────────────────────────────── */
.fc-blog-modern .fc-blog-topics {
    padding-block: clamp(28px, 5vw, 40px);
    background: linear-gradient(90deg, var(--fc-navy) 0%, var(--fc-navy-2) 100%);
    border-bottom: 3px solid var(--fc-gold);
    position: relative;
    overflow: hidden;
}
.fc-blog-modern .fc-blog-topics::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.015) 8px,
        rgba(255, 255, 255, 0.015) 9px
    );
    pointer-events: none;
}
.fc-blog-modern .fc-blog-topics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.fc-blog-modern .fc-blog-topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(253, 190, 51, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.fc-blog-modern .fc-blog-topic-pill i {
    color: var(--fc-gold);
    font-size: 0.85rem;
}
.fc-blog-modern .fc-blog-topic-pill:hover {
    background: rgba(253, 190, 51, 0.12);
    border-color: rgba(253, 190, 51, 0.45);
    transform: translateY(-2px);
}

/* ── Feed section ──────────────────────────────────────────── */
.fc-blog-modern .fc-blog-feed {
    padding-block: clamp(64px, 11vw, 104px);
    background:
        radial-gradient(circle at 92% 8%, rgba(253, 190, 51, 0.1), transparent 45%),
        linear-gradient(180deg, #fff 0%, var(--fc-surface) 100%);
}
.fc-blog-modern .fc-blog-lang-hint {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto clamp(36px, 5vw, 52px);
    padding: 16px 20px;
    border-radius: var(--fc-radius-lg);
    background: rgba(253, 190, 51, 0.1);
    border: 1px solid rgba(253, 190, 51, 0.35);
}
.fc-blog-modern .fc-blog-lang-hint i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--fc-navy);
    color: var(--fc-gold);
    font-size: 1rem;
}
.fc-blog-modern .fc-blog-lang-hint p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--fc-navy);
}
.fc-blog-modern .fc-blog-lang-hint strong {
    color: var(--fc-navy);
}
.fc-blog-modern .fc-blog-feed-list {
    max-width: 820px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 32px);
}
.fc-blog-modern .fc-blog-card-wrap {
    position: relative;
}
.fc-blog-modern .fc-blog-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--fc-gold);
    color: var(--fc-navy);
    box-shadow: 0 4px 16px rgba(253, 190, 51, 0.45);
    pointer-events: none;
}
html[dir='rtl'] .fc-blog-modern .fc-blog-featured-badge {
    right: auto;
    left: 16px;
}

/* ── Blog cards ────────────────────────────────────────────── */
.fc-blog-modern .fc-blog-page-card {
    border-radius: var(--fc-radius-xl);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(3, 15, 39, 0.07);
    box-shadow: var(--fc-shadow);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.fc-blog-modern .fc-blog-card-wrap:hover .fc-blog-page-card {
    transform: translateY(-6px);
    box-shadow: var(--fc-shadow-lg);
}
.fc-blog-modern .fc-blog-page-card-media {
    position: relative;
    display: block;
    height: clamp(200px, 32vw, 280px);
    overflow: hidden;
    text-decoration: none;
}
.fc-blog-modern .fc-blog-card-wrap--featured .fc-blog-page-card-media {
    height: clamp(260px, 38vw, 380px);
}
.fc-blog-modern .fc-blog-page-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fc-blog-modern .fc-blog-card-wrap:hover .fc-blog-page-card-media img {
    transform: scale(1.06);
}
.fc-blog-modern .fc-blog-page-card-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 15, 39, 0.55) 0%, transparent 55%);
    pointer-events: none;
}
.fc-blog-modern .fc-blog-page-card-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(3, 15, 39, 0.78);
    color: var(--fc-gold);
    backdrop-filter: blur(8px);
}
html[dir='rtl'] .fc-blog-modern .fc-blog-page-card-date {
    left: auto;
    right: 16px;
}
.fc-blog-modern .fc-blog-page-card-body {
    padding: clamp(20px, 3.5vw, 28px);
}
.fc-blog-modern .fc-blog-page-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.fc-blog-modern .fc-blog-page-card-avatar-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--fc-gold);
    box-shadow: 0 2px 10px rgba(253, 190, 51, 0.25);
}
.fc-blog-modern .fc-blog-page-card-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fc-blog-modern .fc-blog-page-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.fc-blog-modern .fc-blog-page-card-author-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--fc-navy);
    line-height: 1.3;
}
.fc-blog-modern .fc-blog-page-card-time {
    font-size: 0.8125rem;
    color: var(--fc-muted);
}
.fc-blog-modern .fc-blog-page-card-title {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.fc-blog-modern .fc-blog-page-card-title a {
    color: var(--fc-navy);
    text-decoration: none;
    transition: color 0.25s ease;
}
.fc-blog-modern .fc-blog-page-card-title a:hover {
    color: var(--fc-gold);
}
.fc-blog-modern .fc-blog-page-card-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--fc-muted);
    margin: 0 0 16px;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fc-blog-modern .fc-blog-card-wrap--featured .fc-blog-page-card-text {
    -webkit-line-clamp: 5;
}
.fc-blog-modern .fc-blog-page-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fc-gold);
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}
.fc-blog-modern .fc-blog-page-card-link:hover {
    gap: 12px;
    color: var(--fc-navy);
    text-decoration: none;
}
html[dir='rtl'] .fc-blog-modern .fc-blog-page-card-link i {
    transform: scaleX(-1);
}
.fc-blog-modern .fc-blog-card-wrap--featured .fc-blog-page-card {
    border-color: rgba(253, 190, 51, 0.25);
    box-shadow: 0 12px 48px rgba(3, 15, 39, 0.12);
}

/* Empty state */
.fc-blog-modern .fc-blog-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(3, 15, 39, 0.06);
    color: var(--fc-gold);
    font-size: 1.5rem;
}

/* Pagination */
.fc-blog-modern .fc-blog-pagination {
    margin-top: clamp(36px, 5vw, 52px);
}
.fc-blog-modern .fc-blog-pagination .pagination {
    margin-bottom: 0;
    justify-content: center;
    gap: 6px;
}
.fc-blog-modern .fc-blog-pagination .page-item .page-link {
    border-radius: 10px !important;
    border: 1px solid rgba(3, 15, 39, 0.1) !important;
    color: var(--fc-navy) !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 16px;
    margin: 0 2px;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.fc-blog-modern .fc-blog-pagination .page-item.active .page-link {
    background: linear-gradient(158deg, var(--fc-gold), #e8a820) !important;
    border-color: transparent !important;
    color: var(--fc-navy) !important;
    box-shadow: 0 4px 16px rgba(253, 190, 51, 0.35);
}
.fc-blog-modern .fc-blog-pagination .page-item.disabled .page-link {
    opacity: 0.45;
}
.fc-blog-modern .fc-blog-pagination .page-link:hover {
    background: rgba(253, 190, 51, 0.12) !important;
    border-color: rgba(253, 190, 51, 0.35) !important;
}

/* ── Engagement bar (scoped social UI) ─────────────────────── */
.fc-blog-modern .fc-ig-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 14px clamp(20px, 3.5vw, 28px);
    border-top: 1px solid rgba(3, 15, 39, 0.08);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.fc-blog-modern .fc-ig-bar--card {
    border-bottom: none;
}
.fc-blog-modern .fc-ig-action {
    border: none;
    background: transparent;
    padding: 6px 4px;
    line-height: 1;
    cursor: pointer;
    color: var(--fc-navy);
    transition: transform 0.15s ease, color 0.15s ease;
}
.fc-blog-modern .fc-ig-action:hover {
    color: var(--fc-gold);
    transform: scale(1.06);
}
.fc-blog-modern .fc-ig-action:active {
    transform: scale(0.95);
}
.fc-blog-modern .fc-ig-action i {
    font-size: 1.35rem;
    vertical-align: middle;
}
.fc-blog-modern .fc-ig-heart.fas {
    color: var(--fc-gold);
}
.fc-blog-modern .fc-ig-heart.far {
    color: var(--fc-navy);
}
.fc-blog-modern .fc-ig-stat {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fc-navy);
    margin-right: 4px;
}
.fc-blog-modern .fc-ig-stat-muted {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--fc-muted);
}
.fc-blog-modern .fc-ig-dot {
    color: var(--fc-muted);
    user-select: none;
}

/* ── Trust bar ─────────────────────────────────────────────── */
.fc-blog-modern .fc-blog-trust {
    padding-block: clamp(20px, 4vw, 32px);
    background: #fff;
    border-top: 1px solid rgba(3, 15, 39, 0.06);
    border-bottom: 1px solid rgba(3, 15, 39, 0.06);
}
.fc-blog-modern .fc-blog-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 4vw, 32px);
}
.fc-blog-modern .fc-blog-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fc-navy);
}
.fc-blog-modern .fc-blog-trust-item i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(253, 190, 51, 0.12);
    border: 1px solid rgba(253, 190, 51, 0.25);
    color: var(--fc-gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.fc-blog-modern .fc-blog-trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(3, 15, 39, 0.1);
}

/* ── CTA ───────────────────────────────────────────────────── */
.fc-blog-modern .fc-blog-cta {
    position: relative;
    padding-block: clamp(56px, 9vw, 80px);
    overflow: hidden;
}
.fc-blog-modern .fc-blog-cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(3, 15, 39, 0.94), rgba(10, 31, 69, 0.88)),
        url('../img/carousel-2.jpg') center / cover no-repeat;
    z-index: 0;
}
.fc-blog-modern .fc-blog-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
    padding: clamp(28px, 5vw, 44px);
    border-radius: var(--fc-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fc-blog-modern .fc-blog-cta-copy {
    flex: 1 1 300px;
    max-width: 600px;
}
.fc-blog-modern .fc-blog-cta-copy h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}
.fc-blog-modern .fc-blog-cta-copy p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 0 22px;
}
.fc-blog-modern .fc-blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.fc-blog-modern .fc-blog-cta-btn {
    border-radius: 999px !important;
    padding: 14px 28px !important;
    font-weight: 700 !important;
    border: none !important;
}
.fc-blog-modern .fc-blog-cta-btn--primary {
    background: linear-gradient(158deg, #fdbe33, #e8a820) !important;
    color: var(--fc-navy) !important;
    box-shadow: 0 6px 22px rgba(253, 190, 51, 0.4);
}
.fc-blog-modern .fc-blog-cta-btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
}
.fc-blog-modern .fc-blog-cta-contact {
    text-align: center;
    padding: 20px 28px;
    border-radius: var(--fc-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(253, 190, 51, 0.25);
}
.fc-blog-modern .fc-blog-cta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}
.fc-blog-modern .fc-blog-cta-phone {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fc-gold);
    text-decoration: none;
}
.fc-blog-modern .fc-blog-cta-phone:hover {
    color: #ffc94d;
    text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 575px) {
    .fc-blog-modern .fc-blog-trust-inner {
        flex-direction: column;
    }
    .fc-blog-modern .fc-blog-trust-divider {
        width: 60px;
        height: 1px;
    }
    .fc-blog-modern .fc-blog-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .fc-blog-modern .fc-blog-cta-actions {
        justify-content: center;
    }
    .fc-blog-modern .fc-blog-lang-hint {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Override legacy global styles */
.fc-blog-modern .blog-section,
.fc-blog-modern .page-header {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   Article show page
   ══════════════════════════════════════════════════════════════ */

.fc-blog-modern .fc-article-hero {
    position: relative;
    padding: clamp(48px, 10vw, 88px) 0 clamp(64px, 12vw, 110px);
    overflow: hidden;
    isolation: isolate;
}
.fc-blog-modern .fc-article-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.fc-blog-modern .fc-article-hero-bg--default {
    background-image: url('../img/carousel-1.jpg');
}
.fc-blog-modern .fc-article-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(3, 15, 39, 0.9) 0%, rgba(10, 31, 69, 0.82) 100%),
        radial-gradient(ellipse 55% 45% at 85% 15%, rgba(253, 190, 51, 0.12), transparent);
    z-index: 1;
    pointer-events: none;
}
.fc-blog-modern .fc-article-hero .container {
    position: relative;
    z-index: 2;
}
.fc-blog-modern .fc-article-hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 20px;
    max-width: 820px;
}
.fc-blog-modern .fc-article-hero-meta {
    margin-bottom: 4px;
}
.fc-blog-modern .fc-article-hero-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.fc-blog-modern .fc-article-hero-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--fc-gold);
    box-shadow: 0 4px 16px rgba(253, 190, 51, 0.3);
    flex-shrink: 0;
}
.fc-blog-modern .fc-article-hero-author-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.fc-blog-modern .fc-article-hero-date {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}
.fc-blog-modern .fc-article-hero .fc-blog-head-line {
    margin-top: 24px;
}

/* Article main */
.fc-blog-modern .fc-article-main {
    padding-block: clamp(48px, 8vw, 72px);
    background:
        radial-gradient(circle at 8% 20%, rgba(253, 190, 51, 0.08), transparent 45%),
        linear-gradient(180deg, #fff 0%, var(--fc-surface) 100%);
    margin-top: -32px;
    position: relative;
    z-index: 3;
}
.fc-blog-modern .fc-article-card {
    border-radius: var(--fc-radius-xl);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(3, 15, 39, 0.07);
    box-shadow: var(--fc-shadow-lg);
    margin-bottom: clamp(24px, 4vw, 32px);
}
.fc-blog-modern .fc-article-card-media {
    height: clamp(200px, 30vw, 280px);
    overflow: hidden;
}
.fc-blog-modern .fc-article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fc-blog-modern .fc-article-body {
    padding: clamp(28px, 4vw, 44px);
}
.fc-blog-modern .fc-article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #333;
}
.fc-blog-modern .fc-article-content p {
    margin-bottom: 1.25rem;
}
.fc-blog-modern .fc-article-content h2,
.fc-blog-modern .fc-article-content h3,
.fc-blog-modern .fc-article-content h4 {
    color: var(--fc-navy);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.fc-blog-modern .fc-article-content h2 {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
}
.fc-blog-modern .fc-article-content h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}
.fc-blog-modern .fc-article-content ul,
.fc-blog-modern .fc-article-content ol {
    margin-bottom: 1.25rem;
    padding-inline-start: 1.4rem;
}
.fc-blog-modern .fc-article-content li {
    margin-bottom: 0.5rem;
}
.fc-blog-modern .fc-article-content a {
    color: var(--fc-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.fc-blog-modern .fc-article-content a:hover {
    color: var(--fc-navy);
}
.fc-blog-modern .fc-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fc-radius-lg);
    margin: 1.5rem 0;
    box-shadow: var(--fc-shadow);
}
.fc-blog-modern .fc-article-content blockquote {
    margin: 1.5rem 0;
    padding: 20px 24px;
    border-inline-start: 4px solid var(--fc-gold);
    background: rgba(253, 190, 51, 0.08);
    border-radius: 0 var(--fc-radius-lg) var(--fc-radius-lg) 0;
    color: var(--fc-navy);
    font-style: italic;
}
html[dir='rtl'] .fc-blog-modern .fc-article-content blockquote {
    border-inline-start: none;
    border-inline-end: 4px solid var(--fc-gold);
    border-radius: var(--fc-radius-lg) 0 0 var(--fc-radius-lg);
}

/* Engagement + comments card */
.fc-blog-modern .fc-article-engagement-wrap {
    margin-bottom: clamp(24px, 4vw, 32px);
}
.fc-blog-modern .fc-article-engagement {
    border-radius: var(--fc-radius-xl);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(3, 15, 39, 0.07);
    box-shadow: var(--fc-shadow);
}
.fc-blog-modern .fc-article-engagement > .fc-ig-bar {
    padding: 16px clamp(20px, 3.5vw, 28px);
    border-top: none;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    border-bottom: 1px solid rgba(3, 15, 39, 0.08);
}
.fc-blog-modern .fc-ig-comment-btn {
    margin-inline-start: auto;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--fc-navy);
    border: none;
    background: rgba(253, 190, 51, 0.15);
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.fc-blog-modern .fc-ig-comment-btn:hover {
    background: rgba(253, 190, 51, 0.28);
    transform: translateY(-1px);
}
.fc-blog-modern .fc-ig-comment-static {
    display: inline-flex;
    padding: 6px 4px;
    color: var(--fc-navy);
    pointer-events: none;
}
.fc-blog-modern .fc-ig-comment-static i {
    font-size: 1.35rem;
    vertical-align: middle;
}
.fc-blog-modern .fc-comments-wrap {
    padding: clamp(20px, 3.5vw, 28px);
}

/* Comments thread (scoped) */
.fc-blog-modern .fc-cmt-list {
    padding-top: 8px;
}
.fc-blog-modern .fc-cmt-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fc-muted);
    margin-bottom: 14px;
}
.fc-blog-modern .fc-cmt-empty {
    font-size: 0.9rem;
    color: var(--fc-muted);
    padding: 20px 0 8px;
    text-align: center;
}
.fc-blog-modern .fc-cmt-row {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(3, 15, 39, 0.06);
}
.fc-blog-modern .fc-cmt-row:last-child {
    border-bottom: none;
}
.fc-blog-modern .fc-cmt-replies-expanded > .fc-cmt-thread {
    margin-inline-start: 44px;
    padding-inline-start: 12px;
    border-inline-start: 2px solid rgba(3, 15, 39, 0.08);
}
.fc-blog-modern .fc-cmt-view-replies-wrap {
    margin-top: 6px;
}
.fc-blog-modern .fc-cmt-view-replies {
    border: none;
    background: transparent;
    padding: 4px 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fc-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease;
}
.fc-blog-modern .fc-cmt-view-replies:hover {
    color: var(--fc-navy);
}
.fc-blog-modern .fc-cmt-hide-replies-wrap {
    margin-inline-start: 44px;
    padding: 2px 0 10px 12px;
}
.fc-blog-modern .fc-cmt-hide-replies {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fc-muted);
    cursor: pointer;
}
.fc-blog-modern .fc-cmt-hide-replies:hover {
    color: var(--fc-navy);
    text-decoration: underline;
}
.fc-blog-modern .fc-cmt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}
.fc-blog-modern .fc-cmt-body-wrap {
    flex: 1;
    min-width: 0;
}
.fc-blog-modern .fc-cmt-bubble {
    display: inline-block;
    max-width: 100%;
    background: #f4f4f5;
    border-radius: 18px;
    padding: 8px 14px 10px;
    line-height: 1.45;
}
.fc-blog-modern .fc-cmt-meta {
    font-size: 0.8125rem;
    margin-bottom: 4px;
}
.fc-blog-modern .fc-cmt-user {
    font-weight: 600;
    color: var(--fc-navy);
    margin-inline-end: 8px;
}
.fc-blog-modern .fc-cmt-time {
    color: var(--fc-muted);
    font-weight: 400;
}
.fc-blog-modern .fc-cmt-text {
    margin: 0;
    font-size: 0.9375rem;
    color: #262626;
    white-space: pre-wrap;
    word-break: break-word;
}
.fc-blog-modern .fc-cmt-actions {
    margin-top: 6px;
    padding-inline-start: 2px;
}
.fc-blog-modern .fc-cmt-reply {
    border: none;
    background: none;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fc-muted);
    cursor: pointer;
}
.fc-blog-modern .fc-cmt-reply:hover {
    color: var(--fc-navy);
}
.fc-blog-modern .fc-cmt-reply-shell {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(3, 15, 39, 0.08);
}
.fc-blog-modern .fc-cmt-reply-ta {
    border-radius: 16px !important;
    border: 1px solid rgba(3, 15, 39, 0.1) !important;
    padding: 10px 14px !important;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 72px;
}
.fc-blog-modern .fc-cmt-reply-ta:focus {
    border-color: var(--fc-gold) !important;
    box-shadow: 0 0 0 3px rgba(253, 190, 51, 0.2) !important;
    outline: none;
}
.fc-blog-modern .fc-composer-shell {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0 8px;
    border-top: 1px solid rgba(3, 15, 39, 0.08);
    margin-top: 8px;
}
.fc-blog-modern .fc-composer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fc-blog-modern .fc-composer-inner {
    flex: 1;
    min-width: 0;
}
.fc-blog-modern .fc-composer-input {
    width: 100%;
    border: 1px solid rgba(3, 15, 39, 0.1);
    border-radius: 22px;
    padding: 12px 16px;
    font-size: 0.9375rem;
    resize: vertical;
    min-height: 44px;
    max-height: 200px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fc-blog-modern .fc-composer-input:focus {
    border-color: var(--fc-gold);
    box-shadow: 0 0 0 3px rgba(253, 190, 51, 0.2);
    outline: none;
}
.fc-blog-modern .fc-composer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.fc-blog-modern .fc-composer-post {
    border: none;
    background: var(--fc-gold);
    color: var(--fc-navy);
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 8px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}
.fc-blog-modern .fc-composer-post:hover {
    background: #e5ab2e;
}
.fc-blog-modern .fc-replying-hint {
    font-size: 0.8125rem;
    color: var(--fc-muted);
    margin-bottom: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(3, 15, 39, 0.08);
}
.fc-blog-modern .fc-replying-hint button {
    font-weight: 600;
    padding: 0;
    border: none;
    background: none;
    color: var(--fc-navy);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Back link */
.fc-blog-modern .fc-article-back {
    text-align: center;
    padding-bottom: clamp(16px, 3vw, 24px);
}
.fc-blog-modern .fc-article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--fc-navy);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid rgba(3, 15, 39, 0.12);
    background: #fff;
    box-shadow: var(--fc-shadow);
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.fc-blog-modern .fc-article-back-link:hover {
    border-color: var(--fc-gold);
    color: var(--fc-gold);
    transform: translateY(-2px);
    box-shadow: var(--fc-shadow-lg);
    text-decoration: none;
}
html[dir='rtl'] .fc-blog-modern .fc-article-back-link i {
    transform: scaleX(-1);
}

@media (max-width: 575px) {
    .fc-blog-modern .fc-article-main {
        margin-top: -20px;
    }
    .fc-blog-modern .fc-article-body {
        padding: 22px 20px;
    }
    .fc-blog-modern .fc-ig-comment-btn {
        width: 100%;
        margin-top: 8px;
        margin-inline-start: 0;
        text-align: center;
    }
}
