/* Shared channel cards on the home page, channel archive and category archives. */
.channel-grid,
#channels .channel-grid:not(.is-list) {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
}

.channel-tile,
.catalog-section .channel-tile {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 136px;
    padding: 15px 10px 13px;
    overflow: hidden;
    border: 1px solid #dfe6e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 3px #172e1e03;
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}

.channel-tile:hover,
.channel-tile:focus-visible {
    border-color: #8db79a;
    background: #f5faf6;
    transform: none;
}

.channel-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.channel-tile .channel-art {
    display: grid;
    place-items: center;
    width: 100%;
    height: 59px;
    min-width: 0;
    padding: 0 6px;
    border-radius: 6px;
    background: #fff;
}

.channel-tile .channel-art .tv-logo {
    display: block;
    width: min(100%, 128px);
    height: 57px;
    max-width: 100%;
    max-height: 57px;
    object-fit: contain;
}

.channel-tile .channel-art img[hidden],
.channel-logo-placeholder[hidden] {
    display: none;
}

.channel-logo-placeholder {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    color: #6b8572;
    background: #f0f5f1;
}

.channel-logo-placeholder .tv-icon {
    width: 25px;
    height: 25px;
}

.channel-copy {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 3px;
    min-width: 0;
}

.channel-tile .channel-title {
    display: block;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.15px;
    text-align: center;
    overflow-wrap: anywhere;
}

.channel-tile .channel-category {
    display: block;
    color: #657269;
    font-size: 11px;
    font-weight: 450;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .channel-grid,
    #channels .channel-grid:not(.is-list) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .channel-grid,
    #channels .channel-grid:not(.is-list) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .channel-grid,
    #channels .channel-grid:not(.is-list) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .channel-tile,
    .catalog-section .channel-tile {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        min-height: 128px;
        padding: 13px 8px 11px;
    }

    .channel-tile .channel-art {
        width: 100%;
        height: 55px;
        padding: 2px;
    }

    .channel-tile .channel-art .tv-logo {
        height: 53px;
        max-height: 53px;
    }

    .channel-tile .channel-title {
        font-size: 13px;
    }
}

@media (max-width: 350px) {
    .channel-grid,
    #channels .channel-grid:not(.is-list) {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .channel-tile {
        transition: none;
    }
}

.programme-channel-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
}

.programme-channel-logo {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 32px;
}

.programme-channel-logo .tv-logo {
    display: block;
    width: 38px;
    height: 30px;
    max-width: 38px;
    max-height: 30px;
    object-fit: contain;
}

.programme-channel-logo img[hidden] {
    display: none;
}

.programme-channel-logo .channel-logo-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.programme-channel-logo .channel-logo-placeholder .tv-icon {
    width: 19px;
    height: 19px;
}

.programme-channel-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.directory-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
    align-items: center;
    gap: 40px;
    padding: 38px 0 30px;
}
.directory-intro h1 {
    margin: 0;
    font-size: clamp(32px, 4.3vw, 54px);
    line-height: 1.06;
    letter-spacing: -1.7px;
}
.directory-intro>p:not(.eyebrow) {
    max-width: 540px;
    color: var(--muted);
    margin: 15px 0 19px;
}
.directory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.directory-summary {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 30px;
    border-left: 1px solid var(--border);
}
.directory-symbol {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    color: var(--accent);
    background: #e6f0e9;
    border-radius: 12px;
}
.directory-symbol .tv-icon {
    width: 31px;
    height: 31px;
}
.directory-summary strong {
    display: block;
    font-size: 45px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}
.directory-summary span:not(.directory-symbol) {
    font-size: 13px;
    color: var(--muted);
}
.directory-summary p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}
@media(max-width:620px) {
    .directory-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 26px 0 0;
    }
    .directory-summary {
        padding: 15px 0;
        border-left: 0;
        border-top: 1px solid var(--border);
    }
    .directory-summary p {
        grid-column: 2;
    }
    .directory-summary strong {
        font-size: 32px;
    }
}

.category-intro {
    padding: 18px 0 20px;
}
.category-intro h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -1.2px;
    line-height: 1.15;
}
.category-intro>p:not(.eyebrow),
.category-description {
    max-width: 700px;
    margin: 0 0 14px;
    color: var(--muted);
}
.category-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}
.category-group {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.category-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}
.category-group-heading h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.5px;
}
.category-group-heading h2 a {
    text-decoration: none;
}
.category-channel-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
    list-style: none;
    margin: 10px 0 12px;
    padding: 0;
}
.category-channel-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 51px;
    padding: 5px 4px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.category-channel-list a:hover {
    background: #f0f6f2;
}
.category-channel-list a>span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
.category-more {
    display: block;
    padding: 12px 0 0;
    border-top: 1px solid var(--border);
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
.category-empty {
    margin: 20px 0;
    color: var(--muted);
    font-size: 14px;
}
@media(max-width:850px) {
    .category-overview {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media(max-width:420px) {
    .category-channel-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .category-group {
        padding: 14px;
    }
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid #dce5df;
    background: #f0f4f1;
    color: #46574b;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-top: 34px;
    padding-bottom: 28px;
}
.footer-brand {
    font-size: 27px;
    gap: 8px;
}
.footer-brand .brand-mark {
    width: 45px;
    height: 45px;
}
.footer-brand small {
    font-size: 9px;
    font-weight: 600;
}
.footer-brand-block p {
    max-width: 290px;
    margin: 15px 0 0;
    font-size: 13px;
    line-height: 1.6;
}
.footer-grid h2 {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    margin: 6px 0 13px;
}
.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}
.footer-grid li {
    font-size: 13px;
    overflow-wrap: anywhere;
}
.footer-grid li a {
    text-decoration: none;
}
.footer-grid li a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid #d9e3dc;
    padding-top: 16px;
    padding-bottom: 20px;
    font-size: 11px;
}
.footer-bottom a {
    text-decoration: none;
}
.rights-page {
    max-width: 850px;
    margin: auto;
    padding-bottom: 20px;
    overflow-wrap: anywhere;
}
.rights-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.rights-nav a {
    color: var(--accent-strong);
}
.rights-page section {
    padding-top: 26px;
    scroll-margin-top: 20px;
}
.rights-page section h2 {
    font-size: 24px;
    margin: 0 0 13px;
    letter-spacing: -.5px;
}
.rights-page p,
.rights-page li {
    font-size: 15px;
    line-height: 1.65;
}
.rights-page p {
    margin: 0 0 13px;
}
.rights-page li {
    margin-bottom: 8px;
}
.rights-source-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.rights-source-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}
.rights-source-list p {
    margin: 5px 0 6px;
}
.rights-source-list a {
    font-size: 13px;
    color: var(--accent-strong);
}
.programme-notice {
    padding: 12px 15px;
    margin: 0 0 18px;
    border-radius: 5px;
    background: #eaf3ed;
    font-size: 14px;
}
@media(max-width:850px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }
}
@media(max-width:420px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .footer-grid ul {
        gap: 11px;
    }
}

.rights-content h2 {
    margin: 26px 0 13px;
    font-size: 24px;
    letter-spacing: -.5px;
}

/* Bulgarian tricolour wordmark and rotating hero, preserving the existing frame. */
.brand .brand-wordmark>span{-webkit-text-stroke:1px #161e25;paint-order:stroke fill;text-shadow:1px 0 #161e25,-1px 0 #161e25,0 1px #161e25,0 -1px #161e25}
.brand .brand-wordmark .brand-tv{color:#fff}
.brand .brand-wordmark .brand-bg{color:var(--accent)}
.brand .brand-wordmark .brand-net{color:var(--red)}
.hero-rotator .hero-screen:after{display:none}
.hero-slide{position:absolute;inset:0 0 0 6%;width:94%;height:100%;object-fit:cover;object-position:center 44%;clip-path:polygon(33% 0,100% 0,100% 100%,0 100%);opacity:0;transition:opacity 1.2s ease-in-out}
.hero-slide.is-active{opacity:1}
.hero-pause{position:absolute;right:12px;bottom:12px;z-index:2;width:32px;height:32px;border:1px solid #ffffff90;border-radius:50%;background:#12251bb3;color:white;font-size:15px;line-height:1}
.hero-pause:focus-visible{outline:3px solid white;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}

/* Shared field states: the complete search control gets one rounded focus ring. */
input:not([type=hidden]),select,textarea,.catalog-search-field{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
input:not([type=hidden]):hover,select:hover,textarea:hover{border-color:#a8bcae}
input:not([type=hidden]):focus,select:focus,textarea:focus{outline:none;border-color:#33855a;box-shadow:0 0 0 3px #087a471a;background-color:#fff}
input:not([type=hidden]):focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid transparent;outline-offset:2px}
.catalog-search-field{border-radius:8px;overflow:hidden}
.catalog-search-field:hover{border-color:#a8bcae}
.catalog-search-field:focus-within{border-color:#33855a;box-shadow:0 0 0 3px #087a471a;background:#fff}
.catalog-search-field input:focus,.catalog-search-field input:focus-visible{outline:none;box-shadow:none}
.catalog-search-field button:focus-visible{outline:2px solid var(--accent);outline-offset:-5px;border-radius:7px}
.catalog-search select{border-radius:8px}
.catalog-search select:has(option:checked:not([value="0"])){border-color:#85ad93;background-color:#f0f7f2;color:var(--accent-strong)}
@media(forced-colors:active){input:focus-visible,select:focus-visible,textarea:focus-visible,.catalog-search-field:focus-within{outline:2px solid Highlight}}

.directory-hero-showcase{position:relative;isolation:isolate;overflow:hidden;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:50px;margin:26px 0 24px;padding:40px;border:1px solid #164d37;border-radius:18px;background:radial-gradient(ellipse at 100% 0,#28785480,transparent 60%),linear-gradient(125deg,#102f24,#124c35);color:#fff}
.directory-hero-showcase:after{content:"";position:absolute;right:-110px;top:-180px;width:540px;height:540px;border:1px solid #ffffff0f;border-radius:50%;box-shadow:0 0 0 70px #ffffff05,0 0 0 140px #ffffff03;z-index:-1;pointer-events:none}
.directory-hero-showcase .eyebrow{color:#a4d4b9;font-size:10px;letter-spacing:1.8px;margin-bottom:16px}
.directory-hero-showcase h1{font-size:clamp(31px,3.7vw,47px);line-height:1.08;letter-spacing:-1.8px}
.directory-hero-showcase h1 span{color:#b4dfc5}
.directory-hero-showcase .directory-intro>p:not(.eyebrow){color:#d0dfd5;font-size:14px;line-height:1.7;margin:17px 0 23px;max-width:420px}
.directory-hero-showcase .btn-primary{background:#fff;color:#17492f;border-color:#fff}
.directory-hero-showcase .btn-primary:hover{background:#e5f3e9}
.directory-hero-showcase .btn-outline{background:transparent;color:#fff;border-color:#ffffff50}
.directory-hero-showcase .btn-outline:hover{background:#ffffff0d;border-color:#ffffff90}
.directory-facts{display:flex;flex-wrap:wrap;gap:16px;margin-top:25px;color:#bfd4c7;font-size:11px;align-items:center}
.directory-facts strong{font-size:14px;color:#fff;margin-right:3px}
.directory-facts>span+span{border-left:1px solid #ffffff26;padding-left:16px}
.directory-showcase{min-width:0}
.directory-showcase-label{display:flex;align-items:center;gap:9px;margin:0 0 13px;color:#c4dece;font-size:11px;font-weight:650}
.directory-showcase-label .tv-icon{width:16px;height:16px}
.directory-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.directory-logo-card{display:grid;justify-items:center;align-content:center;gap:9px;min-width:0;min-height:99px;padding:14px 8px;background:#fff;border:1px solid #e5ece7;border-radius:10px;color:var(--ink);text-decoration:none;font-size:10px;font-weight:700;box-shadow:0 8px 20px #051c1620;transition:transform .2s,background-color .2s}
.directory-logo-card:hover{transform:translateY(-3px);background:#f2f9f4}
.directory-logo-art{display:flex;width:100%;height:40px;align-items:center;justify-content:center}
.directory-logo-art img{max-width:95px;max-height:40px;width:auto;height:auto;object-fit:contain}
.directory-logo-art .channel-logo-placeholder{width:36px;height:36px}
.directory-showcase-link{display:block;margin-top:15px;font-size:11px;color:#c7dfd0;text-decoration:none;text-align:right}
.directory-showcase-link:hover{text-decoration:underline}
.community-section{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:55px;align-items:center;padding:34px 40px;margin:12px 0 0;border:1px solid var(--border);border-radius:14px;background:linear-gradient(115deg,#f1f7f3,#fff)}
.community-copy{position:relative;padding-left:70px}
.community-icon{position:absolute;left:0;top:0;display:grid;place-items:center;width:47px;height:47px;border-radius:13px;background:#1877f2;color:#fff;font:bold 37px/1 Arial,sans-serif;padding-top:9px}
.community-copy .eyebrow{font-size:10px;letter-spacing:1.4px}
.community-copy h2{margin:0;font-size:clamp(27px,3vw,38px);line-height:1.1;letter-spacing:-1.2px}
.community-copy>p:not(.eyebrow){font-size:14px;color:var(--muted);max-width:340px;margin:16px 0 20px}
.community-widget{width:100%;max-width:340px;justify-self:end;overflow:hidden}
.community-widget iframe{display:block;max-width:100%;background:#fff;border-radius:8px}
.community-widget p{margin:9px 0 0;font-size:10px;color:var(--muted);line-height:1.5}
.community-widget a{color:var(--accent-strong)}
@media(max-width:900px){.directory-hero-showcase{gap:28px;padding:28px}.directory-facts>span:last-child{display:none}.community-section{gap:25px;padding:28px}.community-copy{padding-left:0}.community-icon{position:static;margin-bottom:16px}}
@media(max-width:700px){.directory-hero-showcase{grid-template-columns:1fr;padding:25px 20px;gap:26px;margin-top:18px;border-radius:12px}.directory-hero-showcase h1{font-size:36px}.directory-showcase{max-width:480px;width:100%}.directory-hero-showcase .directory-intro>p:not(.eyebrow){max-width:100%}.directory-logo-card{min-height:88px}.community-section{grid-template-columns:1fr;padding:24px 20px;gap:24px}.community-widget{justify-self:start}.community-copy h2 br{display:none}}
@media(prefers-reduced-motion:reduce){input,select,textarea,.catalog-search-field,.directory-logo-card{transition:none}}
@media(max-width:480px){.directory-hero-showcase h1{font-size:30px;letter-spacing:-1.2px}.directory-hero-showcase .directory-intro>p:not(.eyebrow){font-size:13px;margin:13px 0 17px}.directory-hero-showcase .directory-actions .btn{font-size:11px;padding:9px 11px}.directory-hero-showcase .directory-actions{gap:7px}.directory-hero-showcase .eyebrow{margin-bottom:12px}.directory-hero-showcase .directory-facts{margin-top:19px}.directory-logo-card{min-height:76px;padding:10px 6px;gap:6px}.directory-logo-art{height:30px}.directory-logo-art img{max-height:30px;max-width:75px}.directory-showcase-label{font-size:10px}.directory-showcase-link{margin-top:12px}}

/* Community panel, channel profiles and support dialog. */
.community-section{position:relative;grid-template-columns:minmax(0,1fr) 340px;gap:35px;padding:30px;border-radius:16px;background:linear-gradient(135deg,#f2f6fc,#fff 70%);border-color:#dce5f0}
.community-copy{padding:0 10px 0 0;max-width:530px}
.community-icon{position:static;display:inline-grid;vertical-align:middle;width:38px;height:38px;font-size:30px;border-radius:10px;margin:0 10px 20px 0}
.community-brand{display:inline-block;vertical-align:middle;margin-bottom:20px;font-size:12px;font-weight:850;color:#26394f}
.community-brand>span{font-weight:500;color:#68788b;font-size:11px}
.community-copy .eyebrow{color:#426aa0;margin-bottom:13px;font-size:9px}
.community-copy h2{font-size:clamp(27px,3.2vw,40px);letter-spacing:-1.4px;line-height:1.12}
.community-copy>p:not(.eyebrow){max-width:410px;font-size:13px;line-height:1.75}
.community-copy .btn{background:#1877f2;border-color:#1877f2;color:white;border-radius:7px}
.community-copy .btn:hover{background:#1265d1}
.community-widget{padding:8px;background:#fff;border:1px solid #e0e7ef;border-radius:12px;box-shadow:0 7px 22px #253e5d09}
.community-widget iframe{width:100%;border-radius:7px}
.community-widget p{font-size:10px;padding:0 4px}
.channel-about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,310px);gap:35px;align-items:start}
.channel-about-copy>p:first-child{margin-top:0}
.channel-about-copy p{color:#43544a;font-size:15px;line-height:1.8;margin:0 0 16px}
.channel-about-copy a{color:var(--accent-strong);text-underline-offset:3px}
.channel-facts{border:1px solid var(--border);border-radius:12px;padding:20px;background:#f7faf8}
.channel-facts h3{display:flex;align-items:center;gap:8px;font-size:15px;margin:0 0 15px}
.channel-facts h3 .tv-icon{width:18px;height:18px;color:var(--accent)}
.channel-facts dl{margin:0}
.channel-facts dl>div{border-top:1px solid #e2eae5;padding:12px 0}
.channel-facts dl>div:last-child{padding-bottom:0}
.channel-facts dt{font-size:11px;color:var(--muted);margin-bottom:4px}
.channel-facts dd{margin:0;font-size:13px;font-weight:650;line-height:1.6;overflow-wrap:anywhere}
.channel-facts a{color:var(--accent-strong);text-decoration:none}
.channel-facts a:hover{text-decoration:underline}
.channel-viewing-note{margin-top:22px;padding:16px 18px;border-left:3px solid #9cc5ac;border-radius:0 8px 8px 0;background:#f1f7f3}
.channel-viewing-note h3{font-size:14px;margin:0 0 6px}
.channel-viewing-note p{font-size:13px;margin:0}
.related-channels{padding:8px 0 18px}
.related-channels .section-head{align-items:center}
.related-channels .section-head h2{font-size:25px}
.support-is-open{overflow:hidden}
.support-dialog{width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #d9e4dc;border-radius:18px;box-shadow:0 24px 90px #061e2440;color:var(--ink);background:#fff;overflow:auto;overscroll-behavior:contain}
.support-dialog:not([open]){display:none}
.support-dialog::backdrop{background:#0d211c80;backdrop-filter:blur(3px)}
.support-dialog-heading{position:relative;padding:22px 54px 21px 25px;background:linear-gradient(115deg,#113f2d,#1d6144);color:white}
.support-kicker{display:block;color:#abd4bb;font-size:9px;font-weight:850;letter-spacing:1.5px;margin-bottom:11px}
.support-dialog h2{font-size:25px;line-height:1.18;letter-spacing:-.7px;margin:0}
.support-dialog h2 span{color:#b9dfc6}
.support-close{position:absolute;right:14px;top:14px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #ffffff45;border-radius:50%;background:#ffffff10;color:white;font-size:24px;line-height:1}
.support-close:hover{background:#ffffff25}
.support-close:focus-visible{outline:2px solid white;outline-offset:3px}
.support-dialog-body{padding:18px 25px 16px;text-align:center}
.support-dialog-body>p:first-child{max-width:380px;font-size:13px;color:var(--muted);margin:0 auto 15px;line-height:1.6}
.support-vote{border-radius:7px;padding:11px 28px}
.support-dialog .support-vote-note{font-size:10px;line-height:1.6;color:#6c7b70;max-width:360px;margin:11px auto 0}
.support-facebook{border-top:1px solid #e3eae5;margin-top:17px;padding-top:12px;max-width:340px;margin-left:auto;margin-right:auto}
.support-facebook>p{font-size:11px;font-weight:700;color:#63756a;margin:0 0 10px}
.support-facebook iframe{display:block;width:100%;max-width:340px;background:#f7f9fb;border-radius:8px}
.support-facebook>a{display:inline-block;font-size:10px;color:var(--accent-strong);margin-top:8px}
.support-dialog-bottom{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);padding:12px 20px;background:#f6f9f7;font-size:11px;color:var(--muted)}
.support-dialog-bottom b{display:inline-block;min-width:14px;color:var(--accent-strong);font-variant-numeric:tabular-nums}
.support-dismiss{border:0;background:transparent;color:var(--accent-strong);font-size:11px;font-weight:750;padding:4px 0}
@media(max-width:700px){.community-section{grid-template-columns:1fr;gap:24px;padding:24px 20px}.community-widget{justify-self:center}.community-copy{padding:0}.community-copy h2{font-size:30px}.community-copy h2 br{display:initial}.channel-about-grid{grid-template-columns:1fr;gap:22px}.channel-facts{padding:17px}.channel-facts dl{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.channel-facts dl>div:last-child{padding-bottom:12px}.related-channels .section-head h2{font-size:21px}}
@media(max-width:480px){.support-dialog-heading{padding:20px 48px 18px 19px}.support-dialog h2{font-size:23px}.support-dialog-body{padding:16px}.support-dialog-bottom{padding:10px 16px}.community-brand>span{display:block;font-size:10px;margin-top:3px}.channel-facts dl{grid-template-columns:1fr}}

/* Wider Facebook Page card without a timeline and the project signature. */
.community-section{grid-template-columns:minmax(0,1fr) minmax(0,500px)}
.community-widget{max-width:500px;padding:0;border:0;background:transparent;box-shadow:none;overflow:hidden}
.community-widget iframe{width:100%;max-width:500px;background:#fff;border:1px solid #e0e7ef!important;border-radius:11px}
.community-widget p{padding:0 2px;margin-top:9px}
.footer-bottom{flex-wrap:wrap;gap:12px 22px}
.footer-bottom>span:nth-child(2){flex:1;min-width:220px}
.project-signature{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#617166;font-size:11px}
.signature-heart{color:#d53237;font-size:14px;line-height:1}
.signature-author{font-weight:750;color:#344b3d}
@media(max-width:1000px){.community-section{grid-template-columns:1fr;gap:24px}.community-widget{justify-self:center;width:100%}.community-copy{max-width:100%}.footer-bottom>span:nth-child(2){flex-basis:100%;order:3}}

.community-section{padding:22px 28px;gap:28px}
.community-copy h2{font-size:clamp(27px,2.8vw,34px)}
.community-copy .community-icon,.community-copy .community-brand{margin-bottom:13px}
.community-copy .eyebrow{margin-bottom:10px}
.community-copy>p:not(.eyebrow){margin:13px 0 16px}
@media(max-width:700px){.community-section{padding:20px;gap:22px}}
.cookie-notice{position:fixed;right:22px;bottom:22px;z-index:90;width:min(385px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:23px;background:#fff;border:1px solid #dce6df;border-radius:15px;box-shadow:0 14px 65px #113d2829;color:var(--ink)}
.cookie-notice[hidden],.cookie-options[hidden],.facebook-consent-placeholder[hidden],iframe[data-facebook-consent][hidden]{display:none!important}
.cookie-heading{display:flex;align-items:center;gap:10px}
.cookie-heading>span{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;background:#edf6ef;border-radius:9px;color:var(--accent)}
.cookie-heading h2{font-size:16px;line-height:1.3;margin:0;letter-spacing:-.3px}
.cookie-notice>p{font-size:12px;line-height:1.75;color:var(--muted);margin:14px 0 18px}
.cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cookie-notice .btn{font-size:11px;padding:10px 7px;border-radius:7px}
.cookie-bottom{display:flex;gap:15px;justify-content:space-between;margin-top:14px;font-size:10px}
.cookie-bottom button,.footer-cookie-settings{font:inherit;border:0;background:transparent;padding:0;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.footer-cookie-settings{font-size:13px;text-decoration:none}
.cookie-bottom a{color:var(--muted)}
.cookie-options{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:0 0 16px;padding:5px 0 15px}
.cookie-options label{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 0;font-size:12px}
.cookie-options small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}
.cookie-options input{accent-color:var(--accent);width:17px;height:17px;min-height:0;flex-shrink:0}
.cookie-options .btn{width:100%;margin-top:6px}
.facebook-consent-placeholder{display:grid;justify-items:center;align-content:center;text-align:center;min-height:240px;padding:24px 20px;border:1px solid #dce6ef;background:#f4f7fc;border-radius:10px;gap:11px;color:#334b68}
.facebook-consent-icon{display:grid;place-items:center;width:37px;height:37px;background:#1877f2;color:#fff;border-radius:10px;font:bold 30px Arial;padding-top:6px}
.facebook-consent-placeholder strong{font-size:14px}
.facebook-consent-placeholder p{font-size:12px;line-height:1.6;max-width:260px;margin:0;color:#687b92}
.facebook-consent-placeholder .btn{font-size:11px;margin-top:3px}
@media(max-width:480px){.cookie-notice{right:16px;bottom:16px;padding:20px}.cookie-heading h2{font-size:15px}}

/* Keep the footer at the viewport edge on short pages. */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100svh;padding-bottom:0}
body.admin-bar{min-height:calc(100svh - var(--wp-admin--admin-bar--height,32px))}
.site-header{flex-shrink:0}
.main-content{flex:1 0 auto;min-height:0;margin:0 auto}
.site-footer{flex-shrink:0;margin-bottom:0}
.support-close{padding:0;display:grid;place-items:center;box-sizing:border-box}
.support-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}

.player-shell{position:relative}
.player-start{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;width:100%;height:100%;border:0;background:linear-gradient(transparent,#07191135);color:#fff;font-size:14px;font-weight:750;text-shadow:0 1px 5px #0009}
.player-start .tv-icon{width:58px;height:58px;padding:15px;border:2px solid #fff;border-radius:50%;background:#087a47d9;filter:drop-shadow(0 3px 12px #0005)}
.player-start:hover .tv-icon{background:#09894f}
.player-start[hidden]{display:none!important}
.player-start:focus-visible{outline:3px solid #fff;outline-offset:-5px}

.channel-watch-badge { display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border-radius:20px; background:#e7f4eb; color:#08632d; font-size:11px; font-weight:700; line-height:1.4; }
.channel-watch-badge span { font-size:9px; }

/* Catalogue pagination: compact, accessible controls shared by full and AJAX renders. */
.catalog-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 0;padding:18px 0 0;border-top:1px solid var(--border)}
.pagination-summary{color:var(--muted);font-size:12px;white-space:nowrap}.pagination-summary strong{color:var(--ink);font-weight:700}
.pagination-links{display:flex;flex-wrap:wrap;max-width:100%;align-items:center;justify-content:center;gap:5px;padding:5px;border:1px solid var(--border);border-radius:17px;background:#fff;box-shadow:0 3px 12px #173d2506}
.catalog-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;height:44px;padding:0 11px;border:0;border-radius:12px;color:#42594c;font-size:13px;font-weight:650;text-decoration:none;line-height:1;transition:background .15s,color .15s,box-shadow .15s}
.catalog-pagination a.page-numbers:hover{color:var(--accent-strong);background:#edf5ef}.catalog-pagination a.page-numbers:active{background:#dfeee4}
.catalog-pagination a.page-numbers:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.catalog-pagination .page-numbers.current{color:#fff;background:var(--accent);box-shadow:0 3px 8px #087a4726}
.catalog-pagination .page-numbers.dots{color:#89968f;min-width:24px;padding:0 3px}
.catalog-pagination .prev,.catalog-pagination .next{padding-inline:14px;font-size:12px}.catalog-pagination .prev>span[aria-hidden],.catalog-pagination .next>span[aria-hidden]{font-size:18px;font-weight:400}
.catalog-pagination .is-disabled{color:#adb9b1;cursor:default}
#catalog-page[aria-busy=true] .pagination-links{opacity:.55;pointer-events:none}
@media(max-width:900px){.catalog-pagination{flex-direction:column-reverse;gap:13px}.catalog-pagination .pagination-direction{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.catalog-pagination .prev,.catalog-pagination .next{padding-inline:10px}}
@media(max-width:420px){.pagination-links{gap:2px;padding:4px;border-radius:15px}.catalog-pagination .page-numbers{min-width:38px;height:44px;padding:0 8px;border-radius:10px}.catalog-pagination .page-numbers.dots{min-width:18px;padding:0}.catalog-pagination .prev,.catalog-pagination .next{padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.catalog-pagination .page-numbers{transition:none}}

.tv-logo[hidden],.tv-logo-fallback[hidden]{display:none!important}

.catalog-watch-filter{display:inline-flex;position:relative;align-items:center;flex-shrink:0;cursor:pointer}
.catalog-watch-filter input{position:absolute;width:1px;height:1px;opacity:0}
.catalog-watch-filter>span{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#53655a;font-size:12px;font-weight:700;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.catalog-watch-filter .tv-icon{width:16px;height:16px}
.catalog-watch-filter:hover>span{border-color:#85ad93;background:#f4f9f5}
.catalog-watch-filter input:checked+span{border-color:#72a585;background:#e7f3eb;color:var(--accent-strong)}
.catalog-watch-filter input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}
.catalog-search{flex-wrap:wrap}
@media(max-width:600px){.catalog-watch-filter{margin-left:auto}.catalog-watch-filter>span{padding:8px 12px}}

/* Align all catalogue controls to the same height. */
.catalog-search{--catalog-control-height:40px}
.catalog-search-field{height:var(--catalog-control-height)}
.catalog-search .catalog-search-field input{height:38px;min-height:0}
.catalog-search select{height:var(--catalog-control-height);min-height:0}
.catalog-search .catalog-watch-filter>span{height:var(--catalog-control-height);min-height:0;padding-block:0}
@media(max-width:600px){.catalog-search{--catalog-control-height:44px}.catalog-search .catalog-search-field input{height:42px}}

.site-nav a[aria-current="true"]{background:var(--accent);color:#fff;border-radius:4px;padding:8px 12px}
@media(max-width:820px){
 .intro{grid-template-columns:minmax(0,1fr);gap:22px;padding:25px 0 0;overflow:hidden}
 .intro-copy{padding:0!important;min-width:0}
 .intro h1{font-size:clamp(30px,5.4vw,42px);line-height:1.1;letter-spacing:-1.2px;max-width:100%}
 .intro-copy>p:not(.eyebrow){font-size:16px;line-height:1.5;max-width:560px;margin:15px 0 0}
 .intro-actions{margin-top:19px;gap:10px}
 .intro-actions .btn{min-height:44px;padding:10px 15px;font-size:13px}
 .intro-art.hero-rotator{min-height:0;height:clamp(170px,29vw,235px);border-radius:12px;overflow:hidden;background:var(--soft)}
 .intro-art.hero-rotator:before,.intro-art.hero-rotator:after{display:none}
 .hero-rotator .hero-screen{min-height:0;height:100%;width:100%}
 .hero-rotator .hero-slide{inset:0;width:100%;height:100%;clip-path:none;object-position:center 44%}
 .hero-rotator:after{display:none}
 .category-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
 .category-strip>a{min-width:0!important;min-height:85px;white-space:normal!important;padding:12px 8px!important;text-align:center}
 .category-strip>a>span{max-width:100%;white-space:normal;overflow-wrap:break-word;font-size:12px;line-height:1.3}
 .category-heading{align-items:center;gap:12px;margin-top:24px}
 .category-heading .section-link{font-size:12px;text-align:right}
}
@media(max-width:480px){
 .category-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 .intro{padding-top:22px;gap:20px}
 .intro-art.hero-rotator{height:175px}
 .intro h1{font-size:32px}
 .intro-copy>p:not(.eyebrow){font-size:15px}
 .intro-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .intro-actions .btn{font-size:12px;padding-inline:7px;gap:5px}
}
@media(max-width:350px){.intro-actions{grid-template-columns:1fr}.category-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.contact-page{display:grid;grid-template-columns:1fr 1.3fr;gap:clamp(30px,6vw,80px);align-items:start;max-width:1080px;margin:auto}
.contact-intro h1{font-size:clamp(34px,5vw,50px);line-height:1.1;letter-spacing:-1.5px;margin:0 0 20px}
.contact-intro>p:not(.eyebrow){color:var(--muted);font-size:17px}
.contact-tip{display:flex;align-items:start;gap:10px;padding:18px;border:1px solid var(--border);border-radius:10px;background:#f0f6f2;font-size:13px;color:#52695b;margin-top:25px}
.contact-tip .tv-icon{width:20px;height:20px;flex-shrink:0}
.contact-form-card{padding:clamp(20px,3vw,32px);border:1px solid var(--border);border-radius:15px;background:#fff;box-shadow:0 8px 24px #1a4b2c04}
.contact-form-card label{display:block;font-size:13px;font-weight:650;margin-bottom:15px}
.contact-form-card .wpcf7-form-control-wrap{display:block;margin-top:7px}
.contact-form-card input:not([type=checkbox]):not([type=submit]),.contact-form-card select,.contact-form-card textarea{width:100%;max-width:100%;border:1px solid var(--border);border-radius:8px;background:#fff;padding:11px 12px;color:var(--ink);font-size:15px;min-height:44px}
.contact-form-card textarea{height:150px;min-height:120px;resize:vertical}
.contact-form-card .wpcf7-submit{border:0;border-radius:8px;background:var(--accent);color:#fff;padding:13px 20px;font-size:14px;font-weight:750;min-height:46px;cursor:pointer}
.contact-form-card .wpcf7-submit:hover{background:var(--accent-strong)}
.contact-form-card .wpcf7-acceptance label{font-weight:400;font-size:12px;color:var(--muted);line-height:1.5}
.contact-form-card .wpcf7-list-item{margin-left:0}.contact-form-card .wpcf7-acceptance input{accent-color:var(--accent)}
.contact-form-card .wpcf7-not-valid-tip{font-size:12px;margin-top:5px}.contact-form-card .wpcf7-response-output{border-radius:8px;padding:12px;font-size:13px;margin:15px 0 0}
.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.contact-honeypot{display:none!important}
@media(max-width:760px){.contact-page{grid-template-columns:1fr;gap:25px}.contact-tip{margin-top:18px}.contact-intro>p:not(.eyebrow){font-size:15px}}
@media(max-width:430px){.contact-form-grid{grid-template-columns:1fr;gap:0}}
.contact-form-card .contact-form-grid>p{display:contents}
.contact-form-card .contact-form-grid>p>br{display:none}
.contact-form-card .contact-form-grid{margin-bottom:16px}
.contact-form-card .wpcf7-form>p{margin:0 0 16px}
.contact-form-card label{margin-bottom:0}
@media(max-width:820px){.category-strip>a{grid-template-columns:minmax(0,1fr)}.category-strip>a>span{min-width:0;width:100%}}
@media(max-width:480px){.category-strip>a:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:62px}.category-strip>a:last-child>span{width:auto}}
