/* ═══════════════════════════════════════════════════
   MANGO STOCK MORTGAGE — INNER PAGES & BLOG STYLES
   Extends style.css — enqueue separately or @import
═══════════════════════════════════════════════════ */

/* ── PAGE HERO (shared across all inner pages) ── */
.page-hero {
  padding-top: 70px;
  background: var(--forest);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.page-hero-inner {
  padding: 72px 56px 64px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero-wm {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  height: 130%;
  opacity: 0.045;
  filter: brightness(10);
  pointer-events: none;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.2); }
.page-hero-breadcrumb .current { color: var(--gold); }

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: white;
  margin-bottom: 10px;
}
.page-hero-rule {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px;
  margin-top: 20px;
}
.page-hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  max-width: 560px;
  margin-top: 18px;
}

/* ── PAGE CONTENT WRAPPER ── */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 56px;
}
.page-content--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 56px;
}

/* ── CONTENT GRID: sidebar layout ── */
.content-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: start;
  padding: 80px 56px;
  max-width: 1200px;
  margin: 0 auto;
}
.content-sidebar-grid .sidebar {
  position: sticky;
  top: 90px;
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.about-split:nth-child(even) .about-split-visual { order: 1; }
.about-split:nth-child(even) .about-split-copy   { order: 0; }

.about-split-visual {
  position: relative;
}
.about-img-block {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-img-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(240,112,32,0.07), transparent 65%);
}
.about-img-block img {
  width: 75%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 40px rgba(240,112,32,0.16));
  animation: msm-bob 7s ease-in-out infinite;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
}
.team-card:hover { box-shadow: 0 14px 44px rgba(26,61,40,0.09); transform: translateY(-4px); }
.team-card-photo {
  height: 200px;
  background: var(--forest);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-photo-placeholder {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.2);
}
.team-card-photo-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.team-card-body { padding: 24px 24px 28px; }
.team-card-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 4px;
}
.team-card-title {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-card-nmls {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.value-card-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(240,112,32,0.08);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}
.value-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.value-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 8px;
}
.value-card-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════
   LOAN PRODUCTS PAGE (archive/single)
═══════════════════════════════════════════════════ */
.loan-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.filter-btn.active-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.products-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-full-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  display: flex;
  flex-direction: column;
}
.product-full-card:hover {
  box-shadow: 0 16px 48px rgba(26,61,40,0.1);
  transform: translateY(-5px);
  border-color: rgba(240,112,32,0.25);
}
.product-full-card-header {
  height: 8px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.product-full-card-header.qm-header {
  background: linear-gradient(90deg, var(--forest), var(--forest2));
}
.product-full-card-body { padding: 32px 28px; flex: 1; }
.product-full-card-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}
.product-full-card-tag.qm  { background: rgba(26,61,40,0.08);  color: var(--forest); }
.product-full-card-tag.nqm { background: rgba(240,112,32,0.1);  color: var(--orange); }
.product-full-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 12px;
}
.product-full-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 20px;
}
.product-full-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-full-card-features li {
  font-size: 0.85rem;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.product-full-card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.product-full-card-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
}
.product-full-card-footer a {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
}
.product-full-card-footer a:hover { color: var(--orange); gap: 12px; }
.product-full-card-footer a::after { content: '→'; }

/* Single Product page */
.product-single-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.product-single-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--forest);
  margin: 40px 0 14px;
}
.product-single-content h2:first-child { margin-top: 0; }
.product-single-content p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 18px;
}
.product-single-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-single-content ul li {
  font-size: 0.95rem;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.product-single-content ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.product-sidebar-card {
  background: var(--forest);
  border-radius: 16px;
  padding: 36px 30px;
  position: sticky;
  top: 90px;
  color: white;
}
.product-sidebar-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.product-sidebar-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 300;
}
.product-sidebar-card .btn-primary {
  display: block;
  text-align: center;
  margin-bottom: 12px;
}
.product-sidebar-quick {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.product-sidebar-quick-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.product-sidebar-quick-row:last-child { border-bottom: none; }
.product-sidebar-quick-row span:first-child { color: rgba(255,255,255,0.45); font-weight: 300; }
.product-sidebar-quick-row span:last-child  { color: white; font-weight: 600; font-family: 'Syne', sans-serif; font-size: 0.82rem; }

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.contact-info-panel {
  background: var(--forest);
  border-radius: 20px;
  padding: 48px 40px;
  position: sticky;
  top: 90px;
  color: white;
  overflow: hidden;
  position: relative;
}
.contact-info-panel-wm {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  opacity: 0.05;
  filter: brightness(10);
  pointer-events: none;
  transform: rotate(-10deg);
}
.contact-info-panel h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.contact-info-panel-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 300;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(240,112,32,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid rgba(240,112,32,0.3);
}
.contact-info-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.93rem;
  color: white;
  font-weight: 400;
  text-decoration: none;
}
.contact-info-value:hover { color: var(--gold); }

.contact-hours {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-hours h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.contact-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.contact-hours-row span:last-child { color: rgba(255,255,255,0.8); font-weight: 500; }

.contact-page-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 52px 48px;
}
.contact-page-form-wrap h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 6px;
}
.contact-page-form-wrap p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════
   BLOG ARCHIVE PAGE
═══════════════════════════════════════════════════ */
.blog-archive { background: var(--off); }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  padding: 72px 56px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Featured Post */
.blog-featured {
  margin-bottom: 56px;
}
.blog-featured-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: box-shadow 0.22s, transform 0.22s;
}
.blog-featured-card:hover {
  box-shadow: 0 20px 60px rgba(26,61,40,0.1);
  transform: translateY(-4px);
}
.blog-featured-img {
  background: var(--forest);
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-img-placeholder {
  width: 55%;
  opacity: 0.08;
  filter: brightness(10);
  transform: rotate(-10deg);
}
.blog-featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,61,40,0.8) 0%, rgba(240,112,32,0.3) 100%);
}
.blog-featured-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.blog-cat {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(240,112,32,0.1);
  color: var(--orange);
}
.blog-cat.cat-qm {
  background: rgba(26,61,40,0.08);
  color: var(--forest);
}
.blog-date {
  font-size: 0.78rem;
  color: var(--muted);
}
.blog-read-time {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-featured-body h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.blog-featured-body h2 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.blog-featured-body h2 a:hover { color: var(--orange); }
.blog-featured-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 28px;
}
.blog-read-more {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.blog-read-more:hover { color: var(--orange); border-color: var(--orange); gap: 12px; }
.blog-read-more::after { content: '→'; }

/* Blog Post Grid */
.blog-posts-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-posts-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(26,61,40,0.08);
  transform: translateY(-4px);
  border-color: rgba(240,112,32,0.2);
}
.blog-card-img {
  height: 180px;
  background: var(--forest);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img-placeholder {
  width: 50%;
  opacity: 0.06;
  filter: brightness(10);
  transform: rotate(-8deg);
}
.blog-card-img-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.blog-card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.blog-card-body h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.blog-card-body h3 a:hover { color: var(--orange); }
.blog-card-body p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.72;
  font-weight: 300;
  margin-bottom: 18px;
  flex: 1;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--muted);
}
.blog-card-author-avatar {
  width: 28px;
  height: 28px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 0 0;
}
.page-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.18s;
}
.page-num:hover,
.page-num.current {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.page-dots { color: var(--muted); font-size: 0.9rem; padding: 0 4px; }

/* Blog Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 28px; }
.blog-sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}
.blog-sidebar-widget-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-sidebar-widget-title::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.sidebar-search {
  display: flex;
  gap: 0;
}
.sidebar-search input {
  flex: 1;
  background: var(--off);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 11px 14px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--charcoal);
  outline: none;
}
.sidebar-search input:focus { border-color: var(--orange); }
.sidebar-search button {
  background: var(--forest);
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 11px 16px;
  color: white;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.sidebar-search button:hover { background: var(--orange); }

.sidebar-cats { list-style: none; padding: 0; margin: 0; }
.sidebar-cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a {
  font-size: 0.88rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}
.sidebar-cats a:hover { color: var(--orange); }
.sidebar-cats-count {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--off);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 100px;
}

.sidebar-recent { list-style: none; padding: 0; margin: 0; }
.sidebar-recent li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-recent-thumb {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--forest);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-thumb-placeholder {
  width: 70%;
  opacity: 0.1;
  filter: brightness(10);
}
.sidebar-recent a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
  display: block;
  margin-bottom: 4px;
}
.sidebar-recent a:hover { color: var(--orange); }
.sidebar-recent-date { font-size: 0.76rem; color: var(--muted); }

.sidebar-cta-widget {
  background: var(--forest);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sidebar-cta-widget-wm {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 80px;
  opacity: 0.05;
  filter: brightness(10);
  pointer-events: none;
}
.sidebar-cta-widget h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.sidebar-cta-widget p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}
.sidebar-cta-widget .btn-primary {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.75rem;
  padding: 12px 20px;
}

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.18s;
}
.sidebar-tag:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

/* ═══════════════════════════════════════════════════
   SINGLE BLOG POST PAGE
═══════════════════════════════════════════════════ */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  padding: 72px 56px;
  max-width: 1200px;
  margin: 0 auto;
}
.post-article {}
.post-header { margin-bottom: 40px; }
.post-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--forest);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.post-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.post-author-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-author-avatar {
  width: 36px;
  height: 36px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
}
.post-author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}
.post-meta-divider { color: var(--border); }
.post-meta-item { font-size: 0.82rem; color: var(--muted); }

.post-featured-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--forest);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.post-featured-img-placeholder {
  width: 35%;
  opacity: 0.07;
  filter: brightness(10);
  transform: rotate(-8deg);
}

.post-body h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest);
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
}
.post-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  margin: 28px 0 10px;
}
.post-body p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.88;
  margin-bottom: 20px;
  font-weight: 300;
}
.post-body ul, .post-body ol {
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
}
.post-body ul li, .post-body ol li {
  font-size: 0.97rem;
  color: var(--charcoal);
  line-height: 1.75;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-weight: 300;
}
.post-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}
.post-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 20px 28px;
  background: rgba(240,112,32,0.04);
  border-radius: 0 10px 10px 0;
  margin: 28px 0;
}
.post-body blockquote p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0;
  font-weight: 400;
}

.post-cta-inset {
  background: var(--forest);
  border-radius: 16px;
  padding: 36px 36px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.post-cta-inset p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 400px;
}
.post-cta-inset h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.post-tags {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-tags-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.related-posts { margin-top: 64px; }
.related-posts h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ═══════════════════════════════════════════════════
   UTILITY / SHARED
═══════════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 72px 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Responsive — inner pages */
@media (max-width: 1040px) {
  .products-full-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-info-panel { position: static; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 260px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { flex-direction: row; flex-wrap: wrap; }
  .blog-sidebar .blog-sidebar-widget { flex: 1; min-width: 260px; }
  .single-post-layout { grid-template-columns: 1fr; }
  .product-single-grid { grid-template-columns: 1fr; }
  .product-sidebar-card { position: static; }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-hero-inner { padding: 56px 24px 48px; }
  .page-content, .blog-layout, .single-post-layout { padding: 48px 24px; }
  .content-sidebar-grid { padding: 48px 24px; grid-template-columns: 1fr; }
  .contact-page-grid { padding: 0; }
  .contact-page-form-wrap { padding: 32px 24px; }
  .products-full-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
