:root {
  --green-900: #0c4b31;
  --green-800: #146943;
  --green-700: #1a8654;
  --green-600: #23a260;
  --green-500: #33b96d;
  --green-100: #e7f7ec;
  --green-050: #f5fcf7;
  --text: #183226;
  --muted: #5f7669;
  --white: #ffffff;
  --border: #d8ebde;
  --shadow: 0 14px 40px rgba(12, 75, 49, 0.08);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #eff9f2;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-decoration: none; }
a:hover { color: var(--green-900); }
button, input, textarea { font: inherit; }

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.screen-reader-text:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: #fff;
  padding: 12px 14px;
  border-radius: 10px;
}

.container {
  width: min(var(--container), calc(100% - 24px));
  margin-inline: auto;
}

.card,
.card-lite {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-lite {
  box-shadow: none;
  background: var(--green-050);
}

.breaking-bar {
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  color: #fff;
  font-size: 14px;
}

.breaking-bar .container {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.breaking-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(240, 251, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #d5ebdc;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.site-branding,
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-title {
  display: inline-block;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  color: var(--green-900);
}

.site-tagline {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.custom-logo {
  max-height: 58px;
  width: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: var(--green-900);
  color: #fff;
  font-weight: 700;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form label { flex: 1; }

.search-field {
  width: 100%;
  min-width: 260px;
  border: 1px solid #c8dfcf;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.search-submit,
.btn-primary,
.btn-secondary,
.submit-btn,
input[type="submit"],
button {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary,
.search-submit,
.submit-btn,
input[type="submit"] {
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  color: #fff;
}

.btn-secondary {
  background: var(--green-100);
  color: var(--green-900);
}

.main-nav { background: var(--green-900); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-list,
.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.menu-list > li > a,
.menu > li > a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-weight: 600;
}

.menu-list > li > a:hover,
.menu > li > a:hover {
  background: var(--green-700);
}

.mobile-search { display: none; }
.site-main { padding: 28px 0 86px; }

.hero {
  padding: 34px;
  margin-bottom: 24px;
}

.hero-gradient {
  background: linear-gradient(135deg, #f7fdf9 0%, #ddf4e5 100%);
}

.hero-education {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.hero-eyebrow,
.post-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  color: var(--green-900);
}

.hero p,
.section-subtitle,
.post-excerpt,
.post-meta,
.widget,
.footer-widget,
.breaking-text,
.footer-about {
  color: var(--muted);
}

.hero p {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stat,
.hero-mini-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(12, 75, 49, .08);
}

.hero-stat strong,
.hero-mini-card h2 {
  display: block;
  color: var(--green-900);
  margin-bottom: 6px;
}

.hero-stat span,
.hero-mini-card li,
.meta-row,
.compact-post-list span,
.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
}

.hero-mini-card ul,
.sidebar-link-list,
.compact-post-list,
.footer-widget-list,
.recent-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-mini-card li + li { margin-top: 8px; }

.quick-links,
.widget,
.single-post,
.ad-widget,
.page-intro,
.post-navigation,
.education-cta {
  padding: 22px;
}

.section-head,
.section-head-stack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head-stack {
  align-items: flex-start;
  flex-direction: column;
}

.section-title,
.widget-title,
.footer-title {
  margin: 0 0 12px;
  color: var(--green-900);
}

.section-title { font-size: 28px; }
.section-subtitle { margin: 0; }
.page-intro { margin-bottom: 18px; }

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-links-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  text-align: center;
  background: var(--green-050);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
}

.quick-links-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.featured-posts-block,
.related-posts-block,
.homepage-ad-wrap,
.single-ad-wrap {
  margin-bottom: 24px;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.featured-lead {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.featured-lead-thumb img,
.post-thumb img,
.single-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.featured-lead-content,
.post-body { padding: 18px; }
.featured-lead h3,
.featured-mini h3,
.post-title { margin: 12px 0 8px; line-height: 1.32; color: var(--green-900); }
.featured-mini { padding: 18px; }
.featured-side-list { display: grid; gap: 12px; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-grid--related { margin-top: 18px; }
.post-card { overflow: hidden; }
.post-thumb-link { display: block; }
.post-title { font-size: 22px; }
.post-title a,
.featured-lead h3 a,
.featured-mini h3 a { color: var(--green-900); }
.post-excerpt { margin: 8px 0 0; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sidebar-area {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-link-list li,
.footer-widget-list li,
.compact-post-list li,
.comment-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #d8eadf;
}

.sidebar-link-list li:last-child,
.footer-widget-list li:last-child,
.compact-post-list li:last-child,
.comment-list li:last-child {
  border-bottom: 0;
}

.sidebar-link-list a,
.compact-post-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
  color: var(--green-800);
}

.sidebar-link-list a::before {
  content: '›';
  margin-right: 7px;
  font-size: 16px;
  color: var(--green-600);
}

.sidebar-link-list a span { color: var(--muted); }
.compact-post-list a { display: block; margin-bottom: 4px; }

.single-title {
  margin-top: 0;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.2;
  color: var(--green-900);
}

.post-meta-article {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.single-thumb { margin: 18px 0 22px; }
.single-thumb figcaption { padding-top: 8px; font-size: 13px; color: var(--muted); }
.entry-content { font-size: 18px; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--green-900); }
.entry-content a { text-decoration: underline; }
.entry-content ul,
.entry-content ol { padding-left: 22px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.post-tags {
  margin-top: 18px;
  font-size: 14px;
}

.author-box { margin-top: 22px; padding: 18px; }
.author-box h2 { margin-top: 0; font-size: 20px; color: var(--green-900); }

.post-navigation {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-navigation .nav-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.pagination-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--green-800);
  font-weight: 700;
  font-size: 13px;
}

.pagination-wrap .page-numbers.current {
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  color: #fff;
  border-color: var(--green-900);
}

.pagination-wrap .page-numbers.dots {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.recent-comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-comment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

.sidebar-comment-item:last-child { border-bottom: none; padding-bottom: 0; }
.sc-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sc-body { flex: 1; min-width: 0; }
.sc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 2px;
}
.sc-author { font-size: 12px; font-weight: 700; color: var(--green-900); }
.sc-time,
.sc-post { font-size: 11px; color: #88a296; }
.sc-text {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  text-decoration: none;
}

.comments-area { margin-top: 24px; padding: 24px; }
.comments-title {
  font-size: 22px;
  color: var(--green-900);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-100);
}
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-body .fn { font-weight: 700; color: var(--green-900); }
.comment-metadata { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.comment-content p { font-size: 15px; margin: 0; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #c8dfcf;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  background: #f9fefb;
  font-family: inherit;
  margin-bottom: 12px;
}
.comment-form textarea { min-height: 110px; resize: vertical; }

.education-cta {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(12,75,49,.96), rgba(26,134,84,.96));
  color: #fff;
}
.education-cta h2,
.education-cta p { color: #fff; }

.empty-state { text-align: center; }
.empty-state .search-form { max-width: 640px; margin: 18px auto 0; }

.site-footer {
  margin-top: 32px;
  background: linear-gradient(180deg, var(--green-900), #083c28);
  color: #d9f4e2;
  padding-top: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.site-footer a,
.footer-title { color: #fff; }
.footer-about { font-size: 14px; line-height: 1.7; }
.footer-widget-list a { color: #c8ecd5; }
.footer-widget-list a:hover { color: #fff; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.social-fb { background: #1877f2; }
.social-yt { background: #ff0000; }
.social-tg { background: #229ed9; }
.social-tw { background: #111; }
.social-ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0c4b31;
  display: none;
  justify-content: space-around;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.08);
}

.mobile-bottom-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .desktop-search { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; padding: 12px 0; }
  .menu-list, .menu { flex-direction: column; }
  .mobile-search { display: block; width: 100%; }
  .hero-education,
  .featured-layout,
  .content-layout { grid-template-columns: 1fr; }
  .hero-stat-grid,
  .post-grid,
  .quick-links-grid,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-bottom-nav { display: flex; }
}

@media (max-width: 640px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; justify-content: space-between; }
  .hero,
  .quick-links,
  .widget,
  .single-post,
  .ad-widget,
  .education-cta,
  .page-intro,
  .post-navigation,
  .comments-area { padding: 18px; }
  .post-grid,
  .quick-links-grid,
  .hero-stat-grid,
  .footer-grid,
  .post-navigation { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-field { min-width: 100%; }
  .hero-actions { flex-direction: column; }
  .btn-primary,
  .btn-secondary,
  .search-submit { width: 100%; text-align: center; }
  .site-main { padding-bottom: 92px; }
}
