/* Masthead and reading views share the typography of the clinic's wordmark. */
.journal-masthead {
  display: grid;
  grid-template-columns: 1fr 1.01fr;
  min-height: clamp(16rem, 21vw, 22rem);
  overflow: hidden;
  border-radius: 16px;
  background: #e3f1e8;
}
.journal-mast-copy {align-self: center; padding: clamp(1.7rem,3vw,3rem) clamp(1.35rem,4.6vw,5rem)}
.journal-mast-copy .crumb, .story-head .crumb {color: var(--soft)}
.journal-mast-copy h1 {margin: .8rem 0 .75rem; font-size: clamp(3rem,5vw,5.15rem); line-height: .99; letter-spacing: -.065em; color: var(--ink)}
.journal-mast-copy em {display: block; font: italic 1.04em/1.03 Georgia,serif; color: var(--teal); letter-spacing: -.047em}
.journal-mast-copy p {max-width: 34rem; color: var(--soft); font-size: 1.03rem}
.journal-mast-photo {width: 100%; height: 100%; max-height: 24rem; min-height: 0; object-fit: cover; object-position: 62% 46%}
.journal-content {max-width: 82rem; padding-bottom: clamp(3.2rem,6vw,6.1rem)}
.journal-tools {padding: clamp(1.4rem,2.7vw,2.2rem) 0 .6rem; border-bottom: 1px solid var(--line)}
.journal-tools .search-form {margin: 0; gap: .65rem 1rem; flex-wrap: nowrap}
.journal-tools .search-label {flex: 1 1 14rem}
.journal-tools .select-label {flex: 0 1 15rem}
.journal-tools .reset {min-height: 46px; padding-inline: .85rem}
.journal-tools .directory-meta {margin: .6rem 0 0; min-height: 1.2rem; font-size: .875rem; text-align: right}
.visually-hidden, .journal-formats input {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0;
}
.journal-formats {display: inline-flex; min-width: 0; margin: 0 auto 1px 0; padding: .2rem; border: 1px solid var(--line); border-radius: 30px; background: #eaf2eb}
.journal-formats label {display: block; position: relative}
.journal-formats span {display: inline-flex; align-items: center; min-height: 37px; padding: .38rem .92rem; border-radius: 24px; cursor: pointer; font-size: .91rem; color: #34574f}
.journal-formats input:checked + span {color: #fff; background: var(--teal)}
.journal-formats input:not(:checked) + span:hover {background: #d8e9dd}
.journal-formats input:focus-visible + span {outline: 3px solid #257a92; outline-offset: 2px}
.journal-columns {
  display: grid;
  grid-template-columns: minmax(0,1.72fr) minmax(17rem,1fr);
  gap: clamp(2.1rem,4.3vw,4.2rem);
  margin-top: clamp(1.6rem,3vw,2.7rem);
  align-items: start;
}
.journal-collection {min-width: 0; scroll-margin-top: 1.5rem}
.collection-head {display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; border-bottom: 2px solid #315a53; padding-bottom: .72rem; margin-bottom: 1.1rem}
.collection-head h2, .collection-count {line-height: 1.12}
.collection-head h2 {font-size: clamp(1.7rem,2.4vw,2.55rem); letter-spacing: -.055em}
.collection-count {color: var(--soft); font-size: .9rem; white-space: nowrap}
.cover-list {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem,1.6vw,1.5rem); align-items: start}
.cover-story {min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden}
.cover-story-link {display: grid; gap: 0; color: var(--ink)}
.cover-story-link:focus-visible {outline-offset: -4px}
.cover-frame {display: block; aspect-ratio: 1.75; overflow: hidden; background: #dfebe3}
.cover-frame img {display: block; width: 100%; height: 100%; object-fit: cover}
.cover-story-copy {padding: clamp(1rem,1.55vw,1.6rem)}
.journal-meta {display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .65rem; font-size: .875rem; line-height: 1.4; color: var(--soft)}
.journal-meta span {color: var(--teal); font-weight: 700}
.journal-meta time {white-space: nowrap}
.cover-story h3, .text-story h3, .story-head h1 {
  font-family: Georgia,'Times New Roman',serif;
  font-weight: 400; color: var(--ink); overflow-wrap: break-word;
}
.cover-story h3 {margin: .52rem 0 .48rem; font-size: clamp(1.48rem,2vw,2.12rem); line-height: 1.12; letter-spacing: -.042em}
.cover-story p, .text-story p {font-size: 1rem; line-height: 1.55; color: var(--soft); text-wrap: pretty}
.read-action {display: inline-block; margin-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--teal); text-decoration: underline; text-underline-offset: .22em}
.cover-story-link:hover h3, .text-story h3 a:hover {color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em}
.cover-story-lead {grid-column: 1/-1; border-color: #d2e3d8; background: #e7f2e9}
.cover-story-lead .cover-story-link {grid-template-columns: 1.05fr 1fr}
.cover-story-lead .cover-frame {aspect-ratio: auto; min-height: 14rem}
.cover-story-lead .cover-story-copy {align-self: center}
.cover-story-lead h3 {font-size: clamp(1.85rem,2.8vw,3.2rem)}
.text-story {padding: 1.06rem 0 1.13rem; border-bottom: 1px solid var(--line)}
.text-story:first-child {padding-top: .06rem}
.text-story h3 {margin: .37rem 0 .37rem; font-size: clamp(1.42rem,1.83vw,1.93rem); line-height: 1.15; letter-spacing: -.034em}
.text-story .text-link {display: inline-block; margin-top: .5rem; font-size: .875rem}
.journal-columns:has(.collection-text[hidden]) .collection-illustrated,
.journal-columns:has(.collection-illustrated[hidden]) .collection-text {grid-column: 1/-1}
.journal-columns:has(.collection-text[hidden]) .cover-list {grid-template-columns: repeat(3,minmax(0,1fr))}
.journal-columns:has(.collection-text[hidden]) .cover-story-lead {grid-column: auto}
.journal-columns:has(.collection-text[hidden]) .cover-story-lead .cover-story-link {grid-template-columns: 1fr}
.journal-columns:has(.collection-text[hidden]) .cover-story-lead .cover-frame {aspect-ratio: 1.75; min-height: 0}
.journal-columns:has(.collection-illustrated[hidden]) .text-list {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem}
.journal-columns:has(.collection-illustrated[hidden]) .text-story {padding-block: 1.1rem}
.collection-gallery {grid-column: 1/-1}
.clinic-photo-grid {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2vw,2rem)}
.clinic-photo {margin: 0; min-width: 0}
.clinic-photo img {display: block; width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; border-radius: 10px; background: var(--wash)}
.clinic-photo figcaption {display: grid; gap: .18rem; padding-block: .55rem}
.clinic-photo figcaption span {font: 400 clamp(1.2rem,1.5vw,1.55rem)/1.2 Georgia,serif; color: var(--ink)}
.clinic-photo figcaption small {font-size: .85rem; color: var(--soft)}
.journal-content .empty {margin: 2rem 0}
.story-head {max-width: 82rem; padding-block: clamp(1.75rem,4vw,4rem) clamp(1.8rem,4.4vw,4.3rem); border-bottom: 2px solid #3f655a}
.story-standfirst {max-width: 54rem; min-width: 0; align-self: center}
.story-standfirst .journal-meta {margin-top: clamp(1.3rem,2.6vw,2.65rem)}
.story-head h1 {margin: .48rem 0 1rem; font-size: clamp(2.65rem,5.4vw,5.65rem); line-height: 1.03; letter-spacing: -.055em}
.story-standfirst>p {max-width: 54ch; color: var(--soft); font-size: clamp(1.07rem,1.45vw,1.3rem); line-height: 1.62}
.story-with-art {display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.8rem,5vw,5rem); align-items: center}
.story-art {margin: 0; min-width: 0}
.story-art img {width: 100%; display: block; aspect-ratio: 1.6; height: auto; object-fit: cover; border-radius: 12px}
.story-art figcaption {margin-top: .4rem; color: var(--soft); font-size: .83rem}
.story-layout {max-width: 82rem; display: grid; grid-template-columns: minmax(0,1.75fr) minmax(15rem,.8fr); gap: clamp(2rem,6vw,6.5rem); align-items: start; padding-block: clamp(1.8rem,3.8vw,3.7rem) clamp(3.1rem,5.5vw,5.6rem)}
.story-body {max-width: 69ch}
.story-body .reading-section h2 {font-size: clamp(1.55rem,2.3vw,2.25rem)}
.story-body .reading-section p, .story-body .reading-section li {font-size: 1.035rem; line-height: 1.75}
.story-aside {display: grid; gap: 1.25rem; background: #e9f2eb; border-radius: 12px; padding: clamp(1.1rem,2.1vw,2rem); font-size: .93rem}
.story-side-block h2 {font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .65rem}
.story-nav, .story-sources {display: grid; gap: .42rem; justify-items: start}
.story-nav a {text-decoration: underline; text-underline-offset: .22em}
@media (max-width: 1000px) {
  .journal-tools .search-form {flex-wrap: wrap}
  .journal-formats {margin-right: 0}
  .journal-tools .select-label {flex-basis: 11.8rem}
  .journal-columns {grid-template-columns: minmax(0,1.5fr) minmax(15rem,1fr); gap: 1.6rem}
  .cover-story-lead .cover-story-link {grid-template-columns: 1fr}
  .cover-story-lead .cover-frame {min-height: 0; aspect-ratio: 2.1}
}
@media (max-width: 760px) {
  .journal-mast-copy {padding: 1.6rem 1.2rem}
  .journal-mast-copy h1 {font-size: clamp(2.45rem,6.6vw,3.55rem)}
  .journal-mast-copy p {font-size: 1rem}
  .journal-tools .search-form {display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .65rem .8rem}
  .journal-formats {grid-column: 1/-1; justify-self: start; margin-bottom: .2rem}
  .journal-tools .select-label {grid-column: 1}
  .journal-tools .search-label {grid-column: 1/-1}
  .journal-tools .reset {grid-column: 2}
  .journal-tools .directory-meta {text-align: left}
  .journal-columns {display: flex; flex-direction: column; gap: 2.55rem}
  .journal-collection {width: 100%}
  .cover-story-lead .cover-story-link {grid-template-columns: 1.05fr 1fr}
  .cover-story-lead .cover-frame {min-height: 12rem; aspect-ratio: auto}
  .journal-columns:has(.collection-text[hidden]) .cover-list {grid-template-columns: repeat(2,minmax(0,1fr))}
  .journal-columns:has(.collection-illustrated[hidden]) .text-list {grid-template-columns: 1fr}
  .clinic-photo-grid {grid-template-columns: repeat(2,minmax(0,1fr))}
  .story-with-art, .story-layout {grid-template-columns: 1fr; gap: 1.5rem}
}
@media (max-width: 520px) {
  .journal-masthead {width: 94%; grid-template-columns: 1fr; min-height: 0}
  .journal-mast-copy {padding: 1.12rem 6% 1.4rem}
  .journal-mast-copy h1 {font-size: clamp(2.55rem,9.7vw,3.4rem)}
  .journal-mast-copy em {display: inline}
  .journal-mast-photo {height: clamp(7.5rem,32vw,10.4rem); object-position: 58% 52%}
  .cover-list, .journal-columns:has(.collection-text[hidden]) .cover-list {grid-template-columns: 1fr}
  .cover-story-lead .cover-story-link {grid-template-columns: 1fr}
  .cover-story-lead .cover-frame {min-height: 0; aspect-ratio: 1.9}
  .cover-story-copy {padding: 1rem 1.15rem}
  .cover-story p, .text-story p {line-height: 1.54}
  .clinic-photo-grid {grid-template-columns: 1fr}
}
@media (prefers-reduced-motion: no-preference) {
  .cover-frame img {transition: transform .23s ease}
  .cover-story-link:hover img {transform: scale(1.025)}
}
