/*
Theme Name: econadvice
Theme URI: https://www.econadvice.com/
Description: Custom block theme for econadvice. Tokens in theme.json, styles here, behaviour in assets/site.js, sections in /patterns.
Author: econadvice
Version: 0.4.35
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: econadvice
*/
/* ↑ This block must stay first: WordPress reads the theme name and version from it.
     Raise "Version" when you change this file, so browsers load the new CSS instead of a cached copy. */

/* ==========================================================================
   HOW TO USE THIS FILE

   What it does
   All the styling of the econadvice theme lives here. The same file is loaded
   on the website and inside the WordPress editor, so both look the same.

   Contents (search for "---------- 3 ·" etc. to jump to a section)
   0 Tokens and base    1 Header and logo    2 Section frame and heads
   3 Hero               4 About              5 Approach
   6 Statement          7 Expertise          8 Team and advisors
   9 Contact            10 Footer            11 Pages and Insights
   12 Tablet / mobile

   Where values come from
   - Brand colours, fonts, font sizes, page width and spacing are set in theme.json.
     Here they appear as var(--wp--preset--color--red), var(--wp--preset--font-size--lead),
     var(--wp--custom--side) etc. To change a brand colour or a font size, change it in
     theme.json, not here: every place that uses it updates at once.
   - Section 0 gives the most used ones short names (--ea-ink, --ea-paper, --ea-pad …).

   How to read a rule
     .ea-tile::after { height: 9px; }
     └ selector ─────┘ └ property: value ┘
   The selector says WHICH elements, the properties say HOW they look.
   ::before / ::after are small extra elements drawn by CSS (numbers, squares, bars).
   :hover = mouse over it, :focus-visible / :focus-within = reached with the keyboard.

   Naming
   - Everything theme-specific starts with "ea-" (econadvice), so it never clashes with WordPress.
   - ea-block__part  = a part inside a block   (ea-tile__t = the title inside a tile)
   - ea-block--variant = a variant of a block  (ea-logo--header = the logo in the header)
   - is-open, is-style-… = states and styles set by site.js or chosen in the editor.
   - To find which class an element has: in the browser, right-click it → Inspect.
     In the WordPress editor: select the block → Advanced → Additional CSS class(es).

   Units you will see
   - px      fixed size.          em    relative to the text size of that element.
   - vw      % of window width.   %     % of the parent element.
   - clamp(MIN, PREFERRED, MAX)  grows with the window but never below MIN or above MAX.
     Example: clamp(48px, 5vw, 72px) = 5% of the window width, at least 48px, at most 72px.
   - .25s / .9s = duration of an animation in seconds.

   Layout grid
   Most sections use a 12-column grid (see section 2). "grid-column: 7 / -1" means
   "from column line 7 to the last line", i.e. the right half. "1 / 7" = the left half.

   Colour styles
   In the editor, select a group → Styles → Red / Yellow / Blue / Black / Outline / Grey.
   This sets three variables on that element: --c (full colour), --soft and --plane (two light tints).
   Section heads, hero tiles, approach cards, the statement band, expertise rows, person cards, the advisors
   tile and the Join block use them. In the editor the styles are offered only on these blocks (assets/editor.js).

   Rules to keep (brand and accessibility)
   - Flat colour only: no shadows, no rounded corners (border-radius stays 0), no pill buttons.
     The "linear-gradient(x, x)" below uses the same colour twice: it only draws flat
     squares, it is not a visible gradient.
   - Keep text contrast WCAG AA (body text on paper at least 4.5 : 1).
   - Keep the keyboard focus outline (:focus-visible) visible.
   - Wrap new movement in @media (prefers-reduced-motion: no-preference) { … }, so people
     who switch off animations in their system settings don't get it.
   - "!important" is only used where WordPress's own spacing would otherwise win. Avoid adding more.

   How to make a change
   1 GitHub Desktop: Fetch / Pull first.
   2 Edit this file in VS Code, save.
   3 Reload the site in the browser with Cmd+Shift+R (forces the new CSS).
   4 Check a narrow window too (or right-click → Inspect → phone icon), sections 12 handle that.
   5 GitHub Desktop: write a short summary → Commit to main → Push origin.
   Do not paste CSS into WordPress → Appearance → Editor → Additional CSS: it is stored in the
   database, overrides this file and is invisible to anyone reading the code.
   ========================================================================== */

/* ---------- 0 · Tokens and base ---------- */
/* Short names for values used everywhere. Change the source in theme.json where noted. */
:root {
	--ea-side: var(--wp--custom--side);   /* minimum space left/right of the content (theme.json → custom.side) */
	--ea-max: var(--wp--custom--max);   /* maximum content width, 1240px (theme.json → custom.max) */
	--ea-sec: var(--wp--custom--section);   /* space above and below each section (theme.json → custom.section) */
	--ea-pad: max(var(--ea-side), calc((100% - var(--ea-max)) / 2));   /* side padding that centres the content */
	--ea-gap: 16px;   /* gap between the 12 grid columns */
	--ea-ink: var(--wp--preset--color--ink);   /* Schwarz #161513: headings, lines, strong text */
	--ea-paper: var(--wp--preset--color--paper);   /* Papier #F7F4EE: page background */
	--ea-line: var(--wp--preset--color--line);   /* light hairline colour for dividers */
	--ea-ease: cubic-bezier(.22, .61, .36, 1);   /* soft "ease out" curve for animations */
}
/* page: reset the section counter (01, 02 …), stop sideways scrolling, smoother font rendering on Mac */
body { overflow-x: clip; -webkit-font-smoothing: antialiased; }
/* remove WordPress's default gap between header, page sections and footer (sections set their own spacing) */
.wp-site-blocks > *, .ea-front > .wp-block-post-content > * { margin-block: 0; }
/* text only for screen readers (e.g. "econadvice, home" behind the logo): hidden visually, still read aloud */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* keyboard focus: blue 2px outline around any focused link or button (accessibility, keep it) */
:focus-visible { outline: 2px solid var(--wp--preset--color--blue); outline-offset: 3px; }
/* small bold label text, e.g. "Advisors", footer column titles */
.ea-label { margin: 0; font: 600 14px/18px var(--wp--preset--font-family--sans); color: var(--ea-ink); }

/* Colour styles (Block → Styles): every coloured element reads --c (full colour), --soft (tint, e.g. behind portraits)
   and --plane (lighter tint for large fields, e.g. an open expertise row). Tints are set in theme.json → custom. */
/* Red: full red + light red tints */
.is-style-c-red { --c: var(--wp--preset--color--red); --soft: var(--wp--custom--soft--red); --plane: var(--wp--custom--plane--red); }
/* Yellow: full yellow + light yellow tints */
.is-style-c-yellow { --c: var(--wp--preset--color--yellow); --soft: var(--wp--custom--soft--yellow); --plane: var(--wp--custom--plane--yellow); }
/* Blue: full blue + light blue tints */
.is-style-c-blue { --c: var(--wp--preset--color--blue); --soft: var(--wp--custom--soft--blue); --plane: var(--wp--custom--plane--blue); }
/* Black: ink + light grey tints */
.is-style-c-black { --c: var(--ea-ink); --soft: var(--wp--custom--soft--black); --plane: var(--wp--custom--plane--black); }
/* Outline: ink, drawn hollow (see the square rules below) + paper tints */
.is-style-c-paper { --c: var(--ea-ink); --soft: var(--wp--custom--soft--paper); --plane: var(--wp--custom--plane--paper); --hollow: 1; }
/* Grey: warm grey #8C857B + light grey tints (Strategic Economic Advisory) */
.is-style-c-grey { --c: var(--wp--preset--color--grey); --soft: var(--wp--custom--soft--grey); --plane: var(--wp--custom--plane--grey); }
/* the small colour square used before numbers; "Outline" draws it hollow */
/* filled square in colour --c (10px, or --sq), placed left of the number (--sq-x moves it sideways) */
.ea-tile::before, .ea-row__btn::before, .ea-row__hd h3::before {
	background: linear-gradient(var(--c), var(--c)) var(--sq-x, 0) 50% / var(--sq, 10px) var(--sq, 10px) no-repeat;
}
/* Outline style: a smaller paper square on top of the coloured one, which leaves a 1.5px hollow frame */
.is-style-c-paper.ea-tile::before, .is-style-c-paper .ea-row__btn::before, .is-style-c-paper .ea-row__hd h3::before {
	background: linear-gradient(var(--ea-paper), var(--ea-paper)) calc(var(--sq-x, 0px) + 1.5px) 50% / calc(var(--sq, 10px) - 3px) calc(var(--sq, 10px) - 3px) no-repeat,
		linear-gradient(var(--c), var(--c)) var(--sq-x, 0) 50% / var(--sq, 10px) var(--sq, 10px) no-repeat;
}

/* ---------- 1 · Header and logo ---------- */
/* Markup: parts/header.html. Logo: [econadvice_logo type="header"], animation: assets/site.js part 1. */
/* header sticks to the top while scrolling (below the WordPress admin bar when logged in), paper background */
.wp-site-blocks > header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: var(--ea-paper); }
/* links to #team, #careers, #area-… stop just under the header; site.js refines this for sections, so the line above the section title lands there */
:where(.ea-sec, .ea-row, .ea-contact__r)[id] { scroll-margin-top: calc(92px + var(--wp-admin--admin-bar--height, 0px)); }
/* header row: logo, menu, button side by side, 92px high, invisible bottom line that fades in */
.ea-header { display: flex; align-items: center; gap: 28px; min-height: 92px; padding-inline: var(--ea-pad); border-bottom: 1px solid transparent; transition: border-color .3s; }
/* once the header wordmark has unfolded (hero scrolled away), show the bottom hairline */
.ea-header:has(.wm.is-open) { border-bottom-color: var(--ea-line); }
/* no extra WordPress margins inside the header row */
.ea-header > * { margin: 0 !important; }
/* language switcher EN / DE (in parts/header.html and header-de.html): pushed to the right, small spaced capitals;
   the current language in ink, the other one a grey link */
.ea-lang { margin-left: auto !important; font: 400 12.5px/20px var(--wp--preset--font-family--sans); letter-spacing: .1em; color: var(--wp--preset--color--muted); white-space: nowrap; }
.ea-lang [aria-current="true"] { color: var(--ea-ink); }
.ea-lang a { color: inherit; text-decoration: none; }
.ea-lang a:hover { color: var(--ea-ink); text-decoration: underline; }
/* menu: 26px between links, 15px text */
.ea-header .ea-nav { gap: 26px; font-size: 15px; }
/* menu stays on one line */
.ea-nav .wp-block-navigation__container { flex-wrap: nowrap; }
/* below 960px the full menu no longer fits on one line (German labels are longer), so show the menu button there too;
   WordPress itself only switches to the button below 600px */
@media (min-width: 600px) and (max-width: 959px) {
	.ea-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ea-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* menu links: ink colour, no underline, never broken; a bar under the link (::after) is hidden (scaled to 0) until needed */
.ea-nav a { position: relative; padding-block: 8px; color: var(--ea-ink); text-decoration: none; white-space: nowrap; }
.ea-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--wp--preset--color--blue); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .ea-nav a::after { transition: transform .45s cubic-bezier(.65, 0, .35, 1); } }
/* hover: a thin blue bar slides in */
.ea-nav a:hover::after { transform: scaleX(1); }
/* the section or page you are on (site.js sets aria-current): bold, 2px bar in that section's colour (Insights: red) */
.ea-nav a[aria-current] { font-weight: 600; }
.ea-nav a[aria-current]::after { height: 2px; background: var(--nav-c, var(--wp--preset--color--red)); transform: scaleX(1); }
/* "Get in touch" button: blue text, thin ink frame, square corners */
.ea-header__cta .wp-block-button__link { padding: 9px 15px; font-size: 14px; color: var(--wp--preset--color--blue); background: transparent; border: 1px solid var(--ea-ink); border-radius: 0; }
/* "Get in touch" on hover: filled blue with white text */
.ea-header__cta .wp-block-button__link:hover { background: var(--wp--preset--color--blue); color: #fff; border-color: var(--wp--preset--color--blue); }

/* every logo: block element without extra line height under the SVG */
.ea-logo { display: block; line-height: 0; }
/* the logo SVG scales with its width, keeps its proportions */
.ea-logo svg { display: block; height: auto; }
/* header logo size: 280px wide, at most 46% of the window on small screens */
.ea-logo--header svg { width: 280px; max-width: 46vw; }
/* logo letter colour: ink by default, a section can override it with --wm-ink (statement: white) */
.wm .w-ink, .ee .w-ink { fill: var(--wm-ink, var(--ea-ink)); }
/* logo accent "e" colour: red by default, override with --wm-acc */
.wm .w-acc, .ee .w-acc { fill: var(--wm-acc, var(--wp--preset--color--red)); }
/* the wordmark folds into the ee: the final e sits on the first, the letters between are clipped */
/* folded: middle letters hidden; ".js" = only when JavaScript runs, so without it the full wordmark shows */
.js .wm .w-mid { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.65, 0, .35, 1); }
/* folded: last "e" moved left onto the first "e" (908.5 = distance in SVG units, don't change) */
.js .wm .w-last { transform: translateX(-908.5px); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
/* unfolded (site.js adds "is-open"): middle letters revealed */
.js .wm.is-open .w-mid { clip-path: inset(0); }
/* unfolded: last "e" back in place */
.js .wm.is-open .w-last { transform: none; }
/* reduced motion: switch instantly, no animation */
@media (prefers-reduced-motion: reduce) { .js .wm .w-mid, .js .wm .w-last { transition: none; } }

/* ---------- 2 · Section frame and heads ---------- */
/* Every homepage section is a group with class "ea-sec"; its title row is a group with class "ea-head". */
/* section spacing: top/bottom from theme.json, sides centre the content */
.ea-sec { padding: var(--ea-sec) var(--ea-pad); }
/* two light sections in a row share one gap: the second one starts without top padding */
:is(.ea-about, .ea-approach, .ea-expertise, .ea-benefits) + :is(.ea-approach, .ea-teamsec, .ea-expertise) { padding-top: 0; }
/* no WordPress margins between the direct children of a section */
.ea-sec > * { margin-block: 0; }
/* these blocks use the 12-column grid; children choose their columns with grid-column */
.ea-head, .ea-two, .ea-hero, .ea-statement, .ea-row__hd, .ea-row__p, .ea-network, .ea-contact, .ea-footer__grid {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ea-gap);
}
/* WordPress adds a "block gap" top margin to every block after the first one. Inside these layouts the theme sets all
   spacing itself, so that margin is removed (!important because newer editor versions add it with high specificity). */
:is(.ea-head, .ea-two, .ea-tiles, .ea-tile, .ea-cards, .ea-team, .ea-network, .ea-statement, .ea-values, .ea-value, .ea-benefits__card, .ea-row__hd, .ea-row__p, .ea-footer__grid, .ea-person, .ea-person__body, .ea-card) > * { margin-block-start: 0 !important; margin-block-end: 0; }
/* section head: ink line on top, space below before the content */
.ea-head { border-top: 1px solid var(--ea-ink); padding-top: 24px; margin-bottom: clamp(48px, 5vw, 72px) !important; }
/* short line in the section colour (Block → Styles) just above the title */
.ea-head::before { content: ""; grid-column: 1 / -1; justify-self: start; width: 40px; height: 4px; margin-bottom: 20px; background: var(--c, var(--ea-ink)); }
/* section title: columns 1–5, large "title" size from theme.json, tight lines and letters */
.ea-h2 { grid-column: 1 / 6; font-size: var(--wp--preset--font-size--title); line-height: 1; letter-spacing: -.03em; }
/* intro text next to the title: right half */
.ea-head .ea-lead, .ea-head .ea-sub { grid-column: 7 / -1; }
/* lead text: larger "lead" size, ink colour */
.ea-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.45; letter-spacing: -.005em; color: var(--ea-ink); }
/* second paragraph under the lead: 16px space above */
.ea-head .ea-sub { margin-top: 16px !important; }

/* ---------- 3 · Hero ---------- */
/* Markup: patterns/hero.php. Logo: [econadvice_logo type="hero"], animation: assets/site.js part 1. */
/* hero spacing: less top space than other sections, no bottom space (the tiles close it) */
.ea-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 0; }
/* by default every hero part spans the full width */
.ea-hero > * { grid-column: 1 / -1; }
/* the short line above the logo: right half, 22–28px, lines balanced, space below */
.ea-hero__line { grid-column: 7 / -1; margin-bottom: clamp(48px, 6vw, 96px) !important; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; color: var(--ea-ink); text-wrap: balance; }
/* big hero logo: no extra margin */
.ea-logo--hero { margin: 0; }
/* big hero logo size: 62% of the hero width, at most 780px */
.ea-logo--hero svg { width: min(780px, 62%); }
/* tagline under the logo: 20px, muted grey */
.ea-hero__tag { margin-top: 14px !important; font-size: 20px; color: var(--wp--preset--color--muted); }
/* button + link row under the tagline: side by side, 32px apart, space above and below */
.ea-hero__cta { display: flex; align-items: center; gap: 32px; margin: 36px 0 clamp(64px, 7vw, 104px) !important; }
/* no extra margins inside that row */
.ea-hero__cta > * { margin: 0; }
/* hero button on hover: turns blue */
.ea-hero__cta .wp-block-button__link:hover { background: var(--wp--preset--color--blue); }
/* practice tiles row: 6 equal columns, ink line on top, resets the tile numbers */
.ea-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ea-ink); counter-reset: ea-tile; }
/* one tile: number + icon on the first line, title below; counts up the tile number */
.ea-tile { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px 8px; align-items: start; padding: 20px 20px 24px 0; counter-increment: ea-tile; }
/* tile number "01" … with colour square, top left */
.ea-tile::before { content: counter(ea-tile, decimal-leading-zero); grid-area: 1 / 1; padding-left: 20px; font: 600 11px/16px var(--wp--preset--font-family--sans); letter-spacing: .12em; color: var(--ea-ink); }
/* hover bar: coloured bar on the top edge, 9px high, hidden (height scaled to 0) until hover */
.ea-tile::after { content: ""; position: absolute; left: 0; right: 20px; top: -1px; height: 9px; background: var(--c); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
/* hover or keyboard focus: the bar slides down to full height */
.ea-tile:hover::after, .ea-tile:focus-within::after { transform: scaleY(1); }
/* tile icon: top right */
.ea-tile__i { grid-area: 1 / 2; margin: 0; }
/* tile icon size: 30px, slightly faded */
.ea-tile__i img { width: 30px; height: auto; opacity: .75; }
/* tile title: full tile width, 20px */
.ea-tile__t { grid-column: 1 / -1; font-size: 20px; line-height: 1.25; color: var(--ea-ink); }
/* tile title link: same colour as the text, no underline */
.ea-tile__t a { color: inherit; text-decoration: none; }
.ea-tile__t a::after { content: ""; position: absolute; inset: 0; }   /* the whole tile is the link */
/* tiles: underline the number and the title on hover / keyboard focus */
.ea-tile:hover::before, .ea-tile:focus-within::before,
.ea-tile:hover .ea-tile__t a, .ea-tile:focus-within .ea-tile__t a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- 4 · About ---------- */
/* Markup: patterns/about.php. "ea-two" = two-column layout. */
/* first column: columns 1–5 (left) */
.ea-two > :first-child { grid-column: 1 / 6; }
/* second column: columns 7–12 (right), column 6 stays empty as a gutter */
.ea-two > :last-child { grid-column: 7 / -1; }
/* paragraphs in a column: space below each, at most 36em wide (comfortable line length) */
.ea-col > p { max-width: 36em; margin: 0 0 1.1em; }
/* highlighted statement: yellow 4px line on top, 20px text */
.ea-callout { margin-top: 28px !important; padding-top: 24px; border-top: 4px solid var(--wp--preset--color--yellow); font-size: 20px; line-height: 1.45; letter-spacing: -.005em; color: var(--ea-ink); }

/* ---------- 5 · Approach ---------- */
/* Markup: patterns/approach.php. The three structural differentiators, no numbers. */
/* cards grid: 3 columns */
.ea-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
/* one card: ink line on top */
.ea-card { padding-top: 24px; border-top: 1px solid var(--ea-ink); }
/* card title: space below */
.ea-card h3 { margin-bottom: 14px !important; letter-spacing: -.01em; }
/* the key phrase of a title (bold in the editor: "Deep expertise"): its own line, larger, blue */
.ea-card h3 strong { display: block; margin-bottom: 6px; font-size: clamp(28px, 2.6vw, 36px); font-weight: 400; line-height: 1.05; letter-spacing: -.025em; color: var(--wp--preset--color--blue); }
/* card text: 15px */
.ea-card p { font-size: 15px; line-height: 1.6; }

/* ---------- 6 · Statement ---------- */
/* Markup: patterns/statement.php. The blue band: title, summary and the three values. */
/* blue band, white text; the wordmark inside turns white, including its "e" (--wm-ink / --wm-acc) */
.ea-statement { --wm-ink: #fff; --wm-acc: #fff; --st-line: rgb(255 255 255 / .55); padding-bottom: clamp(56px, 6vw, 88px); background: var(--wp--preset--color--blue); color: #fff; align-items: start; }
/* with a colour style (Block → Styles): the band takes that colour; on Yellow, Grey and Outline the text turns ink (contrast) */
.ea-statement[class*="is-style-c-"] { background: var(--c); }
.ea-statement:is(.is-style-c-yellow, .is-style-c-grey, .is-style-c-paper) { --wm-ink: var(--ea-ink); --wm-acc: var(--wp--preset--color--red); --st-line: rgb(22 21 19 / .35); color: var(--ea-ink); }
.ea-statement.is-style-c-paper { background: var(--ea-paper); border-block: 1px solid var(--ea-ink); }
/* the title: full width, "display" size (theme.json), very tight, no full stop */
.ea-big { grid-column: 1 / -1; font-size: var(--wp--preset--font-size--display); font-weight: 400; line-height: .98; letter-spacing: -.04em; color: inherit; }
/* summary under the title: full width, so one sentence stays on one line where it fits; 22px */
.ea-statement__body { grid-column: 1 / -1; margin-top: 36px !important; font-size: 22px; line-height: 1.45; letter-spacing: -.005em; }
/* the three values: quiet tiles on the blue, only a faint white wash, white text */
.ea-values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 6vw, 88px) !important; }
.ea-value { padding: 24px 26px; background: rgb(255 255 255 / .07); color: #fff; }
.ea-value > * { margin: 0 !important; }
.ea-value h3 { margin-bottom: 8px !important; font-size: clamp(24px, 2vw, 30px); font-weight: 400; letter-spacing: -.02em; color: inherit; }
.ea-value p { font-size: 15px; line-height: 1.5; opacity: .9; }

/* ---------- 6b · Client benefits ---------- */
/* Markup: patterns/statement.php (after the band). A card with a thin ink frame: the title on one line across the top,
   the summary on the right of it, a hairline below; then the six benefits in three columns. */
.ea-benefits__card { padding: clamp(32px, 4vw, 56px); border: 1px solid var(--ea-ink); }
.ea-benefits__side { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px; padding-bottom: 28px; margin-bottom: 36px !important; border-bottom: 1px solid var(--ea-line); }
.ea-benefits__side > * { margin: 0 !important; }
/* "Benefits for our clients": one line, the word "clients" (the <span>) in blue; 34px at most.
   On phones the size follows the screen width, so the line still fits (down to 320px wide). */
.ea-benefits__title { font-size: clamp(28px, 2.4vw, 34px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; color: var(--ea-ink); }
.ea-benefits__title span { color: var(--wp--preset--color--blue); }
/* the summary: 15px, at the right end of the title line */
.ea-benefits__side p { font-size: 15px; line-height: 1.5; }
/* the six benefits: a blue square before each, title bold on one line */
.ea-benefits__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin: 0; padding: 0 !important; list-style: none; }
.ea-benefits__list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; }
.ea-benefits__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--wp--preset--color--blue); }
.ea-benefits__list strong { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ea-ink); white-space: nowrap; }

/* ---------- 7 · Expertise accordion (numbers are automatic) ---------- */
/* Markup: patterns/expertise.php. Open/close behaviour: assets/site.js part 2 (one row open at a time). */
/* accordion: resets the row numbers, ink line on top */
.ea-acc { counter-reset: ea-row; border-top: 1px solid var(--ea-ink); }
/* one row: counts up its number, hairline below, background fades in on hover and when open */
.ea-row { --sq: 14px; counter-increment: ea-row; padding-inline: 24px; border-bottom: 1px solid var(--ea-line); transition: background-color .3s linear; }
/* open or hovered row: light tint of its colour style (--plane) */
.ea-row.is-open, .ea-row:hover { background: var(--plane); }
/* row head (always visible): clickable */
.ea-row__hd { align-items: center; padding: 26px 0; cursor: pointer; }
/* row title: left half, "heading" size */
.ea-row__hd h3 { grid-column: 1 / 7; font-size: var(--wp--preset--font-size--heading); }
/* the button site.js wraps around the title: no default button look */
.ea-row__btn { all: unset; display: inline-flex; align-items: center; gap: 0; cursor: pointer; }
/* that button with keyboard focus: blue outline */
.ea-row__btn:focus-visible { outline: 2px solid var(--wp--preset--color--blue); outline-offset: 4px; }
/* row number "01" … in grey, 14px colour square to its right (--sq-x: 44px), title starts 76px in */
.ea-row__btn::before, .ea-row__hd h3::before { --sq-x: 44px; content: counter(ea-row, decimal-leading-zero); flex: none; width: 44px; padding-right: 32px; font: 600 11px/16px var(--wp--preset--font-family--sans); letter-spacing: .12em; color: var(--wp--preset--color--muted); }
/* once the button exists, the number is drawn by the button, not by the title (avoids a double number) */
.ea-row__hd h3:has(.ea-row__btn)::before { content: none; }
.ea-row__hd h3::before { display: inline-block; }   /* editor and no-script view */
/* short description next to the title: columns 7–11, grey */
.ea-row__lead { grid-column: 7 / 12; font-size: 16px; line-height: 1.6; color: var(--wp--preset--color--muted); }
/* description turns ink when the row is open or hovered */
.ea-row.is-open .ea-row__lead, .ea-row:hover .ea-row__lead { color: var(--ea-ink); }
/* "+" at the right end of the row, drawn as two 18px lines */
.ea-row__hd::after { content: ""; grid-column: 12; justify-self: end; width: 18px; height: 18px; background: linear-gradient(var(--ea-ink), var(--ea-ink)) 50% 50% / 18px 2px no-repeat, linear-gradient(var(--ea-ink), var(--ea-ink)) 50% 50% / 2px 18px no-repeat; }
/* open row: only the horizontal line stays, "+" becomes "–" */
.ea-row.is-open .ea-row__hd::after { background-size: 18px 2px, 2px 0; }
/* the "+" turns into "–" as the row slides: the upright bar retracts into the middle */
@media (prefers-reduced-motion: no-preference) { .ea-row__hd::after { transition: background-size .48s cubic-bezier(.4, 0, .2, 1); } }
/* row panel (the content that opens): space below */
.ea-row__p { box-sizing: border-box; padding: 6px 0 44px; }
/* closed panel: hidden */
.ea-row__p[hidden] { display: none; }
/* panel left part (questions): columns 1–6, indented 76px so it lines up with the row title */
.ea-row__q { grid-column: 1 / 7; padding: 0 40px 0 76px; }
/* panel right part (what we do): columns 7–11 */
.ea-row__w { grid-column: 7 / 12; }
/* both lists: no bullets, 14px below the label */
.ea-qlist, .ea-wlist { margin: 14px 0 0 !important; padding: 0; list-style: none; }
/* questions list: thin line on top */
.ea-qlist { border-top: 1px solid rgb(22 21 19 / .22); }
/* each question: thin line below, 20px, lines balanced */
.ea-qlist li { padding: 14px 0 15px; border-bottom: 1px solid rgb(22 21 19 / .22); font-size: 20px; line-height: 1.45; letter-spacing: -.005em; color: var(--ea-ink); text-wrap: balance; }
/* each "what we do" item: 17px, room on the left for the square */
.ea-wlist li { position: relative; padding: 0 0 10px 22px; font-size: 17px; line-height: 1.6; }
/* square bullet (8px, ink) in front of each item */
.ea-wlist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--ea-ink); }

/* ---------- 8 · Team ---------- */
/* Markup: patterns/team.php (and team-member.php as a template for new people). One grid for everyone, then the
   "Academic & Specialist Advisors" band. "+ Profile" button: assets/site.js part 3. Card colour: Block → Styles on the ea-person group. */
/* team grid: 4 columns */
.ea-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 16px; align-items: start; }
/* portrait frame: 3:4 upright, warm grey background behind transparent photos */
.ea-person__img { aspect-ratio: 3 / 4; margin: 0; overflow: hidden; background: var(--wp--preset--color--stone); transition: background-color .4s linear; }
/* the photo fills the frame, anchored at the top (heads never cut off) */
/* the portrait opens the profile (site.js), so it shows the hand cursor */
.js .ea-person__img { cursor: pointer; }
.ea-person__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 50% 30%; transition: transform .6s var(--ea-ease); }
/* hover / keyboard focus: background turns the card's tint (--soft) */
.ea-person:hover .ea-person__img, .ea-person:focus-within .ea-person__img { background: var(--soft); }
/* hover zoom of 6%, only for people who haven't switched off animations */
@media (prefers-reduced-motion: no-preference) {
	.ea-person:hover .ea-person__img img, .ea-person:focus-within .ea-person__img img { transform: scale(1.06); }
}
/* role line under the photo (e.g. "Partner"): small bold */
.ea-person__role { margin-top: 18px !important; font: 600 14px/18px var(--wp--preset--font-family--sans); color: var(--ea-ink); }
/* person's name */
.ea-person h3 { margin-top: 6px !important; font-size: var(--wp--preset--font-size--heading); letter-spacing: -.01em; }
/* "+ Profile" button (added by site.js): plain text with a thin underline */
.ea-more { all: unset; display: inline-block; justify-self: start; margin-top: 12px !important; padding-bottom: 2px; border-bottom: 1px solid var(--ea-ink); font-size: 15px; line-height: 20px; color: var(--ea-ink); cursor: pointer; }
/* the "+" / "–" sign: fixed width so the word doesn't jump */
.ea-more > span:first-child { display: inline-block; width: 1em; }
/* "+ Profile" with keyboard focus: blue outline */
.ea-more:focus-visible { outline: 2px solid var(--wp--preset--color--blue); outline-offset: 3px; }
/* the profile text that opens */
.ea-person__more { margin-top: 14px !important; }
/* its paragraphs: small space below */
.ea-person__more p { margin: 0 0 6px; }
/* bio text: 17px */
.ea-bio { font-size: 17px; }
/* LinkedIn / email lines in the profile: 14px grey */
.ea-meta { font-size: 14px; color: var(--wp--preset--color--muted); }
/* names line up across a row even when a role wraps: the cards share the rows of the team grid (subgrid: photo, role,
   and the block with name, "+ Profile" and profile that site.js builds). A role only takes two lines where one in that row
   needs them; it sits at the bottom. The 48px between card rows moves from the grid gap to the bottom of each card
   (a grid gap would leak into the shared rows). Without script the cards stay simple blocks. */
@supports (grid-template-rows: subgrid) {
	.js .ea-team { row-gap: 0; }
	.js .ea-person { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding-bottom: 48px; }
	.js .ea-person__role { align-self: end; }
	.js .ea-team + .ea-network { margin-top: 24px !important; }
}
/* note on the advisors network below the team: a light hairline across the grid, a small blue square, small text (columns 1–9) */
.ea-network { margin-top: 72px !important; padding-top: 20px; border-top: 1px solid var(--ea-line); }
.ea-network p { grid-column: 1 / 10; position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; }
.ea-network p::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; background: var(--wp--preset--color--blue); }

/* ---------- 9 · Contact ---------- */
/* Markup: patterns/contact.php. Left: contact details on the page background. Right: "Join econadvice" as a warm panel.
   The top follows every other section: ink line, 24px, colour line, 20px, title. */
/* contact section; its ink line on top spans the content width only, like the other section lines */
.ea-contact { position: relative; padding-block: 0; }
.ea-contact::before { content: ""; position: absolute; top: 0; left: var(--ea-pad); right: var(--ea-pad); height: 1px; background: var(--ea-ink); }
/* left half: columns 1–5; 24px below the ink line, as in the other sections */
.ea-contact__l { grid-column: 1 / 6; padding: 24px clamp(24px, 3vw, 48px) clamp(64px, 7vw, 112px) 0; }
/* the section head here is stacked (not a grid) and has no top line; colour line 20px above "Contact", as elsewhere */
.ea-contact .ea-head { display: block; padding: 0; border: 0; }
.ea-contact .ea-head::before { display: block; margin-bottom: 20px; }
/* space below each item; 28px below the titles */
.ea-contact__l > *, .ea-join > * { margin: 0 0 16px; }
.ea-contact .ea-head, .ea-join h3 { margin-bottom: 28px !important; }
/* contact intro: 20px, ink */
.ea-c-lead { font-size: 20px; line-height: 1.45; color: var(--ea-ink); }
/* "Email" and "Locations" blocks */
.ea-kv { margin-top: 28px !important; }
.ea-contact .ea-kv + .ea-kv { margin-top: 12px !important; }
.ea-kv > * { margin: 0 0 6px; }
.ea-kv > :last-child { margin-bottom: 0; }
/* email address: large */
.ea-email { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.015em; }
/* email link: ink, thin underline 6px below */
.ea-email a { color: var(--ea-ink); text-decoration-thickness: 1px; text-underline-offset: 6px; }
/* locations: one line, 28px apart */
.ea-places { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; list-style: none; font-size: 16px; color: var(--ea-ink); }
/* links in the contact block: ink, underlined */
.ea-contact__l a { color: var(--ea-ink); }
/* right half: "Join econadvice" as a warm panel over columns 7–12. Its top edge is level with the colour line opposite
   and 24px + 24px = the colour line and its gap, so "Join econadvice" sits level with "Contact". */
.ea-contact__r { grid-column: 7 / -1; margin: 24px 0 clamp(40px, 4.5vw, 64px); padding: 24px clamp(28px, 3.5vw, 56px) clamp(28px, 3vw, 48px); background: var(--wp--preset--color--field); }
.ea-contact__r > .ea-join { margin: 0 !important; }
/* "Join econadvice": same size as "Contact" */
.ea-join h3 { font-size: var(--wp--preset--font-size--title); line-height: 1; letter-spacing: -.03em; color: var(--ea-ink); }
/* "Contact" and "Join econadvice": one size, small enough that the longer title fits the panel on one line.
   German "Werde Teil von econadvice" is longer, hence smaller. */
.ea-contact .ea-h2, .ea-contact .ea-join h3 { font-size: clamp(34px, 4.4vw, 60px); }
:lang(de) .ea-contact .ea-h2, :lang(de) .ea-contact .ea-join h3 { font-size: clamp(26px, 2.9vw, 40px); }
/* wide screens: both halves share five rows (title, intro, text, email, locations), so the intro, the text and the
   email on the left sit level with their partners on the right, whichever text runs longer */
@media (min-width: 901px) {
	.ea-contact__l, .ea-contact__r, .ea-join { display: grid; grid-row: 1 / span 5; grid-template-rows: subgrid; }
}

/* ---------- 10 · Footer ---------- */
/* Markup: parts/footer.html. Black band, paper-coloured text and logo. */
/* footer: black background, paper text, logo letters in paper colour (--wm-ink) */
.ea-footer { --wm-ink: var(--ea-paper); padding: 72px var(--ea-pad) 32px; background: var(--ea-ink); color: var(--ea-paper); }
/* no WordPress margins between footer parts */
.ea-footer > * { margin-block: 0; }
/* footer links: paper colour, no underline */
.ea-footer a { color: var(--ea-paper); text-decoration: none; }
/* footer links on hover: underline */
.ea-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* column titles in the footer */
.ea-footer .ea-label { margin-bottom: 14px; color: var(--ea-paper); }
/* brand column (logo + tagline): columns 1–5 */
.ea-footer__brand { grid-column: 1 / 6; }
/* footer wordmark: 220px wide */
.ea-footer__brand .ea-logo svg { width: 220px; }
/* footer tagline: 20px */
.ea-footer__tag { margin-top: 22px !important; font-size: 20px; }
/* "Navigate" column: columns 7–9 */
.ea-footer__col { grid-column: 7 / 10; font-size: 14px; line-height: 2; }
/* "Contact" column (the last one): columns 10–12, stacked so the ee logo can sit at the bottom */
.ea-footer__col:last-child { grid-column: 10 / -1; display: flex; flex-direction: column; }
.ea-footer__col p { margin: 0; }
/* ee mark (the last item of the last column; WordPress may wrap it in a <p>): pushed to the bottom right */
.ea-footer__col:last-child > :last-child { align-self: flex-end; margin-top: auto !important; padding-top: 40px; }
/* ee mark size: 44px high */
.ea-footer .ea-logo--ee svg { width: auto; height: 44px; }
/* bottom line (copyright, legal links): faint paper line on top, 14px */
.ea-footer__base { display: flex; gap: 24px; align-items: center; margin-top: 56px !important; padding-top: 20px; border-top: 1px solid rgb(247 244 238 / .25); font-size: 14px; }
.ea-footer__base > * { margin: 0; }
/* "Legal & Privacy" link: underlined */
.ea-footer__base a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 11 · Pages and Insights (articles) ---------- */
/* Templates: templates/page.html (pages), single.html (an article), home.html (Insights overview),
   index.html (practice-area archives). The article list itself is patterns/insights-list.php. */
/* normal pages: space around the content */
.ea-page { padding: clamp(64px, 8vw, 120px) var(--ea-side); }
/* page title: "title" size */
.ea-page .wp-block-post-title { font-size: var(--wp--preset--font-size--title); letter-spacing: -.03em; }

/* practice areas = post categories (slug → colour), used for the small square before the area name */
:is(.category-competition, .ea-area a[href*="/category/competition/"]) { --c: var(--wp--preset--color--red); --plane: var(--wp--custom--plane--red); }
:is(.category-litigation, .ea-area a[href*="/category/litigation/"]) { --c: var(--wp--preset--color--yellow); --plane: var(--wp--custom--plane--yellow); }
:is(.category-analytics, .ea-area a[href*="/category/analytics/"]) { --c: var(--ea-ink); --plane: var(--wp--custom--plane--black); }
:is(.category-regulation, .ea-area a[href*="/category/regulation/"]) { --c: var(--wp--preset--color--blue); --plane: var(--wp--custom--plane--blue); }
:is(.category-research, .ea-area a[href*="/category/research/"]) { --c: var(--ea-paper); --plane: var(--wp--custom--plane--paper); --c-frame: var(--ea-ink); }
:is(.category-strategy, .ea-area a[href*="/category/strategy/"]) { --c: var(--wp--preset--color--grey); --plane: var(--wp--custom--plane--grey); }
/* the area name(s): small bold label, colour square in front, a link to that area's articles */
.ea-area { margin: 0; font: 600 14px/18px var(--wp--preset--font-family--sans); color: var(--ea-ink); }
.ea-area a { color: inherit; text-decoration: none; }
.ea-area a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ea-area a::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; vertical-align: 1px; background: var(--c, var(--ea-ink)); box-shadow: inset 0 0 0 1.5px var(--c-frame, transparent); }
.ea-area .wp-block-post-terms__separator { margin-right: 14px; }

/* --- an article (templates/single.html) --- */
/* page spacing like a section; the content keeps to the left of the 12-column grid */
.ea-article { padding: clamp(64px, 7vw, 112px) var(--ea-pad) var(--ea-sec); }
.ea-article > * { margin-block: 0; }
/* head: ink line on top, then area · date, the title and the lead (hand-written excerpt) */
.ea-art-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ea-gap); padding-top: 20px; border-top: 1px solid var(--ea-ink); }
.ea-art-head > * { grid-column: 1 / -1; margin: 0 !important; }
.ea-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.ea-art-meta > * { margin: 0 !important; }
.ea-art-date { font-size: 14px; color: var(--wp--preset--color--muted); }
/* title: columns 1–10, a step smaller than section titles because article titles are longer */
.ea-art-title { grid-column: 1 / 11 !important; margin-top: 28px !important; font-size: clamp(36px, 4vw, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
/* lead: columns 1–8, 22px ink */
.ea-art-lead { grid-column: 1 / 9 !important; margin-top: 28px !important; font-size: var(--wp--preset--font-size--lead); line-height: 1.45; letter-spacing: -.005em; color: var(--ea-ink); }
.ea-art-lead p { margin: 0; }
/* body: one reading column (612px, about 70 characters per line), left-aligned on the grid */
.ea-art-body { margin-top: clamp(56px, 6vw, 88px) !important; }
.ea-art-body > * { max-width: 612px; margin-block: 0 1.1em; }
/* text, links, H2/H3 and lists below also apply to normal pages (Legal notice, Privacy notice, Impressum, Datenschutz) */
:is(.ea-art-body, .ea-page .wp-block-post-content) p, :is(.ea-art-body, .ea-page .wp-block-post-content) li { font-size: 17px; line-height: 1.65; }
/* links in the text: blue, thin underline */
:is(.ea-art-body, .ea-page .wp-block-post-content) a { color: var(--wp--preset--color--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* H2: 25px with an ink line above, H3: 20px semibold */
:is(.ea-art-body, .ea-page .wp-block-post-content) h2 { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--ea-ink); font-size: var(--wp--preset--font-size--heading); line-height: 1.2; letter-spacing: -.01em; }
:is(.ea-art-body, .ea-page .wp-block-post-content) h3 { margin-top: 36px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
/* lists: square ink bullets (as in Expertise); numbered lists keep their numbers */
:is(.ea-art-body, .ea-page .wp-block-post-content) ul { padding: 0; list-style: none; }
:is(.ea-art-body, .ea-page .wp-block-post-content) ul li { position: relative; padding-left: 22px; margin-bottom: 6px; }
:is(.ea-art-body, .ea-page .wp-block-post-content) ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--ea-ink); }
:is(.ea-art-body, .ea-page .wp-block-post-content) ol { padding-left: 1.4em; }
/* quote / key takeaway: yellow 4px line on top, 20px text (like the About callout) */
.ea-art-body .wp-block-quote { margin: 40px 0; padding: 24px 0 0; border: 0; border-top: 4px solid var(--wp--preset--color--yellow); }
.ea-art-body .wp-block-quote p { margin: 0 0 .6em; font-size: 20px; line-height: 1.45; letter-spacing: -.005em; color: var(--ea-ink); }
.ea-art-body .wp-block-quote cite { font-size: 14px; font-style: normal; color: var(--wp--preset--color--muted); }
/* images: full column width, caption small and grey */
.ea-art-body figure { margin-block: 40px; }
.ea-art-body figcaption { margin-top: 10px; font-size: 14px; color: var(--wp--preset--color--muted); }
/* foot: ink line, "← All insights" on the left, the question and the button on the right */
.ea-art-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ea-gap); align-items: start; margin-top: clamp(72px, 8vw, 120px) !important; padding-top: 20px; border-top: 1px solid var(--ea-ink); }
.ea-art-foot > * { margin: 0 !important; }
.ea-art-back { grid-column: 1 / 6; font: 600 14px/18px var(--wp--preset--font-family--sans); }
.ea-art-back a { color: var(--ea-ink); text-decoration: none; }
.ea-art-back a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ea-art-cta { grid-column: 7 / -1; }
.ea-art-cta > * { margin: 0 !important; }
.ea-art-cta__h { font-size: var(--wp--preset--font-size--heading); line-height: 1.2; letter-spacing: -.01em; }
.ea-art-cta .wp-block-buttons { margin-top: 20px !important; }
/* button on hover: turns blue (as in the hero) */
.ea-art-cta .wp-block-button__link:hover { background: var(--wp--preset--color--blue); }

/* --- the Insights overview and area archives (templates/home.html, index.html) --- */
.ea-insights .ea-lead a { color: var(--ea-ink); }
/* list: ink line on top; one row per article with a hairline below */
.ea-posts .wp-block-post-template { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ea-ink); }
.ea-posts .wp-block-post { position: relative; border-bottom: 1px solid var(--ea-line); transition: background-color .3s linear; }
/* hover / keyboard focus: the row takes the light tint of its practice area */
.ea-posts .wp-block-post:hover, .ea-posts .wp-block-post:focus-within { background: var(--plane, var(--wp--custom--plane--paper)); }
/* row: date and area on the left (columns 1–3), title and excerpt on the right (columns 4–11) */
.ea-post { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ea-gap); padding: 28px 24px; }
.ea-post > * { margin: 0 !important; }
.ea-post__meta { grid-column: 1 / 4; display: grid; gap: 8px; align-content: start; }
.ea-post__meta > * { margin: 0 !important; }
.ea-post__date { font-size: 14px; color: var(--wp--preset--color--muted); }
.ea-post__main { grid-column: 4 / 12; display: grid; gap: 10px; }
.ea-post__main > * { margin: 0 !important; }
.ea-post__title { font-size: var(--wp--preset--font-size--heading); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.ea-post__title a { color: var(--ea-ink); text-decoration: none; }
.ea-post__title a::after { content: ""; position: absolute; inset: 0; }   /* the whole row is the link */
.ea-posts .wp-block-post:hover .ea-post__title a, .ea-post__title a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* the area link sits above the row link, so it stays clickable */
.ea-post__meta .ea-area { position: relative; z-index: 1; }
.ea-post__excerpt, .ea-post__excerpt p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.ea-post__excerpt .wp-block-post-excerpt__more-text { display: none; }
/* pagination and the empty state */
.ea-pager { margin-top: 32px !important; gap: 24px; font: 600 14px/18px var(--wp--preset--font-family--sans); }
.ea-pager a { color: var(--ea-ink); }
.ea-posts__empty { padding: 28px 0; border-top: 1px solid var(--ea-ink); color: var(--wp--preset--color--muted); }

/* ---------- 12 · Tablet / mobile ---------- */
/* Rules inside @media (max-width: 900px) only apply when the window is 900px wide or less.
   They override the desktop rules above. Check them by making the browser window narrow. */
/* small laptops (1200px or less): smaller header logo */
@media (max-width: 1200px) {
	.ea-logo--header svg { width: 222px; }
}
@media (max-width: 600px) {
	.ea-benefits__title { font-size: clamp(20px, calc((100vw - 104px) / 10.2), 28px); }
	:lang(de) .ea-benefits__title { font-size: clamp(18px, calc((100vw - 104px) / 12.1), 28px); }
}
/* laptops (1300px or less): benefits in two columns, the summary under the title */
@media (max-width: 1300px) {
	.ea-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ea-benefits__side { flex-direction: column; align-items: flex-start; }
}
/* small laptops and tablets (1100px or less): practice tiles in two rows of three; no "Get in touch" in the header */
@media (max-width: 1100px) {
	.ea-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ea-header .ea-header__cta { display: none; }
}
@media (max-width: 900px) {
	/* everything that sat in half columns now spans the full width */
	.ea-hero__line, .ea-head > *, .ea-two > *, .ea-statement__body, .ea-values, .ea-row__q, .ea-row__w, .ea-footer__grid > * { grid-column: 1 / -1 !important; }
	/* hero logo uses the full width */
	.ea-logo--hero svg { width: 100%; }
	/* section intro text: space above (it now sits below the title) */
	.ea-head .ea-lead { margin-top: 20px !important; }
	/* team: 2 per row; advisors note across the full width */
	.ea-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ea-network p { grid-column: 1 / -1; }
	/* values one below the other; approach cards in one column; benefits in one column, summary and titles may wrap */
	.ea-values { grid-template-columns: 1fr; margin-top: 56px !important; }
	.ea-cards { grid-template-columns: 1fr; }
	.ea-benefits__list { grid-template-columns: 1fr; }
	.ea-benefits__list strong { white-space: normal; }
	/* expertise: title wider, description below it, "+" stays right */
	.ea-row { padding-inline: 16px; }
	.ea-row__hd h3 { grid-column: 1 / 12; }
	.ea-row__lead { grid-column: 1 / -1; margin-top: 8px !important; padding-left: 76px; }
	.ea-row__hd::after { grid-area: 1 / 12; }
	.ea-row__q { padding: 0; margin-bottom: 24px !important; }
	/* contact: stacked; the Careers panel goes edge to edge */
	.ea-contact__l { grid-column: 1 / -1; padding: 24px 0 64px; }
	.ea-contact__r { grid-column: 1 / -1; margin: 0 calc(-1 * var(--ea-side)); padding: 64px var(--ea-side); }
	/* articles: title, lead and foot full width; overview rows stacked (meta above the title) */
	.ea-art-title, .ea-art-lead, .ea-art-back, .ea-art-cta, .ea-post__meta, .ea-post__main { grid-column: 1 / -1 !important; }
	.ea-art-cta { margin-top: 32px !important; }
	.ea-post { padding: 24px 16px; row-gap: 12px; }
	.ea-post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; }
	/* footer columns stacked with space between, ee mark on the left */
	.ea-footer__grid > * { margin-bottom: 32px !important; }
	.ea-footer__col:last-child > :last-child { align-self: flex-start; }
}
/* phones (640px or less) */
@media (max-width: 640px) {
	/* practice tiles stacked, one per row */
	.ea-tiles { grid-template-columns: 1fr; }
	/* each tile becomes a line: number | title | icon, hairline below */
	.ea-tile { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--ea-line); }
	.ea-tile::before { grid-area: 1 / 1; width: 34px; }
	.ea-tile__t { grid-area: 1 / 2; }
	.ea-tile__i { grid-area: 1 / 3; }
	/* hover bar spans the full line */
	.ea-tile::after { right: 0; }
	/* approach cards stacked */
	/* benefits: less padding inside the frame */
	.ea-benefits__card { padding: 36px 24px; }
	/* expertise: smaller row titles and questions */
	.ea-row__hd h3 { font-size: 21px; }
	.ea-qlist li { font-size: 18px; }
}
/* phones (600px or less) */
@media (max-width: 600px) {
	/* team: 1 per row */
	.ea-team { grid-template-columns: 1fr; }
	/* expertise description: no indent */
	.ea-row__lead { padding-left: 0; }
}
