/* Hero composition: typography leads; each illustration is independently placed. */
#main .specimens-editorial-hero {
  display: flex;
  align-items: center;
  height: auto;
  min-height: clamp(650px, 72vh, 720px) !important;
  padding: 58px 0 64px !important;
  background: #f9f6ee !important;
  isolation: isolate;
}

#main .specimens-editorial-hero::after { display: none; }
.specimens-hero-bottom-curve {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 62px;
  pointer-events: none;
}

.specimens-hero-bottom-curve--back {
  fill: #f6f7f2;
}
.specimens-hero-bottom-curve--front {
  z-index: 1;
  fill: #fcfbf7;
}

/* Keep the Hero controls comfortably clear of the section divider. */
.specimens-page-header-inner {
  min-height: 760px;
  padding-bottom: 100px;
}

/* Editorial cue for the in-page navigation cards. */
.specimens-page-header-inner :has(> a[href="#collection-overview"]) {
  position: relative;
  grid-auto-rows: 80px;
}

.specimens-page-header-inner :has(> a[href="#collection-overview"])::before {
  content: "";
  position: absolute;
  left: 0;
  top: -15px;
  width: 30px;
  height: 1px;
  background: #b98b3f;
  opacity: .86;
  transition: width 210ms ease-out;
}

.specimens-page-header-inner :has(> a[href="#collection-overview"])::after {
  content: "EXPLORE THIS PAGE \2193";
  position: absolute;
  left: 42px;
  top: -21px;
  color: #6f572f;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .2em;
  white-space: nowrap;
  opacity: .86;
  pointer-events: none;
}

.specimens-page-header-inner :has(> a[href="#collection-overview"]):hover::before {
  width: 38px;
}

/* Slightly fuller proportions for the four editorial navigation cards. */
.specimens-page-header-inner :is(
  a[href="#collection-overview"],
  a[href="#preservation-formats"],
  a[href="#thailand-regions"],
  a[href="#focus-collections"]
) {
  height: 80px;
  min-height: 80px;
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: rgba(255, 249, 237, .94);
  border-color: rgba(183, 145, 76, .46);
  box-shadow: 0 4px 14px rgba(57, 68, 54, .055);
  transition: background-color 210ms ease-out,
              border-color 210ms ease-out,
              box-shadow 210ms ease-out,
              color 210ms ease-out;
}

.specimens-page-header-inner :is(
  a[href="#collection-overview"],
  a[href="#preservation-formats"],
  a[href="#thailand-regions"],
  a[href="#focus-collections"]
):hover {
  background-color: rgba(255, 247, 229, .98);
  border-color: rgba(174, 130, 54, .58);
  box-shadow: 0 5px 16px rgba(35, 73, 61, .075);
  color: #214d40;
}

.specimens-page-header-inner :is(
  a[href="#collection-overview"],
  a[href="#preservation-formats"],
  a[href="#thailand-regions"],
  a[href="#focus-collections"]
) img {
  transform: scale(1.1);
  transform-origin: center;
}

.specimens-page-header-inner :is(
  a[href="#collection-overview"],
  a[href="#preservation-formats"],
  a[href="#thailand-regions"],
  a[href="#focus-collections"]
) :is(h3, h4, strong) {
  font-size: calc(1em + 1px);
  font-weight: 500;
}

@media (max-width: 760px) {
  .specimens-page-header-inner {
    padding-bottom: 72px;
  }
}
.specimens-editorial-hero .specimens-page-header-inner {
  position: relative;
  z-index: 2;
  width: min(76vw, 1450px);
  max-width: none;
  height: auto;
  margin-left: 12vw;
  margin-right: auto;
  padding: 0;
  transform: none;
}
#main .specimens-editorial-hero h1 {
  position: relative;
  left: auto;
  top: auto;
  width: max-content;
  max-width: 100%;
  margin: 0 0 30px;
  font: 600 clamp(68px, 5.2vw, 104px)/.92 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -.025em;
  color: #101d18;
}
.specimens-editorial-hero h1 .specimens-title-green { color: #103d32; }
.specimens-editorial-hero h1 em { color: #ac8744; font-weight: 600; }
#main .specimens-editorial-hero .specimens-hero-tagline {
  position: relative;
  left: auto;
  top: auto;
  gap: 18px;
  max-width: 780px !important;
  margin: 0 0 40px !important;
  font: italic 500 clamp(18px, 1.35vw, 22px)/1.35 'Cormorant Garamond', Georgia, serif !important;
}
.specimens-editorial-hero .specimens-hero-tagline span { width: 78px; }
.specimens-editorial-hero .specimens-hero-description {
  position: relative;
  left: auto;
  top: auto;
  width: min(100%, 760px);
  max-width: 760px;
}
#main .specimens-editorial-hero .specimens-hero-description p {
  margin: 0 0 20px;
  color: #2f4943;
  font-size: 16px;
  line-height: 1.58;
}

#main .specimens-editorial-hero .specimens-hero-description p[lang=en] {
  margin-bottom: 0;
  color: #7d8179;
  font: 400 17px/1.28 'Cormorant Garamond', Georgia, serif;
}
.specimens-editorial-hero .specimens-hero-tools {
  position: relative;
  left: auto;
  top: auto;
  grid-template-columns: minmax(0, 570px) minmax(0, 470px);
  width: min(100%, 1080px);
  gap: 36px;
  margin-top: 34px;
}
.specimens-editorial-hero .specimens-header-search {
  width: 100%;
  height: 64px;
  border-color: rgba(70, 111, 100, .48);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 7px 22px rgba(37, 58, 49, .035);
}
.specimens-editorial-hero .specimens-hero-browse {
  gap: 7px;
  padding-left: 30px;
  border-left-color: rgba(70, 111, 100, .42);
}
.specimens-editorial-hero .specimens-hero-browse > span {
  font-size: 14px;
  font-weight: 500;
  color: #536b64;
}
.specimens-editorial-hero .specimens-hero-browse select {
  height: 38px;
  padding-right: 31px;
  padding-left: 16px;
  border-color: rgba(70, 111, 100, .5);
  background-color: rgba(255, 255, 255, .5);
  color: #3e5c54;
  font-size: 13px;
  font-weight: 500;
}

html { scroll-behavior: smooth; }

#collection-overview,
#preservation-formats,
#thailand-regions,
#focus-collections {
  scroll-margin-top: 92px;
}

.specimens-editorial-hero .specimens-hero-section-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
  padding-left: 26px;
  border-left: 1px solid rgba(70, 111, 100, .34);
}

.specimens-hero-section-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  height: 82px;
  padding: 8px 10px 8px 8px;
  overflow: hidden;
  color: #173f35;
  text-decoration: none;
  background: rgba(255, 253, 247, .62);
  border: 1px solid rgba(184, 143, 71, .3);
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(47, 62, 53, .045);
  backdrop-filter: blur(3px);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.specimens-hero-section-card:hover,
.specimens-hero-section-card:focus-visible {
  color: #173f35;
  background: rgba(255, 253, 247, .82);
  border-color: rgba(184, 143, 71, .58);
  box-shadow: 0 10px 26px rgba(47, 62, 53, .075);
  transform: translateY(-2px);
  outline: none;
}

.specimens-hero-section-card__number {
  position: absolute;
  top: 10px;
  left: 11px;
  z-index: 1;
  color: #b48a44;
  font: italic 500 17px/1 'Cormorant Garamond', Georgia, serif;
}

.specimens-hero-section-card img {
  display: block;
  grid-column: 1;
  width: 56px;
  height: 64px;
  margin-left: 14px;
  object-fit: contain;
  filter: saturate(.76) contrast(.94);
}

.specimens-hero-section-card__label {
  grid-column: 2;
  min-width: 0;
  padding: 0 26px 0 5px;
  font: 600 14px/1.12 'Cormorant Garamond', Georgia, serif;
}

.specimens-hero-section-card__label::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin-top: 7px;
  background: #bd934d;
}

.specimens-hero-section-card__arrow {
  position: absolute;
  right: 9px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(177, 135, 65, .64);
  border-radius: 50%;
  color: #315b50;
  font: 500 13px/1 Arial, sans-serif;
}

.specimens-editorial-hero .specimens-hero-art-layers { z-index: 0; }
.specimens-editorial-hero .specimens-hero-art {
  object-fit: contain;
  pointer-events: none;
}
.specimens-editorial-hero .specimens-hero-art--sage {
  top: -18px;
  right: 20px;
  width: min(54vw, 900px);
  transform: rotate(1deg);
  opacity: .59;
  filter: blur(.35px) brightness(.98) saturate(1.12) contrast(1.1);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .72) 13%, #000 29%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .72) 13%, #000 29%);
}
.specimens-editorial-hero .specimens-hero-art--blush-over-sage {
  top: -40px;
  right: calc(48% - 190px);
  width: min(30vw, 520px);
  transform: rotate(9deg);
  opacity: .14;
  filter: saturate(.96) contrast(1.02);
}
.specimens-editorial-hero .specimens-hero-art--peach {
  right: -142px;
  bottom: 45px;
  width: min(58vw, 860px);
  transform: rotate(-8deg);
  opacity: .42;
  filter: saturate(.94) contrast(1.02);
}
.specimens-editorial-hero .specimens-hero-art--leaf-archive {
  top: 12%;
  left: 41.5%;
  width: clamp(82px, 5.6vw, 108px);
  transform: rotate(34deg);
  opacity: .84;
  filter: brightness(.72) saturate(1.15);
}
.specimens-editorial-hero .specimens-hero-art--leaf-top-one,
.specimens-editorial-hero .specimens-hero-art--leaf-top-two,
.specimens-editorial-hero .specimens-hero-art--leaf-mid,
.specimens-editorial-hero .specimens-hero-art--leaf-bottom-one,
.specimens-editorial-hero .specimens-hero-art--leaf-bottom-two {
  width: clamp(66px, 7.5vw, 122px);
  opacity: .3;
}
.specimens-editorial-hero .specimens-hero-art--leaf-top-one {
  top: 3%; right: 24%; width: clamp(68px, 7vw, 110px); transform: rotate(28deg); opacity: .34; filter: brightness(.9) saturate(.9) contrast(.94);
}
.specimens-editorial-hero .specimens-hero-art--leaf-top-two {
  display: none;
}
.specimens-editorial-hero .specimens-hero-art--leaf-mid {
  top: 29%; right: 2%; width: clamp(70px, 7vw, 112px); transform: rotate(-26deg); opacity: .58; filter: brightness(.82) saturate(1) contrast(1.02);
}
.specimens-editorial-hero .specimens-hero-art--leaf-bottom-one {
  bottom: 25%; right: 3%; width: clamp(88px, 9vw, 145px); transform: rotate(54deg); opacity: .36; filter: saturate(.76) contrast(.88);
}
.specimens-editorial-hero .specimens-hero-art--leaf-bottom-two {
  bottom: 8%; right: 5%; width: clamp(85px, 8.5vw, 140px); transform: rotate(-25deg); opacity: .14; filter: saturate(.66) contrast(.82);
}
.specimens-editorial-hero .specimens-hero-art--speckles {
  top: 23%;
  right: 5%;
  width: min(28vw, 390px);
  opacity: .2;
}
.specimens-hero-curve {
  position: absolute;
  top: -26px;
  right: -48px;
  width: min(68vw, 1180px);
  height: 780px;
  overflow: visible;
  fill: none;
  stroke: #c9973f;
  stroke-width: 1.15;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: .68;
}
.specimens-hero-curve path:nth-child(2) { opacity: .7; }
.specimens-editorial-hero .specimens-hero-orbit {
  position: absolute;
  top: calc(34% - 50px);
  right: calc(10% + 450px);
  display: block;
  width: clamp(290px, 18vw, 350px);
  height: clamp(290px, 18vw, 350px);
  padding: 0;
  border: 0;
  opacity: .56;
  transform: none;
}
.specimens-hero-orbit-inner {
  fill: none;
  stroke: #b99153;
}
.specimens-hero-orbit-inner {
  stroke-width: .5;
  opacity: .31;
}
.specimens-hero-orbit-dot {
  fill: #bd9145;
  opacity: .96;
}
.specimens-hero-orbit-dot-green {
  fill: #315e50;
  opacity: .78;
}
.specimens-hero-orbit text {
  fill: #294f45;
  font: 600 7.4px 'Anuphan', sans-serif;
  letter-spacing: 2.55px;
}

@media (max-width: 1240px) {
  #main .specimens-editorial-hero { min-height: 680px !important; }
  .specimens-editorial-hero .specimens-page-header-inner {
    width: calc(100% - 72px);
    margin: 0 auto;
  }
  #main .specimens-editorial-hero h1 { font-size: clamp(62px, 6.4vw, 80px); }
  .specimens-editorial-hero .specimens-hero-tools {
    grid-template-columns: minmax(0, 570px);
    max-width: 570px;
  }
  .specimens-editorial-hero .specimens-hero-browse { width: 100%; }
  .specimens-editorial-hero .specimens-hero-art--sage { right: -130px; opacity: .68; }
  .specimens-editorial-hero .specimens-hero-art--peach { right: -205px; opacity: .57; }
  .specimens-editorial-hero .specimens-hero-orbit {
    top: 34%;
    right: 2%;
    width: 300px;
    height: 300px;
    opacity: .55;
  }
}

@media (max-width: 760px) {
  #main .specimens-editorial-hero { min-height: 0 !important; padding: 58px 0 64px !important; }
  .specimens-editorial-hero .specimens-page-header-inner { width: calc(100% - 36px); }
  #main .specimens-editorial-hero h1 { width: 100%; font-size: clamp(50px, 11vw, 70px); }
  #main .specimens-editorial-hero .specimens-hero-tagline { margin-bottom: 28px !important; font-size: 17px !important; }
  .specimens-editorial-hero .specimens-hero-tagline span { width: 34px; }
  #main .specimens-editorial-hero .specimens-hero-description p { font-size: 14px; }
  #main .specimens-editorial-hero .specimens-hero-description p[lang=en] { font-size: 16px; }
  .specimens-editorial-hero .specimens-hero-tools { margin-top: 28px; }
  .specimens-editorial-hero .specimens-hero-section-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 0;
    border-left: 0;
  }
  .specimens-hero-section-card { height: 64px; }
  .specimens-hero-section-card img { height: 50px; }
  .specimens-editorial-hero .specimens-hero-art--sage { top: -80px; right: -350px; width: 620px; opacity: .16; }
  .specimens-editorial-hero .specimens-hero-art--peach { right: -350px; bottom: -110px; width: 600px; opacity: .15; }
  .specimens-editorial-hero .specimens-hero-art--leaf-top-one,
  .specimens-editorial-hero .specimens-hero-art--leaf-top-two,
  .specimens-editorial-hero .specimens-hero-art--leaf-mid,
  .specimens-editorial-hero .specimens-hero-art--leaf-bottom-one,
  .specimens-editorial-hero .specimens-hero-art--leaf-bottom-two,
  .specimens-editorial-hero .specimens-hero-art--leaf-archive,
  .specimens-editorial-hero .specimens-hero-art--blush-over-sage,
  .specimens-editorial-hero .specimens-hero-art--speckles,
  .specimens-editorial-hero .specimens-hero-orbit { display: none; }
  .specimens-hero-curve { top: 0; right: -300px; width: 580px; opacity: .28; }
  .specimens-hero-bottom-curve { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Left-hand composition only. Keep text in document flow and art in separate layers. */
.specimens-hero-left-art,
.specimens-hero-brand { display: none; }

@media (min-width: 761px) {
  #main .specimens-editorial-hero {
    align-items: flex-start;
    padding-top: 52px !important;
    background-color: #f4f0e6 !important;
  }
  #main .specimens-editorial-hero::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: auto;
    height: auto;
    background: url('../img/paper-texture.png') repeat 0 0 / 380px 219px;
    opacity: .055;
    pointer-events: none;
  }
  .specimens-editorial-hero .specimens-page-header-inner {
    width: min(1594px, calc(100% - 96px));
    max-width: 1594px;
    margin-right: auto;
    margin-left: auto;
  }
  .specimens-editorial-hero .specimens-hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .specimens-hero-brand {
    display: block;
    width: 168px;
    margin-bottom: 34px;
  }
  .specimens-hero-brand img {
    display: block;
    width: 100%;
    height: auto;
  }
  .specimens-editorial-hero .specimens-hero-tools {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    width: 100%;
    max-width: none;
  }
  .specimens-hero-left-art {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  }
  .specimens-hero-left-art img { position: absolute; display: block; height: auto; pointer-events: none; }
  .specimens-left-wash {
    object-fit: contain;
    filter: blur(2px);
  }
  .specimens-left-wash--upper {
    top: 25%;
    left: -12%;
    width: 28%;
    opacity: .52;
    filter: blur(2px) saturate(1.06);
    transform: rotate(-13deg);
  }
  .specimens-left-wash--middle {
    top: 39%;
    left: -10%;
    width: 25%;
    opacity: .17;
    filter: blur(2px) saturate(1.05);
    transform: rotate(16deg);
  }
  .specimens-left-sage {
    bottom: -10%;
    left: -9%;
    width: 27%;
    transform: rotate(20deg);
    opacity: .48;
  }
  .specimens-left-cream-transition {
    bottom: -12%;
    left: 1%;
    width: 21%;
    opacity: .21;
    transform: rotate(11deg);
  }
  .specimens-hero-left-art .specimens-left-leaf { width: 60px; object-fit: contain; }
  .specimens-left-leaf--top { top: 5%; left: 2%; opacity: .52; transform: rotate(-24deg); }
  .specimens-left-leaf--middle { top: 48%; left: 2%; opacity: .82; transform: rotate(68deg); }
  .specimens-left-leaf--bottom { bottom: 27%; left: 1%; opacity: .43; transform: rotate(-32deg); }
  .specimens-left-leaf--under-search {
    bottom: 1.5%;
    left: calc(8.5vw + min(9.5vw, 156px));
    width: 48px;
    opacity: .5;
    transform: rotate(38deg);
  }
  .specimens-left-speckles {
    position: absolute;
    inset: 0;
  }
  .specimens-left-speckles::before,
  .specimens-left-speckles::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b99153;
    opacity: .67;
  }
  .specimens-left-speckles::before {
    left: 1.5%;
    top: 57%;
    box-shadow: 13px -14px 0 -2px #c9a25b, 29px 7px 0 -3px #b99153,
      5px 27px 0 -2px #b99153, 42px -24px 0 -1px #c9a25b,
      53px 19px 0 -3px #b99153, 31px 39px 0 -2px #c9a25b,
      72px -10px 0 -2px #b99153, 78px 34px 0 -3px #c9a25b,
      18px 55px 0 -3px #b99153, 62px 57px 0 -1px #c9a25b,
      91px 8px 0 -3px #b99153;
  }
  .specimens-left-speckles::after {
    left: 2%;
    bottom: 12%;
    box-shadow: 16px -19px 0 -2px #c9a25b, 34px 10px 0 -1px #b99153,
      6px 28px 0 -3px #b99153, 48px -31px 0 -3px #c9a25b,
      54px 27px 0 -2px #b99153, 68px 2px 0 -1px #c9a25b,
      87px -22px 0 -3px #b99153, 76px 44px 0 -2px #c9a25b,
      25px 58px 0 -3px #b99153, 104px 20px 0 -2px #c9a25b,
      117px -4px 0 -3px #b99153;
  }
}

@media (min-width: 1241px) {
  .specimens-editorial-hero .specimens-hero-tools {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    width: 100%;
    max-width: none;
  }

  .specimens-editorial-hero .specimens-hero-art--sage {
    right: auto;
    left: calc(50% + 40px);
    width: 900px;
  }
  .specimens-editorial-hero .specimens-hero-art--blush-over-sage {
    right: auto;
    left: calc(50% - 292px);
    width: 520px;
  }
  .specimens-editorial-hero .specimens-hero-art--peach {
    right: auto;
    left: calc(50% + 242px);
    width: 860px;
  }
  .specimens-editorial-hero .specimens-hero-art--leaf-archive {
    left: calc(50% - 163px);
    width: 108px;
  }
  .specimens-editorial-hero .specimens-hero-art--leaf-top-one {
    right: auto;
    left: calc(50% + 389px);
    width: 110px;
  }
  .specimens-editorial-hero .specimens-hero-art--leaf-mid {
    right: auto;
    left: calc(50% + 810px);
    width: 112px;
  }
  .specimens-editorial-hero .specimens-hero-art--leaf-bottom-one {
    right: auto;
    left: calc(50% + 757px);
    width: 145px;
  }
  .specimens-editorial-hero .specimens-hero-art--leaf-bottom-two {
    right: auto;
    left: calc(50% + 724px);
    width: 140px;
  }
  .specimens-editorial-hero .specimens-hero-art--speckles {
    right: auto;
    left: calc(50% + 474px);
    width: 390px;
  }
  .specimens-hero-curve {
    right: auto;
    left: calc(50% - 172px);
    width: 1180px;
  }
  .specimens-editorial-hero .specimens-hero-orbit {
    right: auto;
    left: calc(50% - 32px);
    width: 350px;
    height: 350px;
  }
  .specimens-left-wash--upper {
    left: calc(50% - 1190px);
    width: 538px;
  }
  .specimens-left-wash--middle {
    left: calc(50% - 1152px);
    width: 480px;
  }
  .specimens-left-sage {
    left: calc(50% - 1133px);
    width: 518px;
  }
  .specimens-left-cream-transition {
    left: calc(50% - 941px);
    width: 403px;
  }
  .specimens-left-leaf--top,
  .specimens-left-leaf--middle {
    left: calc(50% - 922px);
  }
  .specimens-left-leaf--bottom {
    left: calc(50% - 941px);
  }
  .specimens-left-leaf--under-search {
    left: calc(50% - 641px);
  }
  .specimens-left-speckles::before {
    left: calc(50% - 931px);
  }
  .specimens-left-speckles::after {
    left: calc(50% - 922px);
  }
}

@media (min-width: 761px) and (max-width: 1240px) {
  .specimens-editorial-hero .specimens-hero-tools {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }
  .specimens-editorial-hero .specimens-hero-section-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep the specimens page on the same type hierarchy as the herbarium index. */
#main :is(
  .collection-overview,
  .thailand-regions-intro,
  .preservation-formats-header,
  .focus-collections-header
) p.section-number-label {
  margin: 0 0 17px;
  color: #8a713d;
  font-family: var(--herbarium-font-body);
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .18em;
}

#main :is(
  .collection-overview h2,
  .thailand-regions-intro h2,
  .preservation-formats-header h2,
  .focus-collections-header h2
) {
  color: #263b32;
  font-family: var(--herbarium-font-body);
  font-size: clamp(34px, 3.4vw, 50px) !important;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: normal;
}

#main :is(
  .collection-overview-description,
  .focus-collections-description
) {
  color: #53604d;
  font-family: var(--herbarium-font-body);
  font-size: 18px !important;
  font-weight: 400;
  line-height: 1.7;
}

#main .focus-collection-copy h3 {
  font-family: var(--herbarium-font-body);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
}

@media (max-width: 760px) {
  #main :is(
    .collection-overview,
    .thailand-regions-intro,
    .preservation-formats-header,
    .focus-collections-header
  ) p.section-number-label {
    margin-bottom: 12px;
    font-size: 12px !important;
  }

  #main :is(
    .collection-overview h2,
    .thailand-regions-intro h2,
    .preservation-formats-header h2,
    .focus-collections-header h2
  ) {
    font-size: 34px !important;
  }

  #main .focus-collection-copy h3 {
    font-size: 18px;
  }
}

/* One memorable section accent: the same short gold rule after every H2. */
#main .section-accent-line {
  display: block;
  width: 52px;
  height: 0;
  margin: 18px 0 16px;
  border: 0;
  border-top: 2px solid #b3975d;
}

#main .preservation-formats-header .section-accent-line {
  margin: 18px 0 16px;
}

@media (max-width: 760px) {
  #main .section-accent-line {
    width: 42px;
    margin: 14px 0 12px;
  }
}

/* Separate record searching from navigation within this page. */
.specimens-editorial-hero .specimens-hero-tools {position:relative;left:auto;top:auto;display:grid;grid-template-columns:minmax(0,1fr);width:min(100%,1100px);max-width:1100px;gap:40px;}
.specimens-hero-search-row {display:flex;align-items:stretch;gap:16px;min-width:0;}
.specimens-editorial-hero .specimens-hero-search-row .specimens-header-search {flex:1;min-width:0;width:auto;}
.specimens-hero-advanced {display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;padding:12px 20px;border:1px solid #9daE94;border-radius:8px;background:rgba(255,253,247,.65);color:#315a44;font:500 15px/1.5 var(--herbarium-font-body);cursor:pointer;transition:background .2s ease,border-color .2s ease;}
.specimens-hero-advanced:hover,.specimens-hero-advanced[aria-expanded="true"] {background:#e4ecdb;border-color:#7d9570;}
.specimens-hero-advanced:focus-visible {outline:2px solid #8f7841;outline-offset:3px;}
.specimens-editorial-hero .specimens-hero-section-nav {grid-template-columns:repeat(4,minmax(0,1fr));padding-left:0;border-left:0;}
@media(max-width:760px) {
 .specimens-hero-search-row {flex-wrap:wrap;gap:12px;}
 .specimens-editorial-hero .specimens-hero-search-row .specimens-header-search {flex-basis:100%;}
 .specimens-hero-advanced {margin-left:auto;padding:10px 16px;font-size:14px;}
 .specimens-editorial-hero .specimens-hero-section-nav {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce) {.specimens-hero-advanced {transition:none;}}


/* Keep the orbit beside the copy while scaling it with the viewport. */
@media (min-width: 1101px) {
  .specimens-editorial-hero .specimens-hero-orbit {
    display: block;
    top: calc(34% - 50px);
    right: auto;
    left: max(calc(50% - 32px), calc((100% - min(1594px, 100% - 96px)) / 2 + 800px));
    width: clamp(170px, calc(24vw - 100px), 350px);
    height: auto;
    aspect-ratio: 1;
  }
}
@media (max-width: 1100px) {
  .specimens-editorial-hero .specimens-hero-orbit { display: none; }
}
