/* --- BRAND DNA --- */
:root {
    /* Inherits defaults */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- HERO HEADER --- */
.hero-container {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--accent);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FEATURED POST --- */
.featured-wrapper {
    max-width: 1200px;
    margin: -100px auto 80px;
    position: relative;
    z-index: 20;
    background: #fff;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.featured-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-label {
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 20px;
}

.featured-text h2 {
    font-family: var(--font-head);
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.featured-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.read-btn {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent);
    align-self: flex-start;
    padding-bottom: 5px;
    transition: 0.3s;
}

.read-btn:hover {
    color: var(--accent);
    border-bottom-color: var(--primary);
}

/* --- BLOG GRID --- */
.blog-grid {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    transition: 0.4s;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
}

.card-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-family: var(--font-head);
    font-size: 22px;
    margin: 15px 0;
    line-height: 1.3;
}

.card-body p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-date {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CTA --- */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.cta-btn {
    background: var(--accent);
    color: var(--primary);
    padding: 20px 50px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #fff;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(36px, 12vw, 48px) !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .featured-wrapper {
        grid-template-columns: 1fr;
        margin: 20px 15px 60px 15px; /* Fixed negative margin */
    }

    .featured-text {
        padding: 40px 20px;
    }
    
    .featured-text h2 {
        font-size: 28px !important;
    }
    
    .featured-img {
        height: auto !important;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}