/* terms.html only. Reuses site.css and listing.css (rc-phero, rc-legal). */

/* "not dental or medical advice": the one boxed section of the terms, first in the body */
.tm-advice{display:grid;gap:.85rem;padding:1.15rem 1.2rem 1.25rem;border-radius:var(--r-l);background:var(--lav-tint);border:1px solid var(--lav-line);scroll-margin-top:6rem}
.rc-legal__body .tm-advice h2{display:flex;align-items:center;gap:.6rem;margin-top:0;font-size:1.25rem}
.tm-advice h2 .ic{flex:none;color:var(--lav)}
.rc-legal__body .tm-advice ul{display:grid;gap:.5rem}
.rc-legal__body .tm-advice li::before{background:var(--lav)}

.rc-legal__body h2[id]{scroll-margin-top:6rem}
.rc-legal__body p a{color:var(--aqua-800);font-weight:700}

/* photo credits: a closed shared .rc-reveal row under "Our content" */
.rc-legal__body .tm-credits{margin-top:0}
.tm-credits .rc-reveal__body{display:grid;gap:.5rem}
.rc-legal__body .tm-credits p{font-size:.875rem;line-height:1.6;color:var(--text)}

/* "On this page": a closed shared .rc-reveal row on phones and tablets, the sticky list from desktop up */
.rc-legal>.lg-toc-m{margin-top:0}
.lg-toc-m__links{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,9.5rem),1fr));column-gap:.5rem;padding:0 .6rem .7rem}
.lg-toc-m__links a{display:flex;align-items:center;min-height:2.75rem;padding:.3rem .5rem;border-radius:10px;color:var(--text);font-size:.92rem;line-height:1.3;text-decoration:none}
.lg-toc-m__links a:hover{background:var(--ground);color:var(--ink)}
@media (max-width:1023px){.rc-legal>.rc-legal__toc{display:none}}
@media (min-width:1024px){.lg-toc-m{display:none}}

/* review r2: a comfortable reading measure: the policy column is capped, not the text */
@media (min-width:1024px){.rc-legal{grid-template-columns:16.5rem minmax(0,44rem);justify-content:center}}
