/* Flagship Resources, Downloads and Knowledge Center presentation. */
.resources-flagship {
    --rf-ink: #26382a;
    --rf-olive: #819e3d;
    --rf-deep: #607b2c;
    --rf-sage: #edf3da;
    --rf-line: #d8e4bd;
    background:
        radial-gradient(circle at 98% 6%, rgba(182, 207, 116, .2), transparent 24%),
        linear-gradient(180deg, #fbfcf7 0%, #f4f7ea 34%, #fff 68%) !important;
}

.resources-flagship .anchor-hero {
    position: relative;
    min-height: min(780px, calc(100svh - 1px));
    padding: clamp(112px, 12vw, 164px) 0 clamp(60px, 7vw, 92px) !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 79% 26%, rgba(193, 215, 133, .32), transparent 31%),
        linear-gradient(106deg, #fbfcf7 0%, #f7faef 50%, #e9f1d5 100%) !important;
}

.resources-flagship .anchor-hero::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 57%;
    width: 24px;
    content: "";
    background: linear-gradient(180deg, #b1cd69, #809d3a);
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
}

.resources-flagship .anchor-hero-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr) !important;
    gap: clamp(32px, 6vw, 92px) !important;
    min-height: 525px;
    align-items: center !important;
}

.resources-flagship .anchor-hero-copy { display: flex; flex-direction: column; justify-content: center; }
.resources-flagship .inner-kicker { color: var(--rf-deep) !important; }

.resources-flagship .anchor-hero h1 {
    max-width: 760px;
    color: var(--rf-ink) !important;
    font-size: clamp(3.75rem, 7vw, 8rem) !important;
    letter-spacing: 0 !important;
    line-height: .87 !important;
}

.resources-flagship .anchor-hero h1 em { color: var(--rf-olive); font-style: normal; }

.resources-flagship .anchor-hero p {
    max-width: 600px;
    margin-top: 27px;
    color: #536252 !important;
    font-size: clamp(1rem, 1.45vw, 1.18rem) !important;
    line-height: 1.7 !important;
}

.resources-flagship .anchor-actions { margin-top: 30px !important; }
.resources-flagship .page-button { min-height: 52px; border-radius: 2px !important; background: var(--rf-olive) !important; box-shadow: none !important; }
.resources-flagship .page-button:hover,
.resources-flagship .page-button:focus-visible { background: var(--rf-deep) !important; }
.resources-flagship .page-button-secondary { border-color: #bbd08a !important; background: rgba(255,255,255,.72) !important; color: #38542f !important; }

.resources-flagship .anchor-hero-media {
    min-height: 525px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #e9f1d5 !important;
    box-shadow: 0 24px 50px rgba(62, 85, 30, .13) !important;
}

.resources-flagship .anchor-hero-media::after { background: linear-gradient(90deg, rgba(129,158,61,.13), transparent 58%) !important; }
.resources-flagship .anchor-hero-media img { min-height: 525px !important; filter: saturate(.85) contrast(1.04); transition: transform .7s ease; }
.resources-flagship .anchor-hero-media:hover img { transform: scale(1.04); }

.resources-flagship .anchor-hero-copy .anchor-metrics {
    position: absolute;
    right: max(32px, calc((100vw - 1360px) / 2));
    bottom: -28px;
    z-index: 3;
    width: min(680px, 52vw);
    max-width: none;
    overflow: hidden;
    border-color: rgba(255,255,255,.9) !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 20px 42px rgba(63,85,31,.14) !important;
    min-height: 0 !important;
}

.resources-flagship .anchor-hero-copy .anchor-metrics div { min-height: 96px; }
.resources-flagship .anchor-metrics strong { color: var(--rf-deep) !important; }

.resources-flagship .enterprise-sticky-nav,
.resources-flagship .anchor-sidebar {
    top: 82px;
    border-bottom-color: transparent !important;
    background: rgba(251,252,247,.88) !important;
}

.resources-flagship .enterprise-nav-scroll,
.resources-flagship .anchor-nav {
    border-width: 0 0 1px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.resources-flagship .enterprise-nav-scroll a,
.resources-flagship .anchor-nav a {
    border-radius: 0 !important;
    color: #536352 !important;
}

.resources-flagship .enterprise-nav-scroll a.is-active,
.resources-flagship .anchor-nav a.is-active {
    background: transparent !important;
    color: var(--rf-deep) !important;
    box-shadow: inset 0 -3px 0 var(--rf-olive) !important;
}

.resources-flagship .anchor-layout { padding-top: clamp(72px, 8vw, 118px) !important; }
.resources-flagship .anchor-content { gap: clamp(72px, 10vw, 142px) !important; }

.resources-flagship .anchor-section {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.resources-flagship .anchor-section::before {
    display: block;
    width: 66px;
    height: 4px;
    margin-bottom: 24px;
    content: "";
    background: linear-gradient(90deg, var(--rf-olive), #c5da87);
}

.resources-flagship .enterprise-section-head { max-width: 760px; margin-bottom: 34px; }
.resources-flagship .enterprise-section-head h2,
.resources-flagship .anchor-section h2 {
    color: var(--rf-ink) !important;
    font-size: clamp(2.6rem, 4.9vw, 5.4rem) !important;
    letter-spacing: 0 !important;
    line-height: .94 !important;
}

.resources-flagship .enterprise-section-head p,
.resources-flagship .anchor-section p { color: #5b6a59 !important; font-size: 1rem !important; line-height: 1.72 !important; }

.resources-flagship .anchor-section-grid { grid-template-columns: minmax(0, .86fr) minmax(340px, 1.14fr) !important; gap: clamp(32px, 5vw, 78px) !important; }
.resources-flagship .anchor-image-card { height: clamp(260px, 28vw, 410px) !important; border-radius: 0 !important; box-shadow: 0 22px 44px rgba(64,85,33,.11) !important; }

.resources-flagship .enterprise-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.resources-flagship .enterprise-directory-item {
    min-height: 208px;
    padding: 28px !important;
    border-color: var(--rf-line) !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: none !important;
}

.resources-flagship .enterprise-directory-item strong { font-size: clamp(1.6rem, 2.6vw, 2.3rem) !important; }
.resources-flagship .enterprise-directory-item:hover { border-color: var(--rf-olive) !important; box-shadow: 0 18px 32px rgba(64,85,33,.1) !important; }

.resources-flagship .enterprise-process,
.resources-flagship .enterprise-pill-grid { margin-top: 34px; }
.resources-flagship .enterprise-process article,
.resources-flagship .anchor-card,
.resources-flagship .resource-card,
.resources-flagship .download-stat-section article {
    border-color: var(--rf-line) !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.9) !important;
    box-shadow: none !important;
}

.resources-flagship .enterprise-process article:hover,
.resources-flagship .anchor-card:hover,
.resources-flagship .resource-card:hover { border-color: var(--rf-olive) !important; box-shadow: 0 15px 28px rgba(64,85,33,.1) !important; }

.resources-flagship .anchor-final-cta { padding: clamp(80px, 10vw, 150px) 0 !important; }
.resources-flagship .anchor-final-card {
    min-height: 330px;
    padding: clamp(44px, 6vw, 80px) !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 90% 15%, rgba(225,240,181,.34), transparent 24%),
        linear-gradient(122deg, #6c8931 0%, #8da946 57%, #aac562 100%) !important;
}

.resources-flagship .anchor-final-card h2 { max-width: 760px; font-size: clamp(2.55rem, 5vw, 5.5rem) !important; line-height: .94 !important; }

/* Download discovery stays fully functional, with clearer enterprise controls. */
.downloads-flagship .anchor-layout { display: grid !important; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); }
.downloads-flagship .anchor-sidebar { position: sticky; align-self: start; top: 116px; padding: 0 !important; background: transparent !important; }
.downloads-flagship .anchor-nav { display: grid !important; gap: 3px; height: auto !important; padding-bottom: 10px; }
.downloads-flagship .anchor-nav a { justify-content: flex-start; min-height: 42px; padding: 0 12px; }
.downloads-flagship .download-control-panel { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.downloads-flagship .download-search { border-radius: 0 !important; border-color: var(--rf-line) !important; background: #fff !important; }
.downloads-flagship .download-filter-row button { border-radius: 0 !important; }
.downloads-flagship .download-filter-row button.is-active { background: var(--rf-olive) !important; }
.downloads-flagship .download-stat-section { margin-top: 24px !important; border-radius: 0 !important; }
.downloads-flagship .download-stat-section article { min-height: 116px; }
.downloads-flagship .download-library-section { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.downloads-flagship .download-library-section h2 { font-size: clamp(2rem, 3.4vw, 3.5rem) !important; }

/* Knowledge reads like an editorial library rather than a stack of generic cards. */
.knowledge-flagship .anchor-layout { display: grid !important; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 68px); }
.knowledge-flagship .anchor-sidebar { position: sticky; align-self: start; top: 116px; padding: 0 !important; background: transparent !important; }
.knowledge-flagship .anchor-nav { display: grid !important; gap: 3px; height: auto !important; padding-bottom: 10px; }
.knowledge-flagship .anchor-nav a { justify-content: flex-start; min-height: 42px; padding: 0 12px; }
.knowledge-flagship .anchor-section-grid { grid-template-columns: minmax(230px, .68fr) minmax(0, 1.32fr) !important; }
.knowledge-flagship .anchor-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 !important; border-top: 1px solid var(--rf-line); border-left: 1px solid var(--rf-line); }
.knowledge-flagship .anchor-card { min-height: 190px; padding: 24px; border-width: 0 1px 1px 0 !important; }
.knowledge-flagship .anchor-card span { border-radius: 0 !important; background: transparent !important; color: var(--rf-olive) !important; padding: 0 !important; }
.knowledge-flagship .anchor-card h3 { color: var(--rf-ink) !important; font-size: 1.23rem !important; }

/* Unified image-led heroes replace the earlier split text and image blocks. */
.resources-flagship .anchor-hero {
    min-height: min(650px, calc(100svh - 1px));
    isolation: isolate;
    background-image:
        linear-gradient(90deg, rgba(251, 252, 247, .98) 0%, rgba(251, 252, 247, .93) 42%, rgba(251, 252, 247, .38) 68%, rgba(251, 252, 247, .12) 100%),
        url('/assets/images/resources/blog1.jpg') !important;
    background-position: center, center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.downloads-flagship .anchor-hero {
    background-image:
        linear-gradient(90deg, rgba(251, 252, 247, .98) 0%, rgba(251, 252, 247, .93) 42%, rgba(251, 252, 247, .38) 68%, rgba(251, 252, 247, .12) 100%),
        url('/assets/images/resources/downloads-library-hero.png') !important;
}

.knowledge-flagship .anchor-hero {
    background-image:
        linear-gradient(90deg, rgba(251, 252, 247, .98) 0%, rgba(251, 252, 247, .93) 42%, rgba(251, 252, 247, .38) 68%, rgba(251, 252, 247, .12) 100%),
        url('/assets/images/resources/knowledge-center-hero.png') !important;
}

.resources-flagship .anchor-hero::before,
.resources-flagship .anchor-hero-media { display: none !important; }

.resources-flagship .anchor-hero-grid {
    display: block !important;
    min-height: 475px;
}

.resources-flagship .anchor-hero-copy {
    position: relative;
    min-height: 475px;
    max-width: 720px;
}

.resources-flagship .anchor-hero-copy .anchor-metrics {
    display: none !important;
}

/* Knowledge resources remain controlled requests until verified documents exist. */
.knowledge-flagship .knowledge-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: var(--rf-deep) !important;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
}

.knowledge-flagship .knowledge-resource-link b { font-size: 1.1rem; transition: transform .25s ease; }
.knowledge-flagship .knowledge-resource-link:hover,
.knowledge-flagship .knowledge-resource-link:focus-visible { color: var(--rf-olive) !important; text-decoration: underline; text-underline-offset: 4px; }
.knowledge-flagship .knowledge-resource-link:hover b,
.knowledge-flagship .knowledge-resource-link:focus-visible b { transform: translateX(4px); }

/* Keep the support invitation compact across all three resource pages. */
.resources-flagship .anchor-final-cta { padding: clamp(52px, 6vw, 76px) 0 !important; }
.resources-flagship .anchor-final-card { min-height: 0 !important; padding: clamp(32px, 4vw, 52px) !important; }
.resources-flagship .anchor-final-card h2 { max-width: 680px; font-size: clamp(2.2rem, 4vw, 4rem) !important; }
.resources-flagship .anchor-final-card p { margin-bottom: 0; }

@media (max-width: 950px) {
    .resources-flagship .anchor-hero { min-height: 0; }
    .resources-flagship .anchor-hero::before { display: none; }
    .resources-flagship .anchor-hero-grid,
    .resources-flagship .anchor-section-grid,
    .downloads-flagship .anchor-layout,
    .knowledge-flagship .anchor-layout { grid-template-columns: 1fr !important; }
    .resources-flagship .anchor-hero-media,
    .resources-flagship .anchor-hero-media img { min-height: 360px !important; }
    .resources-flagship .anchor-hero-copy { min-height: 440px; }
    .downloads-flagship .anchor-sidebar,
    .knowledge-flagship .anchor-sidebar { position: static; }
    .downloads-flagship .anchor-nav,
    .knowledge-flagship .anchor-nav { display: flex !important; overflow-x: auto; }
    .knowledge-flagship .anchor-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 620px) {
    .resources-flagship .anchor-hero { padding-top: 106px !important; }
    .resources-flagship .anchor-hero h1 { font-size: clamp(3.35rem, 16vw, 5rem) !important; }
    .resources-flagship .anchor-hero { min-height: 590px; background-position: 63% center !important; }
    .resources-flagship .anchor-hero-grid,
    .resources-flagship .anchor-hero-copy { min-height: 474px; }
    .resources-flagship .anchor-hero-copy .anchor-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resources-flagship .anchor-hero-copy .anchor-metrics div:nth-child(2) { border-right: 0; }
    .resources-flagship .anchor-content { gap: 82px !important; }
    .resources-flagship .enterprise-directory-list,
    .knowledge-flagship .anchor-card-grid { grid-template-columns: 1fr !important; }
    .resources-flagship .enterprise-directory-item { min-height: 145px; }
    .resources-flagship .anchor-section h2,
    .resources-flagship .enterprise-section-head h2 { font-size: clamp(2.5rem, 12.5vw, 4rem) !important; }
    .resources-flagship .anchor-final-card { min-height: 0; padding: 42px 24px !important; }
}
/* Compact finder shared by the Resources hub and the full-screen index. */
.resource-quick-search {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(340px, 1.15fr);
    gap: 40px;
    align-items: center;
    margin-top: 34px;
    margin-bottom: 26px;
    padding: 28px 32px;
    border: 1px solid #dce7c1;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 34px rgba(44, 73, 36, .06);
}
.resource-quick-search h2 { margin: 6px 0; color: #1f3b2c; font-size: clamp(1.45rem, 2.4vw, 2.2rem); }
.resource-quick-search p { margin: 0; color: #5d6c61; }
.resource-quick-search__input { width: 100%; text-align: left; color: #55675c; padding: 15px 0; border: 0; border-bottom: 2px solid #93ae47; background: transparent; font: inherit; cursor: text; }
.resource-quick-search__input::before { content: '⌕'; margin-right: 10px; color: #789733; }
.resource-quick-search__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.resource-quick-search__chips button { appearance: none; border: 1px solid #d4e1b4; border-radius: 999px; padding: 7px 11px; color: #31513c; background: #fff; font: inherit; font-size: .84rem; cursor: pointer; }
.resource-quick-search__chips button:hover, .resource-quick-search__chips button:focus-visible { background: #eef4df; border-color: #91aa48; }
@media (max-width: 760px) { .resource-quick-search { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; } }
.knowledge-filter{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:26px;align-items:end;margin:34px auto 26px;padding:24px 28px;border:1px solid #dce7c1;background:#fff}.knowledge-filter h2{margin:5px 0 0;color:#1f3b2c;font-size:clamp(1.35rem,2.4vw,2rem)}.knowledge-filter__controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.knowledge-filter label{display:grid;gap:5px;color:#526458;font-size:.74rem;font-weight:700}.knowledge-filter input,.knowledge-filter select{width:100%;min-height:42px;border:1px solid #d4e1b4;background:#fff;color:#24452e;padding:8px;font:inherit}.knowledge-filter input:focus,.knowledge-filter select:focus{outline:3px solid rgba(120,151,51,.35);border-color:#789733}@media(max-width:1024px){.knowledge-filter{grid-template-columns:1fr}.knowledge-filter__controls{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.knowledge-filter{padding:20px}.knowledge-filter__controls{grid-template-columns:1fr}}
.knowledge-filter__empty { margin:0; padding:24px; border:1px solid var(--rf-line); background:#fff; color:#536252; font-weight:700; }

/* Knowledge Center: factual metadata, resource FAQ and secure update capture. */
.knowledge-flagship .anchor-card {
    display: flex;
    flex-direction: column;
}

.knowledge-flagship .kc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--rf-deep);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.knowledge-flagship .knowledge-resource-link { margin-top: 9px; }
.knowledge-filter__results { margin: 9px 0 0; color: #5d6b61; font-size: .82rem; font-weight: 700; }

.kc-faq { border-top: 1px solid var(--rf-line); }
.kc-faq details { border-bottom: 1px solid var(--rf-line); background: rgba(255, 255, 255, .9); }
.kc-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 4px;
    color: var(--rf-ink);
    cursor: pointer;
    font-size: .92rem;
    font-weight: 750;
    list-style: none;
}
.kc-faq summary::-webkit-details-marker { display: none; }
.kc-faq summary span {
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid var(--rf-olive);
    border-radius: 50%;
    color: var(--rf-deep);
    transition: transform .18s ease;
}
.kc-faq details[open] summary span { transform: rotate(45deg); }
.kc-faq details p { max-width: 760px; margin: 0; padding: 0 34px 18px 4px; color: #5d6b61; font-size: .88rem !important; line-height: 1.6 !important; }
.kc-faq details p a { color: var(--rf-deep); font-weight: 700; }

.kc-newsletter__card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 32px;
    align-items: center;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--rf-line);
    background: var(--rf-sage);
}
.kc-newsletter__card h2 { margin: 6px 0 8px; color: var(--rf-ink); font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important; line-height: 1.1 !important; }
.kc-newsletter__card p { margin: 0; color: #5d6b61; }
.kc-newsletter__form { display: grid; gap: 12px; }
.kc-newsletter__form-row { display: flex; gap: 10px; }
.kc-newsletter__form input[type="email"] { flex: 1; min-height: 52px; padding: 0 16px; border: 1px solid var(--rf-line); background: #fff; color: var(--rf-ink); font: inherit; }
.kc-newsletter__form .page-button { min-height: 52px; white-space: nowrap; }
.kc-newsletter__guard { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.kc-newsletter__consent { display: flex; align-items: flex-start; gap: 9px; color: #50604f; font-size: .78rem; line-height: 1.45; }
.kc-newsletter__consent input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--rf-olive); }
.kc-newsletter__consent a { color: var(--rf-deep); font-weight: 700; }
.kc-newsletter__status { margin-bottom: 12px !important; padding: 12px 14px; border: 1px solid transparent; font-size: .83rem !important; font-weight: 700; line-height: 1.45 !important; }
.kc-newsletter__status--success { border-color: #b7d28b; background: #f5f9eb; color: #45601f !important; }
.kc-newsletter__status--error { border-color: #e0c3af; background: #fff7f1; color: #804b29 !important; }

@media (max-width: 780px) {
    .kc-newsletter__card { grid-template-columns: 1fr; }
    .kc-newsletter__form-row { flex-direction: column; }
    .kc-newsletter__form .page-button { width: 100%; }
}

@media (max-width: 620px) {
    .kc-faq summary { padding: 16px 0; }
    .kc-faq details p { padding: 0 0 18px; }
}
