@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    line-height: 1.7;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Simple Header */
.simple-header {
    border-bottom: 1px solid #eaeaea;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #000;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo .dot {
    color: #111;
}
.simple-nav {
    display: flex;
    gap: 2rem;
}
.simple-nav a {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}
.simple-nav a:hover, .simple-nav a.active {
    color: #111;
}

/* Typography for Headlines */
.headline-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

/* Featured Masonry Section */
.featured-masonry {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 2rem 0;
}

.featured-masonry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.masonry-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.masonry-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: calc(250px - 10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
}

.masonry-main .headline-serif {
    color: white;
    font-size: 2.2rem;
    margin-top: 0.5rem;
}

.masonry-small .headline-serif {
    color: white;
    font-size: 1.3rem;
}

.tag {
    display: inline-block;
    width: max-content;
    background: #111;
    color: white;
    padding: 6px 12px;
    font-size: 0.7rem; letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
}

.masonry-main:hover img, .masonry-small:hover img {
    transform: scale(1.05);
}

/* News Cards Grid */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 4rem 0;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content .headline-serif {
    font-size: 1.4rem;
    margin: 0.8rem 0;
}

.card-content .excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: auto;
}

.ad-placeholder {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85rem;
}

/* Blog List Page */
.blog-header {
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
    margin: 2rem 0;
    font-size: 2rem;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-list-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 2rem;
}

.blog-list-item:last-child {
    border-bottom: none;
}

.blog-list-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-list-item .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.blog-list-item .tag {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: white;
}

/* Contact Page */
.contact-hero {
    text-align: center;
    padding: 3rem 0;
}

.contact-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.contact-card {
    flex: 1;
    max-width: 400px;
    padding: 3rem 2rem;
    border: 1px solid #eaeaea;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.contact-card svg {
    width: 32px;
    height: 32px;
    stroke: #111;
    fill: none;
    margin-bottom: 1rem;
}

/* Article Page */
.article-header {
    max-width: 800px;
    margin: 3rem auto 2rem;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-image {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-content {
    max-width: 700px;
    margin: 0 auto 5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* Simple Footer */
.simple-footer {
    background-color: #111;
    color: #fff;
    padding: 3rem 0;
    margin-top: 4rem;
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
}
.footer-logo .dot {
    color: #111;
}
.footer-nav {
    display: flex;
    gap: 2rem;
}
.footer-nav a {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}
.footer-nav a:hover {
    color: #111;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #888;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .hamburger {
        display: flex;
    }
    .simple-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 1rem;
        gap: 1.5rem;
    }
    .simple-nav.show-nav {
        display: flex;
    }
    .hero-section {
        grid-template-columns: 1fr;
    }
    .home-grid {
        grid-template-columns: 1fr;
    }
    .blog-list-item {
        grid-template-columns: 1fr;
    }
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* New fixes for News4 */
    .featured-masonry {
        grid-template-columns: 1fr;
    }
    .masonry-main {
        height: 350px;
    }
    .masonry-small {
        height: 250px;
    }
    .news-cards-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-header h1 {
        font-size: 2rem;
    }
}

/* Blog Post specific styles */
.blog-post-container {
    width: 100%;
    padding: 0 15px;
}
.blog-post-header {
    max-width: 800px;
    margin: 3rem auto 2rem;
    text-align: center;
}
.blog-post-header h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}
.blog-post-image {
    width: 100%;
    max-width: 1000px;
    max-height: 550px;
    object-fit: cover;
    margin: 0 auto 3rem;
    display: block;
    border-radius: 12px;
}
.blog-post-content {
    max-width: 750px;
    margin: 0 auto 5rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #222;
}
.blog-post-content p {
    margin-bottom: 1.8rem;
}
.blog-post-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    font-family: 'Playfair Display', serif;
}
