/* Insider Guide articles: the drawer typography of /insider-guide/, as full pages.
   Colours come from the cream tokens in cream.css. Hero rules are scoped to the
   article pages so they never touch the hero of /insider-guide/ itself. */

body.mqb-cream {
  --guide-label: #5f5142;
  --guide-border-hover: #a98a61;
}

/* Hero, article pages only: same values as the inline hero of /insider-guide/. */
.guide-article .ig-hero {
  padding: 80px 20px 56px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .guide-article .ig-hero { padding: 100px 32px 72px; }
}
.guide-article .ig-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.guide-article .ig-hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .guide-article .ig-hero-h1 { font-size: 4rem; }
}
.guide-article .ig-hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.guide-article .ig-hero .brief-breadcrumb { margin-bottom: 28px; }

.guide-shell {
  max-width: 660px;
  margin: 0 auto;
  padding: 8px 20px 88px;
}
@media (min-width: 768px) {
  .guide-shell { padding: 8px 40px 96px; }
}

.guide-answer {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 24px 22px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .guide-answer { padding: 28px 32px; }
}
.guide-answer-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.guide-answer p:last-child {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  color: var(--color-text-primary);
  line-height: 1.7;
  margin: 0;
}

.guide-section { scroll-margin-top: 120px; }
.guide-section + .guide-section { margin-top: 44px; }
.guide-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: 18px;
}
@media (min-width: 768px) { .guide-h2 { font-size: 2.2rem; } }
.guide-body {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.78;
}
.guide-body p + p,
.guide-body p + ul,
.guide-body ul + p { margin-top: 18px; }
.guide-body ul { list-style: disc; padding-left: 1.4em; }
.guide-body li { margin-bottom: 8px; }
.guide-body strong { color: var(--color-text-primary); font-weight: 600; }
.guide-body a { color: var(--color-gold); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ: the same values as /faq/. */
.guide-faq { margin-top: 56px; }
.faq-q {
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 140px;
}
.faq-q:last-child { border-bottom: 0; }
.faq-q-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.faq-q-summary::-webkit-details-marker { display: none; }
.faq-q-summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  background-color: var(--color-gold);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform 300ms ease;
}
.faq-q[open] > .faq-q-summary::after { transform: rotate(45deg); }
.faq-q-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.4;
}
.faq-q-body { padding: 0 0 24px; }
.faq-q-body p {
  font-family: 'Manrope', sans-serif;
  color: var(--color-text-primary);
  line-height: 1.7;
  margin: 0;
}

.guide-related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.guide-related-label,
.guide-index-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--guide-label);
  margin-bottom: 16px;
}
.guide-links {
  display: grid;
  gap: 12px;
}
.guide-link {
  display: block;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color 200ms ease;
}
.guide-link:hover { border-color: var(--guide-border-hover); }
.guide-link-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
}
.guide-link-desc {
  display: block;
  margin-top: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.guide-disclaimer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Index block on /insider-guide/ */
.guide-index {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 72px;
}
@media (min-width: 768px) {
  .guide-index { padding: 0 32px 80px; }
  .guide-index .guide-links { grid-template-columns: repeat(3, 1fr); }
}
.guide-index-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 8px;
}
.guide-index-intro {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.guide-index .guide-index-label { text-align: center; }

/* Breadcrumb, as on the Brief articles (brief.css is not loaded here). */
.brief-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 200ms ease;
}
.brief-breadcrumb-link:hover { opacity: 0.7; }
.brief-breadcrumb-arrow {
  display: inline-block;
  transition: transform 200ms ease;
}
.brief-breadcrumb-link:hover .brief-breadcrumb-arrow { transform: translateX(-3px); }
