:root {
    --green: #2f6f4e;
    --green-dark: #234236;
    --gold: #d8a73f;
    --cream: #fffaf3;
    --soft: #f5efe4;
    --text: #1f2933;
}

* { box-sizing: border-box; }
body {
    font-family: 'Cairo', sans-serif;
    background: var(--cream);
    color: var(--text);
}

.site-navbar {
    background: rgba(255, 250, 243, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #efe5d4;
}
.navbar-brand { color: var(--green-dark) !important; display: flex; gap: .55rem; align-items: center; }
.brand-mark {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--gold)); color: #fff;
}
.nav-link { font-weight: 700; color: #53635a; }
.nav-link:hover { color: var(--green); }
.nav-search input { border-radius: 99px; }
.nav-search button { border-radius: 99px; }

.hero-section {
    background:
        radial-gradient(circle at top right, rgba(216, 167, 63, .2), transparent 35%),
        linear-gradient(135deg, #fff7e6, #eef7ee);
    border-bottom: 1px solid #f1e4c7;
}
.hero-badge {
    display: inline-flex; padding: .45rem .9rem; border-radius: 99px; background: #fff; color: var(--green);
    font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.05);
}
.hero-section h1 { color: var(--green-dark); line-height: 1.35; }
.hero-search { display: flex; gap: .75rem; max-width: 700px; }
.hero-search input, .hero-search button { border-radius: 99px; }
.hero-card {
    min-height: 360px; padding: 22px; border-radius: 38px;
    background: linear-gradient(145deg, rgba(47,111,78,.12), rgba(216,167,63,.16));
}
.hero-card-inner {
    height: 100%; min-height: 316px; border-radius: 30px; background: #fff; padding: 34px;
    display: flex; flex-direction: column; justify-content: center; box-shadow: 0 24px 70px rgba(35,66,54,.12);
}
.hero-card h3 { color: var(--green-dark); font-weight: 800; line-height: 1.7; }

.section-header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.section-header h2 { margin: 0; font-weight: 800; color: var(--green-dark); }
.section-kicker { color: var(--gold); font-weight: 800; font-size: .9rem; }
.soft-section { background: #f7f2e9; }

.category-tile {
    display: flex; flex-direction: column; gap: .75rem; align-items: center; justify-content: center;
    min-height: 132px; text-align: center; text-decoration: none; color: var(--green-dark);
    background: #fff; border-radius: 28px; padding: 20px; border: 1px solid #f0e8dc;
    box-shadow: 0 18px 40px rgba(35,66,54,.06); transition: .22s ease;
}
.category-tile:hover { transform: translateY(-5px); color: var(--green); box-shadow: 0 22px 50px rgba(35,66,54,.1); }
.category-tile-lg { min-height: 180px; }
.category-tile span { color: #8a948e; font-size: .9rem; }
.category-icon {
    width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
    border-radius: 22px; background: linear-gradient(135deg, #eef7ee, #fff5dd); color: var(--green); font-weight: 800; font-size: 1.35rem;
}

.post-card { background: #fff; box-shadow: 0 18px 50px rgba(35,66,54,.08); transition: .22s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(35,66,54,.12); }
.post-image-wrap { display: block; height: 260px; overflow: hidden; background: #f3ebdc; }
.post-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .35s ease; }
.post-card:hover .post-img { transform: scale(1.05); }
.post-placeholder, .single-post-placeholder {
    width: 100%; height: 100%; min-height: 260px; padding: 30px; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--green-dark); font-size: 1.15rem; font-weight: 800; line-height: 1.8;
    background: radial-gradient(circle at top, rgba(216,167,63,.2), transparent 40%), linear-gradient(135deg, #fff8e8, #edf6ef);
}
.post-title { line-height: 1.6; }

.page-head { background: linear-gradient(135deg, #fff7e6, #eef7ee); padding: 60px 0; border-bottom: 1px solid #efe5d4; }
.page-head h1 { font-weight: 800; color: var(--green-dark); }
.page-head p { color: #6f7b74; margin: 0; }

.content-card { background: #fff; border-radius: 34px; padding: 30px; box-shadow: 0 20px 55px rgba(35,66,54,.08); border: 1px solid #f0e8dc; }
.post-meta { display: flex; gap: .65rem; color: #7b857f; }
.post-meta a { color: var(--green); text-decoration: none; font-weight: 800; }
.single-post-img { width: 100%; border-radius: 28px; max-height: 720px; object-fit: contain; background: #f7f2e9; }
.single-post-placeholder { min-height: 420px; border-radius: 28px; font-size: 1.5rem; }
.post-text { font-size: 1.22rem; line-height: 2.1; color: #2f3933; background: #fffaf3; padding: 24px; border-radius: 24px; border: 1px solid #f0e8dc; }
.post-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-success { background-color: var(--green); border-color: var(--green); }
.btn-outline-success { color: var(--green); border-color: var(--green); }
.btn-outline-success:hover { background-color: var(--green); border-color: var(--green); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags span { padding: .45rem .85rem; background: #eef7ee; color: var(--green); border-radius: 99px; font-weight: 700; font-size: .9rem; }
.related-item { display: flex; gap: .8rem; align-items: center; text-decoration: none; padding: .75rem 0; border-bottom: 1px solid #f0e8dc; color: var(--text); }
.related-item:last-child { border-bottom: 0; }
.related-thumb { width: 44px; height: 44px; border-radius: 16px; background: #eef7ee; color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.related-item strong { display: block; font-size: .95rem; line-height: 1.5; }
.related-item span { color: #8a948e; font-size: .85rem; }
.search-page-form { display: flex; gap: .75rem; }
.search-page-form input, .search-page-form button { border-radius: 99px; }
.empty-state { background: #fff; padding: 40px; border-radius: 30px; text-align: center; color: #8a948e; border: 1px dashed #d8cdbd; }
.site-footer { background: #fff; border-top: 1px solid #efe5d4; }
.site-footer a { display: block; color: #66746c; text-decoration: none; margin-bottom: .55rem; }
.site-footer a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid #efe5d4; color: #8a948e; }

@media (max-width: 768px) {
    .hero-search, .search-page-form { flex-direction: column; }
    .section-header { align-items: flex-start; flex-direction: column; }
    .post-image-wrap { height: 230px; }
    .content-card { padding: 22px; border-radius: 26px; }
}
