/* Iceberg Holding YouTube promo for pasaulis.lt — v2 (18.11.2026)
   Drop in as /css/ih-yt-promo.css and link it from the page <head>.

   Dresden ID lives in one place: data-yt-dresden-id on the <section>.
   A tiny script in the HTML snippet copies that ID into the link and thumbnail.
   Visibility switch: data-yt-dresden="on" | "off".
   Stas is still confirming whether VC9ZgmDeGPU is the final film.
*/
.ih-yt[data-yt-dresden="off"] [data-yt-item="dresden"],
.ih-yt-context[data-yt-dresden="off"]{display:none!important}

.ih-yt{
  margin:40px 0 0;
  padding:28px 0 4px;
  border-top:1px solid var(--line);
  scroll-margin-top:calc(var(--header-h, 96px) + 12px);
}
.ih-yt-kicker{
  margin:0 0 6px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:650;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.ih-yt-title{
  font-family:var(--serif);
  font-weight:560;
  letter-spacing:-.03em;
  font-size:clamp(1.45rem, 3vw, 1.75rem);
  margin:0 0 .45rem;
  line-height:1.15;
}
.ih-yt-lead{
  color:var(--muted);
  margin:0 0 18px;
  max-width:40rem;
  font-size:.98rem;
}
.ih-yt-films{
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}
.ih-yt-films-solo{max-width:36rem}
@media (min-width:720px){
  .ih-yt-films-2{grid-template-columns:1fr 1fr}
  .ih-yt-films-1 > .ih-yt-card:not(.ih-yt-short){
    flex-direction:row;
    align-items:stretch;
    max-width:46rem;
  }
  .ih-yt-films-1 > .ih-yt-card:not(.ih-yt-short) .ih-yt-thumb{
    width:58%;
    flex:none;
    aspect-ratio:16/9;
  }
  .ih-yt-films-1 > .ih-yt-card:not(.ih-yt-short) .ih-yt-body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:16px 20px;
  }
}
.ih-yt-card{
  display:flex;
  flex-direction:column;
  color:inherit;
  text-decoration:none;
  background:var(--bg-elev);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  min-width:0;
}
.ih-yt-card:hover{border-color:var(--ink)}
.ih-yt-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.ih-yt-thumb{
  position:relative;
  aspect-ratio:16/9;
  background:var(--plate);
  overflow:hidden;
}
.ih-yt-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ih-yt-play{
  position:absolute;
  inset:auto 14px 14px auto;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--accent);
  color:var(--button-ink);
  display:grid;
  place-items:center;
  box-shadow:var(--shadow);
  pointer-events:none;
}
.ih-yt-play svg{display:block;margin-left:2px}
.ih-yt-body{padding:12px 16px 14px}
.ih-yt-body strong{
  display:block;
  font-weight:650;
  font-size:1.02rem;
  letter-spacing:-.01em;
  line-height:1.3;
}
.ih-yt-meta{
  color:var(--muted);
  font-size:.88rem;
  margin:.3rem 0 0;
  line-height:1.4;
}
.ih-yt-shorts{margin-top:20px}
.ih-yt-shorts h3{
  font-size:.95rem;
  font-weight:650;
  margin:0 0 10px;
  color:var(--muted);
}
.ih-yt-shorts-list{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
.ih-yt-shorts-list-2{
  grid-template-columns:repeat(2, minmax(0, 13.5rem));
  justify-content:start;
}
.ih-yt-short .ih-yt-thumb{aspect-ratio:9/16}
.ih-yt-short .ih-yt-body{padding:8px 10px 12px}
.ih-yt-short .ih-yt-body strong{font-size:.86rem;font-weight:600}
.ih-yt-more{
  margin:16px 0 0;
  font-size:.95rem;
}
.ih-yt-more a{color:var(--accent)}
.ih-yt-subscribe{font-weight:650}

/* Compact contextual block for the Germany country page */
.ih-yt-context{
  margin:28px 0 8px;
  padding:20px 0 0;
  border-top:1px solid var(--line);
}
.ih-yt-context .ih-yt-films{max-width:36rem}

@media (max-width:519px){
  .ih-yt-shorts-list{gap:8px}
  .ih-yt-shorts-list-2{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .ih-yt-short .ih-yt-body{padding:8px 8px 10px}
  .ih-yt-short .ih-yt-body strong{font-size:.8rem}
}
