/* Site-wide additions to the theme CSS (ported from the Nuxt components' <style> blocks). */

button.mobile-nav-toggler,
.mobile-menu button.close-btn {
    background: none;
    border: 0;
    padding: 0;
}

.news-block figure.image {
    min-height: 230px;
    background: #cacaca;
}

.news-block figure.image img {
    object-fit: cover;
    max-height: 230px;
}

.facts-section + .facts-section {
    background: #36201e;
}

/* Shared YouTube modal (partials/_video_modal) */
.video-modal {
    margin: auto; /* the theme's * { margin: 0 } reset pins <dialog> top-left */
    width: min(75vw, 1100px);
    max-width: calc(100vw - 32px);
    padding: 0;
    border: 0;
    background: #000;
    overflow: visible;
}

.video-modal::backdrop {
    background: rgba(0, 0, 0, 0.85);
}

.video-modal iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

/* Text block (components/_text) */
.text-block .content p:first-of-type {
    font-size: 17px;
}

/* Info Cards block (components/_info_cards): Bard text styled like the theme's card lists */
.info-box .card-text {
    position: relative;
    color: #fff;
    line-height: 24px;
}

.info-cards-3 .info-box .card-text {
    max-width: 250px;
    margin: 0 auto;
}

.info-box .card-text p {
    margin: 0 0 0.25rem;
    color: #fff;
}

.info-box .card-text h6 {
    margin: 1rem 0 0.25rem;
    color: #fff;
}

.info-box .card-text a {
    color: #fff;
}

.info-cards-2 .info-box .card-text a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.info-box .card-text small {
    display: block;
    font-size: 0.8rem;
}
