:root {
  color-scheme: light;
  --black: #050504;
  --ink: #191713;
  --cream: #f1ede1;
  --cream-deep: #e8dfcc;
  --muted: #80776b;
  --gold: #b58048;
  --white: #fffaf0;
  --page-gutter: clamp(4rem, 7vw, 8.75rem);
  --content-max-width: 78rem;
  --wide-max-width: 100rem;
  --content-inset: max(var(--page-gutter), calc((100vw - var(--content-max-width)) / 2));
  --inner-width: min(var(--content-max-width), calc(100% - (var(--page-gutter) * 2)));
  --nav-size: .72rem;
  --label-size: .68rem;
  --body-size: .96rem;
  --hero-title-size: 5.4rem;
  --section-title-size: 3.6rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--black);
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

body,
button,
input,
select,
textarea { font: inherit; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

body.ecdc-site,
body.ecdc-site .site,
body.ecdc-site .site-content,
body.ecdc-site .content-area,
body.ecdc-site .site-main,
body.ecdc-site .inside-article,
body.ecdc-site .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.ecdc-site .site-content { display: block; }
body.ecdc-site .entry-content > * { margin-block: 0; }
body.ecdc-site .entry-content > :where(:not(.alignwide):not(.alignfull):not(.ecdc-page)) {
  width: min(48rem, calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}
body.ecdc-site .entry-content > .alignwide { width: var(--inner-width); margin-inline: auto; }
body.ecdc-site .entry-content p { margin-block: 0 1.2rem; }
body.ecdc-site .entry-content figure { margin-bottom: 0; }
body.ecdc-site .entry-content :where(ul, ol) { margin-block: 0 1.5rem; }
body.ecdc-site .site-info { display: none; }

/* 404: branded, centered and independent from GeneratePress defaults. */
body.error404 .site-content {
  display: grid;
  min-height: clamp(30rem, 58svh, 44rem);
  background: var(--cream);
}

body.error404 .content-area,
body.error404 .site-main {
  display: grid;
}

body.error404 .inside-article {
  display: grid;
  width: min(52rem, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(5rem, 10vh, 8.5rem) 0;
  align-content: center;
  justify-items: center;
  background: transparent;
  text-align: center;
}

body.error404 .entry-header::before {
  display: block;
  margin-bottom: 1.75rem;
  color: var(--gold);
  content: "ERROR 404";
  font-size: var(--label-size);
  font-weight: 760;
  letter-spacing: .42em;
  line-height: 1;
}

body.error404 .entry-title {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .94;
}

body.error404 .entry-content,
body.error404 .entry-content:not(:first-child) {
  display: grid;
  justify-items: center;
  gap: 2.25rem;
  margin: 2.25rem 0 0;
}

body.error404 .entry-content p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  line-height: 1.75;
}

body.error404 .entry-content p a {
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease;
}

body.error404 .entry-content p a:hover,
body.error404 .entry-content p a:focus-visible {
  border-color: var(--ink);
  color: var(--gold);
}

body.error404 .search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.75rem;
  width: min(100%, 32rem);
  margin: 0;
}

body.error404 .search-form label { margin: 0; }

body.error404 .search-field,
body.error404 .search-field:focus {
  width: 100%;
  height: 3.75rem;
  padding: 0 1.25rem;
  border: 1px solid rgb(25 23 19 / 22%);
  border-right: 0;
  border-radius: 0;
  background: rgb(255 250 240 / 56%);
  color: var(--ink);
  box-shadow: none;
  outline-offset: -3px;
}

body.error404 .search-field::placeholder { color: var(--muted); opacity: 1; }

body.error404 .search-submit {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease;
}

body.error404 .search-submit:hover,
body.error404 .search-submit:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
}

body.error404 .search-submit .gp-icon { margin: 0; }

.ecdc-page { overflow: clip; }
.ecdc-page.alignfull,
.ecdc-page > .alignfull {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.ecdc-page > * { margin-block: 0; }

.entry-content > :where(h1, h2, h3, h4, h5, h6),
.editor-styles-wrapper :where(h1, h2, h3, h4, h5, h6) {
  margin-block: 0 1.25rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.entry-content h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.entry-content h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.entry-content h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }

.wp-block-columns { gap: clamp(2rem, 5vw, 6rem); }
.wp-block-buttons { gap: 1rem; }
.wp-block-image figcaption {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .1em;
}
.wp-block-navigation__container { margin-block: 0 !important; }
.wp-block-separator { border: 0; border-top: 1px solid currentColor; opacity: .25; }

.is-style-kicker,
.kicker {
  margin: 0 0 1.3rem !important;
  color: var(--gold);
  font-size: var(--label-size);
  font-weight: 760;
  letter-spacing: .42em;
  line-height: 1;
  text-transform: uppercase;
}

.is-style-editorial-note { color: var(--muted); line-height: 1.65; }

.wp-block-button.is-style-text-link .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: var(--label-size);
  font-weight: 800;
  letter-spacing: .28em;
  line-height: 1;
  text-align: start;
  text-transform: uppercase;
}

.wp-block-button.is-style-text-link { line-height: 0; }
.wp-block-button.is-style-text-link .wp-block-button__link > span:last-child {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: 0;
}
.wp-block-button.is-style-text-link .wp-block-button__link::after {
  display: inline-block;
  width: 1.05rem;
  height: 1px;
  margin-left: 1.15rem;
  background: var(--gold);
  content: "";
}

.wp-block-button.is-style-text-link .wp-block-button__link:hover { text-decoration: none; }
.wp-block-button.is-style-text-link .wp-block-button__link:hover > span:first-child { text-decoration: underline; text-underline-offset: .45em; }
.wp-block-button.is-style-dark-cta .wp-block-button__link { background: var(--ink); color: var(--white); }

.is-style-surface-cream { background: var(--cream); color: var(--ink); }
.is-style-surface-dark { background: var(--black); color: var(--white); }

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: var(--white);
  font-size: 1.72rem;
}

.brand__line {
  display: block;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.brand__wordmark { display: grid; flex: 0 0 4.5em; width: 4.5em; gap: .16em; }
.brand__line { width: 100%; aspect-ratio: 1493 / 296; }
.brand__line--first { -webkit-mask-image: url('../images/brand/wordmark-first-line.webp'); mask-image: url('../images/brand/wordmark-first-line.webp'); }
.brand__line--second { -webkit-mask-image: url('../images/brand/wordmark-second-line.webp'); mask-image: url('../images/brand/wordmark-second-line.webp'); }

.ecdc-site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
  padding: clamp(2.1rem, 4.1vh, 3rem) var(--content-inset) 0;
  background: transparent;
  color: var(--white);
}

/* The Navigation block adds flex layout and repeats its custom class on the
   generated list. Keep the public header on the same two-column grid as the
   source instead of allowing the block wrapper to shrink to its contents. */
.ecdc-site-header.wp-block-group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

body.ecdc-header-light .ecdc-site-header {
  position: relative;
  padding-bottom: 2rem;
  background: #f6f3ea;
  color: var(--ink);
}

.ecdc-site-header .brand { color: inherit; }
.ecdc-site-header__nav {
  width: 100%;
  justify-self: end;
  padding-top: .22rem;
  font-size: var(--nav-size);
  font-weight: 760;
  letter-spacing: .46em;
  line-height: 1;
  white-space: nowrap;
}
.ecdc-site-header > .ecdc-site-header__nav > .wp-block-navigation__responsive-container { width: 100%; }
.ecdc-site-header__nav .wp-block-navigation__container {
  width: 100%;
  justify-content: flex-end;
  gap: clamp(2rem, 3.8vw, 4.6rem);
  padding: 0;
}
.ecdc-site-header__nav .wp-block-navigation-item__content { color: inherit; }
.ecdc-site-header .wp-block-navigation__responsive-container-open,
.ecdc-site-header .wp-block-navigation__responsive-container-close { color: inherit; }
.ecdc-site-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--black); color: var(--white); padding: 2rem; }
.ecdc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; padding-top: 5rem; }
.ecdc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; font-size: 1.4rem; }

.global-footer {
  overflow: hidden;
  padding-top: clamp(4rem, 6vw, 6rem);
  background: #090a08;
  color: var(--cream);
}
.global-footer__inner { width: var(--inner-width) !important; max-width: none !important; margin: 0 auto !important; }
.global-footer__inner > *,
.global-footer__top > *,
.global-footer__brands > *,
.global-footer__guardianes > *,
.global-footer__navigation > *,
.global-footer__bottom > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.global-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  padding: 0 0 clamp(2.75rem, 4vw, 4rem);
}
.global-footer__brands { display: flex; align-items: center; gap: clamp(2rem, 3.4vw, 4rem); min-width: 0; }
.global-footer__primary-brand { flex: 0 0 auto; }
.global-footer .brand { color: inherit; font-size: clamp(2rem, 2.6vw, 3rem); }
.global-footer__primary-brand p,
.global-footer__guardianes p { margin: 0 !important; font-size: .55rem; font-weight: 700; letter-spacing: .34em; line-height: 1.5; }
.global-footer__primary-brand p { margin-top: 1.25rem !important; color: rgb(241 237 225 / 72%); }
.global-footer__brand-divider { flex: 0 0 1px; width: 1px !important; height: 6rem; margin: 0 !important; border: 0; background: rgb(181 128 72 / 55%); }
.global-footer__guardianes { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.global-footer__guardianes-logo { flex: 0 0 auto; width: clamp(7.5rem, 9vw, 10rem); margin: 0 !important; opacity: .82; }
.global-footer__guardianes-logo img { width: 100%; height: auto; }
.global-footer__guardianes p { max-width: 9rem; color: var(--gold); letter-spacing: .28em; }
.global-footer__claim { padding-bottom: .35rem; }
.global-footer__claim p { margin: 0 0 .65rem !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 2.4vw, 2.8rem); letter-spacing: -.035em; line-height: 1; }
.global-footer__claim p:last-child { margin: 0 !important; color: rgb(241 237 225 / 72%); font-size: 1rem; letter-spacing: normal; }
.global-footer__navigation { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding: 0 0 2rem; border-bottom: 1px solid rgb(241 237 225 / 24%); }
.global-footer__nav .wp-block-navigation__container,
.global-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: clamp(1.5rem, 3vw, 3.75rem); }
.global-footer__navigation,
.global-footer__bottom { font-size: .59rem; font-weight: 700; letter-spacing: .25em; line-height: 1.6; text-transform: uppercase; }
.global-footer__navigation a,
.global-footer__back-to-top { transition: color 180ms ease; }
.global-footer__navigation a:hover,
.global-footer__navigation a:focus-visible,
.global-footer__back-to-top:hover,
.global-footer__back-to-top:focus-visible { color: #d1a066; }
.global-footer__navigation > .wp-block-buttons { flex: 0 0 auto; margin: 0; }
.global-footer .wp-block-button.is-style-text-link.global-footer__contact .wp-block-button__link { gap: 0; color: #d1a066; font-size: .66rem; font-weight: 700; letter-spacing: inherit; line-height: 1.6; text-transform: uppercase; }
.global-footer .wp-block-button.is-style-text-link.global-footer__contact .wp-block-button__link::after { display: none; }
.global-footer .wp-block-button.is-style-text-link.global-footer__contact .wp-block-button__link span { margin-left: 1rem; color: inherit; font-size: 1rem; letter-spacing: 0; }
.global-footer__bottom { display: grid; grid-template-columns: minmax(15rem, 1fr) auto auto; gap: clamp(2rem, 5vw, 6rem); align-items: end; padding: 2rem 0 2.5rem; color: rgb(241 237 225 / 66%); font-size: .53rem; letter-spacing: .2em; }
.global-footer__copyright p,
.global-footer__legal p,
.global-footer__bottom > p { margin: 0 !important; }
.global-footer__copyright p + p { margin-top: .55rem !important; }
.global-footer__legal { justify-content: end; gap: 1.75rem; color: rgb(241 237 225 / 80%); }
.global-footer__back-to-top { color: rgb(241 237 225 / 80%); white-space: nowrap; }
.global-footer__back-to-top span { margin-left: .75rem; color: var(--white); font-size: .9rem; letter-spacing: 0; }

@media (min-width: 90rem) {
  :root { --page-gutter: clamp(6.8rem, 7.4vw, 9.5rem); --nav-size: .78rem; --label-size: .72rem; --body-size: 1.02rem; --hero-title-size: 6.6rem; --section-title-size: 4.3rem; }
}

@media (min-width: 105rem) {
  :root { --page-gutter: 10rem; --content-max-width: 92rem; --nav-size: .82rem; --label-size: .76rem; --body-size: 1.08rem; --hero-title-size: 7.35rem; --section-title-size: 4.85rem; }
}

@media (max-width: 1100px) {
  .ecdc-site-header,
  .ecdc-site-header.wp-block-group { grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; }
  .ecdc-site-header .brand { font-size: 1.25rem; }
  .ecdc-site-header__nav { letter-spacing: .2em; }
  .ecdc-site-header__nav .wp-block-navigation__container { gap: 1.5rem; }
}

@media (max-width: 1000px) {
  .global-footer__top { grid-template-columns: 1fr; gap: 2.75rem; }
  .global-footer__claim { width: min(100%, 22rem); justify-self: end; }
  .global-footer__bottom { grid-template-columns: 1fr auto; }
  .global-footer__legal { grid-column: 1 / -1; grid-row: 2; justify-content: start; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .ecdc-site-header__nav {
    font-size: .6rem;
    letter-spacing: .14em;
  }
  .ecdc-site-header__nav .wp-block-navigation__container { gap: 1rem; }
}

@media (max-width: 760px) {
  :root { --page-gutter: 1.5rem; }
  .ecdc-site-header,
  .ecdc-site-header.wp-block-group { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.8rem var(--content-inset) 0; }
  body.ecdc-header-light .ecdc-site-header { padding-bottom: 2rem; }
  .global-footer__top { padding-bottom: 3rem; }
  .global-footer__brands { display: grid !important; grid-template-columns: 1fr; gap: 2rem; }
  .global-footer__brand-divider { width: 3rem !important; height: 1px; }
  .global-footer__claim { justify-self: start; }
  .global-footer__navigation { align-items: start; flex-direction: column; gap: 2.25rem; }
  .global-footer__nav .wp-block-navigation__container { display: grid; grid-template-columns: repeat(2, max-content); gap: 1rem 2rem; }
  .global-footer__bottom { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .global-footer__legal { grid-column: auto; grid-row: auto; justify-content: start; gap: .9rem 1.5rem; }
}

@media (max-width: 640px) {
  .brand { font-size: 1rem; }
  .ecdc-site-header__nav { display: none !important; }
  .global-footer .brand { font-size: 2rem; }
  .global-footer__guardianes-logo { width: 7rem; }
  .global-footer__navigation,
  .global-footer__bottom { font-size: .52rem; letter-spacing: .18em; }
  body.error404 .site-content { min-height: 32rem; }
  body.error404 .inside-article { width: calc(100% - (var(--page-gutter) * 2)); padding: 4.5rem 0 5rem; }
  body.error404 .entry-header::before { margin-bottom: 1.25rem; }
  body.error404 .entry-title { font-size: clamp(3rem, 15vw, 4.4rem); }
  body.error404 .entry-content,
  body.error404 .entry-content:not(:first-child) { gap: 1.75rem; margin-top: 1.75rem; }
}
