/* Officer Formation site CSS */

/* Theme-level fixes */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .wp-block-heading,
body .wp-block-post-title,
body .wp-block-post-title a,
body .wp-block-heading a,
body .wp-block-heading mark {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body .wp-site-blocks > header.wp-block-template-part,
body .wp-site-blocks > header.wp-block-template-part > main.wp-block-group,
body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

body .wp-site-blocks > header.wp-block-template-part .wp-block-group,
body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .wp-block-group {
  background: transparent !important;
  background-color: transparent !important;
}

body .wp-site-blocks > header.wp-block-template-part p,
body .wp-site-blocks > header.wp-block-template-part mark,
body .wp-site-blocks > header.wp-block-template-part a,
body .wp-site-blocks > header.wp-block-template-part button,
body .wp-site-blocks > header.wp-block-template-part svg,
body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child p,
body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child mark,
body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child a,
body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child button,
body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child svg {
  color: #606060 !important;
  fill: #606060 !important;
}

body .wp-site-blocks > header.wp-block-template-part + main.wp-block-group,
body .wp-site-blocks > header.wp-block-template-part + main.wp-block-group > .wp-block-group {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

@media (prefers-color-scheme: dark) {
  body .wp-site-blocks > header.wp-block-template-part,
  body .wp-site-blocks > header.wp-block-template-part > main.wp-block-group,
  body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child {
    background: #282828 !important;
    background-color: #282828 !important;
  }

  body .wp-site-blocks > header.wp-block-template-part .wp-block-group,
  body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .wp-block-group {
    background: transparent !important;
    background-color: transparent !important;
  }

  body .wp-site-blocks > header.wp-block-template-part p,
  body .wp-site-blocks > header.wp-block-template-part mark,
  body .wp-site-blocks > header.wp-block-template-part a,
  body .wp-site-blocks > header.wp-block-template-part button,
  body .wp-site-blocks > header.wp-block-template-part svg,
  body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child p,
  body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child mark,
  body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child a,
  body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child button,
  body .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child svg {
    color: #f2f2f2 !important;
    fill: #f2f2f2 !important;
  }

  body .wp-site-blocks > header.wp-block-template-part + main.wp-block-group,
  body .wp-site-blocks > header.wp-block-template-part + main.wp-block-group > .wp-block-group {
    background: #282828 !important;
    background-color: #282828 !important;
  }
}

/* Homepage base */
.of-home-page {
  --of-home-bg: #ffffff;
  --of-home-ink: #101010;
  --of-home-muted: #5f625f;
  --of-home-soft: #f7f6f2;
  --of-home-soft-2: #eeeeea;
  --of-home-line: #e5e2db;
  --of-home-red: #c91f2c;
  --of-home-blue: #2f6f8f;
  --of-home-gold: #b9842c;
  --of-home-radius: 8px;
  --of-home-shadow: 0 18px 45px rgba(16, 16, 16, 0.08);
  --of-home-wrap: 1180px;
  --of-home-space-section: 96px;
  --of-home-space-section-small: 72px;
  background: var(--of-home-bg);
  color: var(--of-home-ink);
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.5;
}

.of-home-page *,
.of-home-page *::before,
.of-home-page *::after {
  box-sizing: border-box;
}

.of-home-page img {
  display: block;
  max-width: 100%;
}

.of-home-page a {
  color: inherit;
}

.of-home-wrap {
  width: min(var(--of-home-wrap), calc(100% - 40px));
  margin: 0 auto;
}

/* Homepage hero and slider */
.of-home-hero {
  padding: 24px 0 var(--of-home-space-section);
}

.of-home-hero-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 100px !important;
}

.of-home-slider {
  order: 1 !important;
  width: 100%;
  border: 1px solid var(--of-home-line);
  border-radius: var(--of-home-radius);
  background: #ffffff;
  box-shadow: var(--of-home-shadow);
  overflow: hidden;
}

.of-home-hero-copy {
  order: 2 !important;
  max-width: 980px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.of-home-slider-head {
  display: none !important;
}

.of-home-slider-viewport,
.of-home-slide {
  border-radius: var(--of-home-radius);
  overflow: hidden;
}

.of-home-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.of-home-slider-ready .of-home-slider-track {
  scrollbar-width: none;
}

.of-home-slider-ready .of-home-slider-track::-webkit-scrollbar {
  display: none;
}

.of-home-slide {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 100%;
  aspect-ratio: 2 / 1;
  background: #ffffff;
  scroll-snap-align: start;
}

.of-home-slide-image-link {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--of-home-soft);
}

.of-home-slide-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 500ms ease;
}

.of-home-slide:hover .of-home-slide-image {
  transform: scale(1.02);
}

.of-home-slide-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 32px;
  align-items: end;
  padding: 24px 30px 28px;
  background: var(--of-home-soft);
  color: #b8b6b0;
}

.of-home-slide-body .of-home-card-meta,
.of-home-slide-body .of-home-slide-title,
.of-home-slide-body .of-home-slide-text {
  grid-column: 1;
}

.of-home-slide-title {
  margin: 12px 0 0;
  font-size: 1.8rem;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: 0;
}

.of-home-slide-text {
  margin: 16px 0 0;
  color: #b8b6b0;
  font-size: 1rem;
  line-height: 1.65;
}

.of-home-page .of-home-hero .of-home-slider .of-home-slide-body,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body .of-home-card-meta,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body .of-home-slide-title,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body .of-home-slide-text,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link:link,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link:visited,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link:active,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link:hover,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link:focus,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link:focus-visible,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link::before,
.of-home-page .of-home-hero .of-home-slider .of-home-slide-body a.of-home-text-link::after {
  color: #b8b6b0 !important;
  -webkit-text-fill-color: #b8b6b0 !important;
  text-decoration-color: rgba(184, 182, 176, 0.8) !important;
}

.of-home-slider .of-home-text-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 0;
  border-bottom: 0;
  white-space: nowrap;
}

.of-home-slider .of-home-text-link::before {
  content: "Featured learning";
  color: var(--of-home-muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
}

.of-home-slider .of-home-text-link::after {
  content: "";
  width: 100%;
  border-bottom: 1px solid currentColor;
}

.of-home-slider-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-top: 1px solid var(--of-home-line);
  background: var(--of-home-soft);
}

.of-home-slider-ready .of-home-slider-controls {
  display: flex;
}

.of-home-slider-button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--of-home-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--of-home-ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
}

.of-home-slider-button:hover,
.of-home-slider-button:focus-visible {
  border-color: var(--of-home-ink);
}

.of-home-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.of-home-slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b8b6b0;
  cursor: pointer;
}

.of-home-slider-dot.of-home-is-active {
  width: 26px;
  background: var(--of-home-ink);
}

/* Homepage typography and buttons */
.of-home-section-eyebrow,
.of-home-slider-label,
.of-home-card-meta,
.of-home-pathway-label,
.of-home-footer-label {
  margin: 0;
  color: var(--of-home-muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
}

.of-home-hero-title {
  margin: 18px 0 0;
  max-width: none;
  font-size: 4.4rem;
  line-height: 0.98;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-hero-text {
  margin: 28px 0 0;
  max-width: 610px;
  color: var(--of-home-muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.of-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.of-home-actions-center {
  justify-content: center;
}

.of-home-hero-copy .of-home-actions {
  justify-content: flex-start;
}

.of-home-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--of-home-ink);
  border-radius: 999px;
  padding: 0 22px;
  color: var(--of-home-ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.of-home-btn:hover,
.of-home-btn:focus-visible {
  transform: translateY(-1px);
}

.of-home-btn-primary {
  background: var(--of-home-soft);
  border-color: var(--of-home-line);
}

.of-home-btn-primary:hover,
.of-home-btn-primary:focus-visible {
  background: var(--of-home-red);
  border-color: var(--of-home-red);
  color: #ffffff;
}

.of-home-btn-secondary {
  background: #ffffff;
  color: var(--of-home-ink);
}

.of-home-btn-secondary:hover,
.of-home-btn-secondary:focus-visible {
  background: var(--of-home-soft);
}

.of-home-page .of-home-hero-copy a.of-home-btn.of-home-btn-primary,
.of-home-page .of-home-hero-copy a.of-home-btn.of-home-btn-secondary {
  min-height: 56px !important;
  padding: 0 34px !important;
  border: 2px solid #101010 !important;
  border-radius: 999px !important;
  background: #f7f6f2 !important;
  color: #101010 !important;
  box-shadow: none !important;
}

.of-home-page .of-home-hero-copy a.of-home-btn.of-home-btn-primary:hover,
.of-home-page .of-home-hero-copy a.of-home-btn.of-home-btn-primary:focus-visible {
  background: #c91f2c !important;
  border-color: #c91f2c !important;
  color: #ffffff !important;
}

.of-home-page .of-home-hero-copy a.of-home-btn.of-home-btn-secondary:hover,
.of-home-page .of-home-hero-copy a.of-home-btn.of-home-btn-secondary:focus-visible,
.of-home-page a[href="https://officerformation.com/about/"].of-home-btn:hover,
.of-home-page a[href="https://officerformation.com/about/"].of-home-btn:focus-visible,
.of-home-page a[href="https://officerformation.com/ofs/"].of-home-btn:hover,
.of-home-page a[href="https://officerformation.com/ofs/"].of-home-btn:focus-visible {
  background: #b9842c !important;
  border-color: #b9842c !important;
  color: #ffffff !important;
}

.of-home-text-link,
.of-home-small-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 20px;
  color: var(--of-home-ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 180ms ease, border-color 180ms ease;
}

.of-home-text-link:hover,
.of-home-text-link:focus-visible,
.of-home-small-link:hover,
.of-home-small-link:focus-visible {
  color: var(--of-home-red);
}

@media (min-width: 1100px) {
  .of-home-hero-title {
    font-size: 5.1rem;
  }
}

/* Homepage sections and cards */
.of-home-section {
  padding: var(--of-home-space-section) 0;
}

.of-home-section-alt {
  background: var(--of-home-soft);
}

.of-home-section-head {
  width: min(100%, 980px);
  max-width: none;
  margin-bottom: 38px;
}

.of-home-section-head-row {
  display: flex;
  width: 100%;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.of-home-section-title,
.of-home-purpose-title,
.of-home-cta-title {
  max-width: none;
}

.of-home-section-title {
  margin: 12px 0 0;
  font-size: 2.7rem;
  line-height: 1.08;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-section-intro {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--of-home-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

#of-home-pathways-title {
  max-width: 1100px !important;
  width: 1100px;
}

#of-home-pathways-title + .of-home-section-intro {
  max-width: 820px;
}

.of-home-area-grid,
.of-home-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.of-home-area-card,
.of-home-pathway-card,
.of-home-resource-card {
  position: relative;
  border: 1px solid var(--of-home-line);
  border-radius: var(--of-home-radius);
  background: #ffffff;
  padding: 28px;
  text-decoration: none;
  overflow: hidden;
}

.of-home-area-card {
  display: flex;
  flex-direction: column;
  background: #f4f4f4 !important;
  border: 1px solid #d8d8d8 !important;
  color: #222222 !important;
}

.of-home-area-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  pointer-events: none;
}

.of-home-area-card-red::before {
  background: #d71920 !important;
}

.of-home-area-card-blue::before {
  background: #1d4f91 !important;
}

.of-home-area-card-gold::before {
  background: #f2b705 !important;
}

.of-home-area-card *,
.of-home-area-card:hover *,
.of-home-area-card:focus-within * {
  background: transparent !important;
}

.of-home-area-card h3,
.of-home-area-card p,
.of-home-area-card a {
  color: #222222 !important;
}

.of-home-area-card .of-home-area-number,
.of-home-area-card .of-home-area-text {
  color: #666666 !important;
}

.of-home-area-card .of-home-text-link {
  margin-top: auto;
  align-self: flex-start;
}

.of-home-area-number {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.of-home-area-title {
  margin: 28px 0 0;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-area-subtitle {
  margin: 12px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.of-home-area-text {
  margin: 14px 0 0;
  line-height: 1.65;
}

.of-home-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.of-home-module-card {
  border: 1px solid var(--of-home-line);
  border-radius: var(--of-home-radius);
  background: #ffffff;
  overflow: hidden;
}

.of-home-module-card a:first-child {
  display: block;
  background: var(--of-home-soft-2);
}

.of-home-module-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 450ms ease;
}

.of-home-module-card:hover .of-home-module-image {
  transform: scale(1.025);
}

.of-home-module-body {
  padding: 22px;
}

.of-home-module-title {
  margin: 10px 0 0;
  min-height: 3.1em;
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-module-text {
  margin: 12px 0 0;
  color: var(--of-home-muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.of-home-pathway-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.of-home-pathway-card:hover,
.of-home-pathway-card:focus-visible {
  transform: translateY(-2px);
  border-color: #c8c3ba;
  box-shadow: 0 16px 38px rgba(16, 16, 16, 0.07);
}

.of-home-pathway-title {
  margin: 18px 0 0;
  font-size: 1.55rem;
  line-height: 1.18;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-pathway-text {
  margin: 12px 0 0;
  color: var(--of-home-muted);
  line-height: 1.65;
}

.of-home-resource-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.of-home-resource-card {
  min-height: 230px;
}

.of-home-resource-title {
  margin: 14px 0 0;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-resource-text {
  margin: 12px 0 0;
  color: var(--of-home-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Purpose, CTA, and footer */
.of-home-purpose {
  padding: var(--of-home-space-section) 0;
  background: #ffffff;
}

.of-home-purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 70px;
  align-items: start;
}

.of-home-purpose-title {
  margin: 12px 0 0;
  font-size: 3.1rem;
  line-height: 1.07;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-purpose-copy {
  color: var(--of-home-muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.of-home-purpose-copy p {
  margin: 0 0 18px;
}

.of-home-purpose-copy em {
  color: var(--of-home-ink);
  font-style: normal;
  border-bottom: 1px solid var(--of-home-gold);
}

.of-home-cta {
  padding: var(--of-home-space-section-small) 0;
  background: #181818 !important;
  color: #ffffff !important;
  text-align: center;
}

.of-home-cta,
.of-home-cta *,
.of-home-cta .of-home-section-eyebrow,
.of-home-cta .of-home-cta-title {
  color: #ffffff !important;
  background: transparent;
  box-shadow: none;
  text-shadow: none !important;
}

.of-home-cta .of-home-section-eyebrow {
  opacity: 0.82;
}

.of-home-cta-title {
  max-width: 740px;
  margin: 14px auto 0;
  font-size: 2.6rem;
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: 0;
}

.of-home-cta .of-home-btn-primary {
  background: #ffffff !important;
  color: #181818 !important;
  border: 2px solid #ffffff !important;
}

.of-home-cta .of-home-btn-primary:hover,
.of-home-cta .of-home-btn-primary:focus-visible {
  background: #d71920 !important;
  color: #ffffff !important;
  border-color: #d71920 !important;
}

.of-home-cta .of-home-btn-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.82) !important;
}

.of-home-cta .of-home-btn-secondary:hover,
.of-home-cta .of-home-btn-secondary:focus-visible {
  background: #ffffff !important;
  color: #181818 !important;
  border-color: #ffffff !important;
}

.of-home-footer-strip {
  padding: 24px 0;
  border-top: 1px solid var(--of-home-line);
  background: #ffffff;
}

.of-home-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
}

.of-home-footer-inner a {
  color: var(--of-home-muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.of-home-footer-inner a:hover,
.of-home-footer-inner a:focus-visible {
  color: var(--of-home-ink);
  text-decoration: underline;
}

/* Contact page */
.of-contact-page {
  background: #ffffff;
}

.of-contact-hero {
  padding: 34px 0 var(--of-home-space-section-small);
}

.of-contact-hero-grid {
  display: block;
}

.of-contact-hero-title {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: 4.15rem;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0;
}

.of-contact-hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--of-home-muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.of-contact-quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
}

.of-contact-quick-card {
  border: 1px solid var(--of-home-line);
  border-radius: var(--of-home-radius);
  padding: 28px;
  background: #ffffff;
}

.of-contact-quick-card h2 {
  margin: 12px 0 0;
  font-size: 1.45rem;
  line-height: 1.18;
  font-weight: 720;
  letter-spacing: 0;
}

.of-contact-quick-card a {
  color: var(--of-home-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.of-contact-quick-card a:hover,
.of-contact-quick-card a:focus-visible {
  color: var(--of-home-red);
}

.of-contact-address-card {
  border: 1px solid var(--of-home-line);
  border-radius: var(--of-home-radius);
  padding: 28px;
  background: var(--of-home-soft);
}

.of-contact-address-card h2 {
  margin: 12px 0 0;
  font-size: 1.45rem;
  line-height: 1.18;
  font-weight: 720;
  letter-spacing: 0;
}

.of-contact-address-card address {
  margin-top: 0;
  color: var(--of-home-muted);
  font-style: normal;
  line-height: 1.7;
}

.of-contact-section {
  padding: var(--of-home-space-section) 0;
}

.of-contact-section-muted {
  background: var(--of-home-soft);
}

.of-contact-section-dark {
  background: #101010;
  color: #ffffff;
}

.of-contact-leader-section {
  padding-top: 0;
}

.of-contact-primary-team-section .of-contact-formation-grid {
  margin-top: 22px;
}

.of-contact-leader-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 36px;
  align-items: stretch;
}

.of-contact-leader-address-grid .of-contact-address-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.of-contact-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.of-contact-section-heading > div {
  max-width: 760px;
}

.of-contact-section-title {
  margin: 12px 0 0;
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: 0;
}

.of-contact-section-intro {
  margin: 14px 0 0;
  color: var(--of-home-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.of-contact-section-dark .of-home-section-eyebrow,
.of-contact-section-dark .of-contact-section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.of-contact-dept-mail,
.of-contact-mail {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  color: var(--of-home-ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
  border-bottom: 1px solid currentColor;
  transition: color 180ms ease, border-color 180ms ease;
}

.of-contact-dept-mail:hover,
.of-contact-dept-mail:focus-visible,
.of-contact-mail:hover,
.of-contact-mail:focus-visible {
  color: var(--of-home-red);
}

.of-contact-mail {
  display: inline;
  width: auto;
}

.of-contact-dept-mail {
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--of-home-line);
  border-radius: 999px;
  background: #ffffff;
}

.of-contact-section-dark .of-contact-dept-mail {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.of-contact-section-dark .of-contact-dept-mail:hover,
.of-contact-section-dark .of-contact-dept-mail:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #101010;
}

.of-contact-leader-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  border: 1px solid var(--of-home-line);
  border-radius: var(--of-home-radius);
  background: #ffffff;
  box-shadow: var(--of-home-shadow);
  overflow: hidden;
}

.of-contact-leader-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  background: var(--of-home-soft-2);
}

.of-contact-leader-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.of-contact-name {
  margin: 12px 0 0;
  font-size: 2.15rem;
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: 0;
}

.of-contact-role {
  margin: 10px 0 0;
  color: var(--of-home-muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.of-contact-copy {
  margin: 18px 0 0;
  color: var(--of-home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.of-contact-leader-body .of-contact-mail {
  margin-top: 28px;
}

.of-contact-people-grid,
.of-contact-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.of-contact-person-card,
.of-contact-dark-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: var(--of-home-radius);
  overflow: hidden;
}

.of-contact-person-card {
  border: 1px solid var(--of-home-line);
  background: #ffffff;
}

.of-contact-formation-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.of-contact-person-image,
.of-contact-dark-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--of-home-soft-2);
}

.of-contact-person-image-square {
  aspect-ratio: 1 / 1;
}

.of-contact-person-body,
.of-contact-dark-body {
  display: flex;
  min-height: 220px;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.of-contact-person-body .of-contact-mail,
.of-contact-dark-body .of-contact-mail {
  margin-top: auto;
  padding-top: 22px;
}

.of-contact-card-name {
  margin: 8px 0 0;
  font-size: 1.35rem;
  line-height: 1.16;
  font-weight: 720;
  letter-spacing: 0;
}

.of-contact-card-role {
  margin: 9px 0 0;
  color: var(--of-home-muted);
  line-height: 1.5;
}

.of-contact-admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  margin-top: 22px;
  border-radius: var(--of-home-radius);
  background: #1d4f91;
  color: #ffffff;
  overflow: hidden;
}

.of-contact-admin-body {
  padding: 34px;
}

.of-contact-admin-body .of-home-section-eyebrow,
.of-contact-admin-body .of-contact-card-role {
  color: rgba(255, 255, 255, 0.72);
}

.of-contact-admin-body .of-contact-mail {
  margin-top: 24px;
  color: #ffffff;
}

.of-contact-admin-body .of-contact-mail:hover,
.of-contact-admin-body .of-contact-mail:focus-visible {
  color: #f2b705;
}

.of-contact-admin-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #173f73;
}

.of-contact-admin-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.of-contact-admin-person-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  border-radius: var(--of-home-radius);
  background: #1d4f91;
  color: #ffffff;
  overflow: hidden;
}

.of-contact-admin-person-body {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 30px;
}

.of-contact-admin-person-body .of-home-section-eyebrow,
.of-contact-admin-person-body .of-contact-card-role {
  color: rgba(255, 255, 255, 0.72);
}

.of-contact-admin-person-body .of-contact-mail {
  margin-top: auto;
  padding-top: 22px;
  color: #ffffff;
}

.of-contact-admin-person-body .of-contact-mail:hover,
.of-contact-admin-person-body .of-contact-mail:focus-visible {
  color: #f2b705;
}

.of-contact-admin-person-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #173f73;
}

.of-contact-rhiannon-banner {
  margin-top: 22px;
}

.of-contact-dept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.of-contact-dept-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  border: 1px solid var(--of-home-line);
  border-radius: var(--of-home-radius);
  background: #ffffff;
  overflow: hidden;
}

.of-contact-dept-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  background: var(--of-home-soft-2);
}

.of-contact-dept-body {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 26px;
}

.of-contact-dept-body .of-contact-mail {
  margin-top: auto;
  padding-top: 22px;
}

.of-contact-dark-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #181818;
}

.of-contact-dark-body .of-home-section-eyebrow,
.of-contact-dark-body .of-contact-card-role {
  color: rgba(255, 255, 255, 0.68);
}

.of-contact-dark-body .of-contact-mail {
  color: #ffffff;
}

.of-contact-dark-body .of-contact-mail:hover,
.of-contact-dark-body .of-contact-mail:focus-visible {
  color: #f2b705;
}

/* Compact menu and search */
.of-home-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.of-home-compact-menu,
.of-home-compact-menu-details {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.of-home-compact-menu-details summary {
  list-style: none;
}

.of-home-compact-menu-details summary::-webkit-details-marker {
  display: none;
}

.of-home-compact-menu-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  padding: 0;
}

.of-home-menu-line {
  width: 24px;
  height: 2px;
  background: currentColor;
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}

.of-home-menu-label,
.of-home-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.of-home-compact-menu-details[open] .of-home-menu-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.of-home-compact-menu-details[open] .of-home-menu-line:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.of-home-compact-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0 !important;
  left: auto !important;
  width: min(260px, calc(100vw - 32px));
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid #2a2d2d;
  border-radius: 8px;
  background: #101414;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(-8px);
  transform-origin: top right;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 100;
}

.of-home-compact-menu-details[open] .of-home-compact-menu-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.of-home-compact-menu-panel a {
  display: block;
  border-radius: 6px;
  padding: 12px 13px;
  color: #f4f4f1;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: right;
  text-decoration: none;
}

.of-home-compact-menu-panel a:hover,
.of-home-compact-menu-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.of-home-search-form {
  display: flex;
  align-items: center;
}

.of-home-search-input {
  width: 260px;
  min-height: 42px;
  border: 1px solid var(--of-home-line, #d8d8d8);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--of-home-card, #ffffff);
  color: var(--of-home-ink, #181818);
  font: inherit;
}

.of-home-search-input::placeholder {
  color: var(--of-home-muted, #6f6f6f);
}

@media (prefers-color-scheme: dark) {
  .of-home-search-input {
    background: #282828;
    color: #ffffff;
    border-color: #555555;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .of-home-page {
    --of-home-space-section: 78px;
  }

  .of-home-purpose-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .of-home-area-grid,
  .of-home-module-grid,
  .of-home-pathway-grid,
  .of-home-resource-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .of-home-section-head,
  .of-home-section-head-row {
    width: 100%;
  }

  .of-home-section-head-row {
    display: block;
  }

  .of-contact-hero-grid,
  .of-contact-quick-grid,
  .of-contact-leader-address-grid,
  .of-contact-leader-card,
  .of-contact-admin-card {
    grid-template-columns: 1fr;
  }

  .of-contact-section-heading {
    display: block;
  }

  .of-contact-section-heading .of-contact-dept-mail {
    margin-top: 22px;
  }

  .of-contact-people-grid,
  .of-contact-dark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .of-contact-admin-image {
    min-height: 320px;
  }

  .of-contact-dept-card,
  .of-contact-admin-person-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .of-home-slide-body {
    display: block;
  }

  .of-home-slider .of-home-text-link {
    margin-top: 18px;
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .of-home-wrap {
    width: min(100% - 28px, var(--of-home-wrap));
  }

  .of-home-hero {
    padding-top: 16px;
  }

  .of-home-hero-title {
    font-size: 2.75rem;
    line-height: 1.03;
  }

  .of-home-hero-text,
  .of-home-section-intro,
  .of-home-purpose-copy {
    font-size: 1rem;
  }

  .of-home-section-title,
  .of-home-purpose-title,
  .of-home-cta-title {
    font-size: 2.05rem;
    line-height: 1.12;
  }

  .of-home-actions,
  .of-home-actions-center {
    display: grid;
    grid-template-columns: 1fr;
  }

  .of-home-btn {
    width: 100%;
  }

  .of-home-slide {
    aspect-ratio: auto;
  }

  .of-home-slide-image-link,
  .of-home-slide-image {
    min-height: 230px;
  }

  .of-home-slide-body {
    padding: 22px;
  }

  .of-home-slide-title {
    font-size: 1.45rem;
  }

  .of-home-area-grid,
  .of-home-module-grid,
  .of-home-pathway-grid,
  .of-home-resource-list {
    grid-template-columns: 1fr;
  }

  .of-home-module-title {
    min-height: 0;
  }

  .of-home-slider-controls {
    padding: 14px;
  }

  .of-home-search-input {
    width: 180px;
  }

  .of-contact-hero {
    padding-top: 18px;
  }

  .of-contact-hero-title {
    font-size: 2.75rem;
    line-height: 1.04;
  }

  .of-contact-section-title {
    font-size: 2rem;
    line-height: 1.12;
  }

  .of-contact-leader-body,
  .of-contact-admin-body {
    padding: 26px;
  }

  .of-contact-leader-image {
    min-height: 320px;
  }

  .of-contact-people-grid,
  .of-contact-dark-grid,
  .of-contact-dept-grid {
    grid-template-columns: 1fr;
  }

  .of-contact-formation-grid {
    grid-template-columns: 1fr !important;
  }

  .of-contact-person-body,
  .of-contact-dark-body,
  .of-contact-dept-body {
    min-height: 0;
  }

  .of-contact-dept-image {
    min-height: 240px;
  }

  .of-contact-admin-person-body,
  .of-contact-admin-person-image {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .of-home-page *,
  .of-home-page *::before,
  .of-home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.page-id-5685 .of-handbook {
  --of-handbook-bg: #ffffff;
  --of-handbook-ink: #101010;
  --of-handbook-muted: #5f625f;
  --of-handbook-soft: #f7f6f2;
  --of-handbook-card: #f4f4f4;
  --of-handbook-line: #e5e2db;
  --of-handbook-red: #c91f2c;
  --of-handbook-blue: #2f6f8f;
  --of-handbook-gold: #b9842c;
  --of-handbook-sage: #66745f;
  --of-handbook-radius: 8px;
  --of-handbook-shadow: 0 18px 45px rgba(16, 16, 16, 0.08);
  --of-handbook-wrap: 1180px;
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: var(--of-handbook-bg) !important;
  color: var(--of-handbook-ink) !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
}

.page-id-5685 .of-handbook *,
.page-id-5685 .of-handbook *::before,
.page-id-5685 .of-handbook *::after {
  box-sizing: border-box !important;
}

.page-id-5685 .of-handbook-wrap {
  width: min(var(--of-handbook-wrap), calc(100% - 40px)) !important;
  max-width: var(--of-handbook-wrap) !important;
  margin: 0 auto !important;
}

.page-id-5685 .of-handbook-hero {
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 72px 0 84px !important;
  text-align: center !important;
}

.page-id-5685 .of-handbook-eyebrow,
.page-id-5685 .of-handbook-card-meta,
.page-id-5685 .of-handbook-card-number {
  display: block !important;
  margin: 0 !important;
  color: var(--of-handbook-muted) !important;
  -webkit-text-fill-color: var(--of-handbook-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

.page-id-5685 .of-handbook-title {
  margin: 18px 0 0 !important;
  color: var(--of-handbook-ink) !important;
  -webkit-text-fill-color: var(--of-handbook-ink) !important;
  font-size: clamp(3rem, 7vw, 5.1rem) !important;
  line-height: 0.98 !important;
  font-weight: 720 !important;
  text-decoration: none !important;
}

.page-id-5685 .of-handbook-intro,
.page-id-5685 .of-handbook-section-intro {
  margin: 24px auto 0 !important;
  max-width: 720px !important;
  color: var(--of-handbook-muted) !important;
  -webkit-text-fill-color: var(--of-handbook-muted) !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
  text-decoration: none !important;
}

.page-id-5685 .of-handbook-search {
  display: flex !important;
  width: min(100%, 720px) !important;
  margin: 36px auto 0 !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-id-5685 .of-handbook-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-id-5685 .of-handbook-search-input {
  width: 100% !important;
  min-height: 54px !important;
  border: 1px solid var(--of-handbook-line) !important;
  border-radius: 999px !important;
  padding: 0 22px !important;
  background: #ffffff !important;
  color: var(--of-handbook-ink) !important;
  font: inherit !important;
  font-size: 1rem !important;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.06) !important;
}

.page-id-5685 .of-handbook-search-button {
  min-height: 54px !important;
  border: 1px solid var(--of-handbook-ink) !important;
  border-radius: 999px !important;
  padding: 0 22px !important;
  background: var(--of-handbook-ink) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font: inherit !important;
  font-weight: 650 !important;
  cursor: pointer !important;
}

.page-id-5685 .of-handbook-section {
  display: block !important;
  padding: 0 !important;
}

.page-id-5685 .of-handbook-section-alt {
  background: var(--of-handbook-soft) !important;
}

.page-id-5685 .of-handbook-section-head {
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 86px 0 !important;
  background: #ffffff !important;
}

.page-id-5685 .of-handbook-section-head-inner {
  width: min(var(--of-handbook-wrap), calc(100% - 40px)) !important;
  max-width: 780px !important;
  margin: 0 auto !important;
}

.page-id-5685 .of-handbook-section-title {
  margin: 12px 0 0 !important;
  color: var(--of-handbook-ink) !important;
  -webkit-text-fill-color: var(--of-handbook-ink) !important;
  font-size: clamp(2rem, 4vw, 2.7rem) !important;
  line-height: 1.08 !important;
  font-weight: 720 !important;
  text-decoration: none !important;
}

.page-id-5685 .of-handbook-section-head .of-handbook-eyebrow {
  color: var(--of-handbook-muted) !important;
  -webkit-text-fill-color: var(--of-handbook-muted) !important;
}

.page-id-5685 .of-handbook-section-head .of-handbook-section-intro {
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: var(--of-handbook-muted) !important;
  -webkit-text-fill-color: var(--of-handbook-muted) !important;
}

.page-id-5685 .of-handbook-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-id-5685 .of-handbook-band {
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
}

.page-id-5685 .of-handbook-band-inner {
  width: min(var(--of-handbook-wrap), calc(100% - 40px)) !important;
  max-width: var(--of-handbook-wrap) !important;
  margin: 0 auto !important;
}

.page-id-5685 .of-handbook-band-white {
  background: #ffffff !important;
}

.page-id-5685 .of-handbook-band-black {
  background: #101010 !important;
}

.page-id-5685 .of-handbook-band-formation {
  padding: 72px 0 92px !important;
}

.page-id-5685 .of-handbook-band-placements {
  margin-top: 50px !important;
  padding: 72px 0 86px !important;
}

.page-id-5685 .of-handbook-band-ito {
  padding: 72px 0 92px !important;
}

.page-id-5685 .of-handbook-band-heading {
  margin: 0 0 38px !important;
}

.page-id-5685 .of-handbook-band-heading h2 {
  max-width: 980px !important;
  margin: 0 !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  font-weight: 720 !important;
  line-height: 1.04 !important;
  text-decoration: none !important;
}

.page-id-5685 .of-handbook-band-white .of-handbook-band-heading h2 {
  color: var(--of-handbook-ink) !important;
  -webkit-text-fill-color: var(--of-handbook-ink) !important;
}

.page-id-5685 .of-handbook-band-black .of-handbook-band-heading h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.page-id-5685 .of-handbook-band-heading-formation h2 {
  font-size: clamp(2.52rem, 5.4vw, 4.6rem) !important;
}

.page-id-5685 a.of-handbook-card,
.page-id-5685 a.of-handbook-card:link,
.page-id-5685 a.of-handbook-card:visited {
  position: relative !important;
  display: flex !important;
  min-height: 250px !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: var(--of-handbook-radius) !important;
  background: var(--of-handbook-card) !important;
  padding: 28px 28px 26px !important;
  color: #222222 !important;
  -webkit-text-fill-color: #222222 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

.page-id-5685 a.of-handbook-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 8px !important;
  background: var(--of-handbook-red) !important;
}

.page-id-5685 a.of-handbook-card-blue::after {
  background: var(--of-handbook-blue) !important;
}

.page-id-5685 a.of-handbook-card-gold::after {
  background: var(--of-handbook-gold) !important;
}

.page-id-5685 a.of-handbook-card-sage::after {
  background: var(--of-handbook-sage) !important;
}

.page-id-5685 a.of-handbook-card:hover,
.page-id-5685 a.of-handbook-card:focus-visible {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14) !important;
}

.page-id-5685 .of-handbook-card h3 {
  margin: 22px 0 0 !important;
  color: #222222 !important;
  -webkit-text-fill-color: #222222 !important;
  font-size: 1.55rem !important;
  line-height: 1.12 !important;
  font-weight: 720 !important;
  text-decoration: none !important;
}

.page-id-5685 .of-handbook-card p {
  margin: 14px 0 0 !important;
  color: #5f625f !important;
  -webkit-text-fill-color: #5f625f !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  text-decoration: none !important;
}

.page-id-5685 .of-handbook-card-link {
  display: inline-block !important;
  margin-top: auto !important;
  padding-top: 24px !important;
  color: #222222 !important;
  -webkit-text-fill-color: #222222 !important;
  font-size: 0.92rem !important;
  font-weight: 720 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

@media (max-width: 980px) {
  .page-id-5685 .of-handbook-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .page-id-5685 .of-handbook-wrap {
    width: min(100% - 28px, var(--of-handbook-wrap)) !important;
  }

  .page-id-5685 .of-handbook-card-grid {
    grid-template-columns: 1fr !important;
  }

  .page-id-5685 .of-handbook-search {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

.page-id-5685 header.wp-block-template-part .wp-block-search__button,
.page-id-5685 header.wp-block-template-part .wp-block-search__button:hover,
.page-id-5685 header.wp-block-template-part .wp-block-search__button:focus,
.page-id-5685 header.wp-block-template-part .wp-block-search__button:active {
  background: rgba(255, 255, 255, 0) !important;
  background-color: rgba(255, 255, 255, 0) !important;
  border-color: rgba(255, 255, 255, 0) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.page-id-5685 header.wp-block-template-part .wp-block-search__button svg,
.page-id-5685 header.wp-block-template-part .wp-block-search__button svg path {
  fill: #ffffff !important;
  color: #ffffff !important;
}
.of-relocation-checklists {
  --of-ink: #242424;
  --of-muted: #5f5f5f;
  --of-line: #ded8cc;
  --of-soft: #f7f3ec;
  --of-panel: #ffffff;
  --of-red: #b7372f;
  --of-gold: #d8b44d;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--of-ink);
  font-family: inherit;
}

.of-relocation-checklists * {
  box-sizing: border-box;
}

.of-relocation-hero {
  margin: 0 0 28px;
  padding: clamp(28px, 5vw, 56px);
  color: #ffffff;
  background: #242424;
  border-radius: 8px;
}

.of-relocation-eyebrow {
  margin: 0 0 12px;
  color: var(--of-gold);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.of-relocation-hero h2,
.of-relocation-card h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.of-relocation-hero h2 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.of-relocation-notes {
  display: grid;
  gap: 8px;
  max-width: 860px;
  margin-top: 24px;
}

.of-relocation-notes p,
.of-relocation-footnote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.of-relocation-notes p {
  color: rgba(255, 255, 255, 0.82);
}

.of-relocation-card {
  margin: 0 0 28px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--of-panel);
  border: 1px solid var(--of-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(36, 36, 36, 0.06);
}

.of-relocation-card h3 {
  margin-bottom: 18px;
  color: var(--of-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.of-relocation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.of-relocation-grid .of-relocation-card {
  margin-bottom: 28px;
}

.of-relocation-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--of-line);
  border-radius: 8px;
  background: #ffffff;
}

.of-relocation-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.45;
}

.of-relocation-table th {
  padding: 14px 14px;
  color: #ffffff;
  background: var(--of-red);
  border-bottom: 1px solid var(--of-red);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.of-relocation-table td {
  padding: 13px 14px;
  vertical-align: top;
  border-bottom: 1px solid #ece7dd;
}

.of-relocation-table tbody tr:nth-child(even) td {
  background: var(--of-soft);
}

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

.of-relocation-table td:nth-child(1),
.of-relocation-table th:nth-child(1) {
  width: 72px;
  text-align: center;
}

.of-relocation-table td:nth-child(2),
.of-relocation-table th:nth-child(2) {
  width: 175px;
}

.of-relocation-table td:nth-child(4),
.of-relocation-table th:nth-child(4),
.of-relocation-table td:nth-child(5),
.of-relocation-table th:nth-child(5) {
  width: 110px;
}

.of-check-cell {
  color: var(--of-red);
  font-size: 1.15rem;
  line-height: 1;
}

.of-relocation-table-compact {
  min-width: 520px;
}

.of-relocation-table-compact td:nth-child(1),
.of-relocation-table-compact th:nth-child(1) {
  width: 70px;
}

.of-relocation-table-compact td:nth-child(2),
.of-relocation-table-compact th:nth-child(2) {
  width: auto;
}

.of-relocation-table-compact td:nth-child(3),
.of-relocation-table-compact th:nth-child(3) {
  width: 150px;
}

.of-relocation-table-paired {
  min-width: 720px;
}

.of-relocation-table-paired td:nth-child(1),
.of-relocation-table-paired th:nth-child(1),
.of-relocation-table-paired td:nth-child(3),
.of-relocation-table-paired th:nth-child(3) {
  width: 39%;
  text-align: left;
}

.of-relocation-table-paired td:nth-child(2),
.of-relocation-table-paired th:nth-child(2),
.of-relocation-table-paired td:nth-child(4),
.of-relocation-table-paired th:nth-child(4) {
  width: 11%;
  text-align: center;
}

.of-relocation-table-leaves {
  min-width: 620px;
}

.of-relocation-table-leaves td:nth-child(1) {
  width: 76px;
  text-align: center;
}

.of-relocation-footnote {
  margin-top: 14px;
  color: var(--of-muted);
}

@media (max-width: 900px) {
  .of-relocation-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .of-relocation-table {
    min-width: 680px;
  }

  .of-relocation-table-compact {
    min-width: 520px;
  }
}

@media (max-width: 700px) {
  .of-relocation-hero {
    padding: 28px 20px;
  }

  .of-relocation-card {
    padding: 18px 14px;
  }

  .of-relocation-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .of-relocation-table,
  .of-relocation-table thead,
  .of-relocation-table tbody,
  .of-relocation-table tr,
  .of-relocation-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .of-relocation-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .of-relocation-table tbody tr {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid var(--of-line);
    border-radius: 8px;
    background: #ffffff;
  }

  .of-relocation-table tbody tr:nth-child(even) td {
    background: transparent;
  }

  .of-relocation-table td {
    display: grid;
    grid-template-columns: minmax(86px, 34%) 1fr;
    gap: 10px;
    padding: 7px 0;
    border: 0;
    text-align: left;
  }

  .of-relocation-table td::before {
    content: attr(data-label);
    color: var(--of-muted);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .of-relocation-table td:empty {
    display: none;
  }

  .of-relocation-table td:nth-child(n) {
    width: auto;
    text-align: left;
  }

  .of-check-cell {
    font-size: 1.25rem;
  }

  .of-relocation-table-leaves td:nth-child(1) {
    width: auto;
    text-align: left;
  }
}
.of-key-expectations {
  --of-ink: #242424;
  --of-muted: #66615b;
  --of-line: #ded8cc;
  --of-soft: #f7f3ec;
  --of-panel: #ffffff;
  --of-red: #b7372f;
  max-width: 980px;
  margin: 0 auto;
  color: var(--of-ink);
  font-family: inherit;
}

.of-key-expectations * {
  box-sizing: border-box;
}

.of-key-hero {
  margin: 0 0 25px;
  padding: clamp(26px, 4vw, 44px);
  background: #ffffff;
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-key-hero h2 {
  margin: 0 0 14px;
  color: var(--of-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.of-key-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--of-ink);
  font-size: 1.12rem;
  line-height: 1.55;
}

.of-key-hero .of-key-source {
  margin-top: 10px;
  color: var(--of-muted);
  font-size: 0.98rem;
}

.of-key-section {
  margin: 0 0 25px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--of-panel);
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-key-section h3 {
  margin: 0 0 14px;
  color: var(--of-ink);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.of-key-section h4 {
  margin: 22px 0 10px;
  color: var(--of-red);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.of-key-section h4:first-child {
  margin-top: 0;
}

.of-key-section p,
.of-key-section li {
  color: var(--of-ink);
  font-size: 1.02rem;
  line-height: 1.65;
}

.of-key-section p {
  margin: 0 0 12px;
}

.of-key-section p:last-child {
  margin-bottom: 0;
}

.of-key-section ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

.of-key-section li + li {
  margin-top: 7px;
}

.of-key-note {
  margin-top: 14px;
  color: var(--of-muted);
  font-size: 0.98rem;
}

.of-key-process {
  display: grid;
  gap: 18px;
}

.of-key-process article {
  padding: 18px;
  background: var(--of-soft);
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-key-process h4 {
  margin-top: 0;
}

.of-key-callout {
  margin-top: 18px !important;
  padding: 16px 18px;
  color: #ffffff !important;
  background: #242424;
  border-radius: 8px;
}

.of-key-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--of-line);
  border-radius: 8px;
  background: #ffffff;
}

.of-key-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.of-key-table td {
  padding: 14px 16px;
  color: var(--of-ink);
  border-bottom: 1px solid #ece7dd;
  font-size: 1rem;
  line-height: 1.45;
  vertical-align: top;
}

.of-key-table tr:nth-child(even) td {
  background: var(--of-soft);
}

.of-key-table tr:last-child td {
  border-bottom: 0;
}

.of-key-table td:last-child {
  width: 220px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .of-key-hero,
  .of-key-section {
    padding: 20px 16px;
  }

  .of-key-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .of-key-table,
  .of-key-table tbody,
  .of-key-table tr,
  .of-key-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .of-key-table tr {
    margin: 0 0 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--of-line);
    border-radius: 8px;
  }

  .of-key-table tr:nth-child(even) td {
    background: transparent;
  }

  .of-key-table td {
    display: grid;
    grid-template-columns: minmax(86px, 34%) 1fr;
    gap: 10px;
    padding: 6px 0;
    border: 0;
  }

  .of-key-table td::before {
    content: attr(data-label);
    color: var(--of-muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .of-key-table td:last-child {
    width: auto;
  }
}.of-key-dates {
  --of-ink: #242424;
  --of-muted: #66615b;
  --of-line: #ded8cc;
  --of-soft: #f7f3ec;
  --of-panel: #ffffff;
  --of-red: #b7372f;
  max-width: 980px;
  margin: 0 auto;
  color: var(--of-ink);
  font-family: inherit;
}

.of-key-dates * {
  box-sizing: border-box;
}

.of-key-dates-hero {
  margin: 0 0 25px;
  padding: clamp(26px, 4vw, 44px);
  background: #ffffff;
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-key-dates-hero h2 {
  margin: 0 0 18px;
  color: var(--of-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.of-key-dates-hero p {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--of-ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.of-key-dates-hero p:last-child {
  margin-bottom: 0;
}

.of-key-dates-section {
  margin: 0 0 25px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--of-panel);
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-key-dates-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--of-line);
  border-radius: 8px;
  background: #ffffff;
}

.of-key-dates-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}

.of-key-dates-table th {
  padding: 15px 16px;
  color: #ffffff;
  background: var(--of-red);
  border-bottom: 1px solid var(--of-red);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.of-key-dates-table td {
  padding: 14px 16px;
  color: var(--of-ink);
  border-bottom: 1px solid #ece7dd;
  vertical-align: top;
}

.of-key-dates-table tbody tr:nth-child(even) td {
  background: var(--of-soft);
}

.of-key-dates-table tbody tr:last-child td {
  border-bottom: 0;
}

.of-key-dates-table td:first-child,
.of-key-dates-table th:first-child {
  width: 285px;
  font-weight: 700;
}

.of-key-dates-note {
  margin: 16px 0 0;
  color: var(--of-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .of-key-dates-hero,
  .of-key-dates-section {
    padding: 20px 16px;
  }

  .of-key-dates-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .of-key-dates-table,
  .of-key-dates-table thead,
  .of-key-dates-table tbody,
  .of-key-dates-table tr,
  .of-key-dates-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .of-key-dates-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .of-key-dates-table tbody tr {
    margin: 0 0 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--of-line);
    border-radius: 8px;
  }

  .of-key-dates-table tbody tr:nth-child(even) td {
    background: transparent;
  }

  .of-key-dates-table td {
    display: grid;
    grid-template-columns: minmax(76px, 28%) 1fr;
    gap: 10px;
    padding: 6px 0;
    border: 0;
  }

  .of-key-dates-table td::before {
    content: attr(data-label);
    color: var(--of-muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .of-key-dates-table td:first-child {
    width: auto;
  }

  .of-key-dates-table td:empty {
    display: none;
  }
}
.of-key-dates {
  --of-ink: #242424;
  --of-muted: #66615b;
  --of-line: #ded8cc;
  --of-soft: #f7f3ec;
  --of-panel: #ffffff;
  --of-red: #b7372f;
  max-width: 980px;
  margin: 0 auto;
  color: var(--of-ink);
  font-family: inherit;
}

.of-key-dates * {
  box-sizing: border-box;
}

.of-key-dates-hero {
  margin: 0 0 25px;
  padding: clamp(26px, 4vw, 44px);
  background: #ffffff;
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-key-dates-hero h2 {
  margin: 0 0 18px;
  color: var(--of-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.of-key-dates-hero p {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--of-ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.of-key-dates-hero p:last-child {
  margin-bottom: 0;
}

.of-key-dates-section {
  margin: 0 0 25px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--of-panel);
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-key-dates-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--of-line);
  border-radius: 8px;
  background: #ffffff;
}

.of-key-dates-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}

.of-key-dates-table th {
  padding: 15px 16px;
  color: #ffffff;
  background: var(--of-red);
  border-bottom: 1px solid var(--of-red);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.of-key-dates-table td {
  padding: 14px 16px;
  color: var(--of-ink);
  border-bottom: 1px solid #ece7dd;
  vertical-align: top;
}

.of-key-dates-table tbody tr:nth-child(even) td {
  background: var(--of-soft);
}

.of-key-dates-table tbody tr:last-child td {
  border-bottom: 0;
}

.of-key-dates-table td:first-child,
.of-key-dates-table th:first-child {
  width: 285px;
  font-weight: 700;
}

.of-key-dates-note {
  margin: 16px 0 0;
  color: var(--of-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .of-key-dates-hero,
  .of-key-dates-section {
    padding: 20px 16px;
  }

  .of-key-dates-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .of-key-dates-table,
  .of-key-dates-table thead,
  .of-key-dates-table tbody,
  .of-key-dates-table tr,
  .of-key-dates-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .of-key-dates-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .of-key-dates-table tbody tr {
    margin: 0 0 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--of-line);
    border-radius: 8px;
  }

  .of-key-dates-table tbody tr:nth-child(even) td {
    background: transparent;
  }

  .of-key-dates-table td {
    display: grid;
    grid-template-columns: minmax(76px, 28%) 1fr;
    gap: 10px;
    padding: 6px 0;
    border: 0;
  }

  .of-key-dates-table td::before {
    content: attr(data-label);
    color: var(--of-muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .of-key-dates-table td:first-child {
    width: auto;
  }

  .of-key-dates-table td:empty {
    display: none;
  }
}.of-lpo-handbook {
  --of-ink: #242424;
  --of-muted: #66615b;
  --of-line: #ded8cc;
  --of-soft: #f7f3ec;
  --of-panel: #ffffff;
  --of-red: #b7372f;
  --of-gold: #d8b44d;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--of-ink);
  font-family: inherit;
}

.of-lpo-handbook * {
  box-sizing: border-box;
}

.of-lpo-hero {
  margin: 0 0 25px;
  padding: clamp(28px, 5vw, 56px);
  color: #ffffff;
  background: #242424;
  border-radius: 8px;
}

.of-lpo-eyebrow {
  margin: 0 0 10px;
  color: var(--of-gold);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.of-lpo-hero h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.of-lpo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 42px);
  max-width: 920px;
}

.of-lpo-hero p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.55;
}

.of-lpo-hero strong {
  color: #ffffff;
}

.of-lpo-tagline {
  margin-top: 34px !important;
  color: #ffffff !important;
  font-size: clamp(1.35rem, 3vw, 2.15rem) !important;
  font-weight: 700;
  line-height: 1.2 !important;
}

.of-lpo-subtagline {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.1rem !important;
}

.of-lpo-stream {
  margin-top: 28px !important;
  color: var(--of-gold) !important;
  font-weight: 700;
}

.of-lpo-section {
  margin: 0 0 25px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--of-panel);
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-lpo-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}

.of-lpo-offset-col {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.of-lpo-feature {
  background: #242424;
  border-color: #242424;
}

.of-lpo-feature h3,
.of-lpo-feature p {
  color: #ffffff;
}

.of-lpo-section h3 {
  margin: 0 0 14px;
  color: var(--of-ink);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.of-lpo-section h4 {
  margin: 22px 0 10px;
  color: var(--of-red);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.of-lpo-section h4:first-child {
  margin-top: 0;
}

.of-lpo-section p,
.of-lpo-section li {
  color: var(--of-ink);
  font-size: 1.02rem;
  line-height: 1.65;
}

.of-lpo-section p {
  margin: 0 0 12px;
}

.of-lpo-section p:last-child {
  margin-bottom: 0;
}

.of-lpo-section ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

.of-lpo-section li + li {
  margin-top: 7px;
}

.of-lpo-section li::marker {
  color: var(--of-red);
}

.of-lpo-feature li,
.of-lpo-feature p {
  color: rgba(255, 255, 255, 0.86);
}

.of-lpo-feature li::marker {
  color: var(--of-gold);
}

@media (max-width: 850px) {
  .of-lpo-hero-grid,
  .of-lpo-two-col,
  .of-lpo-offset-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .of-lpo-hero,
  .of-lpo-section {
    padding: 20px 16px;
  }

  .of-lpo-hero h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .of-lpo-section h3 {
    font-size: 1.45rem;
  }
}
.of-lpo-handbook {
  --of-ink: #242424;
  --of-muted: #66615b;
  --of-line: #ded8cc;
  --of-soft: #f7f3ec;
  --of-panel: #ffffff;
  --of-red: #b7372f;
  --of-gold: #d8b44d;
  max-width: 980px;
  margin: 0 auto;
  color: var(--of-ink);
  font-family: inherit;
}

.of-lpo-handbook * {
  box-sizing: border-box;
}

.of-lpo-hero {
  margin: 0 0 25px;
  padding: clamp(28px, 5vw, 56px);
  color: #ffffff;
  background: #242424;
  border-radius: 8px;
}

.of-lpo-eyebrow {
  margin: 0 0 10px;
  color: var(--of-gold);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.of-lpo-hero h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.of-lpo-hero-content {
  max-width: 760px;
}

.of-lpo-team {
  margin-top: 24px;
}

.of-lpo-hero p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.55;
}

.of-lpo-hero strong {
  color: #ffffff;
}

.of-lpo-tagline {
  margin-top: 34px !important;
  color: #ffffff !important;
  font-size: clamp(1.35rem, 3vw, 2.15rem) !important;
  font-weight: 700;
  line-height: 1.2 !important;
}

.of-lpo-subtagline {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.1rem !important;
}

.of-lpo-stream {
  margin-top: 28px !important;
  color: var(--of-gold) !important;
  font-weight: 700;
}

.of-lpo-section {
  margin: 0 0 25px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--of-panel);
  border: 1px solid var(--of-line);
  border-radius: 8px;
}

.of-lpo-feature {
  background: #242424;
  border-color: #242424;
}

.of-lpo-feature h3,
.of-lpo-feature p,
.of-lpo-feature li {
  color: #ffffff;
}

.of-lpo-section h3 {
  margin: 0 0 14px;
  color: var(--of-ink);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.of-lpo-section h4 {
  margin: 22px 0 10px;
  color: var(--of-red);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.of-lpo-section h4:first-child {
  margin-top: 0;
}

.of-lpo-section p,
.of-lpo-section li {
  color: var(--of-ink);
  font-size: 1.02rem;
  line-height: 1.65;
}

.of-lpo-section p {
  margin: 0 0 12px;
}

.of-lpo-section p:last-child {
  margin-bottom: 0;
}

.of-lpo-section ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

.of-lpo-section li + li {
  margin-top: 7px;
}

.of-lpo-section li::marker {
  color: var(--of-red);
}

.of-lpo-feature li::marker {
  color: var(--of-gold);
}

@media (max-width: 700px) {
  .of-lpo-hero,
  .of-lpo-section {
    padding: 20px 16px;
  }

  .of-lpo-hero h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .of-lpo-section h3 {
    font-size: 1.45rem;
  }
}/* LPO page: soften black panels and protect heading contrast */
.of-lpo-handbook .of-lpo-hero,
.of-lpo-handbook .of-lpo-feature {
  background: #5a5a5a !important;
  border-color: #5a5a5a !important;
}

.of-lpo-handbook .of-lpo-hero h1,
.of-lpo-handbook .of-lpo-hero h2,
.of-lpo-handbook .of-lpo-hero h3,
.of-lpo-handbook .of-lpo-hero h4,
.of-lpo-handbook .of-lpo-feature h1,
.of-lpo-handbook .of-lpo-feature h2,
.of-lpo-handbook .of-lpo-feature h3,
.of-lpo-handbook .of-lpo-feature h4 {
  color: #ffffff !important;
}

.of-lpo-handbook .of-lpo-hero p,
.of-lpo-handbook .of-lpo-hero li,
.of-lpo-handbook .of-lpo-feature p,
.of-lpo-handbook .of-lpo-feature li {
  color: #f3f3f3 !important;
}

.of-lpo-handbook .of-lpo-eyebrow,
.of-lpo-handbook .of-lpo-stream {
  color: #f0d77a !important;
}

.of-lpo-handbook .of-lpo-feature li::marker {
  color: #f0d77a !important;
}
.of-lpo-handbook a.of-lpo-email-link,
.of-lpo-handbook a.of-lpo-email-link:visited {
  color: #1e73be !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.of-lpo-handbook a.of-lpo-email-link:hover,
.of-lpo-handbook a.of-lpo-email-link:focus {
  color: #155a96 !important;
}
Keep the HTML as you have it.

Paste this at the bottom of **Additional CSS**. It overrides the earlier grey background just for the LPO hero area and keeps the email links readable on black.

```css
/* LPO hero: black background with readable heading and links */
.of-lpo-handbook .of-lpo-hero {
  background: #000000 !important;
  border-color: #000000 !important;
}

.of-lpo-handbook .of-lpo-hero h1,
.of-lpo-handbook .of-lpo-hero h2,
.of-lpo-handbook .of-lpo-hero h3,
.of-lpo-handbook .of-lpo-hero h4,
.of-lpo-handbook .of-lpo-hero strong {
  color: #ffffff !important;
}

.of-lpo-handbook .of-lpo-hero p,
.of-lpo-handbook .of-lpo-hero li {
  color: #f3f3f3 !important;
}

.of-lpo-handbook .of-lpo-hero a.of-lpo-email-link,
.of-lpo-handbook .of-lpo-hero a.of-lpo-email-link:visited {
  color: #8fc7ff !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.of-lpo-handbook .of-lpo-hero a.of-lpo-email-link:hover,
.of-lpo-handbook .of-lpo-hero a.of-lpo-email-link:focus {
  color: #c7e4ff !important;
}

.of-lpo-handbook .of-lpo-tagline {
  color: #ffffff !important;
}

.of-lpo-handbook .of-lpo-subtagline {
  color: #f3f3f3 !important;
}

.of-lpo-handbook .of-lpo-stream {
  color: #f0d77a !important;
}
```
.of-lpo-handbook .of-lpo-feature h3 {
  color: #ffffff !important;
}
.of-lpo-handbook .of-lpo-feature .of-lpo-feature-heading,
.of-lpo-handbook .of-lpo-feature h3.of-lpo-feature-heading,
.of-lpo-handbook section.of-lpo-feature h3.of-lpo-feature-heading {
  color: #ffffff !important;
}

.of-lpo-handbook .of-lpo-feature .of-lpo-feature-heading * {
  color: #ffffff !important;
}

/* Homepage header alignment repair */
body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  min-height: 86px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 22px 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
}

body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child > .wp-block-spacer,
body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child > .wp-block-group {
  display: none !important;
}

body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child > p {
  order: 1 !important;
  min-width: 0 !important;
  margin: 0 auto 0 0 !important;
}

body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .of-home-compact-menu {
  order: 2 !important;
  flex: 0 0 auto !important;
}

body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .of-home-search-form {
  order: 3 !important;
  flex: 0 1 auto !important;
  margin: 0 !important;
}

body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .of-home-search-input {
  width: clamp(180px, 22vw, 260px) !important;
  max-width: 100% !important;
}

@media (max-width: 680px) {
  body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child {
    width: min(1180px, calc(100% - 28px)) !important;
    min-height: 74px !important;
    gap: 8px !important;
  }

  body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .of-home-search-input {
    width: clamp(128px, 36vw, 170px) !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

/* Homepage header alignment repair v2 */
body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding: 22px max(20px, calc((100% - 1180px) / 2)) !important;
}

body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .of-home-search-form {
  order: 2 !important;
  flex: 0 1 auto !important;
  margin: 0 !important;
}

body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child .of-home-compact-menu {
  order: 3 !important;
  flex: 0 0 auto !important;
}

@media (max-width: 680px) {
  body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

/* Homepage header background after Group style reset */
body.blog .wp-site-blocks > main#wp--skip-link--target.wp-block-group:first-child {
  background: #242424 !important;
  color: #ffffff !important;
}

/* Social Placement editor/public hero contrast repair */
body .wp-site-blocks .of-social-placement-handbook .of-social-hero :where(h1, h2, h3, .wp-block-heading, p, a),
body .editor-styles-wrapper .of-social-placement-handbook .of-social-hero :where(h1, h2, h3, .wp-block-heading, p, a) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

/* Handbook child page coherence pass - scoped to handbook child pages */
body.page-child.parent-pageid-5685,
body.page-id-6588 {
  background: #f7f3ec !important;
}

body.page-child.parent-pageid-5685 .wp-block-post-title,
body.page-id-6588 .wp-block-post-title {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
  letter-spacing: 0 !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content,
body.page-id-6588 .entry-content.wp-block-post-content {
  max-width: 980px !important;
  margin: 0 auto 72px !important;
  padding: 28px 20px 72px !important;
  color: #242424 !important;
  background: transparent !important;
  line-height: 1.65 !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content > *,
body.page-id-6588 .entry-content.wp-block-post-content > * {
  max-width: 900px !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content :where(p, li),
body.page-id-6588 .entry-content.wp-block-post-content :where(p, li) {
  color: #242424 !important;
  -webkit-text-fill-color: #242424 !important;
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.1rem) !important;
  line-height: 1.72 !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content :where(h2, h3, h4, h5, h6, .wp-block-heading),
body.page-id-6588 .entry-content.wp-block-post-content :where(h2, h3, h4, h5, h6, .wp-block-heading) {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
  letter-spacing: 0 !important;
  line-height: 1.16 !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content a,
body.page-id-6588 .entry-content.wp-block-post-content a {
  color: #1f5f9f !important;
  -webkit-text-fill-color: #1f5f9f !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content > p:first-child a,
body.page-id-6588 .entry-content.wp-block-post-content > p:first-child a,
body.page-id-6342 .entry-content.wp-block-post-content > p:nth-of-type(1) a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  margin-bottom: 10px !important;
  color: #242424 !important;
  -webkit-text-fill-color: #242424 !important;
  font-weight: 700 !important;
}

/* Wrapper-based handbook pages: align with the relocation outline/card language. */
.of-psf-handbook,
.of-social-placement-handbook,
.of-lpo-handbook,
.of-relocation-checklists {
  --of-ink: #242424;
  --of-muted: #5f5f5f;
  --of-line: #ded8cc;
  --of-soft: #f7f3ec;
  --of-panel: #ffffff;
  --of-red: #b7372f;
  --of-gold: #d8b44d;
  max-width: 980px !important;
  margin: 0 auto !important;
  color: var(--of-ink) !important;
  background: transparent !important;
  font-family: inherit !important;
}

.of-psf-handbook *,
.of-social-placement-handbook *,
.of-lpo-handbook *,
.of-relocation-checklists * {
  box-sizing: border-box;
}

.of-psf-section,
.of-social-section,
.of-lpo-section,
.of-lpo-feature,
.of-relocation-card,
.of-key-dates-section {
  margin: 0 0 28px !important;
  padding: clamp(20px, 3vw, 32px) !important;
  color: var(--of-ink, #242424) !important;
  background: #ffffff !important;
  border: 1px solid var(--of-line, #ded8cc) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(36, 36, 36, 0.06) !important;
}

.of-psf-section :where(h2, h3),
.of-social-section :where(h2, h3),
.of-lpo-section :where(h2, h3),
.of-lpo-feature :where(h2, h3),
.of-key-dates-section :where(h2, h3) {
  color: #242424 !important;
  -webkit-text-fill-color: #242424 !important;
}

.of-psf-section :where(p, li),
.of-social-section :where(p, li),
.of-lpo-section :where(p, li),
.of-lpo-feature :where(p, li),
.of-key-dates-section :where(p, li) {
  color: #5f5f5f !important;
  -webkit-text-fill-color: #5f5f5f !important;
}

.of-psf-hero,
.of-lpo-hero,
.of-social-placement-handbook > .wp-block-group:first-child,
.of-relocation-hero {
  margin: 0 0 28px !important;
  padding: clamp(28px, 5vw, 56px) !important;
  color: #ffffff !important;
  background: #101010 !important;
  border-left: 8px solid #d8b44d !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.of-psf-hero :where(h1, h2, h3, p, span, strong, a),
.of-lpo-hero :where(h1, h2, h3, p, span, strong, a),
.of-social-placement-handbook > .wp-block-group:first-child :where(h1, h2, h3, p, span, strong, a),
.of-relocation-hero :where(h1, h2, h3, p, span, strong, a) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
}

.of-psf-hero a,
.of-lpo-hero a,
.of-social-placement-handbook > .wp-block-group:first-child a,
.of-relocation-hero a {
  text-decoration-color: rgba(255, 255, 255, 0.72) !important;
}

/* Formation pages without wrapper blocks: give Mission and Education the same black top treatment as Personal/Spiritual. */
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p + .wp-block-spacer {
  max-width: 900px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #101010 !important;
  border-color: #101010 !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type {
  padding: clamp(30px, 5vw, 54px) clamp(22px, 4vw, 42px) 10px !important;
  border-left: 8px solid #d8b44d !important;
  border-radius: 8px 8px 0 0 !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p {
  padding-left: clamp(22px, 4vw, 42px) !important;
  padding-right: clamp(22px, 4vw, 42px) !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul {
  padding-bottom: 8px !important;
  padding-left: calc(clamp(22px, 4vw, 42px) + 1.35rem) !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer {
  height: 24px !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 {
  padding-top: 0 !important;
  color: #d8b44d !important;
  -webkit-text-fill-color: #d8b44d !important;
  font-size: clamp(1.25rem, 2vw, 1.6rem) !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p {
  padding-bottom: 12px !important;
  color: rgba(255, 255, 255, 0.84) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.84) !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p + .wp-block-spacer {
  height: 32px !important;
  border-left: 8px solid #d8b44d !important;
  border-radius: 0 0 8px 8px !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type mark,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h4:first-of-type mark,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 mark,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p mark {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  background: transparent !important;
}

/* Table pages use the same outline/card language and avoid horizontal blowouts. */
.of-key-dates-table-wrap,
.of-relocation-table-wrap {
  border: 1px solid #ded8cc !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow-x: auto !important;
}

.of-key-dates-table,
.of-relocation-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.of-key-dates-table th,
.of-relocation-table th {
  color: #ffffff !important;
  background: #b7372f !important;
}

@media (max-width: 700px) {
  body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content,
  body.page-id-6588 .entry-content.wp-block-post-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .of-psf-section,
  .of-social-section,
  .of-lpo-section,
  .of-lpo-feature,
  .of-relocation-card,
  .of-key-dates-section,
  .of-psf-hero,
  .of-lpo-hero,
  .of-social-placement-handbook > .wp-block-group:first-child,
  .of-relocation-hero {
    padding: 22px 18px !important;
  }
}

/* Preview refinements for the Mission/Education synthetic hero. */
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p + .wp-block-spacer {
  width: min(900px, 100%) !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-left: 8px solid #d8b44d !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p + .wp-block-spacer {
  border-radius: 0 !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul + .wp-block-spacer + h4 + p + .wp-block-spacer {
  border-radius: 0 0 8px 8px !important;
}

:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul li,
:is(.page-id-6337, .page-id-6342) .entry-content.wp-block-post-content > h2:first-of-type + p + ul li::marker {
  color: rgba(255, 255, 255, 0.9) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
}

/* Non-wrapper handbook pages: add restrained outline-section rhythm where content is loose blocks. */
:is(.page-id-6337, .page-id-6342, .page-id-6345, .page-id-6358, .page-id-6361) .entry-content.wp-block-post-content > :where(h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading):not(:first-of-type) {
  margin-top: 38px !important;
  margin-bottom: 16px !important;
  padding: 18px 22px !important;
  color: #242424 !important;
  -webkit-text-fill-color: #242424 !important;
  background: #ffffff !important;
  border: 1px solid #ded8cc !important;
  border-left: 6px solid #d8b44d !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(36, 36, 36, 0.05) !important;
}

:is(.page-id-6337, .page-id-6342, .page-id-6345, .page-id-6358, .page-id-6361) .entry-content.wp-block-post-content > :where(h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading):not(:first-of-type) mark {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  background: transparent !important;
}

/* High-specificity correction: keep all hero text white inside black top panels. */
body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content :is(.of-psf-hero, .of-lpo-hero, .of-social-placement-handbook > .wp-block-group:first-child, .of-relocation-hero),
body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content :is(.of-psf-hero, .of-lpo-hero, .of-social-placement-handbook > .wp-block-group:first-child, .of-relocation-hero) *,
body.page-id-6588 .entry-content.wp-block-post-content .of-relocation-hero,
body.page-id-6588 .entry-content.wp-block-post-content .of-relocation-hero * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content .of-psf-hero strong,
body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content .of-social-placement-handbook > .wp-block-group:first-child strong,
body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content .of-lpo-hero strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Remove legacy full-page white panels from wrapper-based handbook pages; keep only the section cards white. */
body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content :is(.of-psf-handbook, .of-social-placement-handbook, .of-lpo-handbook, .of-relocation-checklists) {
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content .of-psf-handbook > .of-psf-back,
body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content .of-social-placement-handbook > .of-social-back,
body.page-child.parent-pageid-5685 .entry-content.wp-block-post-content .of-lpo-handbook > .of-lpo-back {
  background: transparent !important;
}

/* Key Dates also uses outline-heading treatment because it is not a formation hero page. */
body.page-id-6355 .entry-content.wp-block-post-content > :where(h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading) {
  margin-top: 38px !important;
  margin-bottom: 16px !important;
  padding: 18px 22px !important;
  color: #242424 !important;
  -webkit-text-fill-color: #242424 !important;
  background: #ffffff !important;
  border: 1px solid #ded8cc !important;
  border-left: 6px solid #d8b44d !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(36, 36, 36, 0.05) !important;
}


/* Spiritual Practices page scoped styles */
/* Spiritual Practices page CSS
   Scope: paste into WordPress Additional CSS or the page-specific CSS location.
   Prefix: all page-owned classes start with of-spiritual-practices.
*/

.of-spiritual-practices-page {
  --of-spiritual-practices-bg: #ffffff;
  --of-spiritual-practices-ink: #101010;
  --of-spiritual-practices-muted: #5f625f;
  --of-spiritual-practices-soft: #f7f6f2;
  --of-spiritual-practices-soft-2: #eeeeea;
  --of-spiritual-practices-line: #e5e2db;
  --of-spiritual-practices-red: #c91f2c;
  --of-spiritual-practices-red-dark: #701234;
  --of-spiritual-practices-blue: #2f6f8f;
  --of-spiritual-practices-gold: #b9842c;
  --of-spiritual-practices-dark: #2c2c2c;
  --of-spiritual-practices-radius: 8px;
  --of-spiritual-practices-shadow: 0 18px 45px rgba(16, 16, 16, 0.08);
  --of-spiritual-practices-wrap: 1180px;
  --of-spiritual-practices-section: clamp(72px, 8vw, 104px);
  background: var(--of-spiritual-practices-bg) !important;
  color: var(--of-spiritual-practices-ink) !important;
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.55;
}

.of-spiritual-practices-page,
.of-spiritual-practices-page * {
  box-sizing: border-box;
}

.of-spiritual-practices-page.wp-block-group,
.of-spiritual-practices-page .wp-block-group {
  min-height: 0 !important;
  color: inherit !important;
}

.of-spiritual-practices-page .wp-block-group:not(.of-spiritual-practices-section):not(.of-spiritual-practices-card):not(.of-spiritual-practices-hero-visual):not(.of-spiritual-practices-studio-card):not(.of-spiritual-practices-orientation-panel):not(.of-spiritual-practices-callout):not(.of-spiritual-practices-quote-panel):not(.of-spiritual-practices-download-card):not(.of-spiritual-practices-season-card):not(.of-spiritual-practices-guide-card):not(.of-spiritual-practices-final-panel) {
  background: transparent !important;
  background-color: transparent !important;
}

.of-spiritual-practices-page img {
  display: block;
  max-width: 100%;
}

.of-spiritual-practices-page a {
  color: inherit;
}

.of-spiritual-practices-page a:focus-visible,
.of-spiritual-practices-page .wp-block-button__link:focus-visible {
  outline: 2px dotted currentColor;
  outline-offset: 4px;
}

.of-spiritual-practices-page p,
.of-spiritual-practices-page li {
  color: inherit;
  font-size: 1rem;
  line-height: 1.68;
}

.of-spiritual-practices-page h1,
.of-spiritual-practices-page h2,
.of-spiritual-practices-page h3,
.of-spiritual-practices-page h4 {
  color: inherit !important;
  letter-spacing: 0;
}

.of-spiritual-practices-wrap {
  width: min(var(--of-spiritual-practices-wrap), calc(100% - 40px));
  max-width: var(--of-spiritual-practices-wrap) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.of-spiritual-practices-section {
  padding: var(--of-spiritual-practices-section) 0;
  background: #ffffff !important;
}

.of-spiritual-practices-section-alt {
  background: var(--of-spiritual-practices-soft) !important;
}

.of-spiritual-practices-section-dark,
.of-spiritual-practices-final-cta {
  background: var(--of-spiritual-practices-dark) !important;
  color: #eeeeee !important;
}

.of-spiritual-practices-section-head {
  max-width: 860px !important;
  margin-bottom: 38px;
}

.of-spiritual-practices-eyebrow,
.of-spiritual-practices-card-meta,
.of-spiritual-practices-resource-type,
.of-spiritual-practices-season-label {
  margin: 0;
  color: var(--of-spiritual-practices-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.of-spiritual-practices-section-dark .of-spiritual-practices-eyebrow,
.of-spiritual-practices-section-dark .of-spiritual-practices-card-meta,
.of-spiritual-practices-section-dark .of-spiritual-practices-season-label,
.of-spiritual-practices-final-cta .of-spiritual-practices-eyebrow {
  color: #c8c8c8 !important;
}

.of-spiritual-practices-section-title {
  margin: 12px 0 0;
  max-width: 980px;
  font-size: clamp(2.05rem, 4.2vw, 2.85rem);
  line-height: 1.08;
  font-weight: 720;
}

.of-spiritual-practices-section-intro {
  margin-top: 18px;
  max-width: 760px;
  color: var(--of-spiritual-practices-muted) !important;
  font-size: 1.08rem !important;
  line-height: 1.72;
}

.of-spiritual-practices-section-dark .of-spiritual-practices-section-intro,
.of-spiritual-practices-final-cta .of-spiritual-practices-section-intro {
  color: #d2d2d2 !important;
}

.of-spiritual-practices-hero {
  padding: clamp(32px, 5vw, 56px) 0 var(--of-spiritual-practices-section);
}

.of-spiritual-practices-hero-columns {
  gap: clamp(34px, 6vw, 78px) !important;
  align-items: center !important;
}

.of-spiritual-practices-hero-copy {
  max-width: 680px;
}

.of-spiritual-practices-hero-title {
  margin: 16px 0 0;
  font-size: clamp(3rem, 7.5vw, 5.2rem);
  font-weight: 720;
  line-height: 0.99;
}

.of-spiritual-practices-hero-subtitle {
  margin-top: 24px;
  max-width: 620px;
  color: var(--of-spiritual-practices-muted) !important;
  font-size: clamp(1.2rem, 2vw, 1.45rem) !important;
  line-height: 1.5;
}

.of-spiritual-practices-hero-copy-text {
  margin-top: 20px;
  max-width: 660px;
  color: var(--of-spiritual-practices-muted) !important;
  font-size: 1.05rem !important;
  line-height: 1.72;
}

.of-spiritual-practices-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin-top: 32px;
}

.of-spiritual-practices-page .wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--of-spiritual-practices-ink) !important;
  border-radius: 999px !important;
  padding: 0 28px !important;
  color: var(--of-spiritual-practices-ink) !important;
  background: var(--of-spiritual-practices-soft) !important;
  font-size: 0.96rem !important;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.of-spiritual-practices-page .wp-block-button__link:hover,
.of-spiritual-practices-page .wp-block-button__link:focus-visible {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.of-spiritual-practices-button-primary .wp-block-button__link:hover,
.of-spiritual-practices-button-primary .wp-block-button__link:focus-visible {
  color: #ffffff !important;
  border-color: var(--of-spiritual-practices-red) !important;
  background: var(--of-spiritual-practices-red) !important;
}

.of-spiritual-practices-button-secondary .wp-block-button__link:hover,
.of-spiritual-practices-button-secondary .wp-block-button__link:focus-visible {
  color: #ffffff !important;
  border-color: var(--of-spiritual-practices-gold) !important;
  background: var(--of-spiritual-practices-gold) !important;
}

.of-spiritual-practices-final-cta .wp-block-button__link {
  color: #181818 !important;
  border-color: #ffffff !important;
  background: #ffffff !important;
}

.of-spiritual-practices-final-cta .wp-block-button__link:hover,
.of-spiritual-practices-final-cta .wp-block-button__link:focus-visible {
  color: #ffffff !important;
  border-color: var(--of-spiritual-practices-red) !important;
  background: var(--of-spiritual-practices-red) !important;
}

.of-spiritual-practices-hero-visual {
  overflow: hidden;
  border: 1px solid var(--of-spiritual-practices-line);
  border-radius: var(--of-spiritual-practices-radius);
  background: #ffffff !important;
  box-shadow: var(--of-spiritual-practices-shadow);
}

.of-spiritual-practices-hero-image {
  margin: 0 !important;
}

.of-spiritual-practices-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.of-spiritual-practices-studio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 26px;
  background: var(--of-spiritual-practices-soft) !important;
}

.of-spiritual-practices-studio-card h2 {
  margin: 10px 0 0;
  font-size: 1.55rem;
  line-height: 1.16;
}

.of-spiritual-practices-studio-card p:not(.of-spiritual-practices-card-meta) {
  margin-top: 12px;
  color: var(--of-spiritual-practices-muted) !important;
}

.of-spiritual-practices-studio-mark {
  width: 82px;
  min-width: 82px;
  height: 82px;
  border: 1px solid var(--of-spiritual-practices-line);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(185, 132, 44, 0.35) 49%, rgba(185, 132, 44, 0.35) 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(47, 111, 143, 0.34) 49%, rgba(47, 111, 143, 0.34) 51%, transparent 51%),
    #ffffff;
}

.of-spiritual-practices-orientation-columns {
  gap: clamp(28px, 5vw, 58px) !important;
  align-items: stretch !important;
}

.of-spiritual-practices-orientation-panel {
  height: 100%;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--of-spiritual-practices-line);
  border-radius: var(--of-spiritual-practices-radius);
  background: #ffffff !important;
}

.of-spiritual-practices-quote-panel {
  height: 100%;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--of-spiritual-practices-radius);
  background: #101010 !important;
  color: #ffffff !important;
}

.of-spiritual-practices-quote-panel blockquote {
  margin: 0;
}

.of-spiritual-practices-quote-panel p,
.of-spiritual-practices-quote-panel cite {
  color: #f2f2f2 !important;
}

.of-spiritual-practices-quote-panel cite {
  display: block;
  margin-top: 20px;
  font-size: 0.94rem;
  font-style: normal;
  opacity: 0.86;
}

.of-spiritual-practices-callout-grid,
.of-spiritual-practices-practice-grid,
.of-spiritual-practices-resource-grid,
.of-spiritual-practices-download-grid,
.of-spiritual-practices-season-grid,
.of-spiritual-practices-guide-grid {
  display: grid !important;
  gap: 18px;
}

.of-spiritual-practices-callout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.of-spiritual-practices-callout,
.of-spiritual-practices-card,
.of-spiritual-practices-download-card,
.of-spiritual-practices-guide-card {
  position: relative;
  border: 1px solid var(--of-spiritual-practices-line);
  border-radius: var(--of-spiritual-practices-radius);
  background: #ffffff !important;
  overflow: hidden;
}

.of-spiritual-practices-callout,
.of-spiritual-practices-card,
.of-spiritual-practices-download-card,
.of-spiritual-practices-guide-card {
  padding: 28px;
}

.of-spiritual-practices-callout {
  border-left: 8px solid var(--of-spiritual-practices-gold);
}

.of-spiritual-practices-callout h3,
.of-spiritual-practices-card h3,
.of-spiritual-practices-download-card h3,
.of-spiritual-practices-guide-card h3 {
  margin: 12px 0 0;
  font-size: 1.25rem;
  line-height: 1.22;
  font-weight: 720;
}

.of-spiritual-practices-callout p:not(.of-spiritual-practices-card-meta),
.of-spiritual-practices-card p:not(.of-spiritual-practices-card-meta):not(.of-spiritual-practices-resource-type):not(.of-spiritual-practices-text-link),
.of-spiritual-practices-download-card p:not(.of-spiritual-practices-card-meta):not(.of-spiritual-practices-text-link),
.of-spiritual-practices-guide-card p:not(.of-spiritual-practices-card-meta):not(.of-spiritual-practices-text-link) {
  margin-top: 12px;
  color: var(--of-spiritual-practices-muted) !important;
}

.of-spiritual-practices-practice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.of-spiritual-practices-practice-card,
.of-spiritual-practices-resource-card,
.of-spiritual-practices-download-card,
.of-spiritual-practices-guide-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.of-spiritual-practices-practice-card:hover,
.of-spiritual-practices-practice-card:focus-within,
.of-spiritual-practices-resource-card:hover,
.of-spiritual-practices-resource-card:focus-within,
.of-spiritual-practices-download-card:hover,
.of-spiritual-practices-download-card:focus-within,
.of-spiritual-practices-guide-card:hover,
.of-spiritual-practices-guide-card:focus-within {
  border-color: #c8c3ba;
  box-shadow: 0 16px 38px rgba(16, 16, 16, 0.07);
  transform: translateY(-2px);
}

.of-spiritual-practices-practice-card::before,
.of-spiritual-practices-guide-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--of-spiritual-practices-blue);
}

.of-spiritual-practices-accent-red::before {
  background: var(--of-spiritual-practices-red);
}

.of-spiritual-practices-accent-blue::before {
  background: var(--of-spiritual-practices-blue);
}

.of-spiritual-practices-accent-gold::before {
  background: var(--of-spiritual-practices-gold);
}

.of-spiritual-practices-text-link {
  margin-top: auto !important;
  padding-top: 20px;
}

.of-spiritual-practices-text-link a {
  display: inline-flex;
  width: fit-content;
  color: var(--of-spiritual-practices-ink) !important;
  border-bottom: 1px solid currentColor;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 180ms ease, border-color 180ms ease;
}

.of-spiritual-practices-text-link a:hover,
.of-spiritual-practices-text-link a:focus-visible {
  color: var(--of-spiritual-practices-red) !important;
}

.of-spiritual-practices-resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.of-spiritual-practices-resource-type {
  display: inline-flex;
  width: fit-content;
  margin-top: 0;
  padding: 6px 10px;
  border: 1px solid var(--of-spiritual-practices-line);
  border-radius: 999px;
  background: var(--of-spiritual-practices-soft) !important;
}

.of-spiritual-practices-resource-card h3 {
  margin-top: 18px;
}

.of-spiritual-practices-resource-feature {
  grid-column: span 2;
  min-height: 270px;
  background:
    linear-gradient(135deg, rgba(47, 111, 143, 0.12), rgba(185, 132, 44, 0.14)),
    #ffffff !important;
}

.of-spiritual-practices-download-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.of-spiritual-practices-download-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, rgba(185, 132, 44, 0.32), rgba(201, 31, 44, 0.12));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.of-spiritual-practices-season-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  margin-top: 48px;
}

.of-spiritual-practices-season-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(216, 216, 216, 0.24);
  border-radius: var(--of-spiritual-practices-radius);
  background: rgba(255, 255, 255, 0.03) !important;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.of-spiritual-practices-season-card:nth-child(even) {
  margin-top: 34px;
}

.of-spiritual-practices-season-card:hover,
.of-spiritual-practices-season-card:focus-within {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.055) !important;
  transform: translateY(-2px);
}

.of-spiritual-practices-season-card h3 {
  margin: 16px 0 0;
  color: #eeeeee !important;
  font-size: 1.25rem;
  line-height: 1.2;
}

.of-spiritual-practices-season-card p:not(.of-spiritual-practices-season-label) {
  color: #d2d2d2 !important;
}

.of-spiritual-practices-season-card ul {
  margin: 18px 0 0;
  padding-left: 1.1rem;
  color: #eeeeee;
}

.of-spiritual-practices-season-card li + li {
  margin-top: 6px;
}

.of-spiritual-practices-season-card li::marker {
  color: var(--of-spiritual-practices-gold);
}

.of-spiritual-practices-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.of-spiritual-practices-guide-card {
  min-height: 220px;
}

.of-spiritual-practices-final-panel {
  max-width: 820px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: clamp(38px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--of-spiritual-practices-radius);
  background: transparent !important;
  text-align: center;
}

.of-spiritual-practices-final-panel h2 {
  margin: 12px auto 0;
  max-width: 700px;
  color: #ffffff !important;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.of-spiritual-practices-final-panel p:not(.of-spiritual-practices-eyebrow) {
  margin: 20px auto 0;
  max-width: 680px;
  color: #d8d8d8 !important;
  font-size: 1.08rem !important;
}

.of-spiritual-practices-final-panel .of-spiritual-practices-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .of-spiritual-practices-practice-grid,
  .of-spiritual-practices-resource-grid,
  .of-spiritual-practices-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .of-spiritual-practices-season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .of-spiritual-practices-season-card:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .of-spiritual-practices-callout-grid,
  .of-spiritual-practices-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .of-spiritual-practices-wrap {
    width: min(100% - 28px, var(--of-spiritual-practices-wrap));
  }

  .of-spiritual-practices-section {
    padding: 64px 0;
  }

  .of-spiritual-practices-hero {
    padding-top: 24px;
  }

  .of-spiritual-practices-hero-title {
    font-size: clamp(2.65rem, 12vw, 3.4rem);
    line-height: 1.02;
  }

  .of-spiritual-practices-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .of-spiritual-practices-page .wp-block-button,
  .of-spiritual-practices-page .wp-block-button__link {
    width: 100%;
  }

  .of-spiritual-practices-studio-card {
    display: block;
  }

  .of-spiritual-practices-studio-mark {
    margin-top: 22px;
  }

  .of-spiritual-practices-practice-grid,
  .of-spiritual-practices-resource-grid,
  .of-spiritual-practices-download-grid,
  .of-spiritual-practices-season-grid,
  .of-spiritual-practices-guide-grid {
    grid-template-columns: 1fr;
  }

  .of-spiritual-practices-resource-feature {
    grid-column: auto;
  }

  .of-spiritual-practices-card,
  .of-spiritual-practices-callout,
  .of-spiritual-practices-download-card,
  .of-spiritual-practices-season-card,
  .of-spiritual-practices-guide-card,
  .of-spiritual-practices-orientation-panel,
  .of-spiritual-practices-quote-panel,
  .of-spiritual-practices-final-panel {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .of-spiritual-practices-page *,
  .of-spiritual-practices-page *::before,
  .of-spiritual-practices-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/*
 * Officer Formation — Modules directory
 * Paste into WordPress Additional CSS or enqueue after the theme stylesheet.
 * Every selector is scoped to the page's outer .of-modules-page Group block.
 */

.of-modules-page {
  --of-modules-bg: #ffffff;
  --of-modules-ink: #101010;
  --of-modules-muted: #5f625f;
  --of-modules-soft: #f7f6f2;
  --of-modules-card: #f4f4f4;
  --of-modules-line: #e5e2db;
  --of-modules-line-neutral: #d8d8d8;
  --of-modules-red: #d71920;
  --of-modules-blue: #1d4f91;
  --of-modules-gold: #f2b705;
  --of-modules-radius: 8px;
  --of-modules-shadow: 0 18px 45px rgba(16, 16, 16, 0.08);
  --of-modules-focus: #1d4f91;
  box-sizing: border-box;
  width: calc(100% - clamp(40px, 8vw, 96px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 96px);
  background: var(--of-modules-bg);
  color: var(--of-modules-ink);
  font-family: inherit;
  line-height: 1.6;
}

.of-modules-page,
.of-modules-page * {
  box-sizing: border-box;
}

.of-modules-page :where(h2, h3, h4, p, ul, figure) {
  max-width: 100%;
}

.of-modules-page :where(h2, h3, h4) {
  color: var(--of-modules-ink) !important;
  font-family: inherit;
  font-weight: 720;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Match the existing site's heading-rule specificity, including Safari text fill. */
body .wp-site-blocks .of-modules-page .wp-block-heading {
  color: var(--of-modules-ink) !important;
  -webkit-text-fill-color: var(--of-modules-ink) !important;
}

.of-modules-page h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.of-modules-page h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.of-modules-page h4 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.35;
}

.of-modules-page p {
  color: var(--of-modules-muted);
}

.of-modules-page a {
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
  transition: color 160ms ease, background-color 160ms ease,
    border-color 160ms ease;
}

.of-modules-page a:focus-visible {
  outline: 3px solid var(--of-modules-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Introduction above the two-column directory. */
.of-modules-page .of-modules-intro {
  max-width: 800px;
  margin: 0 0 clamp(36px, 5vw, 56px);
}

.of-modules-page .of-modules-intro > * {
  margin-block: 0;
}

.of-modules-page .of-modules-intro > * + * {
  margin-top: 16px;
}

.of-modules-page .of-modules-intro p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.72;
}

/* Native core/columns layout: roughly two-thirds directory, one-third rail. */
.of-modules-page .of-modules-layout.wp-block-columns {
  display: flex;
  align-items: flex-start !important;
  gap: clamp(36px, 4vw, 48px);
  margin: 0;
}

.of-modules-page .of-modules-layout > .wp-block-column {
  min-width: 0;
  margin: 0;
}

.of-modules-page .of-modules-layout > .of-modules-directory {
  flex: 2 1 0 !important;
}

.of-modules-page .of-modules-layout > .of-modules-rail {
  flex: 1 1 0 !important;
}

/* Image-free, restrained module directory. */
.of-modules-page .of-modules-directory {
  min-width: 0;
}

.of-modules-page .of-modules-directory > * {
  margin-block: 0;
}

.of-modules-page .of-modules-directory > * + * {
  margin-top: clamp(28px, 4vw, 42px);
}

.of-modules-page .of-modules-directory > h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--of-modules-line);
}

.of-modules-page .of-modules-directory > h3,
.of-modules-page .of-modules-directory > .wp-block-heading:is(h3) {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--of-modules-line);
}

.of-modules-page .of-modules-directory__section {
  margin: 0;
  padding: 0;
  background: transparent;
}

.of-modules-page .of-modules-directory__section > * {
  margin-block: 0;
}

.of-modules-page .of-modules-directory__section > * + * {
  margin-top: 12px;
}

.of-modules-page .of-modules-directory__section > h4 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--of-modules-line);
}

.of-modules-page .of-module-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--of-modules-ink);
  list-style-position: outside;
}

.of-modules-page .of-module-list > li {
  margin: 0;
  padding: 0.48rem 0 0.48rem 0.18rem;
  border-bottom: 1px solid var(--of-modules-line);
  line-height: 1.55;
}

.of-modules-page .of-module-list > li:last-child {
  border-bottom: 0;
}

.of-modules-page .of-module-list li::marker {
  color: var(--of-modules-muted);
  font-size: 0.8em;
}

.of-modules-page .of-module-list a,
.of-modules-page .of-modules-directory :where(h2, h3, h4) a,
.of-modules-page .of-module-group-label a {
  color: var(--of-modules-ink);
  font-weight: 650;
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

.of-modules-page .of-module-list a:hover,
.of-modules-page .of-modules-directory :where(h2, h3, h4) a:hover,
.of-modules-page .of-module-group-label a:hover {
  color: var(--of-modules-blue);
  text-decoration-color: currentColor;
}

.of-modules-page .of-module-list--nested,
.of-modules-page .of-module-list .of-module-list {
  margin: 0.45rem 0 0.15rem;
  padding-left: 1.25rem;
}

.of-modules-page .of-module-list--nested > li,
.of-modules-page .of-module-list .of-module-list > li {
  padding-block: 0.34rem;
  border-bottom: 0;
}

.of-modules-page .of-module-group-label {
  margin: 18px 0 4px;
  color: var(--of-modules-ink);
  font-weight: 700;
  line-height: 1.45;
}

.of-modules-page .of-module-group-label em,
.of-modules-page .of-module-group-label strong {
  color: inherit;
}

/* Editable right rail and independent core/group feature cards. */
.of-modules-page .of-modules-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: clamp(16px, 2.2vw, 24px);
}

.of-modules-page .of-modules-rail > * {
  margin-block: 0;
}

.of-modules-page .of-modules-rail > h2 {
  margin-bottom: 4px;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.of-modules-page .of-feature-card {
  --of-card-accent: var(--of-modules-red);
  --of-card-on-accent: #ffffff;
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--of-modules-line-neutral);
  border-left: 8px solid var(--of-card-accent);
  border-radius: var(--of-modules-radius);
  background: var(--of-modules-card);
  box-shadow: var(--of-modules-shadow);
}

.of-modules-page .of-feature-card--red {
  --of-card-accent: var(--of-modules-red);
  --of-card-on-accent: #ffffff;
}

.of-modules-page .of-feature-card--blue {
  --of-card-accent: var(--of-modules-blue);
  --of-card-on-accent: #ffffff;
}

.of-modules-page .of-feature-card--gold {
  --of-card-accent: var(--of-modules-gold);
  --of-card-on-accent: #101010;
}

.of-modules-page .of-feature-card > * {
  margin-block: 0;
}

.of-modules-page .of-feature-card > * + * {
  margin-top: 14px;
}

.of-modules-page .of-feature-card__eyebrow {
  color: var(--of-modules-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.of-modules-page .of-feature-card h3 {
  color: var(--of-modules-ink) !important;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.of-modules-page .of-feature-card p:not(.of-feature-card__eyebrow, .of-feature-card__link) {
  line-height: 1.65;
}

.of-modules-page .of-feature-card figure,
.of-modules-page .of-feature-card .wp-block-image {
  margin-inline: 0;
}

.of-modules-page .of-feature-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--of-modules-radius) - 2px);
}

.of-modules-page .of-feature-card__link {
  padding-top: 4px;
}

.of-modules-page .of-feature-card__link a,
.of-modules-page .of-feature-card .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 0.55rem 1rem;
  border: 2px solid var(--of-card-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--of-modules-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: transparent;
}

.of-modules-page .of-feature-card__link a:hover,
.of-modules-page .of-feature-card .wp-block-button__link:hover {
  border-color: var(--of-card-accent);
  background: var(--of-card-accent);
  color: var(--of-card-on-accent);
  text-decoration-color: currentColor;
}

.of-modules-page .of-feature-card__link a:focus-visible,
.of-modules-page .of-feature-card .wp-block-button__link:focus-visible {
  outline-color: var(--of-modules-focus);
  outline-offset: 3px;
}

/* Stack before core/columns' own breakpoint and neutralise inline flex-basis. */
@media (max-width: 900px) {
  .of-modules-page .of-modules-layout.wp-block-columns {
    flex-direction: column;
    gap: clamp(44px, 8vw, 64px);
  }

  .of-modules-page .of-modules-layout > .of-modules-directory,
  .of-modules-page .of-modules-layout > .of-modules-rail {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .of-modules-page {
    width: calc(100% - 32px) !important;
    padding-block: 28px 64px;
  }

  .of-modules-page .of-feature-card {
    padding: 24px;
  }

  .of-modules-page .of-module-list {
    padding-left: 1.1rem;
  }
}

/* Match the site's system-dark treatment without affecting any other page. */
@media (prefers-color-scheme: dark) {
  .of-modules-page {
    --of-modules-bg: #282828;
    --of-modules-ink: #f4f4f2;
    --of-modules-muted: #c7c9c6;
    --of-modules-soft: #333331;
    --of-modules-card: #333333;
    --of-modules-line: #50504d;
    --of-modules-line-neutral: #595959;
    --of-modules-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    --of-modules-focus: #f2b705;
  }

  .of-modules-page .of-module-list a:hover,
  .of-modules-page .of-modules-directory :where(h2, h3, h4) a:hover,
  .of-modules-page .of-module-group-label a:hover {
    color: #9fc4ff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .of-modules-page a {
    scroll-behavior: auto;
    transition: none;
  }
}

@media (forced-colors: active) {
  .of-modules-page .of-feature-card {
    border-left-width: 8px;
  }

  .of-modules-page a:focus-visible {
    outline-color: Highlight;
  }
}


/* Officer Formation Modules refinements — 2026-07-13 */

/* Keep the page canvas light in every system colour scheme. */
.of-modules-page {
  --of-modules-bg: #ffffff;
  --of-modules-ink: #101010;
  --of-modules-muted: #5f625f;
  --of-modules-soft: #f7f6f2;
  --of-modules-card: #333333;
  --of-modules-line: #e5e2db;
  --of-modules-line-neutral: #595959;
  --of-modules-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  --of-modules-focus: #1d4f91;
  background: #ffffff !important;
  color: #101010 !important;
}

.of-modules-page .of-modules-intro,
.of-modules-page .of-modules-directory,
.of-modules-page .of-modules-directory__section,
.of-modules-page .of-core-curriculum-index {
  background: transparent !important;
  color: #101010 !important;
}

body .wp-site-blocks .of-modules-page .wp-block-heading,
.of-modules-page .of-modules-directory :where(li, p) {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
}

.of-modules-page .of-modules-intro p {
  color: #5f625f !important;
  -webkit-text-fill-color: #5f625f !important;
}

.of-modules-page .of-module-list a,
.of-modules-page .of-modules-directory :where(h2, h3, h4) a,
.of-modules-page .of-module-group-label a {
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
}

.of-modules-page .of-module-list a:hover,
.of-modules-page .of-modules-directory :where(h2, h3, h4) a:hover,
.of-modules-page .of-module-group-label a:hover {
  color: #1d4f91 !important;
  -webkit-text-fill-color: #1d4f91 !important;
}

/* H2 curriculum area index transferred from /core-curriculum/. */
.of-modules-page .of-core-curriculum-index {
  margin-top: clamp(48px, 7vw, 72px) !important;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 2px solid #101010;
}

.of-modules-page .of-core-curriculum-index > * {
  margin-block: 0;
}

.of-modules-page .of-core-curriculum-index > * + * {
  margin-top: 0;
}

.of-modules-page .of-core-curriculum-index__eyebrow {
  padding-bottom: 14px;
  color: #5f625f !important;
  -webkit-text-fill-color: #5f625f !important;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.of-modules-page .of-core-curriculum-index h2 {
  padding: 18px 0;
  border-top: 1px solid #e5e2db;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.of-modules-page .of-core-curriculum-index h2:last-child {
  border-bottom: 1px solid #e5e2db;
}

/* Retain the existing dark card language and coloured edge accents. */
body .wp-site-blocks .of-modules-page .of-feature-card {
  border-color: #595959;
  border-left-color: var(--of-card-accent);
  background: #333333 !important;
  color: #f4f4f2 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

body .wp-site-blocks .of-modules-page .of-feature-card .wp-block-heading {
  color: #f4f4f2 !important;
  -webkit-text-fill-color: #f4f4f2 !important;
}

.of-modules-page .of-feature-card__eyebrow,
.of-modules-page .of-feature-card p:not(.of-feature-card__eyebrow, .of-feature-card__link) {
  color: #c7c9c6 !important;
  -webkit-text-fill-color: #c7c9c6 !important;
}

.of-modules-page .of-feature-card__link a,
.of-modules-page .of-feature-card .wp-block-button__link {
  color: #f4f4f2 !important;
  -webkit-text-fill-color: #f4f4f2 !important;
}

.of-modules-page .of-feature-card__link a:hover,
.of-modules-page .of-feature-card .wp-block-button__link:hover {
  color: var(--of-card-on-accent) !important;
  -webkit-text-fill-color: var(--of-card-on-accent) !important;
}


/* Officer Formation Modules rail alignment — 2026-07-13 */
.of-modules-page .of-modules-rail {
  gap: 18px;
}

body .wp-site-blocks .of-modules-page .of-feature-card {
  padding: 24px;
}
