/* ==========================================================================
   DUUKA blog: same look as the landing page
   ========================================================================== */
.bx-page { background: #ffffff; color: #101828; font-family: "Geist", "Inter", system-ui, sans-serif; }
.bx-main { padding-top: 5.5rem; }
@media (min-width: 1024px) { .bx-main { padding-top: 6.5rem; } }

.bx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
.bx-wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .bx-wrap { padding: 0 2rem; } }

.bx-crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.875rem; color: #98a2b3; }
.bx-crumbs a { color: #667085; text-decoration: none; }
.bx-crumbs a:hover { color: #f4621f; }

.bx-hero { padding: 2.5rem 0 2.5rem; }
.bx-h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #101828;
  max-width: 18ch;
}
.bx-lead { max-width: 40rem; margin: 0; font-size: 1.15rem; line-height: 1.6; color: #475467; }

.bx-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff3ec;
  color: #dd520f;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bx-meta { font-size: 0.875rem; color: #98a2b3; }

/* Featured post */
.bx-featured {
  display: grid;
  gap: 0;
  border: 1px solid #eaecf0;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bx-featured:hover { box-shadow: 0 24px 48px -24px rgba(16, 24, 40, 0.25); transform: translateY(-2px); color: inherit; }
@media (min-width: 900px) { .bx-featured { grid-template-columns: 1.1fr 1fr; } }
.bx-featured-media { position: relative; aspect-ratio: 16 / 10; background: #f2f4f7; }
@media (min-width: 900px) { .bx-featured-media { aspect-ratio: auto; min-height: 380px; } }
.bx-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bx-featured-body { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 2rem; }
@media (min-width: 1024px) { .bx-featured-body { padding: 2.75rem; } }
.bx-featured-body .bx-tag { align-self: flex-start; }
.bx-featured-body h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.bx-featured-body p { margin: 0; color: #475467; font-size: 1.02rem; line-height: 1.6; }
.bx-readmore { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: #f4621f; }
.bx-featured:hover .bx-readmore svg { transform: translateX(3px); }
.bx-readmore svg { transition: transform 0.18s ease; }

/* Card grid */
.bx-grid-section { padding-top: 3rem; padding-bottom: 1rem; }
.bx-section-title { margin: 0 0 1.5rem; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.bx-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .bx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.bx-card { border: 1px solid #eaecf0; border-radius: 20px; overflow: hidden; background: #ffffff; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.bx-card:hover { box-shadow: 0 20px 40px -24px rgba(16, 24, 40, 0.25); transform: translateY(-2px); }
.bx-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.bx-card-link:hover { color: inherit; }
.bx-card-media { position: relative; aspect-ratio: 16 / 10; background: #f2f4f7; }
.bx-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bx-card-body { display: flex; flex-direction: column; gap: 0.65rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.bx-card-body .bx-tag { align-self: flex-start; }
.bx-card-title { margin: 0; font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.bx-card-body p { margin: 0; color: #475467; font-size: 0.95rem; line-height: 1.55; flex: 1; }

/* Call to action band */
.bx-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3.5rem 0;
  padding: 2rem;
  border-radius: 24px;
  background: #101828;
  color: #ffffff;
}
@media (min-width: 1024px) { .bx-cta { padding: 2.75rem 3rem; } }
.bx-cta h2 { margin: 0 0 0.4rem; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.03em; color: #ffffff; }
.bx-cta p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 1.02rem; }
.bx-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.bx-btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.3); color: #ffffff; background: transparent; }
.bx-btn-ghost:hover { background: #ffffff; color: #101828; border-color: #ffffff; }

/* Article */
.bx-article-head { padding-top: 2rem; }
.bx-article-head .bx-tag { margin-bottom: 1rem; }
.bx-article-title { max-width: none; font-size: clamp(2rem, 4.6vw, 3.25rem); }
.bx-byline { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.bx-byline img { border-radius: 10px; border: 1px solid #eaecf0; }
.bx-byline strong { display: block; font-size: 0.95rem; font-weight: 600; }
.bx-byline small { display: block; font-size: 0.85rem; color: #667085; }

.bx-cover { margin: 2.25rem auto 0; }
.bx-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: 24px; background: #f2f4f7; }

.bx-article-layout { display: grid; gap: 3rem; padding-top: 3rem; }
@media (min-width: 1024px) { .bx-article-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: center; } }

.bx-prose { font-size: 1.1rem; line-height: 1.75; color: #344054; min-width: 0; }
.bx-prose > * + * { margin-top: 1.1rem; }
.bx-prose h2 { margin-top: 2.6rem; margin-bottom: 0.2rem; font-size: 1.65rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.025em; color: #101828; }
.bx-prose h3 { margin-top: 2rem; font-size: 1.25rem; font-weight: 600; color: #101828; }
.bx-prose p { margin-bottom: 0; }
.bx-prose ul, .bx-prose ol { padding-left: 1.35rem; margin-bottom: 0; }
.bx-prose ul { list-style: disc; }
.bx-prose ol { list-style: decimal; }
.bx-prose li { margin-top: 0.55rem; padding-left: 0.2rem; }
.bx-prose li::marker { color: #f4621f; font-weight: 600; }
.bx-prose strong { color: #101828; font-weight: 600; }
.bx-prose a { color: #f4621f; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.bx-prose a:hover { color: #dd520f; }

.bx-table-wrap { overflow-x: auto; border: 1px solid #eaecf0; border-radius: 16px; }
.bx-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.bx-table th, .bx-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid #eaecf0; vertical-align: top; }
.bx-table thead th { background: #f9fafb; font-size: 0.85rem; color: #667085; font-weight: 600; }
.bx-table tbody tr:last-child td { border-bottom: 0; }
.bx-table td:first-child { font-weight: 600; color: #101828; white-space: nowrap; }

.bx-faq { margin-top: 3rem !important; padding-top: 0.5rem; }
.bx-faq h2 { margin-top: 0; }
.bx-faq details { border-bottom: 1px solid #eaecf0; padding: 1rem 0; }
.bx-faq summary { cursor: pointer; list-style: none; font-weight: 600; color: #101828; display: flex; justify-content: space-between; gap: 1rem; }
.bx-faq summary::-webkit-details-marker { display: none; }
.bx-faq summary::after { content: "+"; color: #f4621f; font-size: 1.4rem; line-height: 1; transition: transform 0.2s ease; }
.bx-faq details[open] summary::after { transform: rotate(45deg); }
.bx-faq details p { margin: 0.75rem 0 0; color: #475467; }

/* Sticky side card */
.bx-side { display: none; }
@media (min-width: 1024px) { .bx-side { display: block; } }
.bx-side-card {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  border: 1px solid #eaecf0;
  border-radius: 20px;
  background: #f9fafb;
}
.bx-side-card img { width: 110px; height: auto; }
.bx-side-title { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: #101828; }
.bx-side-price { margin: 0; color: #475467; }
.bx-side-price strong { color: #f4621f; font-size: 1.35rem; letter-spacing: -0.02em; }
.bx-side-card .hx-btn { width: 100%; }
.bx-side-link { font-size: 0.9rem; color: #1fb457; font-weight: 600; text-decoration: none; text-align: center; }
.bx-side-link:hover { text-decoration: underline; color: #1fb457; }

/* Photos inside articles */
.bx-figure { margin: 2rem 0 !important; }
.bx-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; background: #f2f4f7; }
.bx-figure figcaption { margin-top: 0.65rem; font-size: 0.9rem; color: #667085; text-align: center; }

/* Key takeaway box */
.bx-note {
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  background: #fff7f2;
  border: 1px solid #ffd7c2;
  color: #344054;
}
.bx-note strong { color: #dd520f; }
