/* ==========================================================================
   Keyfocus - 文化传媒 FDE (Forward Deployed Engineering for Media & Agencies)
   Architectural 4-column pillar matrix echoing #business's signature red hover
   ========================================================================== */

#media-fde {
    background: #f5f6f8;
    border-top: 1px solid rgba(22, 22, 24, 0.08);
    border-bottom: 1px solid rgba(22, 22, 24, 0.08);
    padding: 88px 0;
    position: relative;
    visibility: visible !important;
    scroll-margin-top: 72px;
}

#media-fde .kf-fde-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 48px;
}

#media-fde .kf-fde-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ff214f;
    margin-bottom: 12px;
}

#media-fde .kf-fde-kicker::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    background: #ff214f;
    border-radius: 2px;
}

#media-fde .kf-fde-title {
    font-size: 32px;
    line-height: 1.32;
    font-weight: 700;
    color: #161618;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}

#media-fde .kf-fde-subtitle {
    font-size: 15.5px;
    line-height: 1.82;
    color: #4a4d55;
    margin: 0;
}

/* 4-Column Architectural Pillar Matrix */
#media-fde .kf-fde-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
    counter-reset: fde-card;
}

#media-fde .kf-fde-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(22, 22, 24, 0.09);
    border-radius: 4px;
    padding: 28px 22px 26px;
    box-shadow: 0 4px 18px rgba(18, 22, 33, 0.04);
    display: flex;
    flex-direction: column;
    counter-increment: fde-card;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.32s ease;
}

/* Signature Keyfocus #ff214f bottom-up curtain (echoing #business feature-box-8) */
#media-fde .kf-fde-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #ff214f;
    z-index: 0;
    transition: height 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Oversized editorial index watermark */
#media-fde .kf-fde-card::after {
    content: "0" counter(fde-card);
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: rgba(22, 22, 24, 0.045);
    z-index: 0;
    pointer-events: none;
    transition: color 0.32s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

#media-fde .kf-fde-card > * {
    position: relative;
    z-index: 1;
}

#media-fde .kf-fde-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(255, 33, 79, 0.22);
    border-color: #ff214f;
}

#media-fde .kf-fde-card:hover::before {
    height: 100%;
}

#media-fde .kf-fde-card:hover::after {
    color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

#media-fde .kf-fde-card-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

#media-fde .kf-fde-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #161618;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

#media-fde .kf-fde-dept-meta {
    display: flex;
    flex-direction: column;
}

#media-fde .kf-fde-num {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ff214f;
    line-height: 1.3;
    transition: color 0.28s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-num {
    color: rgba(255, 255, 255, 0.82);
}

#media-fde .kf-fde-dept-name {
    font-size: 18px;
    font-weight: 700;
    color: #161618;
    margin: 2px 0 0;
    line-height: 1.3;
    transition: color 0.28s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-dept-name {
    color: #ffffff;
}

/* Capability Tags */
#media-fde .kf-fde-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

#media-fde .kf-fde-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 2px;
    background: rgba(255, 33, 79, 0.08);
    border: 1px solid rgba(255, 33, 79, 0.14);
    color: #d8133d;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-tag {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

/* Capability List */
#media-fde .kf-fde-list {
    list-style: none;
    padding: 14px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(22, 22, 24, 0.08);
    transition: border-color 0.28s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-list {
    border-top-color: rgba(255, 255, 255, 0.22);
}

#media-fde .kf-fde-list li {
    position: relative;
    padding-left: 13px;
    font-size: 13px;
    line-height: 1.66;
    color: #4a4d55;
    transition: color 0.28s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-list li {
    color: rgba(255, 255, 255, 0.92);
}

#media-fde .kf-fde-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: #ff214f;
    transition: background-color 0.28s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-list li::before {
    background: #ffffff;
}

#media-fde .kf-fde-list li strong {
    color: #161618;
    font-weight: 700;
    margin-right: 3px;
    transition: color 0.28s ease;
}

#media-fde .kf-fde-card:hover .kf-fde-list li strong {
    color: #ffffff;
}

/* Bottom FDE Delivery Banner */
#media-fde .kf-fde-banner {
    background: linear-gradient(135deg, #161618 0%, #23242b 100%);
    border-radius: 4px;
    padding: 26px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(18, 22, 33, 0.14);
}

#media-fde .kf-fde-steps {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

#media-fde .kf-fde-step {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#media-fde .kf-fde-step-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ff5c7d;
}

#media-fde .kf-fde-step-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
}

#media-fde .kf-fde-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 3px;
    background: #ff214f;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#media-fde .kf-fde-cta:hover {
    background: #e01640;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 33, 79, 0.32);
}

@media (max-width: 1199px) {
    #media-fde .kf-fde-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 991px) {
    #media-fde {
        padding: 68px 0;
    }

    #media-fde .kf-fde-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 24px;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    #media-fde .kf-fde-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    #media-fde {
        padding: 54px 0;
    }

    #media-fde .kf-fde-title {
        font-size: 24px;
    }

    #media-fde .kf-fde-subtitle {
        font-size: 14.5px;
    }

    #media-fde .kf-fde-card {
        padding: 22px 20px;
    }

    #media-fde .kf-fde-steps {
        gap: 14px;
    }

    #media-fde .kf-fde-cta {
        width: 100%;
    }
}


/* ==========================================================================
   Media FDE Dedicated Detail Page (media-fde.html / en-us/services/media-fde/)
   ========================================================================== */
body.kf-page-fde {
    background: #ffffff;
    color: #4a4d55;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.kf-page-fde .header-searchbar {
    display: none !important;
}

.kf-fde-hero {
    background-color: #0e1017;
    background-image:
        radial-gradient(ellipse 68% 60% at 50% 0%, rgba(255, 33, 79, 0.24) 0%, rgba(14, 16, 23, 0) 70%),
        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: 100% 100%, 48px 48px, 48px 48px;
    color: #ffffff;
    padding: 138px 0 78px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kf-fde-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.kf-fde-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 33, 79, 0.14);
    border: 1px solid rgba(255, 33, 79, 0.35);
    color: #ff6b89;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.kf-fde-hero h1 {
    font-size: 46px;
    line-height: 1.22;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.kf-fde-hero p.kf-fde-hero-lead {
    font-size: 16px;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto 22px;
    max-width: 920px;
}

.kf-fde-hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    max-width: 920px;
}

.kf-fde-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.kf-fde-hero-pills span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff214f;
    flex-shrink: 0;
}

.kf-fde-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.kf-fde-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 4px;
    background: #ff214f;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
}

.kf-fde-btn-primary:hover {
    background: #e01640;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 33, 79, 0.32);
}

.kf-fde-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
}

.kf-fde-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.kf-fde-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kf-fde-metric-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 22px 20px;
}

.kf-fde-metric-val {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.kf-fde-metric-val span {
    color: #ff4d73;
}

.kf-fde-metric-label {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

/* Detail Page Sections */
.kf-fde-section {
    padding: 80px 0;
    scroll-margin-top: 76px;
}

.kf-fde-section--alt {
    background: #f5f6f8;
    border-top: 1px solid rgba(22, 22, 24, 0.07);
    border-bottom: 1px solid rgba(22, 22, 24, 0.07);
}

.kf-fde-sec-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.kf-fde-sec-head h2 {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
    color: #161618;
    margin: 0 0 12px;
}

.kf-fde-sec-head p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #5b5f68;
    margin: 0;
}

/* Tech Stack Showcase (KeySocial + Multimodal Matrix) */
.kf-fde-tech-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.kf-fde-tech-frame {
    background: #ffffff;
    border: 1px solid rgba(22, 22, 24, 0.09);
    border-radius: 10px;
    padding: 22px 24px 20px;
    box-shadow: 0 10px 30px rgba(18, 22, 33, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

a.kf-fde-tech-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(255, 33, 79, 0.14);
    border-color: rgba(255, 33, 79, 0.45);
}

a.kf-fde-tech-link:hover .kf-fde-tech-caption {
    color: #ff214f;
}

.kf-fde-tech-launch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ff214f;
    font-weight: 700;
    margin-left: 6px;
}

.kf-fde-tech-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(22, 22, 24, 0.07);
}

.kf-fde-tech-top strong {
    font-size: 16px;
    font-weight: 700;
    color: #161618;
}

.kf-fde-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kf-fde-tech-pills span {
    font-size: 11.5px;
    font-weight: 600;
    color: #4a4d55;
    background: #f3f4f7;
    padding: 3px 9px;
    border-radius: 999px;
}

.kf-fde-tech-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(22, 22, 24, 0.06);
}

.kf-fde-tech-caption {
    font-size: 12.5px;
    color: #767a84;
    text-align: center;
    margin-top: 12px;
}

.kf-fde-model-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.kf-fde-model-card {
    background: #ffffff;
    border: 1px solid rgba(22, 22, 24, 0.08);
    border-left: 3px solid #ff214f;
    border-radius: 6px;
    padding: 18px 20px;
    box-shadow: 0 4px 16px rgba(18, 22, 33, 0.04);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kf-fde-model-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #161618;
    margin: 0 0 6px;
}

.kf-fde-model-card .kf-fde-model-chips {
    font-size: 13px;
    font-weight: 600;
    color: #ff214f;
    margin-bottom: 6px;
}

.kf-fde-model-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #5b5f68;
    margin: 0;
}

/* 5 AIGC Video Generation Types Matrix */
.kf-fde-vtype-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.kf-fde-vtype-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(22, 22, 24, 0.09);
    border-top: 3px solid #161618;
    border-radius: 6px;
    padding: 24px 20px 22px;
    box-shadow: 0 4px 18px rgba(18, 22, 33, 0.045);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.kf-fde-vtype-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(18, 22, 33, 0.09);
    border-top-color: #ff214f;
}

.kf-fde-vtype-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.kf-fde-vtype-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255, 33, 79, 0.09);
    color: #ff214f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.kf-fde-vtype-num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(22, 22, 24, 0.28);
}

.kf-fde-vtype-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #161618;
    margin: 0 0 8px;
    line-height: 1.35;
}

.kf-fde-vtype-card p {
    font-size: 13px;
    line-height: 1.7;
    color: #5b5f68;
    margin: 0 0 14px;
    flex: 1;
}

.kf-fde-vtype-meta {
    font-size: 11.5px;
    font-weight: 600;
    color: #d8133d;
    background: rgba(255, 33, 79, 0.07);
    padding: 5px 10px;
    border-radius: 4px;
    line-height: 1.4;
}

/* Featured AIGC Case Studies */
.kf-fde-case-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.kf-fde-case-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(22, 22, 24, 0.08);
    border-radius: 12px;
    padding: 34px 38px;
    box-shadow: 0 6px 24px rgba(18, 22, 33, 0.05);
}

.kf-fde-case-card--reverse .kf-fde-case-media {
    order: -1;
}

.kf-fde-case-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ff214f;
    background: rgba(255, 33, 79, 0.08);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.kf-fde-case-title {
    font-size: 24px !important;
    line-height: 1.38 !important;
    font-weight: 700 !important;
    color: #161618 !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.2px;
}

.kf-fde-case-desc {
    font-size: 14.5px !important;
    line-height: 1.82 !important;
    color: #4a4d55 !important;
    margin: 0 !important;
}

.kf-fde-case-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
}

.kf-fde-case-kpi {
    background: #161618;
    color: #ffffff;
    border-radius: 6px;
    padding: 9px 14px;
    min-width: 112px;
}

.kf-fde-case-kpi strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #ff5c7d;
    line-height: 1.2;
}

.kf-fde-case-kpi span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.78);
}

.kf-fde-case-media {
    background: #f6f7f9;
    border: 1px solid rgba(22, 22, 24, 0.06);
    border-radius: 10px;
    padding: 14px;
    overflow: hidden;
}

.kf-fde-case-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Relocated Dark FDE Banner inside Detail Page */
.kf-fde-banner-wrap {
    padding: 0 0 84px;
    background: #ffffff;
}

.kf-fde-banner-wrap .kf-fde-banner {
    background: linear-gradient(135deg, #161618 0%, #23242b 100%);
    border-radius: 8px;
    padding: 32px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(18, 22, 33, 0.16);
}

.kf-fde-banner-wrap .kf-fde-steps {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.kf-fde-banner-wrap .kf-fde-step {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kf-fde-banner-wrap .kf-fde-step-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #ff5c7d;
}

.kf-fde-banner-wrap .kf-fde-step-text {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.kf-fde-banner-wrap .kf-fde-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 4px;
    background: #ff214f;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.kf-fde-banner-wrap .kf-fde-cta:hover {
    background: #e01640;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 33, 79, 0.35);
}

/* Active state for sticky anchor nav */
body.kf-page-fde .kf-anchor-nav a.is-active {
    background: #ff214f !important;
    color: #ffffff !important;
    border-color: #ff214f !important;
    box-shadow: 0 6px 16px rgba(255, 33, 79, 0.28);
}

body.kf-page-fde .kf-anchor-nav a.is-active span.kf-num {
    color: rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 1199px) {
    .kf-fde-vtype-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .kf-fde-hero { padding: 118px 0 58px; }
    .kf-fde-hero h1 { font-size: 32px; }
    .kf-fde-tech-grid,
    .kf-fde-case-card {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .kf-fde-vtype-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kf-fde-case-card--reverse .kf-fde-case-media {
        order: -1;
    }
    .kf-fde-banner-wrap .kf-fde-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 24px;
    }
}

@media (max-width: 767px) {
    body.kf-page-fde .kf-anchor-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 10px 2px;
        gap: 8px;
    }
    body.kf-page-fde .kf-anchor-nav::-webkit-scrollbar {
        display: none;
    }
    body.kf-page-fde .kf-anchor-nav a {
        flex-shrink: 0;
        font-size: 12.5px;
        padding: 6px 13px;
    }

    .kf-fde-hero {
        padding: 104px 0 46px;
    }
    .kf-fde-hero-badge {
        font-size: 10.5px;
        padding: 5px 12px;
        letter-spacing: 1.2px;
        margin-bottom: 14px;
    }
    .kf-fde-hero h1 {
        font-size: 27px;
        margin-bottom: 12px;
    }
    .kf-fde-hero p.kf-fde-hero-lead {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 22px;
    }
    .kf-fde-hero-actions {
        gap: 10px;
    }
    .kf-fde-btn-primary,
    .kf-fde-btn-ghost {
        padding: 10px 18px;
        font-size: 13.5px;
    }

    .kf-fde-section {
        padding: 48px 0;
    }
    .kf-fde-sec-head {
        margin-bottom: 28px;
    }
    .kf-fde-sec-head h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .kf-fde-sec-head p {
        font-size: 13.5px;
        line-height: 1.7;
    }

    #media-fde .kf-fde-card {
        padding: 20px 18px;
    }
    #media-fde .kf-fde-card::after {
        font-size: 40px;
        top: 10px;
        right: 14px;
    }

    .kf-fde-tech-frame {
        padding: 16px 14px 14px;
    }
    .kf-fde-tech-top strong {
        font-size: 14.5px;
    }
    .kf-fde-tech-pills span {
        font-size: 11px;
        padding: 2px 8px;
    }
    .kf-fde-model-card {
        padding: 15px 16px;
    }
    .kf-fde-model-card h4 {
        font-size: 15px;
    }

    .kf-fde-vtype-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .kf-fde-vtype-card {
        padding: 18px 16px;
    }
    .kf-fde-vtype-card h3 {
        font-size: 16.5px;
    }

    .kf-fde-case-stack {
        gap: 18px;
    }
    .kf-fde-case-card {
        padding: 20px 16px;
        gap: 18px;
        border-radius: 10px;
    }
    .kf-fde-case-title {
        font-size: 19px !important;
        margin-bottom: 10px !important;
    }
    .kf-fde-case-kpis {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin: 12px 0 14px;
    }
    .kf-fde-case-kpi {
        min-width: 0;
        padding: 8px 8px;
        text-align: center;
    }
    .kf-fde-case-kpi strong {
        font-size: 14px;
    }
    .kf-fde-case-kpi span {
        font-size: 10.5px;
        display: block;
    }
    .kf-fde-case-desc {
        font-size: 13.5px !important;
        line-height: 1.75 !important;
    }
    .kf-fde-case-media {
        padding: 8px;
    }

    .kf-fde-banner-wrap {
        padding: 0 0 52px;
    }
    .kf-fde-banner-wrap .kf-fde-banner {
        padding: 22px 18px;
        gap: 18px;
    }
    .kf-fde-banner-wrap .kf-fde-steps {
        gap: 12px;
    }
    .kf-fde-banner-wrap .kf-fde-step-text {
        font-size: 13.5px;
    }
    .kf-fde-banner-wrap .kf-fde-cta {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* ==========================================================================
   GEO Structured Engineering Matrix Tables & Executive FAQ (media-fde.html)
   ========================================================================== */
.kf-fde-table-wrap {
    background: #ffffff;
    border: 1px solid rgba(22, 22, 24, 0.09);
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 6px 24px rgba(18, 22, 33, 0.045);
    margin-bottom: 28px;
}

.kf-fde-table-title {
    font-size: 16px;
    font-weight: 700;
    color: #161618;
    padding: 16px 22px;
    margin: 0;
    border-bottom: 1px solid rgba(22, 22, 24, 0.08);
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.kf-fde-table-title span {
    font-size: 12px;
    font-weight: 600;
    color: #767a84;
}

.kf-fde-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    line-height: 1.68;
    color: #4a4d55;
    min-width: 680px;
}

.kf-fde-table thead th {
    background: #161618;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 12px 18px;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.kf-fde-table tbody td {
    padding: 13px 18px;
    border-top: 1px solid rgba(22, 22, 24, 0.07);
    vertical-align: top;
}

.kf-fde-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.kf-fde-table tbody tr:hover {
    background: #fff5f7;
}

.kf-fde-table tbody td:first-child {
    font-weight: 700;
    color: #161618;
    white-space: nowrap;
}

.kf-fde-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.kf-fde-faq-item {
    background: #ffffff;
    border: 1px solid rgba(22, 22, 24, 0.08);
    border-left: 3px solid #ff214f;
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: 0 4px 16px rgba(18, 22, 33, 0.04);
}

.kf-fde-faq-item h3 {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #161618;
    margin: 0 0 10px;
}

.kf-fde-faq-item p {
    font-size: 13.5px;
    line-height: 1.78;
    color: #4a4d55;
    margin: 0;
}

.kf-fde-verified {
    text-align: center;
    font-size: 12px;
    color: #8a8f9a;
    margin-top: 18px;
}

.kf-fde-verified a {
    color: #ff214f;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .kf-fde-faq-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .kf-fde-table-title {
        padding: 13px 16px;
        font-size: 14.5px;
    }
    .kf-fde-table thead th,
    .kf-fde-table tbody td {
        padding: 10px 12px;
        font-size: 12.5px;
    }
    .kf-fde-faq-item {
        padding: 18px 16px;
    }
    .kf-fde-faq-item h3 {
        font-size: 15px;
    }
}
