:root {
    --ink: #203b37;
    --muted: #66736b;
    --paper: #fafbf7;
    --line: #dfe5dc;
    --lime: #d9f58c;
    --green: #153f39;
    --bs-body-font-family: 'Segoe UI',Arial,sans-serif;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-link-color: var(--green);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    margin: 0;
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

button,input,select {
    font: inherit;
}

a,button {
    touch-action: manipulation;
}

[hidden] {
    display: none!important;
}

h1,h2,h3 {
    letter-spacing: -.045em;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
    outline: 3px solid #688d29;
    outline-offset: 4px;
}

::selection {
    background: var(--lime);
}

.container-xxl {
    max-width: 1320px;
    padding-left: 40px;
    padding-right: 40px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    background: white;
    padding: 10px;
    z-index: 50;
}

.skip-link:focus {
    top: 10px;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.site-header nav {
    min-height: 96px;
}

.brand {
    font-size: 33px;
    letter-spacing: -1.7px;
    font-weight: 750;
    text-decoration: none;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.brand-tv {
    font-weight: 400;
    color: #517750;
}

.brand-mark {
    background: var(--green);
    color: var(--lime);
    border-radius: 11px;
    font-size: 19px;
    padding: 7px 11px;
    letter-spacing: 0;
}

.nav-links a,.channel-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    text-decoration: underline;
}

.channel-link {
    border: 1px solid #aebbac;
    padding: 10px 15px;
    border-radius: 6px;
}

.theme-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.js .theme-toggle {
    display: inline-flex;
}

.theme-toggle:hover {
    border-color: #8ba957;
}

.theme-icon {
    font-size: 18px;
    line-height: 1;
}

.hero {
    padding: 65px 0 58px;
    background: radial-gradient(ellipse at 95% 0,#e5eeda70,transparent 60%);
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.9px;
    font-weight: 700;
    margin-bottom: 21px;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6c8d3c;
    margin-right: 9px;
    vertical-align: middle;
}

.hero h1 {
    font-size: clamp(38px,4.15vw,57px);
    font-weight: 600;
    line-height: 1.17;
    margin-bottom: 23px;
    letter-spacing: -2.9px;
}

em {
    font-style: normal;
    color: #69834e;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    max-width: 460px;
    color: var(--muted);
    margin-bottom: 28px;
}

.hero-search {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #cdd7c8;
    padding: 8px 9px 8px 17px;
    gap: 12px;
    max-width: 490px;
    border-radius: 7px;
    box-shadow: 0 5px 15px #244a3410;
}

.hero-search>span {
    font-size: 29px;
}

.hero-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: none;
    font-size: 13px;
    padding: 9px 0;
    outline-offset: 0;
}

.hero-search button {
    background: var(--green);
    color: white;
    border: 0;
    border-radius: 5px;
    font-size: 23px;
    width: 43px;
    flex-shrink: 0;
    height: 42px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    color: var(--muted);
    gap: 13px;
    margin-top: 23px;
}

.hero-stats span+span {
    border-left: 1px solid #ccd4c7;
    padding-left: 13px;
}

.hero-stats strong {
    font-weight: 700;
    color: var(--ink);
}

.featured-video {
    display: block;
    background: var(--green);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 30px #1c3d3220;
    margin-left: 30px;
}

.featured-image {
    position: relative;
    aspect-ratio: 16/8.3;
    overflow: hidden;
    background: #ced8ca;
}

.featured-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,#112a3c30,transparent 50%,#0c342d30);
}

.featured-label {
    position: absolute;
    left: 20px;
    top: 18px;
    background: #fafbf7ed;
    color: var(--ink);
    font-size: 9px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 1;
}

.play-large {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 62px;
    height: 62px;
    background: #fffffff0;
    color: var(--green);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 21px;
    z-index: 1;
    padding-left: 3px;
}

.featured-copy {
    padding: 22px 25px 24px;
}

.featured-copy>p {
    color: #c1d8b5;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.featured-copy h2 {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.featured-copy>span {
    font-size: 11px;
    color: #e1efce;
    display: flex;
    justify-content: space-between;
}

.conference-section {
    padding: 35px 0 45px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 9px;
}

.section-heading h2 {
    font-size: 27px;
    font-weight: 600;
    margin: 0;
}

.section-heading>a {
    font-size: 11px;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 1px solid #879e7a;
    padding-bottom: 3px;
}

.collection-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 28px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 145px;
    text-decoration: none;
    border: 1px solid #d6dfcd;
}

.collection-0 {
    background: #eaf0df;
}

.collection-1 {
    background: #e8eeec;
}

.collection-kicker {
    font-size: 8px;
    letter-spacing: 1.8px;
    font-weight: 700;
}

.collection-card h3 {
    font-size: 29px;
    letter-spacing: -1px;
    margin-top: 7px;
    margin-bottom: 6px;
}

.collection-card p {
    font-size: 11px;
    margin: 0;
    color: #556656;
}

.collection-arrow {
    font-size: 25px;
    position: relative;
    z-index: 1;
    margin-right: 5px;
}

.collection-pattern {
    width: 170px;
    height: 170px;
    border: 1px solid #59765d25;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: -13px;
    box-shadow: 0 0 0 23px #59765d08,0 0 0 45px #59765d08,0 0 0 67px #59765d08;
    pointer-events: none;
}

.collection-card:hover {
    border-color: #748b65;
}

.library-section {
    padding-top: 54px;
    padding-bottom: 45px;
}

.heading-dot {
    color: #8ba957;
}

.catalog-note {
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 24px;
}

.catalog-note a {
    margin-left: 6px;
}

.filter-bar {
    margin-bottom: 16px;
    padding: 20px 7px 22px;
    background: #f0f3eb;
    border-radius: 8px;
    border: 1px solid #e2e8dc;
}

.form-label {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-select,.form-control {
    font-size: 12px;
    min-height: 43px;
    border-color: #d7dfd1;
    border-radius: 5px;
    background-color: #fff;
}

.form-control:focus,.form-select:focus {
    border-color: #799461;
    box-shadow: 0 0 0 .2rem #94b47830;
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 23px 0 19px;
    font-size: 12px;
    color: var(--muted);
}

.results-toolbar p {
    margin: 0;
}

.text-button {
    border: none;
    background: none;
    font-size: 11px;
    text-decoration: underline;
    color: var(--ink);
}

.video-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s,transform .2s;
}

.video-card:hover {
    box-shadow: 0 8px 25px #19392a0f;
    transform: translateY(-3px);
}

.thumbnail-link {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e5e9df;
}

.thumbnail-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    bottom: 11px;
    right: 11px;
    color: #fff;
    background: #152a27df;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 3px;
}

.play-small {
    position: absolute;
    left: 13px;
    bottom: 11px;
    background: #ffffffee;
    color: var(--green);
    font-size: 11px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding-left: 2px;
}

.video-card-body {
    padding: 19px 20px 12px;
}

.card-eyebrow {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    font-size: 9px;
    color: #667b54;
    margin-bottom: 11px;
    font-weight: 650;
}

.card-eyebrow>span:last-child {
    color: #788279;
}

.video-card h3 {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.55;
    letter-spacing: -.2px;
    margin-bottom: 13px;
    min-height: 70px;
}

.video-card h3 a {
    text-decoration: none;
}

.video-card h3 a:hover {
    text-decoration: underline;
}

.speaker {
    font-size: 12px;
    color: var(--muted);
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #edf0e8;
    padding-top: 10px;
    min-height: 38px;
}

.source-label {
    font-size: 9px;
    color: #707c6e;
}

.save-button {
    border: 1px solid #dce3d7;
    background: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 17px;
    display: grid;
    place-items: center;
    line-height: 1;
    color: #547346;
}

.save-button[aria-pressed=true] {
    background: var(--lime);
    border-color: var(--lime);
}

.load-more-wrap {
    text-align: center;
    margin: 35px 0 0;
}

.btn {
    font-size: 12px;
    font-weight: 550;
    border-radius: 5px;
}

.btn-dark {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: #28564c;
    --bs-btn-hover-border-color: #28564c;
}

.btn-outline-dark {
    --bs-btn-color: var(--green);
    --bs-btn-border-color: #bdc8b5;
    --bs-btn-hover-bg: var(--green);
}

#saved-count {
    margin-left: 7px;
    border-radius: 20px;
    background: #e4ecd8;
    color: var(--green);
    padding: 2px 6px;
}

.closing-section {
    padding-top: 35px;
    padding-bottom: 39px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-top: 1px solid var(--line);
}

.closing-section .eyebrow {
    font-size: 9px;
    margin-bottom: 11px;
}

.closing-section h2 {
    font-size: 28px;
}

.closing-section p:last-child {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 31px 0 40px;
    background: #f0f3eb;
}

.small-brand {
    font-size: 25px;
    gap: 0;
}

.site-footer p,.site-footer .d-flex>a {
    font-size: 10px;
    color: #62725b;
}

.site-footer .d-flex>a {
    text-decoration: none;
}

.empty-results {
    text-align: center;
    padding: 65px 20px;
}

.empty-results>span {
    font-size: 45px;
}

.empty-results h3 {
    font-size: 25px;
}

.empty-results p {
    color: var(--muted);
}

.watch-page {
    padding-top: 30px;
    padding-bottom: 80px;
}

.breadcrumbs {
    display: flex;
    gap: 12px;
    font-size: 11px;
    margin-bottom: 28px;
    color: #6a7864;
}

.breadcrumbs a {
    text-decoration: none;
}

.player-shell {
    overflow: hidden;
    border-radius: 10px;
    background: var(--green);
}

.player-poster {
    display: grid;
    place-items: center;
}

.player-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: .7;
}

.player-button {
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    border: 0;
    border-radius: 6px;
    background: var(--paper);
    padding: 16px 24px;
    font-size: 14px;
    text-decoration: none;
}

.player-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 12px;
}

.watch-heading {
    margin-top: 32px;
}

.watch-heading .eyebrow {
    margin-bottom: 12px;
}

.watch-heading h1 {
    font-size: 34px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.watch-authors {
    font-size: 17px;
    color: var(--muted);
    margin-top: 18px;
}

.watch-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
}

.watch-actions .btn {
    padding: 10px 16px;
}

#copy-status {
    font-size: 11px;
}

.text-section {
    padding-top: 26px;
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.text-section h2 {
    font-size: 23px;
    margin-bottom: 15px;
}

.text-section p {
    font-size: 15px;
    line-height: 1.9;
    color: #5b6b62;
}

.preserve-lines {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.details-panel {
    padding: 29px;
    background: #eef2e8;
    border: 1px solid #dee5d7;
    border-radius: 8px;
}

.details-panel h2 {
    font-size: 24px;
    margin-bottom: 18px;
}

.details-panel p {
    font-size: 14px;
    color: var(--muted);
}

.details-panel .eyebrow {
    font-size: 10px;
}

.details-panel dt {
    font-size: 10px;
    color: #6f7f62;
    margin-bottom: 4px;
    font-weight: 500;
}

.details-panel dd {
    font-size: 14px;
    margin-bottom: 18px;
}

.details-panel dd:last-child {
    margin-bottom: 0;
}

.details-panel dl {
    margin-bottom: 0;
}

.resource-link {
    display: block;
    margin-top: 18px;
    font-size: 12px;
}

.topic-list {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.topic-list a {
    font-size: 11px;
    border: 1px solid #c7d1bd;
    border-radius: 4px;
    padding: 5px 8px;
    text-decoration: none;
}

.aside-note {
    padding: 30px 8px;
}

.aside-note h2 {
    font-size: 20px;
}

.aside-note p,.aside-note a {
    font-size: 12px;
    color: var(--muted);
}

.about-page {
    padding-top: 70px;
    padding-bottom: 80px;
}

.about-page>h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-page>.lead {
    max-width: 690px;
    line-height: 1.8;
    color: var(--muted);
    font-size: 19px;
}

:root[data-theme=dark] {
    color-scheme: dark;
    --ink: #edf4ec;
    --muted: #b4c6bc;
    --paper: #101b19;
    --line: #3b554c;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-link-color: #c4e4a8;
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--line);
}

[data-theme=dark] .skip-link,
[data-theme=dark] .hero-search,
[data-theme=dark] .video-card,
[data-theme=dark] .save-button {
    background: #1d302b;
    color: var(--ink);
    border-color: var(--line);
}

[data-theme=dark] .hero {
    background: radial-gradient(ellipse at 95% 0,#304e3e66,transparent 60%);
}

[data-theme=dark] .hero-search input,
[data-theme=dark] .form-control,
[data-theme=dark] .form-select {
    color: var(--ink);
    background-color: #192b27;
    border-color: #526a5c;
}

[data-theme=dark] input::placeholder {
    color: #a9bcb1;
    opacity: 1;
}

[data-theme=dark] .filter-bar,
[data-theme=dark] .details-panel,
[data-theme=dark] .site-footer {
    background: #1a2a25;
    border-color: var(--line);
}

[data-theme=dark] .collection-0 {
    background: #213a2f;
}

[data-theme=dark] .collection-1 {
    background: #203632;
}

[data-theme=dark] .collection-card,
[data-theme=dark] .topic-list a {
    border-color: #54715e;
}

[data-theme=dark] .collection-card p,
[data-theme=dark] .card-eyebrow,
[data-theme=dark] .card-eyebrow>span:last-child,
[data-theme=dark] .source-label,
[data-theme=dark] .site-footer p,
[data-theme=dark] .site-footer .d-flex>a,
[data-theme=dark] .breadcrumbs,
[data-theme=dark] .text-section p,
[data-theme=dark] .details-panel dt {
    color: var(--muted);
}

[data-theme=dark] .brand-tv,
[data-theme=dark] em {
    color: #b5d598;
}

[data-theme=dark] .hero-stats span+span,
[data-theme=dark] .card-bottom {
    border-color: var(--line);
}

[data-theme=dark] .featured-label {
    background: #ecf4e8;
    color: #203b37;
}

[data-theme=dark] .save-button[aria-pressed=true] {
    background: var(--lime);
    color: #203b37;
    border-color: var(--lime);
}

[data-theme=dark] .btn-outline-dark {
    --bs-btn-color: #e2f2dc;
    --bs-btn-border-color: #a6c29e;
    --bs-btn-hover-color: #14231d;
    --bs-btn-hover-bg: #c7e5ae;
    --bs-btn-hover-border-color: #c7e5ae;
    --bs-btn-active-color: #14231d;
    --bs-btn-active-bg: #c7e5ae;
    --bs-btn-active-border-color: #c7e5ae;
}

[data-theme=dark] #saved-count {
    background: #385643;
    color: #e2f2dc;
}

[data-theme=dark] .player-button {
    background: #ecf4e8;
    color: #153f39;
}

@media(min-width:1600px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 75px;
    }
}

@media(max-width:991px) {
    .featured-video {
        margin-left: 0;
        transform: none;
        max-width: 620px;
    }
    .hero {
        padding-top: 40px;
    }
    .hero h1 {
        font-size: 49px;
    }
    .hero-copy {
        max-width: 700px;
    }
    .hero-description {
        max-width: 550px;
    }
    .hero-stats {
        font-size: 11px;
    }
    .site-header nav {
        min-height: 86px;
    }
    .channel-link {
        display: none;
    }
    .container-xxl {
        padding-left: 25px;
        padding-right: 25px;
    }
    .section-heading h2 {
        font-size: 25px;
    }
}

@media(max-width:575px) {
    .container-xxl {
        padding-left: 20px;
        padding-right: 20px;
    }
    .site-header nav {
        padding-top: 14px;
        padding-bottom: 14px;
        gap: 10px!important;
    }
    .brand {
        font-size: 27px;
    }
    .brand-mark {
        font-size: 14px;
    }
    .nav-links {
        gap: 16px!important;
    }
    .nav-links a {
        font-size: 11px;
    }
    .theme-label {
        display: none;
    }
    .theme-toggle {
        padding: 7px;
    }
    .hero h1 {
        font-size: 39px;
        letter-spacing: -1.9px;
    }
    .hero-description {
        font-size: 14px;
    }
    .hero {
        padding-top: 35px;
        padding-bottom: 36px;
    }
    .hero-stats {
        gap: 9px;
        font-size: 9px;
    }
    .hero-stats span+span {
        padding-left: 9px;
    }
    .hero-search input {
        font-size: 12px;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .section-heading h2 {
        font-size: 25px;
    }
    .featured-copy h2 {
        font-size: 20px;
    }
    .collection-card {
        min-height: 130px;
    }
    .library-section {
        padding-top: 38px;
    }
    .catalog-note {
        line-height: 1.8;
    }
    .closing-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .closing-section h2 {
        font-size: 25px;
    }
    .watch-heading h1 {
        font-size: 27px;
    }
    .about-page>h1 {
        font-size: 38px;
    }
    .watch-actions {
        flex-wrap: wrap;
    }
    .filter-bar {
        margin-left: 0;
        margin-right: 0;
    }
    .video-card h3 {
        min-height: 0;
    }
    .breadcrumbs {
        flex-wrap: wrap;
    }
    .hero .row {
        --bs-gutter-y: 2.5rem;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto!important;
        transition: none!important;
    }
}

@media(max-width:575px) {
    .hero .row,.watch-page>.row,.about-page>.row {
        --bs-gutter-x: 1.5rem;
    }
}
