/* Click-to-load placeholders for Google Maps and YouTube (see consent.js). */
.ms-embed {
    position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
    min-height: 320px; height: 100%; border-radius: 14px; text-align: center;
    background: linear-gradient(135deg, #EEF1F8, #E2E7F4) center / cover no-repeat;
    font-family: "Inter", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.ms-embed *, .ms-embed *::before, .ms-embed *::after { box-sizing: border-box; }
.ms-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ms-embed.is-loaded { background: #000; }
.ms-embed-map.is-loaded { background: #EEF1F8; }

.ms-embed-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 440px; padding: 24px; }
.ms-embed-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #FD7E14; box-shadow: 0 8px 20px rgba(10, 27, 101, .10); }
.ms-embed-icon svg { width: 26px; height: 26px; }
.ms-embed .ms-embed-title { margin: 0; color: #0A1B65; font-size: 17px; font-weight: 700; line-height: 1.3; }
.ms-embed .ms-embed-text { margin: 0; color: #3B4256; font-size: 13.5px; line-height: 1.5; }
.ms-embed .ms-embed-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.ms-embed .ms-embed-btn,
.ms-embed .ms-embed-btn:hover,
.ms-embed .ms-embed-btn:focus {
    appearance: none; display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 12px 22px;
    border: 0; border-radius: 999px; background: linear-gradient(90deg, #FD7E14, #FF5A36); color: #fff;
    font: 600 15px/1.2 "Inter", system-ui, sans-serif; text-transform: none; letter-spacing: normal; cursor: pointer;
    box-shadow: 0 8px 20px rgba(253, 126, 20, .28);
}
.ms-embed .ms-embed-btn:hover { transform: translateY(-1px); }
.ms-embed .ms-embed-btn:focus-visible { outline: 2px solid #0A1B65; outline-offset: 3px; }

/* Video variant: thumbnail with dark overlay and a round play button */
.ms-embed-video { aspect-ratio: 16 / 9; min-height: 0; height: auto; background-color: #071450; }
.ms-embed-video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 80, .10), rgba(7, 20, 80, .70)); }
.ms-embed-video .ms-embed-inner { margin-top: auto; padding-bottom: 22px; }
.ms-embed-video .ms-embed-title { color: #fff; font-size: 18px; }
.ms-embed-video .ms-embed-text { color: rgba(255, 255, 255, .85); }
.ms-embed .ms-play,
.ms-embed .ms-play:hover,
.ms-embed .ms-play:focus {
    position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -60%);
    width: 78px; height: 78px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: #FD7E14; color: #fff; box-shadow: 0 0 0 10px rgba(253, 126, 20, .25), 0 14px 30px rgba(0, 0, 0, .3);
}
.ms-embed .ms-play:hover { background: #FF5A36; }
.ms-play svg { width: 30px; height: 30px; margin-left: 4px; }

/* Playlist */
.ms-playlist { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ms-playlist-list { list-style: none; margin: 0; padding: 0 4px 0 0; display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; }
.ms-playlist .ms-playlist-list button,
.ms-playlist .ms-playlist-list button:hover,
.ms-playlist .ms-playlist-list button:focus {
    appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 8px; text-align: left;
    border: 1px solid #E8EBF4; border-radius: 12px; background: #fff; color: #0A1B65; cursor: pointer;
    font: 500 14px/1.35 "Inter", system-ui, sans-serif; text-transform: none; letter-spacing: normal; box-shadow: none;
}
.ms-playlist .ms-playlist-list button:hover { border-color: #FD7E14; }
.ms-playlist .ms-playlist-list button.is-active { border-color: #FD7E14; background: #FFF6EE; }
.ms-playlist-list img { flex: none; width: 112px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 7px; display: block; }
.ms-playlist-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ms-playlist-meta small { color: #6B7290; font-size: 12.5px; }

@media (max-width: 900px) {
    .ms-playlist { grid-template-columns: 1fr; }
    .ms-playlist-list { max-height: none; }
    .ms-embed-video .ms-embed-text { display: none; }
}
