/* the Deadline Desk: CLIA answer pages (/answers/). Loads after /assets/css/styles.css and reuses its variables. */
.ans-page { padding: 1.5rem 0 4.5rem; background: linear-gradient(180deg, var(--teal-tint) 0, #fff 22rem); }
.ans-article { max-width: 46rem; }

/* Breadcrumb */
.ans-breadcrumb { margin: 0 0 1.75rem; font-size: .9rem; color: var(--ink-soft); }
.ans-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.ans-breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.ans-breadcrumb li + li::before { content: "\203A"; color: var(--ink-soft); }
.ans-breadcrumb a { color: var(--ink-soft); }
.ans-breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
@media (max-width: 559px) { .ans-breadcrumb [aria-current] { display: none; } }

/* Heading block */
.ans-head h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.15; margin-bottom: .5rem; }
.ans-meta { font-size: .92rem; color: var(--ink-soft); margin: 0 0 1.5rem; }

/* Direct answer */
.ans-answer {
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--teal);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.4rem; margin: 0 0 2rem;
}
.ans-answer-label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 .4rem; }
.ans-answer-text { font-size: 1.15rem; line-height: 1.55; margin: 0; color: var(--ink); }

/* Body typography */
.ans-article h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); margin: 2.5rem 0 .75rem; scroll-margin-top: 90px; }
.ans-article h3 { font-size: 1.08rem; margin: 1.5rem 0 .4rem; }
.ans-article p, .ans-article li { max-width: 44rem; }
.ans-article ul, .ans-article ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.ans-article li { margin-bottom: .6rem; }
.ans-article li::marker { color: var(--teal); font-weight: 700; }
.ans-cite { font-size: .95em; white-space: normal; }
.ans-note { font-size: .9rem; color: var(--ink-soft); }

/* Tables */
.ans-table-wrap { overflow-x: auto; margin: 1rem 0 .75rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ans-table-wrap:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.ans-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.ans-table caption { text-align: left; font-weight: 700; padding: .85rem 1rem .25rem; color: var(--ink); }
.ans-table th, .ans-table td { text-align: left; vertical-align: top; padding: .7rem 1rem; border-top: 1px solid var(--line); }
.ans-table thead th { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); background: var(--bg-alt); }
.ans-table tbody th { font-weight: 700; color: var(--ink); width: 22%; min-width: 7.5rem; }
@media (max-width: 640px) {
  .ans-table, .ans-table caption, .ans-table tbody, .ans-table tr, .ans-table td, .ans-table tbody th { display: block; width: 100%; }
  .ans-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ans-table tr { border-top: 1px solid var(--line); padding: .5rem 0; }
  .ans-table tbody th { border-top: 0; padding: .5rem 1rem .25rem; white-space: normal; }
  .ans-table td { border-top: 0; padding: .25rem 1rem .5rem; }
  .ans-table td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .1rem; }
}

/* FAQ */
.ans-faq { margin-top: 2.5rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.ans-faq-item { padding: .25rem 0 .5rem; }
.ans-faq-item p { color: var(--ink-soft); margin-bottom: .5rem; }

/* Disclaimer */
.ans-disclaimer { font-size: .9rem; color: var(--ink-soft); background: var(--bg-alt); border-radius: 10px; padding: .9rem 1.1rem; margin: 2rem 0 0; }

/* Soft CTA */
.ans-cta {
  margin: 2rem 0; padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--radius);
  background: var(--amber-tint); border: 1px solid #f3d29c; border-left: 6px solid var(--amber);
}
.ans-cta h2 { font-size: 1.3rem; margin: 0 0 .5rem; }
.ans-cta p { color: var(--ink); margin-bottom: 1rem; }
.ans-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.ans-cta-row .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .ans-cta-row .btn { flex: 0 0 auto; } }

/* Sources */
.ans-sources { margin-top: 2.5rem; font-size: .93rem; }
.ans-sources h2 { margin-top: 0; }
.ans-sources ol { padding-left: 1.4em; }
.ans-sources li { margin-bottom: .5rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.ans-verified { font-weight: 600; color: var(--ink); }

/* Related */
.ans-related { margin-top: 2.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ans-related h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.ans-related ul { list-style: none; padding: 0; margin: 0 0 .75rem; }
.ans-related li { padding: .45rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.ans-related li:last-child { border-bottom: 0; }
.ans-related p { margin: 0; font-weight: 600; }

/* Hub */
.ans-hub-head { max-width: 46rem; margin-bottom: 1.5rem; }
.ans-hub-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.ans-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 820px) { .ans-cards { grid-template-columns: repeat(2, 1fr); } }
.ans-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.35rem 1.4rem; display: flex; flex-direction: column; }
.ans-card h2 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .6rem; }
.ans-card h2 a { color: var(--ink); text-decoration: none; }
.ans-card h2 a:hover { color: var(--teal); text-decoration: underline; }
.ans-card p { color: var(--ink-soft); font-size: .97rem; }
.ans-card-more { margin-top: auto; font-weight: 700; }
.ans-hub-foot { max-width: 46rem; }

/* Two-column layout with "On this page" sidebar on wide screens */
.ans-aside { display: none; }
@media (min-width: 1080px) {
  .ans-layout { display: grid; grid-template-columns: minmax(0, 46rem) 17rem; gap: 3.5rem; align-items: start; }
  .ans-aside { display: block; position: sticky; top: 92px; }
}
.ans-aside-inner { border-left: 2px solid var(--line); padding-left: 1.25rem; font-size: .92rem; }
.ans-aside-title { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.ans-toc { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ans-toc li { margin-bottom: .5rem; line-height: 1.35; }
.ans-toc a { color: var(--ink-soft); text-decoration: none; }
.ans-toc a:hover { color: var(--teal); text-decoration: underline; }
.ans-aside-cta { background: var(--amber-tint); border: 1px solid #f3d29c; border-radius: 12px; padding: 1rem; }
.ans-aside-cta p { margin: 0 0 .6rem; line-height: 1.4; }

/* Hub: CTA as the sixth card */
.ans-card-cta { background: var(--amber-tint); border-color: #f3d29c; }
.ans-card-cta p { color: var(--ink); }
.ans-card-cta .ans-cta-row { margin-top: auto; }
