/*
Theme Name:  The Sirmour Retreat Blog
Theme URI:   https://blog.thesirmourretreat.com
Author:      The Sirmour Retreat
Author URI:  https://thesirmourretreat.com
Description: Official blog theme for The Sirmour Retreat — a luxury boutique resort in Nahan, Himachal Pradesh. Matches the main website design system: Playfair Display + Cormorant Garamond typography, forest green and gold palette.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:        blog, custom-menu, featured-images, post-formats, full-width-template
Text Domain: sirmour-retreat-blog
*/

/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════ */
:root {
  --g:    #1B4D2E;
  --gd:   #0D1F14;
  --gl:   #4CAF72;
  --gold: #C9A84C;
  --gold-l: #E8D5A0;
  --cr:   #FAF8F3;
  --mu:   #5A6B60;
  --max:  1200px;
  --pad:  clamp(20px, 5vw, 80px);
  --nav-h: 76px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #2C3E32;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: color .3s; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.sr-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-container { max-width: 780px; margin: 0 auto; padding: 0 var(--pad); }

.site-content {
  padding-top: var(--nav-h);
  min-height: 60vh;
}

/* ═══════════════════════════════════════════
   NAV — matches main site exactly
═══════════════════════════════════════════ */
#sr-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(27,77,46,.07);
  transition: box-shadow .3s;
}

#sr-nav.scrolled { box-shadow: 0 2px 24px rgba(27,77,46,.08); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 44px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g);
  padding: 8px 14px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .25s, background .25s;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: var(--g);
  background: rgba(27,77,46,.05);
}

.nav-menu > li.active > a { color: var(--gold); }

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border: 1px solid rgba(27,77,46,.07);
  min-width: 220px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s, visibility .25s;
  pointer-events: none;
}

.nav-menu .sub-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-menu > li:hover .sub-menu,
.nav-menu > li:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
  transition-delay: 0s;
}

.nav-menu > li .sub-menu { transition-delay: .1s; }

.nav-menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--g);
  letter-spacing: .5px;
  transition: background .2s, color .2s;
}

.nav-menu .sub-menu a:hover { background: var(--cr); color: var(--gold); }

.nav-ctas { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
}

.btn-gold  { background: var(--gold); color: var(--gd); border-color: var(--gold); }
.btn-gold:hover  { background: #b8952e; border-color: #b8952e; }
.btn-green { background: transparent; color: var(--g); border-color: var(--g); }
.btn-green:hover { background: var(--g); color: #fff; }
.btn-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--g);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile drawer */
#ndrawer {
  position: fixed;
  inset: 0;
  background: var(--gd);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 90px var(--pad) 40px;
}

#ndrawer.open { transform: translateX(0); }

.drawer-menu > li {
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.drawer-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
}

.drawer-sub {
  padding: 0 0 12px 16px;
  display: none;
}

.drawer-sub.open { display: block; }

.drawer-sub a {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  letter-spacing: 1px;
}

.drawer-sub a:hover { color: var(--gold); }

.drawer-ctas {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ═══════════════════════════════════════════
   BLOG HERO / PAGE HERO
═══════════════════════════════════════════ */
.blog-hero {
  background: var(--gd);
  padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 7vw, 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,168,76,.1) 0%, transparent 60%);
}

.blog-hero-content { position: relative; z-index: 1; }

.blog-hero-eye {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.blog-hero-eye::before, .blog-hero-eye::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 14px;
}

.blog-hero h1 em { font-style: italic; color: var(--gold-l); }

.blog-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2vw, 21px);
  color: rgba(255,255,255,.55);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.72;
}

/* ═══════════════════════════════════════════
   BLOG INDEX — GRID
═══════════════════════════════════════════ */
.blog-index { padding: clamp(56px, 7vw, 96px) 0; background: var(--cr); }

.blog-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

/* Featured post (first post, full-width card) */
.post-featured {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(27,77,46,.08);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transition: box-shadow .35s;
}

.post-featured:hover { box-shadow: 0 12px 48px rgba(27,77,46,.14); }

.post-featured .pf-img {
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.post-featured .pf-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.post-featured:hover .pf-img img { transform: scale(1.04); }

.post-featured .pf-body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Regular post cards */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.post-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,77,46,.06);
  transition: box-shadow .35s, transform .35s;
}

.post-card:hover {
  box-shadow: 0 12px 40px rgba(27,77,46,.12);
  transform: translateY(-4px);
}

.pc-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.post-card:hover .pc-img img { transform: scale(1.05); }

.pc-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--g) 0%, var(--gd) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-img-placeholder svg { color: rgba(255,255,255,.15); }

.pc-body { padding: 22px 20px; }

/* Shared post meta */
.post-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--g);
  line-height: 1.25;
  margin-bottom: 10px;
  transition: color .3s;
}

.post-title a:hover { color: var(--gold); }

.post-featured .post-title { font-size: clamp(22px, 2.5vw, 32px); }
.post-card     .post-title { font-size: clamp(16px, 1.8vw, 20px); }

.post-excerpt {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.75;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-featured .post-excerpt { -webkit-line-clamp: 4; font-size: 14px; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #9aaa9f;
}

.post-meta svg { color: var(--gold); flex-shrink: 0; }

.post-meta-item { display: flex; align-items: center; gap: 5px; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g);
  margin-top: 16px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}

.read-more:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.blog-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

.sidebar-widget {
  background: #fff;
  border-radius: 5px;
  padding: 28px 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(27,77,46,.07);
}

.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--g);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(27,77,46,.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-title::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Search widget */
.widget-search { display: flex; gap: 8px; }

.widget-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(27,77,46,.15);
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--g);
  outline: none;
  transition: border-color .25s;
}

.widget-search input:focus { border-color: var(--gold); }

.widget-search button {
  padding: 10px 14px;
  background: var(--g);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .3s;
}

.widget-search button:hover { background: var(--gold); }

/* Category list */
.cat-list { display: flex; flex-direction: column; gap: 0; }

.cat-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(27,77,46,.06);
  font-size: 13px;
}

.cat-list li:last-child { border-bottom: none; }

.cat-list a { color: var(--g); transition: color .3s; }
.cat-list a:hover { color: var(--gold); }

.cat-count {
  font-size: 11px;
  background: var(--cr);
  color: var(--mu);
  padding: 2px 8px;
  border-radius: 30px;
}

/* Recent posts in sidebar */
.recent-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(27,77,46,.06);
}

.recent-post:last-child { border-bottom: none; }

.rp-img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 3px;
  overflow: hidden;
}

.rp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--g);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rp-title a:hover { color: var(--gold); }

.rp-date { font-size: 11px; color: #9aaa9f; }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }

.tag-cloud a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 30px;
  border: 1.5px solid rgba(27,77,46,.15);
  color: var(--g);
  transition: all .3s;
}

.tag-cloud a:hover {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

/* Resort CTA widget */
.widget-resort-cta {
  background: var(--gd);
  color: #fff;
  border-radius: 5px;
  padding: 28px 24px;
  margin-bottom: 20px;
  text-align: center;
}

.wrc-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.wrc-title em { font-style: italic; color: var(--gold-l); }

.wrc-body {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ═══════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════ */
.single-hero {
  background: var(--gd);
  padding: clamp(60px, 8vw, 100px) 0 0;
  position: relative;
  overflow: hidden;
}

.single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,168,76,.08) 0%, transparent 60%);
}

.single-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 5vw, 60px);
  text-align: center;
}

.single-cats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.single-cat-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  padding: 5px 14px;
  border-radius: 30px;
  transition: all .3s;
}

.single-cat-link:hover { background: var(--gold); color: var(--gd); }

.single-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}

.single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 0;
}

.single-meta svg { color: var(--gold); }
.single-meta-item { display: flex; align-items: center; gap: 6px; }

/* Featured image */
.single-featured-img {
  margin-top: 40px;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--pad);
}

.single-featured-img img {
  width: 100%;
  border-radius: 6px 6px 0 0;
  display: block;
  box-shadow: 0 -8px 48px rgba(0,0,0,.3);
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Post content area */
.single-content-wrap {
  background: #fff;
  padding: clamp(48px, 6vw, 80px) 0;
}

.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Post body typography */
.post-body { max-width: 680px; }

.post-body p {
  font-size: 16px;
  line-height: 1.9;
  color: #2C3E32;
  margin-bottom: 24px;
}

.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--g);
  margin: 44px 0 16px;
  line-height: 1.2;
}

.post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--g);
  margin: 32px 0 12px;
}

.post-body h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 10px;
}

.post-body a {
  color: var(--g);
  border-bottom: 1px solid rgba(27,77,46,.3);
  transition: color .3s, border-color .3s;
}

.post-body a:hover { color: var(--gold); border-color: var(--gold); }

.post-body ul, .post-body ol {
  margin: 0 0 24px 20px;
  list-style: disc;
}

.post-body ol { list-style: decimal; }

.post-body li {
  font-size: 15px;
  line-height: 1.8;
  color: #2C3E32;
  margin-bottom: 6px;
}

.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--cr);
  border-radius: 0 4px 4px 0;
}

.post-body blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--g);
  margin-bottom: 0;
  line-height: 1.7;
}

.post-body blockquote cite {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mu);
  margin-top: 12px;
  font-style: normal;
}

.post-body img {
  width: 100%;
  border-radius: 4px;
  margin: 28px 0;
}

.post-body figure { margin: 28px 0; }

.post-body figcaption {
  font-size: 12px;
  color: var(--mu);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.post-body .wp-block-separator, .post-body hr {
  border: none;
  border-top: 1px solid rgba(27,77,46,.1);
  margin: 40px 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.post-body th {
  background: var(--g);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.post-body td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(27,77,46,.08);
  color: #2C3E32;
}

.post-body tr:hover td { background: var(--cr); }

/* Post tags */
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(27,77,46,.08);
}

.post-tags-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mu);
}

.post-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border: 1.5px solid rgba(27,77,46,.15);
  border-radius: 30px;
  color: var(--g);
  transition: all .3s;
}

.post-tag:hover { background: var(--g); color: #fff; border-color: var(--g); }

/* Author box */
.author-box {
  margin-top: 44px;
  padding: 28px;
  background: var(--cr);
  border-radius: 5px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid rgba(27,77,46,.07);
}

.author-avatar {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--g);
  margin-bottom: 4px;
}

.author-role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.author-bio { font-size: 13px; color: var(--mu); line-height: 1.7; }

/* Related posts */
.related-posts {
  background: var(--cr);
  padding: clamp(56px, 6vw, 80px) 0;
}

.related-posts h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--g);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.related-posts h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(27,77,46,.12);
}

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

/* ═══════════════════════════════════════════
   ARCHIVE / CATEGORY / TAG
═══════════════════════════════════════════ */
.archive-header {
  background: var(--gd);
  padding: clamp(56px, 7vw, 88px) 0 clamp(44px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,168,76,.1) 0%, transparent 60%);
}

.archive-header-content { position: relative; z-index: 1; }

.archive-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.archive-type::before, .archive-type::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
}

.archive-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.archive-desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.sr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.sr-pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid rgba(27,77,46,.15);
  color: var(--g);
  transition: all .3s;
}

.sr-pagination .page-numbers:hover,
.sr-pagination .page-numbers.current {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

.sr-pagination .prev, .sr-pagination .next {
  width: auto;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════ */
.sr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.sr-breadcrumb a { color: rgba(255,255,255,.4); transition: color .3s; }
.sr-breadcrumb a:hover { color: var(--gold); }
.sr-breadcrumb .sep { color: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════
   COMMENTS
═══════════════════════════════════════════ */
.comments-area {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(27,77,46,.08);
}

.comments-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--g);
  margin-bottom: 28px;
}

.comment-list { margin-bottom: 40px; }

.comment {
  padding: 20px 0;
  border-bottom: 1px solid rgba(27,77,46,.07);
}

.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.comment-author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--g);
}

.comment-date {
  font-size: 11px;
  color: var(--mu);
}

.comment-body { font-size: 14px; color: #2C3E32; line-height: 1.75; }

/* Comment form */
.comment-respond { margin-top: 32px; }

.comment-respond h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--g);
  margin-bottom: 22px;
}

.comment-form p { margin-bottom: 16px; }

.comment-form label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 6px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(27,77,46,.15);
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: #2C3E32;
  outline: none;
  transition: border-color .25s;
  background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--gold); }

.comment-form textarea { resize: vertical; min-height: 120px; }

.comment-form input[type="submit"] {
  width: auto;
  background: var(--g);
  color: #fff;
  border: 2px solid var(--g);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  padding: 12px 28px;
  transition: background .3s;
}

.comment-form input[type="submit"]:hover { background: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.sr-footer {
  background: var(--gd);
  padding: clamp(56px, 6vw, 80px) 0 0;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ft-brand { }

.ft-logo { height: 48px; width: auto; margin-bottom: 18px; }

.ft-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 260px;
}

.ft-socials { display: flex; gap: 10px; }

.ft-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  transition: all .3s;
}

.ft-social:hover { border-color: var(--gold); color: var(--gold); }

.ft-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.ft-col ul { display: flex; flex-direction: column; gap: 8px; }

.ft-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  transition: color .3s;
}

.ft-col ul li a:hover { color: var(--gold); }

.ft-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.2);
}

.ft-bottom a { color: rgba(255,255,255,.2); }
.ft-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 998;
  transition: transform .3s, box-shadow .3s;
}

.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

.wa-btn svg { color: #fff; }

/* ═══════════════════════════════════════════
   UTILITY & RESPONSIVE
═══════════════════════════════════════════ */
.section-eye {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.gold-bar {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0 20px;
}

.gold-bar.center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }

/* Screen reader only */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media(max-width: 1080px) {
  .nav-menu, .nav-ctas { display: none; }
  .nav-toggle { display: flex; }
  .blog-grid-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .single-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .pf-img { min-height: 240px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; }
}

@media(max-width: 480px) {
  .single-meta { flex-direction: column; gap: 8px; }
  .sr-pagination .prev, .sr-pagination .next { font-size: 10px; padding: 0 10px; }
}
