/*
Theme Name: NgajiDulu
Theme URI: https://ngajidulu.com
Author: NgajiDulu.com
Description: WordPress theme untuk NgajiDulu.com - Platform belajar mengaji online dengan Metode Al-Barqi
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ngajidulu
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5d1a;
    --primary-dark: #0f3d0f;
    --primary-light: #2e8b2e;
    --secondary-color: #d4af37;
    --secondary-dark: #b8941f;
    --text-dark: #1a3c07;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 80px 0; }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.highlight { color: var(--secondary-color); }

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: top 0.2s ease;
}

/* WordPress admin bar - desktop (32px) */
.admin-bar .navbar { top: 32px; }
.admin-bar .nav-links { top: calc(32px + 64px); }

/* WordPress admin bar - mobile (46px) */
@media screen and (max-width: 782px) {
    .admin-bar .navbar { top: 46px; }
    .admin-bar .nav-links { top: calc(46px + 64px); }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a { display: flex; align-items: center; }

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 i { color: var(--secondary-color); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e8 50%, #fff9e6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.wa-button {
    background-color: #25D366;
    color: white;
}

.wa-button:hover {
    background-color: #1ea855;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 80px;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 span { color: var(--primary-color); }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* ===== METHOD SECTION ===== */
.method-section { background-color: var(--bg-white); }

.method-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.method-steps { display: flex; flex-direction: column; gap: 25px; }

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.step:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.method-guarantee {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 30px;
    border-radius: 16px;
    color: white;
    text-align: center;
}

.guarantee-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.guarantee-card h3 {
    color: white;
    margin-bottom: 10px;
}

.guarantee-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section { background-color: var(--bg-light); }

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-light);
}

.program-card.highlight-card {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #fffdf0, #fff);
}

.program-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.program-icon i {
    font-size: 1.5rem;
    color: white;
}

.program-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.program-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 15px 0;
}

.program-features span {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-features span i { color: var(--success); }

.program-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
    margin-top: 10px;
}

.program-btn.wa-btn { background-color: #25D366; }

.program-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: white;
}

.lang-badge {
    font-size: 0.7rem;
    background: var(--primary-light);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    vertical-align: middle;
}

/* ===== CTA WRAP ===== */
.cta-wrap {
    position: relative;
    background: #ffffff;
    padding: 40px 20px 0;
    margin-top: 60px;
    text-align: center;
    overflow: hidden;
}

.cta-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.cta-title h2 {
    font-size: 2.2rem;
    color: #1a5d1a;
    margin-bottom: 8px;
    font-weight: 700;
}

.cta-title p {
    font-size: 1rem;
    color: #666;
}

/* Orang di belakang card (z-index lebih rendah dari card) */
.cta-person {
    position: relative;
    z-index: 1;
    pointer-events: none;
    margin-bottom: -180px;
}

.cta-person img {
    width: 960px;
    max-width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0;
}

/* Card di depan orang */
.cta-card {
    position: relative;
    z-index: 2;
    background: #3a6b35;
    border-radius: 24px;
    padding: 50px 40px 40px;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.cta-card p {
    font-size: 1.05rem;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}

.cta-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.cta-wa-btn:hover {
    background: #1ea855;
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 768px) {
    .cta-wrap { padding: 30px 16px 0; margin-top: 40px; }
    .cta-title h2 { font-size: 1.6rem; }
    .cta-person { display: none !important; }
    .cta-card { padding: 36px 20px 32px; border-radius: 18px; margin-top: 16px; }
    .cta-card p { font-size: 0.95rem; }
    .cta-wa-btn { font-size: 0.92rem; padding: 12px 24px; }
}

@media (max-width: 480px) {
    .cta-title h2 { font-size: 1.4rem; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background-color: var(--bg-light); }

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-avatar i {
    font-size: 3rem;
    color: var(--primary-color);
}

.user-info h4 { font-size: 1rem; margin-bottom: 5px; }

.rating i { color: var(--secondary-color); font-size: 0.9rem; }

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-meta span {
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 { color: white; margin-bottom: 15px; }
.cta-section h2 span { color: var(--secondary-color); }

.cta-subtitle {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about h3 i { color: var(--secondary-color); }

.footer-about p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.contact-link:hover { color: var(--secondary-color); }
.contact-link i { color: var(--secondary-color); }

.footer-links h4, .footer-social h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */

/* Admin bar offset */
.admin-bar .navbar { top: 32px; }
.admin-bar .nav-links { top: calc(32px + 64px); }
.admin-bar .hero { padding-top: 152px; }
@media screen and (max-width: 782px) {
    .admin-bar .navbar { top: 46px; }
    .admin-bar .nav-links { top: calc(46px + 64px); }
    .admin-bar .hero { padding-top: 136px; }
}

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .hero .container { gap: 36px; }
    .hero-content h1 { font-size: 2.6rem; }
    .programs-container { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.6rem !important; }
    h3 { font-size: 1.3rem; }
    section { padding: 50px 0; }

    /* Navbar */
    .navbar { padding: 12px 0; }
    .logo h1 { font-size: 1.4rem; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: fixed;
        top: 64px; left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 16px 20px 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        z-index: 10000;
        gap: 4px;
        border-top: 2px solid #f0f7f0;
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 10px 14px; border-radius: 8px; font-size: 0.95rem; width: 100%; display: block; }
    .nav-links a:hover { background: #f0f7f0; }

    /* Hero */
    .hero { padding: 100px 0 50px; min-height: auto; }
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 88%; margin: 0 auto; display: block; }
    .hero-content h1 { font-size: 2.2rem !important; }
    .hero-tagline { font-size: 1rem; }
    .hero-buttons { justify-content: center; flex-direction: column; align-items: center; gap: 12px; }
    .hero-buttons .cta-button { width: 100%; max-width: 300px; justify-content: center; }
    .hero-stats { justify-content: center; gap: 12px; }
    .stat-item { padding: 12px 14px; min-width: 70px; }
    .stat-item h3 { font-size: 1.4rem; }

    /* Metode */
    .method-content { grid-template-columns: 1fr; gap: 30px; }

    /* Programs */
    .programs-container { grid-template-columns: 1fr; gap: 16px; }
    .program-card { padding: 22px; }



    /* Testimonials */
    .testimonials-container { grid-template-columns: 1fr; }

    /* CTA Section */
    .cta-section { padding: 60px 0; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .cta-button { width: 100%; max-width: 300px; justify-content: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer { padding: 40px 0 16px; }

    #wa-float-btn { bottom: 20px !important; right: 16px !important; width: 52px !important; height: 52px !important; }
}

/* Small mobile (max 480px) */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 90px 0 40px; }
    .hero-content h1 { font-size: 1.9rem !important; }
    .hero-image img { max-width: 100%; }
    .hero-stats { gap: 8px; }
    .stat-item { padding: 10px; min-width: 60px; }
    .stat-item h3 { font-size: 1.2rem; }
    .stat-item p { font-size: 0.75rem; }
    .cta-button { padding: 12px 20px; font-size: 0.9rem; }
    .program-card { padding: 18px; }
    .section-header h2 { font-size: 1.5rem !important; }
    .section-subtitle { font-size: 0.92rem; }
    .footer-about h3 { font-size: 1.2rem; }

}

/* ============================================
   BLOG & ARTIKEL STYLES
   ============================================ */

/* ===== HERO BLOG ===== */
.blog-hero {
    padding: 130px 0 60px;
    background: linear-gradient(135deg, #1a5d1a 0%, #0f3d0f 100%);
    text-align: center;
    color: white;
}

.blog-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.blog-hero-content h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.blog-hero-content h1 span { color: var(--secondary-color); }

.blog-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== LAYOUT BLOG ===== */
.blog-content-section { padding: 60px 0 80px; }

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* ===== GRID ARTIKEL ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

.article-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.article-card:hover .article-thumbnail img { transform: scale(1.07); }

.article-thumbnail.no-image { background: linear-gradient(135deg, #e8f5e8, #f0f7f0); }

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.4;
}

.article-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}

.article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.article-meta span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-meta i { color: var(--secondary-color); }

.article-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a { color: var(--text-dark); }
.article-title a:hover { color: var(--primary-color); }

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.read-more-btn:hover { gap: 10px; color: var(--primary-dark); }

.article-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag-pill {
    background: #f0f7f0;
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* ===== NO POSTS ===== */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.no-posts i { font-size: 4rem; color: var(--primary-color); opacity: 0.3; margin-bottom: 20px; }
.no-posts h3 { margin-bottom: 10px; color: var(--text-dark); }
.no-posts p { color: var(--text-light); margin-bottom: 24px; }

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

/* ===== PAGINATION ===== */
.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== SIDEBAR ===== */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
    background: white;
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f7f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i { color: var(--primary-color); }

/* Search form */
.search-form {
    display: flex;
    gap: 0;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within { border-color: var(--primary-color); }

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    background: transparent;
}

.search-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover { background: var(--primary-dark); }

/* Category list */
.category-list { display: flex; flex-direction: column; gap: 6px; }

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.category-list li a:hover { background: #f0f7f0; color: var(--primary-color); }
.cat-name { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-dark); }
.cat-name i { color: var(--primary-color); font-size: 0.8rem; }
.cat-count { background: #f0f7f0; color: var(--primary-color); font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 12px; }
.no-cat { font-size: 0.9rem; color: var(--text-light); padding: 6px 0; }

/* Recent posts */
.recent-posts-list { display: flex; flex-direction: column; gap: 14px; }

.recent-posts-list li a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: var(--transition);
}

.recent-posts-list li a:hover .recent-title { color: var(--primary-color); }

.recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

.recent-thumb.no-thumb {
    background: #f0f7f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.recent-info { display: flex; flex-direction: column; gap: 4px; }
.recent-title { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; }
.recent-date { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.recent-date i { color: var(--secondary-color); }

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    text-align: center;
    color: white;
}

.sidebar-cta i { color: #25D366; margin-bottom: 12px; display: block; }
.sidebar-cta h4 { color: white; margin-bottom: 8px; font-size: 1.1rem; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 16px; }

.sidebar-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-wa-btn:hover { background: #1ea855; transform: translateY(-2px); color: white; }

/* ===== SINGLE ARTICLE ===== */
.single-post-wrapper { padding-top: 80px; }
.single-post-section { padding: 40px 0 80px; }

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.breadcrumb-nav a { color: var(--primary-color); }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav i { font-size: 0.75rem; }

.single-article-header { margin-bottom: 28px; }

.single-cat {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.single-article-header h1 { font-size: 2rem; margin-bottom: 16px; line-height: 1.3; }

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.single-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.single-meta i { color: var(--secondary-color); }

.single-featured-image {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.single-featured-image img { width: 100%; height: auto; border-radius: 0; }

.single-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
    margin-bottom: 32px;
}

.single-content h2 { font-size: 1.5rem; margin: 30px 0 12px; color: var(--text-dark); }
.single-content h3 { font-size: 1.25rem; margin: 24px 0 10px; color: var(--text-dark); }
.single-content p { margin-bottom: 16px; }
.single-content ul, .single-content ol { padding-left: 22px; margin-bottom: 16px; }
.single-content li { margin-bottom: 6px; }
.single-content img { border-radius: 12px; max-width: 100%; height: auto; margin: 20px 0; box-shadow: var(--shadow); }
.single-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 14px 20px;
    background: #f0f7f0;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-dark);
}

/* Tags single */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 10px;
}

.single-tags span { font-size: 0.9rem; color: var(--text-light); font-weight: 600; }
.single-tags .tag-pill { text-decoration: none; }
.single-tags .tag-pill:hover { background: var(--primary-color); color: white; }

/* Share buttons */
.single-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding: 18px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.single-share span { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.share-btn:hover { transform: translateY(-2px); opacity: 0.9; color: white; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }

/* Post navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.prev-post, .next-post {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.next-post { text-align: right; }
.nav-label { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.next-post .nav-label { justify-content: flex-end; }
.prev-post a, .next-post a { font-size: 0.9rem; font-weight: 600; color: var(--primary-color); line-height: 1.4; }
.prev-post a:hover, .next-post a:hover { text-decoration: underline; }

/* Related posts */
.related-posts { margin-bottom: 40px; }
.related-posts h3 { font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.related-posts h3 i { color: var(--primary-color); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }

.related-card a { display: block; }
.related-card img { width: 100%; height: 130px; object-fit: cover; border-radius: 0; }

.related-no-img {
    height: 130px;
    background: #f0f7f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.4;
}

.related-info { padding: 12px; }
.related-info h4 { font-size: 0.88rem; color: var(--text-dark); line-height: 1.4; margin-bottom: 6px; }
.related-info span { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.related-info i { color: var(--secondary-color); }

/* Comments */
.comments-section { margin-top: 40px; }
.comments-section .comment-form input,
.comments-section .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
    transition: var(--transition);
}
.comments-section .comment-form input:focus,
.comments-section .comment-form textarea:focus { border-color: var(--primary-color); outline: none; }
.comments-section .comment-form .submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}
.comments-section .comment-form .submit:hover { background: var(--primary-dark); }

/* ===== RESPONSIVE BLOG ===== */
@media (max-width: 1024px) {
    .blog-layout { grid-template-columns: 1fr 280px; }
    .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { order: -1; }
    .articles-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .post-navigation { grid-template-columns: 1fr; }
    .single-article-header h1 { font-size: 1.6rem; }
    .blog-hero-content h1 { font-size: 2rem; }
}
