/* Token-only CSS. Allowed values: var(--wp--preset--*), var(--wp--custom--*), 0, percentages.
   Breakpoints mirror theme.json custom.breakpoint (sm 810px, md 1200px, lg 1440px); CSS vars cannot be used in @media. */

/* tiers:start (theme.json custom.fontSizeMax991/Max809/Max767/Max599 + letterSpacingMax991/Max767/Max599; these are the staging site's breakpoints) */
@media (max-width: 991px) {
	:root:root {
		--wp--preset--font-size--heading-4: var(--wp--custom--font-size-max-991--heading-4);
		--wp--preset--font-size--accordion-btn: var(--wp--custom--font-size-max-991--accordion-btn);
		--wp--preset--font-size--copyright: var(--wp--custom--font-size-max-991--copyright);
		--wp--preset--font-size--chip: var(--wp--custom--font-size-max-991--chip);
		--wp--preset--font-size--pub-title: var(--wp--custom--font-size-max-991--pub-title);
		--wp--preset--font-size--pub-count: var(--wp--custom--font-size-max-991--pub-count);
		--wp--custom--letter-spacing--accordion-btn: var(--wp--custom--letter-spacing-max-991--accordion-btn);
		--wp--custom--letter-spacing--lockup-role: var(--wp--custom--letter-spacing-max-991--lockup-role);
		--wp--custom--letter-spacing--lockup-role-en: var(--wp--custom--letter-spacing-max-991--lockup-role-en);
		--wp--custom--letter-spacing--pub-title: var(--wp--custom--letter-spacing-max-991--pub-title);
		--wp--custom--letter-spacing--pub-count: var(--wp--custom--letter-spacing-max-991--pub-count);
	}
}
/* Mobil (custom.breakpoint.sm altı): metin boyutları masaüstünden 1 px küçük; başlıklar değişmez. */
@media (max-width: 809px) {
	:root:root {
		--wp--preset--font-size--article-text: var(--wp--custom--font-size-max-809--article-text);
		--wp--preset--font-size--body: var(--wp--custom--font-size-max-809--body);
		--wp--preset--font-size--reading: var(--wp--custom--font-size-max-809--reading);
		--wp--preset--font-size--body-small: var(--wp--custom--font-size-max-809--body-small);
		--wp--preset--font-size--text-md: var(--wp--custom--font-size-max-809--text-md);
		--wp--preset--font-size--ui: var(--wp--custom--font-size-max-809--ui);
		--wp--preset--font-size--card-title: var(--wp--custom--font-size-max-809--card-title);
	}
}
@media (max-width: 767px) {
	:root:root {
		--wp--preset--font-size--heading-4: var(--wp--custom--font-size-max-767--heading-4);
		--wp--preset--font-size--body-small: var(--wp--custom--font-size-max-767--body-small);
		--wp--preset--font-size--footer-text: var(--wp--custom--font-size-max-767--footer-text);
		--wp--preset--font-size--footer-social: var(--wp--custom--font-size-max-767--footer-social);
		--wp--preset--font-size--accordion-btn: var(--wp--custom--font-size-max-767--accordion-btn);
		--wp--preset--font-size--pub: var(--wp--custom--font-size-max-767--pub);
		--wp--preset--font-size--cert-text: var(--wp--custom--font-size-max-767--cert-text);
		--wp--preset--font-size--pub-title: var(--wp--custom--font-size-max-767--pub-title);
		--wp--custom--letter-spacing--accordion-btn: var(--wp--custom--letter-spacing-max-767--accordion-btn);
		--wp--custom--letter-spacing--lockup-role: var(--wp--custom--letter-spacing-max-767--lockup-role);
		--wp--custom--letter-spacing--lockup-role-en: var(--wp--custom--letter-spacing-max-767--lockup-role-en);
		--wp--custom--letter-spacing--pub-title: var(--wp--custom--letter-spacing-max-767--pub-title);
	}
}
@media (max-width: 599px) {
	:root:root {
		--wp--preset--font-size--page-title: var(--wp--custom--font-size-max-599--page-title);
		--wp--preset--font-size--heading-1: var(--wp--custom--font-size-max-599--heading-1);
		--wp--preset--font-size--heading-2: var(--wp--custom--font-size-max-599--heading-2);
		--wp--preset--font-size--contact-title: var(--wp--custom--font-size-max-599--contact-title);
		--wp--preset--font-size--body: var(--wp--custom--font-size-max-599--body);
		--wp--preset--font-size--see-all: var(--wp--custom--font-size-max-599--see-all);
		--wp--preset--font-size--bottom-link: var(--wp--custom--font-size-max-599--bottom-link);
		--wp--preset--font-size--copyright: var(--wp--custom--font-size-max-599--copyright);
		--wp--preset--font-size--meta-date: var(--wp--custom--font-size-max-599--meta-date);
		--wp--preset--font-size--reading-time: var(--wp--custom--font-size-max-599--reading-time);
		--wp--custom--letter-spacing--banner-eyebrow: var(--wp--custom--letter-spacing-max-599--banner-eyebrow);
		--wp--custom--letter-spacing--see-all: var(--wp--custom--letter-spacing-max-599--see-all);
	}
}
/* tiers:end */

body {
	font-feature-settings: var(--wp--custom--typography--feature-settings);
	-webkit-font-smoothing: antialiased;
}

/* Template parts sit flush; sections own their padding. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

a,
.wp-element-button,
.wp-block-navigation-item a {
	transition: color var(--wp--custom--transition--duration--fast) var(--wp--custom--transition--easing--tween),
		background-color var(--wp--custom--transition--duration--fast) var(--wp--custom--transition--easing--tween),
		transform var(--wp--custom--transition--duration--fast) var(--wp--custom--transition--easing--tween);
}

.wp-element-button:hover {
	transform: translateY(var(--wp--custom--transform--hover-lift));
}

/* Accordion headers have no hover colour in Framer (Accordion / Nested Accordion variants only swap Open/Closed). */

.wp-block-post-title.has-text-align-center,
.is-style-eyebrow {
	margin-block-end: 0;
}

/* List markers: standard disc, teal. */
.wp-block-list li::marker,
.wp-block-post-content li::marker {
	color: var(--wp--preset--color--teal);
}

/* core/list style "Ayrık liste": dot + hairline separators, no rule after the last row. */
.wp-block-list.is-style-divided {
	margin-block: 0;
	padding: 0;
	list-style: none;
}
.wp-block-list.is-style-divided > li {
	position: relative;
	margin: 0;
	padding-block: var(--wp--preset--spacing--50);
	padding-inline-start: var(--wp--preset--spacing--60);
	border-block-end: var(--wp--custom--border--width--hairline) solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--body-text);
}
.wp-block-list.is-style-divided > li:last-child {
	border-block-end: 0;
}
.wp-block-list.is-style-divided > li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: calc(var(--wp--preset--spacing--50) + 0.5lh - 0.5 * var(--wp--custom--size--list-dot));
	inline-size: var(--wp--custom--size--list-dot);
	block-size: var(--wp--custom--size--list-dot);
	border-radius: var(--wp--custom--radius--full);
	background-color: var(--wp--preset--color--teal);
}
.wp-block-list.is-style-divided > li::marker {
	content: none;
}

/* Page title (page.html, e.g. legal pages): staging legal-title role; the article header overrides size/spacing itself. */
h1.wp-block-post-title {
	font-size: var(--wp--preset--font-size--legal-title);
	font-weight: var(--wp--custom--font-weight--semibold);
	letter-spacing: var(--wp--custom--letter-spacing--article-heading);
	line-height: var(--wp--custom--line-height--title);
}

/* Plain page content (legal pages etc., outside articles and sections): staging sets headings as bold body text (20px, semibold, navy). */
.wp-block-post-content:not(.article-content) > :where(p, ul, ol) {
	font-size: var(--wp--preset--font-size--article-text);
	line-height: var(--wp--custom--line-height--body);
}
.wp-block-post-content:not(.article-content) > :where(p, ul, ol) a {
	font-weight: var(--wp--custom--font-weight--semibold);
}
.wp-block-post-content:not(.article-content) > .wp-block-heading:not([class*="has-"]) {
	color: var(--wp--preset--color--navy);
	font-size: var(--wp--preset--font-size--article-text);
	font-weight: var(--wp--custom--font-weight--semibold);
	letter-spacing: var(--wp--custom--letter-spacing--none);
	line-height: var(--wp--custom--line-height--body);
}

/* Home: every section after the hero keeps its content in a centered container (custom.layout.homeContent); section padding stays the gutter, the dark band stays full-bleed. */
.site-main--home .entry-content > section:not(.home-hero) > * {
	max-width: var(--wp--custom--layout--home-content);
	margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0s !important;
		animation-duration: 0s !important;
	}
}
