:root {
    --cream: #FAF7F2;
    --warm-beige: #F5F0EB;
    --light-taupe: #D4C5B9;
    --muted-rose: #C9A69C;
    --warm-taupe: #8B7E74;
    --sage-green: #A3B5A6;
    --soft-sage: #C5D5C8;
    --dark-text: #3E3E3E;
    --medium-text: #6B6B6B;
    --light-text: #999;
    --white: #FFFFFF;
    --border: #E8E3DC;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.10);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
li{
    list-style: none;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--cream);
    color: var(--dark-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--warm-taupe); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--muted-rose); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ HEADER / NAV ============ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--warm-taupe);
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--muted-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}
.logo span { color: var(--dark-text); }

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--warm-taupe);
    border-bottom-color: var(--muted-rose);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    border-radius: 1px;
    transition: var(--transition);
}

 /* ============ BREADCRUMB ============ */
.breadcrumb-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 0;
}
.breadcrumb {
    font-size: 0.85rem;
    color: var(--medium-text);
}
.breadcrumb a { color: var(--warm-taupe); }

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--soft-sage) 50%, var(--light-taupe) 100%);
    padding: 70px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.6rem;
    color: var(--dark-text);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.hero p {
    font-size: 1.15rem;
    color: var(--medium-text);
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero .btn-primary {
    display: inline-block;
    background: var(--warm-taupe);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}
.hero .btn-primary:hover {
    background: var(--muted-rose);
    color: var(--white);
}

/* ============ AD BANNER ============ */
.ad-banner {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
}
.ad-banner .adsbygoogle-placeholder {
    background: var(--warm-beige);
    border: 1px dashed var(--light-taupe);
    border-radius: var(--radius-sm);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* ============ MAIN LAYOUT ============ */
.main-layout {
    max-width: 1200px;
    margin: 36px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
}

/* ============ FEATURED CARDS ============ */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--soft-sage);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.article-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--warm-beige);
}
.article-card .card-body {
    padding: 20px;
}
.article-card .card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.article-card .tag {
    font-size: 0.75rem;
    background: var(--soft-sage);
    color: var(--dark-text);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.tag-cloud .tag {
    font-size: 0.75rem;
    background: var(--soft-sage);
    color: var(--dark-text);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.article-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
}
.article-card h3 a { color: var(--dark-text); }
.article-card h3 a:hover { color: var(--warm-taupe); }
.article-card .excerpt {
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .meta {
    font-size: 0.8rem;
    color: var(--light-text);
}
 /* ============ MAIN LAYOUT ============ */
        .main-layout {
            max-width: 1200px;
            margin: 36px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 36px;
        }

/* ============ ARTICLE CONTENT ============ */
.article-full {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.article-full .featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    background: var(--warm-beige);
}
.article-header .article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.article-header .tag {
    font-size: 0.75rem;
    background: var(--soft-sage);
    color: var(--dark-text);
    padding: 3px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.article-footer-meta .article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.article-footer-meta .tag {
    font-size: 0.75rem;
    background: var(--soft-sage);
    color: var(--dark-text);
    padding: 3px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.article-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 14px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    font-size: 0.88rem;
    color: var(--medium-text);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.article-meta .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-taupe);
    flex-shrink: 0;
}
.article-meta .meta-item { display: flex; align-items: center; gap: 6px; }
.article-meta .meta-sep { color: var(--light-text); }

/* Article body */
.article-body { font-size: 1.05rem; color: var(--dark-text); }
.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--dark-text);
}
.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--dark-text);
}
.article-body p {
    margin-bottom: 18px;
    line-height: 1.85;
}
.article-body ul, .article-body ol {
    margin: 16px 0 24px 24px;
}
.article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}
.article-body blockquote {
    margin: 28px 0;
    padding: 20px 28px;
    background: var(--warm-beige);
    border-left: 4px solid var(--muted-rose);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--medium-text);
}
.article-body .inline-image {
    width: 100%;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    background: var(--warm-beige);
}
.article-body .image-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-top: -18px;
    margin-bottom: 24px;
}


/* In-article Ad */
.in-article-ad {
    background: var(--warm-beige);
    border: 1px dashed var(--light-taupe);
    border-radius: var(--radius-sm);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 0.85rem;
    margin: 32px 0;
    padding: 20px;
}

/* Article footer — tags + share */
.article-footer-meta {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.article-footer-meta blockquote{
    margin: 28px 0;
    padding: 20px 28px;
    background: var(--warm-beige);
    border-left: 4px solid var(--muted-rose);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--medium-text);
}
.share-btns { display: flex; gap: 10px; }
        .share-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--warm-beige);
            color: var(--warm-taupe);
            font-weight: 700;
            font-size: 0.85rem;
            transition: var(--transition);
        }
.share-btn:hover { background: var(--warm-taupe); color: var(--white); }

/* ============ RELATED ARTICLES ============ */
.related-articles {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    margin-top: 28px;
    box-shadow: var(--shadow);
}
.related-articles h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--soft-sage);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.related-card {
    background: var(--cream);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}
.related-card:hover { box-shadow: var(--shadow-hover); }
.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: var(--warm-beige);
}
.related-card .rc-body { padding: 14px; }
.related-card .rc-body h4 {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 6px;
}
.related-card .rc-body h4 a { color: var(--dark-text); }
.related-card .rc-body h4 a:hover { color: var(--warm-taupe); }
.related-card .rc-body .rc-date { font-size: 0.78rem; color: var(--light-text); }

/* ============ COMMENTS ============ */
.comments-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    margin-top: 28px;
    box-shadow: var(--shadow);
}
.comments-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--soft-sage);
}
.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    background: var(--cream);
    margin-bottom: 14px;
}
.comment-form .form-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.comment-form .form-row input {
    flex: 1;
    min-width: 160px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: var(--cream);
}
.comment-form .btn-submit {
    padding: 10px 28px;
    background: var(--warm-taupe);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}
.comment-form .btn-submit:hover { background: var(--muted-rose); }

.comment-placeholder {
    margin-top: 28px;
    padding: 24px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--light-text);
}

/* ============ SIDEBAR ============ */
.sidebar .sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.sidebar-widget h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--soft-sage);
}
.sidebar .adsbygoogle-placeholder {
    background: var(--warm-beige);
    border: 1px dashed var(--light-taupe);
    border-radius: var(--radius-sm);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 0.85rem;
}
.sidebar .recent-post {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.sidebar .recent-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar .recent-post img {
    width: 70px;
    height: 55px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--warm-beige);
}
.sidebar .recent-post .rp-info h5 {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 4px;
}
.sidebar .recent-post .rp-info h5 a { color: var(--dark-text); }
.sidebar .recent-post .rp-info .rp-date { font-size: 0.75rem; color: var(--light-text); }

.newsletter-form { margin-top: 12px; }
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 10px;
    background: var(--cream);
}
.newsletter-form .btn-sub {
    width: 100%;
    padding: 10px;
    background: var(--sage-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-form .btn-sub:hover { background: var(--warm-taupe); }

 /* ============ PAGE HEADER ============ */
.page-header {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--soft-sage) 100%);
    padding: 48px 0;
    text-align: center;
}
.page-header h1 { font-size: 2rem; color: var(--dark-text); font-weight: 700; }
.page-header .breadcrumb { font-size: 0.85rem; color: var(--medium-text); margin-top: 6px; }
.page-header .breadcrumb a { color: var(--warm-taupe); }

/* ============ ARTICLE LIST ============ */
.article-list-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.article-list-item:hover { box-shadow: var(--shadow-hover); }
.article-list-item .list-thumb {
    width: 240px;
    height: 160px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--warm-beige);
}
.article-list-item .list-body { flex: 1; display: flex; flex-direction: column; }
.article-list-item .list-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.article-list-item .tag {
    font-size: 0.72rem;
    background: var(--soft-sage);
    color: var(--dark-text);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 500;
}
.article-list-item h2 { font-size: 1.25rem; margin-bottom: 8px; line-height: 1.4; }
.article-list-item h2 a { color: var(--dark-text); }
.article-list-item h2 a:hover { color: var(--warm-taupe); }
.article-list-item .list-excerpt {
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-list-item .list-meta { font-size: 0.82rem; color: var(--light-text); }

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}
.pagination li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-text);
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.pagination li:hover { background: var(--warm-beige); }
.pagination li.active { background: var(--warm-taupe); color: var(--white); border-color: var(--warm-taupe); }
.pagination li.disabled { color: var(--light-text); cursor: default; pointer-events: none; }
.pagination .page-ellipsis { padding: 0 4px; color: var(--light-text); }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--dark-text);
    color: var(--light-taupe);
    padding: 5px 0 24px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--light-taupe); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    margin-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--light-taupe);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-area { min-height: 600px}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar { order: 2; }
    .content-area { order: 1; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-full { padding: 24px; }
    .article-header h1 { font-size: 1.5rem; }
    .article-list-item { flex-direction: column; }
    .article-list-item .list-thumb { width: 100%; height: 200px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
            
}

@media (max-width: 640px) {
    .header-inner { height: 56px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        display: block;
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        border-bottom-width: 1px;
    }
    .nav-links a:hover,
    .nav-links a.active {
        border-bottom-color: var(--border);
        background: var(--cream);
    }
    .hamburger { display: flex; }
    .hero { padding: 44px 0; }
    .hero h1 { font-size: 1.5rem; }
    .featured-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-full { padding: 18px; }
    .article-header h1 { font-size: 1.35rem; }
    .article-body { font-size: 0.95rem; }
    .article-body h2 { font-size: 1.25rem; }
    .related-grid { grid-template-columns: 1fr; }
    .comment-form .form-row { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .breadcrumb-bar { padding: 12px 16px 0; }
}