/*
Theme Name: Elephantheia Clean
Theme URI: https://elephantheia.tech/
Author: Elephantheia
Author URI: https://elephantheia.tech/
Description: Een rustig WordPress block theme voor de Elephantheia marketingwebsite.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
Version: 0.1.37
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elephantheia-clean
Tags: full-site-editing, block-patterns, editor-style, wide-blocks
*/

html {
  background: #111110 !important;
  scroll-behavior: smooth;
}

body {
  background: #111110;
  min-height: 100svh;
}

.wp-site-blocks {
  background: var(--wp--preset--color--sand);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow-x: clip;
  padding-top: 74px;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

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

#contact {
  scroll-margin-top: 96px;
}

.eh-soft-shadow {
  box-shadow: 0 24px 80px rgba(47, 37, 35, 0.08);
}

.eh-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 250, 244, 0.96);
  border-bottom: 1px solid rgba(47, 37, 35, 0.08);
  backdrop-filter: blur(14px);
}

body.admin-bar .eh-site-header {
  top: 32px;
}

.eh-header-inner,
.eh-section-inner,
.eh-footer-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.eh-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.eh-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.eh-wordmark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.eh-wordmark span {
  color: #111110;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.eh-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.8rem;
}

.eh-menu a {
  color: rgba(47, 37, 35, 0.74);
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.eh-menu a:hover {
  color: #d9898d;
}

.eh-hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.3rem;
}

.eh-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #2f2523;
  margin: 5px 0;
  transition: 0.3s;
}

.eh-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #f7efe6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.eh-mobile-nav[hidden] {
  display: none;
}

.eh-mobile-nav a {
  color: #2f2523;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
  text-decoration: none;
}

.eh-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 0;
  color: #2f2523;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

body.eh-menu-open,
body.eh-book-modal-open,
body.eh-contact-modal-open {
  overflow: hidden;
}

.wp-block-button__link,
.wp-element-button {
  border-radius: 999px !important;
  box-sizing: border-box;
  display: inline-block;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 0.85rem 2rem !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  transform: translateY(-2px);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent !important;
  border: 1px solid rgba(47, 37, 35, 0.25) !important;
  color: #5f504b !important;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
  border-color: #d9898d !important;
  color: #d9898d !important;
}

.eh-page-section {
  padding: clamp(4.5rem, 7vw, 7.25rem) 0;
}

.eh-page-section.is-tight-top {
  padding-top: clamp(3.25rem, 5vw, 5rem);
}

.eh-content-template {
  min-height: calc(100svh - 74px - 92px);
}

.eh-content-shell {
  width: min(860px, calc(100% - 64px));
  margin: 0 auto;
}

.eh-content-shell > * + * {
  margin-block-start: 1.35rem;
}

.eh-content-shell .wp-block-post-title,
.eh-content-shell h1 {
  max-width: 12ch;
}

.eh-content-shell .wp-block-post-content {
  margin-block-start: 2rem;
}

.eh-post-list {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.eh-post-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(47, 37, 35, 0.08);
  list-style: none;
  padding: 2rem;
}

.eh-post-list a {
  color: #2f2523;
  text-decoration: none;
}

.eh-card-grid {
  align-items: stretch !important;
}

.eh-book-page {
  background: #f7efe6;
}

.eh-book-page > .wp-block-html {
  width: 100%;
  max-width: none;
}

.eh-book-frame {
  position: relative;
  width: min(1180px, calc(100% - 64px));
  max-width: none !important;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(47, 37, 35, 0.12);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 30px 90px rgba(47, 37, 35, 0.12);
}

.eh-book-frame img {
  display: block;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.eh-book-overlay {
  position: absolute;
  top: 50%;
  left: clamp(28px, 5vw, 72px);
  width: min(410px, 38vw);
  transform: translateY(-50%);
}

.eh-book-overlay > * + * {
  margin-block-start: 1.2rem;
}

.eh-book-kicker {
  color: rgba(47, 37, 35, 0.62);
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eh-book-overlay h1 {
  margin: 0;
  max-width: 10ch;
}

.eh-book-overlay p {
  color: #5f504b;
  max-width: 34rem;
}

.eh-book-page .ehb-button {
  border-radius: 999px !important;
  background: #1f1b17 !important;
  color: #fffaf4 !important;
  display: inline-block;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 0.95rem 2rem !important;
  text-decoration: none;
  text-transform: uppercase;
}

.eh-book-cards {
  width: min(1180px, calc(100% - 64px));
  max-width: none !important;
  margin: clamp(2rem, 4vw, 3.25rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.eh-book-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto 1fr;
  height: 100%;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  border: 1px solid rgba(47, 37, 35, 0.08);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 22px 70px rgba(47, 37, 35, 0.07);
}

.eh-book-card > * {
  margin: 0;
}

.eh-book-card > * + * {
  margin-top: 0.8rem;
}

.eh-book-card h2 {
  font-size: clamp(1.25rem, 0.9rem + 1vw, 1.7rem);
}

.eh-book-card p,
.eh-book-card li {
  color: #766966;
  font-size: 0.98rem;
  line-height: 1.65;
}

.eh-book-card-kicker {
  color: rgba(47, 37, 35, 0.56);
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eh-book-card ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.eh-book-card li + li {
  margin-top: 0.25rem;
}

.eh-book-card-highlight {
  align-self: end;
  color: #2f2523 !important;
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.eh-book-cta-card {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 64px));
  max-width: none !important;
  margin: 1.4rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(47, 37, 35, 0.1);
  border-radius: 8px;
  background: #2f2523;
  color: #fffaf4;
}

.eh-book-cta-card > * {
  margin: 0;
}

.eh-book-cta-card h2 {
  color: #fffaf4;
  font-size: clamp(1.45rem, 1rem + 1.6vw, 2.3rem);
}

.eh-book-cta-card p {
  color: rgba(255, 250, 244, 0.78);
  max-width: 62rem;
}

.eh-book-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.eh-book-cta-card .ehb-button {
  background: #fffaf4 !important;
  color: #2f2523 !important;
  white-space: nowrap;
}

.eh-book-cta-secondary {
  align-items: center;
  border: 1px solid rgba(255, 250, 244, 0.35);
  border-radius: 999px;
  color: #fffaf4;
  display: inline-flex;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.eh-book-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(17, 17, 16, 0.72);
}

.eh-book-modal[hidden] {
  display: none;
}

.eh-book-modal,
.eh-book-modal * {
  box-sizing: border-box;
}

.eh-book-modal-shell {
  position: relative;
  width: min(1180px, 100%);
  height: calc(100svh - clamp(2rem, 8vw, 6rem));
  overflow: hidden;
  border: 1px solid rgba(47, 37, 35, 0.12);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 30px 100px rgba(17, 17, 16, 0.34);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overscroll-behavior: contain;
}

.eh-book-modal-close {
  position: absolute;
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #111110;
  color: #fff;
  cursor: pointer;
  font: 300 2rem/1 Lato, "Helvetica Neue", Arial, sans-serif;
}

.eh-book-modal-close:hover,
.eh-book-modal-close:focus {
  background: #111110;
  outline: 2px solid rgba(217, 137, 141, 0.55);
  outline-offset: 3px;
}

.eh-book-modal-reader {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-top: 3.25rem;
  overscroll-behavior: contain;
}

.eh-book-modal .ehb-book,
.eh-book-modal .ehb-book-toc,
.eh-book-modal .ehb-reader {
  width: 100%;
  max-width: none;
}

.eh-book-modal .ehb-book {
  min-height: min(720px, calc(100svh - 12rem));
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #eadfce;
  background: #fffdf8;
}

.eh-book-modal .ehb-book-toc,
.eh-book-modal .ehb-reader {
  margin: 0;
  border: 1px solid #eadfce;
}

.eh-book-modal .ehb-reader {
  box-shadow: none;
}

.eh-book-modal .ehb-book-cover img {
  max-height: min(50svh, 430px);
  object-fit: contain;
}

.eh-book-modal .ehb-book h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.eh-micro-cta {
  box-sizing: border-box;
  width: min(760px, calc(100% - 64px));
  max-width: none !important;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border: 1px solid rgba(47, 37, 35, 0.1);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 24px 80px rgba(47, 37, 35, 0.08);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.eh-micro-cta h2,
.eh-micro-cta p {
  margin: 0;
}

.eh-micro-cta h2 {
  max-width: 12ch;
}

.eh-micro-cta p {
  color: #766966;
  max-width: 650px;
}

.eh-equal-card {
  min-height: 100%;
}

.eh-equal-card > .wp-block-group {
  height: 100%;
}

.eh-leadership-page {
  background: #f7efe6;
}

.eh-leadership-page > .wp-block-html {
  width: 100%;
  max-width: none;
}

.eh-leadership-page > .eh-page-section,
.eh-leadership-page section {
  width: 100%;
  max-width: none !important;
}

.eh-leadership-hero,
.eh-leadership-page .eh-section-inner,
.eh-leadership-section,
.eh-leadership-final {
  box-sizing: border-box;
  max-width: none !important;
  width: min(760px, calc(100% - 64px));
  margin: 0 auto;
}

.eh-leadership-kicker,
.eh-leadership-label {
  color: #d9898d;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eh-leadership-hero h1 {
  max-width: 10.5ch;
}

.eh-leadership-intro {
  max-width: 680px;
  color: #5f504b;
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.28rem);
}

.eh-leadership-card h2,
.eh-leadership-stage h2,
.eh-leadership-final h2 {
  margin: 0;
}

.eh-leadership-card p,
.eh-leadership-stage p,
.eh-leadership-final p {
  color: #766966;
}

.eh-leadership-final ul {
  padding-left: 1.1rem;
  color: #5f504b;
}

.eh-leadership-section-head {
  max-width: 820px;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.eh-leadership-section-head h2 {
  margin: 0.5rem 0 0;
  max-width: 14ch;
}

.eh-leadership-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.eh-leadership-card,
.eh-leadership-stage {
  border: 1px solid rgba(47, 37, 35, 0.08);
  border-radius: 8px;
  background: #fffaf4;
  box-shadow: 0 22px 70px rgba(47, 37, 35, 0.07);
  padding: clamp(1.4rem, 2.2vw, 2rem);
}

.eh-leadership-card > *,
.eh-leadership-stage > * {
  margin: 0;
}

.eh-leadership-card > * + *,
.eh-leadership-stage > * + * {
  margin-top: 0.75rem;
}

.eh-leadership-stages {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.eh-leadership-stage {
  position: relative;
  flex: 0 0 min(340px, 82vw);
  min-height: 100%;
  scroll-snap-align: start;
}

.eh-leadership-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.4rem;
  right: -1rem;
  width: 1rem;
  height: 1px;
  background: rgba(47, 37, 35, 0.28);
}

.eh-leadership-stage h2 {
  font-size: clamp(1.05rem, 0.93rem + 0.55vw, 1.35rem);
}

.eh-leadership-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #2f2523;
  color: #fffaf4;
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.72rem;
}

.eh-leadership-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  border-radius: 8px;
  background: #d9898d;
  color: #2f2523;
  padding: clamp(2rem, 4vw, 3rem);
}

.eh-leadership-final p,
.eh-leadership-final li,
.eh-leadership-final .eh-leadership-label {
  color: rgba(47, 37, 35, 0.78);
}

.eh-leadership-final h2 {
  color: #2f2523;
}

.eh-footer {
  background: #111110;
  color: #f5f2ec;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
}

.eh-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  flex-wrap: wrap;
  text-align: center;
}

.eh-footer a,
.eh-footer span {
  color: rgba(245, 242, 236, 0.72);
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.eh-footer a:hover {
  color: #f5f2ec;
}

.eh-contact-form {
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  margin: 2rem auto 0;
  width: min(620px, 100%);
  max-width: 100%;
  padding: 0;
}

.eh-contact-form label {
  display: grid;
  gap: 6px;
  color: rgba(245, 242, 236, 0.72);
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eh-contact-form input,
.eh-contact-form textarea {
  box-sizing: border-box;
  border: 1px solid rgba(245, 242, 236, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f2ec;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
  padding: 12px 13px;
  text-transform: none;
  width: 100%;
}

.eh-contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.eh-contact-form button {
  justify-self: center;
  border: 1px solid #d9898d;
  border-radius: 999px;
  background: #d9898d;
  color: #111110;
  cursor: pointer;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 0.85rem 2rem;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.eh-contact-form button:hover {
  transform: translateY(-2px);
}

.eh-form-status {
  color: rgba(245, 242, 236, 0.78);
  font-size: 0.9rem;
  min-height: 1.4em;
  text-align: center;
}

.eh-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(17, 17, 16, 0.62);
}

.eh-contact-modal[hidden] {
  display: none;
}

.eh-contact-modal-box {
  box-sizing: border-box;
  width: min(420px, 100%);
  border: 1px solid rgba(47, 37, 35, 0.12);
  border-radius: 8px;
  background: #fffaf4;
  color: #2f2523;
  box-shadow: 0 30px 100px rgba(17, 17, 16, 0.28);
  padding: clamp(1.5rem, 7vw, 2.4rem);
  text-align: center;
}

.eh-contact-modal-box h3,
.eh-contact-modal-box p {
  margin: 0;
}

.eh-contact-modal-box p {
  color: #766966;
  margin-top: 0.75rem;
}

.eh-contact-modal-close {
  margin-top: 1.35rem;
  border: 1px solid #1f1b17;
  border-radius: 999px;
  background: #1f1b17;
  color: #fffaf4;
  cursor: pointer;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.8rem 1.6rem;
  text-transform: uppercase;
}

.eh-hero-image img {
  filter: drop-shadow(0 28px 54px rgba(141, 73, 86, 0.16));
}

.eh-header {
  border-bottom: 1px solid rgba(47, 37, 35, 0.08);
  backdrop-filter: blur(14px);
}

.eh-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .eh-header-inner,
  .eh-section-inner,
  .eh-footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .eh-header-inner {
    min-height: 66px;
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .eh-menu {
    display: none;
  }

  .eh-hamburger {
    display: block;
  }

  .eh-page-section {
    padding: 3.5rem 0;
  }

  .eh-content-shell {
    width: min(100% - 32px, 860px);
  }

  .eh-book-frame,
  .eh-book-cards {
    width: min(100% - 32px, 1180px);
  }

  .eh-book-frame img {
    min-height: auto;
    aspect-ratio: 4 / 5.4;
    object-position: 74% center;
  }

  .eh-book-overlay {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    transform: none;
    padding: 1rem;
    border: 1px solid rgba(47, 37, 35, 0.1);
    border-radius: 8px;
    background: rgba(255, 250, 244, 0.9);
    backdrop-filter: blur(8px);
  }

  .eh-book-overlay > * + * {
    margin-block-start: 0.75rem;
  }

  .eh-book-overlay h1 {
    max-width: 12ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .eh-book-overlay p {
    color: #4e4540;
    font-size: 1rem;
    line-height: 1.55;
  }

  .eh-book-page .ehb-button {
    width: auto;
    max-width: 100%;
    padding: 0.85rem 1.25rem !important;
  }

  .eh-book-cards {
    grid-template-columns: 1fr;
  }

  .eh-book-card {
    grid-template-rows: auto auto auto;
    height: auto;
    padding: 1.6rem;
  }

  .eh-book-card-highlight {
    align-self: start;
  }

  .eh-book-cta-card {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .eh-book-cta-actions {
    justify-content: flex-start;
  }

  .eh-micro-cta {
    width: min(100% - 32px, 1180px);
  }

  .eh-book-modal {
    padding: 1rem;
  }

  .eh-book-modal-shell {
    height: calc(100svh - 2rem);
    padding: 1rem;
  }

  .eh-book-modal-reader {
    padding-top: 3.5rem;
  }

  .eh-book-modal .ehb-book {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1rem;
    padding: 1rem;
  }

  .eh-book-modal .ehb-book-cover img {
    max-height: 28svh;
  }

  .eh-book-modal .ehb-book h1 {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .eh-book-modal .ehb-subtitle,
  .eh-book-modal .ehb-author {
    font-size: 0.95rem;
  }

  .eh-book-modal .ehb-book-toc {
    padding: 1rem;
  }

  .eh-book-modal .ehb-toc-item a {
    grid-template-columns: 42px 1fr;
    gap: 0.75rem;
    padding: 0.9rem 0;
  }

  .eh-micro-cta {
    width: min(100% - 32px, 760px);
    grid-template-columns: 1fr;
  }

  .eh-leadership-page .eh-section-inner,
  .eh-leadership-hero,
  .eh-leadership-section,
  .eh-leadership-final {
    width: min(100% - 32px, 760px);
  }

  .eh-leadership-hero,
  .eh-leadership-final {
    grid-template-columns: 1fr;
  }

  .eh-leadership-hero .wp-block-buttons,
  .eh-leadership-final .wp-block-button {
    width: 100%;
  }

  .eh-leadership-hero .wp-block-buttons {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
  }

  .eh-leadership-hero .wp-block-button,
  .eh-leadership-final .wp-block-button {
    display: flex;
    justify-content: center;
    margin-inline: auto;
    width: min(100%, 320px);
  }

  .eh-leadership-hero .wp-block-button__link,
  .eh-leadership-final .wp-block-button__link {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .eh-leadership-cards,
  .eh-leadership-stages {
    grid-template-columns: 1fr;
  }

  .eh-leadership-stages {
    gap: 0.9rem;
  }

  .eh-leadership-stage {
    flex-basis: min(285px, 78vw);
    min-height: 260px;
  }

  .eh-leadership-hero h1,
  .eh-leadership-section-head h2 {
    max-width: 100%;
  }
}

@media (max-width: 782px) {
  body.admin-bar .eh-site-header {
    top: 46px;
  }
}

@media (max-width: 520px) {
  .eh-wordmark {
    gap: 0.55rem;
  }

  .eh-wordmark img {
    width: 30px;
    height: 30px;
  }

  .eh-wordmark span {
    font-size: 1.02rem;
  }

  .wp-block-button__link,
  .wp-element-button {
    max-width: 100%;
    text-align: center;
  }

  .eh-contact-form {
    width: 100%;
  }
}
