/* Clasentri Garden Section Styles */
.cgs-page { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }

/* Hero */
.cgs-hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #1a3a0a 80%, #0d2b0a 100%);
    padding: 60px 24px 50px;
    text-align: center;
    color: #fff;
    margin: -20px -20px 40px;
    position: relative;
    overflow: hidden;
}
.cgs-hero::before {
    content: '🌿  🌱  🍅  🌿  🥬  🌱  🍅  🌿  🥬  🌱';
    position: absolute; top: 10px; left: 0; right: 0;
    font-size: 1.3rem; letter-spacing: 10px; opacity: .12; pointer-events: none;
}
.cgs-hero::after {
    content: '🌿  🌱  🍅  🌿  🥬  🌱  🍅  🌿  🥬  🌱';
    position: absolute; bottom: 10px; left: 0; right: 0;
    font-size: 1.3rem; letter-spacing: 10px; opacity: .12; pointer-events: none;
}
.cgs-hero h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 800; margin-bottom: 12px; }
.cgs-hero h1 span { color: #8bc34a; }
.cgs-hero p { font-size: 1.05rem; color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 24px; }
.cgs-hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.cgs-hero-stat { text-align: center; }
.cgs-hero-stat strong { display: block; font-size: 1.6rem; color: #8bc34a; }
.cgs-hero-stat span { font-size: .78rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .5px; }

/* Sub-nav */
.cgs-subnav {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; margin-bottom: 40px;
    padding: 16px; background: #f9fbe7;
    border-radius: 10px; border: 1px solid #c5e1a5;
}
.cgs-subnav a {
    background: #fff; color: #2d5a1b;
    border: 1.5px solid #aed581; border-radius: 20px;
    padding: 7px 18px; font-size: .88rem; font-weight: 600;
    text-decoration: none; transition: all .2s;
}
.cgs-subnav a:hover, .cgs-subnav a.active {
    background: #2d5a1b; color: #fff;
    border-color: #2d5a1b; text-decoration: none;
}

/* Section header */
.cgs-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}
.cgs-section-title {
    font-size: 1.3rem; font-weight: 800; color: #1a3a0a;
    border-left: 4px solid #8bc34a; padding-left: 12px; margin: 0;
}

/* Featured post */
.cgs-featured {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; border-radius: 12px; overflow: hidden;
    border: 1px solid #e0e0e0; box-shadow: 0 3px 16px rgba(0,0,0,.1);
    margin-bottom: 40px; text-decoration: none; color: inherit; background: #fff;
    transition: box-shadow .2s, transform .15s;
}
.cgs-featured:hover { box-shadow: 0 6px 28px rgba(0,0,0,.15); transform: translateY(-2px); text-decoration: none; }
.cgs-featured-thumb {
    width: 100%; min-height: 260px; object-fit: cover; display: block;
    background: linear-gradient(135deg, #1b5e20, #4caf50);
}
.cgs-featured-thumb-ph {
    width: 100%; min-height: 260px;
    background: linear-gradient(135deg, #1b5e20, #388e3c);
    display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.cgs-featured-body {
    padding: 32px 28px; display: flex;
    flex-direction: column; justify-content: center; gap: 12px;
}
.cgs-tag {
    display: inline-block; background: #2d5a1b; color: #fff;
    border-radius: 4px; padding: 3px 12px; font-size: .76rem;
    font-weight: 700; width: fit-content;
}
.cgs-tag.outline {
    background: #f1f8e9; color: #2d5a1b;
    border: 1.5px solid #aed581;
}
.cgs-featured-title { font-size: 1.5rem; font-weight: 800; color: #1a3a0a; line-height: 1.3; margin: 0; }
.cgs-featured-desc { font-size: .93rem; color: #555; line-height: 1.75; margin: 0; }
.cgs-featured-meta { font-size: .8rem; color: #999; }
.cgs-btn {
    display: inline-block; background: #2d5a1b; color: #fff;
    padding: 11px 24px; border-radius: 6px; font-weight: 700;
    font-size: .9rem; text-decoration: none; width: fit-content;
    transition: background .15s;
}
.cgs-btn:hover { background: #1a3a0a; color: #fff; text-decoration: none; }

/* Post grid */
.cgs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px; margin-bottom: 40px;
}
.cgs-card {
    border-radius: 10px; overflow: hidden;
    border: 1px solid #e8e8e8; background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    text-decoration: none; color: inherit; display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}
.cgs-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); text-decoration: none; }
.cgs-card-thumb {
    width: 100%; height: 170px; object-fit: cover; display: block;
}
.cgs-card-thumb-ph {
    width: 100%; height: 170px;
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
    display: flex; align-items: center; justify-content: center; font-size: 2.8rem;
}
.cgs-card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cgs-card-title { font-size: 1rem; font-weight: 700; color: #1a3a0a; line-height: 1.4; margin: 0; flex: 1; }
.cgs-card-excerpt { font-size: .85rem; color: #666; line-height: 1.6; margin: 0; }
.cgs-card-meta { font-size: .78rem; color: #aaa; margin-top: 4px; }
.cgs-card-link { font-size: .85rem; font-weight: 700; color: #2d5a1b; margin-top: 4px; }

/* Tip bar */
.cgs-tipbar {
    background: #f1f8e9; border-left: 4px solid #8bc34a;
    border-radius: 0 8px 8px 0; padding: 14px 18px;
    margin: 0 0 32px; font-size: .95rem; color: #2d5a1b; line-height: 1.7;
}
.cgs-tipbar strong { color: #1a3a0a; }

/* Empty state */
.cgs-empty {
    text-align: center; padding: 48px 20px;
    background: #f9fbe7; border-radius: 10px;
    border: 1px dashed #aed581; color: #2d5a1b; margin-bottom: 40px;
}
.cgs-empty p { font-size: 1rem; margin: 8px 0 0; color: #666; }

/* Pagination */
.cgs-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cgs-pagination .page-numbers {
    display: inline-block; padding: 8px 16px; border-radius: 6px;
    background: #f1f8e9; color: #2d5a1b; border: 1.5px solid #aed581;
    text-decoration: none; font-weight: 600; font-size: .9rem;
    transition: all .15s;
}
.cgs-pagination .page-numbers.current,
.cgs-pagination .page-numbers:hover {
    background: #2d5a1b; color: #fff; border-color: #2d5a1b; text-decoration: none;
}

@media(max-width:640px) {
    .cgs-featured { grid-template-columns: 1fr; }
    .cgs-featured-thumb-ph { min-height: 180px; }
    .cgs-featured-body { padding: 20px; }
    .cgs-hero { margin: 0 0 32px; }
}
