:root {
    --brand-950: #071c33;
    --brand-900: #0b2948;
    --brand-800: #123d66;
    --brand-700: #17558b;
    --brand-600: #1473e6;
    --brand-500: #2388ff;
    --brand-100: #e7f2ff;
    --ink-950: #101828;
    --ink-700: #344054;
    --ink-500: #667085;
    --border: #e4e7ec;
    --soft: #f5f8fc;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink-950);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-600);
}

.header-brand-row {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.site-brand img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-navigation {
    background: linear-gradient(90deg, var(--brand-950), var(--brand-800));
    min-height: 58px;
}

.site-navigation .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 1.05rem 0.85rem;
}

.site-navigation .nav-link:hover,
.site-navigation .nav-link:focus {
    color: #fff;
}

.site-navigation .dropdown-menu {
    min-width: 270px;
    border-radius: 14px;
    padding: 0.7rem;
}

.site-navigation .dropdown-item {
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
}

.header-search {
    width: min(340px, 100%);
}

.header-search .form-control,
.header-search .btn {
    border: 0;
}

.home-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(35, 136, 255, 0.35), transparent 32%),
        linear-gradient(135deg, #06192d 0%, #0c3156 55%, #105692 100%);
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 42px 42px;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--brand-500);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 780px;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.hero-copy {
    max-width: 700px;
    color: rgba(255,255,255,.78);
    font-size: 1.18rem;
    line-height: 1.75;
}

.hero-panel {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 2.1rem;
    box-shadow: 0 30px 70px rgba(0,0,0,.22);
}

.hero-panel h2 {
    margin-top: 1.4rem;
    font-size: 1.55rem;
    font-weight: 750;
}

.hero-panel p {
    color: rgba(255,255,255,.74);
    line-height: 1.75;
}

.hero-checks {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-checks li {
    padding: 0.6rem 0 0.6rem 1.75rem;
    position: relative;
    color: rgba(255,255,255,.9);
}

.hero-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #72d4ff;
    font-weight: 800;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.hero-metrics div {
    display: grid;
    gap: 0.1rem;
}

.hero-metrics strong {
    font-size: 1.15rem;
}

.hero-metrics span {
    color: rgba(255,255,255,.6);
    font-size: 0.82rem;
}

.section-space {
    padding: 5.5rem 0;
}

.bg-soft {
    background: var(--soft);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.2rem;
}

.section-heading h2 {
    margin: 0.45rem 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    font-weight: 800;
}

.section-link {
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.content-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: #c8ddf7;
    box-shadow: var(--shadow);
}

.content-card-media {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-950), var(--brand-600));
}

.content-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.content-card:hover .content-card-media > img {
    transform: scale(1.035);
}

.content-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.content-card-placeholder img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.content-type-badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(6, 25, 45, 0.82);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.content-card-body {
    padding: 1.4rem;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: var(--ink-500);
    font-size: 0.78rem;
}

.content-meta a {
    font-weight: 750;
    text-decoration: none;
}

.content-card h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.content-card h2 a {
    color: var(--ink-950);
    text-decoration: none;
}

.content-card p {
    margin: 0.9rem 0 1.2rem;
    color: var(--ink-500);
    font-size: 0.93rem;
    line-height: 1.65;
}

.content-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--ink-500);
    font-size: 0.78rem;
}

.read-link {
    text-decoration: none;
    font-weight: 750;
}

.category-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    padding: 2rem;
    box-shadow: 0 10px 35px rgba(16,24,40,.04);
}

.category-card-number {
    position: absolute;
    right: 1.4rem;
    top: 1.2rem;
    color: #e8eef6;
    font-size: 3rem;
    font-weight: 900;
}

.category-card h3 {
    position: relative;
    margin: 0 0 1rem;
    font-size: 1.45rem;
    font-weight: 800;
}

.category-card h3 a {
    color: var(--ink-950);
    text-decoration: none;
}

.category-card p {
    color: var(--ink-500);
    line-height: 1.65;
}

.category-card ul {
    padding-left: 1.1rem;
    color: var(--ink-700);
}

.category-card li {
    margin: 0.45rem 0;
}

.category-card li a {
    color: var(--ink-700);
    text-decoration: none;
}

.category-card-link {
    display: inline-block;
    margin-top: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.page-hero,
.article-hero {
    color: #fff;
    background:
        radial-gradient(circle at 80% 0, rgba(35,136,255,.3), transparent 32%),
        linear-gradient(135deg, var(--brand-950), var(--brand-800));
}

.page-hero h1,
.article-hero h1 {
    margin: 0.7rem 0 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.045em;
    font-weight: 800;
}

.page-hero p {
    max-width: 780px;
    margin: 1rem 0 0;
    color: rgba(255,255,255,.72);
    font-size: 1.1rem;
    line-height: 1.7;
}

.filter-panel {
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(16,24,40,.04);
}

.empty-state {
    padding: 3rem;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    color: var(--ink-500);
    text-align: center;
    background: #fff;
}

.article-header-inner {
    max-width: 940px;
}

.article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,.62);
    font-size: 0.86rem;
}

.article-breadcrumbs a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.content-type-label {
    display: inline-block;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-lead {
    max-width: 850px;
    margin-top: 1.3rem;
    color: rgba(255,255,255,.76);
    font-size: 1.18rem;
    line-height: 1.75;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 1.6rem;
    color: rgba(255,255,255,.62);
    font-size: .86rem;
}

.article-featured-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
}

.article-content {
    color: #25314a;
    font-size: 1.06rem;
    line-height: 1.85;
}

.article-content h2 {
    margin: 3rem 0 1rem;
    color: var(--ink-950);
    font-size: 1.9rem;
    letter-spacing: -0.02em;
    font-weight: 650;
}

.article-content h3 {
    margin: 2.2rem 0 0.8rem;
    color: var(--ink-950);
    font-size: 1.45rem;
    font-weight: 750;
}

.article-content pre {
    overflow-x: auto;
    border-radius: 14px;
    padding: 1.2rem;
    color: #e2e8f0;
    background: #0b1728;
}

.article-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.article-content th,
.article-content td {
    border: 1px solid var(--border);
    padding: 0.8rem;
    text-align: left;
}

.article-sidebar {
    position: sticky;
    top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.sidebar-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--soft);
    padding: 1.5rem;
}

.sidebar-label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-600);
}

.sidebar-card dl {
    margin: 1rem 0 0;
}

.sidebar-card dl > div {
    display: grid;
    gap: .2rem;
    padding: .8rem 0;
    border-top: 1px solid var(--border);
}

.sidebar-card dt {
    color: var(--ink-500);
    font-size: .75rem;
    text-transform: uppercase;
}

.sidebar-card dd {
    margin: 0;
    font-weight: 650;
}

.site-footer {
    color: #fff;
    background: #07192c;
}

.footer-intro {
    max-width: 380px;
    color: rgba(255,255,255,.62);
    line-height: 1.7;
}

.footer-heading {
    margin-bottom: 1rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-heading a {
    color: #fff;
    text-decoration: none;
}

.footer-links li {
    margin: .55rem 0;
}

.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.pagination .page-link {
    color: var(--brand-700);
    border-color: var(--border);
}

@media (max-width: 991.98px) {
    .py-lg-6 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .site-navigation .nav-link {
        padding: .7rem 0;
    }

    .header-search {
        width: 100%;
    }

    .section-space {
        padding: 4rem 0;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .hero-metrics {
        gap: 1.5rem;
    }

    .content-card-media {
        height: 210px;
    }
}

/* 2026-06-30 layout refinements */
.content-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.content-card h2 {
    min-height: 3.4rem;
}

.content-card p {
    min-height: 4.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-card-footer {
    margin-top: auto;
    padding-top: 0.35rem;
}

.filter-panel-compact {
    padding: 1rem 1.1rem;
    border-radius: 14px;
}

.filter-panel-compact .form-label {
    margin-bottom: .35rem;
    font-size: .86rem;
    font-weight: 700;
}

.filter-panel-compact .form-control,
.filter-panel-compact .form-select,
.filter-panel-compact .btn {
    min-height: 42px;
    font-size: .95rem;
}

.footer-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.12);
}

.sidebar-actions {
    display: grid;
    gap: .75rem;
}

/* 2026-06-30 article sidebar and PDF action refinements */
.content-details-card {
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
}

.resource-actions-inline {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.resource-actions-inline .sidebar-label {
    display: block;
    margin-bottom: .65rem;
}

.resource-actions-inline .btn {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 750;
    line-height: 1.1;
    text-align: center;
    box-shadow: 0 12px 22px rgba(20, 115, 230, .16);
}

.resource-actions-inline .btn:hover,
.resource-actions-inline .btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(20, 115, 230, .22);
}

.resource-actions-inline .btn::before {
    content: "↓";
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: .9rem;
    font-weight: 900;
    line-height: 1;
}

.resource-download-card {
    display: block;
    margin-top: .75rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(35,136,255,.18);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    color: var(--text, #101828);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.resource-download-card:hover {
    transform: translateY(-1px);
    border-color: rgba(35,136,255,.42);
    box-shadow: 0 12px 28px rgba(16,24,40,.08);
}
.resource-download-card strong {
    display: block;
    font-size: .95rem;
    margin-top: .2rem;
}
.resource-download-card em {
    display: block;
    color: #667085;
    font-size: .78rem;
    font-style: normal;
    margin-top: .15rem;
}
.resource-download-type {
    display: inline-flex;
    align-items: center;
    padding: .18rem .55rem;
    border-radius: 999px;
    background: #e7f2ff;
    color: #1473e6;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.resource-gate-hero {
    background: radial-gradient(circle at top left, rgba(35,136,255,.14), transparent 36%), #f5f8fc;
    min-height: 72vh;
}
.resource-gate-card {
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid #e4e7ec;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(16,24,40,.10);
}
.resource-gate-card h1 {
    margin: .9rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 800;
}
.resource-gate-card p {
    color: #475467;
    font-size: 1.08rem;
    line-height: 1.7;
}
.resource-gate-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.25rem;
}
.resource-gate-meta span {
    padding: .4rem .75rem;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-size: .82rem;
    font-weight: 700;
}
.resource-gate-form {
    padding: 1.25rem;
    border-radius: 22px;
    background: #f8fbff;
    border: 1px solid #e7f2ff;
}
.resource-back-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: #1473e6;
    font-weight: 700;
    text-decoration: none;
}


/* 2026-07-01 downloadable resources in article sidebar */
.downloadable-sidebar-card {
    margin-top: 0;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
}
.downloadable-sidebar-card h3 {
    margin: .65rem 0 .45rem;
    font-size: 1.1rem;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.downloadable-sidebar-card p {
    margin: 0 0 1rem;
    color: #667085;
    font-size: .92rem;
    line-height: 1.55;
}
.downloadable-sidebar-list {
    display: grid;
    gap: .75rem;
}
.downloadable-sidebar-item {
    display: grid;
    gap: .22rem;
    padding: 1rem;
    border: 1px solid rgba(35,136,255,.18);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    color: var(--text, #101828);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.downloadable-sidebar-item:hover,
.downloadable-sidebar-item:focus {
    transform: translateY(-1px);
    border-color: rgba(35,136,255,.42);
    box-shadow: 0 12px 28px rgba(16,24,40,.08);
}
.downloadable-sidebar-item strong {
    margin-top: .2rem;
    font-size: .98rem;
    line-height: 1.25;
}
.downloadable-sidebar-item small {
    display: block;
    color: #475467;
    font-size: .82rem;
    line-height: 1.35;
}
.downloadable-sidebar-item em {
    display: inline-flex;
    width: fit-content;
    margin-top: .35rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
}

.resource-access-box {
    border: 1px solid rgba(20, 115, 230, .18);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    background: #f7fbff;
}
.resource-access-box strong {
    display: block;
    margin-bottom: .25rem;
    color: #102a43;
}
.resource-access-success {
    border-color: rgba(18, 135, 84, .2);
    background: #f4fbf7;
}
.resource-access-locked {
    border-color: rgba(245, 158, 11, .28);
    background: #fffbeb;
}
.resource-token-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
}
@media (max-width: 575.98px) {
    .resource-token-row {
        grid-template-columns: 1fr;
    }
}

/* Static trust pages and improved search */
.content-page-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    box-shadow: 0 14px 38px rgba(16, 24, 40, 0.06);
}

.content-page-card h2 {
    margin: 2rem 0 .8rem;
    color: var(--ink-950);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.content-page-card h2:first-child {
    margin-top: 0;
}

.content-page-card p,
.content-page-card li {
    color: var(--ink-700);
    line-height: 1.8;
}

.narrow-content {
    max-width: 880px;
    margin: 0 auto;
}

.check-list {
    display: grid;
    gap: .65rem;
    padding-left: 1.2rem;
}

.stacked-form label {
    margin-bottom: .35rem;
    color: var(--ink-950);
    font-weight: 700;
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    color: var(--ink-500);
    font-size: .9rem;
}

.popular-searches span {
    font-weight: 800;
    color: var(--ink-950);
}

.popular-searches a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .35rem .65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-700);
    font-weight: 700;
    text-decoration: none;
}

.popular-searches a:hover {
    border-color: #b9d5fb;
    background: #f8fbff;
}

/* 2026-07-01 website redesign: library, footer, homepage and checklist rendering */
.hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    max-width: 720px;
    padding: .45rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
}
.hero-search .form-control {
    min-height: 52px;
    border: 0;
    border-radius: 14px;
}
.hero-search .btn {
    min-width: 118px;
    border-radius: 14px;
    font-weight: 800;
}
.home-trust-strip {
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
    background: #fff;
}
.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.trust-strip-grid div {
    padding: .8rem 1rem;
    border-left: 3px solid var(--brand-500);
    background: #f8fbff;
    border-radius: 14px;
}
.trust-strip-grid strong,
.trust-strip-grid span {
    display: block;
}
.trust-strip-grid span {
    margin-top: .25rem;
    color: var(--ink-500);
    font-size: .9rem;
}
.category-meta-pill {
    display: inline-flex;
    align-items: center;
    margin: .2rem 0 1rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: .78rem;
    font-weight: 800;
}
.home-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--border);
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(35,136,255,.16), transparent 35%), #fff;
    box-shadow: var(--shadow);
}
.home-cta-card h2 {
    margin: .4rem 0 .65rem;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 850;
    letter-spacing: -.05em;
}
.home-cta-card p {
    max-width: 760px;
    margin: 0;
    color: var(--ink-500);
    line-height: 1.75;
}

.library-section {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.library-filter-bar {
    position: relative;
    z-index: 2;
    margin-top: -2rem;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(16,24,40,.08);
}
.filter-grid-one-row {
    display: grid;
    grid-template-columns: minmax(240px, 1.45fr) minmax(170px, .85fr) minmax(190px, .95fr) minmax(170px, .85fr) minmax(170px, .85fr) auto;
    gap: .9rem;
    align-items: end;
}
.filter-field .form-label {
    margin-bottom: .35rem;
    font-size: .78rem;
    font-weight: 850;
    color: var(--ink-950);
}
.filter-field .form-control,
.filter-field .form-select,
.filter-actions .btn {
    min-height: 44px;
    border-radius: 11px;
}
.filter-actions {
    display: flex;
    gap: .55rem;
    align-items: end;
}
.filter-actions .btn {
    min-width: 82px;
    font-weight: 750;
}
.library-shell {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.library-sidebar {
    position: sticky;
    top: 1.25rem;
    display: grid;
    gap: 1rem;
}
.library-sidebar-card {
    padding: 1.1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16,24,40,.04);
}
.library-sidebar-links,
.library-chip-list {
    display: grid;
    gap: .45rem;
    margin-top: .8rem;
}
.library-sidebar-links a,
.library-chip-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: .55rem .7rem;
    border-radius: 11px;
    color: var(--ink-700);
    background: #fff;
    text-decoration: none;
    font-size: .91rem;
    font-weight: 700;
}
.library-sidebar-links a:hover,
.library-sidebar-links a.active,
.library-chip-list a:hover,
.library-chip-list a.active {
    color: var(--brand-700);
    background: var(--brand-100);
}
.library-chip-list {
    display: flex;
    flex-wrap: wrap;
}
.library-chip-list a {
    min-height: 32px;
    padding: .42rem .68rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .8rem;
}
.library-suggest-card h3 {
    margin: .7rem 0 .35rem;
    font-size: 1.1rem;
    font-weight: 850;
}
.library-suggest-card p {
    color: var(--ink-500);
    font-size: .9rem;
    line-height: 1.55;
}
.library-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--ink-500);
}
.library-toolbar strong {
    color: var(--ink-950);
}
.view-toggle {
    display: inline-flex;
    gap: .2rem;
    padding: .25rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
}
.view-toggle a {
    min-width: 62px;
    padding: .42rem .75rem;
    border-radius: 999px;
    color: var(--ink-700);
    text-align: center;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
}
.view-toggle a.active {
    color: #fff;
    background: var(--brand-600);
}
.content-list-stack {
    display: grid;
    gap: 1rem;
}
.content-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1rem;
}
.content-card-tags span {
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #f2f4f7;
    color: var(--ink-500);
    font-size: .72rem;
    font-weight: 750;
}
.content-card-list {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 210px;
}
.content-card-list .content-card-media {
    height: 100%;
    min-height: 210px;
}
.content-card-list .content-card-body {
    padding: 1.35rem 1.45rem;
}
.content-card-list h2 {
    min-height: 0;
    font-size: 1.45rem;
}
.content-card-list p {
    min-height: 0;
    -webkit-line-clamp: 2;
}

.article-content .task-list {
    display: grid;
    gap: .72rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
}
.article-content .task-list-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
    margin: 0;
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,24,40,.035);
}
.task-checkbox {
    width: 18px;
    height: 18px;
    margin-top: .25rem;
    border: 2px solid #b9c6d8;
    border-radius: 5px;
    background: #fff;
}
.task-list-text {
    line-height: 1.65;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 0, rgba(35,136,255,.18), transparent 34%), #06192d;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .1;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 42px 42px;
}
.site-footer .container {
    position: relative;
    z-index: 1;
}
.footer-top-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(320px, 1.4fr) minmax(160px, .7fr) minmax(160px, .7fr);
    gap: 2rem;
    align-items: start;
}
.footer-brand-panel,
.footer-link-panel {
    min-width: 0;
}
.footer-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem;
    max-width: 360px;
    margin-top: 1.2rem;
    padding: .35rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
}
.footer-search input,
.footer-search button {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
}
.footer-search input {
    min-width: 0;
    padding: 0 .8rem;
    color: #fff;
    background: transparent;
}
.footer-search input::placeholder {
    color: rgba(255,255,255,.55);
}
.footer-search button {
    padding: 0 .8rem;
    color: #fff;
    background: var(--brand-600);
    font-weight: 800;
}
.footer-domain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.footer-domain-title {
    display: inline-flex;
    margin-bottom: .35rem;
    color: #fff;
    font-size: .88rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}
.footer-sub-links li {
    margin: .35rem 0;
}
.footer-sub-links a {
    font-size: .78rem;
}
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
    font-size: .84rem;
}

@media (max-width: 1199.98px) {
    .filter-grid-one-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filter-field-search {
        grid-column: 1 / -1;
    }
    .filter-actions {
        grid-column: 1 / -1;
    }
    .library-shell {
        grid-template-columns: 1fr;
    }
    .library-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-domain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    .hero-search,
    .footer-search,
    .content-card-list {
        grid-template-columns: 1fr;
    }
    .trust-strip-grid,
    .library-sidebar,
    .footer-top-grid,
    .footer-domain-grid {
        grid-template-columns: 1fr;
    }
    .home-cta-card,
    .footer-bottom-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .content-card-list .content-card-media {
        min-height: 210px;
    }
}

/* Final live-readiness design fixes */
.category-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.category-card p {
    min-height: 6.6rem;
}
.category-card ul {
    margin-bottom: 1rem;
}
.category-card-link {
    margin-top: auto;
}
.footer-top-grid {
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.7fr) minmax(170px, .8fr) minmax(170px, .8fr);
}
.footer-bottom-row {
    margin-top: 1.5rem;
}
.policy-content h2 {
    margin-top: 2rem;
}
.policy-content h2:first-child {
    margin-top: 0;
}
.policy-content p {
    color: var(--ink-600);
    line-height: 1.8;
}
@media (max-width: 991.98px) {
    .category-card p {
        min-height: 0;
    }
}

/* 2026-07-02 EE-inspired compact footer */
.site-footer-ee {
    margin-top: 0;
    color: #fff;
    background: #202020;
    overflow: hidden;
}
.site-footer-ee::before {
    display: none;
}
.site-footer-ee .container {
    position: relative;
    z-index: 1;
}
.footer-ee-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3.25rem;
    padding-top: 2.35rem;
    padding-bottom: 2.25rem;
}
.footer-ee-columns {
    display: grid;
    grid-template-columns: minmax(130px, .8fr) minmax(150px, .8fr) minmax(150px, .85fr) minmax(330px, 1.75fr);
    gap: 2.25rem;
    align-items: start;
}
.footer-ee-col {
    min-width: 0;
}
.site-footer-ee .footer-heading {
    margin-bottom: .9rem;
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}
.site-footer-ee .footer-links li {
    margin: 0 0 .48rem;
    line-height: 1.2;
}
.site-footer-ee .footer-links a {
    color: #fff;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
}
.site-footer-ee .footer-links a:hover,
.site-footer-ee .footer-links a:focus {
    color: #8fd0ff;
    text-decoration: none;
}
.footer-ee-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}
.site-footer-ee .footer-see-all {
    display: inline-block;
    margin-top: .2rem;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}
.footer-ee-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: .9rem 0 .9rem 3.6rem;
    border-left: 1px solid rgba(255,255,255,.16);
}
.footer-ee-brand img {
    width: min(230px, 100%);
    height: auto;
    margin-bottom: .85rem;
}
.footer-ee-brand p {
    max-width: 260px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.45;
}
.footer-ee-bottom {
    border-top: 1px solid rgba(255,255,255,.13);
    background: #202020;
}
.footer-ee-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    min-height: 42px;
    color: #fff;
    font-size: .86rem;
}
.footer-ee-legal-links {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.footer-ee-bottom a {
    color: #fff;
    text-decoration: none;
}
.footer-ee-bottom a:hover,
.footer-ee-bottom a:focus {
    color: #8fd0ff;
}
.footer-brand-panel,
.footer-link-panel,
.footer-top-grid,
.footer-bottom-row,
.footer-search,
.footer-domain-grid {
    all: unset;
}
@media (max-width: 1199.98px) {
    .footer-ee-main {
        grid-template-columns: 1fr;
        gap: 1.7rem;
    }
    .footer-ee-brand {
        padding: 1.4rem 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.16);
    }
}
@media (max-width: 991.98px) {
    .footer-ee-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .footer-ee-main {
        padding-top: 1.7rem;
        padding-bottom: 1.7rem;
    }
    .footer-ee-columns,
    .footer-ee-topic-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }
    .footer-ee-bottom-inner {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        padding-top: .8rem;
        padding-bottom: .8rem;
    }
}
