/*
Theme Name: Einfach mental fit
Theme URI: https://einfachmentalfit.de/
Author: Einfach mental fit
Description: Ein ruhiges, bildstarkes WordPress-Theme in warmen Naturtönen für Coaching, Körperarbeit und mentale Gesundheit.
Version: 0.4.1
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: einfach-mental-fit
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, blog
*/

:root {
  --emf-ink: #403b34;
  --emf-ink-soft: #6e665b;
  --emf-cream: #f4efe7;
  --emf-paper: #fbf8f3;
  --emf-sand: #d8cab7;
  --emf-clay: #a66f50;
  --emf-moss: #69705d;
  --emf-deep: #30352d;
  --emf-white: #fffdf9;
  --emf-border: rgba(64, 59, 52, 0.18);
  --emf-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --emf-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --emf-content: 760px;
  --emf-wide: 1180px;
  --emf-gutter: clamp(1.25rem, 4vw, 4rem);
  --emf-radius: 2px;
  --emf-ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--emf-ink);
  background: var(--emf-paper);
  font-family: var(--emf-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--emf-clay); }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  font-family: var(--emf-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(3.35rem, 8vw, 7.8rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
p { margin: 0 0 1.4em; }
::selection { color: var(--emf-white); background: var(--emf-clay); }

.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;
}
.screen-reader-text:focus {
  z-index: 100000; top: .8rem; left: .8rem; width: auto; height: auto;
  padding: .7rem 1rem; clip: auto; color: var(--emf-ink); background: var(--emf-white);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0; left: 0;
  width: 100%;
  color: var(--emf-white);
}
.site-header--solid { position: relative; color: var(--emf-ink); background: var(--emf-cream); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(6rem, 12vw, 9rem);
  padding: 1.25rem var(--emf-gutter);
}
.site-header--returning { color: var(--emf-white); }
.site-header--returning .header-inner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 5.25rem;
  padding-top: .65rem;
  padding-bottom: .65rem;
  background: rgba(48, 53, 45, .96);
  border-bottom: 1px solid rgba(216, 202, 183, .2);
  box-shadow: 0 12px 32px rgba(30, 33, 28, .16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: emf-header-return .48s var(--emf-ease) both;
}
.site-header--returning .custom-logo { max-height: 52px; }
@keyframes emf-header-return {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
.site-branding { position: relative; z-index: 102; max-width: min(66vw, 360px); }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-width: min(62vw, 320px); max-height: 74px; object-fit: contain; }
.site-title {
  display: inline-block;
  color: inherit;
  font-family: var(--emf-serif);
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1;
  text-decoration: none;
}
.site-description { margin: .45rem 0 0; font-size: .66rem; letter-spacing: .19em; text-transform: uppercase; }

.menu-toggle {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-width: 7.5rem;
  padding: .8rem 0 .8rem .8rem;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle__label { font-size: .69rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.menu-toggle__icon { position: relative; display: block; width: 2.4rem; height: 1.25rem; }
.menu-toggle__icon::before,
.menu-toggle__icon::after,
.menu-toggle__icon span {
  position: absolute; right: 0; width: 100%; height: 1px; content: ""; background: currentColor;
  transition: transform .4s var(--emf-ease), top .4s var(--emf-ease), opacity .25s ease;
}
.menu-toggle__icon::before { top: 1px; }
.menu-toggle__icon span { top: 9px; width: 72%; }
.menu-toggle__icon::after { top: 17px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 9px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 9px; transform: rotate(-45deg); }

.menu-panel {
  position: fixed;
  z-index: 101;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  visibility: hidden;
  color: var(--emf-cream);
  background: var(--emf-deep);
  opacity: 0;
  transform: translateY(-1.2rem);
  transition: opacity .35s ease, transform .45s var(--emf-ease), visibility .35s;
}
.menu-panel.is-open { visibility: visible; opacity: 1; transform: none; }
.menu-panel__image {
  min-height: 100%;
  background:
    linear-gradient(140deg, rgba(48,53,45,.1), rgba(48,53,45,.55)),
    radial-gradient(circle at 30% 22%, #a9aa90 0 8%, transparent 9%),
    linear-gradient(145deg, #8f927b, #4f5849 62%, #30352d);
}
.menu-panel__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  padding: clamp(7.5rem, 12vw, 10rem) var(--emf-gutter) 3rem;
}
.menu-panel .menu,
.menu-panel .sub-menu { margin: 0; padding: 0; list-style: none; }
.menu-panel .menu > li { margin-bottom: .35rem; }
.menu-panel .menu a {
  display: inline-block;
  padding: .09em 0;
  color: inherit;
  font-family: var(--emf-serif);
  font-size: clamp(1.8rem, 3.5vw, 3.75rem);
  line-height: 1.06;
  text-decoration: none;
  transition: color .2s ease, transform .3s var(--emf-ease);
}
.menu-panel .sub-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem 1rem;
  max-width: 34rem;
  padding: .15rem 0 .5rem 1.2rem;
  border-left: 1px solid rgba(244,239,231,.3);
}
.menu-panel .sub-menu a {
  padding: .15rem 0;
  font-family: var(--emf-sans);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}
.menu-panel .menu a:hover,
.menu-panel .current-menu-item > a { color: var(--emf-sand); transform: translateX(.35rem); }
.menu-panel__meta { margin-top: auto; padding-top: 2.5rem; color: rgba(255,253,249,.7); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: max(660px, 93svh);
  overflow: hidden;
  color: var(--emf-white);
  background: var(--emf-moss);
  isolation: isolate;
}
.hero--compact { min-height: min(74svh, 760px); }
.hero__media,
.hero__veil { position: absolute; z-index: -2; inset: 0; }
.hero__media {
  background-color: var(--emf-moss);
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}
.hero__media--has-image { background-image: var(--emf-hero-image); }
.hero__media--position-left { background-position: left center; }
.hero__media--position-center { background-position: center center; }
.hero__media--position-right { background-position: right center; }
.hero__media--fallback {
  background:
    radial-gradient(ellipse at 20% 92%, rgba(216,202,183,.9) 0 9%, transparent 10%),
    radial-gradient(ellipse at 37% 85%, rgba(166,111,80,.34) 0 12%, transparent 13%),
    linear-gradient(125deg, #7d806b 0%, #b0a78f 48%, #615f4f 100%);
}
.hero__veil {
  z-index: -1;
  background: linear-gradient(90deg, rgba(34,38,32,.6) 0%, rgba(34,38,32,.2) 58%, rgba(34,38,32,.08)),
              linear-gradient(0deg, rgba(25,28,23,.48), transparent 55%);
}
.hero__content {
  width: min(100%, var(--emf-wide));
  margin: 0 auto;
  padding: clamp(10rem, 24vh, 15rem) var(--emf-gutter) clamp(4rem, 10vh, 7rem);
}
.hero__eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.25rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__eyebrow::before,
.section-kicker::before { width: 2.5rem; height: 1px; content: ""; background: currentColor; }
.hero__title { max-width: 12ch; text-wrap: balance; }
.hero__intro { max-width: 36rem; margin: 1.3rem 0 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.55; }
.hero__scroll { position: absolute; right: var(--emf-gutter); bottom: 3rem; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }

.site-main { overflow: visible; }
.entry-content { padding: clamp(4.5rem, 9vw, 8rem) var(--emf-gutter); }
.entry-content > * { max-width: var(--emf-content); margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: var(--emf-wide); }
.entry-content > .alignfull { max-width: none; margin-right: calc(var(--emf-gutter) * -1); margin-left: calc(var(--emf-gutter) * -1); }
.entry-content p, .entry-content li { font-size: clamp(1.02rem, 1.35vw, 1.16rem); }
.entry-content h2 { margin-top: 1.25em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content blockquote {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--emf-clay);
  font-family: var(--emf-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
}
.entry-content .wp-block-button__link,
.emf-button {
  display: inline-block;
  padding: .95rem 1.5rem;
  color: var(--emf-white);
  background: var(--emf-deep);
  border: 1px solid var(--emf-deep);
  border-radius: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease;
}
.entry-content .wp-block-button__link:hover,
.emf-button:hover { color: var(--emf-deep); background: transparent; }

.emf-content-section { scroll-margin-top: 2rem; }
.emf-content-section + .emf-content-section { margin-top: clamp(5rem, 11vw, 10rem); }
.emf-content-section > :last-child { margin-bottom: 0; }
.emf-content-section h2 { margin-top: 0; }
.emf-lead { font-family: var(--emf-serif); font-size: clamp(1.45rem, 2.7vw, 2.25rem) !important; line-height: 1.35; }
.emf-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.emf-media { margin: 0; overflow: hidden; background: var(--emf-sand); }
.emf-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.emf-media--portrait img { aspect-ratio: 4 / 5; }
.emf-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--emf-border);
  border: 1px solid var(--emf-border);
}
.emf-card { padding: clamp(1.6rem, 3.5vw, 3rem); background: var(--emf-paper); }
.emf-card > span,
.emf-steps article > span { display: block; margin-bottom: 2rem; color: var(--emf-clay); font-size: .7rem; letter-spacing: .18em; }
.emf-card h3 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
.emf-card p:last-child { margin-bottom: 0; }
.emf-story {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem);
  color: var(--emf-cream);
  background: var(--emf-deep);
}
.emf-story__quote { font-family: var(--emf-serif); font-size: clamp(2rem, 4.4vw, 4.3rem); line-height: 1.1; }
.emf-story__quote p { margin: 0; }
.emf-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.emf-offer-card { background: var(--emf-cream); }
.emf-offer-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.emf-offer-card > div { padding: clamp(1.4rem, 3vw, 2.4rem); }
.emf-offer-card > div > p:first-child { margin-bottom: .8rem; color: var(--emf-clay); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.emf-offer-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
.emf-offer-card a { font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.emf-link-list { border-top: 1px solid var(--emf-border); }
.emf-link-list a {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--emf-border);
  text-decoration: none;
}
.emf-link-list span { color: var(--emf-clay); font-size: .7rem; letter-spacing: .15em; }
.emf-link-list strong { font-family: var(--emf-serif); font-size: clamp(1.35rem, 2.5vw, 2.3rem); font-weight: 400; }
.emf-callout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 6rem);
  background: var(--emf-cream);
}
.emf-contact {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--emf-border);
}
.emf-contact address { align-self: end; font-style: normal; }
.emf-check-list { padding: 0; list-style: none; }
.emf-check-list li { position: relative; padding: .65rem 0 .65rem 2rem; border-bottom: 1px solid var(--emf-border); }
.emf-check-list li::before { position: absolute; top: .65rem; left: 0; color: var(--emf-clay); content: "✓"; }
.emf-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: var(--emf-border); }
.emf-steps article { padding: 2rem; background: var(--emf-paper); }
.emf-steps article > span { margin-bottom: 3rem; }
.emf-steps h3 { font-size: 1.55rem; }
.emf-two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 7vw, 7rem); }
.emf-facts { margin: 0; }
.emf-facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--emf-border); }
.emf-facts dt { color: var(--emf-clay); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.emf-facts dd { margin: 0; }

/* WPBakery output: its content wrapper and rows bypass the 760px reading width. */
.entry-content > .wpb-content-wrapper {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}
.entry-content > .vc_row,
.entry-content > .wpb-content-wrapper > .vc_row {
  width: 100%;
  max-width: var(--emf-wide);
  margin-right: auto;
  margin-left: auto;
}
.entry-content > .vc_row[data-vc-full-width="true"],
.entry-content > .wpb-content-wrapper > .vc_row[data-vc-full-width="true"] { max-width: none; }
.vc_row.emf-split,
.vc_row.emf-story,
.vc_row.emf-callout,
.vc_row.emf-contact,
.vc_row.emf-two-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.vc_row.vc_inner.emf-cards,
.vc_row.vc_inner.emf-offer-grid,
.vc_row.vc_inner.emf-steps {
  display: grid;
  margin-right: 0;
  margin-left: 0;
}
.vc_row.vc_inner.emf-cards > .vc_column_container,
.vc_row.vc_inner.emf-offer-grid > .vc_column_container,
.vc_row.vc_inner.emf-steps > .vc_column_container {
  float: none;
  width: 100%;
}
.emf-wpb-grid-item > .vc_column-inner { height: 100%; }
.emf-wpb-grid-item.emf-offer-card > .vc_column-inner { padding: 0; }
.emf-wpb-grid-item.emf-offer-card .wpb_text_column { padding: 0 clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem); }
.emf-wpb-grid-item.emf-offer-card .wpb_single_image { margin-bottom: 0; }
.emf-wpb-button .vc_btn3 {
  padding: .95rem 1.5rem !important;
  border-radius: 0 !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.emf-wpb-image.wpb_single_image .vc_single_image-wrapper,
.emf-wpb-image.wpb_single_image img { width: 100%; }
.emf-wpb-accordion.vc_tta.vc_general .vc_tta-panel-heading {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--emf-border);
  border-radius: 0;
}
.emf-wpb-accordion.vc_tta.vc_general .vc_tta-panel-title {
  font-family: var(--emf-serif);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  font-weight: 400;
}
.emf-wpb-accordion.vc_tta.vc_general .vc_tta-panel-body {
  padding: 1.5rem 1.25rem 2rem;
  background: transparent;
  border: 0;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr);
  gap: clamp(2rem, 7vw, 8rem);
  max-width: var(--emf-wide);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 10rem) var(--emf-gutter);
}
.home-intro__title { max-width: 12ch; }
.home-intro__copy { max-width: 650px; padding-top: .8rem; font-size: clamp(1.15rem, 1.8vw, 1.42rem); }
.home-intro__copy p:last-child { margin-bottom: 0; }
.nature-band {
  min-height: clamp(340px, 56vw, 720px);
  background:
    linear-gradient(rgba(48,53,45,.08), rgba(48,53,45,.18)),
    radial-gradient(ellipse at 18% 84%, #736f59 0 2%, transparent 2.5%),
    radial-gradient(ellipse at 32% 88%, #a9987f 0 4%, transparent 4.5%),
    linear-gradient(155deg, #d8cab7, #8b8b72 58%, #606554);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 9rem);
  width: min(100%, var(--emf-wide));
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 10rem) var(--emf-gutter);
}
.about-gallery { position: relative; min-height: clamp(440px, 55vw, 760px); }
.about-gallery__image {
  position: absolute;
  width: 72%;
  height: 72%;
  object-fit: cover;
}
.about-gallery__image:first-child { top: 0; left: 0; }
.about-gallery__image:nth-child(2) { right: 0; bottom: 0; width: 55%; height: 50%; border: 10px solid var(--emf-paper); }
.about-gallery__placeholder {
  position: absolute; inset: 0 15% 12% 0;
  background: linear-gradient(145deg, var(--emf-sand), #8d8e75);
}
.about-gallery__placeholder::after {
  position: absolute; right: -25%; bottom: -12%; width: 52%; height: 50%;
  content: ""; background: linear-gradient(145deg, #b28b71, var(--emf-moss)); border: 10px solid var(--emf-paper);
}
.about-copy { align-self: center; }
.about-copy .entry-content { padding: 0; }
.about-copy .entry-content > * { max-width: none; }

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--emf-border);
  border-top: 1px solid var(--emf-border);
}
.post-card { padding: clamp(2rem, 5vw, 5rem); background: var(--emf-paper); }
.post-card__meta { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.post-card__title { margin-top: .6rem; font-size: clamp(2rem, 4vw, 3.7rem); }
.post-card__title a { text-decoration: none; }

.site-footer { color: var(--emf-cream); background: var(--emf-deep); }
.footer-cta {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 3rem;
  align-items: end;
  padding: clamp(4rem, 9vw, 8rem) var(--emf-gutter);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-cta__title { max-width: 13ch; font-size: clamp(2.8rem, 6vw, 6.8rem); }
.footer-cta__text { max-width: 28rem; color: rgba(244,239,231,.78); }
.footer-cta .emf-button { color: var(--emf-deep); background: var(--emf-cream); border-color: var(--emf-cream); }
.footer-cta .emf-button:hover { color: var(--emf-cream); background: transparent; }
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem var(--emf-gutter);
}
.footer-widget__title { font-family: var(--emf-sans); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.footer-widget ul { margin: 0; padding: 0; list-style: none; }
.footer-widget a { text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--emf-gutter);
  color: rgba(244,239,231,.62);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-menu { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }

.pagination { padding: 3rem var(--emf-gutter); text-align: center; }
.nav-links { display: flex; justify-content: center; gap: 1rem; }
.page-numbers { padding: .4rem .8rem; text-decoration: none; }
.page-numbers.current { color: var(--emf-white); background: var(--emf-deep); }
.comments-area { max-width: var(--emf-content); margin: 0 auto; padding: 0 var(--emf-gutter) 6rem; }
.comment-list { padding-left: 1.4rem; }
.error-404 { min-height: 70vh; padding: 12rem var(--emf-gutter) 6rem; text-align: center; }

@media (max-width: 850px) {
  .menu-panel { grid-template-columns: 1fr; }
  .menu-panel__image { display: none; }
  .home-intro, .about-layout, .footer-cta { grid-template-columns: 1fr; }
  .emf-split, .emf-story, .emf-callout, .emf-contact, .emf-two-lists { grid-template-columns: 1fr; }
  .vc_row.emf-split > .vc_column_container,
  .vc_row.emf-story > .vc_column_container,
  .vc_row.emf-callout > .vc_column_container,
  .vc_row.emf-contact > .vc_column_container,
  .vc_row.emf-two-lists > .vc_column_container { width: 100%; }
  .vc_row.emf-split,
  .vc_row.emf-story,
  .vc_row.emf-callout,
  .vc_row.emf-contact,
  .vc_row.emf-two-lists { row-gap: clamp(2.5rem, 7vw, 4rem); }
  .emf-offer-grid { grid-template-columns: 1fr; }
  .emf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-gallery { min-height: min(120vw, 680px); order: 2; }
  .post-list { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
  .hero__media--has-mobile-image {
    background-image: var(--emf-hero-image-mobile);
    background-position: center center;
  }
}

@media (max-width: 560px) {
  .menu-toggle { min-width: auto; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .site-header--returning .header-inner { min-height: 4.75rem; }
  .site-header--returning .custom-logo { max-height: 44px; }
  .hero { min-height: 82svh; }
  .hero__scroll { display: none; }
  .footer-widgets { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .emf-cards, .emf-steps { grid-template-columns: 1fr; }
  .emf-story, .emf-callout { padding: 2rem 1.35rem; }
}

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