/* Styles for videos page */

.main-w {
  min-height: 40vh;
}

.videos-page .videos-hero__title {
  line-height: 0.94;
  padding-bottom: 0.06em;
}

.videos-page .hero__char-wrap {
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

/* ─── VIDEOS LIST ─────────────────────────────────────────────────────────── */

.videos-list {
  padding: var(--gap-xl);
  padding-top: 0;
  padding-bottom: 24rem;
  box-sizing: border-box;
  background-color: var(--color--light);
  overflow: visible;
}

.videos-list__inner {
  display: flex;
  flex-direction: column;
  gap: 14rem;
  overflow: visible;
}

/* ─── VIDEO CARD ─────────────────────────────────────────────────────────── */

.video-card {
  display: grid;
  align-items: stretch;
  position: relative;
  overflow: visible;
  box-shadow: 0 6px 60px rgba(0, 0, 0, 0.1);
}

.video-card--1 {
  grid-template-columns: 2fr 3fr;
  transform: rotate(-0.8deg) translate(-2rem, 0);
}

.video-card--2 {
  grid-template-columns: 3fr 2fr;
  transform: rotate(0.5deg) translate(3rem, 0);
}

/* ─── INFO PANEL ─────────────────────────────────────────────────────────── */

.video-card__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 65rem;
}

.video-card--1 .video-card__info {
  background-color: #2d4a3e;
  color: #f0ebe2;
}

.video-card--2 .video-card__info {
  background-color: #6b3d2e;
  color: #f5ede5;
}

/* Ghost number — decorative background element */
.video-card__num {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 22rem;
  line-height: 0.82;
  letter-spacing: -0.07em;
  font-weight: 700;
  color: currentColor;
  opacity: 0.09;
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  pointer-events: none;
  user-select: none;
}

.video-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.video-card__title {
  font-family: "DM Sans", sans-serif;
  font-size: 7rem;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 2.5rem;
  color: currentColor;
}

.video-card__desc {
  font-family: "Inter", sans-serif;
  font-size: 2.4rem;
  line-height: 1.75;
  opacity: 0.7;
  margin: 0;
  color: currentColor;
  max-width: 36ch;
}

/* Watch on YouTube button */
.video-card__watch {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: currentColor;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: 1.8rem 3rem;
  margin-top: 5rem;
  align-self: flex-start;
  transition:
    background-color 0.28s ease,
    color 0.28s ease;
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  .video-card--1 .video-card__watch:hover {
    background-color: #f0ebe2;
    color: #2d4a3e;
  }

  .video-card--2 .video-card__watch:hover {
    background-color: #f5ede5;
    color: #6b3d2e;
  }
}

.video-card__watch svg {
  width: 3.4rem;
  height: 3.4rem;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

@media (hover: hover) {
  .video-card__watch:hover svg {
    transform: translate(3px, -3px);
  }
}

/* ─── MEDIA PANEL ─────────────────────────────────────────────────────────── */

.video-card__media {
  background-color: #0a0a0a;
  overflow: hidden;
  position: relative;
}

.video-card__embed-wrap {
  position: absolute;
  inset: 0;
}

.video-card__embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─── THUMBNAIL + PLAY OVERLAY ──────────────────────────────────────────── */

.video-card__thumb-link {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
  overflow: hidden;
}

.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

@media (hover: hover) {
  .video-card__thumb-link:hover .video-card__thumb {
    transform: scale(1.04);
  }
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.3s ease;
}

@media (hover: hover) {
  .video-card__thumb-link:hover .video-card__play {
    background: rgba(0, 0, 0, 0.38);
  }
}

.video-card__play svg {
  width: 7rem;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .video-card__thumb-link:hover .video-card__play svg {
    transform: scale(1.1);
  }
}

/* ─── CONSENT OVERLAY (2-click / Klick-zum-Laden) ────────────────────────── */

.video-card__consent {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.video-card__consent .video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__consent .video-card__play {
  flex-direction: column;
  gap: 2rem;
  cursor: default;
}

.video-card__consent-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: block;
  line-height: 0;
}

.video-card__consent-btn svg {
  width: 7rem;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .video-card__consent-btn:hover svg {
    transform: scale(1.1);
  }
}

.video-card__consent-note {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0 3rem;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.5;
}

/* ─── DARK MODE ──────────────────────────────────────────────────────────── */

html.dark .video-card--1 .video-card__info {
  background-color: #1e3329;
}

html.dark .video-card--2 .video-card__info {
  background-color: #4a2a1e;
}

html.dark .video-card {
  box-shadow: 0 6px 60px rgba(0, 0, 0, 0.3);
}

