/* caretail.app/press — additions for the press kit page only. Tokens come from styles.css,
   so the light and dark schemes follow automatically. Mobile width first. */

.press-oneline { margin: 0 0 1em; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 600; }

/* Copyable text blocks */
.press-copy { margin: 0 0 18px; padding: 18px 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-border); }
.press-copy-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.page-content .press-copy-head h3 { margin: 0; font-size: 16px; }
.press-copy-head h3 small { font-weight: 500; color: var(--text-3); }
.page-content .press-copy p { margin: 0; }
.page-content .press-copy p + p { margin-top: 0.8em; }
.press-copy-btn { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* Fact sheet */
.press-facts { margin: 0 0 1em; border-top: 1px solid var(--line); }
.press-facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.press-facts dt { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.press-facts dd { margin: 2px 0 0; }
@media (min-width: 620px) {
  .press-facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: baseline; }
  .press-facts dd { margin: 0; }
}

/* Store buttons inside document text: undo the document link colour */
.page-content .stores { margin: 0 0 1em; }
.page-content a.store { color: var(--text); text-decoration: none; }
.page-content a.store:first-child { color: var(--on-pill); }

/* Asset gallery */
.press-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1em; padding: 0; list-style: none; }
.page-content .press-gallery li { margin: 0; }
.press-gallery figure { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-border); }
.press-thumb { display: grid; place-items: center; border-radius: 14px; overflow: hidden; background: var(--accent-soft); }
.press-thumb img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.press-thumb.icon { aspect-ratio: 1200 / 630; }
.press-thumb.icon img { width: 96px; border-radius: 22px; box-shadow: var(--shadow); }
.press-gallery figcaption { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 12px 2px 2px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.press-gallery figcaption b { font-size: 15px; color: var(--text-strong); }
.press-gallery .press-meta { font-size: 13px; color: var(--text-3); }
.press-gallery .press-dl { margin-top: auto; padding-top: 6px; font-weight: 600; }
.press-gallery .press-dl + .press-dl { margin-top: 0; }
.press-gallery .press-dl .press-meta { display: block; font-weight: 400; }
.press-gallery .wide { grid-column: 1 / -1; }
@media (min-width: 620px) {
  .press-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .press-gallery .wide { grid-column: span 2; }
}
