/* ============================================
   NEWS & INSIGHTS PAGE STYLES
   ============================================ */

/* News Hero Section */
.news-pg-hero-section {
    position: relative;
    height: 450px;
    width: 100%;
    overflow: hidden;
}

.news-pg-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    margin-top: 40px;
}

.news-pg-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4.25rem);
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-pg-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 300;
    color: var(--text-white);
    max-width: 600px;
    opacity: 0.9;
}

/* Grey Line */
.news-pg-grey-line {
    background-color: #231F20;
    height: 50px;
}

/* Thin blue accent line — sits directly under each slim subheading band */
.news-pg-blue-line {
    background-color: var(--main-color);
    height: 4px;
    width: 100%;
}

/* Featured Articles content — gradient background to match the Newsletters
   section below it (without changing the homepage's solid-dark .news-section) */
.news-pg-featured,
.news-pg-featured .news-content {
    background: linear-gradient(to top, var(--dark-bg), #5a5a5a);
}

/* ============================================
   NEWS ARTICLES SECTION
   ============================================ */
.news-pg-articles-section {
    background-color: var(--light-gray);
}

.news-pg-articles-header {
    position: relative;
    height: 108px;
    overflow: hidden;
}

.news-pg-articles-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-pg-articles-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 31, 32, 0.85);
}

.news-pg-articles-header .container-fluid {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.news-pg-articles-title {
    color: var(--text-white);
    padding-left: 3.8125rem;
    margin: 0;
}

.news-pg-articles-content {
    padding: 4rem 0 5rem;
    background: linear-gradient(to top, var(--dark-bg), #5a5a5a);
}

/* News Card Grid */
.news-pg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Individual News Card */
.news-pg-card {
    background: var(--text-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-pg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.news-pg-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-pg-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.news-pg-card:hover .news-pg-card-photo {
    transform: scale(1.05);
}

.news-pg-card-photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.news-pg-card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.news-pg-card-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--main-color);
    padding: 0.3rem 0.75rem;
}

/* Card Body */
.news-pg-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-pg-card-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-black);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.news-pg-card-excerpt {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.news-pg-card-link {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-pg-card:hover .news-pg-card-link {
    gap: 0.75rem;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.news-pg-newsletter-section {
    position: relative;
    overflow: hidden;
}

.news-pg-newsletter-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-pg-newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 31, 32, 0.9);
}

.news-pg-newsletter-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.news-pg-newsletter-layout {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.news-pg-newsletter-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--main-color);
    padding: 0.4rem 1.25rem;
    margin-bottom: 2rem;
}

.news-pg-newsletter-icon {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.news-pg-newsletter-heading {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.news-pg-newsletter-divider {
    width: 80px;
    height: 3px;
    background-color: var(--main-color);
    margin: 0 auto 2rem;
}

.news-pg-newsletter-text {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Newsletter Preview (disabled state) */
.news-pg-newsletter-placeholder {
    max-width: 480px;
    margin: 0 auto;
}

.news-pg-newsletter-input-preview {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    opacity: 0.4;
    pointer-events: none;
}

.news-pg-newsletter-input-preview span:first-child {
    flex: 1;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    text-align: left;
}

.news-pg-newsletter-btn-preview {
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-white);
    background: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.news-pg-newsletter-note {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    font-style: italic;
}

/* Decorative Lines */
.news-pg-newsletter-line-left {
    position: absolute;
    top: 60px;
    left: 100px;
    width: 2px;
    height: calc(100% - 120px);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.news-pg-newsletter-line-right {
    position: absolute;
    top: 60px;
    right: 100px;
    width: 2px;
    height: calc(100% - 120px);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* ============================================
   RESPONSIVE - NEWS PAGE
   ============================================ */
@media (max-width: 991px) {
    .news-pg-hero-section {
        height: 380px;
    }

    .news-pg-articles-title {
        font-size: 3rem;
        padding-left: 2rem;
    }

    .news-pg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-pg-newsletter-content {
        padding: 70px 2rem;
    }

    .news-pg-newsletter-heading {
        font-size: 2.25rem;
    }

    .news-pg-newsletter-line-left,
    .news-pg-newsletter-line-right {
        display: none;
    }
}

@media (max-width: 767px) {
    .news-pg-hero-section {
        height: 350px;
    }

    .news-pg-hero-title {
        font-size: 2.25rem;
    }

    .news-pg-articles-title {
        font-size: 2.25rem;
        padding-left: 1rem;
    }

    .news-pg-articles-content {
        padding: 2.5rem 1rem 3rem;
    }

    .news-pg-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .news-pg-card-image {
        height: 200px;
    }

    .news-pg-newsletter-content {
        padding: 50px 1.5rem;
    }

    .news-pg-newsletter-heading {
        font-size: 2rem;
    }

    .news-pg-newsletter-text {
        font-size: 1.0625rem;
    }

    .news-pg-newsletter-input-preview {
        flex-direction: column;
    }

    .news-pg-newsletter-btn-preview {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .news-pg-hero-section {
        height: auto;
        min-height: 250px;
        padding: 150px 0 40px 0;
    }

    .news-pg-hero-content {
        margin-top: 0;
        padding: 0 2rem;
    }

    .news-pg-hero-title {
        margin-top: 0;
    }

    .news-pg-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .news-pg-card-title {
        font-size: 1.1875rem;
    }

    .news-pg-newsletter-heading {
        font-size: 1.625rem;
    }
}
