:root {
    --bg-color: #FAF6F0;
    --dark-green: #033C29;
    --dark-green-hover: #02291B;
    --mint-green: #CEEBE0;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --card-bg: #EAE6DF;
    --nav-bg: #F4EFEB;
    --border-color: rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding-bottom: 20px;
}

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

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

.top-links {
    display: none; /* Hide on mobile by default */
}

@media (min-width: 768px) {
    .top-links {
        display: flex;
        gap: 32px;
    }
    .top-links a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        transition: color 0.2s;
    }
    .top-links a:hover {
        color: var(--dark-green);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-green);
    cursor: pointer;
    background: rgba(3, 60, 41, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.lang-switch:hover {
    background: rgba(3, 60, 41, 0.15);
}

.lang-container {
    position: relative;
    display: inline-block;
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 8px 24px rgba(3, 60, 41, 0.15);
    border-radius: 12px;
    z-index: 100;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    color: var(--text-main);
    padding: 14px 20px;
    display: block;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-option:hover {
    background-color: var(--dark-green);
    color: white;
}

.profile-pic img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* Hero Section (Wide format for Web) */
.hero-card {
    background-color: var(--dark-green);
    border-radius: 20px;
    overflow: hidden;
    color: white;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(3, 60, 41, 0.15);
    display: flex;
    flex-direction: column;
}

@media (min-width: 900px) {
    .hero-card {
        flex-direction: row-reverse;
        align-items: center;
        min-height: 400px;
    }
    .hero-image-wrapper {
        flex: 1;
        height: 100%;
        min-height: 400px;
    }
    .hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .hero-gradient-overlay {
        background: linear-gradient(to right, rgba(3,60,41,1) 0%, rgba(3,60,41,0) 100%);
        top: 0; bottom: 0; left: 0; right: auto; width: 150px; height: auto;
    }
    .hero-content {
        flex: 1;
        padding: 60px;
        margin-top: 0;
    }
}

.hero-image-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
}
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.hero-gradient-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(3,60,41,0) 0%, rgba(3,60,41,1) 100%);
}

.hero-content {
    padding: 0 24px 32px 24px;
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.badge {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 600;
}

@media (min-width: 900px) { .hero-content h1 { font-size: 3.5rem; } }

.hero-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    background-color: var(--dark-green-hover);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.read-time {
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.9;
    line-height: 1.4;
}

/* Categories */
.categories {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
    scrollbar-width: none;
}
.categories::-webkit-scrollbar { display: none; }

.pill {
    white-space: nowrap;
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.pill.active, .pill:hover {
    background-color: var(--dark-green);
    color: white;
    border-color: var(--dark-green);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feed-card {
    display: flex;
    flex-direction: column;
}

.feed-card .thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feed-card:hover .thumb {
    transform: scale(1.02);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.category-label {
    font-weight: 700;
    color: var(--text-muted);
}

.time-label {
    color: #999;
}

.feed-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feed-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Quote Block (spans columns) */
.quote-block {
    background-color: var(--mint-green);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .quote-block {
        grid-row: span 1;
    }
}

.quote-icon {
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 24px;
}

.quote-block blockquote {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--dark-green);
    margin-bottom: 30px;
}

.quote-author {
    margin-bottom: 24px;
}

.author-title {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: rgba(3,60,41,0.7);
}

.quote-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(3,60,41,0.1);
    padding-top: 20px;
    margin-top: auto;
}

.action-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--dark-green);
}

.btn-icon {
    background-color: var(--dark-green);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.btn-icon:hover {
    transform: translateX(4px);
}

/* Newsletter Block Web Layout */
.newsletter-block {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .newsletter-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .newsletter-content {
        flex: 1;
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }
    .newsletter-form-container {
        flex: 1;
        max-width: 400px;
    }
}

.newsletter-block::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
}

.newsletter-icon {
    background-color: var(--dark-green);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.newsletter-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.newsletter-block p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form input {
    width: 100%;
    padding: 16px 24px;
    border: none;
    background-color: white;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.disclaimer {
    font-size: 0.65rem !important;
    letter-spacing: 1px;
    margin-top: 16px;
    text-align: center;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--dark-green);
}
