/* =============================================================================
   SANDTON PLUMBING — BLOG STYLESHEET
   Premium editorial styles for archive and single post templates
   ============================================================================= */

/* ─── BLOG HERO (ARCHIVE) ─────────────────────────────────────────────────── */

.blog-hero {
  background: linear-gradient(135deg, #0a5c6b 0%, #084a56 40%, #062f38 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.blog-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--light, #f4f7f8);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.blog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary, #c9922a);
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.blog-hero__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.blog-hero__sub {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0 0 1.75rem;
}

/* ─── BREADCRUMB ──────────────────────────────────────────────────────────── */

.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-family: var(--font-body, 'Inter', sans-serif);
}

.breadcrumb__item a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb__item a:hover {
  color: var(--secondary, #c9922a);
}

.breadcrumb__item--current {
  color: rgba(255,255,255,0.9);
}

.breadcrumb__sep {
  color: rgba(255,255,255,0.35);
  font-size: 0.625rem;
  margin: 0 0.15rem;
}

/* Dark breadcrumb variant (for single post hero) */
.breadcrumb--dark .breadcrumb__list {
  justify-content: flex-start;
}

.breadcrumb--dark .breadcrumb__item a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb--dark .breadcrumb__sep {
  color: rgba(255,255,255,0.3);
}

.breadcrumb--dark .breadcrumb__item--current {
  color: rgba(255,255,255,0.85);
}

/* ─── BLOG CONTENT LAYOUT ─────────────────────────────────────────────────── */

.blog-content {
  background: var(--light, #f4f7f8);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

/* ─── FEATURED POST CARD ──────────────────────────────────────────────────── */

.blog-featured {
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,27,42,0.1);
  margin-bottom: 2.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-featured:hover {
  box-shadow: 0 12px 48px rgba(10,92,107,0.18);
  transform: translateY(-3px);
}

.blog-featured__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-featured__image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.blog-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-featured:hover .blog-featured__img {
  transform: scale(1.05);
}

.blog-featured__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #0a5c6b 0%, #0e7a8f 100%);
  color: rgba(255,255,255,0.3);
  font-size: 5rem;
}

.blog-featured__body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured__category {
  display: inline-block;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary, #c9922a);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s;
}

.blog-featured__category:hover {
  opacity: 0.75;
}

.blog-featured__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark, #0d1b2a);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.blog-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-featured__title a:hover {
  color: var(--primary, #0a5c6b);
}

.blog-featured__excerpt {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-secondary, #4a5568);
  margin: 0 0 1.5rem;
}

.blog-featured__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── BLOG GRID ───────────────────────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* ─── BLOG CARD ───────────────────────────────────────────────────────────── */

.blog-card {
  background: #fff;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,27,42,0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 10px 36px rgba(10,92,107,0.15);
  transform: translateY(-4px);
}

.blog-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.06);
}

.blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a5c6b 0%, #0e7a8f 100%);
  color: rgba(255,255,255,0.28);
  font-size: 3rem;
  aspect-ratio: 16 / 10;
}

.blog-card__cat-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--secondary, #c9922a);
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.blog-card__cat-badge:hover {
  background: var(--secondary-dark, #a97820);
}

.blog-card__body {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark, #0d1b2a);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__title a:hover {
  color: var(--primary, #0a5c6b);
}

.blog-card__excerpt {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary, #4a5568);
  margin: 0 0 auto;
  padding-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border, #e2e8f0);
  margin-top: auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.blog-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  color: var(--text-muted, #718096);
}

.blog-card__meta-item i {
  font-size: 0.65rem;
  color: var(--primary-light, #0e7a8f);
}

.blog-card__avatar {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-card__meta-sep {
  color: var(--text-light, #a0aec0);
  font-size: 0.7rem;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary, #c9922a);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
  white-space: nowrap;
}

.blog-card__read-more:hover {
  gap: 0.55rem;
  color: var(--secondary-dark, #a97820);
}

.blog-card__read-more i {
  font-size: 0.6875rem;
}

/* ─── BLOG EMPTY STATE ────────────────────────────────────────────────────── */

.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 2px 12px rgba(13,27,42,0.08);
}

.blog-empty__icon {
  font-size: 3.5rem;
  color: var(--primary-light, #0e7a8f);
  opacity: 0.35;
  display: block;
  margin: 0 auto 1.25rem;
}

.blog-empty h2 {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.5rem;
  color: var(--dark, #0d1b2a);
  margin: 0 0 0.75rem;
}

.blog-empty p {
  font-family: var(--font-body, 'Inter', sans-serif);
  color: var(--text-secondary, #4a5568);
  margin: 0 0 1.5rem;
}

/* ─── BLOG PAGINATION ─────────────────────────────────────────────────────── */

.blog-pagination {
  margin-top: 1rem;
}

.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary, #0d1b2a);
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--border, #e2e8f0);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers:focus-visible {
  background: var(--primary, #0a5c6b);
  color: #fff;
  border-color: var(--primary, #0a5c6b);
  box-shadow: var(--shadow-teal, 0 4px 20px rgba(10,92,107,0.35));
}

.blog-pagination .page-numbers.current {
  background: var(--primary, #0a5c6b);
  color: #fff;
  border-color: var(--primary, #0a5c6b);
  pointer-events: none;
}

.blog-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
  color: var(--text-muted, #718096);
}

.blog-pagination .prev.page-numbers,
.blog-pagination .next.page-numbers {
  background: var(--secondary, #c9922a);
  border-color: var(--secondary, #c9922a);
  color: #fff;
  width: auto;
  padding: 0 1rem;
  gap: 0.4rem;
}

.blog-pagination .prev.page-numbers:hover,
.blog-pagination .next.page-numbers:hover {
  background: var(--secondary-dark, #a97820);
  border-color: var(--secondary-dark, #a97820);
  box-shadow: var(--shadow-gold, 0 4px 20px rgba(201,146,42,0.35));
}

/* ─── SIDEBAR ─────────────────────────────────────────────────────────────── */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,27,42,0.08);
}

.sidebar-widget__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.25rem;
  background: var(--primary, #0a5c6b);
  color: #fff;
}

.sidebar-widget__header--gold {
  background: var(--secondary, #c9922a);
}

.sidebar-widget__header i {
  font-size: 0.875rem;
  opacity: 0.85;
}

.sidebar-widget__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Sidebar Call Box */
.sidebar-callbox {
  background: linear-gradient(145deg, #0a5c6b 0%, #084a56 100%);
  overflow: visible;
}

.sidebar-callbox__inner {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.sidebar-callbox__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--secondary, #c9922a);
  margin-bottom: 0.875rem;
}

.sidebar-callbox__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
}

.sidebar-callbox__text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.825rem;
  color: rgba(255,255,255,0.72);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.sidebar-callbox__btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem !important;
  background: var(--secondary, #c9922a) !important;
  border-color: var(--secondary, #c9922a) !important;
}

.sidebar-callbox__btn:hover {
  background: var(--secondary-dark, #a97820) !important;
}

.sidebar-callbox__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sidebar-callbox__wa:hover {
  background: #1fad54;
}

/* Categories */
.sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.sidebar-cats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.sidebar-cats__item:last-child {
  border-bottom: none;
}

.sidebar-cats__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.6875rem 1.25rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary, #0d1b2a);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-cats__link i {
  font-size: 0.625rem;
  color: var(--primary, #0a5c6b);
  transition: transform 0.2s;
}

.sidebar-cats__link:hover {
  color: var(--primary, #0a5c6b);
  padding-left: 1.5rem;
}

.sidebar-cats__link:hover i {
  transform: translateX(2px);
}

.sidebar-cats__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--primary-glow, rgba(10,92,107,0.12));
  color: var(--primary, #0a5c6b);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  margin-right: 1rem;
}

/* Recent Posts Widget */
.sidebar-recent-post {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  transition: background 0.2s;
}

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

.sidebar-recent-post:hover {
  background: var(--light, #f4f7f8);
}

.sidebar-recent-post__thumb-link {
  flex-shrink: 0;
  display: block;
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
}

.sidebar-recent-post__thumb {
  width: 70px;
  height: 52px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.sidebar-recent-post:hover .sidebar-recent-post__thumb {
  transform: scale(1.06);
}

.sidebar-recent-post__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 52px;
  background: linear-gradient(135deg, #0a5c6b, #0e7a8f);
  border-radius: var(--radius-sm, 6px);
  color: rgba(255,255,255,0.3);
  font-size: 1.25rem;
  flex-shrink: 0;
  text-decoration: none;
}

.sidebar-recent-post__info {
  flex: 1;
  min-width: 0;
}

.sidebar-recent-post__title {
  display: block;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark, #0d1b2a);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.sidebar-recent-post__title:hover {
  color: var(--primary, #0a5c6b);
}

.sidebar-recent-post__date {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  color: var(--text-muted, #718096);
}

/* Newsletter */
.sidebar-newsletter .sidebar-newsletter__text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8375rem;
  color: var(--text-secondary, #4a5568);
  padding: 1rem 1.25rem 0;
  margin: 0;
  line-height: 1.55;
}

.sidebar-newsletter__form {
  padding: 0.875rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-newsletter__input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  color: var(--text-primary, #0d1b2a);
  background: var(--light, #f4f7f8);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.sidebar-newsletter__input:focus {
  border-color: var(--primary, #0a5c6b);
  background: #fff;
}

.sidebar-newsletter__btn {
  width: 100%;
}

/* Emergency CTA */
.sidebar-emergency {
  background: linear-gradient(145deg, var(--dark, #0d1b2a) 0%, #162437 100%);
}

.sidebar-emergency__inner {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.sidebar-emergency__badge {
  display: inline-block;
  background: var(--emergency, #dc2626);
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.875rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.sidebar-emergency__icon {
  display: block;
  font-size: 2.25rem;
  color: var(--secondary, #c9922a);
  margin: 0 auto 0.625rem;
}

.sidebar-emergency__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
}

.sidebar-emergency__text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.sidebar-emergency__btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  font-size: 0.9rem !important;
}

/* ─── SINGLE POST HERO ────────────────────────────────────────────────────── */

.single-hero {
  position: relative;
  min-height: clamp(380px, 55vw, 580px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, #0a5c6b 0%, #084a56 100%);
}

.single-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.single-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,42,0.92) 0%,
    rgba(13,27,42,0.6) 50%,
    rgba(13,27,42,0.25) 100%
  );
}

.single-hero__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a5c6b 0%, #062f38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,0.08);
}

.single-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.single-hero__category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--secondary, #c9922a);
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: background 0.2s;
}

.single-hero__category-badge:hover {
  background: var(--secondary-dark, #a97820);
}

.single-hero__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(1.625rem, 4.5vw, 2.875rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  letter-spacing: -0.025em;
  max-width: 800px;
}

.single-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

.single-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.825rem;
  color: rgba(255,255,255,0.78);
}

.single-hero__meta-item i {
  font-size: 0.75rem;
  color: var(--secondary, #c9922a);
}

.single-hero__author-avatar {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  object-fit: cover;
  flex-shrink: 0;
}

.single-hero__meta-sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
}

/* Share buttons in hero */
.hero-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-share__label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.share-btn--fb { background: #1877f2; }
.share-btn--tw { background: #1da1f2; }
.share-btn--wa { background: #25d366; }
.share-btn--copy {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
}

/* ─── SINGLE POST LAYOUT ──────────────────────────────────────────────────── */

.single-content-section {
  background: var(--light, #f4f7f8);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.single-main {
  min-width: 0;
}

.single-sidebar {
  position: sticky;
  top: calc(var(--header-h, 72px) + var(--ebar-h, 44px) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ─── TABLE OF CONTENTS ───────────────────────────────────────────────────── */

.blog-toc {
  background: #fff;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,27,42,0.08);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary, #0a5c6b);
}

.blog-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: rgba(10,92,107,0.05);
  cursor: pointer;
  user-select: none;
}

.blog-toc__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #0a5c6b);
  margin: 0;
}

.blog-toc__toggle {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--primary, #0a5c6b);
  font-size: 0.75rem;
  transition: transform 0.25s;
}

.blog-toc__toggle.is-open {
  transform: rotate(180deg);
}

.blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  counter-reset: toc-counter;
}

.blog-toc__list-item {
  counter-increment: toc-counter;
}

.blog-toc__link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  color: var(--text-secondary, #4a5568);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.45;
}

.blog-toc__link::before {
  content: counter(toc-counter) ".";
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary, #0a5c6b);
  flex-shrink: 0;
  min-width: 18px;
}

.blog-toc__link:hover {
  color: var(--primary, #0a5c6b);
  padding-left: 1.5rem;
}

.blog-toc__link.is-active {
  color: var(--primary, #0a5c6b);
  font-weight: 600;
}

/* ─── POST CONTENT TYPOGRAPHY ─────────────────────────────────────────────── */

.blog-post-content {
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 2px 16px rgba(13,27,42,0.08);
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.blog-post-content p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2d3748;
  margin: 0 0 1.4em;
}

.blog-post-content h2 {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--primary, #0a5c6b);
  margin: 2.25em 0 0.75em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(10,92,107,0.12);
  line-height: 1.25;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h, 72px) + var(--ebar-h, 44px) + 1.5rem);
}

.blog-post-content h3 {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: var(--primary-dark, #084a56);
  margin: 2em 0 0.6em;
  line-height: 1.3;
  letter-spacing: -0.015em;
  scroll-margin-top: calc(var(--header-h, 72px) + var(--ebar-h, 44px) + 1.5rem);
}

.blog-post-content h4 {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark, #0d1b2a);
  margin: 1.75em 0 0.5em;
}

.blog-post-content ul,
.blog-post-content ol {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2d3748;
  margin: 0 0 1.5em 1.25rem;
  padding: 0;
}

.blog-post-content ul {
  list-style: none;
  margin-left: 0;
}

.blog-post-content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.blog-post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--primary, #0a5c6b);
  border-radius: 50%;
}

.blog-post-content ol {
  padding-left: 1.5rem;
}

.blog-post-content ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.blog-post-content ol li::marker {
  color: var(--primary, #0a5c6b);
  font-weight: 700;
}

.blog-post-content blockquote {
  margin: 2em 0;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  border-left: 4px solid var(--secondary, #c9922a);
  background: rgba(201,146,42,0.06);
  border-radius: 0 var(--radius-md, 10px) var(--radius-md, 10px) 0;
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--dark, #0d1b2a);
  line-height: 1.65;
}

.blog-post-content blockquote p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  font-style: italic;
}

.blog-post-content a {
  color: var(--primary, #0a5c6b);
  text-decoration: underline;
  text-decoration-color: rgba(10,92,107,0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.blog-post-content a:hover {
  color: var(--primary-light, #0e7a8f);
  text-decoration-color: var(--primary-light, #0e7a8f);
}

.blog-post-content strong {
  font-weight: 700;
  color: var(--dark, #0d1b2a);
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md, 10px);
  margin: 1.5em 0;
  box-shadow: 0 4px 20px rgba(13,27,42,0.12);
}

.blog-post-content figure {
  margin: 2em 0;
}

.blog-post-content figcaption {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  color: var(--text-muted, #718096);
  text-align: center;
  margin-top: 0.625rem;
  font-style: italic;
}

.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  overflow-x: auto;
  display: block;
}

.blog-post-content th {
  background: var(--primary, #0a5c6b);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
}

.blog-post-content td {
  padding: 0.6875rem 1rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  color: var(--text-primary, #0d1b2a);
}

.blog-post-content tr:nth-child(even) td {
  background: var(--light, #f4f7f8);
}

/* ─── TIP / INFO BOXES ────────────────────────────────────────────────────── */

.tip-box,
.blog-post-content .tip-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md, 10px);
  margin: 2em 0;
  border: 1.5px solid rgba(10,92,107,0.18);
  background: rgba(10,92,107,0.05);
}

.tip-box__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--primary, #0a5c6b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  margin-top: 2px;
}

.tip-box__body {
  flex: 1;
  min-width: 0;
}

.tip-box__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #0a5c6b);
  margin: 0 0 0.4rem;
}

.tip-box__text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #2d3748;
  margin: 0;
}

.tip-box--warning {
  background: rgba(220,38,38,0.05);
  border-color: rgba(220,38,38,0.2);
}

.tip-box--warning .tip-box__icon {
  background: var(--emergency, #dc2626);
}

.tip-box--warning .tip-box__title {
  color: var(--emergency-dark, #b91c1c);
}

.tip-box--gold {
  background: rgba(201,146,42,0.06);
  border-color: rgba(201,146,42,0.22);
}

.tip-box--gold .tip-box__icon {
  background: var(--secondary, #c9922a);
}

.tip-box--gold .tip-box__title {
  color: var(--secondary-dark, #a97820);
}

/* ─── POST TAG CLOUD ──────────────────────────────────────────────────────── */

.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border, #e2e8f0);
}

.post-tags__label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary, #4a5568);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 0.25rem;
}

.post-tags__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.875rem;
  background: rgba(10,92,107,0.08);
  color: var(--primary, #0a5c6b);
  border: 1.5px solid rgba(10,92,107,0.18);
  border-radius: 999px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.post-tags__tag:hover {
  background: var(--primary, #0a5c6b);
  color: #fff;
  border-color: var(--primary, #0a5c6b);
}

/* ─── AUTHOR BOX ──────────────────────────────────────────────────────────── */

.author-box {
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(13,27,42,0.08);
  border: 1.5px solid rgba(201,146,42,0.22);
  margin: 2rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-box__avatar {
  flex-shrink: 0;
}

.author-box__avatar img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50%;
  border: 3px solid var(--secondary, #c9922a);
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(201,146,42,0.3);
}

.author-box__body {
  flex: 1;
  min-width: 0;
}

.author-box__label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary, #c9922a);
  margin-bottom: 0.2rem;
}

.author-box__name {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--dark, #0d1b2a);
  margin: 0 0 0.625rem;
}

.author-box__bio {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary, #4a5568);
  margin: 0;
}

/* ─── SHARE BUTTONS (POST FOOTER) ─────────────────────────────────────────── */

.share-section {
  background: #fff;
  border-radius: var(--radius-md, 10px);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(13,27,42,0.07);
  margin: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-section__label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary, #4a5568);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 0.25rem;
}

.share-section .share-btn {
  width: auto;
  height: 38px;
  padding: 0 1rem;
  border-radius: var(--radius-sm, 6px);
  gap: 0.4rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
}

.share-section .share-btn--copy {
  background: var(--light, #f4f7f8);
  color: var(--text-primary, #0d1b2a);
  border: 1.5px solid var(--border, #e2e8f0);
}

.share-section .share-btn--copy:hover {
  background: var(--primary, #0a5c6b);
  color: #fff;
  border-color: var(--primary, #0a5c6b);
}

/* ─── RELATED POSTS ───────────────────────────────────────────────────────── */

.related-posts {
  margin: 2rem 0;
}

.related-posts__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--dark, #0d1b2a);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border, #e2e8f0);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.related-posts__title i {
  color: var(--primary, #0a5c6b);
  font-size: 1rem;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ─── COMMENTS ────────────────────────────────────────────────────────────── */

.comments-section {
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 2px 16px rgba(13,27,42,0.08);
  margin-top: 2rem;
}

.comments-title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--dark, #0d1b2a);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border, #e2e8f0);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comments-title i {
  color: var(--primary, #0a5c6b);
}

/* Comment list items */
.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.comment-list .comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

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

.comment-author .avatar {
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  float: left;
  margin-right: 0.875rem;
  margin-top: 2px;
}

.comment-meta {
  margin-bottom: 0.625rem;
}

.comment-author b {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark, #0d1b2a);
  display: block;
}

.comment-metadata a {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.775rem;
  color: var(--text-muted, #718096);
  text-decoration: none;
}

.comment-content p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary, #4a5568);
  margin: 0 0 0.5rem;
  clear: both;
}

/* Comment form */
.comment-respond {
  margin-top: 1.5rem;
}

.comment-reply-title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark, #0d1b2a);
  margin: 0 0 1rem;
}

.comment-form label {
  display: block;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8375rem;
  font-weight: 600;
  color: var(--text-secondary, #4a5568);
  margin-bottom: 0.4rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  color: var(--text-primary, #0d1b2a);
  background: var(--light, #f4f7f8);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary, #0a5c6b);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,92,107,0.08);
}

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

.comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.comment-form-cookies-consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary, #0a5c6b);
}

.comment-form-cookies-consent label {
  font-size: 0.8125rem;
  color: var(--text-muted, #718096);
  margin-bottom: 0;
  font-weight: 400;
}

.comment-form .submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--primary, #0a5c6b);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.comment-form .submit:hover {
  background: var(--primary-dark, #084a56);
  box-shadow: var(--shadow-teal, 0 4px 20px rgba(10,92,107,0.35));
  transform: translateY(-1px);
}

/* ─── SIDEBAR TOC ─────────────────────────────────────────────────────────── */

.sidebar-toc {
  background: #fff;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,27,42,0.08);
  border-top: 3px solid var(--primary, #0a5c6b);
}

.sidebar-toc__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #0a5c6b);
}

.sidebar-toc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem;
  counter-reset: sidebar-toc;
}

.sidebar-toc__list li {
  counter-increment: sidebar-toc;
}

.sidebar-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  color: var(--text-secondary, #4a5568);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.4;
}

.sidebar-toc__list a::before {
  content: counter(sidebar-toc) ".";
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary, #0a5c6b);
  flex-shrink: 0;
  min-width: 16px;
}

.sidebar-toc__list a:hover {
  color: var(--primary, #0a5c6b);
  padding-left: 1.5rem;
}

/* ─── POST CTA BOX ────────────────────────────────────────────────────────── */

.post-cta-box {
  background: linear-gradient(135deg, #0a5c6b 0%, #084a56 100%);
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: 0 8px 32px rgba(10,92,107,0.28);
}

.post-cta-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  font-size: 1.375rem;
  color: var(--secondary, #c9922a);
  margin: 0 auto 0.875rem;
}

.post-cta-box__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.3125rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}

.post-cta-box__text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.post-cta-box__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.post-cta-box .btn--wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.post-cta-box .btn--wa:hover {
  background: #1fad54;
}

/* ─── CATEGORY SECTION + HORIZONTAL SCROLL ───────────────────────────────── */

.cat-section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary, #c9922a);
  margin-bottom: 0.75rem;
}

.cat-section__label i {
  font-size: 0.65rem;
}

.cat-section {
  margin-top: 2.75rem;
}

.cat-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--border, #e2e8f0);
}

.cat-section__heading-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.cat-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(10,92,107,0.1);
  border-radius: var(--radius-sm, 6px);
  color: var(--primary, #0a5c6b);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.cat-section__title {
  font-family: var(--font-heading, 'DM Sans', sans-serif);
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--dark, #0d1b2a);
  margin: 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-section__count {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  color: var(--text-muted, #718096);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Controls: prev/next arrows + view all */
.cat-section__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cat-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: var(--radius-sm, 6px);
  background: #fff;
  color: var(--primary, #0a5c6b);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.cat-scroll-btn:hover:not(:disabled) {
  background: var(--primary, #0a5c6b);
  border-color: var(--primary, #0a5c6b);
  color: #fff;
  box-shadow: var(--shadow-teal, 0 4px 20px rgba(10,92,107,0.3));
}

.cat-scroll-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cat-section__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary, #c9922a);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s, color 0.2s;
  padding: 0 0.25rem;
}

.cat-section__view-all:hover {
  gap: 0.55rem;
  color: var(--secondary-dark, #a97820);
}

.cat-section__view-all i {
  font-size: 0.6875rem;
  transition: transform 0.2s;
}

.cat-section__view-all:hover i {
  transform: translateX(2px);
}

/* Horizontal scroll row */
.cat-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  /* Hide scrollbar on IE/Edge */
  -ms-overflow-style: none;
}

/* Custom scrollbar — thin teal */
.cat-scroll::-webkit-scrollbar {
  height: 4px;
}

.cat-scroll::-webkit-scrollbar-track {
  background: var(--border, #e2e8f0);
  border-radius: 999px;
}

.cat-scroll::-webkit-scrollbar-thumb {
  background: var(--primary, #0a5c6b);
  border-radius: 999px;
}

.cat-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark, #084a56);
}

/* Cards inside the scroll row */
.cat-scroll__card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  max-width: 280px;
}

/* Larger cards on wide screens */
@media (min-width: 1100px) {
  .cat-scroll__card {
    flex: 0 0 300px;
    max-width: 300px;
  }
}

/* Slightly narrower on tablet */
@media (max-width: 900px) {
  .cat-scroll__card {
    flex: 0 0 260px;
    max-width: 260px;
  }
}

/* Full-width cards only on very small screens */
@media (max-width: 480px) {
  .cat-scroll__card {
    flex: 0 0 82vw;
    max-width: 82vw;
  }
}

/* Fade-out hint on right edge to signal scrollability */
.cat-section {
  position: relative;
}

.cat-section::after {
  content: '';
  position: absolute;
  right: 0;
  top: auto;
  bottom: 1rem;
  width: 60px;
  height: calc(100% - 60px);
  background: linear-gradient(to right, transparent, rgba(244,247,248,0.85));
  pointer-events: none;
  border-radius: 0 var(--radius-md, 10px) var(--radius-md, 10px) 0;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .blog-layout,
  .single-layout {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .blog-layout,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .single-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .blog-featured__inner {
    grid-template-columns: 1fr;
  }

  .blog-featured__image-wrap {
    min-height: 260px;
  }

  .related-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .single-sidebar {
    grid-template-columns: 1fr;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  .single-hero__title {
    font-size: 1.5rem;
  }

  .author-box {
    flex-direction: column;
    gap: 1rem;
  }

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

  .hero-share {
    display: none;
  }

  .post-cta-box__actions {
    flex-direction: column;
  }
}

/* ─── PRINT STYLES ────────────────────────────────────────────────────────── */

@media print {
  .emergency-bar,
  .site-header,
  .blog-sidebar,
  .single-sidebar,
  .hero-share,
  .share-section,
  .related-posts,
  .comments-section,
  .blog-toc,
  .post-cta-box,
  .fab-container,
  .site-footer {
    display: none !important;
  }

  .single-layout {
    grid-template-columns: 1fr !important;
  }

  .single-hero {
    min-height: auto;
    padding: 1rem 0;
    background: none !important;
  }

  .single-hero__overlay,
  .single-hero__bg {
    display: none;
  }

  .single-hero__title,
  .single-hero__meta-item {
    color: #000 !important;
  }

  .blog-post-content {
    box-shadow: none;
    padding: 0;
  }

  .blog-post-content h2,
  .blog-post-content h3 {
    color: #000;
    border-color: #ccc;
  }

  .blog-post-content a {
    color: #000;
    text-decoration: underline;
  }

  .blog-post-content a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #555;
  }

  body {
    font-size: 11pt;
    line-height: 1.5;
  }
}
