/* Video de prezentare Andrés (16 nov 2026) */
.tv-section{margin:38px 0 6px;padding:32px 38px;border:1px solid #d8dce2;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:36px;align-items:center}
.tv-section h2{margin:12px 0 14px;color:#203758;font-size:clamp(25px,3vw,33px);line-height:1.2;letter-spacing:-.03em;font-weight:650}
.tv-section p{margin:0;color:#5b6370;font-size:16px;line-height:1.75}
.tv-player{position:relative;margin:0;background:#0e1420;aspect-ratio:16/9;overflow:hidden}
.tv-player video{display:block;width:100%;height:100%;object-fit:cover;background:#0e1420}
.tv-player video::cue{font-size:clamp(15px,2.2vw,21px);line-height:1.35;background:rgba(10,14,22,.78);color:#fff}
.tv-dur{display:inline-block;margin-top:14px;font-size:13px;font-weight:600;color:#5b6370}
/* butonul de pe prima pagină */
.tv-open{display:flex;width:fit-content;align-items:center;gap:10px;margin:2px 0 18px;padding:0;border:0;background:none;color:#203758;font:inherit;font-weight:650;font-size:15px;cursor:pointer;text-decoration:none}
.tv-open .tv-ic{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#c44711;color:#fff;flex:none}
.tv-open .tv-ic svg{width:13px;height:13px;margin-left:2px}
.tv-open:hover span:last-child,.tv-open:focus-visible span:last-child{text-decoration:underline;text-underline-offset:3px}
.tv-dialog{width:min(960px,94vw);padding:0;border:0;background:#0e1420;color:#fff}
.tv-dialog::backdrop{background:rgba(8,12,20,.78)}
.tv-dialog .tv-player{aspect-ratio:16/9}
.tv-close{position:absolute;top:8px;right:8px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.tv-close:focus-visible{outline:3px solid #f05a18;outline-offset:2px}
html[data-theme="dark"] .tv-section{background:#1c222c;border-color:#394658}
html[data-theme="dark"] .tv-section h2{color:#edf2f8}
html[data-theme="dark"] .tv-section p,html[data-theme="dark"] .tv-dur{color:#bec7d5}
html[data-theme="dark"] .tv-open{color:#edf2f8}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .tv-section{background:#1c222c;border-color:#394658}
 html:not([data-theme="light"]) .tv-section h2{color:#edf2f8}
 html:not([data-theme="light"]) .tv-section p,html:not([data-theme="light"]) .tv-dur{color:#bec7d5}
 html:not([data-theme="light"]) .tv-open{color:#edf2f8}
}
@media (max-width:860px){.tv-section{grid-template-columns:1fr;gap:22px;padding:24px 20px}}
/* v2: card cu miniatură (16 nov 2026) */
.home-teacher-summary .tv-open.tv-card{display:flex;align-items:center;gap:18px;width:100%;max-width:520px;margin:30px 0 26px;padding:10px 20px 10px 10px;border:1px solid #d8dce2;background:#fff;color:#203758;text-align:left;font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.tv-card .tv-thumb{position:relative;flex:none;width:168px;aspect-ratio:16/9;overflow:hidden;background:#0e1420}
.tv-card .tv-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.tv-card .tv-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,20,32,0) 40%,rgba(14,20,32,.45))}
.tv-card .tv-ic{position:absolute;z-index:1;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:#c44711;color:#fff;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.28);transition:transform .2s}
.tv-card .tv-ic svg{width:15px;height:15px;margin-left:3px}
.tv-card .tv-len{position:absolute;z-index:1;right:6px;bottom:6px;padding:1px 6px;background:rgba(0,0,0,.7);color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em}
.tv-card .tv-txt{display:flex;flex-direction:column;gap:5px;min-width:0}
.tv-card .tv-txt strong{font-size:16px;line-height:1.3;font-weight:700;color:inherit}
.tv-card .tv-txt small{font-size:13px;line-height:1.45;color:#5b6370}
.tv-card:hover,.tv-card:focus-visible{border-color:#c44711;box-shadow:0 8px 22px rgba(32,55,88,.10);transform:translateY(-1px)}
.tv-card:hover .tv-thumb img{transform:scale(1.05)}
.tv-card:hover .tv-ic{transform:scale(1.08)}
html[data-theme="dark"] .home-teacher-summary .tv-open.tv-card{background:#1c222c;border-color:#394658;color:#edf2f8}
html[data-theme="dark"] .tv-card .tv-txt small{color:#bec7d5}
@media (prefers-color-scheme:dark){
 html:not([data-theme="light"]) .home-teacher-summary .tv-open.tv-card{background:#1c222c;border-color:#394658;color:#edf2f8}
 html:not([data-theme="light"]) .tv-card .tv-txt small{color:#bec7d5}
}
@media (max-width:560px){.home-teacher-summary .tv-open.tv-card{gap:14px;padding:8px 14px 8px 8px}.tv-card .tv-thumb{width:128px}.tv-card .tv-ic{width:38px;height:38px;margin:-19px 0 0 -19px}.tv-card .tv-txt strong{font-size:15px}}
.tv-card,.tv-card:hover,.tv-card *,.tv-card:hover *{text-decoration:none!important}
/* v3: video mare în locul pozei (16 nov 2026) */
.intro.home-teacher-summary.has-video{grid-template-columns:minmax(300px,460px) minmax(0,1fr);gap:56px}
.has-video .tv-big{display:block;width:100%;margin:22px 0 0;padding:0;border:0;background:none;cursor:pointer;text-align:left;font:inherit;color:inherit}
.tv-big .tv-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#0e1420;border-left:5px solid #f05a18}
.tv-big .tv-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tv-big .tv-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,20,32,0) 45%,rgba(14,20,32,.55))}
.tv-big .tv-ic{position:absolute;z-index:1;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:#c44711;color:#fff;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.3);transition:transform .2s}
.tv-big .tv-ic svg{width:22px;height:22px;margin-left:4px}
.tv-big .tv-len{position:absolute;z-index:1;right:10px;bottom:10px;padding:2px 8px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:700}
.tv-big .tv-label{position:absolute;z-index:1;left:16px;bottom:11px;color:#fff;font-size:13px;font-weight:650;letter-spacing:.01em;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.tv-big:hover .tv-thumb img,.tv-big:focus-visible .tv-thumb img{transform:scale(1.04)}
.tv-big:hover .tv-ic,.tv-big:focus-visible .tv-ic{transform:scale(1.08)}
.tv-big:focus-visible{outline:3px solid #f05a18;outline-offset:3px}
.tv-cap{display:grid;gap:3px;margin:13px 2px 0}
.tv-cap strong{font-size:14px;color:inherit}
.tv-cap span{font-size:12px;color:#5b6370}
html[data-theme="dark"] .tv-cap span{color:#bec7d5}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .tv-cap span{color:#bec7d5}}
@media (max-width:900px){.intro.home-teacher-summary.has-video{grid-template-columns:1fr;gap:28px}}
@media (max-width:560px){.tv-big .tv-ic{width:56px;height:56px;margin:-28px 0 0 -28px}.tv-big .tv-ic svg{width:18px;height:18px}}
.tv-big,.tv-big *,.tv-big:hover *{text-decoration:none!important}
.tv-inline{margin:22px 0 0;aspect-ratio:16/9;background:#0e1420;border-left:5px solid #f05a18}.tv-inline video{display:block;width:100%;height:100%;object-fit:cover}
/* v4: video direct în pagină pe prima pagină (16 nov 2026) */
.has-video .tv-home{margin:22px 0 0;aspect-ratio:16/9;background:#0e1420;border-left:5px solid #f05a18;overflow:hidden}
.has-video .tv-home video{display:block;width:100%;height:100%;object-fit:cover;background:#0e1420}
.has-video .tv-home video::cue{font-size:clamp(14px,1.9vw,19px);line-height:1.35;background:rgba(10,14,22,.78);color:#fff}
/* v6: buton de play propriu jos în stânga (fața rămâne liberă), pe prima pagină și pe pagina profesorului — 18 nov 2026 */
.has-video .tv-home{position:relative}
.tv-home .tv-play,.tv-player .tv-play{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:linear-gradient(0deg,rgba(14,20,32,.32),rgba(14,20,32,0) 42%);cursor:pointer;-webkit-tap-highlight-color:transparent}
.tv-home .tv-play[hidden],.tv-player .tv-play[hidden]{display:none}
.tv-home .tv-play-ic,.tv-player .tv-play-ic{position:absolute;left:16px;bottom:16px;width:60px;height:60px;border-radius:50%;background:#c44711;color:#fff;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.35);transition:transform .2s}
.tv-home .tv-play-ic svg,.tv-player .tv-play-ic svg{width:22px;height:22px;margin-left:4px}
.tv-home .tv-play-len,.tv-player .tv-play-len{position:absolute;right:10px;bottom:10px;padding:2px 8px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:700;line-height:1.5}
.tv-home .tv-play:hover .tv-play-ic,.tv-home .tv-play:focus-visible .tv-play-ic,.tv-player .tv-play:hover .tv-play-ic,.tv-player .tv-play:focus-visible .tv-play-ic{transform:scale(1.08)}
.tv-home .tv-play:focus-visible,.tv-player .tv-play:focus-visible{outline:3px solid #f05a18;outline-offset:-3px}
@media (max-width:560px){.tv-home .tv-play-ic,.tv-player .tv-play-ic{left:12px;bottom:12px;width:50px;height:50px}.tv-home .tv-play-ic svg,.tv-player .tv-play-ic svg{width:18px;height:18px}}
/* v7: video vertical pe paginile «De ce spaniola» (motivos) — 18 nov 2026 */
.tv-section.tv-vertical{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);margin:40px 0 36px}
.tv-vertical .tv-player{width:100%;max-width:380px;aspect-ratio:720/832;justify-self:center;border-left:5px solid #f05a18}
@media (max-width:860px){.tv-section.tv-vertical{grid-template-columns:1fr}.tv-vertical .tv-player{max-width:440px}}
