/* =================================================
   news.css — News & Media Page Dedicated Styles
   Aberdeen Holdings
   ================================================= */

/* --- Subpage Inner Hero Banner --- */
.page-hero {
    position: relative;
    padding: 250px 0 50px;
    color: var(--white-color);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/aberdeen-holdings-img-29.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1);
    animation: heroImageZoom 18s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes heroImageZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgb(40 67 120 / 45%) 0%, rgba(1, 79, 110, 0.25) 50%, rgb(0 0 0 / 65%) 100%);
    z-index: 1;
}

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

/* Breadcrumb nav (Home | News & Media) */
.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-nav a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 60px;
    line-height: 1.1;
    color: var(--white-color);
    margin: 0;
}

/* --- Section Headings --- */
.about-heading {
    font-size: 45px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--dark-color);
    margin-bottom: 18px;
}

.about-highlight {
    color: var(--primary-color);
}

.about-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* --- Main News Section --- */
.news-main-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-box-card {
    position: relative;
    height: 440px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-box-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.news-box-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-box-card:hover .news-box-bg {
    transform: scale(1.08);
}

.news-box-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0) 0%, rgba(8, 12, 20, 0.25) 40%, rgba(1, 79, 110, 0.88) 75%, rgba(6, 10, 18, 0.98) 100%);
    transition: all 0.4s ease;
}

.news-box-card:hover .news-box-overlay {
    background: linear-gradient(180deg, rgba(1, 79, 110, 0.88) 0%, rgba(6, 10, 18, 0.94) 100%);
}

.news-box-date {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(1, 79, 110, 0.35);
}

.news-box-content {
    position: relative;
    z-index: 5;
}

.news-box-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.news-box-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.35;
    margin-bottom: 20px;
}

.news-box-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.news-box-card:hover .news-box-link {
    color: var(--secondary-color);
}

@media (max-width: 991px) {
    .page-hero {
        padding: 220px 0 40px;
    }

    .page-title {
        font-size: 38px;
    }

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

@media (max-width: 640px) {
    .news-card-grid {
        grid-template-columns: 1fr;
    }

    .news-box-card {
        height: 380px;
    }
}