/* ============================================================
   BRADLEYS MORTGAGES NEWS
   ============================================================ */

/* ------------------------------------------------------------
   NEWS LANDING HERO
   Uses the same internal-page hero rhythm and shared .hero-card.
   ------------------------------------------------------------ */

.hero-news {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 520px;
    padding: 6rem 0 5.25rem;

    background:
        linear-gradient(
            90deg,
            rgba(5,27,63,.34),
            rgba(5,27,63,.08)
        ),
        url("../images/news/news-hero.webp") center / cover no-repeat;
}

.hero-news .container {
    position: relative;
    z-index: 2;
}

.hero-news .hero-card {
    max-width: 650px;
}

.hero-news-intro {
    margin: 0 0 1.5rem;

    color: var(--muted);

    line-height: 1.65;
}

/* ------------------------------------------------------------
   NEWS LISTING
   ------------------------------------------------------------ */

.news-main {
    padding: 5rem 0;
    background: var(--section-grey);
}

.news-heading {
    max-width: 820px;
    margin-bottom: 2.25rem;
}

.news-lead {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.news-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;

    background: #fff;
    border: 1px solid rgba(5,27,63,.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    background: #fff;
    box-shadow: 0 20px 38px rgba(5,27,63,.18);
}


.news-card-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.news-card-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .3s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.025);
}

.news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 1.6rem;
}

.news-card-category {
    margin: 0 0 .65rem;

    color: var(--yellow-dark);

    font-size: .74rem;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0 0 .85rem;

    color: var(--navy);

    font-size: 1.2rem;
    font-weight: 800;

    line-height: 1.35;
}

.news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: var(--yellow-dark);
}

.news-card-body > p:not(.news-card-category) {
    color: var(--muted);

    font-size: .92rem;

    line-height: 1.65;
}

.news-card-button {
    align-self: flex-start;
    margin-top: auto;
}


/* ------------------------------------------------------------
   NEWS ARCHIVE
   ------------------------------------------------------------ */

.news-archive {
    padding: 5rem 0;
    background: #fff;
}

.news-archive-box {
    overflow: hidden;

    background: var(--soft-grey);

    border: 1px solid rgba(5,27,63,.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.news-archive-empty {
    padding: 1.4rem 1.6rem;

    color: var(--muted);
}


/* ------------------------------------------------------------
   ARTICLE HEADER
   ------------------------------------------------------------ */

.news-article-header {
    padding: 4rem 0 3rem;

    background: var(--soft-grey);
}

.news-breadcrumb {
    display: flex;
    gap: .55rem;

    margin-bottom: 1.35rem;

    color: var(--muted);

    font-size: .82rem;
    font-weight: 700;
}

.news-breadcrumb a {
    color: var(--navy);
    text-decoration: none;
}

.news-breadcrumb a:hover {
    text-decoration: underline;
}

.news-article-title {
    max-width: 1050px;
}


.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;

    margin: 0 0 1rem;

    color: var(--muted);

    font-size: .84rem;
    font-weight: 600;
}

.news-article-title h1 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(2.2rem, 4.8vw, 4rem);
    font-weight: 800;

    line-height: 1.08;
    letter-spacing: -.04em;
}


/* ------------------------------------------------------------
   ARTICLE CONTENT
   ------------------------------------------------------------ */

.news-article {
    padding: 0 0 5rem;

    background: #fff;
}

.news-article-image {
    overflow: hidden;

    margin: 0 0 3.25rem;

    border-radius: 0 0 22px 22px;

    box-shadow: var(--shadow);
}

.news-article-image img {
    display: block;

    width: 100%;
    max-height: 560px;

    object-fit: cover;
}

.news-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 840px)
        minmax(270px, 330px);

    justify-content: center;
    align-items: start;

    gap: 3.25rem;
}

.news-article-content {
    color: #37445a;

    font-size: 1.0625rem;

    line-height: 1.78;
}

.news-article-content > p {
    margin: 0 0 1.55rem;
}

.news-quote {
    margin: 2rem 0;
    padding: 1.25rem 1.4rem 1.25rem 1.6rem;

    border-left: 4px solid var(--yellow);
    border-radius: 0 12px 12px 0;

    background: #f7f8fa;
    color: var(--navy);

    font-size: 1.06rem;
    font-weight: 600;

    line-height: 1.75;
}

.news-quote p {
    margin: 0;
}

.news-warning {
    margin: 2rem 0 1.3rem;
    padding: 1.1rem 1.25rem;

    color: var(--navy);
    background: var(--soft-grey);

    border-left: 5px solid var(--yellow);
    border-radius: var(--radius-sm);
}

.news-warning p {
    margin: 0;
}

.news-company-note {
    color: var(--muted);

    font-size: .92rem;

    line-height: 1.7;
}

.news-company-note p {
    margin-bottom: 1rem;
}


/* ------------------------------------------------------------
   ARTICLE SIDEBAR
   ------------------------------------------------------------ */

.news-sidebar {
    position: sticky;
    top: 100px;

    display: grid;
    gap: 1rem;
}

.news-sidebar-card {
    padding: 1.6rem;

    background: var(--soft-grey);

    border: 1px solid rgba(5,27,63,.07);
    border-radius: var(--radius-lg);
}

.news-sidebar-card h2 {
    color: var(--navy);

    font-size: 1.35rem;
    font-weight: 800;

    line-height: 1.3;
}

.news-sidebar-card p:not(.eyebrow) {
    color: var(--muted);

    line-height: 1.65;
}

.news-sidebar-link {
    padding: 1rem 1.2rem;

    background: #fff;

    border: 1px solid rgba(5,27,63,.08);
    border-radius: var(--radius-md);
}

.news-sidebar-link a {
    color: var(--navy);

    font-weight: 800;

    text-decoration: none;
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 991.98px) {

    .hero-news {
        min-height: 480px;
        padding: 4rem 0;
    }

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

    .news-article-layout {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .news-sidebar {
        position: static;
    }

}


@media (max-width: 767.98px) {

    .hero-news {
        min-height: 440px;
        padding: 3.5rem 0;
        background-position: 58% center;
    }

    .news-main,
    .news-archive {
        padding: 3.5rem 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-article-header {
        padding: 3rem 0 2rem;
    }

    .news-article-image {
        margin-bottom: 2rem;

        border-radius: 0 0 16px 16px;
    }

    .news-article-content {
        font-size: 1rem;

        line-height: 1.72;
    }

}

/* ------------------------------------------------------------
   EYEBROW TEXT CONTRAST
   Keep the brighter brand yellow for accents; use a darker
   brand-related tone where yellow is used as small text.
   ------------------------------------------------------------ */

.news-main .eyebrow,
.news-archive .eyebrow,
.news-article-header .eyebrow,
.news-sidebar .eyebrow {
    color: var(--yellow-dark);
}
