:root {
    --green-dark: #1a2e1a;
    --green-mid: #2d5a27;
    --green-light: #4a8c4a;
    --amber: #f4a21a;
    --rust: #c45c1e;
    --sand: #f5f0e8;
    --sand-dark: #e8dfd0;
    --text: #2a2a2a;
}

body {
    background-color: var(--sand);
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.75;
    margin: 0;
}

/* ── SITE HEADER ── */
.site-header {
    background: linear-gradient(155deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
    padding: 3.5rem 1rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 48px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48'%3E%3Cpolygon points='0,48 150,0 300,40 450,8 600,48 750,12 900,44 1050,4 1200,48' fill='%23f5f0e8'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}
.site-header .flag {
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--amber);
    font-style: italic;
    margin-bottom: 0.5rem;
    display: block;
}
.site-header h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 0.4rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.site-header .tagline {
    color: var(--amber);
    font-size: 1.05rem;
    font-style: italic;
    display: block;
    margin-bottom: 0.4rem;
}
.site-header .subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}

/* ── BLOG SECTION ── */
.blog-section {
    padding: 2.5rem 0 4rem;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--amber);
    padding-left: 0.8rem;
    margin-bottom: 2rem;
}

/* ── CARDS ── */
.blog-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.card-top-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--green-mid), var(--amber));
}
.card-inner {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-badge {
    display: inline-block;
    background: var(--green-mid);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.65rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.card-meta {
    font-size: 0.76rem;
    color: #999;
    margin-bottom: 0.75rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.card-meta .author {
    color: var(--rust);
    font-weight: 600;
}
.card-excerpt {
    font-size: 0.88rem;
    color: #666;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}
.card-footer-row {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--sand-dark);
}
.btn-read-more {
    background: var(--green-mid);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.38rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.btn-read-more:hover {
    background: var(--green-dark);
    color: #fff;
}

/* ── POST PAGE ── */
.post-header {
    background: linear-gradient(155deg, var(--green-dark) 0%, var(--green-mid) 100%);
    padding: 3rem 1rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.post-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpolygon points='0,40 200,0 400,32 600,8 800,36 1000,4 1200,40' fill='%23f5f0e8'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}
.post-badge {
    display: inline-block;
    background: var(--amber);
    color: var(--green-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.post-header h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.post-header .post-meta {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.post-header .post-meta .author {
    color: var(--amber);
    font-weight: 600;
}

.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}
.post-content p {
    margin-bottom: 1.3rem;
    font-size: 1rem;
    line-height: 1.85;
}
.post-content ul {
    padding-left: 1.4rem;
    margin-bottom: 1.3rem;
}
.post-content ul li {
    margin-bottom: 0.45rem;
    font-size: 1rem;
    line-height: 1.75;
}
.post-content blockquote {
    border-left: 4px solid var(--amber);
    padding: 0.8rem 1.3rem;
    margin: 1.5rem 0;
    background: var(--sand-dark);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.video-note {
    background: var(--sand-dark);
    border: 1px solid #d5ccc0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.post-sign {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sand-dark);
    font-style: italic;
    color: #777;
    font-size: 0.92rem;
}

.btn-back {
    display: inline-block;
    background: transparent;
    color: var(--green-mid);
    border: 2px solid var(--green-mid);
    border-radius: 6px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.btn-back:hover {
    background: var(--green-mid);
    color: #fff;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 1.75rem 1rem;
    font-size: 0.82rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.site-footer strong {
    color: var(--amber);
}

@media (max-width: 576px) {
    .site-header h1 { font-size: 1.9rem; }
    .post-header h1 { font-size: 1.45rem; }
    .post-content { padding: 2rem 1rem 3rem; }
}
