/* ===== Newsroom Content Styles =====
   Layout chrome (top bar, header, nav, footer) is handled by the
   HubSpot CSS files loaded in layout.blade.php.
   This file covers only newsroom-specific content sections.
===== */

/* ===== Page Container ===== */
/* theme-overrides.min.css already sets padding-left/right: 5.729vw on .page-center.
   Here we add the max-width + centering for listing sections.
   The hero overrides these back to none/0 via the two-cols-rev-mod scope below. */
.page-center {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 5.729vw;
    padding-right: 5.729vw;
}

/* Hero: remove max-width constraint and centering so text sits at the same
   left offset as financial-statements (pure 5.729vw padding from theme-overrides) */
.two-cols-rev-mod .page-center {
    max-width: none;
    margin: 0;
}

/* ===== "Stay Updated" Subtitle Banner ===== */
/* theme-overrides sets .full-width-cta-wrapper background to a gradient; override to #b7cbe0.
   module_Full_Width_CTA.min.css handles h4 font sizes and responsive padding. */
.newsroom-subtitle-banner {
    background: #b7cbe0 !important;
    justify-content: center !important;
    padding: 176px 0 !important;
}

@media screen and (max-width: 1280px) {
    .newsroom-subtitle-banner {
        padding: 100px 0 !important;
    }
}

@media (max-width: 767px) {
    .newsroom-subtitle-banner {
        padding: 85px 0 !important;
    }
}

/* ===== Newsroom Hero Banner ===== */
.newsroom-hero {
    background: linear-gradient(135deg, #011a3b 0%, #012a5c 100%);
    padding: 80px 0 60px;
}

.newsroom-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsroom-label {
    color: #28ffa9;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.newsroom-hero-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

@media (max-width: 768px) {
    .newsroom-hero {
        padding: 50px 0 40px;
    }
    .newsroom-hero-title {
        font-size: 32px;
    }
}

/* ===== Article Card Listing =====
   Card layout and colours come from module_blog-listings.min.css.
   module_blog-listings sets .blog-index__post { display:none } for its
   load-more JS logic; override that so all server-rendered posts are visible. */
.blog-index__post {
    display: block !important;
}

.no-articles {
    color: #5a7a9a;
    font-size: 16px;
    padding: 40px 0;
}

/* ===== Pagination ===== */
.newsroom-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #d0dce8;
    border-radius: 4px;
    color: #011a3b;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.pagination__link:hover {
    background: #f0f4ff;
    color: #145aff;
    border-color: #145aff;
}

.pagination__item--active .pagination__link {
    background: #145aff;
    color: #fff;
    border-color: #145aff;
}

.pagination__item--disabled .pagination__link {
    color: #adb5bd;
    cursor: not-allowed;
}

/* ===== Blog Post Banner (article header) ===== */
.blogpost-banner {
    background: linear-gradient(135deg, #011a3b 0%, #012a5c 100%);
    padding: 60px 0 50px;
}

.blogpost-banner-container {
    max-width: 900px;
}

.blog-post-header-inner {
    color: #fff;
}

.blog-post__tag-link {
    display: inline-block;
    background: linear-gradient(86deg, #28ffa9, #145aff);
    color: #011a3b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.blog-post-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 12px 0 16px;
}

.blog-post__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-post__timestamp {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-style: normal;
}

@media (max-width: 768px) {
    .blog-post-title {
        font-size: 26px;
    }
}

/* ===== Article Body ===== */
.content-wrapper-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 5.729vw 40px;
}

.blog-post__body {
    color: #011a3b;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.blog-post__body p {
    margin-bottom: 1.3rem;
    font-size: 17px;
    font-weight: 300;
}

.blog-post__body h1,
.blog-post__body h2,
.blog-post__body h3,
.blog-post__body h4,
.blog-post__body h5,
.blog-post__body h6 {
    font-family: SofiaPro, serif;
    color: #011a3b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post__body ul,
.blog-post__body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.3rem;
}

.blog-post__body li {
    margin-bottom: 0.5rem;
    font-size: 17px;
    font-weight: 300;
}

.blog-post__body a {
    color: #145aff;
    text-decoration: underline;
}

.blog-post__body a:hover {
    color: #0032d7;
}

.blog-post__body blockquote {
    border-left: 3px solid #28ffa9;
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    color: #5a7a9a;
    font-style: italic;
}

.blog-post__body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 15px;
}

.blog-post__body th,
.blog-post__body td {
    border: 1px solid #d0dce8;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    color: #011a3b;
}

.blog-post__body thead th {
    background: #145aff;
    color: #fff;
    font-weight: 700;
}

.blog-post__body #contactInfo {
    background: #f5f8fb;
    border-left: 3px solid #28ffa9;
    padding: 20px 24px;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
}

/* ===== Back to Newsroom ===== */
.back-to-newsroom {
    padding: 0 5.729vw 60px;
    max-width: 860px;
    margin: 0 auto;
}

.back-to-newsroom .arrow-link {
    display: inline-flex;
    align-items: center;
    color: #145aff;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}

.back-to-newsroom .arrow-link:hover {
    color: #0032d7;
}
