/* =========================================================
   Videos V2 — modal index + SEO detail + FAQ + related
   ========================================================= */

.site-main > article.videos-v2-page,
.site-main > article.video-seo-v2-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.videos-v2-page,
.video-seo-v2-page {
  overflow: hidden;
  background: #fff;
  color: #363636;
}

.videos-v2-page *,
.videos-v2-page *::before,
.videos-v2-page *::after,
.video-seo-v2-page *,
.video-seo-v2-page *::before,
.video-seo-v2-page *::after {
  box-sizing: border-box;
}

.videos-v2-container,
.video-seo-v2-container {
  width: min(1500px, calc(100% - 40px));
  margin-inline: auto;
}

.videos-v2-container--reading,
.video-seo-v2-container--text {
  width: min(980px, calc(100% - 48px));
}

.videos-v2-gold-line,
.video-seo-v2-gold-line {
  height: 2px;
  background: linear-gradient(
    90deg,
    #a2682a 0%,
    #be8c3c 12%,
    #d3b15f 27%,
    #faf0a0 40%,
    #ffffc2 49%,
    #d3b15f 58%,
    #be8c3c 70%,
    #b17b32 80%,
    #d4a245 90%,
    #a4692a 100%
  );
}

.videos-v2-gold-title {
  max-width: 1050px;
  margin: 0;
  color: #d6b15f;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(
    105deg,
    #ffdfbc 0%,
    #be8c3c 16%,
    #d3b15f 32%,
    #faf0a0 50%,
    #d3b15f 68%,
    #bb8332 86%,
    #e1b453 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.videos-v2-gold-title--on-white {
  background-image: linear-gradient(
    105deg,
    #9b6224 0%,
    #be8c3c 22%,
    #d3b15f 42%,
    #a4692a 72%,
    #bb8332 100%
  );
}

.videos-v2-kicker,
.videos-v2-list__kicker {
  margin: 0 0 14px;
  color: #e2c287;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.videos-v2-hero {
  padding: clamp(58px, 6.5vw, 92px) 0;
  color: #fff;
  background: radial-gradient(
    circle at 50% 35%,
    #6e6e6e 0%,
    #565656 38%,
    #4f4f4f 72%,
    #474747 100%
  );
}

.videos-v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
}

.videos-v2-hero__grid--single {
  grid-template-columns: 1fr;
}

.videos-v2-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.8;
}

.videos-v2-featured__label {
  margin: 0 0 13px;
  color: #e2c287;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.videos-v2-featured-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(34, 34, 34, 0.34);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.videos-v2-featured-card__media,
.videos-v2-card__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #3f3f3f;
  cursor: pointer;
}

.videos-v2-featured-card__media {
  min-height: 250px;
}

.videos-v2-featured-card__media--static,
.videos-v2-card__media--static {
  cursor: default;
}

.videos-v2-featured-card__media img,
.videos-v2-featured-card__media .videos-v2-image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.videos-v2-featured-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 24px;
}

.videos-v2-featured-card__body strong {
  color: #e0bd75;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 500;
  line-height: 1.28;
}

.videos-v2-featured-card__body small {
  display: -webkit-box;
  margin-top: 15px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.videos-v2-list {
  padding: clamp(64px, 7vw, 104px) 0;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(190, 140, 60, 0.05),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 72%,
      rgba(164, 105, 42, 0.04),
      transparent 30%
    ),
    #fff;
}

.videos-v2-list__heading {
  max-width: 1000px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.videos-v2-list__kicker {
  color: #9b6224;
}

.videos-v2-list__heading .videos-v2-gold-title {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

.videos-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.videos-v2-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4ddd4;
  background: #fff;
  box-shadow: 0 8px 24px rgba(40, 31, 23, 0.07);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.videos-v2-card:hover {
  transform: translateY(-4px);
  border-color: #cda76a;
  box-shadow: 0 15px 34px rgba(40, 31, 23, 0.12);
}

.videos-v2-card__media {
  aspect-ratio: 16 / 9;
}

.videos-v2-card__media img,
.videos-v2-card__media .videos-v2-image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.videos-v2-image-fallback {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent),
    radial-gradient(circle at 40% 30%, #707070, #4e4e4e 60%, #414141);
}

.videos-v2-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.58);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
  color: #f2d798;
  font-size: 1.18rem;
  line-height: 1;
  padding-left: 4px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.videos-v2-featured-card__media:hover .videos-v2-play,
.videos-v2-card__media:hover .videos-v2-play {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #f2d798;
  background: rgba(164, 105, 42, 0.9);
}

.videos-v2-featured-card__media img,
.videos-v2-card__media img {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.videos-v2-featured-card__media:hover img,
.videos-v2-card__media:hover img {
  transform: scale(1.025);
  filter: brightness(0.9);
}

.videos-v2-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 19px 18px 21px;
}

.videos-v2-card__body strong {
  color: #8f6028;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.42;
}

.videos-v2-card__body small {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: #626262;
  font-size: 0.88rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.videos-v2-more-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: #8f6028;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.videos-v2-more-link--dark {
  color: #f1cf88;
}

.videos-v2-more-link span {
  transition: transform 0.2s ease;
}

.videos-v2-more-link:hover span {
  transform: translateX(4px);
}

.videos-v2-more-link:hover {
  color: #a4692a;
}

.videos-v2-more-link--dark:hover {
  color: #fff1c8;
}

.videos-v2-empty {
  margin: 0;
  padding: 26px;
  border: 1px solid #e2ddd6;
  background: #faf9f7;
  color: #666;
  text-align: center;
}

.videos-v2-cta {
  padding: clamp(72px, 8vw, 110px) 0;
  color: #fff;
  text-align: center;
  background: radial-gradient(
    circle at 50% 45%,
    #626262 0%,
    #505050 48%,
    #424242 100%
  );
}

.videos-v2-cta .videos-v2-gold-title {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.08;
}

.videos-v2-cta p {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
}

.videos-v2-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.videos-v2-page .button {
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid #bb8332;
  border-radius: 0;
  background: #bb8332;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.videos-v2-page .button:hover {
  border-color: #a4692a;
  background: #a4692a;
  color: #fff;
  transform: none;
}

/* Modal */
.videos-v2-modal[hidden] {
  display: none;
}

.videos-v2-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  padding: clamp(18px, 4vw, 48px);
  place-items: center;
}

.videos-v2-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(4px);
}

.videos-v2-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  background: #111;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

.videos-v2-modal__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.videos-v2-modal__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.videos-v2-modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: #222;
  color: #fff;
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.videos-v2-modal__close:hover {
  border-color: #d3b15f;
  background: #a4692a;
}

.videos-v2-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* SEO detail */
.video-seo-v2-main {
  padding: clamp(58px, 7vw, 96px) 0 clamp(64px, 7vw, 96px);
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(190, 140, 60, 0.05),
      transparent 28%
    ),
    #fff;
}

.video-seo-v2-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: #8f6028;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.video-seo-v2-title {
  max-width: 1180px;
  margin: 0 0 clamp(30px, 4vw, 44px);
  color: #9b6626;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.video-seo-v2-player {
  width: min(1120px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 46px rgba(27, 22, 18, 0.12);
}

.video-seo-v2-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-seo-v2-description {
  width: min(980px, 100%);
  margin-top: clamp(42px, 5vw, 64px);
}

.video-seo-v2-section-title {
  margin: 0 0 26px;
  color: #9b6626;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.video-seo-v2-section-title--center {
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 52px);
  text-align: center;
}

.video-seo-v2-prose {
  color: #444;
  font-size: 1.04rem;
  line-height: 1.82;
}

.video-seo-v2-prose > *:first-child {
  margin-top: 0;
}

.video-seo-v2-prose > *:last-child {
  margin-bottom: 0;
}

.video-seo-v2-prose h2,
.video-seo-v2-prose h3,
.video-seo-v2-prose h4 {
  color: #8f6028;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
}

.video-seo-v2-prose a {
  color: #8f6028;
}

.video-seo-v2-band {
  padding: clamp(62px, 7vw, 96px) 0;
}

.video-seo-v2-band--faq {
  background: #fffaf1;
}

.video-seo-v2-band--related {
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(190, 140, 60, 0.05),
      transparent 28%
    ),
    #fff;
}

.video-seo-v2-faq {
  border-top: 1px solid #e4d8c8;
}

.video-seo-v2-faq details {
  border-bottom: 1px solid #e4d8c8;
}

.video-seo-v2-faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: #3d3a36;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.55;
  list-style: none;
}

.video-seo-v2-faq summary::-webkit-details-marker {
  display: none;
}

.video-seo-v2-faq summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 4px;
  color: #bb8332;
  font-size: 1.6rem;
  font-weight: 400;
}

.video-seo-v2-faq details[open] summary::after {
  content: "−";
}

.video-seo-v2-faq__answer {
  padding: 0 0 24px;
  color: #555;
  line-height: 1.78;
}

.video-seo-v2-faq__answer > *:last-child {
  margin-bottom: 0;
}

.video-seo-v2-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.video-seo-v2-related-card {
  min-width: 0;
}

.video-seo-v2-related-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4ddd4;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(40, 31, 23, 0.07);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.video-seo-v2-related-card > a:hover {
  transform: translateY(-4px);
  border-color: #cda76a;
  box-shadow: 0 15px 34px rgba(40, 31, 23, 0.12);
}

.video-seo-v2-related-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #444;
}

.video-seo-v2-related-card__media img,
.video-seo-v2-related-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-seo-v2-related-fallback {
  background: radial-gradient(circle at 40% 30%, #707070, #4e4e4e 60%, #414141);
}

.video-seo-v2-related-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.58);
  color: #f2d798;
  padding-left: 3px;
}

.video-seo-v2-related-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px;
}

.video-seo-v2-related-card__body strong {
  color: #8f6028;
  line-height: 1.45;
}

.video-seo-v2-related-card__body em {
  margin-top: auto;
  padding-top: 16px;
  color: #8f6028;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 650;
}

.videos-v2-page button:focus-visible,
.videos-v2-page a:focus-visible,
.video-seo-v2-page a:focus-visible {
  outline: 3px solid #d3b15f;
  outline-offset: 3px;
}

body:has(.videos-v2-page) .site-footer,
body.visual-parity-v1:has(.videos-v2-page) .site-footer,
body:has(.video-seo-v2-page) .site-footer,
body.visual-parity-v1:has(.video-seo-v2-page) .site-footer {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .videos-v2-grid,
  .video-seo-v2-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .videos-v2-hero__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
    gap: 38px;
  }
}

@media (max-width: 980px) {
  .videos-v2-grid,
  .video-seo-v2-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .videos-v2-hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .videos-v2-featured {
    max-width: 820px;
  }
}

@media (max-width: 680px) {
  .videos-v2-featured-card {
    grid-template-columns: 1fr;
  }

  .videos-v2-featured-card__media,
  .videos-v2-featured-card__media img,
  .videos-v2-featured-card__media .videos-v2-image-fallback {
    min-height: 0;
  }

  .videos-v2-featured-card__media img,
  .videos-v2-featured-card__media .videos-v2-image-fallback {
    aspect-ratio: 16 / 10;
  }


}

@media (max-width: 560px) {
  .videos-v2-container,
  .videos-v2-container--reading,
  .video-seo-v2-container,
  .video-seo-v2-container--text {
    width: min(100% - 24px, 1500px);
  }

  .videos-v2-hero,
  .videos-v2-list,
  .video-seo-v2-main,
  .video-seo-v2-band {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .videos-v2-grid,
  .video-seo-v2-related-grid {
    grid-template-columns: 1fr;
  }

  .videos-v2-play {
    width: 58px;
    height: 58px;
  }

  .videos-v2-modal {
    padding: 14px;
  }

  .videos-v2-modal__close {
    top: -12px;
    right: -8px;
    width: 42px;
    height: 42px;
  }

  .videos-v2-actions .button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .videos-v2-page *,
  .videos-v2-page *::before,
  .videos-v2-page *::after,
  .video-seo-v2-page *,
  .video-seo-v2-page *::before,
  .video-seo-v2-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
