/* Roosty blog - article + overview styling in the site's house style.
   Extends the legal-pages design language (Inter, cream #fff3f0, dusty-pink
   #d39794, thin rgba borders, graphite surfaces, 760px reading column). */

@import url("/legal/legal.css?v=1");

/* ---- article hero ---- */
.bg-hero { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.bg-hero-img {
  width: 100%; aspect-ratio: 1925/1450; max-height: 460px; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--lg-border-soft); display: block;
}
.bg-meta { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; flex-wrap: wrap; }
.bg-cat {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--lg-pink); padding: 5px 12px; border: 1px solid rgba(211,151,148,.3); border-radius: 99px;
}
.bg-date { font-size: 14px; color: var(--lg-text-dim); }
.bg-read { font-size: 14px; color: var(--lg-text-dim); }
.bg-read::before { content: "·"; margin-right: 14px; }

.lg-head.bg-head { padding: 56px 0 32px; }
.lg-head.bg-head h1 { max-width: 24ch; }

/* ---- article body extras ---- */
.bg-callout {
  margin: 26px 0; padding: 18px 22px; border-radius: var(--lg-radius);
  background: rgba(211,151,148,.07); border: 1px solid rgba(211,151,148,.24);
  font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.8);
}
.bg-callout b, .bg-callout strong { color: var(--lg-pink); }
.bg-quote {
  margin: 28px 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--lg-pink);
  font-size: 18px; line-height: 1.6; color: var(--lg-cream); font-weight: 500; font-style: normal;
}
.bg-quote cite { display: block; margin-top: 10px; font-size: 13.5px; color: var(--lg-text-dim); font-style: normal; font-weight: 400; }

/* stat strip */
.bg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.bg-stat { background: var(--lg-surface); border: 1px solid var(--lg-border-soft); border-radius: var(--lg-radius-sm); padding: 16px 18px; }
.bg-stat .v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--lg-cream); }
.bg-stat .v em { font-style: normal; color: var(--lg-emerald); }
.bg-stat .l { font-size: 13px; color: var(--lg-text-dim); margin-top: 4px; }

/* FAQ */
.bg-faq details {
  border-top: 1px solid var(--lg-border-soft); padding: 4px 0;
}
.bg-faq details:last-child { border-bottom: 1px solid var(--lg-border-soft); }
.bg-faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; color: var(--lg-cream); font-weight: 500; font-size: 16px;
}
.bg-faq summary::-webkit-details-marker { display: none; }
.bg-faq summary::after { content: "+"; color: var(--lg-pink); font-size: 20px; font-weight: 400; transition: transform .2s ease; flex: none; }
.bg-faq details[open] summary::after { transform: rotate(45deg); }
.bg-faq details p { margin: 0 0 16px; font-size: 15px; }

/* CTA block */
.bg-cta {
  margin: 40px 0 10px; padding: 34px 32px; text-align: center;
  background: linear-gradient(180deg, rgba(211,151,148,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(211,151,148,.22); border-radius: var(--lg-radius);
}
.bg-cta h2 { margin: 0 0 8px; color: var(--lg-cream); font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
.bg-cta p { margin: 0 0 20px; color: var(--lg-text); font-size: 15px; }
.bg-cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bg-btn {
  display: inline-block; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 99px;
  padding: 12px 26px; transition: opacity .16s ease, background .16s ease; border: 1px solid transparent;
}
.bg-btn--primary { color: rgb(23,23,23); background: var(--lg-cream); }
.bg-btn--primary:hover { opacity: .9; }
.bg-btn--ghost { color: var(--lg-cream); background: rgba(255,255,255,.06); border-color: var(--lg-border); }
.bg-btn--ghost:hover { background: rgba(255,255,255,.1); }

/* related articles */
.bg-related { margin-top: 26px; }
.bg-related h2 { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--lg-text-dim); font-weight: 600; margin: 0 0 16px; }
.bg-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.bg-rel-card {
  display: block; text-decoration: none; padding: 16px 18px; border-radius: var(--lg-radius-sm);
  background: var(--lg-surface); border: 1px solid var(--lg-border-soft);
  transition: background .16s ease, border-color .16s ease;
}
.bg-rel-card:hover { background: var(--lg-surface-2); border-color: rgba(255,255,255,.16); }
.bg-rel-card .c { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--lg-pink); font-weight: 600; }
.bg-rel-card .t { display: block; margin-top: 7px; color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 500; line-height: 1.45; }

/* ---- overview page ---- */
/* Cards match the homepage blog cards: borderless, image-forward, 4:3 image,
   title then a muted category and date line. No boxed surface, no excerpt. */
.bg-grid { max-width: 1120px; margin: 0 auto; padding: 10px 24px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.bg-card {
  display: flex; flex-direction: column; text-decoration: none;
  transition: opacity .18s ease, transform .18s ease;
}
.bg-card:hover { opacity: .88; }
.bg-card img {
  width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; display: block;
  border-radius: 10px; border: 1px solid var(--lg-border-soft);
}
.bg-card-body { padding: 16px 2px 0; }
.bg-card h2 { margin: 0; font-size: 18px; line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; color: var(--lg-cream); }
.bg-card-meta { display: flex; gap: 10px; align-items: center; margin-top: 11px; }
.bg-card-meta .d { font-size: 14px; color: rgba(255,255,255,.55); }
.bg-card-meta .d::before { content: "·"; margin-right: 10px; color: rgba(255,255,255,.3); }
.bg-card .bg-cat { border: none; padding: 0; border-radius: 0; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: rgba(255,255,255,.55); }

.bg-overview-head { max-width: 1120px; margin: 0 auto; padding: 64px 24px 36px; }
.bg-overview-head h1 { color: var(--lg-cream); font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.03em; font-weight: 600; margin: 14px 0 12px; }
.bg-overview-head p { color: var(--lg-text); font-size: 16.5px; max-width: 58ch; margin: 0; }

@media (max-width: 900px) { .bg-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; } }
@media (max-width: 560px) { .bg-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 640px) {
  .bg-stats { grid-template-columns: 1fr; }
  .lg-head.bg-head { padding: 40px 0 24px; }
}
