.journal-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 650;
}
.journal-nav [aria-current] {
  color: var(--teal);
}
.journal-hero {
  padding: 65px 0 55px;
  background: #f1f7f5;
  border-bottom: 1px solid #e1eae5;
  position: relative;
  overflow: hidden;
}
.journal-hero:after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  right: 10%;
  top: -170px;
  border: 1px solid #c4deda;
  border-radius: 50%;
  box-shadow:
    0 0 0 40px #c4deda25,
    0 0 0 80px #c4deda15;
  pointer-events: none;
}
.journal-hero h1 {
  color: var(--navy);
  font-size: 55px;
  letter-spacing: -2px;
  line-height: 1.13;
  margin: 18px 0;
}
.journal-hero h1 span {
  color: #187c87;
}
.journal-hero p {
  color: var(--muted);
  font-size: 16px;
}
.archive-label {
  display: inline-block;
  font-size: 10px;
  color: #59717b;
  margin-top: 17px;
  letter-spacing: 0.6px;
}
.journal-section {
  padding-block: 36px 65px;
}
.journal-filter {
  display: flex;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.journal-filter label:first-child {
  flex: 1;
}
.journal-filter input,
.journal-filter select {
  min-height: 47px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  width: 100%;
  padding: 10px 15px;
  color: var(--ink);
  font-size: 13px;
}
.journal-filter select {
  min-width: 185px;
}
.journal-filter .primary {
  font-size: 12px;
  padding: 10px 22px;
}
.journal-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0 26px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 25px;
}
.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.story-card:hover {
  transform: translateY(-3px);
}
.story-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.65;
  background: #dceceb;
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.story-photo:hover img {
  transform: scale(1.035);
}
.story-card-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.story-card h2 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin: 12px 0 10px;
}
.story-card h2 a:hover {
  color: var(--teal);
}
.story-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 0 0 22px;
}
.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: auto;
  font-size: 10px;
  color: #607782;
}
.story-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(120deg, #e0f0e9, #f4eee1);
}
.story-placeholder > span {
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 600;
}
.article-heading {
  padding-top: 25px;
  max-width: 1060px;
}
.breadcrumbs {
  display: flex;
  gap: 11px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 34px;
}
.article-heading h1 {
  font-size: 45px;
  line-height: 1.2;
  margin: 15px 0 23px;
  color: var(--navy);
  letter-spacing: -1.4px;
  max-width: 1000px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
}
.historic-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 26px;
}
.article-cover {
  margin: 0;
  border-radius: 9px;
  overflow: hidden;
  max-height: 590px;
  background: #eef3f2;
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 590px;
  object-fit: cover;
}
.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  justify-content: center;
  gap: 55px;
  padding-block: 45px 70px;
}
.article-rail {
  padding-top: 8px;
}
.article-rail strong {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.4;
  display: block;
  margin: 17px 0;
}
.article-rail a {
  color: var(--teal);
  font-size: 12px;
}
.article-content {
  font-size: 16px;
  line-height: 1.95;
  overflow-wrap: anywhere;
  min-width: 0;
}
.article-content p {
  margin: 0 0 23px;
}
.article-content h2 {
  font-size: 27px;
  margin: 35px 0 17px;
  line-height: 1.35;
}
.article-content h3 {
  font-size: 23px;
  margin: 30px 0 15px;
}
.article-content h4 {
  font-size: 20px;
  margin: 25px 0 13px;
}
.article-content img {
  height: auto;
  max-width: 100%;
  display: block;
  margin: 24px auto;
  border-radius: 5px;
}
.article-content a {
  color: #007784;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content a:hover {
  color: var(--navy);
}
.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-block: 20px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content blockquote {
  margin: 30px 0;
  padding: 12px 25px;
  border-left: 3px solid var(--orange);
  background: #f8f8f3;
  font-size: 18px;
  color: #44606c;
}
.article-content figure {
  margin: 25px 0;
  font-size: 12px;
  color: var(--muted);
}
.article-content figcaption {
  text-align: center;
}
.article-content table {
  display: block;
  max-width: 100%;
  overflow: auto;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 13px;
}
.article-content td,
.article-content th {
  padding: 10px;
  border: 1px solid var(--line);
}
.article-content pre {
  overflow: auto;
  font-size: 12px;
  background: #f3f5f5;
  padding: 15px;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 35px;
}
.article-tags a {
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
}
.article-back {
  margin-top: 25px;
}
.related-stories {
  background: #f5f8f7;
  padding-block: 45px 60px;
}
.related-stories > .shell > h2 {
  margin-bottom: 25px;
}
.article-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
@media (max-width: 1000px) {
  .journal-nav {
    gap: 20px;
  }
  .story-grid {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 25px;
  }
  .article-heading h1 {
    font-size: 38px;
  }
  .article-content {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .journal-nav {
    gap: 13px;
    font-size: 11px;
  }
  .journal-nav > a:first-child,
  .journal-nav > a:nth-child(2),
  .directory-back {
    display: none;
  }
  .journal-hero {
    padding: 36px 0 32px;
  }
  .journal-hero h1 {
    font-size: 35px;
    letter-spacing: -1.2px;
  }
  .journal-hero p {
    font-size: 13px;
    max-width: 300px;
  }
  .archive-label {
    font-size: 9px;
  }
  .journal-section {
    padding-block: 24px 35px;
  }
  .journal-filter {
    flex-wrap: wrap;
    gap: 9px;
  }
  .journal-filter label:first-child {
    flex-basis: 100%;
  }
  .journal-filter label:nth-child(2) {
    flex: 1;
    min-width: 0;
  }
  .journal-filter select {
    min-width: 0;
    font-size: 12px;
  }
  .journal-filter .primary {
    font-size: 11px;
    padding-inline: 14px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .story-card-copy {
    padding: 20px;
  }
  .story-card h2 {
    font-size: 21px;
  }
  .story-card p {
    font-size: 13px;
  }
  .story-meta {
    font-size: 11px;
  }
  .article-heading {
    padding-top: 20px;
  }
  .breadcrumbs {
    margin-bottom: 25px;
    font-size: 10px;
  }
  .article-heading h1 {
    font-size: 31px;
    letter-spacing: -1px;
    line-height: 1.25;
  }
  .article-meta {
    font-size: 10px;
    gap: 6px 10px;
  }
  .historic-note {
    font-size: 10px;
    line-height: 1.7;
  }
  .article-cover {
    border-radius: 5px;
  }
  .article-layout {
    display: block;
    padding-block: 30px 40px;
  }
  .article-rail {
    display: none;
  }
  .article-content {
    font-size: 15px;
    line-height: 1.9;
  }
  .article-content h2 {
    font-size: 24px;
  }
  .article-content h3 {
    font-size: 21px;
  }
  .article-content blockquote {
    padding: 14px 19px;
    font-size: 16px;
  }
  .article-content figure {
    margin-inline: 0;
  }
  .related-stories {
    padding-block: 30px;
  }
  .footer-bottom {
    padding-bottom: 22px;
  }
}

.page-body {
  padding-bottom: 70px;
  max-width: 1060px;
}
.page-content {
  max-width: 780px;
  margin: 0;
}
.page-content h2 {
  font-size: 26px;
  margin: 38px 0 12px;
}
.page-content h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}
.page-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 22px auto;
}
.team-profile > p:first-child img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
}
.page-content a[href^='mailto:'] {
  font-weight: 700;
}

.article-content .article-gallery,
.article-content p:has(> img + img) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 22px 0;
}
.article-gallery > img,
.article-content p:has(> img + img) > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0;
  border-radius: 6px;
  cursor: zoom-in;
}
.article-gallery > img:focus-visible {
  outline: 3px solid #00b1c5;
  outline-offset: 2px;
}
.gallery-viewer {
  width: min(1100px, 96vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  background: #071c2b;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
}
.gallery-viewer::backdrop {
  background: #000c;
}
.gallery-viewer img {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}
.gallery-viewer button {
  position: absolute;
  border: 0;
  background: #ffffffe6;
  color: var(--navy);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.gallery-close {
  top: 10px;
  right: 10px;
}
.gallery-prev {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-next {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-count {
  margin: 0;
  padding: 8px 14px;
  color: #cfe0e6;
  font-size: 12px;
  text-align: center;
}
@media (max-width: 600px) {
  .article-content .article-gallery,
  .article-content p:has(> img + img) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
}
.policy-updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0;
}
.page-content ul {
  padding-left: 20px;
}
.page-content li {
  margin: 6px 0;
}

.comments-layout {
  padding-block: 0 60px;
}
.article-comments {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  min-width: 0;
}
.article-comments h2 {
  font-size: 26px;
  margin: 0 0 18px;
}
.article-comments h2 span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 700;
  margin-left: 6px;
}
.comment {
  border-bottom: 1px solid #edf1f3;
  padding: 16px 0;
}
.comment header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  font-size: 13px;
}
.comment header strong {
  font-size: 14px;
  color: var(--navy);
}
.comment time {
  color: var(--muted);
  font-size: 12px;
}
.comment p {
  margin: 8px 0 6px;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.comment-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: #eef4f6;
  color: #516b77;
  border-radius: 999px;
  padding: 2px 9px;
}
.comment-replies {
  margin: 8px 0 0 22px;
  padding-left: 18px;
  border-left: 3px solid #e2ebef;
}
.comment-replies .comment:last-child {
  border-bottom: 0;
}
.comment-reply {
  font-size: 12px;
}
.comment-form {
  margin-top: 22px;
}
.comment-form textarea {
  width: 100%;
  border: 1px solid #ccd7dc;
  border-radius: 8px;
  padding: 12px 14px;
  font: 15px/1.6 var(--font);
  resize: vertical;
  min-height: 96px;
}
.comment-form textarea:focus {
  outline: 3px solid #00b1c533;
  border-color: var(--teal);
}
.comment-reply-slot .comment-form {
  margin: 10px 0 4px;
}
.comment-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 10px;
}
.comment-form-actions small {
  color: var(--muted);
  font-size: 12px;
  margin-right: auto;
}
.comment-signin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
  background: #f4f8f8;
  border-radius: 10px;
  padding: 16px 18px;
}
.comment-signin span {
  color: var(--muted);
  font-size: 13px;
}
.comment-own {
  margin-top: 22px;
  background: #fffaf1;
  border: 1px solid #ffe1ad;
  border-radius: 10px;
  padding: 6px 16px;
}
.comment-own h3 {
  font-size: 15px;
  margin: 10px 0 0;
}
.comment-own .comment:last-child {
  border-bottom: 0;
}
.comment-notice {
  background: #e8f6ef;
  color: #1d5a31;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
}
.comment-notice[data-error='true'] {
  background: #fbecea;
  color: #8a2c22;
}
@media (max-width: 600px) {
  .comments-layout > div[aria-hidden] {
    display: none;
  }
  .comment-replies {
    margin-left: 8px;
    padding-left: 12px;
  }
}
