/* =========================================
   News & media engagements
   ========================================= */

.media-item {
    border: 1px solid var(--color-border, #ddd);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
}

.media-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.media-item p {
    margin: 0 0 0.8rem 0;
}

/* Generic embed wrapper (used for fixed-height embeds like Acast audio) */
.media-embed iframe {
    width: 100%;
    border: 0;
    display: block;
}

/* Spotify embeds already come with their own fixed height (352px) */
.media-embed-spotify iframe {
    border-radius: 12px;
}

/* Instagram embeds size themselves via Instagram's own embed.js script;
   this just keeps them centered and capped at a reasonable width */
.media-embed-instagram {
    display: flex;
    justify-content: center;
}

.media-link {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #333;
}

.media-link:hover {
    background: #333;
    color: #fff;
}