/* ==========================================================================
   y2-daily.css — Daily SAT/ACT Corner
   Linked only from /free-sat-resources/ (Today's Tip card) and /daily/*.
   Builds on the fr-* rules inline in free-sat-resources/index.html, which the
   daily pages inherit because scripts/build-daily.mjs renders them from that
   page. Colours follow the fr-* palette; pencil is a surface, never text.
   ========================================================================== */

.dc-hero { padding: 48px 20px 40px; }
.dc-hero h1 { max-width: 820px; margin-left: auto; margin-right: auto; font-size: clamp(1.6rem, 3vw + 0.8rem, 2.25rem); line-height: 1.2; }
.dc-hero__eyebrow { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; margin: -12px 0 0.25rem !important; }
.dc-hero__eyebrow a { display: inline-block; padding: 12px 0; color: var(--y2-pencil, #F5B91E); text-decoration: underline; text-underline-offset: 3px; }
.dc-hero .dc-tags { justify-content: center; margin: 1rem 0 0; }
.dc-hero .dc-tag { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.dc-hero .dc-tag--test { background: var(--y2-pencil, #F5B91E); color: var(--y2-ink, #14264C); border-color: transparent; }

/* ---- tags ---- */
.dc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0.75rem; padding: 0; }
.dc-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1e3a8a;
  background: #fff;
}
.dc-tag--test { background: var(--y2-pencil, #F5B91E); color: var(--y2-ink, #14264C); border-color: transparent; }

/* ---- Today's Tip card (Free Resources) ---- */
.dc-today { padding-top: 32px; }
.dc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--y2-pencil, #F5B91E);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.dc-card__eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1e3a8a; margin: 0 0 0.6rem; }
.dc-card__eyebrow span { font-weight: 500; letter-spacing: 0; text-transform: none; color: #475569; }
.fr-section .dc-card h2 { margin-bottom: 0.6rem; line-height: 1.3; }
.dc-card h2 a { color: inherit; text-decoration: none; }
.dc-card h2 a:hover { text-decoration: underline; }

/* ---- tip + puzzle ---- */
.dc-tip { color: #334155; font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.25rem; max-width: 72ch; }
.dc-puzzle { background: var(--y2-paper, #FBFAF6); border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px; margin: 0 0 1.25rem; }
.dc-puzzle__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1e3a8a; margin: 0 0 0.4rem; }
.dc-puzzle__q { color: #0f172a; font-weight: 500; line-height: 1.6; margin: 0 0 0.75rem; }
.dc-choices { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; gap: 8px; }
.dc-choices li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; color: #1e293b; line-height: 1.5; }
.dc-choices__label {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1e3a8a; color: #fff; font-size: 0.8rem; font-weight: 700;
}
.dc-answer { border-radius: 8px; }
.dc-answer > summary {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 2px solid #1e3a8a; border-radius: 8px;
  color: #1e3a8a; font-weight: 600; cursor: pointer; list-style: none;
}
.dc-answer > summary::-webkit-details-marker { display: none; }
.dc-answer > summary::before { content: '+'; font-size: 1.15rem; line-height: 1; }
.dc-answer[open] > summary::before { content: '\2212'; }
.dc-answer > summary:hover { background: #1e3a8a; color: #fff; }
.dc-answer > summary:focus-visible { outline: 3px solid var(--y2-focus, #14264C); outline-offset: 2px; }
.dc-answer__body { margin-top: 12px; padding: 12px 14px; background: #fff; border-left: 4px solid var(--y2-pencil, #F5B91E); border-radius: 0 8px 8px 0; color: #334155; line-height: 1.6; }
.dc-answer__body p { margin: 0 0 0.5rem; }
.dc-answer__body p:last-child { margin-bottom: 0; }

/* ---- actions ---- */
.dc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dc-actions .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.dc-actions--center { justify-content: center; }
.dc-actions__call { color: #475569; }
.dc-actions__call a { display: inline-block; padding: 10px 0; font-weight: 600; color: #1e3a8a; }

/* ---- entry page ---- */
.dc-entry { max-width: 820px; padding-bottom: 48px; }
.dc-entry h2 { margin-bottom: 0.75rem; }
.dc-video { margin: 0 0 1.25rem; }
.dc-video iframe, .dc-video video { display: block; width: 100%; border: 0; border-radius: 10px; background: #0f172a; }
.dc-video iframe { aspect-ratio: 16 / 9; }
.dc-video--short iframe { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; }
.dc-further { margin: 0 0 1.25rem; color: #475569; }
.dc-further a, .dc-more a { color: #1e3a8a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 10px 0; }
.dc-cta { background: #eff4ff; border: 1px solid #dbe4f7; border-radius: 10px; padding: 18px; margin: 0 0 1.5rem; }
.dc-cta > p { color: #1e293b; margin: 0 0 0.9rem; line-height: 1.55; }
.dc-pager { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 1rem; }
.dc-pager__link {
  display: block; padding: 14px 16px; min-height: 44px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  color: #1e3a8a; font-weight: 600; line-height: 1.4;
}
.dc-pager__link small { display: block; color: #475569; font-weight: 500; font-size: 0.8rem; margin-bottom: 2px; }
.dc-pager__link:hover { border-color: #1e3a8a; }
.dc-more { color: #475569; margin: 1rem 0 0; }

/* ---- archive ---- */
.dc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.25rem; }
.dc-filters[hidden] { display: none; }
.dc-chip {
  min-height: 44px; min-width: 64px; padding: 0 18px;
  border: 2px solid #1e3a8a; border-radius: 999px;
  background: #fff; color: #1e3a8a; font: inherit; font-weight: 600; cursor: pointer;
}
.dc-chip[aria-pressed='true'] { background: #1e3a8a; color: #fff; }
.dc-chip:focus-visible { outline: 3px solid var(--y2-focus, #14264C); outline-offset: 2px; }
.dc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.dc-list li[hidden] { display: none; }
.dc-list__card { height: 100%; }
.dc-list__date { font-size: 0.82rem !important; font-weight: 600; color: #475569; margin: 0 0 0.5rem !important; }
.dc-list__card h3 { line-height: 1.35; }
.dc-empty { color: #475569; padding: 16px 0; }

@media (min-width: 768px) {
  .dc-card { padding: 28px 32px; }
  .dc-puzzle { padding: 20px 22px; }
  .dc-pager { grid-template-columns: 1fr 1fr; }
  .dc-pager__link--next { text-align: right; }
}

@media (max-width: 480px) {
  /* styles.css makes every .btn full width here; keep that, but let the
     call line sit on its own row beneath. */
  .dc-actions { flex-direction: column; align-items: stretch; }
  .dc-actions__call { text-align: center; }
}
