/* Strictly namespaced: cannot override the theme's Photography or portrait-video styles. */
.tvs-section[hidden], .tvs-section [hidden] { display:none !important; }
.tvs-section { position:relative; width:100%; color:#f7f5f3; }
.tvs-section .tvs-width { width:min(1240px,calc(100% - 48px)); margin:0 auto; }
.tvs-section .tvs-shell {
  border-radius:22px; border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg,rgba(21,19,25,.76),rgba(10,13,19,.66));
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  padding:clamp(24px,4vw,52px);
}
.tvs-section .tvs-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:26px}
.tvs-section .tvs-heading h2 {margin:0; font-size:clamp(32px,4.5vw,56px);letter-spacing:-.065em;line-height:1.04;font-weight:850;color:#fff}
.tvs-section .tvs-heading h2 em {font-style:normal;color:#ff5936}
.tvs-section .tvs-kicker {font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#ff5936;margin:0 0 12px}
.tvs-section .tvs-intro {max-width:295px;color:#c4bfbe;font-size:12px;line-height:1.75;margin:0}
.tvs-section .tvs-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tvs-section .tvs-card {min-width:0}
.tvs-section .tvs-poster {position:relative;aspect-ratio:16 / 9;overflow:hidden;border-radius:14px;background:#22232b;isolation:isolate;}
.tvs-section .tvs-thumb {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.tvs-section .tvs-card:hover .tvs-thumb {transform:scale(1.05)}
.tvs-section .tvs-poster:before {content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.38));pointer-events:none}
.tvs-section .tvs-image-fallback {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;background:radial-gradient(ellipse at 65% 20%,#67372b,transparent 55%),linear-gradient(145deg,#2c1d21,#131720);font-size:clamp(18px,2vw,27px);letter-spacing:.2em;font-weight:800;color:#eae1df}
.tvs-section .tvs-image-fallback span {color:#ff5936}
.tvs-section .tvs-play {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;width:64px;height:64px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.38);border-radius:50%;color:#fff;background:rgba(255,89,54,.93);box-shadow:0 10px 30px rgba(0,0,0,.42);font-size:22px;cursor:pointer;transition:background .2s,scale .2s}
.tvs-section .tvs-play:hover {background:#ff775b;scale:1.07}
.tvs-section .tvs-view {position:absolute;bottom:20px;left:20px;z-index:3;background:#ff5936;color:white;border-radius:100px;padding:10px 16px;font-weight:700;font-size:11px}
.tvs-section .tvs-card-caption {display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:17px 3px 11px;border-bottom:1px solid rgba(255,255,255,.12)}
.tvs-section .tvs-card-caption h3 {margin:0;color:white;font-size:18px;font-weight:800;line-height:1.2;letter-spacing:-.03em}
.tvs-section .tvs-card-caption p {margin:7px 0 0;color:#a9a5a6;line-height:1.65;font-size:11px}
.tvs-section .tvs-detail {flex:none;text-decoration:none;color:#ff775b;font-size:19px;line-height:1.2}
.tvs-section .tvs-detail:hover {color:white}
.tvs-section .tvs-player-host {position:absolute;inset:0;z-index:6;background:#000}
.tvs-section .tvs-player-host .tvs-player {width:100%;height:100%;border:0;display:block;object-fit:contain;background:#000}
.tvs-section .tvs-player-host .tvs-close {position:absolute;top:10px;right:10px;z-index:7;border:1px solid #ffffff55;border-radius:50%;background:#121214dd;color:white;font-size:27px;width:38px;height:38px;display:grid;place-items:center;cursor:pointer}
.tvs-section .tvs-empty {min-height:154px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed #ffffff44;border-radius:14px;background:rgba(255,255,255,.028);text-align:center;color:#bab6b7}
.tvs-section .tvs-empty-symbol {font-size:24px;color:#ff5936}
.tvs-section .tvs-empty p {margin:0;font-size:13px}
.tvs-section .tvs-empty a {color:#ff775b;font-size:12px}
.tvs-section .tvs-legacy {margin-top:28px}
.tvs-section #tvs-old-post-projects:not([hidden]) {display:grid;gap:24px}
.tvs-section .tvs-legacy .green-row {max-width:100%}
@media(max-width:720px) {
  .tvs-section .tvs-width {width:calc(100% - 30px)}
  .tvs-section .tvs-shell {padding:22px 16px;border-radius:18px}
  .tvs-section .tvs-heading {flex-direction:column;align-items:flex-start;gap:12px}
  .tvs-section .tvs-heading h2 {font-size:clamp(34px,8vw,48px)}
  .tvs-section .tvs-intro {max-width:100%}
  .tvs-section .tvs-grid {grid-template-columns:1fr;gap:24px}
  .tvs-section .tvs-card-caption h3 {font-size:16px}
  .tvs-section .tvs-play {width:54px;height:54px}
}
@media(prefers-reduced-motion:reduce) {
  .tvs-section .tvs-thumb,.tvs-section .tvs-play {transition:none!important}
}
/* v1.1: the entire thumbnail plays the video inline on click. */
.tvs-section .tvs-poster .tvs-play {
  inset:0;top:0;left:0;transform:none;width:100%;height:100%;border:0;border-radius:14px;
  background:transparent;box-shadow:none;display:flex;align-items:center;justify-content:center;
}
.tvs-section .tvs-poster .tvs-play:hover { background:rgba(0,0,0,.08);scale:1; }
.tvs-section .tvs-poster .tvs-play span {
  width:64px;height:64px;display:grid;place-items:center;border-radius:50%;
  color:white;background:#ff5936;border:1px solid rgba(255,255,255,.32);
  box-shadow:0 10px 30px rgba(0,0,0,.42);transition:transform .2s ease,background .2s ease;
}
.tvs-section .tvs-poster .tvs-play:hover span {transform:scale(1.1);background:#ff775b}
.tvs-section .tvs-player-host .tvs-external {
  position:absolute;right:9px;bottom:9px;z-index:8;background:rgba(10,10,12,.75);
  color:#fff;font-size:11px;padding:5px 9px;border-radius:6px;text-decoration:none;
}
.tvs-section .tvs-player-host .tvs-external:hover {background:#ff5936}
@media(max-width:720px){.tvs-section .tvs-poster .tvs-play span{width:54px;height:54px}}

/* v1.2: direct embedded players. These stay on the homepage with no JS or detail-page navigation. */
.tvs-section .tvs-poster.tvs-ready-player::before {display:none!important}
.tvs-section .tvs-poster .tvs-direct-player {
  position:absolute!important; inset:0!important; z-index:10!important;
  display:block!important; width:100%!important; height:100%!important;
  border:0!important; border-radius:0!important; object-fit:contain;
  background:#000; pointer-events:auto!important;
}
.tvs-section .tvs-ready-player:hover .tvs-thumb { transform:none; }
.tvs-section .tvs-inline-label { flex:none; color:#ff775b; font-size:11px; font-weight:700; white-space:nowrap; }
.tvs-section .tvs-video-missing {position:absolute;z-index:3;inset:0;display:flex;align-items:center;justify-content:center;gap:5px;text-align:center;background:rgba(8,8,9,.67);color:#fff;font-size:12px;padding:18px;}
.tvs-section .tvs-video-missing a {color:#ff775b;text-decoration:underline}
