/* ================================
   LATEST PAGE STYLES
   ================================ */

/* HERO */
.latest-hero {
    position: relative;
    min-height: 430px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.latest-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(11,46,79,0.85) 0%, rgba(11,46,79,0.75) 100%);
    z-index: 1;
}

.latest-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto auto 60px 60px;
    color: #fff;
    padding: 0 20px;
}

.latest-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
}

.latest-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.92;
    max-width: 620px;
}

/* Breadcrumb */
.latest-hero .breadcrumb {
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.latest-hero .breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.latest-hero .breadcrumb a:hover {
    color: #fff;
}

.breadcrumb-sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

/* NAV-ACTIVE */
.nav-active {
    color: var(--dark-blue, #0b2e4f) !important;
    font-weight: 700;
}

/* ================================
   IN-PAGE STICKY NAVIGATION
   ================================ */
.latest-page-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-bottom: 2px solid var(--dark-blue, #0b2e4f);
}

.latest-nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.latest-nav-links li a {
    display: block;
    padding: 16px 28px;
    color: var(--dark-gray, #333);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.25s;
}

.latest-nav-links li a:hover,
.latest-nav-links li a.active {
    color: var(--dark-blue, #0b2e4f);
    border-bottom-color: var(--dark-blue, #0b2e4f);
    background: rgba(11,46,79,0.04);
}

/* ================================
   SECTION COMMON
   ================================ */
.latest-section {
    padding: 80px 0;
}

.latest-section-alt {
    background-color: var(--light-gray, #f5f5f5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.latest-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.latest-section-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-blue, #0b2e4f), #1a4a7a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #fff;
    font-size: 1.5rem;
}

.latest-section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-blue, #0b2e4f);
    margin-bottom: 10px;
}

.latest-section-header p {
    color: var(--medium-gray, #666);
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================
   NEWS / STORIES — CARD GRID
   ================================ */
.latest-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.latest-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.latest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

.latest-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.latest-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.latest-card:hover .latest-card-image img {
    transform: scale(1.06);
}

.latest-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--dark-blue, #0b2e4f);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.latest-card-badge-story {
    background: var(--dark-blue, #0b2e4f);
}

.latest-card-body {
    padding: 22px 24px 26px;
}

.latest-card-date {
    display: block;
    font-size: 0.82rem;
    color: var(--medium-gray, #666);
    margin-bottom: 10px;
}

.latest-card-date i {
    margin-right: 5px;
}

.latest-card-body h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark-gray, #333);
    margin-bottom: 10px;
    line-height: 1.4;
}

.latest-card-body p {
    font-size: 0.93rem;
    color: var(--medium-gray, #666);
    line-height: 1.65;
    margin-bottom: 14px;
}

.latest-card-link {
    color: var(--dark-blue, #0b2e4f);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s;
}

.latest-card-link:hover {
    color: var(--dark-blue, #0b2e4f);
}

/* ================================
   PRESS RELEASES — LIST STYLE
   ================================ */
.latest-list {
    max-width: 900px;
    margin: 0 auto;
}

.latest-list-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #e0e0e0;
}

.latest-list-item:last-child {
    border-bottom: none;
}

.latest-list-date {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--dark-blue, #0b2e4f);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.latest-list-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.latest-list-month {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.latest-list-content h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.latest-list-content h3 a {
    color: var(--dark-gray, #333);
    text-decoration: none;
    transition: color 0.2s;
}

.latest-list-content h3 a:hover {
    color: var(--dark-blue, #0b2e4f);
}

.latest-list-content p {
    color: var(--medium-gray, #666);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ================================
   EVENTS — EVENT CARDS
   ================================ */
.latest-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.latest-event-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.latest-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

.latest-event-date-badge {
    width: 64px;
    height: 72px;
    background: linear-gradient(135deg, var(--dark-blue, #0b2e4f), #1a4a7a);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.latest-event-month {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.latest-event-day {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.latest-event-body h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark-gray, #333);
    margin-bottom: 10px;
}

.latest-event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.latest-event-meta span {
    font-size: 0.85rem;
    color: var(--medium-gray, #666);
}

.latest-event-meta span i {
    color: var(--dark-blue, #0b2e4f);
    margin-right: 6px;
    width: 14px;
}

.latest-event-body p {
    font-size: 0.93rem;
    color: var(--medium-gray, #666);
    line-height: 1.65;
    margin-bottom: 14px;
}

.latest-event-link {
    color: var(--dark-blue, #0b2e4f);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s;
    margin-top: auto;
}

.latest-event-link:hover {
    color: var(--dark-blue, #0b2e4f);
}

/* ================================
   REPORTS — REPORT CARDS
   ================================ */
.latest-reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.latest-report-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.latest-report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

.latest-report-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(11,46,79,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--dark-blue, #0b2e4f);
    font-size: 1.8rem;
}

.latest-report-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray, #333);
    margin-bottom: 10px;
}

.latest-report-body p {
    font-size: 0.93rem;
    color: var(--medium-gray, #666);
    line-height: 1.65;
    margin-bottom: 16px;
}

.latest-report-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-blue, #0b2e4f);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.latest-report-link:hover {
    background: var(--dark-blue, #0b2e4f);
}

/* ================================
   NEWS — HOMEPAGE-STYLE LAYOUT
   ================================ */
.latest-news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--dark-blue, #0b2e4f);
    border-radius: 14px;
    overflow: hidden;
    min-height: 420px;
}

.latest-news-featured {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.latest-news-featured-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.latest-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.latest-news-featured:hover .latest-news-featured-image img {
    transform: scale(1.04);
}

.latest-news-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(11,46,79,0.95) 0%, transparent 100%);
    color: #fff;
}

.latest-news-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.85);
}

.latest-news-badge i {
    font-size: 6px;
    vertical-align: middle;
    margin-right: 6px;
    color: #d32f2f;
}

.latest-news-featured-overlay h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.3;
    color: #fff;
}

.latest-news-featured-date {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

/* Side list — scrolling */
.latest-news-side-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 420px;
    position: relative;
    padding: 0 24px;
}

.latest-news-scroll-inner {
    display: flex;
    flex-direction: column;
    animation: latestNewsScrollUp 18s linear infinite;
}

.latest-news-side-list:hover .latest-news-scroll-inner {
    animation-play-state: paused;
}

@keyframes latestNewsScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.latest-news-side-item {
    display: grid;
    grid-template-columns: 1fr auto 80px;
    gap: 14px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.latest-news-side-item:hover {
    background: rgba(255,255,255,0.03);
}

.latest-news-side-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.latest-news-side-meta {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.latest-news-side-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    transition: color 0.2s;
}

.latest-news-side-item:hover .latest-news-side-text h4 {
    color: #90caf9;
}

.latest-news-side-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-news-icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 11px;
}

.latest-news-side-thumb {
    width: 80px;
    height: 58px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}

.latest-news-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   SEE MORE BUTTON & HIDDEN CARDS
   ================================ */
.latest-card-hidden {
    display: none;
}

.latest-card-hidden.visible {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.latest-see-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn-latest-see-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--dark-blue, #0b2e4f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-family: inherit;
}

.btn-latest-see-more:hover {
    background: #093a5e;
    transform: translateY(-2px);
}

.btn-latest-see-more i {
    transition: transform 0.3s;
}

.btn-latest-see-more.expanded i {
    transform: rotate(180deg);
}

/* ================================
   CTA SECTION
   ================================ */
.latest-cta {
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.latest-cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11,46,79,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
}

.latest-cta-content {
    text-align: center;
    color: #fff;
    max-width: 650px;
    margin: 0 auto;
    padding: 60px 20px;
}

.latest-cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.latest-cta-content p {
    font-size: 1.08rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 28px;
}

.latest-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-latest-primary {
    background: var(--dark-blue, #0b2e4f);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn-latest-primary:hover {
    background: #093a5e;
    transform: translateY(-2px);
}

.btn-latest-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-latest-secondary:hover {
    background: #fff;
    color: var(--dark-blue, #0b2e4f);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .latest-cards-grid,
    .latest-events-grid,
    .latest-reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .latest-news-layout {
        grid-template-columns: 1fr 1fr;
    }
    .latest-hero-content {
        margin: auto auto 60px 30px;
    }
}

@media (max-width: 768px) {
    .latest-hero-content {
        margin: auto 20px 40px;
    }

    .latest-hero-title {
        font-size: 2rem;
    }

    .latest-nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .latest-nav-links li a {
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    .latest-section {
        padding: 50px 0;
    }

    .latest-section-header h2 {
        font-size: 1.6rem;
    }

    .latest-cards-grid,
    .latest-events-grid,
    .latest-reports-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .latest-news-layout {
        grid-template-columns: 1fr;
    }

    .latest-news-featured-image {
        min-height: 280px;
    }

    .latest-news-side-list {
        max-height: 300px;
        padding: 0 16px;
    }

    .latest-list-item {
        flex-direction: column;
        gap: 14px;
    }

    .latest-cta-content h2 {
        font-size: 1.7rem;
    }

    .latest-cta {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .latest-hero-title {
        font-size: 1.6rem;
    }

    .latest-hero-subtitle {
        font-size: 1rem;
    }

    .latest-nav-links li a {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .latest-section-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .latest-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
