/* ==========================================================================
   Blog Styles - KHADIM HOSPITAL Theme
   ========================================================================== */

/* Page wrapper */
.blog-page {
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.blog-page .site-main,
.single-post .site-main {
  scroll-snap-type: none !important;
  overflow-y: auto;
}

.blog-page .content-wrapper,
.single-post .content-wrapper {
  background: 0 0;
  backdrop-filter: none;
  position: relative;
  z-index: 3;
  scroll-snap-align: none !important;
  height: auto;
  overflow-y: visible;
}

/* ==========================================================================
   Blog Hero (page header)
   ========================================================================== */

.blog-page-header {
  padding: 160px 0 40px;
  text-align: center;
}

.blog-page-header-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-page-title {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.blog-page-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Blog Listing
   ========================================================================== */

.blog-listing-section {
  padding: 80px 0 120px;
}

.blog-listing-section .container,
.archive-header-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Post Card */
.post-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

.post-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(57, 86, 79, 0.3), rgba(57, 86, 79, 0.2));
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(57, 86, 79, 0.2), rgba(57, 86, 79, 0.1));
}

.post-card-image-placeholder svg {
  opacity: 0.3;
  width: 48px;
  height: 48px;
}

.post-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.post-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #fff;
  color: #39564f;
  border: 1.5px solid #39564f;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.post-category:hover {
  background: linear-gradient(135deg, #39564f, #39564f);
  color: #fff;
  border-color: transparent;
}

.post-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.post-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: #fff;
}

.post-card-excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.post-read-more:hover {
  gap: 0.7rem;
  color: #39564f;
}

.post-read-more svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* No posts message */
.no-posts-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* ==========================================================================
   Archive Header
   ========================================================================== */

.archive-header-section {
  padding: 80px 0 20px;
  text-align: center;
}

.archive-header-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, #39564f, #39564f);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.archive-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.archive-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
}

.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: linear-gradient(135deg, #39564f, #39564f);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(57, 86, 79, 0.35);
}

.blog-pagination .page-numbers.dots {
  background: none;
  border: none;
  cursor: default;
}

/* ==========================================================================
   Single Post
   ========================================================================== */

/* ==========================================================================
   Single Post — Redesigned (sp-* classes)
   ========================================================================== */

/* ── Layout wrapper ─────────────────────────────── */
.sp-layout {
  background: #FAF7F4;
}
.sp-layout .content-wrapper {
  background: #FAF7F4 !important;
  backdrop-filter: none !important;
}

/* ── Shared inner width ─────────────────────────── */
.sp-header-inner,
.sp-content-inner,
.sp-cta-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   S1 · POST HEADER
   ========================================================================== */
.sp-header {
  background: #FAF7F4;
  padding: 100px 0 48px;
  border-bottom: 1px solid rgba(48,61,44,.08);
}

/* Category pill */
.sp-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.sp-cat-badge {
  display: inline-block;
  padding: .3rem .9rem;
  background: #C94B2C;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s;
}
.sp-cat-badge:hover { background: #a83520; }

/* Title */
.sp-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #303D2C;
  line-height: 1.18;
  margin: 0 0 1.75rem;
  letter-spacing: -.02em;
}

/* Author meta row */
.sp-meta-row {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.sp-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,75,44,.25);
  flex-shrink: 0;
}
.sp-author-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #303D2C;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-meta-text {
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.sp-author-name {
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: #303D2C;
}
.sp-meta-secondary {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.sp-dot { opacity: .5; }

/* ==========================================================================
   S2 · FEATURED IMAGE
   ========================================================================== */
.sp-featured-img-wrap {
  background: #FAF7F4;
  padding: 0 2rem 56px;
}
.sp-featured-img-inner {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(48,61,44,.12);
}
.sp-featured-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* ==========================================================================
   S3 · POST CONTENT BODY
   ========================================================================== */
.sp-content-section {
  background: #ffffff;
  padding: 64px 0 56px;
  position: relative;
  z-index: 4;
}

/* Body text */
.post-content {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.85;
  color: #303D2C;
  font-weight: 400;
}
.post-content p {
  margin-bottom: 1.5rem;
}

/* Headings */
.post-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #C94B2C;
  margin: 2.75rem 0 .9rem;
  letter-spacing: -.015em;
  line-height: 1.22;
}
.post-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #303D2C;
  margin: 2rem 0 .65rem;
  line-height: 1.3;
}
.post-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #303D2C;
  margin: 1.5rem 0 .45rem;
}

/* Lists */
.post-content ul,
.post-content ol {
  padding-left: 0;
  margin-bottom: 1.5rem;
  list-style: none;
}
.post-content ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  color: #303D2C;
}
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  background: #C94B2C;
  border-radius: 50%;
}
.post-content ol {
  counter-reset: ol-counter;
}
.post-content ol li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .65rem;
  color: #303D2C;
  counter-increment: ol-counter;
}
.post-content ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #C94B2C;
  font-size: .88rem;
}

/* Links */
.post-content a {
  color: #C94B2C;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color .2s;
}
.post-content a:hover { color: #a83520; }

/* Blockquote */
.post-content blockquote {
  border-left: 4px solid #C94B2C;
  background: #FDF3F0;
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.05rem;
  font-style: italic;
  color: #303D2C;
}
.post-content blockquote p { margin: 0 !important; }

/* Inline code / pre */
.post-content pre,
.post-content code {
  background: #f3f4f6;
  border: 1px solid rgba(48,61,44,.1);
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: .88rem;
  color: #303D2C;
}
.post-content code { padding: .15rem .4rem; }
.post-content pre { padding: 1.25rem; overflow-x: auto; margin-bottom: 1.5rem; }
.post-content pre code { background: none; border: none; padding: 0; }

/* Images */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 8px 32px rgba(48,61,44,.10);
  display: block;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
  font-size: .92rem;
  box-shadow: 0 4px 20px rgba(48,61,44,.08);
}
.post-content thead tr {
  background: #303D2C;
}
.post-content thead th {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  padding: .85rem 1.1rem;
  text-align: left;
  font-size: .85rem;
  letter-spacing: .03em;
}
.post-content tbody tr:nth-child(even) {
  background: #f9fafb;
}
.post-content tbody tr:nth-child(odd) {
  background: #ffffff;
}
.post-content tbody td {
  padding: .8rem 1.1rem;
  color: #303D2C;
  border-bottom: 1px solid rgba(48,61,44,.07);
  vertical-align: top;
}
.post-content tbody tr:last-child td { border-bottom: none; }

/* Post tags */
.single-post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(48,61,44,.1);
}
.single-post-tags-label {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}
.single-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.post-tag {
  display: inline-block;
  padding: .3rem .8rem;
  background: #FDF3F0;
  border: 1px solid rgba(201,75,44,.25);
  border-radius: 20px;
  font-size: .78rem;
  font-family: 'Inter', sans-serif;
  color: #C94B2C;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.post-tag:hover {
  background: #C94B2C;
  color: #fff;
  border-color: #C94B2C;
}

/* ==========================================================================
   S4 · AUTHOR BIO BOX
   ========================================================================== */
.sp-author-bio-section {
  background: #ffffff;
  padding: 0 0 56px;
}
.sp-author-bio-card {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  background: #F5F5F5;
  border-radius: 16px;
  padding: 2rem 2.25rem;
}
.sp-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(201,75,44,.2);
  flex-shrink: 0;
}
.sp-bio-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #303D2C;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-bio-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.sp-bio-label {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #C94B2C;
}
.sp-bio-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #303D2C;
}
.sp-bio-role {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: #6b7280;
}
.sp-bio-text {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.6;
  margin: .4rem 0 0;
}

/* ==========================================================================
   S5 · CTA SECTION
   ========================================================================== */
.sp-cta-section {
  background: #303D2C;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.sp-cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,75,44,.12) 0%, transparent 70%);
  pointer-events: none;
}
.sp-cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.sp-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 .85rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.sp-cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  font-weight: 300;
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 2.25rem;
}
.sp-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sp-cta-btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  transition: all .25s ease;
  white-space: nowrap;
}
.sp-cta-primary {
  background: #C94B2C;
  color: #fff;
  box-shadow: 0 6px 24px rgba(201,75,44,.35);
}
.sp-cta-primary:hover {
  background: #a83520;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201,75,44,.48);
  color: #fff;
}
.sp-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.sp-cta-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

/* ==========================================================================
   S6 · BACK TO BLOG
   ========================================================================== */
.sp-back-wrap {
  background: #FAF7F4;
  padding: 40px 0 60px;
  border-top: 1px solid rgba(48,61,44,.07);
}
.sp-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: #C94B2C;
  text-decoration: none;
  letter-spacing: .03em;
  transition: gap .2s, color .2s;
}
.sp-back-link:hover {
  gap: .8rem;
  color: #a83520;
}
.sp-back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   ab-* PREMIUM COMPONENTS — Light context overrides
   ========================================================================== */

/* ---- Milestone Stats Block ---- */
.ab-milestone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 3rem;
}
.ab-milestone-card {
  background: #FDF3F0;
  border: 1.5px solid rgba(201,75,44,.18);
  border-radius: 16px;
  padding: 1.4rem 1rem;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ab-milestone-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(48,61,44,.1); }
.ab-milestone-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #C94B2C;
  line-height: 1;
  margin-bottom: .3rem;
}
.ab-milestone-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6b7280;
}

/* ---- Author Bio Row (inside post content) ---- */
.ab-author-row {
  display: flex;
  gap: 1.25rem;
  margin: 0 0 3rem;
  flex-wrap: wrap;
}
.ab-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #F5F5F5;
  border: 1.5px solid rgba(48,61,44,.1);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  flex: 1;
  min-width: 220px;
  transition: border-color .25s ease;
}
.ab-author-card:hover { border-color: rgba(201,75,44,.3); }
.ab-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(48,61,44,.2);
}
.ab-avatar-della { background: #303D2C; }
.ab-avatar-grace { background: #C94B2C; }
.ab-author-info { display: flex; flex-direction: column; gap: .25rem; }
.ab-author-name { font-family: 'Poppins', sans-serif; font-size: .95rem; color: #303D2C; font-weight: 700; display: block; }
.ab-author-role { font-family: 'Inter', sans-serif; font-size: .75rem; color: #6b7280; font-weight: 400; display: block; }

/* ---- Section Divider ---- */
.ab-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(48,61,44,.15), transparent);
  margin: 3rem 0;
}

/* ---- Section Headings with chapter number ---- */
.post-content .ab-section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #C94B2C;
  margin: 0 0 1.25rem;
  letter-spacing: -.02em;
  line-height: 1.25;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.post-content .ab-section-heading::before {
  content: attr(data-num);
  font-family: 'Inter', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  background: #C94B2C;
  color: #fff;
  border-radius: 6px;
  padding: .2rem .45rem;
  flex-shrink: 0;
  margin-top: .42rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---- Pull Quote ---- */
.ab-pull-quote {
  background: #FDF3F0;
  border-left: 5px solid #C94B2C;
  border-radius: 0 16px 16px 0;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.ab-pull-quote::after {
  content: '\201C';
  position: absolute;
  top: -.5rem; right: 1rem;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(201,75,44,.1);
  line-height: 1;
  pointer-events: none;
}
.ab-pull-quote .ab-quote-speaker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #C94B2C;
  background: rgba(201,75,44,.12);
  border-radius: 4px;
  padding: .2rem .6rem;
  margin-bottom: .75rem;
}
.ab-pull-quote p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  font-style: italic;
  color: #303D2C;
  line-height: 1.7;
  margin: 0 !important;
}

/* ---- Closing Sign-Off ---- */
.ab-signoff {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 3rem 0 .5rem !important;
}

/* ---- Closing CTA Block (inside post content) ---- */
.ab-closing-cta {
  background: #303D2C;
  border-radius: 20px;
  padding: 3.5rem 3rem;
  text-align: center;
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}
.ab-closing-cta::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 400px; height: 400px;
  background: rgba(201,75,44,.08);
  border-radius: 50%;
  pointer-events: none;
}
.ab-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
  line-height: 1.2;
  position: relative;
}
.ab-cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  font-weight: 300;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 2.25rem;
  position: relative;
}
.ab-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.ab-cta-btn { display: inline-block; padding: .9rem 2.2rem; border-radius: 12px; font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 700; text-decoration: none; letter-spacing: .02em; transition: all .25s ease; }
.ab-cta-primary { background: #C94B2C; color: #fff; }
.ab-cta-primary:hover { background: #a83520; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201,75,44,.35); color: #fff; }
.ab-cta-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.ab-cta-secondary:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; transform: translateY(-3px); }

/* ---- Scroll-reveal animation ---- */
.ab-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.ab-reveal.ab-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Stat/callout box ---- */
.ab-stat-box {
  background: #FDF3F0;
  border-left: 4px solid #C94B2C;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.ab-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #C94B2C;
  display: block;
  line-height: 1;
  margin-bottom: .3rem;
}
.ab-stat-desc {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: #303D2C;
}

/* Flag / country cards */
.ab-country-card {
  background: #ffffff;
  border: 1.5px solid rgba(48,61,44,.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: .75rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.ab-country-name {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: #303D2C;
}

/* ==========================================================================
   Responsive — Single Post
   ========================================================================== */
@media (max-width: 1024px) {
  .sp-title { font-size: 2.5rem; }
  .ab-milestone-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sp-header { padding: 90px 0 36px; }
  .sp-title { font-size: 2rem; }
  .sp-featured-img-wrap { padding: 0 1rem 40px; }
  .sp-content-section { padding: 48px 0 40px; }
  .sp-header-inner,
  .sp-content-inner,
  .sp-cta-inner { padding: 0 1.25rem; }
  .sp-author-bio-card { flex-direction: column; align-items: flex-start; }
  .sp-cta-buttons { flex-direction: column; align-items: center; }
  .sp-cta-btn { width: 100%; text-align: center; }
  .ab-author-row { flex-direction: column; }
  .ab-cta-heading { font-size: 1.6rem; }
  .ab-cta-btn { width: 100%; text-align: center; }
  .ab-closing-cta { padding: 2.5rem 1.5rem; }
  .post-content .ab-section-heading { font-size: 1.4rem; }
  .ab-pull-quote { padding: 1.25rem 1.25rem; }
  .post-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .post-content { font-size: .97rem; }
  .ab-milestone-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .sp-title { font-size: 1.65rem; }
  .sp-cta-section { padding: 56px 0; }
  .ab-milestone-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Blog listing styles (unchanged below)
   ========================================================================== */

/* Post card legacy classes (blog listing) */
.single-post-hero { display: none; }
.single-post-content-section { display: none; }
.single-post-back { display: none; }


.single-post-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.single-post-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single-post-hero-bg-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(57, 86, 79, 0.15), rgba(57, 86, 79, 0.1));
}

.single-post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 2;
}

.single-post-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
  text-align: center;
}

.single-post-categories {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.single-post-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.single-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.single-post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.single-post-meta-item svg {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

/* Post content */
.single-post-content-section {
  padding: 80px 0 60px;
  background: #d84e28;
  position: relative;
  z-index: 4;
}

.single-post-content-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.post-content {
  font-size: 1.2rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 2.5rem 0 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 2rem 0 0.75rem;
}

.post-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 1.5rem 0 0.5rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.post-content blockquote {
  border-left: 4px solid #39564f;
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(57, 86, 79, 0.08);
  border-radius: 0 8px 8px 0;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.post-content pre,
.post-content code {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.post-content code {
  padding: 0.15rem 0.4rem;
}

.post-content pre {
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
}

/* Post tags */
.single-post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.single-post-tags-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.single-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-tag:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #fff;
  color: #fff;
}

/* Back to blog */
.single-post-back {
  padding: 0 0 80px;
  background: #d84e28;
  position: relative;
  z-index: 4;
}

.back-to-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.back-to-blog-link:hover {
  color: #fff;
  gap: 0.8rem;
}

.back-to-blog-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-page-title {
    font-size: 3.5rem;
  }

  .single-post-title {
    font-size: 2.8rem;
  }

  .archive-title {
    font-size: 2.8rem;
  }
}

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

  .blog-page-title {
    font-size: 2.8rem;
  }

  .blog-page-header {
    padding: 100px 0 40px;
  }

  .blog-listing-section {
    padding: 60px 0 80px;
  }

  .single-post-hero {
    height: 60vh;
    min-height: 400px;
  }

  .single-post-title {
    font-size: 2.2rem;
  }

  .single-post-hero-content {
    padding: 0 1.5rem 2.5rem;
  }

  .archive-title {
    font-size: 2.2rem;
  }

  .archive-header-section {
    padding: 60px 0 20px;
  }
}

@media (max-width: 480px) {
  .blog-page-title {
    font-size: 2rem;
  }

  .single-post-title {
    font-size: 1.8rem;
  }

  .post-card-body {
    padding: 1.25rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .archive-title {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Premium: One Year Blog Post — .ab-* components
   ========================================================================== */

/* ---- Milestone Stats Block ---- */
.ab-milestone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 3rem;
}
.ab-milestone-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.4rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ab-milestone-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.ab-milestone-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.ab-milestone-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
}

/* ---- Author Bio Row ---- */
.ab-author-row {
  display: flex;
  gap: 1.25rem;
  margin: 0 0 3rem;
  flex-wrap: wrap;
}
.ab-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(48,61,44,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  flex: 1;
  min-width: 220px;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease;
}
.ab-author-card:hover { border-color: rgba(255,255,255,0.35); }
.ab-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}
.ab-avatar-della { background: #303D2C; }
.ab-avatar-grace { background: #C94B2C; }
.ab-author-info { display: flex; flex-direction: column; gap: 0.25rem; }
.ab-author-name { font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: #fff; font-weight: 700; display: block; }
.ab-author-role { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.65); font-weight: 400; display: block; }

/* ---- Section Divider ---- */
.ab-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  margin: 3rem 0;
}

/* ---- Section Headings with number ---- */
.post-content .ab-section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.post-content .ab-section-heading::before {
  content: attr(data-num);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  background: #C94B2C;
  color: #fff;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  flex-shrink: 0;
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

/* ---- Pull Quote ---- */
.ab-pull-quote {
  background: #303D2C;
  border-left: 5px solid #C94B2C;
  border-radius: 0 16px 16px 0;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.ab-pull-quote::after {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(201,75,44,0.15);
  line-height: 1;
  pointer-events: none;
}
.ab-pull-quote .ab-quote-speaker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #C94B2C;
  background: rgba(201,75,44,0.15);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}
.ab-pull-quote p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.93);
  line-height: 1.7;
  margin: 0 !important;
}

/* ---- Closing Sign-Off ---- */
.ab-signoff {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 3rem 0 0.5rem !important;
}

/* ---- Closing CTA Block ---- */
.ab-closing-cta {
  background: linear-gradient(135deg, #C94B2C 0%, #a33a20 100%);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  text-align: center;
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}
.ab-closing-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.ab-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
}
.ab-cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 2.25rem;
  position: relative;
}
.ab-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.ab-cta-btn { display: inline-block; padding: 0.9rem 2.2rem; border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; text-decoration: none; letter-spacing: 0.02em; transition: all 0.25s ease; }
.ab-cta-primary { background: #fff; color: #C94B2C; }
.ab-cta-primary:hover { background: #f5f5f5; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); color: #C94B2C; }
.ab-cta-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.ab-cta-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; transform: translateY(-3px); }

/* ---- Scroll-reveal animation ---- */
.ab-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ab-reveal.ab-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ab-milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-author-row { flex-direction: column; }
  .ab-cta-heading { font-size: 1.6rem; }
  .ab-cta-btn { width: 100%; text-align: center; }
  .ab-closing-cta { padding: 2.5rem 1.5rem; }
  .post-content .ab-section-heading { font-size: 1.4rem; }
  .ab-pull-quote { padding: 1.25rem 1.25rem; }
}