/*
Theme Name: televisionalternativa.com
Description: International audiovisual streaming theme — Amber Cinema.
Version: 0.2.1
Requires PHP: 8.2
Text Domain: televisionalternativa-com
*/
:root{color-scheme:dark;--bg:#101114;--panel:#1b1d22;--red:#ffa629;--muted:#a8aab2}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f4f4f5;font:16px/1.5 system-ui,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--red);outline-offset:3px}img{max-width:100%;height:auto}.banner{display:block;width:100%;line-height:0}.banner img{width:100%;display:block}.nav{display:flex;align-items:center;gap:24px;background:#191a1e;padding:12px 4%;border-bottom:1px solid #303035;flex-wrap:wrap}.nav ul{display:flex;gap:22px;list-style:none;padding:0;margin:0;flex-wrap:wrap}.nav a{font-size:14px;font-weight:650}.nav form{margin-left:auto}input[type=search]{background:#292b31;border:1px solid #555;color:white;padding:9px;border-radius:6px;max-width:100%}button{cursor:pointer;background:#33343a;color:white;border:1px solid #555;border-radius:6px;padding:8px 12px}.wrap{max-width:1600px;margin:auto;padding:24px 3%}.hero{max-width:1100px;margin:0 auto 32px}.player{aspect-ratio:16/9;background:#060606;border:1px solid #303035;border-radius:10px;overflow:hidden;display:grid;place-items:center}.player iframe{width:100%;height:100%;border:0}.placeholder{text-align:center;color:var(--muted);padding:24px}.placeholder b{display:block;color:white;font-size:25px}.hero h1{font-size:24px;margin:12px 0 0}.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.section{margin:0 0 32px}.section-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.section-head h2{font-size:22px;margin:0 auto 0 0;border-left:4px solid var(--red);padding-left:12px}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:4px 2px 12px}.tile{min-width:0;scroll-snap-align:start;display:block}.thumb{aspect-ratio:16/9;overflow:hidden;background:linear-gradient(145deg,#33363e,#1a1a20);border-radius:8px;display:grid;place-items:center;color:#aaa}.thumb img{width:100%;height:100%;object-fit:cover}.tile h3{font-size:15px;margin:8px 0;font-weight:600}.vertical{grid-auto-columns:calc((100% - 48px)/4)}.vertical .thumb{aspect-ratio:9/16}.ad{border:1px dashed #555;min-height:250px;display:grid;place-items:center;color:#aaa;text-align:center;padding:15px;border-radius:8px;font-size:13px}.sidebar h2{font-size:12px;letter-spacing:2px;color:#aaa}.footer{background:#191a1e;padding:32px 4%;border-top:1px solid #333;color:#b7b7bf}.footer strong{color:white}.footer ul{list-style:none;display:flex;gap:15px;padding:0;flex-wrap:wrap}.entry{max-width:950px;margin:auto}.entry img{border-radius:8px}.entry a{text-decoration:underline}.entry iframe{max-width:100%}.pagination{margin:25px 0}.pagination a,.pagination span{padding:8px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;z-index:99999;background:black;padding:12px}@media(max-width:1000px){.layout{grid-template-columns:minmax(0,1fr) 220px}.rail{grid-auto-columns:calc((100% - 16px)/2)}}@media(max-width:720px){.layout{display:block}.sidebar{margin-top:24px}.nav{gap:10px}.nav ul{gap:12px}.nav form{margin-left:0}.hero h1{font-size:19px}.rail{grid-auto-columns:72%}.vertical{grid-auto-columns:38%}.wrap{padding:16px}.section-head h2{font-size:19px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.hero h2{font-size:24px;margin:12px 0 0}.tva-widget{min-width:0;margin-bottom:20px}.footer-widgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.footer-widgets:empty{display:none}.sidebar .tva-widget img{max-width:100%}@media(max-width:720px){.footer-widgets{grid-template-columns:1fr}}

:root{--bg:#151515;--panel:#242424} .international-brand{display:flex;align-items:center;gap:15px;padding:12px 4%;background:#101010;line-height:1.1}.international-brand strong{font-size:40px;letter-spacing:-2px;color:#ffa629}.international-brand span{font-weight:700;letter-spacing:2px;font-size:14px}.international-brand small{display:block;font-size:9px;letter-spacing:1px;margin-top:5px;color:#aaa}.nav{border-bottom-color:#a96b25}.international-hero{position:relative;background:#242424;border-radius:10px;overflow:hidden;margin:0 0 28px}.hero-slide{display:grid;grid-template-columns:1.5fr 1fr;align-items:center}.hero-slide[hidden]{display:none}.hero-art{display:grid;place-items:center;aspect-ratio:16/9;max-height:var(--hero-height);overflow:hidden;background:#101010}.hero-art img{width:100%;height:100%;object-fit:cover}.hero-copy{padding:24px 24px 60px}.hero-copy small{color:#ffa629;font-weight:700;letter-spacing:1px}.hero-copy h2{font-size:clamp(18px,2.5vw,32px);line-height:1.2;overflow-wrap:anywhere}.watch{display:inline-block;padding:9px 17px;background:#ffa629;color:#151515;font-weight:700;border-radius:5px}.watch:hover{background:#ffd18a;color:#151515}.hero-controls{display:flex;gap:6px;justify-content:flex-end;padding:8px 16px}.thumb img{transition:transform .2s}.tile:hover .thumb img{transform:scale(1.035)}.section-head h2{color:#ffa629}@media(min-width:1200px){.rail:not(.vertical){grid-auto-columns:calc((100% - 48px)/4)}}@media(max-width:720px){.hero-slide{grid-template-columns:1fr}.hero-copy{padding:15px}.hero-art{max-height:280px}}@media(prefers-reduced-motion:reduce){.thumb img{transition:none}}

.site-brand{display:flex;align-items:center;gap:14px;padding:10px 4%;background:#101010;width:100%;font-size:clamp(16px,2.2vw,24px);font-weight:700;overflow-wrap:anywhere}.site-brand img{display:block;width:110px;height:auto;flex:none}.site-brand span{min-width:0}@media(max-width:720px){.site-brand img{width:80px}}

/* 0.1.6: full-width promotional header replaces logo and title */
.site-brand{display:block;padding:0;background:#101010;line-height:0}
.site-brand img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:720px){.site-brand img{width:100%;height:auto}}

/* 0.1.7: header image is selected in Appearance > Customize > Header Image. */

/* 0.1.8: compact fixed-height banner, still configurable in Customizer */
.site-brand{height:110px;overflow:hidden}
.site-brand img{width:100%;height:110px;max-height:110px;object-fit:cover;object-position:center center}
@media(max-width:720px){.site-brand{height:90px}.site-brand img{width:100%;height:90px;max-height:90px;object-fit:cover;object-position:center center}}

/* 0.1.9: 1920x120 banner shown whole without cropping */
.site-brand,.site-brand img{height:120px;max-height:120px}
.site-brand img{object-fit:fill;object-position:center}
@media(max-width:720px){.site-brand,.site-brand img{height:120px;max-height:120px}.site-brand img{object-fit:fill}}

/* 0.2.0: full original logo, fixed 120px banner without cropping */
.site-brand,.site-brand img{height:120px;max-height:120px}
.site-brand img{width:100%;object-fit:fill}
