:root {
    --primary-gold: #D8993A;
    --primary-navy: #0B233F;
    --text-dark: #111;
    --text-muted: #555;
    --bg-light: #FDFCFB;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'NeueHaas', sans-serif;
    color: var(--text-dark);
    background-color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.blog-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    background: url('../image/blog/hero_author.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 5% 0 5%;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(1deg, rgba(11, 35, 63, 0.9) 0%, rgb(11 35 63 / 58%) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.breadcrumbs {
    font-size: 0.95rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumbs a:hover {
    opacity: 0.7;
}

.blog-hero h1 {
    font-family: 'Rockwell', serif;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--primary-gold);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    max-width: 700px;
    line-height: 1.6;
    color: #ddd;
}

.search-container {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    padding: 8px;
    max-width: 520px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.search-input-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-left: 25px;
}

.search-input-wrapper i {
    color: #ccc;
    margin-right: 15px;
    font-size: 1.2rem;
}

.search-container input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.1rem;
    background: transparent;
    color: #fff;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    background: var(--primary-gold);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #f1b35a;
    transform: scale(1.05);
}

.hero-footer {
    position: absolute;
    bottom: 50px;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
}

/* --- Articles Section --- */
.articles-section {
    padding: 100px 5%;
    background-color: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header .left-col p {
    color: #00A3FF;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header .left-col h2 {
    font-family: 'Rockwell', serif;
    font-size: 3rem;
    color: var(--primary-navy);
    margin: 0;
}

.section-header .right-col p {
    max-width: 400px;
    color: #666;
    margin: 0;
    text-align: right;
}

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Premium Article Layout (Matching Image) */
.premium-article {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.article-img-box {
    border-radius: 40px;
    overflow: hidden;
    aspect-ratio: 1.4 / 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.article-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.premium-article:hover .article-img-box img {
    transform: scale(1.05);
}

.article-content-box {
    padding-right: 20px;
}

.article-cat {
    color: #00A3FF;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    display: block;
}

.article-title {
    font-family: 'Rockwell', serif;
    font-size: 2.5rem;
    color: #0B233F;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    transition: color 0.3s;
}

.premium-article:hover .article-title {
    color: #00A3FF;
}

.article-excerpt {
    color: #777;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #222;
    font-size: 1rem;
    margin: 0;
}

.publish-date {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* Side List Styling (Secondary Articles) */
.secondary-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.secondary-card {
    text-decoration: none;
    transition: var(--transition);
}

.secondary-card .img-small {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    /* Slightly taller for a more cinematic look */
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
    /* Placeholder color while loading */
}

.secondary-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.secondary-card:hover img {
    transform: scale(1.1);
}

.secondary-card .article-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--primary-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2; /* Standard property */
    overflow: hidden;
    min-height: 4.2rem; /* Restore grid alignment */
}

.secondary-card .article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4; /* Standard property */
    overflow: hidden;
    height: 6.4rem; /* Standard height for perfect alignment */
}



@media (max-width: 992px) {
    .premium-article {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-content-box {
        padding-right: 0;
    }

    .secondary-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .secondary-articles-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-header .right-col p {
        text-align: left;
    }

    .article-title {
        font-size: 2rem;
    }
}