/* wit_fundacja_kontakt.css – FIX: full‑bleed obrazków po prawej (desktop) */
/* Data: 2025-08-13 */

:root {
  --green: #28eaa9;
  --green-hover: #2419aa;
  --red: #2419aa;
  --black: #000;
  --white: #fff;
  --gray-line: #dcd0ba;
  --footer-green: #28eaa9;
  --footer-dark-green: #22c693;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Outfit", sans-serif;
  color: var(--black);
  background-color: var(--white);
  font-size: 18px;
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1280px; margin: 0 auto; width: 80%; }
.narrow-container { max-width: 1050px; }

/* SEKCJA 1 - HEADER */
header { background-color: #d6bf89; padding: 20px 0; }
.header-content { display: flex; justify-content: space-between; align-items: center; font-size: 24px; padding-bottom: 30px; padding-top: 22px; }
.logo img { height: 50px; }
.logo a img { content: url('../img/logo_wit_fundacja_extended.png'); transition: content 0s; }
.logo a:hover img { content: url('../img/logo_wit_hover.png'); }
.logo-download { width: 25%; height: auto; display: block; margin-bottom: 10px; }

nav a { margin: 0 12px; padding: 10px 22px; color: var(--black); }
nav a:hover { text-decoration: underline; }
nav .kontakt { background-color: #2419aa; color: #fff; border-radius: 0; }
nav .kontakt:hover { background-color: #fff; color: #000; text-decoration: none; }
nav .en { color: #000; }
nav .en:hover { text-decoration: underline; }
nav a[href="/fundacja"], nav a.fundacja-link { color: #fff; }
nav a[href="/fundacja"]:hover, nav a.fundacja-link:hover { color: #fff; text-decoration: underline; }

.separator {
  height: 1px;
  background-color: #b49d68;
  width: 100%;
}

.form-status { border:3px solid #f2e4cf; padding:28px; text-align:center; background:#fff; }
.form-status__img { max-width:220px; height:auto; display:block; margin:0 auto 16px; }
.form-status.ok { border-color:#22c693; }
.form-status.error { border-color:#2419aa; }

/* SEKCJA 2 - HERO */
.hero { background-color: #f6ead4; text-align: center; padding: 60px 0 40px 0; }
.hero h1 { font-size: 75px; line-height: 1.3; font-family: "Bodoni Moda", serif; font-weight: normal; }
.hero .highlight { font-family: "Outfit", sans-serif; font-weight: 100; color: #000; }

/* SEKCJA 2 - STATS */
.stats { display: flex; background-color: #f6ead4; justify-content: space-between; flex-wrap: wrap; text-align: center; padding: 30px 0 90px 0; gap: 20px; font-size: 18px !important; }
.stats > .container { display: flex; flex-wrap: wrap; justify-content: space-between; text-align: center; gap: 20px; }
.stat { flex: 1 1 180px; max-width: 220px; }
.stat strong { display: block; font-size: 55px; margin-bottom: 12px; font-family: "Bodoni Moda", sans-serif; font-weight: 600; }

/* SEKCJA 3 - IMAGE */
.top-banner { width: 100%; display: block; overflow: hidden; }
.top-banner img { width: 100%; height: auto; display: block; }

.project-tiles-flex { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-top: 70px; }
.project-column-left { flex: 2 1 60%; margin-bottom: 20px; }
.project-column-right { flex: 1 1 30%; }
.project-column-right .project-tile { margin-bottom: 30px; }

.privacy-policy { background-color: #fff; font-size: 18px; line-height: 1.6; }
.privacy-policy h2 { font-size: 28px; margin-bottom: 20px; font-family: "Bodoni Moda", serif; }
.privacy-policy p { margin-bottom: 16px; }

.safe-email { color: inherit; text-decoration: underline; font-weight: 500; transition: text-decoration 0.2s ease; }
.safe-email:hover { text-decoration: none; }

/* === Ludzie – bio osoby === */
.person-bio .person-name {
  font-size: 24px;
  margin-bottom: 4px;
}

.person-bio .person-role {
  font-weight: 600;
  margin-bottom: 16px;
}

.person-bio p {
  line-height: 1.7;
}

.person-bio .person-subheading {
  margin-top: 22px;
  margin-bottom: 10px;
}

.person-bio .person-list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  line-height: 1.7;
}

.person-bio .person-list li + li {
  margin-top: 6px;
}

/* === LUDZIE – NOWY UKŁAD === */

.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 40px;
  padding: 40px 0 80px 0;
  margin-bottom: -90px;
}

.person-card {
  border: 3px solid #d6bf89;
  padding: 28px;
  text-align: left;
}

.person-card img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  margin-top: 0px;
}

.person-card h4 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
}

.person-card p {
  margin-bottom: 14px;
  line-height: 1.6;
}

.person-card ul {
  margin: 0;
  padding-left: 18px;
}

.person-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* MOBILE */
@media (max-width: 900px) {
  .people-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .person-card img {
    margin: 0 auto 20px auto;
  }

  .person-card {
    text-align: left;
  }

  .person-card ul {
    text-align: left;
    display: inline-block;
  }
}

/* Linie tylko w kolumnie tekstowej w blokach osób */
.split-section.praca .split-text{
  position: relative;
  padding-top: 28px;   /* trochę miejsca nad tekstem, żeby linia nie kleiła się do liter */
  padding-bottom: 28px;
}

@media (max-width: 900px) {
  .project-tiles-flex { flex-direction: column; }
  .project-column-left, .project-column-right { flex: 1 1 100%; }
}

/* UNIWERSALNY PRZYCISK CTA */
.cta-button { background-color: #f6ead4; color: var(--black); padding: 12px 15px; font-weight: 600; display: inline-block; text-decoration: none !important; font-size: 18px; margin-top: 10px; }
.cta-button:hover { background-color: #2419aa; color: #fff; text-decoration: none !important; }

/* SEPARATOR NAD STOPKĄ */
.footer-separator { height: 1px; background-color: var(--gray-line); width: 100%; }

.newsletter-box { background-color: #ffffff; border: 3px solid #000; margin: 70px auto 70px auto; padding: 40px 20px; max-width: 1210px; width: 100%; box-sizing: border-box; }
.newsletter-box-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.newsletter-text { flex: 1 1 300px; margin-left: 80px; }
.newsletter-text p { font-size: 18px; }
.newsletter-form { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 14px; flex: 1 1 300px; justify-content: flex-start; margin-right: 5px; align-items: center; margin-top: -2px; margin-bottom: 0; padding: 10px; }
.newsletter-form input[type="email"] { padding: 12px 26px; font-size: 18px; font-family: "Outfit", sans-serif; border: 3px solid #dfc6a2; background-color: #fff; height: 50px; line-height: 50px; border-radius: 0; width: 300px; max-width: 100%; }
.newsletter-form button { height: 50px; line-height: 50px; width: auto; padding: 12px 30px; font-size: 18px; font-weight: 600; font-family: "Outfit", sans-serif; background-color: #e7d6ad; color: #000; border: none; cursor: pointer; transition: background-color 0.3s; border-radius: 0; display: flex; align-items: center; justify-content: center; }
.newsletter-form button:hover { background-color: #2419aa; color: #fff; }
.newsletter-box.container { max-width: 960px; margin: 60px auto; padding: 40px 20px; border: 3px solid #e7d6ad; background-color: #fff; box-sizing: border-box; }
.narrow-container { max-width: 760px; }

/* Responsywność newslettera */
@media (max-width: 768px) {
  .newsletter-box { padding: 26px 26px; margin: 40px auto 40px auto; width: 90%; }
  .newsletter-text { margin-left: 0; margin-bottom: 12px; width: 100%; text-align: left; }
  .newsletter-form { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; margin: 0; padding: 0; }
  .newsletter-form input[type="email"], .newsletter-form button { width: 100%; height: 48px; font-size: 18px; }
  .newsletter-form button { margin-top: 0; }
}

/* FOOTER */
footer { font-size: 18px !important; }
.footer-top { background-color: #e7d6ad; padding: 25px 0; }
.footer-top-content { display: flex; justify-content: space-between; align-items: center; }
.footer-logo img { height: 50px; }
.social-icons { display: flex; gap: 8px; }
.social-icons a { display: inline-block; }
.social-icons img { height: 40px; transition: filter 0.3s; }
.social-icons img:hover { filter: brightness(0) invert(1); }
.footer-bottom { background-color: #d6bf89; padding: 30px 0; }
.footer-links-row { display: flex; flex-direction: column; text-align: center; display: flex; flex-wrap: wrap; gap: 26px; }
.footer-row { display: flex; gap: 14px; }
.footer-links { font-size: 23px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px; flex-direction: column; text-align: center; margin-bottom: 80px; align-items: flex-start; }
.footer-links a { text-decoration: none; color: var(--black); font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-links .fundacja { color: #fff; }
.footer-links .pdf { text-decoration: underline; }
.footer-links .pdf:hover { text-decoration: none; }
.footer-links .en { color: #000; }

/* ====== O NAS (3 bloki) ====== */

/* 1) HERO – beż */
.onas-hero {
  background: #f6ead4;
  padding: 70px 0 60px 0;
}

.onas-hero__inner p:first-child {
  font-weight: 700;
  margin-bottom: 36px;
}
.onas-hero__inner p {
  line-height: 1.7;
  margin-bottom: 14px;
}

/* 2) FEATURES – białe tło, siatka 2 kolumny */
.onas-features {
  background: #ffffff;
  padding: 70px 0 80px 0;
}
.onas-features__inner { }
.onas-features__intro p:first-child {
  font-weight: 700;
  margin-bottom: 30px;
}
.onas-features__intro p {
  line-height: 1.7;
  margin-bottom: 35px;
}

/* siatka: 2 kolumny na desktopie */
.onas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 40px;
}

/* kafel: obrazek nad tekstem (jak na grafice) */
.onas-card {
  background: #fff;
  border: 3px solid #e3d6b0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.onas-card__image img {
  width: 100%;
  height: auto;
  display: block;
}
.onas-card__text p:first-child {
  font-weight: 700;
  margin-bottom: 18px;
  margin-top: 18px;
}
.onas-card__text p {
  line-height: 1.7;
}

/* 3) PEOPLE – inny odcień tła */
.onas-people {
  background: #e7d6ad; /* drugi, ciemniejszy beż jak w stopce */
  padding: 70px 0 70px 0;
}
.onas-people__inner p:first-child {
  font-weight: 700;
  margin-bottom: 35px;
}
.onas-people__inner p {
  line-height: 1.7;
}

/* linia tylko w kolumnie tekstowej, skrócona do 20% */
.split-section.praca .split-grid {
  position: relative;
}

.split-section.praca .split-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;               /* tylko 20% szerokości */
  height: 3px;
  background: #000;
}

/* pierwsza sekcja bez linii */
.split-section.praca:first-of-type .split-grid::before {
  content: none;
}

/* Mobile – chowamy linie */
@media (max-width: 900px) {
  .split-section.praca .split-grid::before {
    display: none;
  }
}

/* RWD */
@media (max-width: 900px) {
  .onas-hero, .onas-features, .onas-people { padding-left: 0; padding-right: 0;}
  .onas-grid { grid-template-columns: 1fr; gap: 26px; }
  .container.onas-hero__inner,
  .container.onas-features__inner,
  .container.onas-people__inner { width: 90%; }
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .footer-links { flex-direction: column; align-items: center; gap: 16px; }
  .footer-links a { width: 100%; }
  .footer-row { flex-wrap: wrap; justify-content: flex-start; gap: 14px; }
}

/* SPECYFICZNIE dla NASZ WIT */
.footer-links a[href="/fundacja"] { color: #fff; }
.footer-links a[href="/fundacja"]:hover { color: #fff; text-decoration: underline; }

/* Cookies + logo row */
.footer-bottom-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-top: 26px; gap: 30px; }
.footer-cookies { flex: 1; max-width: 700px; font-size: 18px !important; }
.footer-cookies p { margin: 5px 0; }
.footer-cookies .cookie-link, .footer-cookies .privacy-link { text-decoration: underline; }
.footer-cookies .cookie-link:hover, .footer-cookies .privacy-link:hover { text-decoration: none; }
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 200px;
  text-align: right;
  flex-direction: row; /* <-- kluczowe */
}

.footer-legal img {
  height: 28px;
  margin-top: 10px;
}

.footer-legal .footer-flags {
  height: 28px;
  margin-right: 15px;
}

.footer-legal a img {
  height: 28px;
  transition: filter 0.3s;
  margin-top: 0;
  margin-top: 15px;
}

.footer-legal a img:hover {
  filter: brightness(0) invert(1);
}

/* ===== KONTAKT ===== */
.kontakt-section { background:#fff; padding: 70px 0; }
/* base grid: two columns, define areas */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch; grid-template-areas: "left right"; }
.kontakt-left { grid-area: left; }
.kontakt-right { grid-area: right; }

.kontakt-left h2 { font-family: "Bodoni Moda", serif; font-size: 42px; margin-bottom: 14px; }
.kontakt-left p { line-height: 1.6; margin-bottom: 14px; }
.kontakt-left .gray-line { height:3px; background:#dcd0ba; width:100%; margin: 20px 0; }
.kontakt-address { font-style: normal; line-height: 1.7; }
.kontakt-form { display:flex; flex-direction:column; gap:30px; padding: 0; background:#fff; }
.kontakt-form label { display:flex; flex-direction:column; gap:8px; font-weight:600; }
.kontakt-form input, .kontakt-form textarea { font-family:"Outfit", sans-serif; font-size:18px; padding:12px 14px; border:3px solid #dfc6a2; background:#fff; border-radius:0; }
.kontakt-form textarea { resize:vertical; min-height:160px; }
.kontakt-form .privacy-note { font-size:14px; line-height:1.4; margin-top:6px; }
.kontakt-form .privacy-link { text-decoration: underline; }
.kontakt-form .privacy-link:hover { text-decoration: none; }
.kontakt-form .btn-send { background:#f6ead4; border:none; padding:14px 20px; font-size:18px; cursor:pointer; }
.kontakt-form .btn-send:hover { background:#2419aa; color:#fff; }

/* Przywrócenie podkreślenia i ikonki PDF */
.kontakt-address a {
  text-decoration: underline;
}
.kontakt-address a:hover {
  text-decoration: none;
}

.pdf-link {
  background: url("../img/pdf_ikona.png") no-repeat left center;
  background-size: 16px auto;
  padding-left: 24px;
  padding-right: 0;
}

/* RWD KONTAKT */
@media (max-width: 900px) {
  .kontakt-section { padding: 40px 0; margin-bottom: 20px;}
  .kontakt-grid { grid-template-columns: 1fr; gap: 34px; grid-template-areas: "left" "right"; }
  .kontakt-form { gap: 16px; }
  .kontakt-form input, .kontakt-form textarea { font-size: 16px; padding: 12px; }
  .kontakt-form .btn-send { width: 100%; }
  .logo-download { width: 55%; max-width: 260px; }
}

/* ===== PRACA / WOLONTARIAT ===== */
/* Desktop: full‑bleed zdjęć po prawej */
.split-section{position:relative;width:100%;overflow:hidden;}
.split-section.praca{background:#f6ead4;}
.split-section.wolontariat{background:#284b7b;color:#fff;}
.split-grid{ display:grid; grid-template-columns:minmax(0,640px) 1fr; width:80%; max-width:1280px; margin:0 auto; align-items:stretch; }
.split-text{ padding:12px 70px 14px 0; margin-top: 40px; margin-bottom: 40px; line-height: 1.7; }
.split-image-wrap{
  grid-column:2;
  position:relative;
  overflow:hidden;
  /* stała wysokość, żeby obraz miał co wypełniać */
  min-height: clamp(220px, 36vw, 320px);
  /* magia: obrazek „dociągnięty” do prawej krawędzi viewportu */
  margin-right: calc((100vw - min(1280px,80vw))/ -2);
}
.split-image{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }

/* Tablet tweak */
@media (max-width: 1200px) {
  .split-text { padding-right: 32px; }
}

/* Mobile: kolumny pod sobą, bez full‑bleed */
@media (max-width:900px){
  .split-grid{grid-template-columns:1fr;width:90%;max-width:none;grid-template-areas:"image" "text";}
  .split-section.praca .split-grid{grid-template-areas:"text" "image";}
  .split-text{padding:14px 0; margin-top:32px; margin-bottom:32px;}
  .split-image-wrap{position:relative;margin-right:0;min-height:auto;}
  .split-image{position:static;width:100%;height:auto;object-fit:cover;}
}

.section-projects-tiles { padding: 30px 0; background-color: #fff; margin-top: 40px; }
.project-tiles-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.project-tile { flex: 1 1 calc(33.333% - 20px); background-color: #fff; border: 3px solid #f2e4cf; padding: 24px; font-size: 18px; min-height: 380px; display: flex; justify-content: center; align-items: center; text-align: left; box-sizing: border-box; }
.project-tile img.tile-image { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.tile-text { font-size: 18px; line-height: 1.6; }
.project-tile.highlight-border { border: 3px solid #d5de23; }
.project-tile.border-volunteer { border: 3px solid #f2e4cf; }
.project-tile.border-projekty { border: 3px solid #f2e4cf; }

@media (max-width: 900px) {
  .project-tiles-grid { flex-direction: column; }
  .project-tile { flex: 1 1 100%; min-height: auto; }
}

/* HAMBURGER + MOBILE MENU */
.hamburger { background: none; border: none; font-size: 64px; cursor: pointer; display: none; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #f6ead4; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; padding: 40px 20px; gap: 30px; }
.mobile-menu a { font-size: 54px; font-family: "Outfit", sans-serif; text-decoration: none; color: var(--black); line-height: 0.7; }
.mobile-menu a:hover { text-decoration: underline; }
.mobile-menu.open { display: flex; }
.close-mobile { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 64px; cursor: pointer; padding-right: 30px; }
.mobile-menu-header { width: 100%; background-color: #f6ead4; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; position: absolute; top: 0; left: 0; }
.mobile-menu-header .mobile-logo { padding-left: 28px; padding-top: 23px; }
.mobile-logo img { height: 50px; }
.link-en { color: #2419aa !important; }
.link-wit { color: #00d7a1 !important; }

/* Responsive for mobile */
@media (max-width: 900px) {
  header { padding: 12px 0; }
  header .separator { display: none; }
  .header-content { padding-top: 10px; padding-bottom: 26px; }
  .desktop-nav { display: none; }
  .hamburger { display: block; }
  .stats, .footer-top-content { flex-direction: column; align-items: center; text-align: center; }
  .container { width: 90%; }
  .footer-bottom-content { flex-direction: column; gap: 30px; }
  .footer-links-row { gap: 20px; }
  .footer-bottom-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-cookies, .footer-legal { max-width: 100%; align-items: center; text-align: center; }
  .footer-logo { display: none; }
  .footer-links { flex-direction: column; align-items: center; gap: 6px; }
  .footer-links a { display: block; text-align: center; width: 100%; }
  .footer-links a + a::before { content: none; }
  .hero h1 { font-size: 58px; line-height: 1.2; }
  .stats { font-size: 18px !important; padding: 20px 0 60px 0; }
  .stat strong { font-size: 40px; margin-bottom: 8px; }
}
@media (max-width: 900px) {
  .logo-download-box { display: none; }
}
/* MOBILE: zdjęcie NAD tekstem (pokazuj zdjęcia) */
/* MOBILE: w sekcji osób (praca) zdjęcie NAD tekstem */
@media (max-width: 900px){
  .split-section.praca .split-grid{
    grid-template-columns: 1fr;         /* jedna kolumna */
    grid-template-areas: "image" "text";/* kolejność: zdjęcie -> tekst */
    width: 90%;
    max-width: none;
  }

  .split-section.praca .split-image-wrap{
    grid-area: image;
    display: block;
    position: relative;
    margin: 0 0 14px 0;                 /* odstęp pod zdjęciem */
    min-height: auto;                    /* kasuje clamp z desktopu */
    margin-right: 0;                     /* kasuje full-bleed */
  }

  .split-section.praca .split-image{
    position: static;                    /* normalny przepływ */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .split-section.praca .split-text{
    grid-area: text;
    padding: 0;                          /* węższe marginesy na tel. */
    margin: 8px 0 32px 0;
    line-height: 1.6;
  }
}

/* ===========================================================
   NOWE MENU MOBILNE WIT — wariant beżowy z projektu graficznego
   Tylko ekrany <= 900px; desktop pozostaje nietknięty.
   =========================================================== */
@media (max-width: 900px) {
  .mobile-menu.mobile-menu--editorial {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    padding: 0;
    gap: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    color: #000;
    background: linear-gradient(to bottom, #d2bf8c 0%, #d2bf8c 21%, #e8dec3 35%, #fff 62%, #fff 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.mobile-menu--editorial.open { display: flex; }

  .mobile-menu--editorial .mobile-menu-header {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    width: 100%;
    min-height: 150px;
    padding: 36px 7.5% 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: transparent;
  }

  .mobile-menu--editorial .mobile-menu-header .mobile-logo {
    padding: 0;
    margin: 0;
  }

  .mobile-menu--editorial .mobile-logo a { display: block; line-height: 1; }
  .mobile-menu--editorial .mobile-logo img {
    height: clamp(38px, 10vw, 54px);
    width: auto;
    display: block;
    filter: brightness(0);
  }

  .mobile-menu--editorial .close-mobile {
    position: static;
    flex: 0 0 auto;
    padding: 0;
    margin: -8px 0 0;
    border: 0;
    color: #000;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: clamp(46px, 12vw, 66px);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-menu--editorial .close-mobile:hover { color: #000; opacity: .65; }

  .mobile-menu--editorial .mobile-menu-body {
    width: 100%;
    padding: 0 5% 38px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-menu--editorial .mobile-menu-primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: clamp(36px, 7vh, 70px) 7% clamp(34px, 6vh, 60px);
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }

  .mobile-menu--editorial .mobile-menu-primary a {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
    font-size: clamp(38px, 9.2vw, 70px);
    font-weight: 750;
    line-height: 1.14;
    color: #000;
    text-decoration: none;
    letter-spacing: -.025em;
  }

  .mobile-menu--editorial .mobile-menu-secondary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(35px, 6vh, 70px) 7% 0;
  }
  .mobile-menu--editorial .mobile-menu-secondary a {
    display: block;
    color: #000;
    font-family: "Outfit", sans-serif;
    font-size: clamp(21px, 5.5vw, 34px);
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
  }
  .mobile-menu--editorial .mobile-menu-primary a:hover,
  .mobile-menu--editorial .mobile-menu-secondary a:hover {
    color: #2419aa;
    text-decoration: none;
  }

  .mobile-menu--editorial .mobile-menu-legal {
    margin-top: auto;
    padding: clamp(40px, 7vh, 85px) 7% 0;
    font-family: "Outfit", sans-serif;
    font-size: clamp(11px, 2.7vw, 14px);
    font-weight: 650;
    line-height: 1.35;
  }
  .mobile-menu--editorial .mobile-menu-legal p { margin: 0 0 14px; }
  .mobile-menu--editorial .mobile-menu-legal a {
    display: inline;
    font-size: inherit;
    color: #000;
    text-decoration: underline;
    line-height: inherit;
  }
  .mobile-menu--editorial a:focus-visible,
  .mobile-menu--editorial button:focus-visible { outline: 3px solid #2419aa; outline-offset: 4px; }
}

@media (max-width: 900px) and (max-height: 690px) {
  .mobile-menu--editorial .mobile-menu-header { min-height: 105px; padding-top: 24px; padding-bottom: 18px; }
  .mobile-menu--editorial .mobile-menu-primary { padding-top: 24px; padding-bottom: 24px; }
  .mobile-menu--editorial .mobile-menu-secondary { padding-top: 24px; }
  .mobile-menu--editorial .mobile-menu-legal { padding-top: 35px; }
}
