/* ==========================================================================
   BALAJI DREAM CITY - BLOG STYLES (Listing + Detail)
   Uses design tokens from style.css
   ========================================================================== */

/* ---------------- SHARED PAGE HERO ---------------- */
.blog-hero,
.post-hero {
  position: relative;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.blog-hero { padding: 90px 0 80px; }
.post-hero { padding: 80px 0 150px; }

.blog-hero::before,
.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
}

.blog-hero::after,
.post-hero::after {
  content: '';
  position: absolute;
  top: -45%;
  right: -12%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 90, 72, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero .container,
.post-hero .container {
  position: relative;
  z-index: 2;
}

.blog-hero .section-tag,
.post-hero .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #FFA882;
  border-color: rgba(255, 255, 255, 0.3);
}

.blog-hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
}

.blog-hero h1 .highlight {
  background: linear-gradient(120deg, #FAD692 0%, #FFA882 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  padding-right: 0.15em;
}

.blog-hero-desc {
  color: rgba(255, 255, 255, 0.86);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.12rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.breadcrumb a:hover { color: #FFA882; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: #FFA882; font-weight: 600; }

/* ---------------- BLOG LISTING ---------------- */
.section-blog-list {
  padding: 80px 0 100px;
  background: var(--bg-subtle);
}

.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  white-space: nowrap;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 6px 18px rgba(30, 63, 51, 0.2);
}

.blog-search {
  position: relative;
  min-width: 300px;
}

.blog-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.blog-search input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.blog-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 26px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: 30px;
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: opacity 0.75s var(--ease-spring), transform 0.45s var(--ease-spring),
              box-shadow 0.45s var(--ease-spring), border-color 0.45s var(--ease-spring);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--primary) 0%, #FFA882 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-spring);
  z-index: 3;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -10px rgba(18, 40, 32, 0.14), 0 0 0 1px rgba(200, 90, 72, 0.3);
  border-color: rgba(200, 90, 72, 0.35);
}

.blog-card:hover::before { transform: scaleX(1); }

.blog-card-img {
  position: relative;
  height: 250px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-spring);
}

.blog-card:hover .blog-card-img img { transform: scale(1.08); }

.blog-card-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(30, 63, 51, 0.88);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 5px 13px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }

.blog-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-color);
}

.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.blog-card:hover h3 { color: var(--primary); }

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.blog-read-more svg { transition: transform 0.3s var(--ease-spring); }
.blog-card:hover .blog-read-more svg { transform: translateX(6px); }

/* Wide card variant (related posts) */
.blog-card--wide { flex-direction: row; }
.blog-card--wide .blog-card-img { width: 46%; height: auto; min-height: 300px; }
.blog-card--wide .blog-card-body { justify-content: center; padding: 36px 40px; }
.blog-card--wide h3 { font-size: 1.55rem; }

/* Empty state */
.blog-empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--border-color);
}

.blog-empty-icon { font-size: 2.4rem; margin-bottom: 10px; }
.blog-empty h4 { font-size: 1.2rem; margin-bottom: 6px; }
.blog-empty p { color: var(--text-secondary); font-size: 0.95rem; }

/* CTA Band */
.blog-cta-band {
  margin-top: 70px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 50px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.blog-cta-band::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 90, 72, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.blog-cta-text { position: relative; z-index: 2; }
.blog-cta-text h3 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.blog-cta-text p { color: rgba(255, 255, 255, 0.82); max-width: 560px; }

.blog-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ---------------- BLOG DETAIL ---------------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1100;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), #FFA882);
  box-shadow: 0 0 10px rgba(200, 90, 72, 0.5);
  transition: width 0.1s linear;
}

.post-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  max-width: 940px;
  margin: 0 auto 18px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
}

.post-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  max-width: 780px;
  margin: 0 auto 30px;
}

.post-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 10px 24px 10px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}

.post-author { display: flex; align-items: center; gap: 10px; text-align: left; }

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #E27462);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.post-author strong { display: block; font-size: 0.9rem; color: var(--white); line-height: 1.2; }
.post-author small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }

.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.post-cover {
  max-width: 1120px;
  margin: -100px auto 0;
  position: relative;
  z-index: 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}

.post-cover img { width: 100%; height: 520px; object-fit: cover; }

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 0 90px;
}

/* Article Typography */
.post-content {
  font-size: 1.06rem;
  line-height: 1.85;
  color: #34474E;
}

.post-content > * + * { margin-top: 1.25em; }

.post-content .post-lead {
  font-size: 1.22rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--text-primary);
  padding-left: 22px;
  border-left: 4px solid var(--primary);
}

.post-content h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin-top: 2.2em;
  padding-bottom: 12px;
  position: relative;
  scroll-margin-top: 110px;
}

.post-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.post-content h3 { font-size: 1.22rem; margin-top: 1.6em; color: var(--secondary); }
.post-content strong { color: var(--text-primary); }

.post-content a:not(.btn) {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 90, 72, 0.35);
}

.post-content a:not(.btn):hover { border-bottom-color: var(--primary); }

.post-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.post-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.post-content ol { list-style: none; counter-reset: step; }

.post-content ol li {
  counter-increment: step;
  position: relative;
  padding-left: 54px;
  margin-bottom: 18px;
  min-height: 38px;
}

.post-content ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-content blockquote {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 500;
  color: var(--secondary);
}

.post-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: var(--white);
  cursor: zoom-in;
}

.post-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.post-callout {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--secondary-light);
  border: 1px solid rgba(30, 63, 51, 0.15);
}

.post-callout-icon { font-size: 1.5rem; line-height: 1.4; flex-shrink: 0; }
.post-callout p { margin: 0; font-size: 0.98rem; }

.post-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.post-stat {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.post-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--primary);
}

.post-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.post-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.5;
  background: var(--white);
}

.post-table th {
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: left;
  padding: 14px 18px;
}

.post-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.post-table tbody tr:nth-child(even) td { background: var(--bg-subtle); }
.post-table tr:last-child td { border-bottom: none; }
.post-table .price { color: var(--primary); font-weight: 700; white-space: nowrap; }

.checklist { display: grid; gap: 12px; }

.checklist-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--border-light);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.checklist-item:hover { border-color: rgba(30, 63, 51, 0.35); transform: translateX(4px); }

.checklist-item .check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-item p { margin: 0; font-size: 0.97rem; line-height: 1.6; }

.post-faq { display: grid; gap: 12px; }

.post-faq details {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.post-faq details[open] { border-color: rgba(200, 90, 72, 0.4); box-shadow: var(--shadow-md); }

.post-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
}

.post-faq summary::-webkit-details-marker { display: none; }

.post-faq summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

.post-faq details[open] summary::after { transform: rotate(45deg); }
.post-faq details p { margin: 0; padding-bottom: 18px; font-size: 0.98rem; }

.post-inline-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.post-disclaimer {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
}

/* Share Row & Author Box */
.post-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.post-share-label { font-family: var(--font-heading); font-weight: 700; color: var(--text-primary); }

.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  transition: var(--transition);
}

.share-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.x { background: #111111; }
.share-btn.copy { background: var(--secondary); }

.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.share-btn.copied .copy-tooltip { opacity: 1; }

.post-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.post-author-box .author-avatar { width: 60px; height: 60px; font-size: 1.1rem; }
.post-author-box h4 { font-size: 1.1rem; margin-bottom: 4px; }
.post-author-box p { font-size: 0.92rem; color: var(--text-secondary); }

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border-light);
}

.toc-list a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc-list a:hover { color: var(--primary); }
.toc-list a.active { color: var(--primary); border-left-color: var(--primary); font-weight: 700; }

.sidebar-enquiry {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sidebar-enquiry::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 90, 72, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-enquiry > * { position: relative; z-index: 2; }
.sidebar-enquiry h4 { color: #FFA882; }
.sidebar-enquiry h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.sidebar-enquiry p { color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; margin-bottom: 18px; }

.sidebar-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-price strong { font-family: var(--font-heading); font-size: 1.6rem; color: #FFF2DF; }
.sidebar-price span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }

.sidebar-enquiry .btn { width: 100%; padding: 12px 20px; font-size: 0.88rem; }
.sidebar-enquiry .btn + .btn { margin-top: 10px; }

/* Related */
.section-related {
  padding: 90px 0 100px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.related-header h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-sidebar { position: static; }
  .toc-card { display: none; }
  .post-cover img { height: 400px; }
}

@media (max-width: 768px) {
  .blog-cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
  .blog-cta-actions { justify-content: center; }
  .blog-card--wide { flex-direction: column; }
  .blog-card--wide .blog-card-img { width: 100%; min-height: 0; height: 240px; }
  .blog-card--wide .blog-card-body { padding: 26px 28px 30px; }
  .post-meta { border-radius: var(--radius-lg); gap: 14px; padding: 12px 18px; }
}

@media (max-width: 580px) {
  .blog-hero { padding: 60px 0 56px; }
  .post-hero { padding: 56px 0 110px; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-search { min-width: 0; width: 100%; }
  .blog-card-img { height: 210px; }
  .blog-card-body { padding: 22px 22px 26px; }
  .post-cover { margin-top: -70px; border-width: 4px; }
  .post-cover img { height: 240px; }
  .post-layout { padding: 40px 0 60px; }
  .post-content { font-size: 1rem; }
  .post-content .post-lead { font-size: 1.08rem; }
  .post-author-box { flex-direction: column; }
  .post-share-row { flex-direction: column; align-items: flex-start; }
  .post-inline-cta .btn { width: 100%; }
}

/* ---------------- ARTICLE PART BANNERS ---------------- */
.post-content .post-part {
  margin-top: 2.8em;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.post-content > .post-part:first-child { margin-top: 0; }

.post-part-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFA882;
}

.post-part-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
}