#news-button {
    color: #fff;
}

#home-button {
    color: #B8B8B8;
}

.news-cards {
    margin: 20px 0;
}

.news-cards .featured .image {
    margin: 20px 80px;
}

.featured .image {
    background-color: #ececec;
    box-shadow: 10px 10px 20px rgb(193, 193, 193);
    padding: 0 0 10px 0;
}

.article-image {
    display: block;
    width: auto;
    height: auto;
    min-width: 320px;
    /* min-height: 220px; */
    max-width: 100%;
    border-radius: 10px;
}

.article-image.is-landscape {
    width: 40%;
}

.article-image.is-portrait {
    min-width: 220px;
    min-height: 320px;
    max-width: 320px;
}

.article-image.embedded {
    float: right;
    margin: 0 0 18px 28px;
}

.article-figure {
    margin: 0;
}

.article-figure.embedded {
    float: right;
    width: min(42%, 520px);
    margin: 0 0 8px 28px;
}

.article-figure.embedded .article-image {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.article-caption {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgb(108, 108, 108);
    font-style: italic;
    text-align: left;
}

.featured .image .text h1,
.featured .image .text p,
.featured .image .text .summary,
.featured .image .text .article-body {
    color: rgb(68, 68, 68);
}

.featured .image .text .summary,
.featured .image .text .article-body {
    font-size: 18px;
}

.featured .image .text .article-body h2,
.featured .image .text .article-body h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 30px 0 15px 0;
    color: rgb(68, 68, 68);
}

.featured .image .text .article-body p {
    margin: 0 0 15px 0;
}

.featured .image .text .article-body em,
.featured .image .text .article-body i {
    margin-bottom: 15px;
    display: block;
}

.article-body-collapsible {
    --collapsed-height: 500px;
}

.article-body-collapsible-content {
    max-height: none;
    overflow: visible;
}

.article-body-collapsible.is-collapsed .article-body-collapsible-content {
    max-height: var(--collapsed-height);
    overflow: hidden;
    position: relative;
}

.article-body-collapsible.is-collapsed .article-body-collapsible-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(236, 236, 236, 0), rgba(236, 236, 236, 1) 80%);
}

.article-toggle {
    display: none;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    color: #0a66c2;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.article-body-collapsible.is-ready .article-toggle {
    display: inline-block;
}

.article-toggle:hover,
.article-toggle:focus-visible {
    text-decoration: underline;
}

.featured .image {
    height: auto;
    min-height: 350px;
}

.featured .image .text {
    position: static;
    width: auto;
    padding: 50px;
    text-align: justify;
}

.featured .image .text h1 {
    margin: 0 0 20px 0;
    text-align: left;
}

.featured .image .text p {
    margin: 0;
    line-height: 1.6;
    text-align: justify;
    white-space: pre-line;
}

.featured .image .text p.article-date {
    /* margin: -8px 0 20px 0; */
    font-size: 0.85rem;
    color: rgb(137, 137, 137);
    text-align: left;
    font-weight: 1000;
}

.article-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    text-decoration: none;
    color: rgb(68, 68, 68);
    font-size: 0.85rem;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.article-source:hover {
    opacity: 1;
    text-decoration: underline;
}

.source-logo {
    width: 15px;
    height: 15px;
    border-radius: 2px;
}

.featured .image .text ul,
.featured .image .text ol {
    margin: 0 0 15px 0;
    padding-left: 20px;
    line-height: 1.2;
}


@media screen and (max-width: 900px) {

    .product h1 {
        font-size: 1rem;
        margin: 0 20px;
    }

    .product img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .news-cards {
        margin: 20px 0;
    }

    .news-cards .featured .image {
        margin: 20px;
        width: auto;
        max-width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .featured .image {
        min-height: auto;
    }

    .article-image {
        float: none;
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: 0;
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    .article-figure.embedded {
        float: none;
        width: 100%;
        margin: 0 0 10px 0;
    }

    .article-caption {
        font-size: 0.8rem;
    }

    .article-image.is-portrait,
    .article-image.is-landscape {
        width: 100%;
    }

    .featured .image .text {
        margin-top: 0;
        padding: 30px;
    }

    .featured .image .text h1 {
        font-size: 28px;
    }

    .article-body-collapsible {
        --collapsed-height: 220px;
    }

    .article-toggle {
        font-size: 15px;
    }
}
