.youtube-section { padding: 48px 20px; background: #eaf4fa; text-align: center; }
.youtube-section h2 { margin: 0 0 24px; }
.youtube-consent { position: relative; width: 100%; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; background: #183449; border-radius: 8px; }
.youtube-consent__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.youtube-consent__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: rgba(8, 24, 38, .79); color: #fff; }
.youtube-consent__overlay p { max-width: 680px; margin: 0; font-size: 16px; line-height: 1.5; color: #fff; }
.youtube-consent__overlay a { color: #fff; text-decoration: underline; font-size: 15px; }
.youtube-consent iframe { display: block; width: 100%; height: 100%; border: 0; }
.youtube-consent button, .youtube-settings button { border: 2px solid #15384e; border-radius: 6px; padding: 12px 20px; background: #ffdf00; color: #122c3d; font: inherit; font-weight: 700; cursor: pointer; }
.youtube-consent button:focus-visible, .youtube-settings button:focus-visible, .youtube-settings-link button:focus-visible { outline: 3px solid #428aff; outline-offset: 4px; }
.youtube-settings { box-sizing: border-box; width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 28px; border: 0; border-radius: 10px; background: #fff; color: #15384e; text-align: left; overflow: auto; }
.youtube-settings::backdrop { background: rgba(0, 0, 0, .6); }
.youtube-settings h2 { margin: 0 0 16px; font-size: 26px; line-height: 1.2; color: #15384e; }
.youtube-settings p { margin: 12px 0; font-size: 16px; line-height: 1.6; color: #15384e; }
.youtube-settings a { color: #15527b; text-decoration: underline; }
.youtube-settings__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.youtube-settings button[hidden] { display: none; }
.youtube-settings-link { padding: 16px 20px; text-align: center; background: #15384e; }
.youtube-settings-link button { padding: 8px; border: 0; background: transparent; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) {
  .youtube-section { padding: 32px 16px; }
  .youtube-consent { min-height: 380px; }
  .youtube-consent:has(iframe) { min-height: 0; }
  .youtube-consent__overlay { padding: 20px 16px; gap: 14px; }
  .youtube-consent__overlay p { font-size: 15px; }
  .youtube-settings { padding: 24px 20px; }
}
