/* News and Insights landing page (common tenant) */

body {
    background-image: unset;
    background-color: white;
}

.ct-text-azure {
    color: #007EC3;
}

.news-hero {
    padding: 3rem 0;
    background-color: #cceefb;
}

.news-hero:has(.news-article-hero-layout) {
    padding: 0;
}

.news-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.news-hero-intro {
    max-width: 760px;
    margin-bottom: 0;
}

.news-hero-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.news-hero-action-btn {
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.news-hero-add-btn {
    background-color: #007EC3;
    border-color: #007EC3;
    color: #fff;
    box-shadow: 0 4px 10px rgb(0 126 195 / 25%);
}

.news-hero-add-btn:hover,
.news-hero-add-btn:focus {
    background-color: #005f92;
    border-color: #005f92;
    color: #fff;
    box-shadow: 0 6px 14px rgb(0 126 195 / 35%);
}

.news-hero-manage-tags-btn {
    background-color: #fff;
    border: 2px solid #007EC3;
    color: #007EC3;
}

.news-hero-manage-tags-btn:hover,
.news-hero-manage-tags-btn:focus {
    background-color: #007EC3;
    border-color: #007EC3;
    color: #fff;
    box-shadow: 0 6px 14px rgb(0 126 195 / 35%);
}

@media (max-width: 767.98px) {
    .news-hero .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-hero-actions {
        width: 100%;
    }
    .news-hero-action-btn {
        width: 100%;
        text-align: center;
    }
}

.news-section-tabs {
    background-color: #fff;
    padding: 1.5rem 0;
}

.news-section-tabs .btn {
    min-width: 180px;
}

.news-section {
    padding: 2.5rem 0;
}

.news-section-title {
    margin-bottom: 1.5rem;
}


/* News article detail page */

.news-article-return a {
    color: #005f92;
}

.news-article-return a:hover,
.news-article-return a:focus {
    color: #004a72;
}

.news-article-hero-layout {
    min-height: 380px;
}

.news-article-hero-copy-wrapper {
    padding: 6rem 2rem 6rem 60px;
    min-width: 0;
}

.news-article-hero-copy {
    max-width: 720px;
}

.news-article-badge {
    background-color: #007EC3;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.news-article-badge-premium {
    background-color: var(--premium-pink);
}

.news-article-badge-archived {
    background-color: #6c757d;
}

.news-article-badge-scheduled {
    background-color: #17a2b8;
}

.news-article-meta {
    color: #4a5868;
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

.news-article-container {
    padding-left: 60px;
    padding-right: 40px;
}

.news-article-sidebar {
    padding-left: 40px;
}

@media (min-width: 992px) {
    .news-article-container {
        padding-left: 80px;
        padding-right: 40px;
    }
    .news-article-hero-copy-wrapper {
        padding-left: 80px;
    }
    .news-article-sidebar {
        padding-left: 60px;
    }
}

@media (min-width: 1200px) {
    .news-article-container {
        padding-left: 150px;
        padding-right: 60px;
    }
    .news-article-hero-copy-wrapper {
        padding-left: 150px;
    }
    .news-article-sidebar {
        padding-left: 80px;
    }
    .news-hero h1 {
        font-size: 2.75rem;
    }
}

.news-article-hero-image {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.news-article-hero-image img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
}

@media (max-width: 767.98px) {
    .news-article-hero-copy-wrapper {
        padding: 2.5rem 60px 2rem;
    }
    .news-article-hero-image {
        width: 100%;
        position: relative;
        min-height: 250px;
    }
}

.news-article-body .contents {
    font-size: 1.05rem;
    line-height: 1.7;
    min-height: 420px;
}

.news-article-related-title {
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.news-article-related-list .news-card-compact {
    height: 140px;
    min-height: 140px;
}

.news-article-related-list .news-card-compact > .row {
    flex: 1;
}

.news-article-related-list .news-card-compact .card-body {
    overflow: hidden;
}

.news-article-related-list .news-card-compact .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
