/* Shared reading-guide panel — collapsed by default, expands on click */
.reading-guide {
  --rg-ink: #1c2434;
  --rg-muted: #5a6578;
  --rg-accent: #2f6f5e;
  --rg-accent-soft: rgba(47, 111, 94, 0.1);
  --rg-border: rgba(28, 36, 52, 0.08);
  --rg-paper: #fffdf8;
  --rg-shadow: 0 18px 48px rgba(28, 36, 52, 0.08);
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(47, 111, 94, 0.07), transparent 45%),
    radial-gradient(ellipse at 88% 100%, rgba(180, 120, 60, 0.06), transparent 40%),
    #f4f1ea;
}

.reading-guide .container,
.reading-guide .reading-guide__inner {
  max-width: 920px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.reading-guide-reveal {
  background: var(--rg-paper);
  border: 1px solid var(--rg-border);
  border-radius: 20px;
  box-shadow: var(--rg-shadow);
  overflow: hidden;
}

.reading-guide-reveal > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  user-select: none;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.08), transparent 55%),
    linear-gradient(180deg, #fffdf8, #faf7f0);
}

.reading-guide-reveal > summary::-webkit-details-marker {
  display: none;
}

.reading-guide-reveal > summary:focus-visible {
  outline: 2px solid var(--rg-accent);
  outline-offset: -2px;
}

.reading-guide-reveal__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--rg-accent-soft);
  color: var(--rg-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.reading-guide-reveal__eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rg-accent);
}

.reading-guide-reveal__copy h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--rg-ink);
  line-height: 1.3;
}

.reading-guide-reveal__copy p {
  margin: 0;
  color: var(--rg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 58ch;
}

.reading-guide-reveal__action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #f3f4f8;
  color: var(--rg-accent);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.reading-guide-reveal__less {
  display: none;
}

.reading-guide-reveal[open] .reading-guide-reveal__more {
  display: none;
}

.reading-guide-reveal[open] .reading-guide-reveal__less {
  display: inline;
}

.reading-guide-reveal[open] .reading-guide-reveal__action {
  background: var(--rg-accent-soft);
}

.reading-guide-reveal__action i {
  transition: transform 0.25s ease;
}

.reading-guide-reveal[open] .reading-guide-reveal__action i {
  transform: rotate(180deg);
}

.reading-guide-reveal__panel {
  display: none;
  border-top: 1px solid var(--rg-border);
}

.reading-guide-reveal[open] .reading-guide-reveal__panel {
  display: block;
  animation: readingGuideOpen 0.32s ease;
}

@keyframes readingGuideOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reading-guide-card__body {
  padding: 1.35rem 1.5rem 0.35rem;
  color: var(--rg-ink);
  font-size: 0.98rem;
  line-height: 1.7;
}

.reading-guide-card__body > p {
  margin-bottom: 1rem;
}

.reading-guide-card__body h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rg-accent);
}

.reading-guide-card__body ul,
.reading-guide-card__body ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.reading-guide-card__body li {
  margin-bottom: 0.4rem;
}

.reading-guide-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0.35rem 0 1.1rem;
}

@media (min-width: 700px) {
  .reading-guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.reading-guide-tip {
  background: #fff;
  border: 1px solid var(--rg-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.reading-guide-tip h3 {
  margin: 0 0 0.45rem !important;
  font-size: 0.88rem !important;
}

.reading-guide-tip p,
.reading-guide-tip ul,
.reading-guide-tip ol {
  margin: 0;
  color: var(--rg-muted);
  font-size: 0.92rem;
}

.reading-guide-tip ul,
.reading-guide-tip ol {
  padding-left: 1.05rem;
}

.reading-guide-faq {
  margin: 0.25rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--rg-accent-soft);
  border: 1px solid rgba(47, 111, 94, 0.12);
}

.reading-guide-faq p {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.reading-guide-faq p:last-child {
  margin-bottom: 0;
}

.reading-guide-card__footer {
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid var(--rg-border);
  font-size: 0.88rem;
  color: var(--rg-muted);
}

.reading-guide-card__footer a,
.reading-guide-card__body a {
  color: var(--rg-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reading-guide-card__footer a:hover,
.reading-guide-card__body a:hover {
  color: #245749;
}

@media (max-width: 575px) {
  .reading-guide {
    padding: 1.75rem 0 2.5rem;
  }

  .reading-guide-reveal > summary {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon copy"
      "action action";
    padding: 1.15rem;
  }

  .reading-guide-reveal__icon { grid-area: icon; }
  .reading-guide-reveal__copy { grid-area: copy; }
  .reading-guide-reveal__action {
    grid-area: action;
    justify-content: center;
    margin-top: 0.15rem;
  }

  .reading-guide-card__body,
  .reading-guide-card__footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}
