/* =============================================
   blog-post.css — Clean Al Kuwait Co.
   Brand: #51C6F3 blue | #4AC099 green | #EF2D2B red | #F9B608 yellow
   All classes prefixed bp- to avoid Tailwind collisions.
   ============================================= */

:root {
  --bp-blue:        #51C6F3;
  --bp-green:       #4AC099;
  --bp-red:         #EF2D2B;
  --bp-yellow:      #F9B608;
  --bp-dark:        #0F1E2D;
  --bp-dark-mid:    #1a3a5c;
  --bp-gray:        #4B5563;
  --bp-gray-light:  #6B7280;
  --bp-border:      rgba(0, 0, 0, 0.07);
  --bp-light:       #F7F9FC;
  --bp-white:       #FFFFFF;
  --bp-shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.06);
  --bp-shadow-md:   0 4px 20px rgba(0, 0, 0, 0.08);
  --bp-shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.12);
  --bp-radius:      14px;
  --bp-radius-sm:   8px;
}

/* ── Reading progress bar ──────────────────────────────── */
.bp-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--bp-red), var(--bp-yellow), var(--bp-green), var(--bp-blue));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Site header ───────────────────────────────────────── */
.bp-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bp-white);
  border-bottom: 1px solid var(--bp-border);
  box-shadow: var(--bp-shadow-sm);
}

.bp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.bp-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bp-dark);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bp-logo img { height: 36px; width: auto; }

.bp-nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.bp-nav-link {
  display: block;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bp-gray);
  text-decoration: none;
  border-radius: var(--bp-radius-sm);
  transition: color 0.2s, background 0.2s;
}

.bp-nav-link:hover, .bp-nav-link.active {
  color: var(--bp-blue);
  background: rgba(81, 198, 243, 0.08);
}

.bp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.bp-lang-switch {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-gray-light);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--bp-border);
  border-radius: 20px;
  transition: all 0.2s;
}

.bp-lang-switch:hover { color: var(--bp-blue); border-color: var(--bp-blue); }

.bp-nav-wa {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #25D366;
  text-decoration: none;
  transition: opacity 0.2s;
}

.bp-nav-wa:hover { opacity: 0.8; }

.bp-nav-cta {
  padding: 8px 18px;
  background: var(--bp-red);
  color: var(--bp-white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.bp-nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Breadcrumb ─────────────────────────────────────────── */
.bp-breadcrumb-nav {
  background: var(--bp-light);
  padding: 76px 24px 12px;
}

[dir="rtl"] .bp-breadcrumb-nav { padding-top: 76px; }

.bp-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.bp-breadcrumb li:not(:last-child)::after {
  content: '›';
  color: var(--bp-gray-light);
  margin-inline-start: 6px;
}

.bp-breadcrumb a { color: var(--bp-blue); text-decoration: none; }
.bp-breadcrumb a:hover { text-decoration: underline; }
.bp-breadcrumb li:last-child { color: var(--bp-dark); font-weight: 600; }

/* ── Post hero ──────────────────────────────────────────── */
.bp-post-hero {
  background: linear-gradient(135deg, var(--bp-dark) 0%, var(--bp-dark-mid) 60%, #1d4976 100%);
  padding: 56px 24px 48px;
  position: relative;
  overflow: hidden;
}

.bp-post-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  inset-inline-end: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(81,198,243,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-post-hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--bp-white);
  position: relative;
  z-index: 1;
}

.bp-post-category {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 20px;
  background: rgba(81,198,243,0.15);
  border: 1px solid rgba(81,198,243,0.35);
  color: var(--bp-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.bp-post-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bp-post-hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  line-height: 1.65;
  margin-bottom: 28px;
}

.bp-post-meta-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.bp-post-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* 4-color stripe */
.bp-color-stripe {
  display: flex;
  height: 5px;
  margin-top: 40px;
}

.bp-color-stripe span {
  flex: 1;
  display: block;
}

.bp-color-stripe .cs-red    { background: var(--bp-red); }
.bp-color-stripe .cs-green  { background: var(--bp-green); }
.bp-color-stripe .cs-yellow { background: var(--bp-yellow); }
.bp-color-stripe .cs-blue   { background: var(--bp-blue); }

/* ── Hero image ─────────────────────────────────────────── */
.bp-hero-image-wrapper {
  width: 100%;
  max-height: 460px;
  overflow: hidden;
}

.bp-hero-image-wrapper img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* ── Post layout ────────────────────────────────────────── */
.bp-post-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── TOC sidebar ─────────────────────────────────────────── */
.bp-post-sidebar { position: relative; }

.bp-toc-wrapper {
  position: sticky;
  top: 90px;
  background: var(--bp-white);
  border-radius: var(--bp-radius);
  padding: 22px;
  box-shadow: var(--bp-shadow-sm);
  border: 1px solid var(--bp-border);
}

.bp-toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bp-dark);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bp-light);
}

.bp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-c;
}

.bp-toc-list li { counter-increment: toc-c; margin-bottom: 2px; }

.bp-toc-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: var(--bp-radius-sm);
  font-size: 0.82rem;
  color: var(--bp-gray-light);
  text-decoration: none;
  transition: all 0.25s;
  border-inline-start: 3px solid transparent;
  line-height: 1.4;
}

.bp-toc-link::before {
  content: counter(toc-c);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bp-light);
  color: var(--bp-gray-light);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}

.bp-toc-link:hover {
  background: var(--bp-light);
  color: var(--bp-dark);
}

.bp-toc-link.active {
  background: rgba(81,198,243,0.08);
  color: var(--bp-blue);
  border-inline-start-color: var(--bp-blue);
  font-weight: 600;
}

.bp-toc-link.active::before {
  background: var(--bp-blue);
  color: var(--bp-white);
}

/* ── Post content area ──────────────────────────────────── */
.bp-post-content { min-width: 0; }

/* ── Quick answer / key takeaways box ───────────────────── */
.bp-quick-answer {
  background: linear-gradient(135deg, rgba(74,192,153,0.07) 0%, rgba(81,198,243,0.07) 100%);
  border: 2px solid var(--bp-green);
  border-radius: var(--bp-radius);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.bp-quick-answer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bp-quick-answer-header svg { color: var(--bp-green); }

.bp-quick-answer-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bp-dark);
  margin: 0;
}

.bp-quick-answer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bp-quick-answer li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--bp-gray);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bp-quick-answer li:last-child { border-bottom: none; }

.bp-quick-answer li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bp-green);
}

/* ── Post sections ──────────────────────────────────────── */
.bp-post-section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.bp-post-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bp-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--bp-blue);
  display: inline-block;
}

.bp-post-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bp-dark);
  margin: 24px 0 10px;
}

.bp-post-section p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--bp-gray);
  margin-bottom: 16px;
}

.bp-post-section a { color: var(--bp-blue); }
.bp-post-section a:hover { text-decoration: underline; }

.bp-post-section strong { color: var(--bp-dark); }

/* ── Section image ──────────────────────────────────────── */
.bp-section-image-wrapper {
  border-radius: var(--bp-radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--bp-shadow-md);
}

.bp-section-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.bp-section-image-wrapper:hover .bp-section-image { transform: scale(1.03); }

/* ── Tables ─────────────────────────────────────────────── */
.bp-table-wrapper {
  margin: 24px 0;
  border-radius: var(--bp-radius);
  overflow: hidden;
  box-shadow: var(--bp-shadow-sm);
  border: 1px solid var(--bp-border);
}

.bp-table-scroll { overflow-x: auto; }

.bp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.bp-table thead { background: var(--bp-dark); }
.bp-table th {
  padding: 13px 18px;
  text-align: start;
  font-weight: 700;
  color: var(--bp-white);
  font-size: 0.85rem;
  white-space: nowrap;
}

.bp-table td {
  padding: 13px 18px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--bp-gray);
  vertical-align: top;
}

.bp-table tbody tr:last-child td { border-bottom: none; }
.bp-table tbody tr:hover { background: rgba(81,198,243,0.04); }
.bp-table tbody tr:nth-child(even) { background: #fafafa; }
.bp-table tbody tr:nth-child(even):hover { background: rgba(81,198,243,0.06); }

/* ── Key insight callout ─────────────────────────────────── */
.bp-key-insight {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, #f0fdf9 0%, #e8f8f4 100%);
  border-inline-start: 4px solid var(--bp-green);
  border-radius: 0 var(--bp-radius-sm) var(--bp-radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

[dir="rtl"] .bp-key-insight {
  border-inline-start: 4px solid var(--bp-green);
  border-radius: var(--bp-radius-sm) 0 0 var(--bp-radius-sm);
}

.bp-key-insight-warning {
  background: linear-gradient(135deg, #fff8f0 0%, #fef3e7 100%);
  border-inline-start-color: var(--bp-yellow);
}

.bp-key-insight-icon { font-size: 1.4rem; flex-shrink: 0; }

.bp-key-insight-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--bp-gray);
}

.bp-key-insight-content strong { color: var(--bp-dark); }

/* ── Highlight list (bold-lead paragraphs) ──────────────── */
.bp-highlight-list { margin: 20px 0; }

.bp-highlight-item {
  padding: 18px 20px;
  background: var(--bp-white);
  border-radius: var(--bp-radius-sm);
  border: 1px solid var(--bp-border);
  margin-bottom: 10px;
  border-inline-start: 3px solid var(--bp-blue);
  transition: box-shadow 0.2s;
}

.bp-highlight-item:hover { box-shadow: var(--bp-shadow-sm); }

.bp-highlight-item strong {
  display: inline;
  color: var(--bp-dark);
}

.bp-highlight-item p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--bp-gray);
  display: inline;
}

/* ── Numbered list ───────────────────────────────────────── */
.bp-numbered-list { margin: 20px 0; }

.bp-numbered-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bp-white);
  border-radius: var(--bp-radius-sm);
  border: 1px solid var(--bp-border);
  margin-bottom: 10px;
  transition: box-shadow 0.2s;
}

.bp-numbered-item:hover { box-shadow: var(--bp-shadow-sm); }

.bp-num-circle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--bp-green), #3aae85);
  color: var(--bp-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.bp-num-content p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--bp-gray);
}

/* ── Unordered list ──────────────────────────────────────── */
.bp-post-section ul:not(.bp-toc-list):not(.bp-quick-answer ul) {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.bp-post-section ul:not(.bp-toc-list):not(.bp-quick-answer ul) li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--bp-gray);
}

.bp-post-section ul:not(.bp-toc-list):not(.bp-quick-answer ul) li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bp-blue);
}

/* ── FAQ accordion ───────────────────────────────────────── */
.bp-faq-list { margin: 20px 0; }

.bp-faq-item {
  background: var(--bp-white);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.bp-faq-item:hover { border-color: rgba(81,198,243,0.35); }

.bp-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bp-dark);
  text-align: start;
  transition: background 0.2s;
}

.bp-faq-question:hover { background: var(--bp-light); }

.bp-faq-chevron {
  flex-shrink: 0;
  color: var(--bp-blue);
  transition: transform 0.3s ease;
}

.bp-faq-item.active .bp-faq-chevron { transform: rotate(180deg); }

.bp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.bp-faq-item.active .bp-faq-answer {
  max-height: 600px;
  padding: 0 22px 18px;
}

.bp-faq-answer p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--bp-gray-light);
  margin: 0;
}

/* ── Post conclusion CTA ─────────────────────────────────── */
.bp-post-conclusion {
  background: linear-gradient(135deg, var(--bp-dark) 0%, var(--bp-dark-mid) 100%);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  margin: 56px 0 40px;
  color: var(--bp-white);
  position: relative;
  overflow: hidden;
}

.bp-post-conclusion::before {
  content: '';
  position: absolute;
  top: -40%;
  inset-inline-end: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(81,198,243,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-post-conclusion h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bp-white);
  margin-bottom: 14px;
}

.bp-post-conclusion p {
  font-size: 1.02rem;
  line-height: 1.8;
  opacity: 0.9;
  color: var(--bp-white);
  margin-bottom: 12px;
  max-width: 700px;
  margin-inline: auto;
}

.bp-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.bp-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--bp-red);
  color: var(--bp-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.bp-btn-phone:hover { opacity: 0.9; transform: translateY(-2px); }

.bp-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #25D366;
  color: var(--bp-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.bp-btn-whatsapp:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── Author bio ──────────────────────────────────────────── */
.bp-author-bio {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bp-light);
  border-radius: var(--bp-radius);
  margin: 32px 0;
  align-items: flex-start;
  border: 1px solid var(--bp-border);
}

.bp-author-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--bp-radius-sm);
  background: var(--bp-blue);
  color: var(--bp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bp-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bp-dark);
  margin-bottom: 6px;
}

.bp-author-bio-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--bp-gray-light);
  margin-bottom: 10px;
}

.bp-author-link {
  font-size: 0.85rem;
  color: var(--bp-blue);
  text-decoration: none;
  font-weight: 600;
}

.bp-author-link:hover { text-decoration: underline; }

/* ── Sources ─────────────────────────────────────────────── */
.bp-sources {
  padding: 20px 0;
  border-top: 1px solid #eee;
  margin-top: 32px;
}

.bp-sources p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--bp-gray-light);
}

.bp-sources a { color: var(--bp-blue); }

/* ── Floating CTAs ───────────────────────────────────────── */
.bp-float-cta {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 500;
}

.bp-float-phone, .bp-float-wa {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bp-white);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bp-float-phone { background: var(--bp-red); }
.bp-float-wa    { background: #25D366; }

.bp-float-phone:hover,
.bp-float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* ── Site footer ─────────────────────────────────────────── */
.bp-footer {
  background: var(--bp-dark);
  color: rgba(255,255,255,0.75);
  padding: 40px 24px;
  margin-top: 48px;
}

.bp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.bp-footer-brand {
  font-weight: 700;
  color: var(--bp-white);
  font-size: 1rem;
}

.bp-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bp-footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.bp-footer-links a:hover { color: var(--bp-blue); }

.bp-footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 24px;
}

/* ── Blog index hero ─────────────────────────────────────── */
.bp-index-hero {
  background: linear-gradient(135deg, var(--bp-dark) 0%, var(--bp-dark-mid) 60%, #1d4976 100%);
  padding: 80px 24px 64px;
  text-align: center;
  color: var(--bp-white);
  position: relative;
  overflow: hidden;
}

.bp-index-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  inset-inline-end: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(81,198,243,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-index-hero-label {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 20px;
  background: rgba(81,198,243,0.15);
  border: 1px solid rgba(81,198,243,0.35);
  color: var(--bp-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.bp-index-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.bp-index-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Posts grid ──────────────────────────────────────────── */
.bp-posts-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.bp-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Post card ───────────────────────────────────────────── */
.bp-post-card {
  background: var(--bp-white);
  border-radius: var(--bp-radius);
  overflow: hidden;
  box-shadow: var(--bp-shadow-sm);
  border: 1px solid var(--bp-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.bp-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-lg);
}

.bp-card-image-link { display: block; overflow: hidden; }

.bp-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.bp-post-card:hover .bp-card-image { transform: scale(1.05); }

.bp-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bp-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0 10px;
}

.bp-card-title a {
  color: var(--bp-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.bp-card-title a:hover { color: var(--bp-blue); }

.bp-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--bp-gray-light);
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--bp-gray-light);
  margin-bottom: 14px;
}

.bp-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bp-blue);
  text-decoration: none;
  transition: gap 0.2s;
}

.bp-card-read-more:hover { gap: 9px; }

/* empty state */
.bp-no-posts {
  text-align: center;
  padding: 80px 24px;
  color: var(--bp-gray-light);
  font-size: 1.1rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bp-post-layout {
    grid-template-columns: 1fr;
  }

  .bp-toc-wrapper { position: static; }
}

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

@media (max-width: 768px) {
  .bp-posts-grid { grid-template-columns: 1fr; }
  .bp-posts-grid-wrapper { padding: 36px 16px 48px; }
  .bp-post-hero { padding: 40px 20px 36px; }
  .bp-post-hero-title { font-size: 1.75rem; }
  .bp-post-hero-subtitle { font-size: 1rem; }
  .bp-post-meta-bar { gap: 14px; }
  .bp-post-layout { padding: 32px 16px; }
  .bp-post-section h2 { font-size: 1.4rem; }
  .bp-section-image { height: 220px; }
  .bp-post-conclusion { padding: 32px 22px; }
  .bp-post-conclusion h2 { font-size: 1.4rem; }
  .bp-cta-buttons { flex-direction: column; }
  .bp-btn-phone, .bp-btn-whatsapp { justify-content: center; }
  .bp-numbered-item { gap: 12px; }
  .bp-hero-image-wrapper img { height: 260px; }
  .bp-nav-links { display: none; }
  .bp-footer-inner { flex-direction: column; text-align: center; }
}
