/* Zweck: Wiederverwendbare YouTube-Kanalkarte mit Home- und kompakter Unterseitenvariante | Schicht: Komponente */
.youtube-channel-card{max-width:100%;overflow:hidden;border:1px solid var(--amg-line);border-radius:16px;background:var(--amg-paper)}
.youtube-channel-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:7px 14px;background:var(--amg-paper)}
.youtube-channel-card__prompt{color:var(--amg-ink);font-size:.76rem;font-weight:850;line-height:1.25}
.youtube-channel-card__subscribe{padding:5px 10px;border-radius:999px;background:#c70000;color:#fff!important;text-decoration:none}
.youtube-channel-card__stage{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0e3737}
.youtube-channel-card__stage>.youtube-channel-card__thumbnail{display:block;width:100%;height:100%;object-fit:cover}
.youtube-channel-card__stage::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,25,26,.04),rgba(7,25,26,.22));pointer-events:none}
.youtube-channel-card__play{position:absolute;top:50%;left:50%;z-index:3;display:grid;place-items:center;width:58px;height:58px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(0,0,0,.2);color:#c70000;font-size:1.25rem;transform:translate(-50%,-50%);cursor:pointer}
.youtube-channel-card__play:hover,.youtube-channel-card__play:focus-visible{outline:4px solid rgba(255,255,255,.56);transform:translate(-50%,-50%) scale(1.06)}
.youtube-channel-card__stage iframe{display:block;width:100%;height:100%;border:0}
.youtube-channel-card__copy{padding:12px 16px}
.youtube-channel-card__copy h2{margin:0;color:var(--amg-ink);font-size:.98rem;line-height:1.32}

.youtube-channel-card--home{position:relative;z-index:2;width:300px;box-shadow:0 22px 45px rgba(14,65,66,.15)}
.youtube-channel-card--compact{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:none}

html[data-theme="dark"] .youtube-channel-card{background:var(--amg-paper)}

@media(min-width:1441px){
  .youtube-channel-card--home{width:360px}
}
@media(max-width:720px){
  .youtube-channel-card--home{width:min(300px,100%)}
  .youtube-channel-card__head{align-items:flex-start}
}
