/* Themes index */
.theme-intro { max-width: 65ch; margin: 24px 0; }
.theme-intro h2 { font: 400 clamp(36px, 4vw, 52px)/1.05 var(--serif); margin: 0 0 8px; }
.theme-intro > p { color: var(--muted); margin: 0 0 8px; }
.theme-intro > .atlas-small { font-size: 12px; }
.themes-launch h2,.subject-edition-launch h2{font-family:var(--serif);font-weight:400;font-size:clamp(42px,5.2vw,76px);line-height:1.04;letter-spacing:-.035em;margin:12px 0 22px}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 3vw, 40px);
}
.theme-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 12px 8px 12px 0;
  color: inherit;
  text-decoration: none;
}
.theme-card-image {
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  background: var(--mint);
}
.theme-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.theme-card-copy h3 { font: 400 clamp(25px, 2.3vw, 32px)/1.05 var(--serif); margin: 0 0 4px; }
.theme-card-copy p { margin: 0; }
.theme-card-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-card-caption { font-size: 12px; color: var(--muted); }
.theme-card-arrow { color: var(--green); }
.atlas-page .theme-card:hover { background: var(--white); text-decoration: none; }
.theme-card:hover h3 { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.theme-card:focus-visible,.theme-preview-link:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.theme-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin:40px 0 30px}.theme-detail-head>div{max-width:770px}.theme-detail-head h1{font-family:var(--serif);font-size:clamp(44px,6vw,84px);font-weight:400;line-height:1.03;letter-spacing:-.035em;margin:12px 0 24px}.theme-detail-head>a{flex-shrink:0}.theme-method{border-block:1px solid var(--line);padding:18px 0;margin-bottom:36px;font-size:14px;line-height:1.7}.theme-method summary{font-weight:600;cursor:pointer}.theme-method>p,.theme-method>ul{max-width:830px}.theme-method h2{font-size:18px;margin:22px 0 10px}.theme-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}.theme-result{min-width:0;display:flex;flex-direction:column}.theme-result>.atlas-work-card{flex:1}.theme-evidence{padding:16px 4px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.theme-evidence summary{cursor:pointer;font-weight:600}.theme-evidence .atlas-sources{font-size:12px}.theme-next{border-top:1px solid var(--line);margin-top:60px;padding-top:34px}.theme-next h2{font-family:var(--serif);font-size:38px;font-weight:400}.work-themes{margin:18px 0 30px;border-block:1px solid var(--line);padding:18px 0}.work-themes .eyebrow{margin:0 0 12px}.work-themes small{display:block;margin-top:12px;color:var(--muted);font-size:12px}.work-themes .chip{font-size:12px}.painting-tools{flex-wrap:wrap}.painting-tools>label{min-width:0}.painting-tools select{width:100%;max-width:100%;border:1px solid var(--line);padding:13px 14px;border-radius:4px;background:#fbfaf5;color:var(--ink);font:inherit;margin-top:8px}.themes-launch{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;margin:84px 0;padding:56px;background:#e7ebdf;border-radius:4px}.themes-launch p:not(.eyebrow){line-height:1.7;font-size:16px;max-width:520px}.theme-preview-links{display:flex;flex-direction:column;justify-content:center}.theme-preview-links>div{padding:22px 0;border-bottom:1px solid #c4ccbd;display:flex;align-items:center;justify-content:space-between;gap:14px}.theme-preview-link{font-family:var(--serif);font-size:30px;text-decoration:none;color:inherit;line-height:1.15}.theme-preview-links span{font-size:12px;white-space:nowrap}.subject-edition-launch{margin:80px 0}.subject-edition-launch .section-top{align-items:flex-end}.subject-edition-launch h2{margin-bottom:0}.subject-edition-intro{font-size:17px;max-width:770px;line-height:1.7;margin:24px 0 32px}.subject-edition-launch .atlas-works-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.theme-results{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-detail-head{display:block}.theme-detail-head>a{margin-top:16px}.themes-launch{gap:30px;padding:36px}.theme-preview-link{font-size:25px}.subject-edition-launch .atlas-works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.theme-results{grid-template-columns:1fr}.themes-launch{grid-template-columns:1fr;padding:26px 22px;margin:50px 0;gap:18px}.theme-preview-link{font-size:28px}.theme-detail-head{margin-top:30px}.theme-detail-head .entity-lead{font-size:17px}.theme-results{gap:28px}.painting-tools>label{width:100%}.theme-next .entity-chips{gap:8px}.theme-next .chip{font-size:12px}.subject-edition-launch{margin:50px 0}.subject-edition-launch .section-top{display:block}.subject-edition-launch .section-top>a{display:inline-block;margin-top:20px}.subject-edition-launch .atlas-works-grid{grid-template-columns:1fr}.theme-preview-links>div{align-items:flex-start}.theme-preview-links span{padding-top:6px}}
@media (max-width: 680px) {
  .theme-intro { margin: 18px 0 16px; }
  .theme-grid { grid-template-columns: 1fr; }
  .theme-card { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; padding-block: 10px; }
}
 /* Keep the semantic select and give touch WebKit an explicit control box. */
#painting-theme{-webkit-appearance:none;appearance:none;min-height:48px;font-size:16px;line-height:1.35;padding:12px 40px 12px 14px;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);background-position:calc(100% - 19px) 50%,calc(100% - 14px) 50%;background-size:5px 5px;background-repeat:no-repeat}
