/* Reusable visual primitives used by more than one ETV page. */
.etv-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 14px
}

.section-wrap {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 48px var(--site-gutter)
}

.eyebrow,
.ann-eye {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px
}

.eyebrow {
    color: var(--red)
}

.ann-eye {
    color: var(--gold-light)
}

.sec-title,
.ann-title {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    letter-spacing: .03em
}

.sec-title {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.2
}

.ann-title {
    font-size: 34px;
    color: #fff;
    margin-bottom: 24px
}

.ico-b { background: var(--sky-light); color: var(--sky) }
.ico-g { background: #fef5e0; color: var(--gold) }
.ico-n { background: #eef1f8; color: var(--navy) }
.ico-r { background: #fdf0f0; color: var(--red) }

.etv-no {
    font-size: 11px;
    font-weight: 700;
    color: var(--sky);
    font-family: monospace
}

.tech-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text)
}

.tech-co {
    font-size: 11px;
    color: var(--g500);
    margin-top: 2px
}

.cat-pill {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block
}

.cat-air { background: #e6f4fd; color: #1a7aaa }
.cat-water { background: #e6f0fb; color: #1a4aaa }
.cat-waste { background: #e8f5ed; color: #1a7a4a }
.cat-hazard { background: #fef0e0; color: #aa6010 }
.cat-wte { background: #f5e8fb; color: #7a1aaa }

.st-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 4px
}

.st-v { background: var(--sky-light); color: var(--sky) }
.st-o { background: #fef5e0; color: #a06010 }

.vt-full-table {
    background: #fff;
    border: 1px solid var(--g100);
    border-radius: 12px;
    overflow: hidden
}

.vtft-head,
.vtft-row {
    display: grid;
    grid-template-columns: 90px 1fr 160px 120px 100px 44px;
    gap: 12px
}

.vtft-head {
    background: var(--navy);
    padding: 10px 20px
}

.vtft-head span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .05em;
    text-transform: uppercase
}

.vtft-row {
    padding: 13px 20px;
    border-bottom: 1px solid var(--g50);
    align-items: center;
    cursor: pointer;
    transition: background .12s
}

.vtft-row:hover { background: var(--sky-light) }
.vtft-row:last-child { border: none }

.dl-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--g50);
    border: 1px solid var(--g100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all .15s
}

.dl-btn:hover {
    background: var(--sky-light);
    border-color: var(--sky)
}

.vt-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--g100);
    font-size: 12px;
    color: var(--g500)
}

.pg-btns { display: flex; gap: 4px }

.pg-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--g100);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s
}

.pg-btn.cur {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.pg-btn:hover:not(.cur) {
    background: var(--sky-light);
    border-color: var(--sky)
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.dl-card {
    background: #fff;
    border: 1px solid var(--g100);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all .2s
}

.dl-card:hover {
    box-shadow: 0 6px 24px rgba(10, 45, 107, .1);
    border-color: var(--sky)
}

.dl-card-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--sky-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px
}

.dl-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px
}

.dl-card-meta {
    font-size: 11px;
    color: var(--g500);
    margin-bottom: 12px
}

.dl-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sky);
    border: 1px solid var(--sky);
    border-radius: 6px;
    padding: 5px 12px;
    transition: all .15s
}

.dl-card-btn:hover {
    background: var(--sky);
    color: #fff
}

/* ═══════════════════════════════════════
   PAGE BAR (views/layouts/_page_bar.php)
   The slim header of every inner page, laid out like BDS's mailbox bar
   (bds_frontend .bds-page-bar): breadcrumbs, the title and one line beside a
   small icon tile, with optional figures at the right. It replaced each
   page's tall banner and the breadcrumb row under it, which took a third of
   the screen, and keeps that banner's blue: navy, or the gradient of the
   page's old banner (.page-bar--etv / --legal / --resources).
═══════════════════════════════════════ */
.page-bar {
    position: relative;
    background: var(--navy);
    padding: 18px 0;
}

.page-bar--etv {
    background: linear-gradient(135deg, #071d4a 0%, var(--navy) 60%, #0d3a8a 100%);
}

/* The faint grid of the old "What is ETV?" banner. */
.page-bar--etv::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .04;
    background-image: repeating-linear-gradient(0deg, #fff 0, #fff 1px, transparent 0, transparent 40px), repeating-linear-gradient(90deg, #fff 0, #fff 1px, transparent 0, transparent 40px);
    pointer-events: none;
}

.page-bar--legal {
    background: linear-gradient(135deg, #1a2235 0%, var(--navy) 100%);
}

.page-bar--resources {
    background: linear-gradient(135deg, #1a3d8b 0%, var(--navy) 100%);
}

.page-bar-inner {
    position: relative;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-gutter);
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-bar-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--gold-light);
}

.page-bar-text {
    flex: 1 1 auto;
    min-width: 0;
}

/* A <nav>, so it also undoes layout.css's header rules for `nav` / `nav a`. */
.page-bar-crumbs {
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .6);
}

.page-bar-crumbs a {
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: normal;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}

.page-bar-crumbs a:hover {
    background: none;
    color: #fff;
}

.page-bar-crumbs [aria-current="page"] {
    color: var(--gold-light);
    font-weight: 600;
}

.page-bar-sep {
    color: rgba(255, 255, 255, .35);
}

/* The old banners' Bebas Neue title, at a slim bar's size. */
.page-bar-title {
    margin: 2px 0 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(26px, 2.6vw, 32px);
    font-weight: 400;
    letter-spacing: .03em;
    line-height: 1.1;
    color: #fff;
}

.page-bar-lead {
    margin: 3px 0 0;
    max-width: 960px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}

/* Figures at the right (Verified Technologies). */
.page-bar-aside {
    flex: 0 0 auto;
}

.page-bar-stats {
    display: flex;
    gap: 22px;
}

.page-bar-stat {
    text-align: center;
}

.page-bar-stat-num {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    line-height: 1;
    color: var(--gold-light);
}

.page-bar-stat-lbl {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, .65);
    white-space: nowrap;
}

@media (max-width: 860px) {
    .page-bar {
        padding: 12px 0;
    }

    .page-bar-inner {
        flex-wrap: wrap;
        gap: 12px;
        align-items: flex-start;
    }

    .page-bar-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .page-bar-lead {
        font-size: 13px;
    }

    .page-bar-aside {
        flex-basis: 100%;
    }
}
