:root {
  --ebc-forest: #1f4b35;
  --ebc-forest-dark: #163827;
  --ebc-leaf: #507451;
  --ebc-sage: #dfe7dc;
  --ebc-sage-soft: #f0f4ed;
  --ebc-cream: #f5f1e7;
  --ebc-sand: #e9dfcb;
  --ebc-clay: #96624d;
  --ebc-ink: #253129;
  --ebc-muted: #667169;
  --ebc-line: #d9ded7;
  --ebc-white: #fffefa;
  --ebc-max: 1180px;
  --ebc-content: 790px;
  --ebc-radius: 6px;
  --ebc-shadow: 0 8px 24px rgba(24, 54, 37, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--ebc-white);
  color: var(--ebc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.ebc-menu-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

a {
  color: var(--ebc-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ebc-clay);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d7a94f;
  outline-offset: 3px;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--ebc-forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 2.5rem);
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 1.85rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1.25em;
}

.ebc-shell {
  width: min(100% - 48px, var(--ebc-max));
  margin-inline: auto;
}

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

.ebc-skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ebc-forest-dark);
  transform: translateY(-150%);
}

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

.ebc-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--ebc-leaf);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ebc-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ebc-forest);
  border-radius: 3px;
  color: #fff;
  background: var(--ebc-forest);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ebc-button:hover {
  border-color: var(--ebc-forest-dark);
  color: #fff;
  background: var(--ebc-forest-dark);
  transform: translateY(-1px);
}

.ebc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.ebc-text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.ebc-text-link:hover::after {
  transform: translateX(3px);
}

/* Cabecera */
.ebc-site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(31, 75, 53, 0.15);
  background: var(--ebc-white);
}

.ebc-header-main {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ebc-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ebc-forest-dark);
  text-decoration: none;
}

.ebc-brand__link:hover {
  color: var(--ebc-forest-dark);
}

.ebc-brand__mark {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--ebc-forest);
  border-radius: 50% 50% 46% 54%;
  color: #fff;
  background: var(--ebc-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ebc-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  width: auto;
  max-width: 260px;
  max-height: 62px;
}

.ebc-nav-bar {
  color: #fff;
  background: var(--ebc-forest-dark);
}

.ebc-nav-inner {
  position: relative;
}

.ebc-primary-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ebc-menu,
.ebc-primary-navigation .menu {
  display: flex;
  min-height: 50px;
  align-items: stretch;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ebc-menu li,
.ebc-primary-navigation .menu li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.ebc-menu > li > a,
.ebc-primary-navigation .menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.ebc-menu > li > a:hover,
.ebc-primary-navigation .menu > li > a:hover,
.ebc-menu > .current-menu-item > a,
.ebc-primary-navigation .menu > .current-menu-item > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ebc-primary-navigation .sub-menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  padding: 8px;
  margin: 0;
  border: 1px solid rgba(31, 75, 53, 0.16);
  border-top: 0;
  background: var(--ebc-white);
  box-shadow: var(--ebc-shadow);
  list-style: none;
}

.ebc-primary-navigation li:hover > .sub-menu,
.ebc-primary-navigation li:focus-within > .sub-menu {
  display: block;
}

.ebc-primary-navigation .sub-menu li,
.ebc-primary-navigation .sub-menu a {
  display: block;
}

.ebc-primary-navigation .sub-menu a {
  padding: 9px 10px;
  color: var(--ebc-ink);
  font-size: 0.88rem;
  text-decoration: none;
}

.ebc-primary-navigation .sub-menu a:hover {
  color: var(--ebc-forest);
  background: var(--ebc-sage-soft);
}

.ebc-menu-toggle,
.ebc-header-search--mobile {
  display: none;
}

.ebc-search-form {
  display: flex;
  width: 100%;
  min-width: 0;
}

.ebc-header-search--desktop {
  width: min(390px, 40vw);
}

.ebc-search-field {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--ebc-line);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  color: var(--ebc-ink);
  background: #fff;
  font-size: 0.88rem;
}

.ebc-search-submit {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--ebc-forest);
  border-radius: 0 3px 3px 0;
  color: #fff;
  background: var(--ebc-forest);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.ebc-search-submit:hover {
  background: var(--ebc-forest-dark);
}

/* Portada */
.ebc-home-intro {
  padding: 42px 0 48px;
  border-bottom: 1px solid rgba(31, 75, 53, 0.11);
  background: var(--ebc-cream);
}

.ebc-home-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.ebc-home-intro__copy h1 {
  max-width: 560px;
  margin-bottom: 16px;
}

.ebc-home-intro__copy > p {
  max-width: 560px;
  color: #4d5a51;
  font-size: 1.07rem;
}

.ebc-home-intro__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 0 26px;
}

.ebc-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 17px;
  border-top: 1px solid rgba(31, 75, 53, 0.16);
}

.ebc-topic-links a {
  color: var(--ebc-forest-dark);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.ebc-topic-links a:hover {
  text-decoration: underline;
}

.ebc-home-feature {
  overflow: hidden;
  border: 1px solid rgba(31, 75, 53, 0.14);
  border-radius: var(--ebc-radius);
  background: var(--ebc-white);
  box-shadow: var(--ebc-shadow);
}

.ebc-home-feature__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
}

.ebc-home-feature__media img,
.ebc-home-feature__media .ebc-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.ebc-home-feature:hover .ebc-home-feature__media img {
  transform: scale(1.018);
}

.ebc-home-feature__body {
  padding: 22px 24px 24px;
}

.ebc-home-feature__body h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
}

.ebc-home-feature__body h2 a {
  color: inherit;
  text-decoration: none;
}

.ebc-home-feature__body p {
  margin-bottom: 0;
  color: var(--ebc-muted);
  font-size: 0.93rem;
}

.ebc-home-section {
  padding-block: clamp(52px, 7vw, 76px);
}

.ebc-home-section--sage {
  background: var(--ebc-sage-soft);
}

.ebc-home-section--sand {
  background: #f6f1e7;
}

.ebc-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

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

/* Tarjetas */
.ebc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.ebc-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--ebc-line);
  border-radius: var(--ebc-radius);
  background: var(--ebc-white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ebc-card:hover {
  border-color: #bcc9bd;
  box-shadow: 0 9px 24px rgba(24, 54, 37, 0.08);
  transform: translateY(-2px);
}

.ebc-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 5px 5px 0 0;
  background: var(--ebc-sage-soft);
}

.ebc-card__media .ebc-image,
.ebc-card__media .ebc-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.ebc-card:hover .ebc-card__media .ebc-image {
  transform: scale(1.02);
}

.ebc-image-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  background: var(--ebc-leaf);
}

.ebc-image-placeholder span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
}

.ebc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 20px 18px;
}

.ebc-card__meta {
  display: flex;
  min-height: 20px;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 10px;
  color: var(--ebc-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ebc-card__meta a {
  color: var(--ebc-leaf);
  text-decoration: none;
}

.ebc-type-label {
  color: var(--ebc-clay);
}

.ebc-card__title {
  margin-bottom: 10px;
  font-size: 1.32rem;
}

.ebc-card__title a {
  color: inherit;
  text-decoration: none;
}

.ebc-card__body > p {
  margin-bottom: 18px;
  color: var(--ebc-muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.ebc-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #edf0eb;
}

.ebc-card__footer time {
  color: var(--ebc-muted);
  font-size: 0.76rem;
}

.ebc-card__footer .ebc-text-link {
  font-size: 0.82rem;
}

/* Archives */
.ebc-archive,
.ebc-search-results,
.ebc-page {
  padding-bottom: 76px;
}

.ebc-archive-header {
  max-width: 830px;
  padding: 42px 0 34px;
}

.ebc-archive-header h1 {
  margin-bottom: 12px;
}

.ebc-archive-header > p,
.ebc-archive-description {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ebc-muted);
  font-size: 1.02rem;
}

.ebc-archive-description > *:last-child {
  margin-bottom: 0;
}

.ebc-card-grid--archive {
  margin-top: 12px;
}

.ebc-taxonomy-children {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 30px;
}

.ebc-taxonomy-children a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid var(--ebc-line);
  border-radius: 3px;
  color: var(--ebc-forest-dark);
  background: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.ebc-taxonomy-children a:hover {
  border-color: var(--ebc-leaf);
}

.ebc-taxonomy-children span {
  color: var(--ebc-muted);
  font-size: 0.73rem;
}

.ebc-empty-state {
  max-width: 700px;
  padding: 34px;
  border: 1px solid var(--ebc-line);
  border-left: 4px solid var(--ebc-leaf);
  background: var(--ebc-sage-soft);
}

.ebc-empty-state h2 {
  font-size: 1.45rem;
}

.ebc-empty-state p:last-child {
  margin-bottom: 0;
}

.navigation.pagination {
  margin-top: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.page-numbers {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  padding: 6px 10px;
  border: 1px solid var(--ebc-line);
  color: var(--ebc-forest-dark);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--ebc-forest);
  color: #fff;
  background: var(--ebc-forest);
}

/* Migas de pan */
.ebc-breadcrumbs {
  padding-top: 18px;
  color: var(--ebc-muted);
  font-size: 0.75rem;
}

.ebc-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ebc-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #9aa39b;
}

.ebc-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

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

/* Single y contenido */
.ebc-single {
  padding-bottom: 76px;
}

.ebc-single-header {
  max-width: 900px;
  padding: 34px 0 26px;
}

.ebc-single-header h1 {
  max-width: 880px;
  margin-bottom: 14px;
}

.ebc-term-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 13px;
}

.ebc-term-links a {
  color: var(--ebc-leaf);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.ebc-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--ebc-muted);
  font-size: 0.82rem;
}

.ebc-byline > * + *::before {
  content: "·";
  margin-right: 16px;
}

.ebc-featured-image {
  overflow: hidden;
  max-height: 560px;
  margin-bottom: 42px;
  border-radius: var(--ebc-radius);
  background: var(--ebc-sage-soft);
}

.ebc-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.ebc-featured-image figcaption {
  padding: 8px 12px;
  color: var(--ebc-muted);
  background: #f5f6f3;
  font-size: 0.76rem;
}

.ebc-content-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--ebc-content)) minmax(250px, 310px);
  align-items: start;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 76px);
}

.ebc-content-column {
  min-width: 0;
}

.ebc-entry-content {
  min-width: 0;
}

.ebc-entry-content > *:first-child {
  margin-top: 0;
}

.ebc-entry-content h2 {
  margin-top: 2em;
  margin-bottom: 0.65em;
}

.ebc-entry-content h3 {
  margin-top: 1.65em;
  margin-bottom: 0.55em;
}

.ebc-entry-content p,
.ebc-entry-content li {
  max-width: 78ch;
}

.ebc-entry-content ul,
.ebc-entry-content ol {
  padding-left: 1.35em;
  margin: 0 0 1.35em;
}

.ebc-entry-content li + li {
  margin-top: 0.34em;
}

.ebc-entry-content blockquote {
  padding: 10px 0 10px 22px;
  margin: 1.75em 0;
  border-left: 4px solid var(--ebc-leaf);
  color: #405046;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.ebc-entry-content blockquote > *:last-child {
  margin-bottom: 0;
}

.ebc-entry-content table {
  width: 100%;
  margin: 1.7em 0;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ebc-entry-content th,
.ebc-entry-content td {
  padding: 10px 12px;
  border: 1px solid var(--ebc-line);
  text-align: left;
  vertical-align: top;
}

.ebc-entry-content th {
  color: #fff;
  background: var(--ebc-forest);
}

.ebc-entry-content tr:nth-child(even) td {
  background: #f7f8f5;
}

.ebc-entry-content img {
  border-radius: 4px;
}

.ebc-entry-content iframe,
.ebc-entry-content video {
  max-width: 100%;
}

.ebc-entry-content pre {
  max-width: 100%;
  overflow: auto;
  padding: 18px;
  background: #edf0ec;
  font-size: 0.85rem;
}

.ebc-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 28px;
}

.ebc-widget {
  padding-top: 18px;
  border-top: 3px solid var(--ebc-forest);
}

.ebc-widget__title {
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ebc-compact-list {
  display: grid;
  gap: 13px;
}

.ebc-compact-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ebc-line);
}

.ebc-compact-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  background: var(--ebc-sage-soft);
}

.ebc-compact-card__media img,
.ebc-compact-card__media .ebc-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebc-compact-card__media .ebc-image-placeholder span {
  width: 34px;
  height: 34px;
  font-size: 0.58rem;
}

.ebc-compact-card span {
  display: block;
  margin-bottom: 3px;
  color: var(--ebc-clay);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ebc-compact-card h3 {
  margin: 0;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: 0;
}

.ebc-compact-card h3 a {
  color: var(--ebc-ink);
  text-decoration: none;
}

.ebc-single-lead {
  color: #4c5a51;
  font-size: 1.03rem;
  line-height: 1.65;
}

.ebc-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--ebc-line);
}

.ebc-post-navigation > div:last-child {
  text-align: right;
}

.ebc-post-navigation a {
  color: var(--ebc-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.ebc-post-navigation span {
  display: block;
  margin-bottom: 3px;
  color: var(--ebc-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ebc-related-section {
  padding-top: 62px;
}

.ebc-related-section + .ebc-related-section {
  margin-top: 58px;
  border-top: 1px solid var(--ebc-line);
}

.ebc-page-article {
  max-width: 980px;
}

.ebc-entry-content--page {
  max-width: 830px;
}

/* Búsqueda y 404 */
.ebc-search-results__form {
  max-width: 620px;
  margin-top: 22px;
}

.ebc-results-count {
  margin: 0 0 20px;
  color: var(--ebc-muted);
  font-size: 0.86rem;
}

.ebc-not-found {
  padding: 90px 0 110px;
}

.ebc-not-found__inner {
  max-width: 740px;
}

.ebc-not-found__inner > p {
  color: var(--ebc-muted);
}

.ebc-not-found .ebc-search-form {
  max-width: 600px;
  margin: 24px 0 20px;
}

/* Pie */
.ebc-site-footer {
  color: #dbe6dd;
  background: var(--ebc-forest-dark);
}

.ebc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 56px;
  padding-block: 52px 46px;
}

.ebc-brand__link--footer {
  color: #fff;
}

.ebc-brand__link--footer:hover {
  color: #fff;
}

.ebc-brand__link--footer .ebc-brand__mark {
  border-color: #aebfaf;
  color: var(--ebc-forest-dark);
  background: #edf3ea;
}

.ebc-footer-brand p {
  max-width: 410px;
  margin: 17px 0 0;
  color: #bfcfc2;
  font-size: 0.9rem;
}

.ebc-footer-section h2 {
  margin-bottom: 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ebc-footer-section ul,
.ebc-footer-menu,
.ebc-legal-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ebc-footer-section li + li {
  margin-top: 7px;
}

.ebc-footer-section a,
.ebc-legal-menu a {
  color: #dbe6dd;
  font-size: 0.86rem;
  text-decoration: none;
}

.ebc-footer-section a:hover,
.ebc-legal-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

.ebc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ebc-footer-bottom__inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.ebc-footer-bottom p {
  margin: 0;
  color: #bfcfc2;
  font-size: 0.78rem;
}

.ebc-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

@media (max-width: 1000px) {
  .ebc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebc-content-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 42px;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16.5px;
  }

  .ebc-shell {
    width: min(100% - 36px, var(--ebc-max));
  }

  .ebc-header-main {
    min-height: 72px;
  }

  .ebc-brand__mark {
    width: 43px;
    height: 43px;
  }

  .ebc-header-search--desktop {
    display: none;
  }

  .ebc-nav-inner {
    width: 100%;
  }

  .ebc-menu-toggle {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 0.87rem;
    font-weight: 700;
    cursor: pointer;
  }

  .ebc-menu-toggle__icon {
    display: grid;
    width: 20px;
    gap: 4px;
  }

  .ebc-menu-toggle__icon span {
    display: block;
    height: 2px;
    background: currentColor;
  }

  .ebc-primary-navigation {
    position: absolute;
    z-index: 40;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding: 10px 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--ebc-forest-dark);
  }

  .ebc-primary-navigation.is-open {
    display: block;
  }

  .ebc-menu,
  .ebc-primary-navigation .menu {
    display: block;
    min-height: 0;
  }

  .ebc-menu li,
  .ebc-primary-navigation .menu li {
    display: block;
  }

  .ebc-menu > li > a,
  .ebc-primary-navigation .menu > li > a {
    min-height: 44px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .ebc-primary-navigation .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 6px 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .ebc-primary-navigation .sub-menu a {
    padding: 8px 4px;
    color: #dce8df;
  }

  .ebc-primary-navigation .sub-menu a:hover {
    color: #fff;
    background: transparent;
  }

  .ebc-header-search--mobile {
    display: block;
    margin-top: 16px;
  }

  .ebc-home-intro__grid {
    grid-template-columns: 1fr;
  }

  .ebc-home-intro__copy {
    max-width: 690px;
  }

  .ebc-content-layout {
    grid-template-columns: 1fr;
  }

  .ebc-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 36px;
    border-top: 1px solid var(--ebc-line);
  }

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

  .ebc-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .ebc-shell {
    width: min(100% - 28px, var(--ebc-max));
  }

  .ebc-header-main {
    min-height: 66px;
  }

  .ebc-brand__mark {
    width: 40px;
    height: 40px;
  }

  .ebc-brand__name {
    font-size: 1.16rem;
  }

  .custom-logo {
    max-width: 220px;
    max-height: 52px;
  }

  .ebc-home-intro {
    padding: 32px 0 38px;
  }

  .ebc-home-intro__actions,
  .ebc-section-heading,
  .ebc-footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ebc-section-heading {
    gap: 10px;
  }

  .ebc-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ebc-card__body {
    padding: 17px;
  }

  .ebc-archive-header {
    padding: 34px 0 26px;
  }

  .ebc-sidebar {
    grid-template-columns: 1fr;
  }

  .ebc-featured-image {
    margin-bottom: 30px;
  }

  .ebc-post-navigation {
    grid-template-columns: 1fr;
  }

  .ebc-post-navigation > div:last-child {
    text-align: left;
  }

  .ebc-entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .ebc-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ebc-footer-brand {
    grid-column: auto;
  }

  .ebc-footer-bottom__inner {
    padding-block: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

