:root {
  --cjc-indigo: #0b315d;
  --cjc-eucalyptus: #426b59;
  --cjc-lake: #2f6f8f;
  --cjc-vermilion: #c92f42;
  --cjc-paper: #faf7f0;
  --cjc-mist: #edf1ee;
  --cjc-charcoal: #232b2d;
  --cjc-border: #d9ded9;
  --cjc-header-surface: #fffefb;
  --cjc-content: 72rem;
  --cjc-reading: 46rem;
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--cjc-charcoal);
  background: var(--cjc-paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}

body {
  margin: 0;
}

.cjc-image-display {
  display: flex;
  max-width: 100%;
}

.cjc-image-display--left {
  justify-content: flex-start;
}

.cjc-image-display--center {
  justify-content: center;
}

.cjc-image-display--right {
  justify-content: flex-end;
}

.cjc-image-display figure,
.cjc-image-display a {
  max-width: 100%;
}

.cjc-image-display figure {
  display: flex;
  flex-direction: column;
}

.cjc-image-display--left figure {
  align-items: flex-start;
}

.cjc-image-display--center figure {
  align-items: center;
}

.cjc-image-display--right figure {
  align-items: flex-end;
}

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

.cjc-image-display--automatic figure {
  max-width: 100%;
}

.cjc-image-display--content-percent figure {
  width: calc(var(--cjc-image-display-value) * 1%);
}

.cjc-image-display--viewport-width figure {
  width: min(calc(var(--cjc-image-display-value) * 1vw), 100%);
}

.cjc-image-display--pixel-width figure {
  width: min(calc(var(--cjc-image-display-value) * 1px), 100%);
}

.cjc-image-display--content-percent img,
.cjc-image-display--viewport-width img,
.cjc-image-display--pixel-width img {
  width: 100%;
}

.cjc-image-display--pixel-height img {
  width: auto;
  max-height: calc(var(--cjc-image-display-value) * 1px);
}

.cjc-image-display:not(.cjc-image-display--allow-enlargement) figure,
.cjc-image-display:not(.cjc-image-display--allow-enlargement) a,
.cjc-image-display:not(.cjc-image-display--allow-enlargement) img {
  width: auto;
}

.cjc-image-display:not(.cjc-image-display--allow-enlargement).cjc-image-display--content-percent figure {
  max-width: calc(var(--cjc-image-display-value) * 1%);
}

.cjc-image-display:not(.cjc-image-display--allow-enlargement).cjc-image-display--viewport-width figure {
  max-width: min(calc(var(--cjc-image-display-value) * 1vw), 100%);
}

.cjc-image-display:not(.cjc-image-display--allow-enlargement).cjc-image-display--pixel-width figure {
  max-width: min(calc(var(--cjc-image-display-value) * 1px), 100%);
}

.cjc-rich-image {
  --cjc-rich-image-gap: clamp(1rem, 3vw, 2.25rem);

  box-sizing: border-box;
  max-width: 100%;
  margin-block: 0 1.5rem;
}

.cjc-rich-image img,
.cjc-rich-image a {
  display: block;
  max-width: 100%;
}

.cjc-rich-image img {
  width: auto;
  height: auto;
}

.cjc-rich-image--left {
  margin-right: auto;
  margin-left: 0;
}

.cjc-rich-image--center {
  margin-right: auto;
  margin-left: auto;
}

.cjc-rich-image--right {
  margin-right: 0;
  margin-left: auto;
}

.cjc-rich-image[data-cjc-image-size-mode="content-percent"] {
  width: calc(var(--cjc-rich-image-value) * 1%);
}

.cjc-rich-image[data-cjc-image-size-mode="viewport-width"] {
  width: min(calc(var(--cjc-rich-image-value) * 1vw), 100%);
}

.cjc-rich-image[data-cjc-image-size-mode="pixel-width"] {
  width: min(calc(var(--cjc-rich-image-value) * 1px), 100%);
}

.cjc-rich-image[data-cjc-image-size-mode="pixel-height"] {
  width: fit-content;
}

.cjc-rich-image[data-cjc-image-size-mode="pixel-height"] img {
  max-height: calc(var(--cjc-rich-image-value) * 1px);
}

.cjc-rich-image--allow-enlargement[data-cjc-image-size-mode="content-percent"] img,
.cjc-rich-image--allow-enlargement[data-cjc-image-size-mode="viewport-width"] img,
.cjc-rich-image--allow-enlargement[data-cjc-image-size-mode="pixel-width"] img {
  width: 100%;
}

.cjc-rich-image--wrap-left,
.cjc-rich-image--side-by-side-left {
  float: left;
  width: 46%;
  margin-right: var(--cjc-rich-image-gap);
}

.cjc-rich-image--wrap-right,
.cjc-rich-image--side-by-side-right {
  float: right;
  width: 46%;
  margin-left: var(--cjc-rich-image-gap);
}

.cjc-rich-image--side-by-side-left + p,
.cjc-rich-image--side-by-side-right + p {
  display: flow-root;
}

.cjc-rich-image--side-by-side-left + p + *,
.cjc-rich-image--side-by-side-right + p + * {
  clear: both;
}

.cjc-rich-image--wrap-left + *,
.cjc-rich-image--wrap-right + *,
.cjc-rich-image--side-by-side-left + *,
.cjc-rich-image--side-by-side-right + * {
  margin-top: 0;
}

@media (max-width: 40rem) {
  .cjc-rich-image--wrap-left,
  .cjc-rich-image--wrap-right,
  .cjc-rich-image--side-by-side-left,
  .cjc-rich-image--side-by-side-right {
    float: none;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .cjc-rich-image--side-by-side-left + p,
  .cjc-rich-image--side-by-side-right + p {
    display: block;
  }
}

a {
  color: var(--cjc-lake);
}

.container {
  width: min(calc(100% - 2rem), var(--cjc-content));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--cjc-indigo);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--cjc-border);
  background: rgb(255 254 251 / 96%);
  box-shadow: 0 0.75rem 2.5rem rgb(11 49 93 / 8%);
  backdrop-filter: blur(1rem);
}

.site-header__accent {
  height: 0.3rem;
  background:
    linear-gradient(
      90deg,
      var(--cjc-indigo) 0%,
      var(--cjc-indigo) 72%,
      var(--cjc-vermilion) 72%,
      var(--cjc-vermilion) 100%
    );
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, 1fr) auto auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  width: min(calc(100% - 2rem), 82rem);
  min-height: 7rem;
  padding-block: 1.35rem 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  width: fit-content;
  color: var(--cjc-indigo);
  text-decoration: none;
  transition: opacity 160ms ease;
}

.brand:hover {
  opacity: 0.78;
}

.brand__logo {
  width: clamp(7.5rem, 12vw, 9.5rem);
  height: auto;
  flex: 0 0 auto;
}

.brand__identity {
  display: grid;
  padding-left: clamp(0.8rem, 1.4vw, 1.15rem);
  border-left: 1px solid rgb(11 49 93 / 18%);
  line-height: 1.25;
}

.brand__identity strong {
  font-family: "Avenir Next", "Hiragino Sans", system-ui, sans-serif;
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  font-weight: 750;
  letter-spacing: 0.015em;
}

.brand__japanese {
  margin-top: 0.18rem;
  color: #536273;
  font-size: clamp(0.66rem, 1vw, 0.75rem);
  font-weight: 650;
  letter-spacing: 0.04em;
}

.brand__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.42rem;
  color: #7b8793;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand__location-mark {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--cjc-vermilion);
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: clamp(0.3rem, 0.8vw, 0.75rem);
}

.site-nav__link {
  display: grid;
  min-width: 4.8rem;
  padding: 0.5rem 0.45rem;
  color: #405269;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-nav__link:hover {
  color: var(--cjc-vermilion);
  transform: translateY(-1px);
}

.site-nav__primary,
.site-nav__secondary {
  display: block;
  white-space: nowrap;
}

.site-nav__primary {
  padding-bottom: 0.13rem;
  font-size: 0.74rem;
  font-weight: 760;
}

.site-nav__secondary {
  color: #758291;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.language-switch {
  position: absolute;
  top: 0.08rem;
  right: 0;
  color: #71808d;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.language-switch__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.75rem;
  padding: 0.25rem 0.42rem;
  border: 0;
  border-radius: 0.35rem;
  outline: none;
  background: transparent;
  color: inherit;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.language-switch__trigger::-webkit-details-marker {
  display: none;
}

.language-switch__trigger:hover,
.language-switch[open] .language-switch__trigger {
  color: var(--cjc-indigo);
  background: rgb(11 49 93 / 5%);
}

.language-switch__trigger:focus {
  outline: none;
}

.language-switch__trigger:focus-visible .language-switch__value {
  text-decoration: underline;
  text-decoration-color: rgb(11 49 93 / 45%);
  text-underline-offset: 0.2rem;
}

.language-switch__globe {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.language-switch__chevron {
  width: 0.48rem;
  height: 0.3rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 160ms ease;
}

.language-switch[open] .language-switch__chevron {
  transform: rotate(180deg);
}

.language-switch__menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 0.18rem);
  right: 0;
  display: grid;
  min-width: 8rem;
  padding: 0.3rem;
  border: 1px solid rgb(11 49 93 / 12%);
  border-radius: 0.55rem;
  background: #fffefa;
  box-shadow: 0 0.7rem 1.8rem rgb(11 49 93 / 14%);
}

.language-switch__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.52rem 0.62rem;
  border-radius: 0.35rem;
  color: #536273;
  font-size: 0.68rem;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition:
    color 140ms ease,
    background-color 140ms ease;
}

.language-switch__option:hover {
  color: var(--cjc-indigo);
  background: rgb(11 49 93 / 6%);
}

.language-switch__option:focus {
  outline: none;
}

.language-switch__option:focus-visible {
  color: var(--cjc-indigo);
  background: rgb(11 49 93 / 7%);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.language-switch__check {
  visibility: hidden;
  color: var(--cjc-vermilion);
  font-size: 0.7rem;
}

.language-switch__option[aria-current="page"] {
  color: var(--cjc-indigo);
}

.language-switch__option[aria-current="page"] .language-switch__check {
  visibility: visible;
}

.site-header__actions {
  display: flex;
  min-width: 8.5rem;
  justify-content: flex-end;
}

.account-menu {
  position: relative;
}

.account-menu > summary {
  list-style: none;
}

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

.account-menu__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem 0.28rem;
  border-radius: 999px;
  color: #405269;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.account-menu__trigger:hover,
.account-menu__trigger:focus-visible,
.account-menu[open] .account-menu__trigger {
  color: var(--cjc-indigo);
  background: rgb(11 49 93 / 6%);
}

.account-menu__avatar {
  display: grid;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  border: 1px solid rgb(11 49 93 / 18%);
  border-radius: 50%;
  color: var(--cjc-indigo);
  background: var(--cjc-mist);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  place-items: center;
}

.account-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-photo-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  color: var(--cjc-indigo);
  place-items: center;
}

.person-photo-placeholder svg {
  width: 62%;
  height: 62%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

[data-person-photo-zoom] {
  cursor: zoom-in;

  &:focus-visible {
    outline: 3px solid rgb(17 91 157 / 35%);
    outline-offset: 3px;
  }
}

.person-photo-lightbox {
  width: min(46rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 1rem;
  overflow: visible;
  background: transparent;
  border: 0;

  &::backdrop {
    background: rgb(5 20 36 / 78%);
    backdrop-filter: blur(3px);
  }
}

.person-photo-lightbox__image {
  display: block;
  width: min(42rem, calc(100vw - 4rem), calc(100dvh - 4rem));
  height: min(42rem, calc(100vw - 4rem), calc(100dvh - 4rem));
  margin: auto;
  object-fit: cover;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 22px 70px rgb(0 0 0 / 40%);
}

.person-photo-lightbox__close {
  position: absolute;
  top: .25rem;
  right: .25rem;
  display: grid;
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  color: var(--cjc-indigo, #0b315d);
  background: white;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 3px 15px rgb(0 0 0 / 25%);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.account-menu__trigger-copy {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.account-menu__name {
  max-width: 7rem;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__name--bilingual {
  display: grid;
  max-width: 9rem;
  line-height: 1.08;
  text-overflow: initial;
}

.account-menu__name--bilingual > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__name--bilingual > span:first-child {
  font-size: 0.68rem;
  font-weight: 600;
}

.account-menu__name--bilingual > span:last-child {
  color: #657382;
  font-size: 0.54rem;
  font-weight: 400;
}

.account-menu__state {
  color: #758291;
  font-size: 0.54rem;
}

.account-menu--editing .account-menu__state {
  color: var(--cjc-vermilion);
}

.account-menu__chevron {
  width: 0.55rem;
  height: 0.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 160ms ease;
}

.account-menu[open] .account-menu__chevron {
  transform: rotate(180deg);
}

.account-menu__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 20;
  width: min(17rem, calc(100vw - 1rem));
  overflow: hidden;
  border: 1px solid rgb(11 49 93 / 13%);
  border-radius: 0.75rem;
  background: white;
  box-shadow: 0 1rem 2.5rem rgb(11 49 93 / 17%);
}

.account-menu__identity {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgb(11 49 93 / 9%);
  line-height: 1.3;
}

.account-menu__identity strong {
  color: var(--cjc-indigo);
  font-size: 0.77rem;
  font-weight: 650;
}

.account-menu__identity span,
.account-menu__identity small {
  overflow: hidden;
  color: #657583;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__identity small {
  font-size: 0.6rem;
}

.account-menu__items {
  padding: 0.4rem;
}

.account-menu__section form {
  margin: 0;
}

.account-menu__section--administration {
  margin-block: 0.25rem;
  padding: 0.28rem;
  border: 1px solid rgb(11 49 93 / 7%);
  border-radius: 0.55rem;
  background: rgb(11 49 93 / 3.5%);
}

.account-menu__section--logout {
  padding-top: 0.25rem;
  border-top: 1px solid rgb(11 49 93 / 8%);
}

.account-menu__section-title {
  display: block;
  padding: 0.32rem 0.7rem 0.18rem;
  color: #7a8792;
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-menu__items a,
.account-menu__items button {
  display: flex;
  width: 100%;
  padding: 0.62rem 0.7rem;
  border: 0;
  border-radius: 0.45rem;
  color: #405269;
  background: transparent;
  font: inherit;
  font-size: 0.7rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-menu__items a:hover,
.account-menu__items button:hover {
  color: var(--cjc-indigo);
  background: rgb(11 49 93 / 6%);
}

.account-menu__items .email-submit {
  justify-content: flex-start;
}

.email-submit {
  position: relative;
  justify-content: center;

  &:disabled {
    cursor: wait;
    opacity: .76;
  }
}

.email-submit__spinner,
.email-submit__pending {
  display: none;
}

.email-submit[aria-busy="true"] {
  .email-submit__idle {
    display: none;
  }

  .email-submit__pending {
    display: inline;
  }

  .email-submit__spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: email-submit-spin .7s linear infinite;
  }
}

button[type="submit"][aria-busy="true"] {
  cursor: wait;
  opacity: .76;
}

button[type="submit"][aria-busy="true"]:not(.email-submit)::before {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: .5rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -.15rem;
  content: "";
  animation: email-submit-spin .7s linear infinite;
}

@keyframes email-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.member-session--direct-cms {
  color: #536273;
  font-size: 0.66rem;
  text-decoration: none;
}

.breadcrumbs {
  border-bottom: 1px solid rgb(11 49 93 / 8%);
  background: #f5f3ed;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  margin-block: 0;
  padding-block: 0.55rem;
  padding-left: 0;
  overflow-x: auto;
  color: #687786;
  font-size: 0.72rem;
  font-weight: 650;
  list-style: none;
  scrollbar-width: thin;
  white-space: nowrap;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  margin-inline: 0.65rem;
  color: var(--cjc-vermilion);
  content: "›";
  font-size: 1rem;
  font-weight: 400;
}

.breadcrumbs a {
  color: #52677a;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.breadcrumbs a:hover {
  color: var(--cjc-indigo);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--cjc-indigo);
}

.hero {
  padding-block: clamp(4rem, 10vw, 8rem);
  color: white;
  background:
    linear-gradient(110deg, rgb(23 50 77 / 94%), rgb(66 107 89 / 78%)),
    var(--cjc-indigo);
}

.hero__content {
  max-width: var(--cjc-reading);
  margin-left: max(1rem, calc((100% - var(--cjc-content)) / 2));
}

.hero h1 {
  margin-block: 0.25rem 1rem;
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  line-height: 1.12;
}

.hero__tagline,
.lede {
  max-width: var(--cjc-reading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.eyebrow {
  margin: 0;
  color: var(--cjc-vermilion);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc6b7;
}

.home-page {
  overflow: hidden;
}

.home-hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 8% 12%, rgb(201 47 66 / 9%), transparent 24rem),
    linear-gradient(135deg, #fffefb 0%, #f3f0e8 100%);
}

.home-hero::after {
  position: absolute;
  right: -9rem;
  bottom: -11rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgb(47 111 143 / 15%);
  border-radius: 50%;
  content: "";
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.home-hero__content {
  max-width: 38rem;
}

.home-hero h1 {
  max-width: 11ch;
  margin: 0.7rem 0 1.25rem;
  color: var(--cjc-indigo);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  font-size: clamp(1.96rem, 4vw, 3.36rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.1;
  white-space: pre-line;
}

.home-hero h1:lang(ja) {
  max-width: none;
  word-break: keep-all;
}

.home-hero__body {
  margin: 0;
  color: #475867;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.9;
  white-space: pre-line;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.home-button {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.3;
  text-decoration: none;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button--primary {
  color: white;
  background: var(--cjc-indigo);
}

.home-button--primary:hover {
  color: white;
  background: #164774;
}

.home-button--secondary {
  border-color: rgb(11 49 93 / 22%);
  color: var(--cjc-indigo);
  background: rgb(255 255 255 / 65%);
}

.home-button--secondary:hover {
  border-color: var(--cjc-indigo);
  color: var(--cjc-indigo);
  background: white;
}

.home-button--light {
  color: var(--cjc-indigo);
  background: white;
}

.home-button--light:hover {
  color: var(--cjc-indigo);
  background: #f3f5f2;
}

.home-hero__media {
  position: relative;
  overflow: visible;
  margin: 0;
  border-radius: 1.4rem;
  aspect-ratio: 17 / 11;
  background: #dfe6e3;
  box-shadow: 0 1.8rem 4rem rgb(11 49 93 / 18%);
}

.home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.home-hero__image-accent {
  position: absolute;
  right: -1.15rem;
  bottom: -1.15rem;
  z-index: -1;
  width: 42%;
  height: 48%;
  border-radius: 1rem;
  background:
    repeating-linear-gradient(
      -45deg,
      rgb(201 47 66 / 20%) 0,
      rgb(201 47 66 / 20%) 2px,
      transparent 2px,
      transparent 9px
    );
}

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

.home-section-heading > div {
  max-width: 45rem;
}

.home-section-heading h2 {
  margin: 0.4rem 0 0;
  color: var(--cjc-indigo);
  font-size: clamp(1.75rem, 3.7vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.home-section-heading p:not(.eyebrow) {
  margin: 0.7rem 0 0;
  color: #586773;
  line-height: 1.75;
}

.home-section-heading--centered {
  text-align: center;
  justify-content: center;
}

.home-text-link {
  display: inline-flex;
  color: var(--cjc-indigo);
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
  gap: 0.45rem;
  align-items: center;
}

.home-text-link:hover {
  color: var(--cjc-vermilion);
}

.home-pathways {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: white;
}

.home-pathways__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.home-pathway-card {
  position: relative;
  overflow: hidden;
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--cjc-border);
  border-radius: 1.1rem;
  background: #fbfaf6;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.home-pathway-card:hover {
  border-color: rgb(47 111 143 / 45%);
  box-shadow: 0 1rem 2.5rem rgb(35 43 45 / 9%);
  transform: translateY(-3px);
}

.home-pathway-card__icon {
  display: grid;
  width: 5.75rem;
  height: 5.5rem;
  border: 0;
  border-radius: 1.35rem;
  color: var(--cjc-indigo);
  background:
    linear-gradient(145deg, #fff 0%, #fbf8ef 58%, #f3eee1 100%);
  box-shadow: inset 0 0 0 1px rgb(29 51 81 / 8%);
  place-items: center;
  transition:
    transform 180ms ease;
}

.home-pathway-card:hover .home-pathway-card__icon {
  transform: translateY(-3px);
}

.cjc-icon {
  display: block;
  width: 2.8rem;
  height: 2.8rem;
}

.home-pathway-card__icon .cjc-icon {
  width: 4.65rem;
  height: 4.65rem;
}

.cjc-icon__accent {
  stroke: var(--cjc-vermilion);
}

.cjc-icon__accent--filled {
  fill: var(--cjc-vermilion);
  stroke: none;
}

.cjc-icon__accent--soft {
  fill: rgb(191 65 45 / 9%);
}

.cjc-icon__vermilion {
  stroke: #bd4a3b;
}

.cjc-icon__vermilion-fill {
  fill: #bd4a3b;
  stroke: #bd4a3b;
}

.cjc-icon__vermilion-soft-fill {
  fill: #df8c78;
  stroke: #bd4a3b;
}

.cjc-icon__gold {
  stroke: #b88a42;
}

.cjc-icon__gold-fill {
  fill: #d6b265;
  stroke: #b88a42;
}

.cjc-icon__indigo-fill {
  fill: var(--cjc-indigo);
  stroke: var(--cjc-indigo);
}

.cjc-icon__indigo-soft-fill {
  fill: #d9e1e9;
  stroke: var(--cjc-indigo);
}

.cjc-icon__sky-fill {
  fill: #b9d5df;
  stroke: var(--cjc-indigo);
}

.cjc-icon__paper-fill {
  fill: #fffdf7;
}

.cjc-icon__paper-stroke {
  stroke: #fffdf7;
}

.cjc-icon__sky-pale-fill {
  fill: #e5edf1;
}

.cjc-icon__gold-pale-fill {
  fill: #f2e7c8;
}

.cjc-icon__fan-red-fill {
  fill: #f3dcd6;
}

.cjc-icon__fan-blue-fill {
  fill: #e0ebf0;
}

.cjc-icon__fan-gold-fill {
  fill: #f2e6c5;
}

.cjc-icon__fan-green-fill {
  fill: #dce7dd;
}

.cjc-icon__no-stroke {
  stroke: none;
}

.document-link {
  margin-block: 1rem;
  color: var(--cjc-indigo);
}

.document-link__surface {
  display: flex;
  width: 100%;
  color: inherit;
  text-decoration: none;
  gap: 0.9rem;
  align-items: center;
}

.document-link--card .document-link__surface {
  padding: 1rem 1.1rem;
  border: 1px solid var(--cjc-border);
  border-radius: 0.85rem;
  background: #fbfaf6;
  box-shadow: 0 0.4rem 1.2rem rgb(35 43 45 / 5%);
}

.document-link--button {
  display: inline-flex;
  width: auto;
}

.document-link--button .document-link__surface {
  width: auto;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: white;
  background: var(--cjc-indigo);
}

.document-link--inline {
  display: inline;
}

.document-link--inline .document-link__surface {
  display: inline-flex;
  width: auto;
  gap: 0.45rem;
}

.document-link__document-icon,
.document-link__action-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.document-link__document-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--cjc-vermilion);
  background: rgb(47 111 143 / 8%);
  font-family: serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.document-link__document-icon .cjc-icon {
  width: 1.65rem;
  height: 1.65rem;
}

.document-link__document-icon--pdf {
  position: relative;
  width: 2.15rem;
  height: 2.65rem;
  border: 1.5px solid currentcolor;
  border-radius: 0.22rem;
  color: #c43b32;
  background: #fff;
  box-shadow: 0 0.2rem 0.55rem rgb(35 43 45 / 8%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
}

.document-link__document-icon--pdf::before {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 0.68rem;
  height: 0.68rem;
  border-bottom: 1.5px solid currentcolor;
  border-left: 1.5px solid currentcolor;
  border-radius: 0 0 0 0.12rem;
  background:
    linear-gradient(225deg, #f6d8d4 0 48%, #fff 50% 100%);
  content: "";
}

.document-link__document-icon--pdf::after {
  position: absolute;
  right: 0.35rem;
  bottom: 0.38rem;
  left: 0.35rem;
  height: 1px;
  background: rgb(196 59 50 / 45%);
  box-shadow:
    0 -0.25rem 0 rgb(196 59 50 / 32%),
    0 -0.5rem 0 rgb(196 59 50 / 20%);
  content: "";
}

.document-link__action-icon {
  margin-left: auto;
  font-size: 1rem;
  font-weight: 650;
}

.document-link__action-icon .cjc-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.document-link__content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.16rem;
}

.document-link__title {
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.35;
}

.document-link__description,
.document-link__notice {
  color: #5f6d77;
  font-size: 0.78rem;
  line-height: 1.5;
}

.document-link__details {
  color: var(--cjc-eucalyptus);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.document-link--locked .document-link__surface {
  border-color: rgb(35 43 45 / 12%);
  color: #69747c;
  background: #f5f3ed;
}

.document-link--locked .document-link__document-icon {
  background: rgb(35 43 45 / 7%);
}

.document-link--empty {
  padding: 0.8rem;
  border: 1px dashed var(--cjc-border);
  color: #69747c;
  font-size: 0.82rem;
}

a.document-link__surface {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

a.document-link__surface:hover,
a.document-link__surface:focus-visible {
  border-color: rgb(47 111 143 / 45%);
  color: var(--cjc-vermilion);
  box-shadow: 0 0.8rem 1.8rem rgb(35 43 45 / 9%);
  transform: translateY(-2px);
}

.home-pathway-card h3 {
  margin: 1.2rem 0 0.65rem;
  color: var(--cjc-indigo);
  font-size: 1.25rem;
  line-height: 1.35;
}

.home-pathway-card p {
  margin: 0 0 1.3rem;
  color: #586773;
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-pathway-card a {
  display: inline-flex;
  color: var(--cjc-eucalyptus);
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: none;
  gap: 0.4rem;
  align-items: center;
}

.home-pathway-card a:hover {
  color: var(--cjc-vermilion);
}

.home-page__managed-sections {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.home-latest + .home-latest {
  margin-top: 4rem;
}

.home-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.home-article-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--cjc-border);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 0.75rem 2rem rgb(35 43 45 / 7%);
  flex-direction: column;
}

.home-article-card--newsletter {
  border-bottom-color: rgb(11 49 93 / 45%);
}

.home-article-card--announcement {
  border-bottom-color: rgb(66 107 89 / 55%);
}

.home-article-card--alert {
  border-bottom-color: rgb(201 47 66 / 65%);
}

.home-article-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 17 / 9;
  background: #e9ece8;
}

.home-article-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.home-article-card:hover .home-article-card__image img {
  transform: scale(1.025);
}

.home-article-card__body {
  padding: 1.25rem;
}

.home-article-card__meta {
  display: flex;
  color: var(--cjc-eucalyptus);
  font-size: 0.74rem;
  font-weight: 700;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
}

.home-article-card h3 {
  margin: 0.85rem 0 0;
  font-size: 1.12rem;
  line-height: 1.4;
}

.home-article-card h3 a {
  color: var(--cjc-indigo);
  text-decoration: none;
}

.home-article-card h3 a:hover {
  color: var(--cjc-vermilion);
}

.home-article-card__body > p {
  margin: 0.7rem 0 0;
  color: #586773;
  font-size: 0.86rem;
  line-height: 1.7;
}

.home-article-card .article-categories {
  margin-top: 0.85rem;
}

.home-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.5rem;
  border: 1px dashed var(--cjc-border);
  border-radius: 0.8rem;
  color: #687786;
  text-align: center;
}

.home-newcomer {
  color: white;
  background:
    linear-gradient(115deg, rgb(11 49 93 / 98%), rgb(47 111 143 / 92%)),
    var(--cjc-indigo);
}

.home-newcomer__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  align-items: center;
}

.home-newcomer .eyebrow {
  color: #ffc6b7;
}

.home-newcomer h2 {
  max-width: 13ch;
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.home-newcomer__inner > div:last-child p {
  max-width: 40rem;
  margin: 0 0 1.5rem;
  color: rgb(255 255 255 / 86%);
  line-height: 1.85;
}

.home-featured-clubs {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: white;
}

.home-featured-clubs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.home-featured-clubs .club-index-card__body h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.35;
}

.home-featured-clubs .club-index-card__body h3 a {
  color: var(--cjc-indigo);
  text-decoration: none;
}

.home-membership {
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 90% 50%, rgb(201 47 66 / 10%), transparent 22rem),
    #f2f0e9;
}

.home-membership__inner {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.home-membership__inner > div {
  max-width: 43rem;
}

.home-membership h2 {
  margin: 0.45rem 0 0;
  color: var(--cjc-indigo);
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  line-height: 1.25;
}

.home-membership p:not(.eyebrow) {
  margin: 0.75rem 0 0;
  color: #586773;
}

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

.content--page,
.content--article {
  max-width: var(--cjc-reading);
}

.content-page__body {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.content-page__body:has(.contact-details) {
  max-width: 60rem;
}

.contact-details {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.contact-details__intro {
  max-width: 38rem;
}

.contact-details__intro h2 {
  margin: 0;
  color: var(--cjc-indigo);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.contact-details__intro p:not(.eyebrow) {
  margin: 0.55rem 0 0;
  color: #52616d;
}

.contact-details__email-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-email-card,
.contact-information-card {
  border: 1px solid rgb(11 49 93 / 12%);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0.6rem 1.8rem rgb(30 50 64 / 6%);
}

.contact-email-card {
  display: grid;
  min-width: 0;
  padding: 1rem;
  border-top: 3px solid var(--cjc-lake);
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.contact-email-card__icon,
.contact-information-card__icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--cjc-lake);
  border-radius: 50%;
  background: #eaf3f6;
  place-items: center;
}

.contact-email-card__icon svg,
.contact-information-card__icon svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-email-card h3 {
  margin: 0 0 0.3rem;
  color: var(--cjc-charcoal);
  font-size: 0.82rem;
  line-height: 1.35;
}

.contact-email-card a {
  color: var(--cjc-lake);
  font-size: 0.71rem;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}

.contact-details__organisation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0.8rem;
}

.contact-information-card {
  display: grid;
  padding: clamp(1.1rem, 2.5vw, 1.4rem);
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.contact-information-card__icon {
  color: var(--cjc-eucalyptus);
  background: #edf3ef;
}

.contact-information-card h2 {
  margin: 0 0 0.65rem;
  color: var(--cjc-indigo);
  font-size: 1rem;
  line-height: 1.35;
}

.contact-information-card p {
  margin: 0.65rem 0 0;
  color: #52616d;
  font-size: 0.8rem;
  line-height: 1.65;
}

.contact-information-card address {
  color: #3e4d57;
  font-size: 0.85rem;
  font-style: normal;
  line-height: 1.7;
  white-space: pre-line;
}

.contact-information-card__abn {
  display: grid;
  gap: 0.1rem;
}

.contact-information-card__abn span {
  color: #667680;
  font-size: 0.7rem;
  font-weight: 650;
}

.contact-information-card__abn a,
.contact-information-card__external {
  color: var(--cjc-lake);
  font-weight: 650;
  text-underline-offset: 0.18em;
}

.contact-information-card__external {
  display: inline-flex;
  gap: 0.3rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .contact-details__email-grid {
    grid-template-columns: 1fr;
  }

  .contact-details__organisation-grid {
    grid-template-columns: 1fr;
  }

  .contact-email-card a {
    font-size: 0.78rem;
  }
}

.life-page__hero {
  width: 100%;
}

.life-page__hero-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 1.25rem 3rem rgb(25 45 61 / 14%);
  aspect-ratio: 12 / 5;
  background: #d9e5e8;
}

.life-page__hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--life-hero-position, center 62%);
}

.life-page__intro {
  max-width: 48rem;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.life-page__language {
  color: #465967;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.9;
}

.life-page__language p:last-child {
  margin-bottom: 0;
}

.life-page__notice {
  max-width: 60rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-left: 4px solid var(--cjc-vermilion);
  border-radius: 0 0.75rem 0.75rem 0;
  color: #3f5260;
  background: #f4f1e9;
}

.life-page__notice p {
  margin: 0;
  line-height: 1.75;
}

.life-page__details {
  max-width: var(--cjc-reading);
  padding-top: 0;
}

@media (max-width: 700px) {
  .life-page__hero-frame {
    aspect-ratio: 16 / 8.5;
  }
}

.content--article h1 {
  margin-block: 0.35rem 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.page-header {
  background: transparent;
}

.page-header__inner {
  display: grid;
  max-width: 60rem;
  padding-block: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(1rem, 2.5vw, 1.5rem);
}

.page-header__inner .eyebrow {
  display: flex;
  margin: 0;
  padding-right: clamp(1rem, 2.5vw, 1.5rem);
  border-right: 3px solid var(--cjc-vermilion);
  grid-row: 1 / 3;
  align-items: center;
}

.page-header__inner h1 {
  margin: 0;
  color: var(--cjc-charcoal);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.2;
}

.page-header__inner .lede {
  max-width: 48rem;
  margin: 0.35rem 0 0;
  color: #52616d;
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  line-height: 1.65;
}

.article-index {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.article-card {
  padding: 1.5rem;
  border: 1px solid var(--cjc-border);
  border-radius: 0.75rem;
  background: white;
}

.article-card--newsletter,
.related-article--newsletter {
  border-color: rgb(25 56 99 / 35%);
  box-shadow: inset 0.25rem 0 var(--cjc-indigo);
}

.article-card--announcement,
.related-article--announcement {
  border-color: rgb(56 111 85 / 40%);
  box-shadow: inset 0.25rem 0 var(--cjc-eucalyptus);
}

.article-card--alert,
.related-article--alert {
  border-color: rgb(203 61 42 / 55%);
  box-shadow: inset 0.25rem 0 var(--cjc-vermilion);
}

.article-card h2 {
  margin-block: 0.3rem 0.7rem;
  line-height: 1.35;
}

.article-card h2 a {
  color: var(--cjc-indigo);
  text-decoration: none;
}

.article-card__date {
  margin: 0;
  color: var(--cjc-eucalyptus);
  font-size: 0.85rem;
  font-weight: 700;
}

.article-card__meta,
.article-heading-meta,
.related-article__meta {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.article-badge {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: #52616d;
  background: #eef0ed;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
}

.article-badge--members {
  color: #6d4610;
  background: #fff1ce;
}

.members-corner__body,
.member-directory-page__body,
.members-article-index__body {
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

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

.members-corner-card {
  display: grid;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--cjc-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgb(35 43 45 / 6%);
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1.15rem;
}

.members-corner-card__icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  color: var(--cjc-indigo);
  background: rgb(47 111 143 / 10%);
  place-items: center;
}

.members-corner-card__icon svg {
  width: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.members-corner-card h2,
.members-corner__more h2,
.members-section-heading h2 {
  margin: 0;
  color: var(--cjc-indigo);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.members-corner-card p {
  margin: 0.65rem 0 1rem;
  color: #586773;
  font-size: 0.92rem;
}

.members-corner-card a,
.members-section-heading > a {
  color: var(--cjc-eucalyptus);
  font-size: 0.86rem;
  text-decoration: none;
}

.members-corner-card a:hover,
.members-section-heading > a:hover {
  color: var(--cjc-vermilion);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.members-latest {
  margin-top: clamp(2.75rem, 6vw, 5rem);
}

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

.members-section-heading .eyebrow {
  margin-bottom: 0.35rem;
}

.members-latest__grid {
  margin-top: 1.5rem;
}

.members-latest .article-card h3 {
  margin: 0.55rem 0 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.members-latest .article-card h3 a {
  color: var(--cjc-indigo);
  text-decoration: none;
}

.members-latest .article-card > p,
.members-article-index .article-card > p {
  margin: 0.65rem 0 0;
  color: #586773;
  font-size: 0.88rem;
}

.members-corner__more {
  max-width: 48rem;
  margin: clamp(2.75rem, 6vw, 5rem) auto 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1rem;
  background: var(--cjc-mist);
  text-align: center;
}

.members-corner__more > p:last-child {
  margin: 0.75rem 0 0;
  color: #52616d;
}

.members-corner__editable,
.member-directory-page__body > [data-apos-area],
.members-article-index__body > [data-apos-area] {
  margin-top: 2rem;
}

.member-maintenance {
  padding-block: clamp(0.75rem, 2.5vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 0%, rgb(11 49 93 / 7%), transparent 32rem),
    linear-gradient(180deg, #f7f7f4 0%, #fff 62%);
}

.member-maintenance__shell {
  display: grid;
  place-items: center;
}

.member-maintenance__card {
  width: min(100%, 43rem);
  padding: clamp(2rem, 5vw, 3.75rem);
  border: 1px solid rgb(11 49 93 / 13%);
  border-top: 4px solid var(--cjc-vermilion);
  border-radius: 0.8rem;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 1.25rem 3.5rem rgb(11 49 93 / 10%);
  text-align: center;
}

.member-maintenance__icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.4rem;
  border: 1px solid rgb(11 49 93 / 14%);
  border-radius: 50%;
  color: var(--cjc-indigo);
  background: #f1f5f8;
  place-items: center;
}

.member-maintenance__icon svg {
  width: 2.65rem;
  height: 2.65rem;
}

.member-maintenance__card .eyebrow {
  margin: 0 0 0.7rem;
  color: var(--cjc-vermilion);
}

.member-maintenance__card h1 {
  max-width: 35rem;
  margin: 0 auto;
  color: var(--cjc-indigo);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
}

.member-maintenance__message {
  max-width: 35rem;
  margin: 1.25rem auto 0;
  color: #40505d;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.75;
}

.member-maintenance__reassurance {
  margin: 0.8rem auto 0;
  color: #68757f;
  font-size: 0.86rem;
  line-height: 1.65;
}

.member-maintenance__actions {
  display: flex;
  margin-top: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.member-maintenance__action {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 550;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.member-maintenance__action--primary {
  color: #fff;
  background: var(--cjc-indigo);
}

.member-maintenance__action--primary:hover {
  color: #fff;
  background: #164b7f;
}

.member-maintenance__action--secondary {
  border-color: rgb(11 49 93 / 24%);
  color: var(--cjc-indigo);
  background: #fff;
}

.member-maintenance__action--secondary:hover {
  border-color: var(--cjc-indigo);
  color: #fff;
  background: var(--cjc-indigo);
}

.member-directory-privacy {
  display: flex;
  max-width: 54rem;
  margin-bottom: 1.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(47 111 143 / 20%);
  border-radius: 0.75rem;
  color: #455d6d;
  background: rgb(47 111 143 / 7%);
  font-size: 0.85rem;
  gap: 0.7rem;
  align-items: flex-start;
}

.member-directory-privacy p {
  margin: 0;
}

.member-directory-toolbar {
  display: flex;
  margin-bottom: 1.35rem;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.member-directory-search {
  width: min(100%, 25rem);
}

.member-directory-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.member-directory-search > label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cjc-indigo);
  font-size: 0.78rem;
}

.member-directory-search__field {
  position: relative;
}

.member-directory-search__field svg {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  width: 1.05rem;
  fill: none;
  stroke: #6b7882;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.member-directory-search__field input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem 0.55rem 2.45rem;
  border: 1px solid var(--cjc-border);
  border-radius: 0.55rem;
  color: var(--cjc-charcoal);
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
}

.member-directory-search__field input:focus {
  border-color: var(--cjc-lake);
  outline: 3px solid rgb(47 111 143 / 15%);
}

.member-directory-view-switch {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--cjc-border);
  border-radius: 0.65rem;
  background: #f3f5f2;
  gap: 0.15rem;
}

.member-directory-view-switch button {
  display: inline-flex;
  min-height: 2.1rem;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 0.45rem;
  color: #61717b;
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  gap: 0.35rem;
  align-items: center;
}

.member-directory-view-switch button:hover,
.member-directory-view-switch button:focus-visible {
  color: var(--cjc-indigo);
  outline: none;
}

.member-directory-view-switch button:focus-visible {
  box-shadow: 0 0 0 3px rgb(47 111 143 / 18%);
}

.member-directory-view-switch button.is-active {
  color: var(--cjc-indigo);
  background: #fff;
  box-shadow: 0 1px 4px rgb(31 48 57 / 12%);
}

.member-directory-view-switch svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.member-directory-table-wrap {
  overflow-x: auto;
  overflow-anchor: none;
  border: 1px solid var(--cjc-border);
  border-radius: 0.85rem;
  background: #fff;
}

.member-directory-table {
  width: 100%;
  border-collapse: collapse;
}

.member-directory-table th {
  padding: 0.65rem 1rem;
  color: #62717b;
  background: #f3f5f2;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.member-directory-table .member-directory-index {
  box-sizing: border-box;
  width: 2.85rem;
  min-width: 2.85rem;
  padding-right: 0.35rem;
  padding-left: 0.65rem;
  text-align: center;
}

.member-directory-table td.member-directory-index {
  border-right: 1px solid #f0f2ef;
  color: #557181;
  background: #fbfcfa;
  vertical-align: top;
}

.member-directory-index [data-directory-index-label] {
  display: inline-block;
  padding-top: 0.16rem;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.04em;
}

.member-directory-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e6e9e5;
  vertical-align: middle;
}

.member-directory-table tr[hidden],
.member-directory-no-results[hidden] {
  display: none;
}

.member-directory-table-wrap[data-directory-view="tree"] tr[data-directory-role="PRIMARY"]:not(:first-child) td {
  border-top-width: 1px;
  border-top-color: #e6e9e5;
}

.member-directory-table tr[data-directory-index-start="true"]:not(:first-child) td {
  border-top-color: #cbd6d9;
  box-shadow: inset 0 2px 0 #f7f9f7;
}

.member-directory-table-wrap .member-directory-table tr:not([data-directory-index-start="true"]) td.member-directory-index {
  border-top-color: transparent;
}

.member-directory-table-wrap[data-directory-view="tree"] tr[data-directory-role="PRIMARY"][data-has-directory-children="true"] .directory-person {
  position: relative;
}

.member-directory-table-wrap[data-directory-view="tree"] tr[data-directory-role="PRIMARY"][data-has-directory-children="true"] .directory-person::after {
  position: absolute;
  top: calc(3.1rem - 1px);
  bottom: -0.8rem;
  left: 1.55rem;
  z-index: 0;
  border-left: 1.5px solid #b7c5cd;
  content: "";
  transform: translateX(-50%);
}

.member-directory-table-wrap[data-directory-view="tree"] tr[data-directory-role="PRIMARY"][data-has-directory-children="true"] .directory-person__photo {
  position: relative;
  z-index: 1;
}

.member-directory-table-wrap[data-directory-view="tree"] tr:not([data-directory-role="PRIMARY"])[data-has-directory-primary="true"] .directory-person {
  position: relative;
  margin-left: 1.55rem;
  padding-left: 1.35rem;
}

.member-directory-table-wrap[data-directory-view="tree"] tr:not([data-directory-role="PRIMARY"])[data-has-directory-primary="true"] .directory-person::before {
  position: absolute;
  top: -0.8rem;
  bottom: -0.8rem;
  left: 0;
  border-left: 1.5px solid #b7c5cd;
  content: "";
  transform: translateX(-50%);
}

.member-directory-table-wrap[data-directory-view="tree"] tr[data-tree-last-child="true"][data-has-directory-primary="true"] .directory-person::before {
  bottom: 50%;
}

.member-directory-table-wrap[data-directory-view="tree"] tr:not([data-directory-role="PRIMARY"])[data-has-directory-primary="true"] .directory-person::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.35rem;
  border-top: 1.5px solid #b7c5cd;
  content: "";
}

.directory-person {
  display: flex;
  flex-wrap: wrap;
  min-width: 15rem;
  gap: 0.8rem;
  align-items: center;
}

.directory-person__photo {
  display: grid;
  overflow: hidden;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid #cfd6d1;
  border-radius: 50%;
  color: var(--cjc-indigo);
  background: var(--cjc-mist);
  font-size: 0.75rem;
  place-items: center;
  flex: 0 0 auto;
}

.directory-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-person__names {
  display: flex;
  min-width: 0;
  flex: 0 1 auto;
  flex-direction: column;
  line-height: 1.35;
}

.directory-person__names strong {
  color: var(--cjc-charcoal);
  font-size: 0.93rem;
  font-weight: 500;
}

.directory-name-ruby {
  ruby-align: center;
  ruby-position: over;
}

.directory-name-ruby rt {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  top: -2px;
  color: #7a858d;
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}

.directory-person__names span {
  color: #6a7780;
  font-size: 0.78rem;
}

.directory-person__role {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.3rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  color: #3e6176;
  background: rgb(47 111 143 / 9%);
  font-size: 0.65rem;
  line-height: 1.3;
  gap: 0.25rem;
  align-items: center;
}

.directory-person__role--family {
  color: #6d5726;
  background: #f5eedb;
}

.directory-person__role--spouse {
  color: #76465f;
  background: #f5e8ef;
}

.directory-person__role--child {
  color: #37634d;
  background: #e5f1e9;
}

.directory-person__role--delegate {
  color: #315e71;
  background: #e4f0f4;
}

.directory-person__role svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.directory-person__bio {
  flex-basis: 100%;
  max-width: 36rem;
  margin: 0 0 0 3.9rem;
  white-space: pre-line;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.directory-contact-links {
  display: flex;
  width: 5.5rem;
  min-width: 5.5rem;
  margin-left: 0;
  flex: 0 0 5.5rem;
  flex-wrap: nowrap;
  gap: 0.3rem;
  justify-content: flex-start;
  align-self: center;
  align-items: center;
}

.directory-contact {
  position: relative;
}

.directory-contact__trigger {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  color: #566773;
  place-items: center;
}

.directory-contact__trigger:hover,
.directory-contact__trigger:focus-visible {
  color: #fff;
  background: var(--cjc-vermilion);
  outline: none;
}

.directory-contact__trigger svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.directory-contact__trigger .directory-icon-fill {
  fill: currentColor;
  stroke: none;
}

.directory-contact-popover {
  position: fixed;
  z-index: 1200;
  display: grid;
  visibility: hidden;
  width: max-content;
  max-width: min(20rem, calc(100vw - 1.25rem));
  padding: 0.7rem 0.75rem;
  border: 1px solid #d8ded9;
  border-radius: 0.65rem;
  opacity: 0;
  color: var(--cjc-charcoal);
  background: #fff;
  box-shadow: 0 0.8rem 2.2rem rgb(28 39 43 / 18%);
  pointer-events: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.65rem;
  transition: opacity 120ms ease, visibility 120ms ease;
}

.directory-contact:hover .directory-contact-popover,
.directory-contact:focus-within .directory-contact-popover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.directory-contact-popover__label {
  color: #70808a;
  font-size: 0.64rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.directory-contact-popover__value {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  line-height: 1.4;
  grid-column: 1;
}

.directory-contact-popover__actions {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 0.2rem;
  align-items: center;
}

.directory-contact-popover__actions button,
.directory-contact-popover__actions a {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #566773;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.directory-contact-popover__actions button:hover,
.directory-contact-popover__actions button:focus-visible,
.directory-contact-popover__actions a:hover,
.directory-contact-popover__actions a:focus-visible {
  color: #fff;
  background: var(--cjc-indigo);
  outline: none;
}

.directory-contact-popover__actions svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.directory-copied-icon {
  display: none;
}

[data-directory-copy][data-copied="true"] {
  color: #fff;
  background: var(--cjc-eucalyptus);
}

[data-directory-copy][data-copied="true"] .directory-copy-icon {
  display: none;
}

[data-directory-copy][data-copied="true"] .directory-copied-icon {
  display: block;
}

.member-directory-table__since {
  width: 8rem;
  color: #5d6b74;
  font-size: 0.84rem;
}

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

@media (max-width: 800px) {
  .members-corner__pathways,
  .members-article-index .article-grid {
    grid-template-columns: 1fr;
  }

  .members-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 560px) {
  .members-corner-card {
    grid-template-columns: 1fr;
  }

  .member-directory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .member-directory-search {
    width: 100%;
  }

  .member-directory-view-switch {
    width: fit-content;
  }

  .member-directory-toolbar__controls {
    justify-content: flex-start;
  }

  .member-directory-table th:nth-child(3),
  .member-directory-table td:nth-child(3) {
    display: none;
  }

  .member-directory-table td,
  .member-directory-table th {
    padding-inline: 0.7rem;
  }

  .member-directory-table-wrap[data-directory-view="tree"] tr:not([data-directory-role="PRIMARY"])[data-has-directory-primary="true"] .directory-person {
    margin-left: 1.55rem;
    padding-left: 1.25rem;
  }
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  margin: 1rem 0 0;
  padding: 0;
  gap: 0.4rem;
  list-style: none;
}

.article-categories li {
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--cjc-border);
  border-radius: 999px;
  color: #52616d;
  font-size: 0.72rem;
}

.content--article-alert {
  margin-block: clamp(2rem, 5vw, 4rem);
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  border: 2px solid rgb(203 61 42 / 65%);
  border-radius: 1rem;
}

.person-card {
  display: flex;
  width: min(100%, 11.5rem);
  margin-inline: auto;
  padding: 0;
  flex-direction: column;
  align-self: start;
  align-items: center;
  text-align: center;
}

.person-card--bordered {
  margin-block: 0.25rem;
  padding: 0.65rem;
  border: var(--person-card-border-width, 1px) solid var(--person-card-border-color, var(--cjc-border));
  border-radius: var(--person-card-border-radius, 1rem);
}

.person-card__title {
  margin: 0.1rem 0 0;
  color: var(--cjc-vermilion);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.25;
}

.person-card__photo {
  width: clamp(5rem, 10vw, 6.25rem);
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.person-card__photo figure,
.person-card__photo picture,
.person-card__photo a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.person-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--cjc-border);
  border-radius: 50%;
  object-fit: cover;
}

.person-card__body {
  width: 100%;
  min-width: 0;
}

.person-card__names {
  margin: 0.12rem 0 0;
  line-height: 1.25;
}

.person-card__name {
  display: block;
}

.person-card__name--ja {
  color: var(--cjc-charcoal);
  font-size: 0.88rem;
  font-weight: 500;
}

.person-card__name--en {
  margin-top: 0.05rem;
  color: #697887;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.person-card__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
}

.person-card__icon-link {
  position: relative;
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  color: #697887;
  place-items: center;
  text-decoration: none;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.person-card__icon-link svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.person-card__icon-link::after {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 50%;
  z-index: 10;
  width: max-content;
  max-width: min(16rem, calc(100vw - 2rem));
  padding: 0.28rem 0.45rem;
  border-radius: 0.3rem;
  color: white;
  background: var(--cjc-charcoal);
  box-shadow: 0 0.3rem 1rem rgb(35 43 45 / 18%);
  content: attr(data-tooltip);
  font-size: 0.65rem;
  line-height: 1.25;
  opacity: 0;
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: translate(-50%, 0.2rem);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.person-card__icon-link:hover,
.person-card__icon-link:focus-visible {
  color: var(--cjc-vermilion);
  transform: translateY(-1px);
}

.person-card__icon-link:hover::after,
.person-card__icon-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.person-card--small {
  width: min(100%, 20rem);
  margin-inline: 0;
  flex-direction: row;
  gap: 0.75rem;
  align-items: center;
  text-align: left;
}

.person-card--small.person-card--bordered {
  padding: 0.6rem 0.7rem;
}

.person-card--small .person-card__photo {
  width: 3.25rem;
}

.person-card--small .person-card__title {
  margin-top: 0;
}

.person-card--small .person-card__names {
  margin-top: 0;
}

.person-card--small .person-card__links {
  justify-content: flex-start;
}

.article-byline {
  display: flex;
  margin-block: 1.25rem;
  padding-block: 0.9rem;
  border-block: 1px solid var(--cjc-border);
  gap: 1rem;
  align-items: center;
}

.article-byline__label {
  margin: 0;
  color: var(--cjc-eucalyptus);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row-layout {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  margin-block: 1rem;
  align-items: start;
}

.row-layout--one {
  grid-template-columns: minmax(0, 1fr);
  --row-layout-cluster-width: 30rem;
}

.row-layout--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  --row-layout-cluster-width: 25rem;
}

.row-layout--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  --row-layout-cluster-width: 38rem;
}

.row-layout--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  --row-layout-cluster-width: 51rem;
}

.row-layout--third-two-thirds {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  --row-layout-cluster-width: 38rem;
}

.row-layout--two-thirds-third {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  --row-layout-cluster-width: 38rem;
}

.row-layout--clustered {
  width: min(100%, var(--row-layout-cluster-width));
  margin-inline: auto;
  gap: 0.75rem;
}

.row-layout__column {
  min-width: 0;
}

.row-layout--equal-height-cards {
  align-items: stretch;
}

.row-layout--equal-height-cards .row-layout__column {
  display: flex;
  flex-direction: column;
}

.row-layout--equal-height-cards .row-layout__column > .apos-area,
.row-layout--equal-height-cards .row-layout__column > .apos-area > .apos-areas-widgets-list {
  height: 100%;
}

.row-layout--equal-height-cards .person-card {
  height: 100%;
  align-self: stretch;
}

.club-index {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.club-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.club-index-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cjc-border);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 0.75rem 2rem rgb(35 43 45 / 8%);
  flex-direction: column;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.club-index-card:hover {
  border-color: rgb(203 61 42 / 45%);
  box-shadow: 0 1rem 2.5rem rgb(35 43 45 / 13%);
  transform: translateY(-3px);
}

.club-index-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 17 / 9;
  background: #e9ece8;
}

.club-index-card__image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.club-index-card:hover .club-index-card__image-link img {
  transform: scale(1.025);
}

.club-index-card__body {
  display: flex;
  padding: 1.25rem;
  flex: 1;
  flex-direction: column;
}

.club-index-card__body h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.club-index-card__body h2 a {
  color: var(--cjc-indigo);
  text-decoration: none;
}

.club-index-card__body p {
  margin: 0.75rem 0 1rem;
  color: #52616d;
  font-size: 0.9rem;
  line-height: 1.7;
}

.club-index-card__link {
  display: inline-flex;
  margin-top: auto;
  color: var(--cjc-vermilion);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  gap: 0.4rem;
  align-self: flex-start;
  align-items: center;
  transition: color 150ms ease;
}

.club-index-card__link:hover,
.club-index-card__link:focus-visible {
  color: var(--cjc-indigo);
}

.club-index__extra {
  margin-top: 2.5rem;
}

.club-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.club-page__hero {
  overflow: hidden;
  width: calc(100% - var(--club-details-width) - var(--club-overview-gap));
  margin: 0 0 0 calc(var(--club-details-width) + var(--club-overview-gap));
  border-radius: 1rem;
  aspect-ratio: 17 / 9;
  background: #e9ece8;
  box-shadow: 0 0.75rem 2rem rgb(35 43 45 / 10%);
}

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

.club-page__content {
  --club-details-width: clamp(16rem, 34%, 22rem);
  --club-overview-gap: clamp(1.5rem, 4vw, 3rem);

  max-width: 60rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.club-alert {
  display: flex;
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e6b95d;
  border-radius: 0.8rem;
  color: #4e3d16;
  background: #fff8e8;
  gap: 0.9rem;
  align-items: flex-start;
}

.club-alert__icon {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  color: white;
  background: #b97816;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 800;
  place-items: center;
}

.club-alert h2 {
  margin: 0;
  font-size: 1rem;
}

.club-alert p {
  margin: 0.25rem 0 0;
  line-height: 1.65;
}

.club-details {
  float: left;
  width: var(--club-details-width);
  margin: 0 var(--club-overview-gap) 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid var(--cjc-border);
  border-radius: 0.9rem;
  background: #f7f8f5;
  box-sizing: border-box;
}

.club-details > h2,
.club-page__description > h2 {
  margin: 0 0 1rem;
  color: var(--cjc-indigo);
  font-size: 1.15rem;
}

.club-details dl {
  margin: 0;
}

.club-details dl > div {
  padding-block: 0.75rem;
  border-top: 1px solid var(--cjc-border);
}

.club-details dl > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.club-details dt {
  margin-bottom: 0.2rem;
  color: var(--cjc-eucalyptus);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-details dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.club-details dd span,
.club-details dd a {
  display: block;
}

.club-details dd a {
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
}

.club-details__coordinators {
  display: grid;
  gap: 0.85rem;
}

.club-details__joining {
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cjc-border);
}

.club-details__joining h3 {
  margin: 0 0 0.2rem;
  color: var(--cjc-eucalyptus);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-details__joining p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
}

.club-page__description {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  min-width: 0;
}

.club-page__description::after {
  display: block;
  clear: both;
  content: "";
}

.club-page__description p {
  line-height: 1.9;
}

.club-related-articles {
  clear: both;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--cjc-border);
}

.club-related-articles__header {
  margin-bottom: 1.25rem;
}

.club-related-articles__header h2 {
  margin: 0.35rem 0 0;
  color: var(--cjc-indigo);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

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

.related-article {
  padding: 1.15rem;
  border: 1px solid var(--cjc-border);
  border-radius: 0.8rem;
  background: white;
}

.related-article__meta {
  color: var(--cjc-eucalyptus);
  font-size: 0.72rem;
  font-weight: 700;
}

.related-article h3 {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.related-article h3 a {
  color: var(--cjc-indigo);
  text-decoration: none;
}

.related-article p {
  margin: 0.6rem 0 0;
  color: #52616d;
  font-size: 0.85rem;
  line-height: 1.65;
}

.club-page__back {
  display: inline-flex;
  margin-top: 2.5rem;
  color: var(--cjc-indigo);
  font-weight: 650;
  text-decoration: none;
  gap: 0.45rem;
  align-items: center;
}

.site-footer {
  padding-block: 1.35rem;
  color: white;
  background: var(--cjc-indigo);
}

.site-footer__inner {
  display: flex;
  gap: 0.9rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__navigation {
  display: flex;
  min-width: 0;
  gap: 0.35rem 1.15rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__navigation a {
  color: rgb(255 255 255 / 82%);
  font-size: 0.72rem;
  line-height: 1.5;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.site-footer__navigation a:hover {
  color: white;
  text-decoration-line: underline;
}

.site-footer__navigation a:focus-visible {
  color: white;
  outline: 2px solid currentcolor;
  outline-offset: 3px;
  text-decoration-line: underline;
}

.site-footer__copyright {
  display: inline-flex;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.72rem;
  line-height: 1.5;
  gap: 0.35rem;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-footer__copyright-mark {
  display: inline-flex;
  font-size: 1.7em;
  line-height: 1;
  transform: translateY(-0.01em);
}

@media (max-width: 48rem) {
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 58rem) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__content {
    max-width: 44rem;
  }

  .home-hero h1 {
    max-width: 14ch;
  }

  .home-hero__media {
    width: 100%;
    max-height: 34rem;
  }

  .home-pathways__grid,
  .home-article-grid,
  .home-featured-clubs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pathway-card:last-child,
  .home-article-card:last-child,
  .home-featured-clubs__grid .club-index-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 68rem) {
  .club-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    grid-template-areas:
      "brand account language"
      "navigation navigation navigation";
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.9rem 1rem;
    padding-block: 0.9rem;
  }

  .brand {
    grid-area: brand;
  }

  .site-nav {
    grid-area: navigation;
    justify-content: center;
  }

  .site-nav__link {
    flex: 1 1 auto;
  }

  .site-header__actions {
    grid-area: account;
    min-width: 0;
    align-items: center;
  }

  .language-switch {
    position: relative;
    top: auto;
    right: auto;
    grid-area: language;
    align-self: center;
  }
}

@media (max-width: 44rem) {
  .member-maintenance__card {
    padding-inline: 1.35rem;
  }

  .member-maintenance__actions {
    display: grid;
  }

  .member-maintenance__action {
    width: 100%;
  }

  .home-hero {
    padding-top: 2rem;
  }

  .home-hero__inner {
    gap: 2rem;
  }

  .home-hero h1 {
    font-size: clamp(1.8rem, 9.6vw, 2.6rem);
  }

  .home-hero__media {
    border-radius: 1rem;
    aspect-ratio: 4 / 3;
  }

  .home-hero__image-accent {
    right: -0.7rem;
    bottom: -0.7rem;
  }

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

  .home-section-heading {
    gap: 1rem;
  }

  .home-pathways__grid,
  .home-article-grid,
  .home-featured-clubs__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-pathway-card:last-child,
  .home-article-card:last-child,
  .home-featured-clubs__grid .club-index-card:last-child {
    grid-column: auto;
  }

  .home-newcomer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .home-newcomer h2 {
    max-width: 18ch;
  }

  .club-index__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .club-index__grid {
    gap: 1rem;
  }

  .club-related-articles__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-card__meta,
  .article-heading-meta,
  .related-article__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-page__hero {
    width: 100%;
    margin: 0;
    border-radius: 0.8rem;
  }

  .page-header__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: 0.3rem;
  }

  .page-header__inner .eyebrow {
    display: block;
    margin-bottom: 0.15rem;
    padding: 0 0 0 0.7rem;
    border-right: 0;
    border-left: 3px solid var(--cjc-vermilion);
    grid-row: auto;
  }

  .club-details {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  .club-page__description {
    margin-top: 2rem;
  }

  .row-layout,
  .row-layout--third-two-thirds,
  .row-layout--two-thirds-third {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .site-header__inner {
    width: min(calc(100% - 1rem), var(--cjc-content));
    gap: 0.75rem;
  }

  .brand__logo {
    width: 7.35rem;
  }

  .brand__identity {
    padding-left: 0.7rem;
  }

  .brand__identity strong {
    font-size: 0.78rem;
  }

  .brand__japanese {
    font-size: 0.6rem;
  }

  .brand__location {
    display: none;
  }

  .site-nav {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scroll-padding-inline: 0.35rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .site-nav__link {
    min-width: 7.5rem;
    padding-inline: 0.55rem;
    flex: 1 0 auto;
    scroll-snap-align: start;
  }

  .site-nav__primary {
    font-size: clamp(0.68rem, 3vw, 0.78rem);
  }

  .site-nav__secondary {
    font-size: 0.54rem;
  }

  .account-menu__trigger-copy {
    display: none;
  }
}

@media (max-width: 27rem) {
  .brand__identity {
    display: none;
  }
}

.event-purchase-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0b315d, #37657e);
  box-shadow: 0 18px 40px rgb(11 49 93 / 15%);
}

.event-purchase-widget h2 { margin: .3rem 0 .6rem; }
.event-purchase-widget p:not(.eyebrow) { max-width: 42rem; margin: 0; color: rgb(255 255 255 / 85%); }
.event-purchase-widget .home-button { flex: 0 0 auto; }
.event-purchase-widget__full { flex: 0 0 auto; padding: .8rem 1.1rem; border-radius: 999px; color: #0b315d; background: #fff; font-weight: 700; }

@media (max-width: 700px) {
  .event-purchase-widget { align-items: flex-start; flex-direction: column; }
}

.event-luncheon-page { color: #26333b; }
.event-luncheon-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); min-height: 34rem; overflow: hidden; color: #fff; background: #0b315d; box-shadow: 0 18px 45px rgb(11 49 93 / 16%); }
.event-luncheon-hero__content { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem max(2rem, calc((100vw - 1180px) / 2)); padding-right: 3rem; background: linear-gradient(135deg, #0b315d, #164765); }
.event-luncheon-hero h1 { max-width: 680px; margin: .5rem 0 1rem; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; }
.event-luncheon-hero__lede { max-width: 600px; margin: 0; color: rgb(255 255 255 / 90%); font-size: 1.08rem; line-height: 1.65; }
.event-luncheon-hero__image { position: relative; min-height: 22rem; background: #305469 url('/membership/assets/images/events/luncheon-table-dmitry-spravko.jpg') center / cover no-repeat; }
.event-luncheon-hero__image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 49 93 / 20%), transparent 35%); content: ''; }
.event-luncheon-page__body { padding-top: 2.5rem; padding-bottom: 4rem; }
.event-luncheon-managed-content:not(:empty) { margin: 1.75rem 0; }
.event-luncheon-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid #dce5ea; border-radius: 18px; background: #dce5ea; box-shadow: 0 12px 30px rgb(11 49 93 / 7%); }
.event-luncheon-facts > div { display: flex; min-height: 8rem; flex-direction: column; gap: .35rem; padding: 1.25rem 1.35rem; background: #fff; }
.event-luncheon-facts span { color: #657783; font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event-luncheon-facts strong { color: #0b315d; font-size: 1.08rem; }
.event-luncheon-facts small { color: #657783; }
.event-luncheon-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.event-luncheon-details > section { padding: 2rem; border: 1px solid #e1e8ec; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgb(11 49 93 / 6%); }
.event-luncheon-details h2 { margin: .25rem 0 1.2rem; color: #0b315d; }
.event-luncheon-details__list { margin: 0 0 1.25rem; }
.event-luncheon-details__list div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #e8eef1; }
.event-luncheon-details__list dt { color: #657783; font-weight: 700; }
.event-luncheon-details__list dd { margin: 0; color: #0b315d; font-weight: 700; }
.event-luncheon-map { display: inline-flex; gap: .35rem; margin-top: .5rem; color: #0b638a; font-weight: 700; }
.event-luncheon-prices ul { display: grid; gap: .7rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.event-luncheon-prices li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .65rem; border-bottom: 1px solid #e8eef1; }
.event-luncheon-prices strong { color: #0b315d; }
.event-luncheon-prices .home-button { display: inline-flex; }

@media (max-width: 700px) {
  .event-luncheon-hero { grid-template-columns: 1fr; }
  .event-luncheon-hero__content { padding: 2.5rem 1.4rem 1.8rem; }
  .event-luncheon-hero__image { min-height: 15rem; }
  .event-luncheon-facts, .event-luncheon-details { grid-template-columns: 1fr 1fr; }
  .event-luncheon-facts > div { min-height: 6.5rem; padding: 1rem; }
  .event-luncheon-details { gap: 1rem; }
  .event-luncheon-details > section { padding: 1.3rem; }
}

@media (max-width: 480px) {
  .event-luncheon-facts, .event-luncheon-details { grid-template-columns: 1fr; }
}

.events-page {
  background: linear-gradient(180deg, #f3f1ea 0, var(--cjc-paper) 26rem);
}

.events-hero {
  color: #fff;
  background: var(--cjc-indigo);
}

.events-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(24rem, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: 25rem;
}

.events-hero__copy {
  max-width: 38rem;
  padding: 2.25rem 0;
}

.events-hero h1 {
  margin: .25rem 0 .8rem;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.025em;
}

.events-hero__lede {
  margin: 0;
  color: rgb(255 255 255 / 90%);
  font-size: .98rem;
  line-height: 1.65;
  white-space: pre-line;
}

.events-hero__image {
  align-self: stretch;
  height: auto;
  overflow: hidden;
}

.events-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-page__body {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.events-calendar__toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.events-page__below-hero:not(:empty) {
  max-width: 56rem;
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--cjc-vermilion);
  color: #4f5e5a;
  background: rgb(255 255 255 / 62%);
  font-size: .92rem;
}

.events-page__below-hero > :first-child,
.events-page__below-hero p:first-child {
  margin-top: 0;
}

.events-page__below-hero > :last-child,
.events-page__below-hero p:last-child {
  margin-bottom: 0;
}

.events-calendar__toolbar h2 {
  margin: .05rem 0;
  color: var(--cjc-indigo);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.events-calendar__range {
  margin: .3rem 0 0;
  color: #65706d;
  font-size: .9rem;
}

.events-calendar__paging {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: flex-end;
}

.events-calendar__paging a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.25rem;
  padding: .35rem .72rem;
  border: 1px solid #cad3ce;
  border-radius: 999px;
  color: var(--cjc-indigo);
  background: #fff;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
}

.events-calendar__paging a:hover,
.events-calendar__paging a:focus-visible {
  border-color: var(--cjc-lake);
  box-shadow: 0 4px 12px rgb(11 49 93 / 10%);
}

.events-calendar {
  display: grid;
  gap: 1.8rem;
}

.events-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  align-items: center;
  margin: 0 0 1.35rem;
  padding: .7rem .8rem;
  border: 1px solid var(--cjc-border);
  border-radius: 12px;
  background: rgb(255 255 255 / 58%);
}

.events-filter__label {
  color: var(--cjc-indigo);
  font-size: .78rem;
  font-weight: 800;
}

.events-filter__options {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.events-filter__options button {
  padding: .28rem .58rem;
  border: 1px solid #cbd4d0;
  border-radius: 999px;
  color: #56635f;
  background: #fff;
  font: inherit;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}

.events-filter__options button:hover,
.events-filter__options button:focus-visible,
.events-filter__options button.is-active {
  border-color: var(--cjc-lake);
  color: #fff;
  background: var(--cjc-lake);
}

.events-month h3 {
  margin: 0;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--cjc-indigo);
  color: var(--cjc-indigo);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.events-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.events-list__item {
  border-bottom: 1px solid var(--cjc-border);
}

.event-row {
  display: grid;
  width: 100%;
  grid-template-columns: 3.8rem minmax(0, 1fr) auto 1rem;
  gap: clamp(.7rem, 2vw, 1.2rem);
  align-items: center;
  padding: .65rem .4rem;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.event-row:hover,
.event-row:focus-visible {
  background: rgb(255 255 255 / 78%);
  outline: 0;
  transform: translateX(.15rem);
}

.event-row--major {
  position: relative;
  margin: .22rem 0;
  border: 2px dotted #c94455;
  border-radius: 9px;
  background: linear-gradient(100deg, #fff3f2, #ffe7e7 48%, #fff3f2);
  background-size: 220% 100%;
  animation: cjc-major-event-glow 8s ease-in-out infinite;
}

.event-row--major:hover,
.event-row--major:focus-visible {
  background-color: #f9dddd;
}

@keyframes cjc-major-event-glow {
  0%, 100% { background-position: 100% 50%; border-color: #d36b77; }
  50% { background-position: 0 50%; border-color: #b82439; }
}

@media (prefers-reduced-motion: reduce) {
  .event-row--major { animation: none; }
}

.event-date {
  display: grid;
  justify-items: center;
  min-height: 3.4rem;
  padding: .25rem;
  border-radius: 10px;
  color: #fff;
  background: var(--cjc-indigo);
  box-shadow: 0 5px 12px rgb(11 49 93 / 16%);
}

.event-date strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.event-date span {
  overflow: hidden;
  max-width: 100%;
  font-size: .58rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-row__content {
  display: grid;
  min-width: 0;
  gap: .1rem;
}

.event-row__title {
  color: var(--cjc-charcoal);
  font-size: 1rem;
}

.event-row__meta {
  overflow: hidden;
  color: #66716f;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-row__badges {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  align-items: flex-end;
}

.event-dialog__badges {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  align-items: flex-start;
}

.event-kind,
.event-access {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: .18rem .44rem;
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.3;
  text-transform: uppercase;
}

.event-kind--cjc {
  color: #42675b;
  background: #e8f1ed;
}

.event-kind--club {
  color: #635d31;
  background: #f3f0d9;
}

.event-kind--interest {
  color: #92515a;
  background: #fae9eb;
}

.event-access--members {
  color: #765b86;
  background: #f3edf6;
}

.event-access--public {
  color: #5b7485;
  background: #ebf2f5;
}

.event-row__arrow {
  color: var(--cjc-lake);
  font-size: 1.05rem;
}

.events-month__empty {
  margin: 0;
  padding: .75rem .4rem;
  border-bottom: 1px solid var(--cjc-border);
  color: #727c79;
  font-size: .84rem;
  font-style: italic;
}

.event-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: min(42rem, calc(100vh - 2rem));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  color: var(--cjc-charcoal);
  background: #fff;
  box-shadow: 0 24px 70px rgb(3 20 35 / 35%);
  font-size: .88rem;
}

.event-dialog::backdrop {
  background: rgb(3 20 35 / 70%);
  backdrop-filter: blur(3px);
}

.event-dialog__close {
  position: sticky;
  z-index: 2;
  top: .55rem;
  float: right;
  width: 2rem;
  height: 2rem;
  margin: .55rem .55rem -2.55rem 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgb(11 49 93 / 90%);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.event-dialog__image {
  display: block;
  width: 100%;
  max-height: 13rem;
  object-fit: cover;
}

.event-dialog__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.event-dialog h2 {
  margin: .55rem 0 .35rem;
  color: var(--cjc-indigo);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.16;
}

.event-dialog__summary {
  margin: .35rem 0;
  color: #596461;
  font-size: .9rem;
  line-height: 1.55;
}

.event-dialog__facts {
  margin: 1rem 0;
  border-top: 1px solid var(--cjc-border);
}

.event-dialog__facts > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--cjc-border);
}

.event-dialog__facts dt {
  display: flex;
  gap: .35rem;
  align-items: flex-start;
  color: #53625e;
  font-weight: 700;
}

.event-dialog__facts dd {
  margin: 0;
}

.event-dialog__details:empty {
  display: none;
}

.event-dialog .home-button {
  display: inline-flex;
  margin-top: .6rem;
  padding: .55rem .8rem;
  font-size: .82rem;
}

.events-page__managed-content:not(:empty) {
  margin-top: 3rem;
}

@media (max-width: 820px) {
  .events-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .events-hero__copy {
    max-width: none;
  }

  .events-hero__image {
    height: min(52vw, 21rem);
  }
}

@media (max-width: 700px) {
  .events-calendar__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .events-calendar__paging {
    justify-content: flex-start;
  }

  .event-row {
    grid-template-columns: 3.5rem minmax(0, 1fr) 1rem;
    gap: .65rem;
    padding-right: .2rem;
    padding-left: .2rem;
  }

  .event-row__badges {
    grid-column: 2;
    grid-row: 2;
  }

  .event-row__arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .event-date {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 420px) {
  .events-hero__image {
    height: 14rem;
  }

  .event-row {
    grid-template-columns: 3.35rem minmax(0, 1fr);
  }

  .event-row__arrow {
    display: none;
  }

  .event-dialog__facts > div {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}
