/* Topic images are curated independently from the resource directory. */
body.atlas-topics {
  --tp-surface: #e9edeb;
  --tp-caption: #58656b;
}
.atlas-topics main { padding-bottom: 64px; }
.atlas-topics .journal-card { grid-column: auto; min-width: 0; margin: 0; }
.atlas-topics main h1,
.atlas-topics main h2,
.atlas-topics main h3 { font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.tp-eyebrow { margin: 0; color: var(--v2-blue); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .075em; }
.tp-eyebrow > span { margin-inline: 7px; color: #8a969c; }
.tp-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; padding-block: 49px 35px; }
.tp-intro h1 { margin: 14px 0 0; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.3; }
.tp-intro h1 > span { color: var(--v2-blue); }
.tp-intro-note { margin: 0 0 3px; color: var(--v2-muted); font-size: 13px; line-height: 1.9; flex-shrink: 0; }
.atlas-topics .tp-feature-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 36px; padding: 26px; border-radius: 8px; background: var(--tp-surface); }
.tp-feature-art { min-width: 0; }
.atlas-topics .tp-image { width: 100%; aspect-ratio: 1672 / 941; border-radius: 5px; background: #e5e9e8; }
.atlas-topics .tp-image img { display: block; width: 100%; height: 100%; aspect-ratio: 1672 / 941; object-fit: contain; filter: none; transition: none; }
.tp-image-open { position: absolute; right: 12px; bottom: 12px; padding: 6px 11px; border: 1px solid #ffffff94; border-radius: 3px; color: #182830; background: #ffffffed; font-size: 11px; line-height: 1.5; opacity: 0; transform: translateY(3px); transition: opacity .18s ease, transform .18s ease; }
.tp-image:hover .tp-image-open,
.tp-image:focus-visible .tp-image-open { opacity: 1; transform: none; }
.tp-image-note { display: flex; justify-content: space-between; gap: 16px; margin: 11px 0 0; color: var(--tp-caption); font-size: 10px; line-height: 1.65; }
.tp-feature-copy { min-width: 0; padding: 8px 12px 23px 0; }
.tp-feature-copy h2 { margin: 15px 0 16px; font-size: clamp(27px, 2.6vw, 36px); line-height: 1.3; }
.tp-feature-description { max-width: 30em; margin: 0; color: #526168; font-size: 14px; line-height: 1.9; }
.tp-observations { margin: 22px 0 18px; padding-block: 16px; border-block: 1px solid #cdd6d2; }
.tp-observations > div { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 13px; }
.tp-observations > div + div { margin-top: 8px; }
.tp-observations dt { color: #283b40; font-size: 12px; font-weight: 600; }
.tp-observations dd { margin: 0; color: #526168; font-size: 12px; line-height: 1.8; }
.atlas-topics a.tp-resource-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; color: var(--v2-ink); font-size: 13px; font-weight: 600; line-height: 1.6; }
.atlas-topics a.tp-resource-link .v2-arrow { color: var(--v2-blue); transition: transform .18s ease; }
.atlas-topics a.tp-resource-link:hover { color: var(--v2-blue); }
.atlas-topics a.tp-resource-link:hover .v2-arrow { transform: translateX(3px); }
.tp-collection { padding-block: 66px 60px; }
.tp-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 27px; }
.tp-section-heading h2 { margin: 10px 0 0; font-size: clamp(25px, 2.2vw, 31px); line-height: 1.45; }
.tp-section-heading > p { margin: 0 0 5px; color: var(--v2-muted); font-size: 11px; flex-shrink: 0; }
.tp-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.atlas-topics .tp-story { display: flex; flex-direction: column; }
.tp-story-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding-top: 15px; }
.tp-story-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--v2-muted); font-size: 10px; line-height: 1.6; }
.tp-story-meta > span:first-child { color: var(--v2-blue); }
.tp-story-copy h3 { margin: 11px 0 12px; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.45; }
.tp-story-description { margin: 0 0 18px; color: var(--v2-muted); font-size: 13px; line-height: 1.9; }
.tp-study-note { margin: auto 0 0; padding: 14px 0 12px; border-top: 1px solid var(--v2-line); color: var(--tp-caption); font-size: 11px; line-height: 1.8; }
.tp-study-note > span { display: block; margin-bottom: 3px; color: var(--v2-ink); font-size: 10px; font-weight: 600; }
.tp-story-copy .tp-resource-link { width: 100%; border-bottom: 1px solid var(--v2-line); }
.tp-next { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 32px; border-block: 1px solid var(--v2-line); }
.tp-next h2 { margin: 10px 0; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.5; }
.tp-next p:last-child { margin: 0; color: var(--v2-muted); font-size: 13px; line-height: 1.8; }
.tp-next > a { flex-shrink: 0; }
.atlas-topics main [id] { scroll-margin-top: 105px; }
@media (max-width: 1100px) {
  .tp-intro { align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 38px 30px; }
  .tp-intro-note br { display: none; }
  .atlas-topics .tp-feature-grid { gap: 25px; padding: 20px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .tp-feature-copy { padding: 6px 2px 19px 0; }
  .tp-feature-copy h2 { font-size: 29px; margin-block: 12px; }
  .tp-feature-description { font-size: 13px; }
  .tp-observations { margin-block: 15px 10px; padding-block: 12px; }
  .tp-collection-grid { gap: 22px; }
  .tp-story-copy h3 { font-size: 21px; }
  .tp-story-description { font-size: 12px; }
}
@media (max-width: 900px) {
  .atlas-topics .tp-feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .tp-feature-copy { padding: 4px 6px 5px; }
  .tp-feature-copy h2 { font-size: 32px; }
  .tp-feature-description { max-width: none; font-size: 14px; }
  .tp-observations { margin-block: 20px 12px; }
  .tp-observations > div { grid-template-columns: 50px minmax(0, 1fr); }
  .tp-observations dd { font-size: 13px; }
  .tp-section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .tp-section-heading > p { margin: 0; }
  .tp-collection { padding-block: 48px; }
  .tp-collection-grid { grid-template-columns: 1fr; gap: 30px; }
  .atlas-topics .tp-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .tp-story-copy { padding-top: 0; }
  .tp-story-copy h3 { font-size: 24px; margin-block: 9px; }
  .tp-story-description { font-size: 13px; margin-bottom: 14px; }
  .tp-story-meta { font-size: 10px; }
  .tp-next { align-items: flex-start; flex-direction: column; gap: 22px; }
}
@media (max-width: 680px) {
  .atlas-topics main { padding-bottom: 40px; }
  .tp-intro { padding-block: 29px 25px; gap: 15px; }
  .tp-eyebrow { font-size: 10px; letter-spacing: .045em; }
  .tp-intro h1 { max-width: 12em; margin-top: 13px; font-size: clamp(28px, 7.5vw, 38px); line-height: 1.4; }
  .tp-intro-note { font-size: 13px; line-height: 1.85; }
  .atlas-topics .tp-feature-grid { padding: 12px; gap: 18px; border-radius: 6px; }
  .tp-feature-copy { padding: 0 6px 5px; }
  .tp-feature-copy h2 { font-size: 28px; }
  .tp-feature-description { font-size: 13px; }
  .tp-observations { margin-block: 17px 10px; }
  .tp-observations > div { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .tp-observations dd { font-size: 12px; }
  .tp-image-note { font-size: 9px; margin-top: 9px; }
  .tp-image-open { right: 9px; bottom: 9px; padding: 5px 8px; font-size: 10px; opacity: 1; transform: none; }
  .tp-collection { padding-block: 39px; }
  .tp-section-heading { margin-bottom: 22px; gap: 9px; }
  .tp-section-heading h2 { max-width: 14em; font-size: 25px; line-height: 1.45; }
  .tp-section-heading > p { font-size: 10px; }
  .tp-collection-grid { gap: 34px; }
  .atlas-topics .tp-story { display: flex; gap: 0; }
  .tp-story-copy { padding-top: 14px; }
  .tp-story-copy h3 { font-size: 24px; margin-block: 10px; }
  .tp-story-description { margin-bottom: 16px; font-size: 13px; }
  .tp-story-meta { font-size: 10px; }
  .tp-study-note { padding-top: 13px; }
  .tp-next { padding-block: 26px; gap: 22px; }
  .tp-next h2 { max-width: 15em; font-size: 23px; }
  .tp-next p:last-child { font-size: 12px; }
}
@media (hover: none) {
  .tp-image-open { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-image-open,
  .atlas-topics a.tp-resource-link .v2-arrow { transition: none; }
}
