/* Phase 05X.4: public CMS external link + direct YouTube/TikTok embeds.
   Scoped to the shared content-detail component. No Home/CMS/Admin styles changed. */
.qs-cms-external-media { clear: both; margin: 28px auto 32px; max-width: 1100px; }
.qs-cms-external-link { display:flex; gap:12px; align-items:center; flex-wrap:wrap; padding:14px 16px; margin:12px 0 24px; background:#f8f6ef; border:1px solid #dfd5bb; border-radius:8px; font-size:16px; }
.qs-cms-external-link span { color:#6c654e; font-weight:600; }
.qs-cms-external-link a, .qs-cms-video-source a { color:#88702e; text-decoration:underline; overflow-wrap:anywhere; }
.qs-cms-video-section { text-align:center; margin:30px 0 36px; }
.qs-cms-media-heading { font-size:clamp(22px,2vw,28px); font-weight:500; color:#a78a44; margin:0 0 16px; }
.qs-cms-youtube-frame { position:relative; width:100%; max-width:1080px; margin:0 auto; aspect-ratio:16 / 9; }
.qs-cms-tiktok-frame { position:relative; width:100%; max-width:420px; margin:0 auto; aspect-ratio:325 / 578; }
.qs-cms-youtube-frame iframe, .qs-cms-tiktok-frame iframe { display:block; position:absolute; inset:0; width:100%; height:100%; border:0; }
.qs-cms-video-source { margin:14px auto 0; font-size:15px; }
@media(max-width:480px) { .qs-cms-external-media { margin:20px auto 24px; } .qs-cms-external-link { padding:10px 12px; } }
@media print { .qs-cms-video-section { display:none; } .qs-cms-external-link { background:white; border-color:#bbb; } }
