/* --- RESET & VARIABLES --- */
:root {
    --bg-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-blue: #7399C6;
    --border-color: #e0e0e0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- TYPOGRAPHY UTILITIES --- */
.serif-font {
    font-family: var(--font-serif);
}

.section-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    border-top: 2px solid var(--text-dark);
    padding-top: 10px;
    width: fit-content;
}

/* --- HEADER --- */
header {
    background: white;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background-color: var(--accent-blue);
    color: white;
    padding: 5px 12px;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

nav a:hover {
    color: var(--accent-blue);
}

.header-btn {
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--text-dark);
    padding: 8px 16px;
    border-radius: 2px;
}

/* --- HERO SECTION (Updated for HTML Image) --- */
.hero-section {
    position: relative; /* Acts as anchor for the absolute image */
    height: 75vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Align overlay box to bottom */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without stretching */
    z-index: -1; /* Puts image BEHIND the text */
}

.hero-content-wrapper {
    padding: 60px;
    width: 100%;
    z-index: 2; /* Puts text ON TOP of image */
}

.hero-overlay {
    background: white;
    padding: 40px 50px;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 42px;
    line-height: 1.1;
    color: #111;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--text-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: white;
}

/* --- GRID LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Card Styling */
.article-card {
    display: flex;
    flex-direction: column;
}

.article-image-wrapper {
    height: 220px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.article-card:hover .article-image-wrapper img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.article-category {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-snippet {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    width: fit-content;
}

.article-card:hover .read-more {
    border-bottom: 1px solid var(--text-dark);
}

/* --- FOOTER --- */
footer {
    background-color: #111;
    color: white;
    padding: 60px 40px;
    margin-top: 100px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-content p {
    color: #888;
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 30px auto;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 12px;
    color: #555;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        height: auto;
        display: block;
    }
    .hero-bg-image {
        position: relative; /* Image stacks normally on mobile */
        height: 300px;
    }
    .hero-content-wrapper {
        padding: 20px;
        margin-top: -50px; /* Overlap effect on mobile */
    }
}/* --- RESET & VARIABLES --- */
:root {
    --bg-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-blue: #7399C6;
    --border-color: #e0e0e0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- TYPOGRAPHY UTILITIES --- */
.serif-font {
    font-family: var(--font-serif);
}

.section-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    border-top: 2px solid var(--text-dark);
    padding-top: 10px;
    width: fit-content;
}

/* --- HEADER --- */
header {
    background: white;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background-color: var(--accent-blue);
    color: white;
    padding: 5px 12px;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

nav a:hover {
    color: var(--accent-blue);
}

.header-btn {
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--text-dark);
    padding: 8px 16px;
    border-radius: 2px;
}

/* --- HERO SECTION (Updated for HTML Image) --- */
.hero-section {
    position: relative; /* Acts as anchor for the absolute image */
    height: 75vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Align overlay box to bottom */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without stretching */
    z-index: -1; /* Puts image BEHIND the text */
}

.hero-content-wrapper {
    padding: 60px;
    width: 100%;
    z-index: 2; /* Puts text ON TOP of image */
}

.hero-overlay {
    background: white;
    padding: 40px 50px;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 42px;
    line-height: 1.1;
    color: #111;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--text-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: white;
}

/* --- GRID LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Card Styling */
.article-card {
    display: flex;
    flex-direction: column;
}

.article-image-wrapper {
    height: 220px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.article-card:hover .article-image-wrapper img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.article-category {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-snippet {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    width: fit-content;
}

.article-card:hover .read-more {
    border-bottom: 1px solid var(--text-dark);
}

/* --- FOOTER --- */
footer {
    background-color: #111;
    color: white;
    padding: 60px 40px;
    margin-top: 100px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-content p {
    color: #888;
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 30px auto;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 12px;
    color: #555;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        height: auto;
        display: block;
    }
    .hero-bg-image {
        position: relative; /* Image stacks normally on mobile */
        height: 300px;
    }
    .hero-content-wrapper {
        padding: 20px;
        margin-top: -50px; /* Overlap effect on mobile */
    }
}