/* ═══════════════════════════════════════════════════
   DELIGHTS WEB SERVICES — WordPress Theme
   assets/css/main.css  |  v1.0.0
═══════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --green:        #228B22;
  --green-light:  #2eab2e;
  --green-dark:   #1a6b1a;
  --gold:         #FFD700;
  --gold-dim:     #c9aa00;
  --white:        #ffffff;
  --dark:         #0a0a0a;
  --dark-2:       #111411;
  --dark-3:       #161c16;
  --dark-4:       #1c241c;
  --gray:         #7a8a7a;
  --gray-light:   rgba(255,255,255,0.55);
  --border:       rgba(34,139,34,0.18);
  --border-gold:  rgba(255,215,0,0.25);
  --radius:       12px;
  --shadow:       0 8px 32px rgba(0,0,0,0.4);
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:        68px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(34,139,34,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,139,34,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ── SKIP LINK ── */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--green); color: #fff; padding: 8px 16px; z-index: 9999; }
.skip-link:focus { top: 0; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { margin-bottom: 1.25em; color: rgba(255,255,255,0.75); }
p:last-child { margin-bottom: 0; }

/* ── BUTTONS ── */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.5px; cursor: pointer; border: none;
  text-decoration: none; transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(34,139,34,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34,139,34,0.5); color: var(--white); }

.btn-outline {
  border: 1.5px solid rgba(255,215,0,0.5);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,215,0,0.08); border-color: var(--gold); color: var(--gold); }

/* ── NAVBAR ── */
.site-navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(8,10,8,0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.navbar-inner {
  max-width: 1300px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; }

.nav-logo-fallback {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--dark);
  flex-shrink: 0;
}

.nav-brand-text {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--white);
  line-height: 1.2;
}
.nav-brand-text span { display: block; font-size: 0.58rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 400; }

/* Menu */
.nav-menu-wrap { display: flex; align-items: center; gap: 8px; }
.nav-menu { display: flex; gap: 4px; list-style: none; }
.nav-menu li a {
  color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: all 0.2s;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a { color: var(--white); background: rgba(34,139,34,0.1); }

/* Sub-menus */
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s; z-index: 999;
}
.nav-menu li { position: relative; }
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; }

.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white) !important;
  padding: 9px 20px; border-radius: 7px;
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; gap: 7px;
  transition: all 0.2s; margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(34,139,34,0.45); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; display: block; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BLOG HERO ── */
.blog-hero {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, #060e06 0%, #0d1a0d 60%, #0a0a0a 100%);
  padding: 72px 5% 56px;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(34,139,34,0.1) 0%, transparent 60%);
}
.blog-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }

.page-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 16px;
}
.page-label::before { content: ''; width: 20px; height: 2px; background: var(--gold); }

.blog-hero-title {
  font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 16px; color: var(--white);
}
.blog-hero-title span { color: var(--green-light); }

.blog-hero-sub {
  font-size: 1.05rem; color: var(--gray-light); line-height: 1.7; max-width: 600px; margin: 0 auto;
}

/* ── LAYOUT ── */
.blog-layout, .single-layout { position: relative; z-index: 1; padding: 48px 5% 80px; }
.blog-layout-inner, .single-layout-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}

.posts-area { min-width: 0; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  margin-bottom: 32px;
}
.breadcrumbs ol {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  list-style: none; font-size: 0.8rem; color: var(--gray);
}
.breadcrumbs a { color: var(--gray); }
.breadcrumbs a:hover { color: var(--green-light); }
.bc-sep { color: rgba(255,255,255,0.2); font-size: 0.65rem; }

/* ── FEATURED POST ── */
.post-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  margin-bottom: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.post-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.featured-image-link { display: block; overflow: hidden; }
.featured-image { position: relative; height: 100%; min-height: 320px; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-featured:hover .featured-image img { transform: scale(1.04); }
.featured-overlay { position: absolute; inset: 0; background: linear-gradient(to right, transparent, rgba(10,10,10,0.5)); }
.featured-placeholder { width: 100%; height: 100%; min-height: 320px; background: var(--dark-4); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gray); }

.featured-content { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.featured-title { font-family: var(--font-head); font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; line-height: 1.2; color: var(--white); }
.featured-title a { color: inherit; text-decoration: none; }
.featured-title a:hover { color: var(--gold); }
.featured-excerpt { font-size: 0.9rem; color: var(--gray-light); line-height: 1.7; }

.featured-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.featured-meta { display: flex; align-items: center; gap: 12px; }
.featured-author { font-weight: 600; font-size: 0.88rem; }
.featured-date { font-size: 0.78rem; color: var(--gray); }

/* ── POST GRID ── */
.posts-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-bottom: 40px;
}

/* ── POST CARD ── */
.post-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  position: relative;
}
.post-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(34,139,34,0.4); box-shadow: var(--shadow); }
.post-card:hover::before { transform: scaleX(1); }

.post-card-image-link { display: block; overflow: hidden; }
.post-card-image { position: relative; height: 200px; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.post-card:hover .post-card-image img { transform: scale(1.06); }
.post-card-placeholder { width: 100%; height: 100%; background: var(--dark-4); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--gray); }

.post-card-cat {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
  border: 1px solid; text-decoration: none;
  transition: opacity 0.2s;
}

.post-card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.post-card-meta { display: flex; align-items: center; gap: 14px; font-size: 0.75rem; color: var(--gray); }
.post-card-meta i { font-size: 0.7rem; }

.post-card-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.post-card-title a { color: var(--white); text-decoration: none; }
.post-card-title a:hover { color: var(--gold); }

.post-card-excerpt { font-size: 0.85rem; color: var(--gray); line-height: 1.65; flex: 1; }

.post-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.post-card-author { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--gray); }
.post-card-avatar { border-radius: 50%; }

.post-card-cta { font-size: 0.8rem; font-weight: 700; color: var(--green-light); display: flex; align-items: center; gap: 5px; }
.post-card-cta:hover { color: var(--gold); }

.read-more-link { font-size: 0.85rem; font-weight: 600; color: var(--green-light); display: inline-flex; align-items: center; gap: 5px; }
.read-more-link:hover { color: var(--gold); }

/* ── PAGINATION ── */
.pagination-wrap { margin-top: 16px; }
.page-numbers {
  display: flex; align-items: center; gap: 8px; list-style: none;
  justify-content: center; flex-wrap: wrap;
}
.page-numbers li a, .page-numbers li span {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.2s;
}
.page-numbers li a:hover { background: rgba(34,139,34,0.15); border-color: var(--green); color: var(--white); }
.page-numbers li .current { background: var(--green); border-color: var(--green); color: var(--white); }
.page-numbers .prev a, .page-numbers .next a { width: auto; padding: 0 16px; gap: 6px; }

/* ── SINGLE POST HERO ── */
.post-hero {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--dark-2);
}
.post-hero.has-thumbnail { min-height: 480px; display: flex; align-items: flex-end; }

.post-hero-image {
  position: absolute; inset: 0;
}
.post-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.15) 100%);
}

.post-hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto;
  padding: 60px 5% 48px;
  width: 100%;
}
.post-hero.no-thumbnail .post-hero-content { padding-top: 48px; }

.post-cat-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
  border: 1px solid; text-decoration: none; margin-bottom: 16px;
  transition: opacity 0.2s;
}

.post-hero-title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15; max-width: 840px; margin-bottom: 20px;
  color: var(--white);
}

.post-hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
}
.post-meta-item { display: flex; align-items: center; gap: 7px; }
.post-meta-item i { font-size: 0.75rem; color: var(--green-light); }
.author-avatar { border-radius: 50%; }

/* ── SINGLE LAYOUT ── */
.single-layout { padding: 0 5% 80px; }
.single-layout-inner { grid-template-columns: 1fr 300px; }

/* ── ARTICLE BODY ── */
.article-body { position: relative; z-index: 1; }

/* Table of Contents */
.toc-box {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.toc-title { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.toc-list { list-style: none; }
.toc-list li { padding: 5px 0; font-size: 0.85rem; }
.toc-list li a { color: rgba(255,255,255,0.65); }
.toc-list li a:hover { color: var(--green-light); }
.toc-list li.toc-h3 { padding-left: 16px; font-size: 0.8rem; }

/* ── ENTRY CONTENT (WP editor output) ── */
.entry-content { font-size: 1rem; line-height: 1.85; }

.entry-content h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin: 2.2em 0 0.6em; color: var(--white); padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.entry-content h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 1.8em 0 0.5em; color: var(--white); }
.entry-content h4 { font-size: 1.1rem; margin: 1.4em 0 0.4em; color: var(--white); }

.entry-content p { margin-bottom: 1.4em; color: rgba(255,255,255,0.78); }

.entry-content a { color: var(--green-light); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--gold); }

.entry-content ul, .entry-content ol { margin: 0 0 1.4em 1.5em; color: rgba(255,255,255,0.78); }
.entry-content li { margin-bottom: 0.5em; }
.entry-content ul li::marker { color: var(--green-light); }
.entry-content ol li::marker { color: var(--gold); font-weight: 700; }

.entry-content blockquote {
  border-left: 4px solid var(--green);
  background: rgba(34,139,34,0.06);
  padding: 20px 24px; margin: 2em 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content blockquote p { color: rgba(255,255,255,0.85); font-style: italic; font-size: 1.05rem; margin: 0; }

.entry-content code {
  background: rgba(34,139,34,0.12);
  border: 1px solid rgba(34,139,34,0.25);
  padding: 2px 7px; border-radius: 4px;
  font-family: monospace; font-size: 0.88em; color: #7dc87d;
}

.entry-content pre {
  background: #0d140d;
  border: 1px solid rgba(34,139,34,0.2);
  border-radius: var(--radius);
  padding: 24px; overflow-x: auto; margin: 1.8em 0;
}
.entry-content pre code { background: none; border: none; padding: 0; color: #a8d8a8; font-size: 0.9rem; }

.entry-content table {
  width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 0.9rem;
}
.entry-content th {
  background: rgba(34,139,34,0.12); color: var(--gold); font-family: var(--font-head);
  font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
}
.entry-content td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.75); }
.entry-content tr:hover td { background: rgba(34,139,34,0.04); }

.entry-content img { border-radius: var(--radius); margin: 1.5em auto; }

.entry-content .wp-caption { text-align: center; }
.entry-content .wp-caption-text { font-size: 0.8rem; color: var(--gray); font-style: italic; margin-top: 8px; }

.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }

/* ── TAGS ── */
.post-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tags-label { font-size: 0.8rem; font-weight: 600; color: var(--gray); display: flex; align-items: center; gap: 6px; margin-right: 4px; }
.tag-pill {
  background: rgba(34,139,34,0.1); border: 1px solid rgba(34,139,34,0.25);
  color: rgba(255,255,255,0.65); padding: 4px 12px; border-radius: 100px;
  font-size: 0.78rem; text-decoration: none; transition: all 0.2s;
}
.tag-pill:hover { background: rgba(34,139,34,0.2); color: var(--white); border-color: var(--green); }

/* ── SHARE BAR ── */
.share-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 20px 24px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 32px 0;
}
.share-label { font-size: 0.82rem; font-weight: 700; color: var(--gray); }
.share-links { display: flex; gap: 8px; }
.share-btn {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.share-x        { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.share-linkedin { background: rgba(10,102,194,0.15); color: #4a9edd; }
.share-facebook { background: rgba(24,119,242,0.15); color: #5b9eff; }
.share-whatsapp { background: rgba(37,211,102,0.15); color: #25d366; }
.share-copy     { background: rgba(255,215,0,0.1); color: var(--gold); }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.3); }

/* ── POST NAVIGATION ── */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 36px 0;
}
.post-nav-prev, .post-nav-next {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: border-color 0.2s;
}
.post-nav-next { text-align: right; }
.post-nav-prev:hover, .post-nav-next:hover { border-color: rgba(34,139,34,0.4); }
.post-nav-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.post-nav-next .post-nav-label { justify-content: flex-end; }
.post-nav-link { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--white); text-decoration: none; }
.post-nav-link:hover { color: var(--gold); }

/* ── AUTHOR BIO ── */
.author-bio-box {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 36px 0;
}
.author-bio-avatar { border-radius: 50%; flex-shrink: 0; }
.author-bio-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.author-bio-role { font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.author-bio-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.65; margin: 0; }

/* ── RELATED POSTS ── */
.related-posts { margin: 48px 0; }
.related-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; color: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── SIDEBAR ── */
.blog-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget, .widget {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; overflow: hidden;
}

.widget-title {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ''; width: 14px; height: 3px; background: var(--gold); border-radius: 2px; }

/* Search widget */
.search-form { display: flex; gap: 8px; }
.search-field { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--white); font-family: var(--font-body); font-size: 0.88rem; outline: none; }
.search-field:focus { border-color: var(--green); }
.search-submit { background: var(--green); border: none; border-radius: 8px; padding: 10px 14px; color: var(--white); cursor: pointer; font-size: 0.9rem; transition: background 0.2s; }
.search-submit:hover { background: var(--green-light); }

/* Category list */
.category-list { list-style: none; }
.category-list li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.category-list li:last-child { border-bottom: none; }
.category-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 0.85rem; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.category-list a:hover { color: var(--green-light); }
.category-list .count { font-size: 0.72rem; background: rgba(34,139,34,0.15); color: var(--green-light); padding: 2px 8px; border-radius: 100px; }

/* Recent posts */
.recent-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.recent-item { display: flex; gap: 12px; align-items: flex-start; }
.recent-thumb { width: 64px; height: 48px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info { flex: 1; }
.recent-title { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.8); text-decoration: none; line-height: 1.35; display: block; margin-bottom: 3px; }
.recent-title:hover { color: var(--gold); }
.recent-date { font-size: 0.72rem; color: var(--gray); }

/* Tags widget */
.widget-tags a, .tagcloud a {
  display: inline-block;
  background: rgba(34,139,34,0.08); border: 1px solid rgba(34,139,34,0.2);
  color: rgba(255,255,255,0.6) !important;
  padding: 3px 10px; border-radius: 100px; margin: 0 2px 6px 0;
  font-size: 0.78rem !important; text-decoration: none; transition: all 0.2s;
}
.widget-tags a:hover, .tagcloud a:hover { background: rgba(34,139,34,0.2); color: var(--white) !important; }

/* Sidebar CTA */
.sidebar-cta-card {
  background: linear-gradient(135deg, rgba(34,139,34,0.12), var(--dark-3));
  border-radius: 10px; text-align: center; padding: 4px;
}
.sidebar-cta-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.sidebar-cta-card h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.sidebar-cta-card p { font-size: 0.82rem; color: var(--gray); margin-bottom: 16px; }
.sidebar-cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white); padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 0.82rem; text-decoration: none;
  transition: all 0.2s;
}
.sidebar-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(34,139,34,0.4); color: var(--white); }

/* ── COMMENTS ── */
.comments-area { margin-top: 48px; }
.comments-title, #reply-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; color: var(--white); }

.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-body { display: flex; gap: 16px; }
.comment-meta .fn { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.comment-meta time { font-size: 0.75rem; color: var(--gray); }
.comment-content p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin: 8px 0; }
.comment-reply-link { font-size: 0.78rem; color: var(--green-light); text-decoration: none; }

/* Comment form */
#commentform label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray); margin-bottom: 6px; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 14px; color: var(--white);
  font-family: var(--font-body); font-size: 0.9rem; outline: none;
  transition: border-color 0.2s; margin-bottom: 16px;
}
#commentform input:focus, #commentform textarea:focus { border-color: var(--green); }
#commentform textarea { min-height: 120px; resize: vertical; }

#commentform .submit {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white); border: none; border-radius: 8px;
  padding: 12px 28px; font-family: var(--font-head); font-weight: 700;
  font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
#commentform .submit:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(34,139,34,0.4); }

/* ── PAGE TEMPLATE ── */
.page-hero { background: var(--dark-2); padding: 56px 5% 48px; }
.page-hero-inner { max-width: 1300px; margin: 0 auto; }
.page-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-layout { padding: 48px 5% 80px; position: relative; z-index: 1; }
.page-layout-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.page-featured-image { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.page-content .entry-content { max-width: 720px; }

/* ── SEARCH RESULTS ── */
.no-content { text-align: center; padding: 64px 20px; }
.no-content-icon { font-size: 4rem; margin-bottom: 20px; }
.no-content h2 { margin-bottom: 12px; }
.no-content p { color: var(--gray); margin-bottom: 28px; }

/* ── 404 ── */
.error-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.error-wrap { text-align: center; max-width: 500px; padding: 40px 20px; }
.error-code { font-family: var(--font-head); font-size: 8rem; font-weight: 800; color: var(--green-light); opacity: 0.3; line-height: 1; }
.error-wrap h1 { margin-bottom: 12px; }
.error-wrap p { color: var(--gray); margin-bottom: 28px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-search p { color: var(--gray); font-size: 0.9rem; margin-bottom: 12px; }

/* ── FOOTER ── */
.site-footer { background: #050805; border-top: 1px solid var(--border); position: relative; z-index: 1; }

.footer-top { padding: 64px 5% 40px; }
.footer-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo-link img { height: 40px; width: auto; object-fit: contain; }
.footer-logo-box { width: 38px; height: 38px; background: linear-gradient(135deg, var(--green), var(--gold)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--dark); }
.footer-brand-name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--white); line-height: 1.2; }
.footer-brand-name span { display: block; font-size: 0.58rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 400; }
.footer-tagline { font-size: 0.84rem; color: var(--gray); line-height: 1.7; max-width: 280px; margin: 0; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(34,139,34,0.1); border: 1px solid rgba(34,139,34,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.9rem; text-decoration: none;
  transition: all 0.2s;
}
.footer-socials a:hover { background: var(--green); border-color: var(--green); color: var(--white); transform: translateY(-2px); }

.footer-col .widget-title { font-size: 0.85rem; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { border-bottom: 1px solid rgba(255,255,255,0.04); }
.footer-nav-list a { display: flex; align-items: center; gap: 6px; padding: 8px 0; font-size: 0.84rem; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-nav-list a::before { content: '›'; color: var(--green); }
.footer-nav-list a:hover { color: var(--green-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 5%; }
.footer-bottom-inner { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 0.8rem; color: var(--gray); }
.footer-copyright a { color: var(--green-light); text-decoration: none; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .blog-layout-inner, .single-layout-inner, .page-layout-inner { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-template-columns: 1fr; }
  .featured-image { min-height: 240px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu-wrap { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(5,8,5,0.98); border-bottom: 1px solid var(--border); padding: 16px; flex-direction: column; gap: 8px; }
  .nav-menu-wrap.open { display: flex; }
  .nav-menu { flex-direction: column; gap: 4px; width: 100%; }
  .nav-menu li a { display: block; padding: 11px 16px; }
  .nav-cta { width: 100%; justify-content: center; }
  .nav-hamburger { display: flex; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .share-bar { flex-direction: column; align-items: flex-start; }
  .author-bio-box { flex-direction: column; }
  .blog-hero { padding: 48px 5% 36px; }
}
