/* Announcement banners (announcements.php). Override the custom properties in the theme if needed. */

.yvatech-announcement {
    background: var(--yvatech-announcement-colour);
    color: var(--yvatech-announcement-text, #ffffff);
    font-weight: 700;
}

.yvatech-announcement__inner {
    max-width: var(--yvatech-announcement-max-width, 1200px);
    margin: 0 auto;
    padding: 0.75rem var(--yvatech-announcement-gutter, 1.5rem);
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

/* Themes often style p / li directly (colour, weight, size): make the text follow the banner instead. */
.yvatech-announcement__inner * {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

.yvatech-announcement__inner strong,
.yvatech-announcement__inner b {
    font-weight: 800;
}

.yvatech-announcement__inner > * + * {
    margin-top: 0.5em;
}

.yvatech-announcement a {
    color: inherit;
    text-decoration: underline;
}
