/* ==========================================================================
   Wegweiser — job coach in Berlin. Taken from the coach's own flyers: navy,
   gold brush strokes, teal, the Berlin skyline, Arabic next to German.
   Signature: the coaching path as a transit line with stations, services
   as a departure board, the AVGS check as a ticket.
   Written with logical properties so Arabic (RTL) mirrors by itself.
   Component classes are unprefixed by body class so the block editor shows
   the same design (kit.json "editor_styles").
   ========================================================================== */
@import url("fonts.css");

:root {
	--wg-navy: #0f2742;
	--wg-ink: #0b1a2c;
	--wg-gold: #e0a92e;
	--wg-gold-soft: #f3d48a;
	--wg-teal: #0e7c7b;
	--wg-red: #c2452d;
	--wg-paper: #f6f3ec;
	--wg-mist: #e6edf4;
	--wg-white: #fff;
	--wg-muted: #5b6b7e;
	--wg-line: rgb(15 39 66 / .14);
	--wg-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--wg-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
	--wg-hand: "Caveat", "Aref Ruqaa", cursive;
	--wg-max: 1200px;
	--wg-gut: clamp(1rem, 4vw, 2.5rem);
	--wg-pad: max(var(--wg-gut), calc((100% - var(--wg-max)) / 2));
	--wg-sec: clamp(4rem, 9vw, 7.5rem);
	--wg-radius: 22px;
	--wg-ease: cubic-bezier(.2, .8, .2, 1);
	/* brush stroke behind highlighted words (core "Highlight" format = <mark>) */
	--wg-brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M6 34c30-18 70-24 120-22 60 2 90-8 150-6 46 2 90 6 118 14 4 8-2 16-10 20-40 8-90 6-140 8-60 2-120 6-180 4-30-1-50-3-58-6-6-4-6-8 0-12z' fill='%23e0a92e'/%3E%3C/svg%3E");
	--wg-skyline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='xMidYMax slice'%3E%3Cg fill='none' stroke='%23e0a92e' stroke-width='2'%3E%3Cpath d='M0 118h80v-40h30v40h40v-60h24v60h50V70h18V40l12-12 12 12v30h18v48h60V86h40v32h70V60h30v58h40V30h6V8h4v22h6v88h30V74h50v44h40V50l20-18 20 18v68h60V82h44v36h50V96h30v22h40V64h36v54h80V88h40v30h60V58h50v60h110'/%3E%3Ccircle cx='623' cy='44' r='10'/%3E%3Cpath d='M890 118V78h8V64h28v14h8v40M894 78h40M902 64V56h20v8'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */
body.kit-wegweiser, .editor-styles-wrapper {
	background: var(--wg-paper);
	color: var(--wg-ink);
	font-family: var(--wg-body);
	font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.kit-wegweiser #page { overflow-x: clip; }
body.kit-wegweiser ::selection { background: var(--wg-gold); color: var(--wg-ink); }
body.kit-wegweiser :focus-visible { outline: 3px solid var(--wg-gold); outline-offset: 3px; }
body.kit-wegweiser a { color: inherit; }
body.kit-wegweiser :is(h1, h2, h3, h4), .editor-styles-wrapper :is(h1, h2, h3, h4) { color: inherit; }
:where(body.kit-wegweiser, .editor-styles-wrapper) :is(h1, h2, h3, h4) { font-family: var(--wg-display); color: inherit; font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }
:where(body.kit-wegweiser, .editor-styles-wrapper) :is(h1, h2, h3, h4):lang(ar) { letter-spacing: 0; line-height: 1.3; }
:is(section.wp-block-group[class*="wg-"]) > * { margin-block-start: 0; }
:is(.wg-cards, .wg-svcs__grid, .wg-svc-card, .wg-svc__intro, .wg-svc__copy, .wg-svc__cols, .wg-svc__box, .wg-svc__how, .wg-steps, .wg-contact__grid, .wg-board__table, .wg-hero, .wg-cv, .wg-about, .wg-story, .wg-close, .wg-dl, .wg-footer__grid, .wg-header__bar, .wg-header__end, .wg-vt__ticket, .wg-hero__visual, .wg-footer__base) > * { margin-block: 0; }
:root { --rl-hint-bg: var(--wg-navy); --rl-hint-fg: var(--wg-white); --rl-hint-accent: var(--wg-gold); }

/* highlighted words get the gold brush */
:is(h1, h2, h3, .wg-quote, .wg-hand) mark {
	background: var(--wg-brush) center 96% / 100% 42% no-repeat;
	color: inherit;
	padding: 0 .14em;
	margin: 0 -.06em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
:is(.wg-line, .wg-close, .wg-et) :is(h1, h2) mark { color: var(--wg-gold-soft); background-size: 100% 30%; background-position: center 100%; }

/* shared section rhythm */
:is(.wg-hero, .wg-line, .wg-board, .wg-svcs, .wg-svc, .wg-vt, .wg-cv, .wg-about, .wg-aud, .wg-faq, .wg-close, .wg-phead, .wg-et, .wg-vsec, .wg-avgs, .wg-story, .wg-postsec, .wg-dl, .wg-contact, .wg-booksec, .wg-emp, .wg-legal) {
	padding-block: var(--wg-sec);
	padding-inline: var(--wg-pad);
	position: relative;
}
.wg-kicker {
	display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem !important;
	font-family: var(--wg-display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wg-teal);
}
.wg-kicker::before { content: ""; width: .75rem; height: .75rem; border-radius: 50%; border: 3px solid var(--wg-gold); flex: none; }
.wg-kicker:lang(ar) { letter-spacing: 0; font-size: .95rem; }
.wg-h2, .wg-phead__title, .wg-hero__title, .wg-quote { color: var(--wg-navy); }
:is(.wg-line, .wg-close, .wg-et) .wg-h2 { color: var(--wg-white); }
.wg-h2 { font-size: clamp(2rem, 4.6vw, 3.4rem) !important; margin: 0 0 1rem !important; max-width: 20ch; }
.wg-lede { color: var(--wg-muted); font-size: 1.12rem; max-width: 58ch; margin: 0 !important; }
.wg-small { font-size: .88rem; color: var(--wg-muted); }
.wg-sechead { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.wg-hand { font-family: var(--wg-hand); font-weight: 700; color: var(--wg-gold); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; margin: 0 0 .5rem !important; }
.wg-hand:lang(ar) { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.5; }
.wg-paper { background: var(--wg-white); border-radius: var(--wg-radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 1px 0 var(--wg-line), 0 30px 60px -30px rgb(15 39 66 / .35); }

/* ---------- buttons (core Button block) ---------- */
.wg-btn .wp-block-button__link {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--wg-display); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
	transition: transform .3s var(--wg-ease), background .3s, color .3s, box-shadow .3s;
}
.wg-btn--gold .wp-block-button__link, .wg-btn--gold .wp-block-button__link:is(:hover, :focus, :visited) { background: var(--wg-gold) !important; color: var(--wg-ink) !important; }
.wg-btn--gold .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgb(224 169 46 / .9); }
.wg-btn--line .wp-block-button__link, .wg-btn--line .wp-block-button__link:visited { background: transparent !important; color: var(--wg-navy) !important; border-color: var(--wg-navy); }
.wg-btn--line .wp-block-button__link:is(:hover, :focus) { background: var(--wg-navy) !important; color: var(--wg-white) !important; }
.wg-btn--gold .wp-block-button__link::after, .wg-btn--line .wp-block-button__link::after { content: "→"; transition: transform .3s var(--wg-ease); }
:dir(rtl) .wg-btn .wp-block-button__link::after, [dir="rtl"] .wg-btn .wp-block-button__link::after { content: "←"; }
.wg-btn .wp-block-button__link:hover::after { transform: translateX(3px); }
:dir(rtl) .wg-btn .wp-block-button__link:hover::after { transform: translateX(-3px); }
.wg-btn--sm .wp-block-button__link { padding: .6rem 1.1rem; font-size: .9rem; }
.wg-btn--sm .wp-block-button__link::after { content: none !important; }

/* ---------- header (template part) ---------- */
.runio-part--header { position: sticky; top: 0; z-index: 80; }
.admin-bar .runio-part--header { top: 32px; }
@media (max-width: 782px) { .admin-bar .runio-part--header { top: 46px; } }
/* the blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.wg-header { position: relative; isolation: isolate; border-bottom: 1px solid var(--wg-line); transition: transform .4s var(--wg-ease), background .3s; }
.wg-header.is-hidden { transform: translateY(-100%); }
.wg-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(246 243 236 / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.wg-header:has(.is-menu-open) { transform: none !important; }
.wg-header__bar { display: flex; align-items: center; gap: 1.5rem; padding: .7rem var(--wg-pad); }
.wg-logo { margin: 0 !important; font-family: var(--wg-display); font-weight: 800; font-size: 1.25rem; line-height: 1; white-space: nowrap; }
.wg-logo a { display: inline-flex; align-items: baseline; gap: .1rem; text-decoration: none; color: var(--wg-navy); direction: ltr; unicode-bidi: isolate; }
.wg-logo__mark { display: inline-block; padding: .2rem .4rem .25rem; margin-inline-end: .1rem; background: var(--wg-gold); color: var(--wg-ink); border-radius: 6px; transform: rotate(-3deg); }
.wg-logo__name { display: block; margin-inline-start: .5rem; font-family: var(--wg-hand); font-weight: 700; font-size: 1.15rem; color: var(--wg-teal); }
.wg-nav { margin-inline: auto; }
.wg-nav .wp-block-navigation__container { gap: clamp(.9rem, 2vw, 1.75rem); }
.wg-nav .wp-block-navigation-item__content { position: relative; font-weight: 600; font-size: .95rem; color: var(--wg-navy); text-decoration: none; padding-block: .35rem; }
.wg-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; inset-inline: 0; bottom: -.1rem; height: 3px; border-radius: 3px; background: var(--wg-gold); transform: scaleX(0); transition: transform .35s var(--wg-ease); }
.wg-nav .wp-block-navigation-item__content:is(:hover, [aria-current="page"])::after { transform: scaleX(1); }
.wg-header__end { display: flex; align-items: center; gap: .75rem; }
.wg-header__cta { margin: 0 !important; }
.wg-lang { --rl-active-bg: var(--wg-navy); --rl-active-fg: var(--wg-white); --rl-hint-bg: var(--wg-navy); --rl-hint-accent: var(--wg-gold); font-size: .85rem; }
.wg-lang .runio-lang__a { color: var(--wg-navy); }
.wg-lang .runio-lang__a[aria-current="true"] { color: var(--rl-active-fg); opacity: 1; }
/* mobile menu (core overlay) */
.wg-nav .wp-block-navigation__responsive-container-open { width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 50%; background: var(--wg-navy); color: var(--wg-white); }
@media (max-width: 599px) { .wg-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-grid; } }
.wg-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wg-navy) !important; color: var(--wg-white) !important; padding: 5rem var(--wg-gut) 2rem; }
.wg-nav .is-menu-open .wp-block-navigation-item__content { color: var(--wg-white); font-family: var(--wg-display); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800; }
.wg-nav .is-menu-open .wp-block-navigation__container { gap: .6rem; }
.wg-nav .wp-block-navigation__responsive-container-close { color: var(--wg-white); }
@media (max-width: 1000px) {
	.wg-header__bar { gap: .6rem; }
	.wg-nav { order: 3; margin-inline: 0; }
	.wg-header__end { margin-inline-start: auto; }
	.wg-logo__name { display: none; }
}
.wg-header .wg-header__cta .wp-block-button__link { white-space: nowrap; }
@media (max-width: 520px) { .wg-header .wg-header__cta { display: none; } }

/* ---------- hero ---------- */
.wg-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.wg-hero::before { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px; background: var(--wg-skyline) bottom / auto 100% repeat-x; opacity: .35; pointer-events: none; }
.wg-hero::after { content: ""; position: absolute; inset-inline-end: -10vw; top: 8%; width: 58vw; height: 70%; background: var(--wg-mist); border-radius: 40% 0 0 40%; z-index: -1; transform: rotate(-4deg); }
:dir(rtl) .wg-hero::after, [dir="rtl"] .wg-hero::after { border-radius: 0 40% 40% 0; transform: rotate(4deg); }
.wg-hero__copy .wg-hand { transform: rotate(-3deg); transform-origin: 0 50%; display: inline-block; }
:dir(rtl) .wg-hero__copy .wg-hand { transform: rotate(2deg); }
.wg-hero__title { font-size: clamp(3rem, 8.2vw, 6.4rem) !important; margin: .2rem 0 1.25rem !important; color: var(--wg-navy); line-height: .98 !important; }
.wg-hero__title:lang(ar) { line-height: 1.25 !important; }
.wg-hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 50ch; color: var(--wg-muted); margin: 0 0 1.75rem !important; }
.wg-hero__ctas { gap: .75rem; margin-bottom: 1.5rem; }
.wg-hero__langs { font-size: .92rem; color: var(--wg-muted); margin: 0 !important; }
.wg-hero__langs span { display: inline-block; padding: .2rem .65rem; margin: .15rem 0; border: 1.5px solid var(--wg-line); border-radius: 999px; color: var(--wg-navy); font-weight: 600; background: var(--wg-white); }
.wg-hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.wg-hero__photo { margin: 0 !important; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--wg-radius) var(--wg-radius); overflow: hidden; box-shadow: 0 0 0 10px var(--wg-paper), 0 0 0 12px var(--wg-gold), 0 40px 80px -30px rgb(15 39 66 / .5); }
.wg-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wg-hero__ticket {
	position: absolute; inset-inline-start: -14%; bottom: 9%; width: 15rem; max-width: 70%;
	padding: 1rem 1.2rem 1rem 1.5rem; padding-inline: 1.5rem 1.2rem; border-radius: 14px; background: var(--wg-white); color: var(--wg-navy);
	box-shadow: 0 24px 50px -20px rgb(15 39 66 / .45);
	-webkit-mask: radial-gradient(circle .55rem at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle .55rem at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle .55rem at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle .55rem at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
	animation: wg-float 6s ease-in-out infinite;
}
.wg-hero__ticket > * { margin: 0 !important; }
.wg-ticket__k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wg-teal); }
.wg-ticket__k:lang(ar) { letter-spacing: 0; font-size: .85rem; }
.wg-ticket__v { font-family: var(--wg-display); font-size: 1.45rem; font-weight: 800; line-height: 1.15; }
.wg-ticket__s { margin-top: .35rem !important; padding-top: .45rem; border-top: 2px dashed var(--wg-line); font-size: .78rem; color: var(--wg-muted); }
.wg-hero__echo { position: absolute; inset-inline-end: -4%; top: 4%; margin: 0 !important; padding: .45rem .9rem; border-radius: 999px; background: var(--wg-navy); color: var(--wg-gold-soft); font-family: var(--wg-hand); font-weight: 700; font-size: 1.15rem; transform: rotate(4deg); box-shadow: 0 16px 30px -14px rgb(15 39 66 / .6); }
.wg-hero__echo [lang="ar"] { font-size: 1.1rem; }
@keyframes wg-float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
	.wg-hero { grid-template-columns: minmax(0, 1fr); }
	.wg-hero__visual { width: min(82%, 380px); margin-top: 1rem; }
	.wg-hero::after { width: 100vw; height: 45%; top: auto; bottom: 0; inset-inline-end: -20vw; }
	.wg-hero__ticket { inset-inline-start: -10%; }
}

/* ---------- the line (journey) ---------- */
.wg-line { background: var(--wg-navy); color: var(--wg-white); overflow: hidden; }
.wg-line .wg-kicker { color: var(--wg-gold); }
.wg-line .wg-lede { color: rgb(255 255 255 / .72); }
.wg-line::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 90px; background: var(--wg-skyline) bottom / auto 100% repeat-x; opacity: .18; pointer-events: none; }
.wg-journey { --ri-accent: var(--wg-gold); --ri-accent-ink: var(--wg-ink); --ri-line: rgb(255 255 255 / .2); --ri-bg: var(--wg-navy); margin-inline: 0 !important; max-width: none !important; }
.wg-journey .runio-journey__tag { color: var(--wg-gold); opacity: 1; }
.wg-journey .runio-journey__title { font-size: 1.2rem; color: var(--wg-white); }
.wg-journey .runio-journey__text { color: rgb(255 255 255 / .7); font-size: .95rem; }
.wg-journey .runio-journey__stop { opacity: .45; transition: opacity .5s var(--wg-ease); }
.wg-journey .runio-journey__stop.is-reached { opacity: 1; }
@media (min-width: 900px) {
	.wg-journey .runio-journey__list { grid-template-columns: repeat(var(--stops), minmax(0, 1fr)); gap: 1.5rem; }
	.wg-journey .runio-journey__rail { inset-block: 1.25rem auto; inset-inline: 1.4rem; width: auto; height: 6px; border-radius: 6px; }
	.wg-journey .runio-journey__fill { inset-block: 0; inset-inline-start: 0; inset-inline-end: auto; top: 0; width: calc(var(--progress) * 100%); height: 100%; }
	.wg-journey .runio-journey__train {
		display: block; position: absolute; top: 50%; inset-inline-start: calc(var(--progress) * 100%);
		width: 2.6rem; height: 1.5rem; margin-inline-start: -1.3rem; transform: translateY(-190%);
		border-radius: 8px; background: var(--wg-gold); box-shadow: 0 0 0 4px var(--wg-navy), 0 0 24px rgb(224 169 46 / .8);
	}
	.wg-journey .runio-journey__train::before { content: "J"; display: grid; place-items: center; height: 100%; font: 800 .85rem/1 var(--wg-display); color: var(--wg-ink); }
	.wg-journey .runio-journey__stop { padding: 4rem 0 0; }
	.wg-journey .runio-journey__dot { inset-inline-start: 0; top: 0; width: 2.8rem; height: 2.8rem; border-width: 4px; }
}
@media (max-width: 899px) {
	.wg-journey .runio-journey__dot { background: var(--wg-navy); }
}

/* ---------- departure board ---------- */
.wg-board { background: var(--wg-paper); }
.wg-board__table { background: var(--wg-ink); color: var(--wg-white); border-radius: var(--wg-radius); padding: clamp(.75rem, 2vw, 1.25rem); box-shadow: 0 40px 80px -40px rgb(11 26 44 / .7); }
.wg-board__cols, .wg-row { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) minmax(0, 1.5fr) 9rem; gap: .5rem 1.5rem; align-items: center; }
.wg-board__cols { grid-template-columns: 4.25rem minmax(0, 2.5fr) 9rem; margin: 0 !important; padding: .4rem 1rem .8rem; font-family: var(--wg-display); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wg-gold); border-bottom: 1px solid rgb(255 255 255 / .12); }
.wg-board__cols:lang(ar) { letter-spacing: 0; font-size: .85rem; }
.wg-board__cols span:last-child { text-align: end; }
.wg-row { padding: 1.1rem 1rem; border-bottom: 1px solid rgb(255 255 255 / .08); border-radius: 12px; transition: background .3s; }
.wg-row:last-child { border-bottom: 0; }
.wg-row:hover { background: rgb(255 255 255 / .05); }
.wg-row > * { margin: 0 !important; }
.wg-row__no { display: grid; place-items: center; width: 3.25rem; height: 2.4rem; border-radius: 8px; background: var(--wg-teal); font-family: var(--wg-display); font-weight: 800; font-size: 1.05rem; color: var(--wg-white); }
.wg-row:nth-child(3n) .wg-row__no { background: var(--wg-red); }
.wg-row:nth-child(3n+1) .wg-row__no { background: #3c6aa8; }
.wg-row__title { font-size: 1.15rem !important; color: var(--wg-white); }
.wg-row__text { color: rgb(255 255 255 / .66); font-size: .95rem; }
.wg-row__dest { justify-self: end; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--wg-display); font-weight: 700; font-size: .9rem; color: var(--wg-gold); white-space: nowrap; }
.wg-row__dest::before { content: "→"; }
:dir(rtl) .wg-row__dest::before { content: "←"; }
.wg-board > .wg-board__more { margin-top: clamp(1.5rem, 3vw, 2.25rem) !important; }
@media (max-width: 760px) {
	.wg-board__cols { display: none; }
	.wg-row { grid-template-columns: 3.25rem minmax(0, 1fr); gap: .35rem 1rem; align-items: start; }
	.wg-row__no { grid-row: span 3; }
	.wg-row__dest { justify-self: start; }
}
/* split-flap arrival (kit.js adds .is-in) */
.runio-js .wg-board__table .wg-row { transform: perspective(600px) rotateX(-80deg); transform-origin: 50% 0; opacity: 0; transition: transform .7s var(--wg-ease) calc(var(--i, 0) * 90ms), opacity .5s calc(var(--i, 0) * 90ms); }
.runio-js .wg-board__table.is-in .wg-row { transform: none; opacity: 1; }
.editor-styles-wrapper .wg-board__table .wg-row { transform: none !important; opacity: 1 !important; }

/* ---------- AVGS ticket teaser ---------- */
.wg-vt { background: linear-gradient(180deg, var(--wg-paper) 50%, var(--wg-mist) 50%); }
.wg-vt__ticket {
	display: grid; grid-template-columns: 5rem minmax(0, 1fr); max-width: 980px; margin-inline: auto;
	background: var(--wg-white); border-radius: var(--wg-radius); box-shadow: 0 30px 70px -35px rgb(15 39 66 / .45); overflow: hidden;
}
.wg-vt__stub { margin: 0 !important; display: grid; place-items: center; background: var(--wg-gold); color: var(--wg-ink); writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--wg-display); font-weight: 800; letter-spacing: .12em; font-size: .9rem; border-inline-start: 3px dashed rgb(11 26 44 / .25); }
:dir(rtl) .wg-vt__stub { transform: none; }
.wg-vt__main { padding: clamp(1.5rem, 4vw, 3rem); }
.wg-vt__main .wg-h2 { max-width: 22ch; }
.wg-vt__main .wp-block-buttons { margin-top: 1.5rem; }
@media (max-width: 600px) {
	.wg-vt__ticket { grid-template-columns: minmax(0, 1fr); }
	.wg-vt__stub { writing-mode: horizontal-tb; transform: none; padding: .7rem; border: 0; border-bottom: 3px dashed rgb(11 26 44 / .25); }
}

/* ---------- forms (runio intake blocks) ---------- */
.wg-form, .runio-voucher.wg-voucher, .wg-chat { --ri-accent: var(--wg-navy); --ri-accent-ink: var(--wg-white); --ri-line: rgb(15 39 66 / .18); --ri-soft: var(--wg-mist); --ri-radius: 16px; --ri-error: var(--wg-red); }
.wg-form .runio-req__submit { background: var(--wg-gold); color: var(--wg-ink); font-family: var(--wg-display); }
.wg-form .runio-req__chip input:checked + span { background: var(--wg-teal); border-color: var(--wg-teal); }
.wg-form .runio-req__drop { background: repeating-linear-gradient(-45deg, var(--wg-mist) 0 12px, #edf2f7 12px 24px); }
.wg-form .runio-req__done-mark { color: var(--wg-teal); }

/* ---------- CV section ---------- */
.wg-cv { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; background: var(--wg-mist); }
.wg-cv--flat { background: none; padding: clamp(3rem, 6vw, 5rem) 0 0; }
.wg-cv__copy { position: sticky; top: 7rem; }
.wg-checks { list-style: none; padding: 0 !important; margin: 1.5rem 0 !important; display: grid; gap: .75rem; }
.wg-checks li { position: relative; padding-inline-start: 2.2rem; font-weight: 500; }
.wg-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .1rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--wg-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b1a2c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
@media (max-width: 900px) { .wg-cv { grid-template-columns: minmax(0, 1fr); } .wg-cv__copy { position: static; } }

/* ---------- about teaser / story ---------- */
.wg-about, .wg-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.wg-about__photo, .wg-story__photo { margin: 0 !important; border-radius: var(--wg-radius); overflow: hidden; box-shadow: -16px 16px 0 var(--wg-gold); }
:dir(rtl) :is(.wg-about__photo, .wg-story__photo) { box-shadow: 16px 16px 0 var(--wg-gold); }
:is(.wg-about__photo, .wg-story__photo) img { display: block; width: 100%; height: auto; }
.wg-quote { font-size: clamp(1.7rem, 3.6vw, 2.7rem) !important; color: var(--wg-navy); margin: 0 0 1.25rem !important; }
.wg-facts { list-style: none; padding: 0 !important; margin: 1.5rem 0 2rem !important; display: flex; flex-wrap: wrap; gap: .6rem; }
.wg-facts li { padding: .5rem .9rem; border-radius: 12px; background: var(--wg-white); border: 1px solid var(--wg-line); font-size: .95rem; }
.wg-story__copy p { font-size: 1.1rem; max-width: 60ch; }
.wg-sign { font-size: 2.2rem !important; margin-top: 1rem !important; }
@media (max-width: 860px) { .wg-about, .wg-story { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cards (audience, formats, values, employers) ---------- */
.wg-aud { background: var(--wg-white); }
.wg-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.wg-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wg-card { position: relative; padding: 1.75rem 1.5rem 1.6rem; border-radius: var(--wg-radius); background: var(--wg-paper); border: 1px solid var(--wg-line); overflow: hidden; transition: transform .4s var(--wg-ease), box-shadow .4s; }
.wg-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--wg-navy); }
.wg-card--2::before { background: var(--wg-teal); } .wg-card--3::before { background: var(--wg-gold); } .wg-card--4::before { background: var(--wg-red); }
.wg-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgb(15 39 66 / .35); }
.wg-card > * { margin: 0 !important; }
.wg-card__tag { display: inline-block; margin-bottom: 1rem !important; padding: .2rem .65rem; border-radius: 999px; background: var(--wg-white); border: 1px solid var(--wg-line); font-size: .75rem; font-weight: 700; color: var(--wg-teal); letter-spacing: .06em; text-transform: uppercase; }
.wg-card__tag:lang(ar) { letter-spacing: 0; font-size: .85rem; }
.wg-card__title { font-size: 1.3rem !important; margin-bottom: .5rem !important; color: var(--wg-navy); }
.wg-card__text { color: var(--wg-muted); font-size: .98rem; }
.wg-card__text a { color: var(--wg-teal); font-weight: 700; text-decoration: none; }
.wg-emp .wg-card { background: var(--wg-white); }
@media (max-width: 1000px) { .wg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wg-cards, .wg-cards--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.wg-faq__list { max-width: 860px; border-top: 2px solid var(--wg-navy); }
.wg-faq__item { border-bottom: 1px solid var(--wg-line); margin: 0 !important; }
.wg-faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 1.35rem 0; padding-inline-end: 3rem; font-family: var(--wg-display); font-weight: 700; font-size: 1.15rem; color: var(--wg-navy); }
.wg-faq__item summary::-webkit-details-marker { display: none; }
.wg-faq__item summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--wg-gold); color: var(--wg-ink); font-size: 1.3rem; font-weight: 700; transition: rotate .35s var(--wg-ease); }
.wg-faq__item[open] summary::after { rotate: 45deg; }
.wg-faq__item p { margin: 0 0 1.4rem !important; color: var(--wg-muted); max-width: 70ch; }

/* ---------- closing ---------- */
.wg-close { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4rem; align-items: end; background: var(--wg-navy); color: var(--wg-white); padding-bottom: calc(var(--wg-sec) + 60px); overflow: hidden; }
.wg-close::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 110px; background: var(--wg-skyline) bottom / auto 100% repeat-x; opacity: .45; }
.wg-close .wg-h2 { font-size: clamp(2.2rem, 5.2vw, 4rem) !important; }
.wg-close .wg-lede { color: rgb(255 255 255 / .75); }
.wg-close .wp-block-buttons { margin-top: 1.75rem; }
.wg-chat { --ri-line: rgb(255 255 255 / .35); }
.wg-close .wg-chat .runio-chat__key, .wg-contact .wg-chat .runio-chat__key { font-size: 1rem; }
.wg-chat .runio-chat__word { border-color: var(--wg-gold); color: var(--wg-gold); font-size: 1.15rem; }
.wg-chat .runio-chat__btn { padding: 1rem 1.4rem; }
.wg-chat a.runio-chat__btn, .wg-chat a.runio-chat__btn:is(:hover, :focus, :visited) { text-decoration: none !important; color: #fff !important; }
@media (max-width: 860px) { .wg-close { grid-template-columns: minmax(0, 1fr); } }

/* ---------- page head ---------- */
.wg-phead { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); background: var(--wg-mist); overflow: hidden; }
.wg-phead::after { content: ""; position: absolute; inset-inline: var(--wg-pad); bottom: 1.25rem; height: 14px; background:
	radial-gradient(circle 7px, var(--wg-gold) 98%, #0000) 0 50% / 33.3% 14px repeat-x,
	linear-gradient(var(--wg-navy), var(--wg-navy)) 0 50% / 100% 3px no-repeat; opacity: .55; }
.wg-phead__title { font-size: clamp(2.6rem, 7vw, 5rem) !important; color: var(--wg-navy); margin: 0 0 1rem !important; max-width: 18ch; }

/* ---------- employer teaser ---------- */
.wg-et { background: var(--wg-teal); color: var(--wg-white); }
.wg-et .wg-kicker { color: var(--wg-gold-soft); }
.wg-et .wg-lede { color: rgb(255 255 255 / .82); }
.wg-et .wp-block-buttons { margin-top: 1.5rem; }

/* ---------- AVGS page: voucher ticket + steps ---------- */
.wg-vsec { background: var(--wg-white); }
.runio-voucher.wg-voucher { max-width: 900px !important; margin-inline: auto !important; }
.wg-voucher .runio-voucher__ticket { position: relative; border: 0; background: var(--wg-paper); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: inset 0 0 0 2px var(--wg-navy); }
.wg-voucher .runio-voucher__ticket::before { content: "AVGS"; position: absolute; inset-inline-end: 1.25rem; top: 1.25rem; padding: .25rem .6rem; border: 2px solid var(--wg-gold); border-radius: 6px; color: var(--wg-gold); font: 800 .8rem/1 var(--wg-display); letter-spacing: .15em; transform: rotate(6deg); }
.wg-voucher .runio-voucher__title { font-family: var(--wg-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--wg-navy); max-width: 22ch; }
.wg-voucher .runio-voucher__head { padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 2px dashed var(--wg-line); }
.wg-voucher .runio-voucher__opt { background: var(--wg-white); padding: .9rem 1.3rem; }
.wg-voucher .runio-voucher__opt:hover { border-color: var(--wg-gold); background: var(--wg-white); }
.wg-voucher .runio-voucher__stamp { background: var(--wg-gold); color: var(--wg-ink); width: 3rem; height: 3rem; font-size: 1.2rem; transform: rotate(-8deg); }
.wg-voucher .runio-voucher__otitle { font-family: var(--wg-display); color: var(--wg-navy); font-size: 1.6rem; }
.wg-voucher .runio-voucher__cta { background: var(--wg-gold); color: var(--wg-ink); font-family: var(--wg-display); }
.wg-voucher .runio-voucher__letter { background: var(--wg-white); border: 1px solid var(--wg-line); }
.wg-voucher .runio-voucher__copy { background: var(--wg-navy); }
.wg-voucher .runio-voucher__qtext { font-family: var(--wg-display); font-size: 1.3rem; color: var(--wg-navy); }
.wg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.wg-steps::before { content: ""; position: absolute; inset-inline: 2rem; top: 1.75rem; border-top: 3px dashed var(--wg-gold); }
.wg-step { position: relative; }
.wg-step > * { margin: 0 !important; }
.wg-step__n { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--wg-navy); color: var(--wg-white); font: 800 1.3rem/1 var(--wg-display); box-shadow: 0 0 0 8px var(--wg-paper); margin-bottom: 1.25rem !important; }
.wg-step__title { font-size: 1.3rem !important; color: var(--wg-navy); margin-bottom: .5rem !important; }
.wg-step__text { color: var(--wg-muted); }
@media (max-width: 760px) { .wg-steps { grid-template-columns: minmax(0, 1fr); } .wg-steps::before { display: none; } }

/* ---------- guides ---------- */
.wg-postsec { padding-top: clamp(2.5rem, 5vw, 4rem); }
.wg-posts__grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.wg-posts .wg-posts__grid > li.wp-block-post { padding: 8.5rem 1.5rem 1.5rem !important; }
.wg-posts__grid > li { position: relative; display: flex; flex-direction: column; gap: .5rem; border-radius: var(--wg-radius); background: var(--wg-white); border: 1px solid var(--wg-line); overflow: hidden; transition: transform .4s var(--wg-ease), box-shadow .4s; }
.wg-posts__grid > li::before { content: "“"; position: absolute; inset-inline: 0; top: 0; height: 7rem; display: grid; place-items: center; font: 800 7rem/1 var(--wg-display); color: var(--wg-gold); background: var(--wg-navy); }
.wg-posts__grid > li:nth-child(3n+2)::before { background: var(--wg-teal); color: var(--wg-white); }
.wg-posts__grid > li:nth-child(3n)::before { background: var(--wg-gold); color: var(--wg-navy); }
.wg-posts__grid > li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgb(15 39 66 / .35); }
.wg-post__date { font-size: .82rem; color: var(--wg-muted); }
.wg-post__title { font-size: 1.25rem !important; margin: 0 !important; }
.wg-post__title a { text-decoration: none; color: var(--wg-navy); }
.wg-post__title a::after { content: ""; position: absolute; inset: 0; }
.wg-post__excerpt p { margin: 0; color: var(--wg-muted); font-size: .95rem; }
.wg-post__excerpt .wp-block-post-excerpt__more-text { display: none; }
@media (max-width: 900px) { .wg-posts__grid { grid-template-columns: minmax(0, 1fr); } }
.wg-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; background: var(--wg-mist); }
@media (max-width: 860px) { .wg-dl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.wg-contact { display: grid; gap: 2rem; }
.wg-contact .wg-chat { --ri-line: rgb(15 39 66 / .3); }
.wg-contact .wg-chat .runio-chat__word { color: var(--wg-navy); border-color: var(--wg-navy); }
.wg-contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.wg-contact__item { padding: 1.5rem; border-radius: var(--wg-radius); background: var(--wg-white); border: 1px solid var(--wg-line); }
.wg-contact__item > * { margin: 0 !important; }
.wg-contact__v { margin-top: .75rem !important; font-family: var(--wg-display); font-weight: 600; font-size: 1.05rem; color: var(--wg-navy); overflow-wrap: anywhere; }
.wg-contact__v a { text-decoration-color: var(--wg-gold); text-underline-offset: 4px; }
@media (max-width: 760px) { .wg-contact__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- booking widget ---------- */
.wg-booksec { padding-top: clamp(2rem, 4vw, 3rem); }
.wg-appt.runio-appt { --ra-accent: var(--wg-navy); --ra-on-accent: var(--wg-white); --ra-bg: var(--wg-white); --ra-fg: var(--wg-ink); --ra-muted: var(--wg-muted); --ra-line: rgb(15 39 66 / .14); --ra-soft: var(--wg-mist); --ra-ticket-bg: var(--wg-navy); --ra-ticket-fg: var(--wg-white); --ra-display: var(--wg-display); --ra-font: var(--wg-body); --ra-radius: 22px; max-width: var(--wg-max) !important; margin-inline: auto !important; }
.wg-appt .ra-title { font-family: var(--wg-display); }

/* ---------- employers ---------- */
.wg-emp { background: var(--wg-mist); }

/* ---------- footer (template part) ---------- */
.wg-footer { position: relative; background: var(--wg-ink); color: rgb(255 255 255 / .82); padding: clamp(4rem, 8vw, 6rem) var(--wg-pad) 2rem; }
.wg-footer::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 8px; background: linear-gradient(90deg, var(--wg-gold) 0 33%, var(--wg-teal) 33% 66%, var(--wg-red) 66%); }
.wg-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 2.5rem; }
.wg-footer .wg-logo a { color: var(--wg-white); }
.wg-footer .wg-logo__name { display: inline; color: var(--wg-gold-soft); }
.wg-footer__hand { margin-top: 1.25rem !important; font-size: 1.7rem; }
.wg-footer__about { max-width: 36ch; font-size: .95rem; }
.wg-footer__k { margin: 0 0 1rem !important; font-family: var(--wg-display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wg-gold); }
.wg-footer__k:lang(ar) { letter-spacing: 0; font-size: .9rem; }
.wg-footer__nav .wp-block-navigation__container { gap: .2rem; }
.wg-footer__nav .wp-block-navigation-item__content { color: rgb(255 255 255 / .82); text-decoration: none; padding-block: .25rem; }
.wg-footer__nav .wp-block-navigation-item__content:hover { color: var(--wg-gold); }
.wg-footer__v { margin: 0 0 .6rem !important; }
.wg-footer__v a { color: inherit; }
.wg-chat--sm { margin-top: 1rem; }
.wg-chat--sm .runio-chat__btn { padding: .6rem 1rem; font-size: .9rem; }
.wg-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .88rem; }
.wg-footer__legal { margin: 0 !important; }
.wg-footer__legal a { color: inherit; }
.wg-lang--foot { --rl-active-bg: var(--wg-gold); --rl-active-fg: var(--wg-ink); }
.wg-lang--foot .runio-lang__a { color: var(--wg-white); }
.wg-lang--foot .runio-lang__a[aria-current="true"] { color: var(--wg-ink); }
@media (max-width: 860px) { .wg-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- legal + single posts ---------- */
body .entry-content > .wg-legal { max-width: 820px; margin-inline: auto; padding-inline: var(--wg-gut); }
.wg-legal h3 { margin: 2rem 0 .5rem; color: var(--wg-navy); }
.wg-legal__todo { padding: .8rem 1rem; border-radius: 12px; background: #fff4ce; color: #5c4400; font-size: .92rem; }
body .entry-content > .wg-article { max-width: 760px; margin-inline: auto; }
.wg-article { padding: 0 var(--wg-gut) var(--wg-sec); font-size: 1.1rem; }
.wg-article h2 { font-size: 1.6rem; color: var(--wg-navy); margin-top: 2.5rem; }
.wg-article blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-inline-start: 5px solid var(--wg-gold); background: var(--wg-white); border-radius: 0 14px 14px 0; }
.wg-article__back { display: inline-block; margin-top: 2rem; font-weight: 700; color: var(--wg-teal) !important; text-decoration: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
	.wg-hero__ticket { animation: none; }
	.runio-js .wg-board__table .wg-row { transform: none; opacity: 1; transition: none; }
	.wg-card, .wg-posts__grid > li { transition: none; }
}

/* the page head already names the booking step */
.wg-appt h2.ra-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* long German compounds break with a hyphen instead of mid-word */
/* only narrow columns hyphenate (journey stops, board rows, phones) — big headlines stay whole */
:lang(de) :is(.wg-row__title, .runio-journey__title, .wg-svc-card__title, .wg-step__title) { hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 600px) { :lang(de) :is(h1, h2) { hyphens: auto; -webkit-hyphens: auto; } }
:is(h1, h2, h3) { overflow-wrap: break-word; }
/* Arabic letters join across the brush: no padding that would push a word apart */
:lang(ar) :is(h1, h2, h3, .wg-quote, .wg-hand) mark { padding: 0; }

/* ---------- three lines on the board: J teal, S red, G blue ---------- */
.wg-row--job .wg-row__no { background: var(--wg-teal) !important; }
.wg-row--social .wg-row__no { background: var(--wg-red) !important; }
.wg-row--business .wg-row__no { background: #3c6aa8 !important; }
.wg-row__dest a, .wg-row__dest a:is(:hover, :focus, :visited) { color: inherit; text-decoration: none !important; }
.wg-row__dest a::after { content: ""; position: absolute; inset: 0; }
.wg-row { position: relative; }
.wg-row:focus-within { outline: 3px solid var(--wg-gold); outline-offset: -3px; }

/* ---------- overview cards with photos ---------- */
.wg-svcs { background: var(--wg-paper); }
.wg-svcs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.wg-svc-card { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 0 0 1.5rem; border-radius: var(--wg-radius); background: var(--wg-white); border: 1px solid var(--wg-line); overflow: hidden; transition: transform .4s var(--wg-ease), box-shadow .4s; }
.wg-svc-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgb(15 39 66 / .35); }
.wg-svc-card > :not(.wg-svc-card__photo) { margin-inline: 1.5rem !important; }
.wg-svc-card__photo { margin: 0 0 .5rem !important; aspect-ratio: 4 / 3; overflow: hidden; }
.wg-svc-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--wg-ease); }
.wg-svc-card:hover .wg-svc-card__photo img { transform: scale(1.04); }
.wg-svc-card__line { display: flex; align-items: center; gap: .6rem; font: 700 .8rem/1.2 var(--wg-display); letter-spacing: .08em; text-transform: uppercase; color: var(--wg-muted); }
.wg-svc-card__line:lang(ar) { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.wg-svc-card__line span { display: grid; place-items: center; width: 2.2rem; height: 1.7rem; border-radius: 7px; color: var(--wg-white); font-size: .95rem; letter-spacing: 0; background: var(--wg-teal); }
.wg-svc-card--social .wg-svc-card__line span { background: var(--wg-red); }
.wg-svc-card--business .wg-svc-card__line span { background: #3c6aa8; }
.wg-svc-card__title { font-size: 1.45rem !important; color: var(--wg-navy); }
.wg-svc-card__text { color: var(--wg-muted); }
.wg-svc-card__more { margin-top: auto !important; font-weight: 700; color: var(--wg-navy); }
.wg-svc-card__more a { text-decoration: none; }
.wg-svc-card__more a::after { content: " →"; }
:dir(rtl) .wg-svc-card__more a::after { content: " ←"; }
.wg-svc-card__more a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 960px) { .wg-svcs__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* tick lists */
.wg-ticks { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: .55rem; }
.wg-ticks li { position: relative; padding-inline-start: 1.9rem; }
.wg-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--wg-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230b1a2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat; }

/* ---------- service page ---------- */
.wg-svc { background: var(--wg-paper); }
.wg-svc__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.wg-svc__photo { margin: 0 !important; border-radius: var(--wg-radius); overflow: hidden; box-shadow: -16px 16px 0 var(--wg-gold); aspect-ratio: 4 / 3; }
:dir(rtl) .wg-svc__photo { box-shadow: 16px 16px 0 var(--wg-gold); }
.wg-svc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wg-svc__copy > * { margin-block: 0 1rem !important; }
.wg-svc__facts { padding: .9rem 1.1rem; border-radius: 14px; background: var(--wg-white); border: 1px solid var(--wg-line); font-size: .95rem; color: var(--wg-ink); }
.wg-svc > .wg-svc__cols, .wg-svc > .wg-svc__how { margin-top: clamp(3rem, 6vw, 5rem) !important; }
.wg-svc__cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 5rem); }
.wg-svc__box { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--wg-radius); background: var(--wg-white); border: 1px solid var(--wg-line); }
.wg-svc__box--who { background: var(--wg-navy); color: var(--wg-white); border-color: transparent; }
.wg-svc__box > * { margin-block: 0 1rem !important; }
.wg-svc__boxtitle { font-size: 1.35rem !important; color: inherit; }
.wg-svc__box--do .wg-svc__boxtitle { color: var(--wg-navy); }
.wg-svc__note { font-size: .92rem; opacity: .75; margin: 1.25rem 0 0 !important; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .18); }
.wg-svc__how { margin-top: clamp(3rem, 6vw, 5rem); }
.wg-svc__how .wg-h2 { margin-bottom: 2rem !important; }
@media (max-width: 900px) { .wg-svc__intro, .wg-svc__cols { grid-template-columns: minmax(0, 1fr); } }

/* real photos in the hero arch and about blocks */
.wg-hero__photo img, :is(.wg-about__photo, .wg-story__photo) img { object-fit: cover; object-position: 50% 30%; }
:is(.wg-about__photo, .wg-story__photo) { aspect-ratio: 4 / 5; max-height: 640px; }
:is(.wg-about__photo, .wg-story__photo) img { height: 100%; }

/* single author site: no empty "posted by" link */
body.kit-wegweiser :is(.posted-by, .ast-author-meta) { display: none !important; }

/* the line follows the scroll with a little easing instead of jumping */
.wg-journey :is(.runio-journey__fill, .runio-journey__train) { transition: width .35s var(--wg-ease), height .35s var(--wg-ease), inset-inline-start .35s var(--wg-ease); }
@media (prefers-reduced-motion: reduce) { .wg-journey :is(.runio-journey__fill, .runio-journey__train) { transition: none; } }
