/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:#333;background:#f9fafb;line-height:1.75;font-size:17px}
a{color:#1a8a5c;text-decoration:none;transition:color .2s}
a:hover{color:#14694a}
img{max-width:100%;height:auto;display:block;border-radius:8px}
ul,ol{padding-left:1.5em}

/* ===== LAYOUT ===== */
.container{max-width:1180px;margin:0 auto;padding:0 20px}
.grid{display:grid;gap:30px}
.grid-2{grid-template-columns:1fr 1fr}
.grid-3{grid-template-columns:repeat(3,1fr)}
.content-sidebar{grid-template-columns:1fr 340px}

/* ===== HEADER ===== */
.site-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100}
.header-inner{display:flex;flex-direction:column;align-items:center;padding:18px 0 0}
.logo{font-size:28px;font-weight:700;color:#1a8a5c;display:flex;align-items:center;gap:10px;margin-bottom:12px}
.logo svg{width:36px;height:36px}
.logo span{color:#333}
nav{display:flex;align-items:center;gap:2px;padding-bottom:14px;flex-wrap:wrap;justify-content:center}
nav a{padding:8px 18px;font-size:14px;font-weight:500;color:#555;transition:all .2s;text-transform:uppercase;letter-spacing:.5px}
nav a:hover,nav a.active{color:#1a8a5c}
.menu-toggle{display:none;background:none;border:none;font-size:28px;cursor:pointer;color:#333;padding:4px 8px;position:absolute;right:20px;top:18px}

/* ===== HERO ===== */
.hero{background:linear-gradient(135deg,#e6f7f0 0%,#f0fdf4 100%);padding:60px 0;text-align:center}
.hero h1{font-size:40px;color:#1a3a2a;margin-bottom:16px;line-height:1.3}
.hero p{font-size:19px;color:#4a6a5a;max-width:640px;margin:0 auto 28px}
.hero-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ===== BUTTONS ===== */
.btn{display:inline-block;padding:12px 28px;border-radius:8px;font-weight:600;font-size:15px;transition:all .2s;border:none;cursor:pointer}
.btn-primary{background:#1a8a5c;color:#fff}
.btn-primary:hover{background:#14694a;color:#fff}
.btn-outline{border:2px solid #1a8a5c;color:#1a8a5c;background:transparent}
.btn-outline:hover{background:#1a8a5c;color:#fff}

/* ===== SECTION ===== */
.section{padding:60px 0}
.section-title{font-size:30px;font-weight:700;color:#1a3a2a;margin-bottom:8px}
.section-desc{color:#666;margin-bottom:36px;font-size:17px}

/* ===== CARDS ===== */
.card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.card-img{width:100%;height:200px;object-fit:cover;border-radius:0}
.card-body{padding:20px}
.card-category{display:inline-block;background:#e6f7f0;color:#1a8a5c;font-size:12px;font-weight:600;padding:4px 10px;border-radius:4px;margin-bottom:10px;text-transform:uppercase;letter-spacing:.5px}
.card-title{font-size:19px;font-weight:700;color:#1a3a2a;margin-bottom:8px;line-height:1.4}
.card-title a{color:inherit}
.card-title a:hover{color:#1a8a5c}
.card-excerpt{color:#666;font-size:15px;line-height:1.6;margin-bottom:12px}
.card-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:#999}
.card-meta span{display:flex;align-items:center;gap:4px}

/* ===== BLOG POST ===== */
.post-header{padding:50px 0 30px;text-align:center}
.post-header .card-category{font-size:13px;margin-bottom:14px}
.post-header h1{font-size:36px;color:#1a3a2a;margin-bottom:14px;max-width:760px;margin-left:auto;margin-right:auto;line-height:1.35}
.post-header .post-meta{color:#888;font-size:15px;display:flex;align-items:center;justify-content:center;gap:16px}
.post-featured-img{max-width:800px;margin:0 auto 40px;border-radius:12px}
.post-content{max-width:760px;margin:0 auto;padding:0 20px}
.post-content h2{font-size:26px;color:#1a3a2a;margin:36px 0 14px;padding-top:10px}
.post-content h3{font-size:21px;color:#1a3a2a;margin:28px 0 10px}
.post-content p{margin-bottom:18px;color:#444}
.post-content ul,.post-content ol{margin-bottom:18px;color:#444}
.post-content li{margin-bottom:8px}
.post-content blockquote{border-left:4px solid #1a8a5c;background:#f0fdf4;padding:16px 20px;margin:24px 0;border-radius:0 8px 8px 0;color:#2d5a3f;font-style:italic}
.post-content strong{color:#1a3a2a}
.post-content .tip-box{background:#e6f7f0;border:1px solid #b8e6d0;border-radius:8px;padding:16px 20px;margin:24px 0}
.post-content .tip-box strong{color:#1a8a5c}
.post-content .warning-box{background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;padding:16px 20px;margin:24px 0}
.post-content .step-box{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;margin:20px 0}
.post-content .step-box h3{margin-top:0;color:#1a8a5c}
.post-content img{margin:24px auto;border-radius:10px}
.post-content table{width:100%;border-collapse:collapse;margin:24px 0;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.post-content th,.post-content td{padding:12px 16px;text-align:left;border-bottom:1px solid #eee}
.post-content th{background:#f0fdf4;font-weight:600;color:#1a3a2a}

/* ===== SIDEBAR ===== */
.sidebar .widget{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.sidebar .widget-title{font-size:18px;font-weight:700;color:#1a3a2a;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid #e6f7f0}
.sidebar .recent-list{list-style:none;padding:0}
.sidebar .recent-list li{padding:10px 0;border-bottom:1px solid #f3f4f6}
.sidebar .recent-list li:last-child{border-bottom:none}
.sidebar .recent-list a{color:#444;font-size:15px;font-weight:500;line-height:1.4}
.sidebar .recent-list a:hover{color:#1a8a5c}
.sidebar .category-list{list-style:none;padding:0}
.sidebar .category-list li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f3f4f6}
.sidebar .category-list li:last-child{border-bottom:none}
.sidebar .category-list a{color:#444;font-weight:500}
.sidebar .category-list a:hover{color:#1a8a5c}
.sidebar .category-list span{background:#e6f7f0;color:#1a8a5c;font-size:12px;font-weight:600;padding:2px 8px;border-radius:10px}

/* ===== FOOTER ===== */
.site-footer{background:#1a3a2a;color:#b8d4c8;padding:50px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding-bottom:40px}
.footer-col h3{color:#fff;font-size:17px;margin-bottom:16px}
.footer-col p{font-size:15px;line-height:1.7}
.footer-col ul{list-style:none;padding:0}
.footer-col li{margin-bottom:8px}
.footer-col a{color:#b8d4c8;font-size:15px}
.footer-col a:hover{color:#5fd4a9}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;text-align:center;font-size:14px}

/* ===== LEGAL / STATIC PAGES ===== */
.page-header{background:linear-gradient(135deg,#e6f7f0 0%,#f0fdf4 100%);padding:50px 0;text-align:center}
.page-header h1{font-size:36px;color:#1a3a2a}
.page-content{max-width:800px;margin:40px auto;padding:0 20px 60px}
.page-content h2{font-size:24px;color:#1a3a2a;margin:32px 0 12px}
.page-content p,.page-content li{color:#444;margin-bottom:14px}

/* ===== CONTACT FORM ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:900px;margin:40px auto;padding:0 20px 60px}
.form-group{margin-bottom:20px}
.form-group label{display:block;font-weight:600;margin-bottom:6px;color:#1a3a2a}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:16px;font-family:inherit;transition:border-color .2s}
.form-group input:focus,.form-group textarea:focus{border-color:#1a8a5c;outline:none;box-shadow:0 0 0 3px rgba(26,138,92,.1)}
.form-group textarea{resize:vertical;min-height:140px}
.contact-info-card{background:#fff;border-radius:12px;padding:30px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.contact-info-card h3{color:#1a3a2a;margin-bottom:20px}
.contact-info-item{display:flex;gap:12px;margin-bottom:20px;color:#555}
.contact-info-item strong{display:block;color:#1a3a2a}

/* ===== BREADCRUMB ===== */
.breadcrumb{padding:12px 0;font-size:14px;color:#888}
.breadcrumb a{color:#1a8a5c}
.breadcrumb span{margin:0 6px}

/* ===== PAGINATION ===== */
.pagination{display:flex;justify-content:center;gap:8px;margin:40px 0}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;font-weight:600;font-size:15px;border:1px solid #e5e7eb;color:#555;background:#fff}
.pagination .current{background:#1a8a5c;color:#fff;border-color:#1a8a5c}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .grid-3{grid-template-columns:1fr 1fr}
  .content-sidebar{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .grid-2,.grid-3{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:16px;border-bottom:1px solid #e5e7eb;box-shadow:0 4px 12px rgba(0,0,0,.1)}
  nav.active{display:flex}
  .menu-toggle{display:block}
  .hero h1{font-size:28px}
  .post-header h1{font-size:26px}
  .section-title{font-size:24px}
}
