/*
 * Editorial homepage. Geometry from Figma: desktop node 2042:1500 (1440px), mobile 2151:855 (390px).
 * Tiers:
 * - 1440px and wider: content box is exactly 1440px, centred; backgrounds span the full viewport.
 * - 1180-1439px: the same composition scaled proportionally (percentages, aspect-ratio, vw-based clamp()).
 * - 1024-1179px: desktop composition with the burger menu.
 * - below 1024px: single column, content centred with max-width 720px.
 * Scoped to body.zp-editorial-home so no legacy theme CSS is required.
 */

body.zp-editorial-home {
	margin: 0;
	background: #fcf8f3;
}

.zp-editorial-home {
	--ed-brown: #4a3a31;
	--ed-body: #6f5b4a;
	--ed-sand: #f3ece4;
	--ed-paper: #fcf8f3;
	--ed-white: #fff;
	--ed-line: #efe2d5;
	--ed-field-border: rgba(173, 146, 120, 0.45);
	--ed-accent: #a68b73;
	--ed-tile: #6f5b4a;
	--ed-serif: "Wittgenstein", Georgia, serif;
	--ed-sans: "Rethink Sans", system-ui, sans-serif;
	--ed-ui: "Inter", system-ui, sans-serif;

	background: var(--ed-paper);
	color: var(--ed-brown);
	font-family: var(--ed-sans);
	font-size: 16px;
	line-height: 21px;
}

.zp-editorial-home *,
.zp-editorial-home *::before,
.zp-editorial-home *::after {
	box-sizing: border-box;
}

.zp-editorial-home h1,
.zp-editorial-home h2,
.zp-editorial-home p,
.zp-editorial-home blockquote,
.zp-editorial-home figure,
.zp-editorial-home ul {
	margin: 0;
}

.zp-editorial-home ul {
	padding: 0;
	list-style: none;
}

.zp-editorial-home a {
	color: inherit;
	text-decoration: none;
}

.zp-editorial-home img {
	display: block;
}

.zp-editorial-home .skip-link,
.zp-editorial-home .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Centred content box: exactly 1440px wide on large screens, backgrounds stay full width. */
.zp-editorial-home .ed-inner {
	position: relative;
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
}

/* Header (desktop, 1180px and wider). Figma 2218:1597 */

.zp-editorial-home .ed-header {
	position: relative;
	z-index: 20;
	height: 80px;
	background: var(--ed-paper);
	border-bottom: 1px solid var(--ed-line);
}

.zp-editorial-home .ed-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline: clamp(24px, 4.444vw, 64px);
}

.zp-editorial-home .ed-brand {
	display: flex;
	align-items: center;
	gap: clamp(6px, 0.694vw, 10px);
	color: var(--ed-brown);
}

.zp-editorial-home .ed-brand__logo {
	width: clamp(32px, 3.889vw, 56px);
	height: auto;
	aspect-ratio: 1 / 1;
}

.zp-editorial-home .ed-brand__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.zp-editorial-home .ed-brand__name {
	font-family: var(--ed-sans);
	font-size: clamp(12px, 1.111vw, 16px);
	font-style: italic;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.zp-editorial-home .ed-brand__tagline {
	font-family: var(--ed-sans);
	font-size: clamp(9px, 0.833vw, 12px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.1em;
	color: var(--ed-body);
	white-space: nowrap;
}

.zp-editorial-home .ed-header__toggle {
	display: none;
}

.zp-editorial-home .ed-header__toggle-label--close {
	display: none;
}

.zp-editorial-home .ed-header__icon {
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-header__icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.zp-editorial-home .ed-header__icon--menu {
	display: flex;
}

.zp-editorial-home .ed-header__icon--close {
	display: none;
}

.zp-editorial-home .ed-nav {
	position: relative;
	display: flex;
	align-items: center;
	width: auto;
	margin-left: auto;
	padding-right: 68px;
}

.zp-editorial-home .ed-nav__list {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 40px;
}

.zp-editorial-home .ed-nav__list a {
	display: block;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	font-family: var(--ed-ui);
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
	color: var(--ed-brown);
	white-space: nowrap;
}

.zp-editorial-home .ed-nav__list .current-menu-item > a,
.zp-editorial-home .ed-nav__list .current-menu-ancestor > a {
	border-bottom-color: var(--ed-brown);
}

.zp-editorial-home .ed-lang--mobile {
	display: none;
}

.zp-editorial-home .ed-lang--desktop {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.zp-editorial-home .ed-lang__trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 56px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--ed-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	color: var(--ed-brown);
	cursor: pointer;
}

.zp-editorial-home .ed-lang__code {
	line-height: 1;
}

.zp-editorial-home .ed-lang__chevron {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--ed-brown);
	transition: transform 0.15s ease;
}

.zp-editorial-home .ed-lang__chevron svg {
	width: 16px;
	height: 16px;
	display: block;
}

.zp-editorial-home .ed-lang--desktop.is-open .ed-lang__chevron {
	transform: rotate(180deg);
}

.zp-editorial-home .ed-lang__list {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	z-index: 30;
	min-width: 72px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--ed-paper);
	border: 1px solid var(--ed-line);
	box-shadow: 0 8px 24px rgba(74, 58, 49, 0.08);
}

.zp-editorial-home .ed-lang__list[hidden] {
	display: none;
}

.zp-editorial-home .ed-lang__option {
	display: block;
	padding: 8px 14px;
	font-family: var(--ed-sans);
	font-size: 14px;
	line-height: 20px;
	color: var(--ed-brown);
	white-space: nowrap;
	text-decoration: none;
}

.zp-editorial-home a.ed-lang__option:hover,
.zp-editorial-home a.ed-lang__option:focus-visible {
	background: rgba(0, 0, 0, 0.04);
}

.zp-editorial-home .ed-lang__option.is-current {
	font-family: var(--ed-ui);
	font-weight: 500;
}

.zp-editorial-home .ed-lang__option[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

@media (min-width: 1440px) {
	.zp-editorial-home .ed-nav {
		width: 950px;
	}
}

body.ed-nav-lock {
	overflow: hidden;
}

/* Hero (desktop). Positions are percentages of the 1440px content box. */

.zp-editorial-home .ed-hero {
	background: var(--ed-brown);
	color: var(--ed-white);
}

.zp-editorial-home .ed-hero__inner {
	display: flex;
	justify-content: flex-end;
	height: min(680px, 47.222vw);
	overflow: hidden;
}

.zp-editorial-home .ed-hero__text {
	position: absolute;
	left: 5.556%;
	top: 0;
	width: 46.111%;
	height: 100%;
}

.zp-editorial-home .ed-hero__intro {
	position: absolute;
	left: 0;
	top: 35.294%;
	width: 100%;
	text-align: center;
}

.zp-editorial-home .ed-hero__name {
	width: 84.79%;
	margin: 0 auto;
	font-family: var(--ed-serif);
	font-size: clamp(30px, 3.333vw, 48px);
	font-style: italic;
	font-weight: 800;
	line-height: 1.2917;
}

.zp-editorial-home .ed-hero__quote {
	width: 84.79%;
	margin: clamp(6px, 0.833vw, 12px) auto 0;
	font-family: var(--ed-serif);
	font-size: clamp(18px, 1.944vw, 28px);
	font-style: italic;
	font-weight: 600;
	line-height: 1.3;
	opacity: 0.9;
}

.zp-editorial-home .ed-hero__tags {
	position: absolute;
	left: 0;
	top: 92.647%;
	width: 100%;
	text-align: center;
	font-size: clamp(10px, 0.972vw, 14px);
	font-weight: 700;
	line-height: 1.2857;
	text-transform: uppercase;
}

.zp-editorial-home .ed-hero__media {
	position: relative;
	flex: 0 0 46.111%;
	width: 46.111%;
	height: 100%;
	overflow: hidden;
	border-radius: clamp(4px, 0.556vw, 8px);
}

.zp-editorial-home .ed-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 17%;
}

/* Hero slider: photos and quotes share one grid cell so the block height never changes. */

.zp-editorial-home .ed-hero__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.zp-editorial-home .ed-hero__slide.is-active {
	opacity: 1;
}

.zp-editorial-home .ed-hero__quotes {
	display: grid;
}

.zp-editorial-home .ed-hero__quotes .ed-hero__quote {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.zp-editorial-home .ed-hero__quote.is-active {
	opacity: 0.9;
}

.zp-editorial-home .ed-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 24px;
	z-index: 2;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}

.zp-editorial-home .ed-hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid var(--ed-white);
	border-radius: 50%;
	background: transparent;
	opacity: 0.6;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
	cursor: pointer;
}

.zp-editorial-home .ed-hero__dot.is-active {
	background: var(--ed-white);
	opacity: 1;
}

.zp-editorial-home .ed-hero__dot:focus-visible {
	outline: 2px solid var(--ed-white);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.zp-editorial-home .ed-hero__slide,
	.zp-editorial-home .ed-hero__quote {
		transition: none;
	}
}

/* Mission */

.zp-editorial-home .ed-mission {
	padding-block: clamp(40px, 6.944vw, 100px);
	background: var(--ed-paper);
	text-align: center;
}

.zp-editorial-home .ed-mission__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-inline: clamp(24px, 5.556vw, 80px);
}

.zp-editorial-home .ed-mission__mark {
	width: clamp(24px, 3.087vw, 44.45px);
	height: auto;
	aspect-ratio: 44.45 / 35.42;
	margin-bottom: clamp(12px, 1.667vw, 24px);
}

.zp-editorial-home .ed-mission__quote {
	width: 100%;
	margin-bottom: clamp(10px, 1.389vw, 20px);
	font-family: var(--ed-serif);
	font-size: clamp(18px, 1.944vw, 28px);
	font-weight: 400;
	line-height: 1.3;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-mission__body {
	width: min(62.361vw, 898px);
	max-width: 100%;
	font-size: clamp(14px, 1.111vw, 16px);
	line-height: 1.3125;
	color: var(--ed-body);
}

.zp-editorial-home .ed-mission__body p + p {
	margin-top: 1.3125em;
}

/* Priority sections (desktop). Heights from Figma: n0 637, n1 800, n2 778, n3 637. */

.zp-editorial-home .ed-section {
	position: relative;
}

.zp-editorial-home .ed-section--sand {
	background: var(--ed-sand);
}

.zp-editorial-home .ed-section--paper {
	background: var(--ed-paper);
}

.zp-editorial-home .ed-section__inner {
	display: flex;
	align-items: center;
	gap: 3.889%;
}

.zp-editorial-home .ed-section--n0 .ed-section__inner { aspect-ratio: 1440 / 637; }
.zp-editorial-home .ed-section--n1 .ed-section__inner { aspect-ratio: 1440 / 800; }
.zp-editorial-home .ed-section--n2 .ed-section__inner { aspect-ratio: 1440 / 778; }
.zp-editorial-home .ed-section--n3 .ed-section__inner { aspect-ratio: 1440 / 637; }

.zp-editorial-home .ed-section__media {
	position: relative;
	flex: 0 0 auto;
	align-self: stretch;
	height: auto;
	overflow: hidden;
}

.zp-editorial-home .ed-section__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zp-editorial-home .ed-section--n0 .ed-section__media { width: 39.306%; }
.zp-editorial-home .ed-section--n1 .ed-section__media { width: 39.306%; }
.zp-editorial-home .ed-section--n2 .ed-section__media { width: 37.361%; }
.zp-editorial-home .ed-section--n3 .ed-section__media { width: 38.403%; }

.zp-editorial-home .ed-section--n0 .ed-section__media img { object-position: 50% 44%; }
.zp-editorial-home .ed-section--n1 .ed-section__media img { object-position: 38.6% 50%; }
.zp-editorial-home .ed-section--n2 .ed-section__media img { object-position: 50% 36%; }
.zp-editorial-home .ed-section--n3 .ed-section__media img { object-position: 50% 40.7%; }

.zp-editorial-home .ed-section--photo-right .ed-section__media {
	order: 2;
}

.zp-editorial-home .ed-section__content {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: clamp(12px, 1.667vw, 24px);
}

.zp-editorial-home .ed-section--n0 .ed-section__content,
.zp-editorial-home .ed-section--n2 .ed-section__content {
	margin-right: 5.556%;
}

.zp-editorial-home .ed-section--n1 .ed-section__content,
.zp-editorial-home .ed-section--n3 .ed-section__content {
	margin-left: 5.556%;
}

.zp-editorial-home .ed-section__head {
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 0.833vw, 12px);
}

.zp-editorial-home .ed-section__title {
	font-family: var(--ed-serif);
	font-size: clamp(24px, 2.778vw, 40px);
	font-weight: 800;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-section__lead {
	max-width: min(44.444vw, 640px);
	margin-inline: auto;
	font-size: clamp(14px, 1.111vw, 16px);
	line-height: 1.3125;
	color: var(--ed-body);
}

.zp-editorial-home .ed-section--n0 .ed-section__lead {
	text-align: center;
}

.zp-editorial-home .ed-section--n2 .ed-section__lead {
	max-width: none;
}

.zp-editorial-home .ed-section__quote-block {
	display: flex;
	flex-direction: column;
	gap: clamp(10px, 1.389vw, 20px);
}

.zp-editorial-home .ed-section__quote {
	font-family: var(--ed-serif);
	font-size: clamp(18px, 1.944vw, 28px);
	font-weight: 400;
	line-height: 1.3;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-section__body {
	font-size: clamp(14px, 1.111vw, 16px);
	line-height: 1.3125;
	color: var(--ed-body);
}

.zp-editorial-home .ed-section__body p + p {
	margin-top: 1.3125em;
}

.zp-editorial-home .ed-section__tags {
	max-width: min(46.111vw, 664px);
	margin-inline: auto;
	font-size: clamp(10px, 0.972vw, 14px);
	font-weight: 700;
	line-height: 1.2857;
	text-transform: uppercase;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-hero__tags a:hover,
.zp-editorial-home .ed-hero__tags a:focus-visible,
.zp-editorial-home .ed-section__tags a:hover,
.zp-editorial-home .ed-section__tags a:focus-visible {
	text-decoration: underline;
}

/* Proposal form (desktop). Column sizes in vw are capped at the Figma px values. */

.zp-editorial-home .ed-proposal {
	padding-block: clamp(24px, 2.5vw, 36px);
	background: var(--ed-sand);
}

.zp-editorial-home .ed-proposal__inner {
	display: flex;
	align-items: center;
	gap: min(5.556vw, 80px);
	padding-inline: clamp(24px, 5.556vw, 80px);
}

.zp-editorial-home .ed-proposal__intro {
	width: min(33.333vw, 480px);
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 0.972vw, 14px);
}

.zp-editorial-home .ed-proposal__eyebrow {
	font-size: clamp(10px, 0.972vw, 14px);
	font-weight: 700;
	line-height: 1.2857;
	letter-spacing: 0.143em;
	text-transform: uppercase;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-proposal__title {
	font-family: var(--ed-serif);
	font-size: clamp(24px, 2.778vw, 40px);
	font-weight: 800;
	line-height: 1.225;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-proposal__lead {
	width: min(31.25vw, 450px);
	font-size: clamp(13px, 1.25vw, 18px);
	line-height: 1.5;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-proposal__form {
	position: relative;
	flex: 0 0 auto;
	width: min(50vw, 720px);
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 0.972vw, 14px);
	padding: clamp(14px, 1.667vw, 24px);
	background: var(--ed-paper);
}

.zp-editorial-home .ed-proposal__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.zp-editorial-home .ed-form__row {
	display: flex;
	gap: min(1.111vw, 16px);
}

.zp-editorial-home .ed-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.zp-editorial-home .ed-form__row .ed-form__field {
	flex: 1 1 0;
	min-width: 0;
	height: 68px;
}

.zp-editorial-home .ed-form__field--message {
	width: 100%;
}

.zp-editorial-home .ed-form__label {
	font-size: clamp(11px, 0.903vw, 13px);
	font-weight: 500;
	line-height: 1.3077;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-form__input {
	width: 100%;
	height: 45px;
	padding: 12px 16px;
	border: 1px solid var(--ed-line);
	border-radius: 4px;
	background: var(--ed-white);
	font: inherit;
	font-size: clamp(12px, 0.972vw, 14px);
	line-height: 1.4286;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-form__input::placeholder {
	color: #9e938a;
	opacity: 1;
}

.zp-editorial-home .ed-form__input--textarea {
	height: 80px;
	resize: vertical;
}

.zp-editorial-home .ed-form__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 46px;
}

.zp-editorial-home .ed-form__consent {
	width: min(32.5vw, 468px);
	font-size: clamp(11px, 0.903vw, 13px);
	line-height: 1.3846;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-form__submit {
	flex: 0 0 auto;
	width: 186px;
	height: 46px;
	padding: 14px 28px;
	border: 0;
	border-radius: 4px;
	background: var(--ed-accent);
	font: inherit;
	font-size: clamp(12px, 0.972vw, 14px);
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1.4286;
	color: var(--ed-paper);
	cursor: pointer;
}

.zp-editorial-home .ed-form__submit:disabled {
	cursor: progress;
	opacity: 0.7;
}

.zp-editorial-home .ed-form__status {
	font-size: 14px;
	line-height: 20px;
	color: var(--ed-brown);
}

.zp-editorial-home .ed-form__status--error {
	color: #9b1c1c;
}

/* Footer (desktop) */

.zp-editorial-home .ed-footer {
	padding-block: clamp(24px, 2.917vw, 42px) clamp(16px, 1.667vw, 24px);
	background: var(--ed-brown);
	color: var(--ed-white);
}

.zp-editorial-home .ed-footer a {
	color: var(--ed-white);
}

.zp-editorial-home .ed-footer__wrap {
	display: flex;
	flex-direction: column;
	gap: min(1.528vw, 22px);
	padding-inline: clamp(24px, 5.556vw, 80px);
}

.zp-editorial-home .ed-footer__inner {
	display: flex;
	align-items: flex-start;
	gap: min(3.333vw, 48px);
}

.zp-editorial-home .ed-footer__identity {
	width: min(23.889vw, 344px);
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 0.833vw, 12px);
}

.zp-editorial-home .ed-footer__name {
	font-family: var(--ed-serif);
	font-size: clamp(18px, 1.944vw, 28px);
	font-weight: 800;
	line-height: 1.2857;
}

.zp-editorial-home .ed-footer__roles {
	font-size: clamp(11px, 1.042vw, 15px);
	line-height: 1.5333;
}

.zp-editorial-home .ed-footer__about {
	font-size: clamp(12px, 1.111vw, 16px);
	line-height: 1.4375;
}

.zp-editorial-home .ed-footer__cols {
	display: flex;
	gap: min(3.333vw, 48px);
}

.zp-editorial-home .ed-footer__col {
	width: min(17.778vw, 256px);
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 0.625vw, 9px);
}

.zp-editorial-home .ed-footer__col:first-child {
	width: min(20vw, 288px);
}

.zp-editorial-home .ed-footer__social-col {
	width: min(17.222vw, 248px);
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 0.625vw, 9px);
}

.zp-editorial-home .ed-footer__heading {
	font-size: clamp(13px, 1.25vw, 18px);
	font-weight: 700;
	line-height: 1.3889;
}

.zp-editorial-home .ed-footer__list {
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 0.625vw, 9px);
}

.zp-editorial-home .ed-footer__list a,
.zp-editorial-home .ed-footer__social {
	font-size: clamp(12px, 1.111vw, 16px);
	line-height: 1.4375;
}

.zp-editorial-home .ed-footer__social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.zp-editorial-home .ed-footer__social img {
	width: 16px;
	height: 16px;
}

.zp-editorial-home .ed-footer__sep {
	width: 100%;
	height: 1px;
	background: var(--ed-white);
	opacity: 0.4;
}

.zp-editorial-home .ed-footer__sep--top {
	display: none;
}

.zp-editorial-home .ed-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: clamp(11px, 0.972vw, 14px);
	line-height: 1.4286;
	opacity: 0.5;
}

.zp-editorial-home .ed-footer__legal p {
	width: min(50.694vw, 730px);
}

.zp-editorial-home .ed-footer__legal-links {
	display: flex;
	gap: min(1.944vw, 28px);
}

/* Floating social panel (Figma 2079:2113, desktop only) */

.zp-editorial-home .ed-social-panel {
	position: fixed;
	top: 280px;
	right: 16px;
	z-index: 60;
	width: 52px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--ed-brown);
}

.zp-editorial-home .ed-social-panel__tile {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: var(--ed-tile);
}

.zp-editorial-home .ed-social-panel__tile img,
.zp-editorial-home .ed-social-panel__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.zp-editorial-home .ed-social-panel__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #fff;
}

.zp-editorial-home .ed-social-panel__icon svg {
	stroke: currentColor;
}

/* Burger header (below 1180px). Figma 2152:881 closed, 2221:1602 open */

@media (max-width: 1179px) {
	.zp-editorial-home .ed-header {
		height: 68px;
		border-bottom: 0;
	}

	.zp-editorial-home .ed-header.is-open {
		border-bottom: 1px solid var(--ed-line);
	}

	.zp-editorial-home .ed-header__inner {
		position: relative;
		z-index: 22;
		max-width: none;
		padding: 12px 24px;
		background: var(--ed-paper);
	}

	.zp-editorial-home .ed-brand {
		gap: 10px;
	}

	.zp-editorial-home .ed-brand__logo {
		width: 40px;
	}

	.zp-editorial-home .ed-brand__text {
		gap: 4px;
	}

	.zp-editorial-home .ed-brand__name {
		font-family: var(--ed-sans);
		font-size: 16px;
		font-style: italic;
		font-weight: 700;
		line-height: 1.25;
		letter-spacing: 0.96px;
	}

	.zp-editorial-home .ed-brand__tagline {
		font-family: var(--ed-sans);
		font-size: 12px;
		font-weight: 400;
		line-height: 1.25;
		letter-spacing: 1.2px;
	}

	.zp-editorial-home .ed-header__toggle {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
		min-width: 88px;
		height: 44px;
		padding: 0;
		border: 0;
		background: none;
		font-family: var(--ed-sans);
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
		color: var(--ed-brown);
		cursor: pointer;
	}

	.zp-editorial-home .ed-header.is-open .ed-header__toggle-label--open,
	.zp-editorial-home .ed-header.is-open .ed-header__icon--menu {
		display: none;
	}

	.zp-editorial-home .ed-header.is-open .ed-header__toggle-label--close {
		display: inline;
	}

	.zp-editorial-home .ed-header.is-open .ed-header__icon--close {
		display: flex;
	}

	.zp-editorial-home .ed-header.is-open .ed-header__toggle {
		min-width: 96px;
	}

	.zp-editorial-home .ed-nav {
		position: fixed;
		top: 68px;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 21;
		width: auto;
		margin: 0;
		padding: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		overflow: auto;
		background: var(--ed-paper);
	}

	.zp-editorial-home .ed-header.is-open .ed-nav {
		display: flex;
	}

	/* Figma 2221:1602 — Pagini top-aligned; Alege limba pinned to frame bottom (y=716/800). */
	.zp-editorial-home .ed-nav__list {
		flex: 0 0 auto;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		height: auto;
		max-height: calc(100% - 84px);
		overflow: auto;
		padding: 24px 24px 24px;
	}

	.zp-editorial-home .ed-nav__list > li {
		flex: 0 0 auto;
		border-bottom: 1px solid var(--ed-line);
	}

	.zp-editorial-home .ed-nav__list a {
		display: flex;
		align-items: center;
		width: 100%;
		height: 60px;
		padding: 0;
		border-bottom: 0;
		font-family: var(--ed-ui);
		font-size: 17px;
		font-weight: 500;
		line-height: 24px;
	}

	.zp-editorial-home .ed-nav__list .current-menu-item > a,
	.zp-editorial-home .ed-nav__list .current-menu-ancestor > a {
		border-bottom: 0;
	}

	.zp-editorial-home .ed-lang--desktop {
		display: none;
	}

	.zp-editorial-home .ed-lang--mobile {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		flex-shrink: 0;
		align-items: center;
		justify-content: space-between;
		height: 84px;
		margin-top: 0;
		padding: 0 24px;
		border-top: 1px solid var(--ed-line);
		background: var(--ed-paper);
	}

	.zp-editorial-home .ed-lang__label {
		font-family: var(--ed-sans);
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
		color: var(--ed-brown);
	}

	.zp-editorial-home .ed-lang__pills {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.zp-editorial-home .ed-lang__pill {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 4px;
		border: 1px solid var(--ed-line);
		font-family: var(--ed-sans);
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
		color: var(--ed-brown);
	}

	.zp-editorial-home .ed-lang__pill.is-current {
		border-color: transparent;
		background: var(--ed-brown);
		font-family: var(--ed-ui);
		font-weight: 500;
		color: var(--ed-paper);
	}

	.zp-editorial-home .ed-lang__pill[aria-disabled="true"] {
		cursor: not-allowed;
	}
}

/* Single column below 1024px. Content centred, max-width 720px, values from the 390px Figma frame. */

@media (max-width: 1023px) {
	.zp-editorial-home .ed-inner {
		max-width: 720px;
	}

	.zp-editorial-home .ed-header__inner.ed-inner {
		max-width: none;
	}

	/* Hero */

	.zp-editorial-home .ed-hero__inner {
		height: auto;
		aspect-ratio: auto;
		overflow: visible;
		display: block;
	}

	.zp-editorial-home .ed-hero__media {
		position: relative;
		left: auto;
		top: auto;
		width: 100%;
		height: auto;
		aspect-ratio: 390 / 356;
		border-radius: 0;
	}

	.zp-editorial-home .ed-hero__media img {
		object-position: 50% 18%;
	}

	.zp-editorial-home .ed-hero__text {
		position: static;
		width: 100%;
		height: auto;
		max-width: 720px;
		margin-inline: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 14px;
		padding: 36px 24px 32px;
		text-align: center;
	}

	.zp-editorial-home .ed-hero__intro {
		position: static;
		transform: none;
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	.zp-editorial-home .ed-hero__name {
		width: 100%;
		margin: 0;
		font-size: 36px;
		line-height: 45px;
	}

	.zp-editorial-home .ed-hero__quote {
		width: 100%;
		margin: 0;
		font-size: 22px;
		line-height: 28px;
	}

	.zp-editorial-home .ed-hero__tags {
		position: static;
		width: 100%;
		font-size: 12px;
		line-height: 18px;
	}

	/* Mission */

	.zp-editorial-home .ed-mission {
		padding: 40px 24px;
	}

	.zp-editorial-home .ed-mission__inner {
		padding-inline: 0;
	}

	.zp-editorial-home .ed-mission__mark {
		width: 44.45px;
		height: 45px;
		aspect-ratio: auto;
		object-fit: contain;
		margin-bottom: 16px;
	}

	.zp-editorial-home .ed-mission__quote {
		margin-bottom: 16px;
		font-size: 22px;
		line-height: 28px;
	}

	.zp-editorial-home .ed-mission__body {
		width: 100%;
		font-size: 16px;
		line-height: 24px;
	}

	.zp-editorial-home .ed-mission__body p + p {
		margin-top: 24px;
	}

	/* Priority sections */

	.zp-editorial-home .ed-section__inner {
		aspect-ratio: auto !important;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.zp-editorial-home .ed-section__media {
		order: 0 !important;
		width: 100% !important;
		height: auto;
		aspect-ratio: 390 / 278;
		max-height: 520px;
	}

	.zp-editorial-home .ed-section__media img {
		object-position: 50% 38%;
	}

	.zp-editorial-home .ed-section--n1 .ed-section__media img {
		object-position: 0% 50%;
	}

	.zp-editorial-home .ed-section--n2 .ed-section__media img {
		object-position: 50% 34%;
	}

	.zp-editorial-home .ed-section--n3 .ed-section__media img {
		object-position: 50% 38%;
	}

	.zp-editorial-home .ed-section__content {
		margin: 0 !important;
		gap: 14px;
		padding: 28px 24px 36px;
	}

	.zp-editorial-home .ed-section__head {
		gap: 14px;
	}

	.zp-editorial-home .ed-section__title {
		font-size: 30px;
		line-height: 37px;
	}

	.zp-editorial-home .ed-section__lead {
		max-width: none;
		font-size: 16px;
		line-height: 24px;
	}

	.zp-editorial-home .ed-section__quote-block {
		gap: 14px;
	}

	.zp-editorial-home .ed-section__quote {
		font-size: 22px;
		line-height: 28px;
	}

	.zp-editorial-home .ed-section__body {
		font-size: 16px;
		line-height: 24px;
	}

	.zp-editorial-home .ed-section__body p + p {
		margin-top: 24px;
	}

	.zp-editorial-home .ed-section__tags {
		max-width: none;
		font-size: 13px;
		line-height: 20px;
		text-transform: none;
	}

	/* Proposal */

	.zp-editorial-home .ed-proposal {
		padding: 36px 24px;
	}

	.zp-editorial-home .ed-proposal__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding-inline: 0;
	}

	.zp-editorial-home .ed-proposal__intro {
		width: 100%;
		gap: 24px;
	}

	.zp-editorial-home .ed-proposal__eyebrow {
		font-size: 12px;
		line-height: 18px;
		letter-spacing: 0;
	}

	.zp-editorial-home .ed-proposal__title {
		font-size: 31px;
		line-height: 39px;
	}

	.zp-editorial-home .ed-proposal__lead {
		width: auto;
		font-size: 16px;
		line-height: 24px;
	}

	.zp-editorial-home .ed-proposal__form {
		width: 100%;
		padding: 18px;
		gap: 14px;
	}

	.zp-editorial-home .ed-form__row {
		flex-direction: column;
		gap: 14px;
	}

	.zp-editorial-home .ed-form__row .ed-form__field {
		flex: none;
		width: 100%;
		height: auto;
	}

	.zp-editorial-home .ed-form__field--message {
		width: 100%;
	}

	.zp-editorial-home .ed-form__label {
		font-size: 14px;
		line-height: 20px;
	}

	.zp-editorial-home .ed-form__input {
		height: 48px;
		padding: 12px;
		border: 1px solid var(--ed-field-border);
		border-radius: 3px;
		font-size: 14px;
		line-height: 20px;
	}

	.zp-editorial-home .ed-form__input--textarea {
		height: 112px;
	}

	.zp-editorial-home .ed-form__foot {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		gap: 14px;
	}

	.zp-editorial-home .ed-form__consent {
		width: 100%;
		font-size: 13px;
		line-height: 19px;
	}

	.zp-editorial-home .ed-form__submit {
		width: 100%;
		height: 48px;
		padding: 12px 16px;
		border-radius: 3px;
		background: var(--ed-brown);
		color: var(--ed-white);
		font-size: 14px;
		line-height: 20px;
	}

	/* Footer */

	.zp-editorial-home .ed-footer {
		padding: 32px 24px 24px;
	}

	.zp-editorial-home .ed-footer__wrap {
		padding-inline: 0;
		gap: 24px;
	}

	.zp-editorial-home .ed-footer__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.zp-editorial-home .ed-footer__identity {
		width: 100%;
		gap: 8px;
	}

	.zp-editorial-home .ed-footer__name {
		font-size: 28px;
		line-height: 34px;
	}

	.zp-editorial-home .ed-footer__roles,
	.zp-editorial-home .ed-footer__about {
		font-size: 15px;
		line-height: 22px;
	}

	.zp-editorial-home .ed-footer__sep--top {
		display: block;
	}

	.zp-editorial-home .ed-footer__cols {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 18px;
		width: 100%;
	}

	.zp-editorial-home .ed-footer__col,
	.zp-editorial-home .ed-footer__col:first-child {
		width: auto;
		gap: 10px;
	}

	.zp-editorial-home .ed-footer__heading {
		font-size: 16px;
		line-height: 23px;
	}

	.zp-editorial-home .ed-footer__list {
		gap: 10px;
	}

	.zp-editorial-home .ed-footer__list a {
		font-size: 15px;
		line-height: 22px;
	}

	.zp-editorial-home .ed-footer__social-col {
		width: 100%;
		gap: 8px;
	}

	.zp-editorial-home .ed-footer__social-col .ed-footer__heading {
		font-size: 16px;
		line-height: 24px;
	}

	.zp-editorial-home .ed-footer__list--social {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
	}

	.zp-editorial-home .ed-footer__list--social .ed-footer__social {
		font-size: 14px;
		line-height: 24px;
		gap: 6px;
	}

	.zp-editorial-home .ed-footer__social img {
		width: 16px;
		height: 16px;
	}

	.zp-editorial-home .ed-footer__legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		font-size: 13px;
		line-height: 19px;
		opacity: 1;
	}

	.zp-editorial-home .ed-footer__legal p {
		width: auto;
	}

	.zp-editorial-home .ed-footer__legal-links {
		gap: 18px;
	}

	.zp-editorial-home .ed-social-panel {
		display: none;
	}
}
