/* =========================================================================
   AFServices — light look (the site's default since 10 Nov 2026: Karolina approved the light direction)
   Applies under html.afs-light, which functions.php sets whenever the active palette background is white
   (theme.json default). The previous dark look is kept as the "Dark" style variation (styles/dark.json): choosing it
   in the Site Editor drops this file and the class. Brand rules: #FFFFFF / #F1F1F1 backgrounds, black text, red
   accents, red slash motif, black-and-red logo, black at reduced opacity for lines, surfaces and muted text.
   Red text only at large sizes or on white (#E31A31 on white is 4.71:1; on #F1F1F1 only 4.17:1).
   ========================================================================= */
html.afs-light {
	--wp--preset--color--ink: #ffffff;
	--wp--preset--color--ink-2: #f1f1f1;
	--wp--preset--color--ink-3: rgba(0, 0, 0, .06);
	--wp--preset--color--ink-4: rgba(0, 0, 0, .09);
	--wp--preset--color--text: #000000;
	--wp--preset--color--text-2: rgba(0, 0, 0, .78);
	--wp--preset--color--muted: rgba(0, 0, 0, .64);
	--wp--custom--line: rgba(0, 0, 0, .1);
	--wp--custom--line-2: rgba(0, 0, 0, .2);
	color-scheme: light;
}
.afs-light ::selection { background: var(--red); color: #fff; }

/* header: white bar, black logo (swapped by the export / functions.php), red call to action */
.afs-light .hdr__item > a:hover, .afs-light .afs-lang a:hover, .afs-light .hdr__sub a:hover, .afs-light .hdr__sub a:focus-visible, .afs-light .hdr__sub a[aria-current] { background: rgba(0, 0, 0, .05); }
.afs-light .hdr__item.is-current > a, .afs-light .afs-lang a[aria-current] { background: rgba(0, 0, 0, .07); }
.afs-light .hdr__cta.btn--light { --bg: var(--red); --fg: #fff; --bd: var(--red); --fill: #000; --fill-fg: #fff; }
.afs-light .hdr__cta.btn--light .btn__ico { background: rgba(255, 255, 255, .18); }

/* buttons: dark arrow on light surfaces, black fill on hover */
.afs-light .wp-block-button__link { --fill: #000; --fill-fg: #fff; }
.afs-light .is-style-ghost .wp-block-button__link { --fill: #000; --fill-fg: #fff; }
.afs-light .is-style-ghost .wp-block-button__link::after, .afs-light .is-style-text .wp-block-button__link::after {
	background-color: rgba(0, 0, 0, .06);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000000' stroke-width='1.5'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5'/%3E%3C/svg%3E");
}
.afs-light .is-style-ghost .wp-block-button__link:hover::after, .afs-light .is-style-ghost .wp-block-button__link:focus-visible::after, .afs-light .is-style-text .wp-block-button__link:hover::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5'/%3E%3C/svg%3E");
}
.afs-light .is-style-light .wp-block-button__link { --bg: #fff; --fg: #000; --bd: #fff; --fill: #000; --fill-fg: #fff; }

/* type */
.afs-light .is-style-statement.is-words .mw { color: rgba(0, 0, 0, .46); }
.afs-light .marquee__item:nth-child(4n+3) { -webkit-text-stroke-color: rgba(0, 0, 0, .55); }

/* service rail art (drawn white on dark) */
.afs-light .art-grid line { stroke: rgba(0, 0, 0, .08); }
.afs-light .art-ring-static, .afs-light .art-halo { stroke: rgba(0, 0, 0, .14); }
.afs-light .art-ring-thick { stroke: rgba(0, 0, 0, .07); }
.afs-light .art-halo { stroke: rgba(0, 0, 0, .3); }
.afs-light .art-axis { stroke: rgba(0, 0, 0, .3); }
.afs-light .art-white, .afs-light .art-line { stroke: #000; }
.afs-light .art-white-fill { fill: #000; }
.afs-light .art-shadow { fill: rgba(0, 0, 0, .12); }
.afs-light .art-frame { fill: #fff; stroke: rgba(0, 0, 0, .25); }
.afs-light .art-frame--back { fill: #f1f1f1; stroke: rgba(0, 0, 0, .14); }
.afs-light .art-cell { fill: rgba(0, 0, 0, .07); }
.afs-light .panel { background: #f1f1f1; }
.afs-light .panel--end { background: var(--red); }

/* team cards: white name band on the photo */
.afs-light .member__info { background: rgba(255, 255, 255, .92); }
.afs-light .member__reveal { background: rgba(255, 255, 255, .96); }
.afs-light .member__yrs { background: rgba(255, 255, 255, .9); }

/* globe section: light disc (globe.js reads html.afs-light); the dark poster image is not used */
.afs-light .globe-poster { display: none; }
.afs-light .chip:hover, .afs-light .chip:focus-visible, .afs-light .chip.is-active { background: rgba(0, 0, 0, .05); }

/* small surfaces */
.afs-light .afs-tags li { background: rgba(0, 0, 0, .04); }
.afs-light .afs-bigs a::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000000' stroke-width='1.5'%3E%3Cpath d='M4 12L12 4M5 4h7v7'/%3E%3C/svg%3E"); }
.afs-light .afs-bigs a:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M4 12L12 4M5 4h7v7'/%3E%3C/svg%3E"); }
.afs-light .afs-post { background: #fff; }
.afs-light .afs-video__frame { background: #f1f1f1; }

/* footer: light grey, separated from the white page by one line */
.afs-light .ftr { border-top: 1px solid rgba(0, 0, 0, .1); }

/* ---------- all other pages ---------- */
/* page heroes: the photo in the slash window stays a light monochrome image; on phones it sits behind the text, lighter */
.afs-light .afs-hero__photo img { filter: grayscale(1) contrast(.7) brightness(1.2); }
.afs-light .afs-hero__photo { opacity: .55; } /* the headline may run over the photo: black text must stay readable */
@media (max-width: 960px) { .afs-light .afs-hero__photo { opacity: .35; } }
@media (max-width: 680px) { .afs-light .afs-hero__photo img { filter: grayscale(1); } .afs-light .afs-hero__photo { opacity: .25; } }

/* hover surfaces drawn white on dark */
.afs-light .is-style-compare tbody tr:hover, .afs-light .afs-li__load:hover { background: rgba(0, 0, 0, .04); }
.afs-light .afs-ph { border-color: rgba(0, 0, 0, .22); background: rgba(0, 0, 0, .02); }

/* departures board: black panel like an airport board (client 18 Nov 2026 preferred the earlier black look), white letters on dark tiles, Lithuania in red */
.afs-light .board { background: #000; border-color: #000; color: #fff; --text: #fff; --muted: rgba(255, 255, 255, .62); --line: rgba(255, 255, 255, .16); --flap-bg: rgba(255, 255, 255, .13); --flap-fg: #fff; --flap-line: rgba(0, 0, 0, .38); }

/* contact: quote form, map facade */
.afs-light .afs-form { color-scheme: light; }
.afs-light .afs-form ::placeholder { color: rgba(0, 0, 0, .5) !important; }
.afs-light .afs-form .afs-qf--checkbox .ff-el-form-check label:has(input:checked) { background: rgba(0, 0, 0, .05); }
.afs-light .afs-form .ff-message-success { background: #fff; }
.afs-light .afs-map__grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='black' stroke-opacity='.08'/%3E%3C/svg%3E"); }
.afs-light .afs-map iframe { filter: grayscale(1); }

/* cookie banner (Complianz) */
.afs-light #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:hover { background: rgba(0, 0, 0, .05) !important; }
.afs-light #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category, .afs-light .cmplz-document .cmplz-category { background: rgba(0, 0, 0, .03) !important; }
.afs-light #cmplz-cookiebanner-container .cmplz-cookiebanner { border-color: rgba(0, 0, 0, .2) !important; }
