:root {
  --navy: #152b3a;
  --navy-deep: #0d202d;
  --slate: #52616b;
  --gold: #a6782d;
  --gold-light: #e5c98d;
  --parchment: #faf8f3;
  --paper: #fffefa;
  --ink: #283740;
  --line: #d7d5ce;
  --white: #fff;
  --focus: #0875c1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--parchment);
}

html {
  scroll-padding-top: 6rem;
}

html.tab-scroll-restoring {
  scroll-behavior: auto;
}

html.tab-scroll-restoring body {
  visibility: hidden;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:focus-visible,
[tabindex]:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main {
  min-height: 60vh;
}

.skip-link {
  position: absolute;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell,
.reading-width {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.reading-width {
  max-width: 47rem;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  background: var(--parchment);
  box-shadow: 0 0.2rem 1rem rgb(21 43 58 / 4%);
}

.site-footer {
  color: var(--ink);
  background: #efeeec;
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.25rem);
  min-height: 5rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.site-search-toggle {
  display: inline-grid;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid transparent;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.site-search-toggle:hover,
.site-search-toggle:focus-visible,
.site-search-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  background: var(--paper);
}

.site-search-toggle .action-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.site-search-panel {
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgb(74 85 104 / 25%);
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 0.75rem 2rem rgb(21 43 58 / 16%);
  backdrop-filter: blur(0.5rem);
}

.site-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding-block: 0.85rem;
}

.site-search-form input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--slate);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.account-nav,
.button-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-nav a,
.link-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--navy);
  font: inherit;
}

.account-nav {
  justify-self: end;
}

.account-nav a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.link-button {
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  display: inline-flex;
  width: 2.9rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  list-style: none;
  cursor: pointer;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu summary::after {
  content: none;
}

.account-menu[open] summary {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgb(197 160 89 / 22%);
}

.account-menu__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  right: 0;
  display: grid;
  width: max-content;
  min-width: 15rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0.65rem 1.75rem rgb(5 20 29 / 24%);
}

.account-menu__identity {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
  padding: 0.55rem 0.75rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.account-menu__identity strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.25;
}

.account-menu__identity .public-username {
  color: var(--slate);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.account-menu__panel a,
.account-menu__panel .link-button {
  width: 100%;
  min-height: 2.75rem;
  justify-content: flex-start;
  padding: 0.55rem 0.75rem;
  color: var(--navy);
}

.account-menu__panel a:hover,
.account-menu__panel .link-button:hover {
  background: #eee9dc;
}

.brand {
  justify-self: start;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.primary-nav {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.5rem);
  justify-self: center;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 5rem;
  flex: 0 0 auto;
  align-items: center;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.15rem;
  left: 0;
  height: 0.2rem;
  background: var(--gold);
  content: "";
  opacity: 0;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  opacity: 1;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(31rem, 64vh, 40rem);
  align-items: center;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgb(197 160 89 / 10%), transparent 34%),
    linear-gradient(135deg, #1a2b3c 0%, #183243 100%);
}

.hero__inner {
  display: flex;
  justify-content: center;
}

.hero__content {
  width: min(100%, 52rem);
  text-align: center;
}

.eyebrow {
  margin-block: 0 1.1rem;
  color: #765315;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin-block: 0 1.5rem;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 {
  margin-bottom: 1.6rem;
  color: var(--white);
  font-size: clamp(2.6rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.lede {
  max-width: 42rem;
  color: #3f505a;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero .lede {
  max-width: 49rem;
  margin-inline: auto;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.65;
}

.hero .button-row,
.page-intro .button-row {
  margin-top: 2rem;
}

.hero .button-row {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.text-link__label {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.prose-section,
.pathways,
.home-updates,
.home-events,
.listing-section,
.editorial-body {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.pathways {
  background: var(--paper);
}

.home-updates {
  background: #f2eee4;
}

.home-events {
  background: var(--parchment);
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.home-section-heading h2 {
  margin: 0;
}

.home-section-heading .text-link {
  flex-shrink: 0;
  gap: 0.4rem;
}

.pathways h2,
.listing-section > h2 {
  max-width: 42rem;
  margin-block: 0 2.5rem;
}

.pathway-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.pathway-grid article,
.listing-item {
  min-width: 0;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pathway-grid article:nth-child(even),
.listing-item:nth-child(even) {
  border-right: 0;
}

.pathway-grid h3,
.listing-item h3 {
  margin-block: 0.25rem 0.75rem;
}

.pathway-grid h3 a,
.listing-item h3 a {
  text-decoration-thickness: 1px;
}

.pathway-number,
.metadata {
  margin-block: 0;
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.taxonomy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.taxonomy-list li {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.85rem;
}

.page-intro {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgb(229 201 141 / 38%);
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgb(197 160 89 / 10%), transparent 34%),
    linear-gradient(135deg, #1a2b3c 0%, #183243 100%);
}

.page-intro h1 {
  max-width: 55rem;
  margin-bottom: 1.1rem;
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.08;
}

.page-intro--compact {
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

.page-intro--compact h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
}

.page-intro .eyebrow {
  color: var(--gold-light);
}

.page-intro .lede {
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.6;
}

.page-intro .metadata {
  color: rgb(255 255 255 / 72%);
}

.post-publication-meta {
  display: grid;
  gap: 0.2rem;
}

.post-publication-meta p {
  margin: 0;
}

.page-intro .post-author-name--unlinked {
  color: var(--white);
}

.page-intro .taxonomy-list li {
  border-color: rgb(255 255 255 / 36%);
  color: rgb(255 255 255 / 84%);
}

.post-hero-actions {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.post-hero-actions--share-only {
  justify-content: flex-end;
}

.post-comment-count {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.post-comment-count:hover,
.post-comment-count:focus-visible {
  color: var(--gold-light) !important;
}

.post-share {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.post-share__label {
  margin-right: 0.35rem;
  color: rgb(255 255 255 / 72%);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-share__action {
  display: inline-flex;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.post-share__action:hover,
.post-share__action:focus-visible {
  border-color: var(--gold-light);
  color: var(--navy);
  background: var(--gold-light);
}

.post-share__action .footer-social__svg,
.post-share__link-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentcolor;
}

.post-share__copy {
  position: relative;
  display: inline-flex;
}

.post-share__status {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  min-width: max-content;
  color: rgb(255 255 255 / 82%);
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: right;
}

.page-intro a:not(.button),
.page-intro .text-link {
  color: var(--white);
}

.page-intro .button:not(.button--accent) {
  border-color: rgb(255 255 255 / 72%);
  color: var(--white);
  background: transparent;
}

.page-intro .button:not(.button--accent):hover,
.page-intro .button:not(.button--accent):focus-visible {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.page-intro a:focus-visible,
.page-intro button:focus-visible {
  outline-color: var(--gold-light);
}

.editorial-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.editorial-body h2 {
  margin-top: 2.5rem;
}

.editorial-body a,
.rich-text a {
  color: #155f89;
}

.rich-text::after {
  display: table;
  clear: both;
  content: "";
}

.rich-text .richtext-image {
  max-width: 100%;
  height: auto;
}

.rich-text .richtext-image.full-width {
  display: block;
  width: 100%;
  margin: 2rem auto;
}

.rich-text .richtext-image.left {
  float: left;
  width: min(48%, 31.25rem);
  margin: 0.5rem 1.5rem 1rem 0;
}

.rich-text .richtext-image.right {
  float: right;
  width: min(48%, 31.25rem);
  margin: 0.5rem 0 1rem 1.5rem;
}

.editorial-body blockquote {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 0.2rem solid var(--gold);
  color: var(--navy);
  font-size: 1.35rem;
}

.empty-state {
  max-width: 45rem;
  padding: 1.5rem;
  border-left: 0.2rem solid var(--gold);
  background: var(--paper);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.portal-section,
.directory-section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.member-profile-body {
  padding-block: clamp(2rem, 4vw, 3rem) 0;
}

.member-profile-posts {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 6rem);
}

.member-profile-posts > h2 {
  margin-block: 0 2rem;
}

.portal-section > h2 {
  margin-top: 0;
}

.portal-grid,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.portal-panel,
.member-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.portal-panel {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  align-items: flex-start;
}

.portal-panel h3,
.member-card h3 {
  margin-block: 0 0.75rem;
}

.portal-panel p:last-child {
  margin-top: auto;
}

.portal-panel--muted {
  background: #f1efe9;
}

.profile-form {
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.profile-form h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.profile-form__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.profile-form__heading h1 {
  margin-bottom: 0;
}

.profile-form__heading .button {
  flex: 0 0 auto;
}

.profile-disabled-form {
  margin: 0;
}

.post-form-card {
  max-width: 62rem;
}

.form-field--post-type {
  margin-block: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 0.25rem solid var(--gold);
  background: var(--parchment);
}

.form-field--post-type select {
  max-width: 28rem;
}

.post-type-fields {
  margin-block: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--gold);
  background: #fffaf0;
}

.post-media-fields {
  margin-block: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
}

.post-media-fields legend {
  padding-inline: 0.4rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.post-image-preview {
  display: block;
  width: min(100%, 30rem);
  height: auto;
  margin: 0;
  border-radius: 0.25rem;
}

.post-image-preview-figure {
  width: min(100%, 30rem);
  margin-block: 1rem;
}

.character-count {
  margin-block: -0.85rem 1.25rem;
  color: var(--slate);
  font-size: 0.9rem;
}

.member-post-image {
  margin-block: clamp(2rem, 5vw, 4rem);
}

.member-post-image + .member-post-body {
  padding-top: 0;
}

.member-post-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.member-post-image figcaption,
.post-image-preview-figure figcaption,
.member-post-inline-image figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.member-post-inline-image {
  max-width: 100%;
}

.member-post-inline-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.member-post-inline-image.full-width {
  width: 100%;
  margin: 2rem auto;
}

.member-post-inline-image.left {
  float: left;
  width: min(48%, 31.25rem);
  margin: 0.5rem 1.5rem 1rem 0;
}

.member-post-inline-image.right {
  float: right;
  width: min(48%, 31.25rem);
  margin: 0.5rem 0 1rem 1.5rem;
}

.post-carousel {
  width: 100%;
  margin: clamp(2rem, 5vw, 4rem) auto;
}

.post-carousel__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #000;
}

.post-carousel__slides {
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-carousel__slide {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.post-carousel__slide[hidden] {
  display: none;
}

.post-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-carousel__control {
  position: absolute;
  top: 50%;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: var(--navy);
  background: rgb(255 255 255 / 88%);
  font-size: 1.35rem;
  transform: translateY(-50%);
  place-items: center;
}

.post-carousel__control--previous {
  left: 1rem;
}

.post-carousel__control--next {
  right: 1rem;
}

.post-carousel__footer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.65rem;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.post-carousel__footer figcaption,
.post-carousel__status {
  margin: 0;
}

.post-carousel__status {
  flex: 0 0 auto;
}

@media (max-width: 40rem) {
  .post-carousel__control--previous {
    left: 0.5rem;
  }

  .post-carousel__control--next {
    right: 0.5rem;
  }

  .post-carousel__footer {
    display: grid;
  }
}

.post-type-fields[hidden] {
  display: none;
}

.post-type-fields legend {
  padding-inline: 0.5rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.post-type-fields > p {
  margin-top: 0;
}

.post-type-fields__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
}

@media (max-width: 40rem) {
  .post-type-fields__grid {
    grid-template-columns: 1fr;
  }
}

.directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-card {
  min-height: 12rem;
}

.member-card__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.member-card__heading h3,
.member-card__heading .member-card__initial {
  margin: 0;
}

.member-card__heading .member-card__initial {
  flex: 0 0 3.5rem;
}

.member-card__role,
.member-card__affiliation {
  color: var(--slate);
  font-weight: 400;
}

.member-card__role {
  margin-block: 0;
}

.member-card__affiliation {
  margin-block: 0.3rem 0;
}

.member-card__initial {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-block: 0 1.25rem;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  place-items: center;
}

.profile-heading {
  position: relative;
}

.profile-heading h1 {
  margin: 0;
}

.profile-heading .member-card__initial {
  position: absolute;
  top: 0.1rem;
  right: calc(100% + 1rem);
  margin: 0;
}

.profile-heading__meta > :last-child {
  margin-bottom: 0;
}

@media (max-width: 56rem) {
  .profile-heading {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.45rem 1rem;
    align-items: center;
  }

  .profile-heading .member-card__initial {
    position: static;
    grid-column: 1;
    grid-row: 1;
  }

  .profile-heading h1 {
    grid-column: 2;
    grid-row: 1;
  }

  .profile-heading__meta {
    grid-column: 2;
    grid-row: 2;
  }
}

.profile-details {
  margin-block: 2rem;
}

.profile-details > div {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.profile-details dt {
  margin-bottom: 0.35rem;
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.post-workspace {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.status {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border: 1px solid currentcolor;
  color: var(--slate);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status--submitted,
.status--pending,
.status--retry {
  color: #7a5313;
  background: #fff8e8;
}

.status--published,
.status--approved,
.status--sent {
  color: #22613a;
  background: #edf8f0;
}

.status--rejected,
.status--failed {
  color: #8a2c24;
  background: #fff1ef;
}

.status--archived,
.status--cancelled,
.status--suppressed,
.status--sending {
  color: #4a5568;
  background: #edf1f4;
}

.review-note {
  max-width: 46rem;
  padding: 0.75rem 1rem;
  border-left: 0.2rem solid var(--gold);
  background: var(--paper);
}

.member-post-body {
  white-space: normal;
}

.post-summary {
  font-style: italic;
}

.comments-section {
  margin-block: clamp(3rem, 7vw, 6rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.comments-section__heading h2,
.comment-card h3,
.comment-form-card h3 {
  margin-top: 0;
}

.comment-list {
  border-top: 1px solid var(--line);
}

.comment-card {
  position: relative;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.comment-card--reply {
  margin-left: clamp(1.25rem, 5vw, 4rem);
  padding-left: clamp(1rem, 3vw, 2rem);
  border-left: 0.2rem solid var(--gold);
}

.comment-card > h3,
.comment-card > .comment-reply-context {
  padding-right: 3.75rem;
}

.comment-card__identity {
  margin-bottom: 0.25rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.comment-card__identity .member-attribution {
  font-weight: inherit;
}

.comment-reply-context {
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
}

.comment-reply-context {
  margin: 0 0 0.6rem;
}

.comment-card__actions {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.comment-body--deleted {
  color: var(--muted);
  font-style: italic;
}

.comment-actions-menu {
  position: absolute;
  right: 0;
  top: 1rem;
  z-index: 2;
}

.comment-actions-menu summary {
  align-items: center;
  border: 1px solid var(--line);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  list-style: none;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.55rem;
}

.comment-actions-menu summary::-webkit-details-marker {
  display: none;
}

.comment-actions-menu summary:hover,
.comment-actions-menu summary:focus-visible,
.comment-actions-menu[open] summary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.comment-actions-menu summary .action-icon {
  height: 1.1rem;
  width: 1.1rem;
}

.comment-actions-menu__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 0.5rem 1.5rem rgb(21 43 58 / 15%);
  min-width: 8rem;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
}

.comment-actions-menu__panel a,
.comment-actions-menu__panel button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: block;
  font: inherit;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.comment-actions-menu__panel a:hover,
.comment-actions-menu__panel a:focus-visible,
.comment-actions-menu__panel button:hover,
.comment-actions-menu__panel button:focus-visible {
  background: var(--parchment);
}

.comment-actions-menu__panel form {
  margin: 0;
}

.comment-actions-menu__panel .comment-actions-menu__danger {
  color: #8a1010;
}

.comment-card .metadata {
  margin-block: 0;
  font-size: 0.82rem;
}

.public-username {
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}

.profile-public-username {
  margin-block: 0.45rem 1.25rem;
}

.comment-identity-badge {
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.guest-comment-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.guest-comment-consent {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  margin-top: 1.5rem;
}

.guest-comment-consent input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--navy);
}

.guest-comment-consent label {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.guest-comment-privacy-link,
.form-privacy-copy {
  margin-block: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.comment-body {
  max-width: 46rem;
  margin-top: 0.9rem;
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.preview-mode-spacer {
  height: 5.5rem;
}

.preview-mode-bar {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgb(255 255 255 / 38%);
  color: var(--white);
  background: rgb(13 32 45 / 88%);
  box-shadow: 0 -0.35rem 1.5rem rgb(0 0 0 / 18%);
  backdrop-filter: blur(0.5rem);
}

.preview-mode-bar__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.65rem;
}

.preview-mode-bar p {
  margin: 0;
  font-weight: 750;
}

.preview-mode-bar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* Keep Wagtail's fixed userbar clear of the preview controls. */
.has-preview-mode-bar wagtail-userbar::part(userbar) {
  bottom: 6.5rem;
}

@media (max-width: 32rem) {
  .preview-mode-spacer {
    height: 10rem;
  }

  .preview-mode-bar__inner {
    align-items: stretch;
    flex-direction: column;
    padding-block: 0.75rem;
  }

  .preview-mode-bar__actions {
    flex-direction: column;
    justify-content: stretch;
  }

  .preview-mode-bar__actions .button {
    width: 100%;
  }

  .has-preview-mode-bar wagtail-userbar::part(userbar) {
    bottom: 11rem;
  }
}

.comment-body--record {
  box-sizing: border-box;
  margin-block: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 0.2rem solid var(--gold);
  background: var(--paper);
}

.comment-form-card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.comment-form-card__heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.button--secondary {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.review-card {
  max-width: none;
}

.event-details {
  display: grid;
  gap: 0.5rem;
  margin-block: 1.5rem;
}

.event-details div {
  display: grid;
  grid-template-columns: 5rem 1fr;
}

.event-details dt {
  font-weight: 700;
}

.event-details dd {
  margin: 0;
}

.structured-details {
  margin-block: 0 2.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--gold);
  background: #fffaf0;
}

.structured-details h2 {
  margin-top: 0;
}

.news-archive {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.search-results {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.search-results__group + .search-results__group {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.search-results__group > h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block: 0 2rem;
}

.search-results__group > h2 span {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  place-items: center;
}

.search-page-results {
  border-top: 1px solid var(--line);
}

.search-page-result {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.search-page-result h3 {
  margin-top: 0;
}

.news-toolbar,
.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.news-toolbar {
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.news-filters,
.news-views {
  display: flex;
  flex-wrap: wrap;
}

.news-filters {
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.news-filters a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border: 0;
  border-bottom: 0.2rem solid transparent;
  color: var(--navy);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.news-views {
  gap: 0.55rem;
}

.news-views a {
  display: inline-flex;
  width: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--paper);
  text-decoration: none;
}

.news-view-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentcolor;
}

.news-filters a:hover,
.news-filters a[aria-current="page"] {
  border-bottom-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.news-views a:hover,
.news-views a[aria-current="page"] {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.news-heading {
  margin-block: clamp(2rem, 5vw, 3.5rem) 2rem;
}

.news-heading h2 {
  margin: 0;
}

.news-items--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.news-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 160ms ease, transform 160ms ease;
}

.news-card:hover,
.news-card:focus-within {
  border-color: var(--gold);
  transform: translateY(-0.15rem);
}

.news-card__media {
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--gold-light);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 8%), transparent 55%),
    var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  text-decoration: none;
  place-items: center;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 1.5rem;
}

.news-card h3 {
  margin-block: 0.65rem 0.8rem;
}

.news-card__byline {
  color: var(--slate);
  font-size: 0.9rem;
}

.member-attribution {
  color: inherit;
  font-weight: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.member-attribution:hover {
  color: var(--navy-deep);
}

.news-card__detail {
  color: var(--navy);
}

.news-card__read {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--navy);
  font-weight: 750;
  text-decoration: none;
}

.news-card__read-label {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-card__read::after {
  margin-left: 0.35rem;
  content: "\2192";
}

.news-items--list {
  border-top: 1px solid var(--line);
}

.news-items--list .news-card {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  border-width: 0 0 1px;
}

.news-items--list .news-card__media {
  aspect-ratio: auto;
  height: clamp(12rem, 18vw, 15rem);
  min-height: 0;
  align-self: start;
}

@media (max-width: 58rem) {
  .news-items--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .news-toolbar,
  .news-heading {
    align-items: flex-start;
  }

  .news-heading {
    flex-direction: column;
  }

  .news-items--grid {
    grid-template-columns: 1fr;
  }

  .news-items--list .news-card {
    grid-template-columns: 1fr;
  }

  .news-items--list .news-card__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card {
    transition: none;
  }
}

.post-authors-dialog {
  width: min(74rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
}

.post-authors-dialog::backdrop {
  background: rgb(9 32 49 / 72%);
}

.post-authors-dialog__surface {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--line, #d8d4ca);
  border-top: 0.35rem solid var(--gold);
  border-radius: 0.4rem;
  background: var(--paper, #fbfaf7);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 24%);
}

.post-authors-dialog__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.post-authors-table-wrap {
  overflow-x: auto;
  margin-block: 1.5rem;
}

.post-authors-table {
  width: 100%;
  min-width: 60rem;
  border-collapse: collapse;
}

.post-authors-table th,
.post-authors-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line, #d8d4ca);
  text-align: left;
  vertical-align: top;
}

.post-authors-table input {
  width: 100%;
  min-width: 8rem;
}

.post-authors-table tr[draggable="true"] {
  cursor: grab;
}

.post-authors-table tr.is-dragging {
  opacity: 0.55;
}

.post-author-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-weight: 700;
}

.post-author-status--verified {
  color: #24663f;
}

.post-author-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.post-author-icon-action {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line, #d8d4ca);
  border-radius: 0.2rem;
  color: var(--ink, #19354a);
  background: transparent;
  cursor: pointer;
}

.post-author-icon-action:hover,
.post-author-icon-action:focus-visible {
  border-color: currentcolor;
  background: rgb(25 53 74 / 8%);
}

.post-author-icon-action:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.post-author-icon-action .action-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.post-author-icon-action--danger {
  color: #8a1010;
}

.post-author-icon-action--danger:hover,
.post-author-icon-action--danger:focus-visible {
  background: rgb(138 16 16 / 8%);
}

.text-link--danger {
  color: #8a1010;
}

.post-authors-dialog__actions {
  justify-content: flex-end;
}

.footer-grid {
  padding-block: clamp(3rem, 6vw, 4.75rem) 1.25rem;
}

.footer-main {
  display: grid;
  grid-template-columns:
    minmax(18rem, 1.35fr) minmax(10rem, 0.95fr) minmax(9rem, 0.65fr)
    minmax(15.5rem, 0.9fr);
  align-items: start;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer-identity {
  max-width: 31rem;
}

.footer-heading {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 700;
}

.footer-identity p {
  max-width: 28rem;
  margin-top: 1rem;
  color: #454c53;
  font-size: 1.05rem;
  line-height: 1.65;
}

.site-footer nav {
  display: grid;
  align-content: start;
}

.footer-nav-heading {
  margin: 0 0 1rem;
  color: var(--navy-deep);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-subscribe {
  white-space: nowrap;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.25rem 0;
  color: #454c53;
  font-size: 1.02rem;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}

.link-arrow {
  display: inline-block;
  text-decoration: none !important;
}

a .action-icon,
button .action-icon {
  text-decoration: none;
}

.footer-updates {
  justify-self: start;
}

.footer-subscribe {
  min-width: 10.75rem;
  min-height: 3.5rem;
  padding-inline: 1.75rem;
  border-color: var(--navy-deep);
  border-radius: 0.125rem;
  color: var(--white) !important;
  background: var(--navy-deep);
  opacity: 1;
}

.newsletter-dialog {
  width: min(calc(100% - 2rem), 43rem);
  max-height: min(90vh, 52rem);
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1.5rem 5rem rgb(13 32 45 / 35%);
}

.newsletter-dialog::backdrop {
  background: rgb(13 32 45 / 72%);
}

.newsletter-dialog__surface {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-top: 0.35rem solid var(--gold);
}

.dialog-icon-close {
  position: absolute;
  z-index: 1;
  top: 1rem;
  right: 1rem;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0.2rem;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}

.dialog-icon-close:hover,
.dialog-icon-close:focus-visible {
  background: rgb(25 53 74 / 8%);
}

.dialog-icon-close:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 2px;
}

.dialog-icon-close .action-icon {
  width: 1rem;
  height: 1rem;
}

.dialog-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.newsletter-dialog__surface h2 {
  max-width: 32rem;
  margin-block: 0 0.8rem;
}

.action-confirmation-dialog {
  width: min(calc(100% - 2rem), 36rem);
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1.5rem 5rem rgb(13 32 45 / 35%);
}

.action-confirmation-dialog::backdrop {
  background: rgb(13 32 45 / 72%);
}

.action-confirmation-dialog__surface {
  position: relative;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border-top: 0.35rem solid var(--gold);
}

.action-confirmation-dialog__surface h2 {
  margin-block: 0 0.8rem;
}

.action-confirmation-dialog__blockers {
  margin-block: 1.25rem;
  padding: 1rem;
  border-left: 0.25rem solid #a41f1f;
  color: #721313;
  background: #fff1f1;
}

.action-confirmation-dialog__blockers p {
  margin: 0 0 0.5rem;
  font-weight: 750;
}

.action-confirmation-dialog__blockers ul {
  margin-block: 0;
  padding-left: 1.25rem;
}

.action-confirmation-dialog__message {
  margin-block: 1.25rem;
  padding: 1rem;
  border-left: 0.25rem solid var(--gold);
  background: var(--parchment);
}

.action-confirmation-dialog__message label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.action-confirmation-dialog__message textarea {
  width: 100%;
  min-height: 7rem;
  padding: 0.75rem;
  border: 1px solid var(--slate);
  border-radius: 0.25rem;
  background: var(--white);
  font: inherit;
}

.action-confirmation-dialog__message .helptext {
  margin: 0.45rem 0 0;
}

.cookie-notice {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid rgb(13 32 45 / 25%);
  color: #111;
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 18%);
  backdrop-filter: blur(0.5rem);
}

.cookie-notice__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.cookie-notice h2 {
  margin: 0 0 0.25rem;
  color: #111;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 750;
}

.cookie-notice p {
  margin: 0;
  color: #111;
  font-size: 0.9rem;
}

.cookie-notice a {
  color: var(--navy-deep);
  font-weight: 700;
}

.cookie-notice .button {
  flex: 0 0 auto;
}

.error-page {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding-block: clamp(3rem, 10vw, 7rem);
  color: var(--white);
  background: var(--navy-deep);
}

.error-page .reading-width {
  width: min(calc(100% - 2rem), 44rem);
}

.error-page h1 {
  max-width: 12ch;
  margin-block: 0 1rem;
  color: var(--white);
  font-size: clamp(2.7rem, 8vw, 5.5rem);
}

.error-page p:not(.eyebrow) {
  max-width: 38rem;
  color: rgb(255 255 255 / 88%);
  font-size: 1.05rem;
}

.error-page .eyebrow {
  color: var(--gold-light);
}

.newsletter-dialog form {
  margin-top: 1.75rem;
}

.form-grid--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid--two .form-field {
  margin-block: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.65rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-social__icon {
  display: inline-flex;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #5c6879;
  background: transparent;
  text-decoration: none;
}

a.footer-social__icon:hover {
  color: var(--navy-deep);
}

.footer-social__svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentcolor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid #cdd0d2;
  color: #747b82;
  font-size: 0.82rem;
}

@media (max-width: 64rem) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: inherit;
}

.utility-page {
  min-height: 60vh;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.form-card,
.application-card {
  max-width: 44rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgb(74 85 104 / 25%);
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: 0 0.25rem 1.25rem rgb(26 43 60 / 8%);
}

.form-card {
  margin-inline: auto;
}

.contact-section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.contact-intro__inner {
  width: min(100% - 2rem, 50rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(28rem, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-layout--form-only {
  display: block;
  width: min(100%, 50rem);
  margin-inline: auto;
}

.contact-guidance.editorial-body {
  padding: 0;
}

.contact-guidance h2:first-child {
  margin-top: 0;
}

.contact-form-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-top: 0.35rem solid var(--gold);
  background: var(--paper);
  box-shadow: 0 0.5rem 2rem rgb(21 43 58 / 8%);
}

.contact-form-card h2 {
  margin-block: 0 0.75rem;
  scroll-margin-top: 2rem;
}

.preview-notice {
  margin-block: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 0.2rem solid var(--gold);
  color: var(--slate);
  background: #f1efe9;
  font-size: 0.95rem;
}

[data-preview-form] .button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

@media (max-width: 58rem) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.form-card h1,
.application-page > h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.form-field {
  margin-block: 1.25rem;
}

.form-field label,
.application-card label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.form-field:has(input:required, select:required, textarea:required) > label::after,
.form-field:has(input:required, select:required, textarea:required) fieldset > legend::after,
.form-field:has([data-type-required="true"]) > label::after,
.guest-comment-consent:has(input:required) > label::after {
  content: " *";
  font-weight: 800;
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea,
.application-card textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--slate);
  border-radius: 0.25rem;
  color: var(--ink);
  background: var(--parchment);
  font: inherit;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.application-card textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.form-field input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 0.55rem 0 0;
  accent-color: var(--navy);
}

.form-field input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 0.55rem 0 0;
  accent-color: var(--navy);
}

.form-field label:has(input[type="radio"]) {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}

.form-field .form-checkbox {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
}

.profile-form--readonly .form-field:has(:disabled) > label::after,
.profile-form--readonly .form-field:has(:disabled) fieldset > legend::after {
  content: none;
}

.profile-form--readonly .form-field input:disabled:not([type="checkbox"]):not([type="radio"]),
.profile-form--readonly .form-field select:disabled,
.profile-form--readonly .form-field textarea:disabled {
  border-color: var(--line);
  opacity: 1;
  color: var(--ink);
  background: #f1efe9;
  cursor: default;
  -webkit-text-fill-color: var(--ink);
}

.profile-form--readonly .form-field input[type="checkbox"]:disabled,
.profile-form--readonly .form-field input[type="radio"]:disabled {
  opacity: 1;
  cursor: default;
}

.profile-form--readonly .form-field label:has(input:disabled) {
  cursor: default;
}

.form-field:has(input[type="radio"]) fieldset > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.form-field .helptext {
  display: block;
  margin-top: 0.35rem;
  color: var(--slate);
  font-size: 0.925rem;
}

.errorlist,
.form-errors {
  color: #8a1010;
}

.button {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--navy);
  border-radius: 0.125rem;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-with-icon {
  gap: 0.55rem;
}

.action-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 0.9rem;
  fill: currentcolor;
}

.button--accent {
  border-color: #d9b96d;
  color: var(--navy) !important;
  background: #d9b96d;
}

.button--outline {
  border-color: rgb(255 255 255 / 72%);
  color: var(--white);
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.button--danger {
  border-color: #8a1010;
  background: #8a1010;
}

.form-footnote {
  margin-top: 1.5rem;
}

.message {
  --message-accent: var(--slate);
  --message-background: #eef2f4;

  padding: 0.75rem 1rem;
  border-left: 0.25rem solid var(--message-accent);
  color: var(--ink);
  background: var(--message-background);
}

.message--success {
  --message-accent: #236b3a;
  --message-background: #edf7f0;
}

.message--error {
  --message-accent: #8a1010;
  --message-background: #faeded;
}

.message--warning {
  --message-accent: #8a5a00;
  --message-background: #fff4d6;
}

.message--info {
  --message-accent: #315f78;
  --message-background: #edf5f8;
}

.local-feedback {
  max-width: 48rem;
  margin-block: 0 1rem;
}

.local-feedback .message {
  margin: 0;
}

.communication-history {
  max-width: 48rem;
  margin-block: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: var(--paper);
}

.communication-history summary {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.communication-history__order {
  margin: 0;
  padding-inline: 1rem;
  color: var(--slate);
  font-size: 0.82rem;
}

.communication-history ol {
  margin: 0;
  padding: 0.5rem 1rem 1rem 2.7rem;
}

.communication-history li {
  padding: 0.75rem 0 0.75rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.communication-history li:last-child {
  border-bottom: 0;
}

.communication-history__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}

.communication-history__heading time,
.communication-history__actor {
  color: var(--slate);
  font-size: 0.88rem;
}

.communication-history__actor,
.communication-history__note {
  margin-block: 0.35rem 0;
}

.communication-history__note {
  padding: 0.65rem 0.75rem;
  border-left: 0.2rem solid var(--gold);
  background: var(--white);
  white-space: pre-line;
}

.application-list {
  display: grid;
  gap: 1.5rem;
}

.dashboard-section {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.account-section {
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.account-tabs {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.account-panel,
.profile-form {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

.account-section > .profile-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.account-panel__heading,
.account-section > .profile-form .profile-form__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.account-panel__heading .eyebrow,
.account-section > .profile-form .profile-form__heading .eyebrow {
  margin-bottom: 0.65rem;
}

.account-panel__heading h2,
.account-section > .profile-form .profile-form__heading h2 {
  margin-block: 0 0.5rem;
}

.account-panel__heading p:last-child {
  margin-block: 0;
}

.account-details {
  max-width: 44rem;
}

.account-panel--settings > form,
.account-panel--settings > .account-details {
  width: min(100%, 47rem);
}

@media (max-width: 40rem) {
  .account-panel__heading {
    align-items: stretch;
    flex-direction: column;
  }
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.dashboard-tabs a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-bottom: 0.2rem solid transparent;
  color: var(--navy);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.dashboard-tabs a:hover,
.dashboard-tabs a[aria-current="page"] {
  border-bottom-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.dashboard-tabs .dashboard-tabs__external {
  margin: 0 0 0.4rem 0.75rem;
  border: 1px solid var(--gold);
  color: var(--navy-deep);
  background: var(--gold-light);
}

.dashboard-tabs .dashboard-tabs__external:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: #d9b568;
}

.dashboard-tabs__external span {
  margin-left: 0.15rem;
  font-size: 1rem;
  line-height: 1;
}

.dashboard-tab-count {
  margin-left: 0.45rem;
  color: var(--slate);
  font-size: 0.78rem;
  line-height: 1;
}

.dashboard-tabs a:hover .dashboard-tab-count {
  color: var(--navy);
}

.dashboard-tabs a[aria-current="page"] .dashboard-tab-count {
  display: inline-grid;
  min-width: 1.65rem;
  min-height: 1.65rem;
  place-items: center;
  padding-inline: 0.35rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}

.dashboard-heading {
  max-width: 48rem;
  margin-block: clamp(2rem, 5vw, 3.5rem) 2rem;
}

.dashboard-heading h2 {
  margin-block: 0 0.75rem;
}

.dashboard-panel .application-card {
  max-width: none;
}

.application-card dl div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
}

.application-card dt {
  font-weight: 700;
}

.application-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.management-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.management-filters a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-bottom: 0.2rem solid transparent;
  color: var(--navy);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.management-filters a span {
  min-width: 1.4rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: var(--paper);
  text-align: center;
}

.management-filters a:hover,
.management-filters a[aria-current="page"] {
  border-bottom-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.management-filters a[aria-current="page"] span,
.management-filters a:hover span {
  color: var(--white);
  background: var(--navy);
}

.delivery-table-region {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  overflow-x: auto;
  background: var(--white);
  box-shadow: 0 0.2rem 1rem rgb(26 43 60 / 5%);
}

.delivery-table-region:focus-visible {
  outline: 0.2rem solid var(--gold);
  outline-offset: 0.2rem;
}

.record-list-tools {
  display: grid;
  grid-template-columns: minmax(15rem, 2fr) repeat(2, minmax(11rem, 1fr)) auto;
  align-items: end;
  gap: 1rem;
  margin-block: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--white);
}

.record-list-tools--search-only {
  grid-template-columns: minmax(15rem, 1fr) auto;
}

.record-list-tools--email {
  grid-template-columns: minmax(15rem, 2fr) minmax(11rem, 1fr) auto;
}

.record-list-tools__field {
  display: grid;
  gap: 0.35rem;
}

.record-list-tools__field label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 750;
}

.record-list-tools__field input,
.record-list-tools__field select {
  width: 100%;
  min-height: 2.75rem;
}

.record-list-tools__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.record-list-summary {
  margin-block: 0 0.75rem;
  color: var(--slate);
  font-size: 0.9rem;
}

.record-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.record-pagination a,
.record-pagination span {
  display: inline-grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  place-items: center;
}

.record-pagination a {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
  font-weight: 750;
  text-decoration: none;
}

.record-pagination a:hover,
.record-pagination a:focus-visible,
.record-pagination a[aria-current="page"] {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

@media (max-width: 64rem) {
  .record-list-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-list-tools__field--search,
  .record-list-tools__actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  .record-list-tools {
    grid-template-columns: 1fr;
  }

  .record-list-tools__field--search,
  .record-list-tools__actions {
    grid-column: auto;
  }
}

.delivery-table {
  width: 100%;
  min-width: 68rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.delivery-table th,
.delivery-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.delivery-table th + th,
.delivery-table td + td {
  border-left: 1px solid var(--line);
}

.delivery-table th:nth-child(1) {
  width: 10%;
}

.delivery-table th:nth-child(2) {
  width: 20%;
}

.delivery-table th:nth-child(3) {
  width: 17%;
}

.delivery-table th:nth-child(4) {
  width: 17%;
}

.delivery-table th:nth-child(5) {
  width: 12%;
}

.delivery-table th:nth-child(6) {
  width: 10%;
}

.delivery-table th:nth-child(7) {
  width: 14%;
}

.delivery-table th {
  color: var(--navy);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.delivery-table tbody tr:last-child td {
  border-bottom: 0;
}

.delivery-table tbody tr:nth-child(even) {
  background: var(--paper);
}

.delivery-table tbody tr:hover {
  background: #fff8e8;
}

.delivery-table code {
  overflow-wrap: anywhere;
}

.management-list {
  display: grid;
  gap: 1rem;
}

.management-record {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--white);
  box-shadow: 0 0.2rem 1rem rgb(26 43 60 / 5%);
}

.management-record__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.management-record__heading h3 {
  margin-block: 0.2rem 0;
}

.management-record__heading .metadata {
  margin: 0;
}

.management-metadata {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin-block: 1.25rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}

.management-metadata div {
  min-width: 0;
}

.management-metadata dt {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.management-metadata dd {
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}

.management-metadata--member {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.management-decision {
  max-width: 48rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.management-decision label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.management-decision textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--slate);
  border-radius: 0.25rem;
  background: var(--white);
  font: inherit;
}

.management-record__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.management-record__actions form {
  margin: 0;
}

.management-record__action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 48rem) {
  .management-metadata {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 32rem) {
  .management-record__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .management-metadata {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 52rem) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    min-height: 4.75rem;
  }

  .primary-nav--desktop,
  .account-nav--desktop {
    display: none;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
  }

  .site-header__actions {
    gap: 0.5rem;
  }

  .mobile-menu > summary {
    display: inline-flex;
    min-width: 4.5rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 0.125rem;
    color: var(--navy);
    background: var(--paper);
    font-weight: 700;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu > summary::before {
    width: 1rem;
    height: 2px;
    background: currentcolor;
    box-shadow: 0 -0.34rem currentcolor, 0 0.34rem currentcolor;
    content: "";
  }

  .mobile-menu[open] > summary {
    border-color: var(--gold);
  }

  .mobile-menu__panel {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-top: 0;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 0.75rem 1.5rem rgb(21 43 58 / 14%);
  }

  .mobile-primary-nav,
  .mobile-account-nav {
    display: grid;
  }

  .mobile-primary-nav a,
  .mobile-account-nav a,
  .mobile-account-nav .link-button {
    min-height: 2.75rem;
    align-items: center;
    padding: 0.45rem 0.35rem;
    color: var(--navy);
    font-weight: 650;
  }

  .mobile-primary-nav a,
  .mobile-account-nav a {
    display: flex;
    text-decoration: none;
  }

  .mobile-primary-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 0.14rem;
    text-underline-offset: 0.35rem;
  }

  .mobile-account-nav {
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .mobile-account-nav .account-menu__identity {
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.35rem 0.8rem;
  }

  .mobile-account-nav .button {
    width: max-content;
    padding-inline: 1rem;
  }

  .mobile-account-nav form {
    margin: 0;
  }
}

@media (max-width: 40rem) {
  .site-search-form {
    grid-template-columns: 1fr;
  }

  .site-search-form .button {
    width: 100%;
  }
  .hero {
    min-height: 30rem;
    padding-block: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .cookie-notice__content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-identity {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .pathway-grid,
  .listing-grid,
  .portal-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pathway-grid article,
  .listing-item {
    padding-inline: 0;
    border-right: 0;
  }

  .button-row {
    flex-wrap: wrap;
  }

  .profile-form__heading {
    flex-direction: column;
  }

  .application-card dl div {
    display: block;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 30rem) {
  .rich-text .richtext-image.left,
  .rich-text .richtext-image.right,
  .member-post-inline-image.left,
  .member-post-inline-image.right {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
