/* ===== Сторінка YouTube-подкасту + тизер на головній ===== */

/* Hero */
.yt-hero .hero__title { margin: 0 0 20px; }
.yt-hero__label { margin-top: 40px; }
.yt-hero__title { hyphens: manual; }
.yt-hero__right { background: var(--grey-1); align-items: center; justify-content: center; padding: clamp(24px, 4vw, 64px); }
.yt-feature { margin: 0; width: 100%; max-width: 640px; }
.yt-feature__label { margin-bottom: 14px; }
.yt-feature figcaption { margin-top: 20px; border-top: 4px solid var(--black); padding-top: 16px; }
.yt-feature__title { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; text-transform: none; }

.yt-meta { display: inline-block; margin-top: 10px; font-family: var(--f-narrow); font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }

/* Легке вбудовування відео */
.yt-lite { position: relative; aspect-ratio: 16 / 9; background: var(--black); cursor: pointer; overflow: hidden; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity var(--t); }
.yt-lite:hover img { transform: scale(1.03); opacity: 0.9; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border: 4px solid var(--white); border-radius: 0; background: var(--black); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background var(--t), border-color var(--t);
}
.yt-lite__play span { width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white); }
.yt-lite:hover .yt-lite__play, .yt-lite__play:focus-visible { background: var(--copper); border-color: var(--copper); }

/* «Подивіться до консультації» */
.yt-why { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
.yt-why small { display: block; margin-top: 10px; font-weight: 400; font-size: 14px; line-height: 1.6; color: var(--muted); }
.yt-before .svc-note { margin-top: 40px; }

/* «З чого почати» */
.yt-start { background: var(--grey-1); }
.yt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.yt-step { display: flex; flex-direction: column; border-top: 4px solid var(--black); padding-top: 16px; }
.yt-step__num { font-family: var(--f-narrow); font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.yt-step__title { margin-top: 18px; font-size: 17px; line-height: 1.35; text-transform: none; font-weight: 700; }

/* Сітка відео */
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.yt-card { display: flex; flex-direction: column; padding: 20px 20px 24px; border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); text-decoration: none; transition: background var(--t); }
.yt-card:hover { background: var(--grey-1); }
.yt-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grey-2); }
.yt-card__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform 0.4s ease, filter var(--t); }
.yt-card:hover .yt-card__thumb img { transform: scale(1.03); filter: none; }
.yt-card__dur { position: absolute; right: 0; bottom: 0; background: var(--black); color: var(--white); font-family: var(--f-narrow); font-size: 12px; letter-spacing: 1.4px; padding: 3px 10px; }
.yt-card h4 { margin-top: 16px; font-size: 15px; line-height: 1.4; text-transform: none; font-weight: 700; }
.yt-more__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.yt-more__actions .small-link { margin-top: 0; }

/* CTA */
.yt-cta__inner { max-width: 820px; }
.yt-cta h2 { font-size: clamp(30px, 4vw, 56px); margin-bottom: 24px; }
.yt-cta .lead { color: #D8D3CF; }
.yt-cta__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.yt-cta__main { background: var(--white); color: var(--black); }
.yt-cta__main:hover, .yt-cta__main:focus-visible { background: var(--copper); border-color: var(--copper); color: var(--white); }

/* ===== Тизер на головній ===== */
.yt-teaser { background: var(--grey-1); }
.yt-teaser__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.yt-teaser h2 { margin-bottom: 18px; }
.yt-teaser__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.yt-teaser__actions .small-link { margin-top: 0; }
.yt-teaser__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yt-teaser__thumbs a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--black); }
.yt-teaser__thumbs a:first-child { grid-column: span 2; }
.yt-teaser__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.yt-teaser__thumbs a:hover img { transform: scale(1.03); }
.yt-teaser__thumbs a:first-child::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
  border: 4px solid var(--white);
}

/* ===== Адаптив ===== */
@media (max-width: 1180px) {
  .yt-why { grid-template-columns: repeat(2, 1fr); }
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .yt-hero__right { order: 1; aspect-ratio: auto; padding: 24px var(--pad) 40px; }
  .yt-hero__label { margin-top: 0; }
  .yt-hero__title { font-size: clamp(30px, 9vw, 44px); }
  .yt-steps { grid-template-columns: 1fr; gap: 36px; }
  .yt-teaser__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .yt-grid { grid-template-columns: 1fr; }
  .yt-card { padding: 16px 16px 20px; }
  .yt-lite__play { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .yt-why { grid-template-columns: 1fr; }
  .badges li { padding: 8px 12px; font-size: 12px; }
}
