/* Shared parts of the inner pages (Alliance Partners, Corporate Accounts and so on). Loaded together with home.css. */
.es-hero--page { min-height: min(70vh, 620px); }
.es-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-textblock .es-body { max-width: 68ch; }
.es-photo--wide { aspect-ratio: 4 / 3; }
.es-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.es-features .es-card h3 { font-size: 22px; line-height: 1.2; margin: 0 0 12px; }
.es-features .es-card p { font-size: 16px; line-height: 1.55; }
.es-features .es-card a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.es-features .es-card a:hover { color: var(--es-white); }
.es-features--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.es-linkline { margin: 22px 0 0; font-size: 17px; line-height: 1.5; }
.es-linkline a { color: var(--es-lime); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 900px) { .es-features, .es-features--two { grid-template-columns: 1fr; } }

/* A model used without its own headline (the page has one above it) */
.es-section--headless { padding-top: 0; margin-top: calc(-1 * clamp(8px, 1.5vw, 20px)); }
.es-section--headless .es-steps { margin-top: 28px; }

/* Products */
.es-plancards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.es-plancards .es-card h3 { font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.es-plancards .es-card p { font-size: 16px; line-height: 1.5; }
.es-card--recommended { border-color: var(--es-green); box-shadow: 0 0 0 1px var(--es-green); }
.es-tag { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 3px; background: var(--es-green); color: var(--es-ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; vertical-align: middle; text-transform: none; }
.es-twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.es-twocol .es-card h3 { font-size: 22px; margin: 0 0 6px; }
.es-notelike { font-size: 16px; }
.es-tablewrap { position: relative; margin-top: 32px; overflow-x: auto; border: 1px solid var(--es-card-line); border-radius: 4px; }
.es-tbl { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.es-tbl th, .es-tbl td { padding: 14px 16px; border-bottom: 1px solid var(--es-card-line); text-align: center; vertical-align: middle; }
.es-tbl thead th { position: sticky; top: 0; background: var(--es-card); color: var(--es-lime); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.es-tbl tbody th[scope="row"] { text-align: left; font-weight: 400; min-width: 280px; }
.es-tbl thead th:first-child { text-align: left; }
.es-tbl .es-tbl-group th { text-align: left; background: var(--es-card); color: var(--es-lime); font-weight: 800; padding-top: 18px; }
.es-tbl td span[aria-hidden] { color: var(--es-green); font-size: 20px; font-weight: 800; }
@media (max-width: 900px) { .es-plancards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .es-twocol { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .es-plancards { grid-template-columns: 1fr; } }

/* EUDR */
.es-hero--plain { min-height: 0; }
.es-herolink { margin: 22px 0 0; font-size: 17px; line-height: 1.5; }
.es-olist { counter-reset: n; max-width: 68ch; }
.es-olist li { counter-increment: n; padding-left: 44px; }
.es-olist li::before { content: counter(n); top: 0; width: 28px; height: 28px; background: var(--es-green); color: var(--es-white); font-weight: 800; font-size: 16px; line-height: 28px; text-align: center; border-radius: 50%; }
.es-olist strong { color: var(--es-lime); font-weight: 600; }
.es-faq { margin-top: 32px; max-width: 860px; }
.es-faq details { border-bottom: 1px solid var(--es-card-line); }
.es-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--es-lime); }
.es-faq summary::-webkit-details-marker { display: none; }
.es-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--es-white); }
.es-faq details[open] summary::after { content: "\2212"; }
.es-faq summary:focus-visible { outline: 2px solid var(--es-lime); outline-offset: 4px; }
.es-faq details p { margin: 0 0 22px; max-width: 68ch; font-size: 17px; line-height: 1.55; }
.es-sources a { color: var(--es-white); text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .es-faq summary { font-size: 17px; } }
.es-features--one { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.es-features--one + .es-body { margin-top: 24px; }

/* CarbonTrace */
.es-esalogo { display: block; width: 180px; height: auto; margin: 0 0 20px; }
.es-hero--dark .es-hero-shade { background: linear-gradient(90deg, rgba(11,14,18,.94) 0%, rgba(11,14,18,.82) 60%, rgba(11,14,18,.62) 100%); }

/* About */
.es-section--photo { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(32px, 5vw, 64px); }
.es-photo--banner { aspect-ratio: 16 / 9; object-position: center 30%; }
.es-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.es-member { padding: 0; overflow: hidden; }
.es-member img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.es-member h3 { margin: 22px 24px 4px; font-size: 22px; line-height: 1.2; color: var(--es-white); }
.es-member .es-member-title { margin: 0 24px 12px; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--es-lime); }
.es-member p { margin: 0 24px 24px; font-size: 16px; line-height: 1.55; }
.es-member .es-member-title + p { margin-top: 0; }
@media (max-width: 900px) { .es-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .es-team { grid-template-columns: 1fr; } }

/* Legal pages */
.es-legal { max-width: 780px; margin-left: auto; margin-right: auto; }
.es-legal .es-title { margin-bottom: 8px; }
.es-legal .es-updated { margin: 0 0 28px; font-size: 17px; line-height: 1.5; }
.es-legal h2 { margin: 40px 0 12px; font-size: 24px; line-height: 1.25; font-weight: 800; color: var(--es-lime); }
.es-legal .es-body { max-width: none; }
.es-legal .es-list { max-width: none; margin-bottom: 16px; }
.es-legal a { color: var(--es-lime); text-underline-offset: 4px; overflow-wrap: anywhere; }
.es-addrblock { margin: 0 0 16px; }
.es-addrblock .es-line { margin: 0; font-size: 17px; line-height: 1.5; }
.es-olist--wide { max-width: 760px; } .es-olist--wide li { font-size: 18px; margin-bottom: 18px; }

/* Products and Corporate Accounts (five steps round, 20 Oct 2026) */
.es-startcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.es-startcard { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.es-startcard--wide { grid-column: 1 / -1; }
.es-startcard h3 { font-size: 24px; line-height: 1.2; margin: 0; }
.es-startcard p { font-size: 17px; line-height: 1.55; margin: 0; }
.es-startcard .es-btn { margin-top: auto; }
.es-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
.es-version { border-top: 1px solid var(--es-card-line); padding-top: 16px; }
.es-version .es-label { margin: 0 0 8px; }
.es-eyebrow--h { margin: 0 0 24px; }
.es-title--one { max-width: 22ch; }
.es-tagrow { margin: 22px 0 0; }
.es-tbl5 .es-tag5 { margin-left: 6px; }
.es-figs { list-style: none; margin: 28px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.es-figs li { display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--es-green); padding-top: 14px; }
.es-fig-n { font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1; color: var(--es-lime); }
.es-fig-l { font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.es-fig-d { font-size: 16px; line-height: 1.45; }
@media (max-width: 900px) { .es-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .es-startcards, .es-versions { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .es-figs { grid-template-columns: 1fr; } }

/* Product pages, preview branch produktsider-4 (20 Oct 2026) */
.es-startcards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.es-startcards--three .es-startcard h3 { font-size: 22px; }
.es-olist--plain { list-style: none; padding: 0; margin: 24px 0; max-width: 68ch; }
.es-olist--plain li { padding-left: 0; margin: 0 0 12px; font-size: 18px; line-height: 1.5; }
.es-olist--plain li::before { content: none; }
.es-needlist { max-width: 68ch; margin: 24px 0; }
.es-needlist li { font-size: 18px; line-height: 1.5; margin-bottom: 12px; }
.es-steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.es-steps--four .es-step p { margin-top: 22px; font-size: 18px; font-weight: 600; max-width: 24ch; }
.es-split .es-photo { margin: 0; }
/* Open question for Pia: visible on the preview, stops the build at launch (tools/build.py) */
.es-check { display: inline-block; margin: 16px 0 0; padding: 8px 12px; background: #FFE600; color: #0B0E12; font-weight: 600; font-size: 16px; line-height: 1.4; border-radius: 3px; }
@media (max-width: 900px) { .es-startcards--three { grid-template-columns: 1fr; } .es-steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .es-steps--four { grid-template-columns: minmax(0, 1fr); } .es-steps--four .es-step p { margin-top: 12px; font-size: 16px; } }

/* Xoco case and Cases page (20 Oct 2026) */
.es-quote { margin: 0 0 24px; padding: 0 0 0 22px; border-left: 4px solid var(--es-green); }
.es-quote blockquote { margin: 0 0 12px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; font-weight: 600; color: var(--es-white); }
.es-quote figcaption { font-size: 16px; font-weight: 600; color: var(--es-lime); }
.es-hero--second { border-top: 1px solid var(--es-card-line); }
.es-pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 36px; align-items: stretch; }
.es-card--big .es-label { margin: 0 0 8px; }
.es-steps--card { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
.es-steps--card .es-step::after, .es-steps--card .es-step::before { content: none; }
.es-steps--card .es-step p { margin-top: 18px; font-size: 16px; font-weight: 400; max-width: none; }
.es-steps--card .es-step strong { display: block; color: var(--es-lime); font-weight: 600; margin-bottom: 4px; }
.es-step5-card { background: var(--es-card); }
.es-step5-status, .es-step5-card .es-step5-status { display: inline-block; align-self: flex-start; margin: 0 0 12px; padding: 3px 9px; border: 1px solid var(--es-lime); border-radius: 3px; color: var(--es-lime); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.es-step5:nth-child(5) .es-step5-status { border-color: var(--es-ink); color: var(--es-ink); }
.es-step5:nth-child(1) .es-step5-status { background: var(--es-lime); color: var(--es-ink); }
.es-step5-card h3 { margin: 6px 0 4px; font-size: 21px; line-height: 1.2; font-weight: 800; text-transform: uppercase; color: var(--es-lime); }
.es-step5-card .es-step5-n { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--es-green); }
.es-steps5-line { margin: 28px 0 0; font-size: 18px; font-weight: 600; color: var(--es-lime); }
.es-strip-logos--page { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; margin-top: 32px; }
.es-strip-logos--page img { height: 48px; width: auto; display: block; }
.es-check--card { margin: 0 22px 22px; }
@media (max-width: 900px) { .es-pair { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .es-steps--card { grid-template-columns: minmax(0, 1fr); } }
.es-step5 p a { color: var(--es-lime); text-decoration: underline; text-underline-offset: 3px; }
.es-step5:nth-child(5) p a { color: var(--es-ink); }
.es-figs--case .es-fig-n { font-size: clamp(30px, 3.6vw, 48px); overflow-wrap: anywhere; }
