/* YapayZekaKutusu — main stylesheet. All values come from tokens generated in inc/css-vars.php. */

:root {
	--c-bg: var(--c-bg-light);
	--c-surface: var(--c-surface-light);
	--c-text: var(--c-text-light);
	--c-muted: var(--c-muted-light);
	--c-link: var(--c-link-light);
	--c-border: var(--c-border-light);
	--c-tint: color-mix(in srgb, var(--c-accent) 7%, var(--c-surface));
	--c-on-primary: #f2f5fb;
	--gap: calc(24px * var(--space));
	--section-y: calc(48px * var(--space));
	--h1: calc(1rem * var(--scale) * var(--scale) * var(--scale) * var(--scale) * 1.05);
	--h2: calc(1rem * var(--scale) * var(--scale) * var(--scale));
	--h3: calc(1rem * var(--scale) * var(--scale));
	--h4: calc(1rem * var(--scale));
	--ease: cubic-bezier(.2, .7, .2, 1);
	--dur: 160ms;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--c-bg: var(--c-bg-dark);
	--c-surface: var(--c-surface-dark);
	--c-text: var(--c-text-dark);
	--c-muted: var(--c-muted-dark);
	--c-link: var(--c-link-dark);
	--c-border: var(--c-border-dark);
	--c-tint: color-mix(in srgb, var(--c-accent) 12%, var(--c-surface-dark));
	color-scheme: dark;
}
.motion-none { --dur: 0ms; }
.motion-normal { --dur: 260ms; }
@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; } html { scroll-behavior: auto !important; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font: 400 16px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--c-link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: var(--fw-heading); line-height: 1.18; letter-spacing: -0.012em; margin: 0 0 .5em; color: var(--c-text); text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
.icon { width: 20px; height: 20px; stroke-width: var(--icon-stroke); flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--w-container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.btn, button.btn, .search-form__btn, .yzk-newsletter button, .yzk-contact-form button, .comment-form .submit, .search-filters .btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: var(--radius-btn);
	background: var(--c-accent); color: #fff; font: 600 15px/1 var(--f-ui); cursor: pointer; text-decoration: none; transition: background var(--dur) var(--ease);
}
.btn:hover, .search-form__btn:hover, .yzk-newsletter button:hover { background: color-mix(in srgb, var(--c-accent) 85%, #000); }
input[type=text], input[type=email], input[type=search], input[type=url], input[type=date], textarea, select {
	font: 400 16px/1.4 var(--f-ui); color: var(--c-text); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: calc(var(--radius) * .7); padding: 10px 12px; min-height: 44px; max-width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--c-accent); outline: 2px solid color-mix(in srgb, var(--c-accent) 35%, transparent); outline-offset: 0; }

/* The "kutu" mark: the brand's one recurring device. */
.site-brand__mark, .section-title::before, .card__cat::before, .entry__cat::before, .ticker__label::before, .sources__title::before {
	content: ""; display: inline-block; width: .62em; height: .62em; background: var(--c-accent); border-radius: 2px; box-shadow: .22em .22em 0 0 var(--c-secondary);
}

/* Header */
.site-header { background: var(--c-primary); color: var(--c-on-primary); position: relative; z-index: 50; }
.header-light .site-header { background: var(--c-surface); color: var(--c-text); border-bottom: 1px solid var(--c-border); }
.header-sticky .site-header { position: sticky; top: 0; }
.admin-bar.header-sticky .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.header-sticky .site-header { top: 0; } }
.topbar { border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.topbar__menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: inherit; text-decoration: none; opacity: .85; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar__date { opacity: .7; }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.header-layout-center .header__inner { flex-wrap: wrap; justify-content: center; padding-top: 14px; }
.header-layout-center .nav-primary { order: 3; flex-basis: 100%; display: flex; justify-content: center; }
.header-layout-center .header__tools { position: absolute; right: clamp(16px, 4vw, 32px); top: 18px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex: none; }
.site-brand__logo { height: var(--logo-h); width: auto; }
.site-brand__logo.is-mobile, .site-brand__logo.is-dark-mode { display: none; }
[data-theme="dark"] .header-light .site-brand__logo.is-dark-mode, [data-theme="dark"].header-light .site-brand__logo.is-dark-mode { display: block; }
.site-brand__mark { font-size: 22px; }
.site-brand__text { font: 700 21px/1 var(--f-heading); letter-spacing: -0.02em; }
.nav-primary { flex: 1; min-width: 0; }
.nav-primary .menu { display: flex; flex-wrap: wrap; gap: 2px 4px; list-style: none; margin: 0; padding: 0; }
.nav-primary .menu > li { position: relative; }
.nav-primary .menu a { display: block; padding: 10px 12px; color: inherit; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: calc(var(--radius) * .6); }
.nav-primary .menu a:hover, .nav-primary .current-menu-item > a, .nav-primary .current-menu-ancestor > a { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav-primary .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: 6px; background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(10,18,36,.18); z-index: 60; }
.nav-primary li:hover > .sub-menu, .nav-primary li:focus-within > .sub-menu { display: block; }
.header__tools { display: flex; gap: 4px; margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; border-radius: 50%; cursor: pointer; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.mode-toggle .icon-sun { display: none; }
[data-theme="dark"] .mode-toggle .icon-sun { display: block; }
[data-theme="dark"] .mode-toggle .icon-moon { display: none; }
.menu-toggle { display: none; }
.header-search { padding: 12px 0 18px; }
.search-form { display: flex; gap: 8px; width: 100%; }
.search-form__input { flex: 1; min-width: 0; }
.site-header .search-form__input { background: color-mix(in srgb, var(--c-surface) 96%, transparent); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(5, 10, 22, .55); }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); background: var(--c-surface); color: var(--c-text); padding: 16px 20px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu-dropdown .mobile-menu__panel { left: 0; width: auto; bottom: auto; max-height: 90vh; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 500; font-size: 17px; }
.mobile-menu__list .sub-menu { list-style: none; padding-left: 14px; margin: 0; }
.mobile-menu__list .sub-menu a { font-size: 15px; font-weight: 400; }

/* Ticker */
.ticker { background: var(--c-surface); border-bottom: 1px solid var(--c-border); font-size: 14px; }
.ticker__inner { display: flex; align-items: center; gap: 18px; min-height: 46px; overflow: hidden; }
.ticker__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; flex: none; color: var(--c-text); }
.ticker__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ticker__list::-webkit-scrollbar { display: none; }
.ticker__list time { color: var(--c-accent); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 6px; }
.ticker__list a { color: var(--c-text); text-decoration: none; }
.ticker__list a:hover { text-decoration: underline; }

/* Sections */
.site-main { display: block; outline: 0; }
.home-section { padding: var(--section-y) 0 0; }
.home-section:last-child { padding-bottom: var(--section-y); }
.home-section.pad-compact { --section-y: calc(28px * var(--space)); }
.home-section.pad-airy { --section-y: calc(72px * var(--space)); }
.home-section.bg-surface, .home-section.bg-tint, .home-section.bg-dark { padding-bottom: var(--section-y); margin-top: var(--section-y); }
.home-section.bg-surface { background: var(--c-surface); border-block: 1px solid var(--c-border); }
.home-section.bg-tint { background: var(--c-tint); }
.home-section.bg-dark { background: var(--c-primary); --c-text: var(--c-on-primary); --c-muted: color-mix(in srgb, var(--c-on-primary) 70%, transparent); --c-surface: color-mix(in srgb, #fff 6%, var(--c-primary)); --c-border: color-mix(in srgb, #fff 14%, var(--c-primary)); --c-link: #fff; color: var(--c-on-primary); }
.home-section.bg-surface + .home-section, .home-section.bg-tint + .home-section, .home-section.bg-dark + .home-section { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--c-border); padding-bottom: 10px; }
.section-title { display: inline-flex; align-items: center; gap: .6em; font-size: var(--h3); margin: 0; }
.section-title::before { font-size: .7em; }
.section-more { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--c-link); white-space: nowrap; }
.section-more:hover { text-decoration: underline; }
@media (max-width: 760px) { .hide-mobile { display: none; } }
@media (min-width: 761px) { .hide-desktop { display: none; } }

/* Cards */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--c-tint); aspect-ratio: var(--img-ratio); box-shadow: var(--shadow); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.card:hover .card__media img { transform: scale(1.02); }
.card__placeholder { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 14px; background:
	linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 92%, var(--c-accent)) 0%, var(--c-primary) 60%, color-mix(in srgb, var(--c-primary) 75%, var(--c-secondary)) 100%); color: var(--c-on-primary); font: 600 15px/1.2 var(--f-heading); }
.card__placeholder span::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .5em; background: var(--c-accent); border-radius: 2px; box-shadow: .2em .2em 0 var(--c-secondary); }
.card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.card__cat, .entry__cat { display: inline-flex; align-items: center; gap: .55em; font-size: 13px; font-weight: 600; color: var(--c-muted); text-decoration: none; align-self: flex-start; }
.card__cat::before, .entry__cat::before { font-size: 10px; box-shadow: none; }
.card__cat:hover { color: var(--c-link); }
.card__title { font-size: 1.12rem; margin: 0; line-height: 1.28; overflow-wrap: break-word; hyphens: auto; }
.card__title a { color: var(--c-text); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--dur) var(--ease); }
.card__title a:hover { background-size: 100% 1px; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__cat { position: relative; z-index: 1; }
.card__excerpt { margin: 0; color: var(--c-muted); font-size: 15px; line-height: 1.5; }
.card__meta { margin: 0; color: var(--c-muted); font-size: 13px; display: flex; align-items: center; flex-wrap: wrap; }
.meta__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 8px; }
.card--lead .card__title { font-size: var(--h2); line-height: 1.12; letter-spacing: -0.02em; }
.card--lead .card__excerpt { font-size: 17px; max-width: 62ch; }
.card--row { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--row .card__media { flex: 0 0 132px; aspect-ratio: 3/2; }
.card--row .card__title { font-size: 1rem; }
.card--mini .card__title { font-size: 1.02rem; }

.lead-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.4); align-items: start; }
.lead-grid__side { display: flex; flex-direction: column; gap: 18px; padding-left: calc(var(--gap) * 1.4); border-left: 1px solid var(--c-border); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.3); }
.feature-grid__list { display: flex; flex-direction: column; gap: 16px; }
.feature-grid__list .card + .card { padding-top: 16px; border-top: 1px solid var(--c-border); }
.card-grid { display: grid; gap: calc(var(--gap) * 1.1) var(--gap); }
.card-grid.cols-1 { grid-template-columns: 1fr; }
@media (min-width: 561px) { .card-grid.cols-1 .card--row .card__media { flex-basis: 280px; } }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-ad { grid-column: 1 / -1; }
.headline-list { list-style: none; counter-reset: h; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 calc(var(--gap) * 1.5); }
.headline-list li { padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.row-list { display: flex; flex-direction: column; gap: 0; }
.row-list .card--row { padding: 18px 0; border-bottom: 1px solid var(--c-border); }
.row-list .card--row .card__media { flex-basis: 200px; }
.row-list .card--row .card__title { font-size: 1.2rem; }

@media (max-width: 1100px) { .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.lead-grid, .feature-grid { grid-template-columns: 1fr; }
	.lead-grid__side { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-border); padding-top: 18px; }
	.card-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.headline-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
	.card--row .card__media { flex-basis: 104px; }
	.row-list .card--row .card__media { flex-basis: 112px; }
	.card--lead .card__title { font-size: calc(var(--h3) * 1.05); }
}

/* Newsletter band */
.newsletter-band, .newsletter-inline, .footer__newsletter { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.yzk-newsletter { display: grid; gap: 10px; max-width: 640px; }
.yzk-newsletter__title { font: var(--fw-heading) var(--h3)/1.2 var(--f-heading); margin: 0; }
.yzk-newsletter__text { color: var(--c-muted); margin: 0; }
.yzk-newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.yzk-newsletter__row input { flex: 1 1 240px; }
.yzk-newsletter__consent { font-size: 13px; color: var(--c-muted); display: flex; gap: 8px; align-items: flex-start; }
.yzk-newsletter__consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.yzk-newsletter__msg, .yzk-form-msg { padding: 10px 12px; border-radius: calc(var(--radius) * .7); background: var(--c-tint); margin: 0; }
.yzk-newsletter__hp { position: absolute; left: -9999px; }

/* Entry */
.entry { padding-bottom: var(--section-y); }
.crumbs { font-size: 13px; color: var(--c-muted); margin: 22px 0 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-link); text-decoration: underline; }
.entry__head { max-width: 900px; margin-bottom: 24px; }
.entry__title { font-size: var(--h1); line-height: 1.08; letter-spacing: -0.025em; margin: 10px 0 14px; }
.entry__spot { font: 400 calc(var(--fs-body) * 1.12)/1.5 var(--f-body); color: var(--c-muted); max-width: 70ch; margin-bottom: 18px; }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--c-muted); }
.entry__meta .icon { width: 16px; height: 16px; vertical-align: -3px; }
.entry__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.entry__author img { border-radius: 50%; width: 32px; height: 32px; }
.entry__author a { color: var(--c-text); text-decoration: none; }
.entry__hero { margin: 0 0 28px; }
.entry__hero.hero-contained { max-width: 900px; }
.entry__hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }
.entry__hero figcaption { font-size: 13px; color: var(--c-muted); margin-top: 8px; }
.entry__layout { display: grid; grid-template-columns: minmax(0, var(--w-content)); gap: calc(var(--gap) * 2); }
.entry.has-sidebar .entry__layout { grid-template-columns: minmax(0, var(--w-content)) minmax(260px, 320px); justify-content: space-between; }
.entry__sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 1000px) { .entry.has-sidebar .entry__layout { grid-template-columns: minmax(0, 1fr); } }
.entry__main { min-width: 0; }

.prose { font: 400 var(--fs-body)/var(--lh-body) var(--f-body); color: var(--c-text); overflow-wrap: break-word; }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { font-size: var(--h3); margin: 1.9em 0 .6em; }
.prose h3 { font-size: var(--h4); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--c-accent); }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--c-accent); color: var(--c-muted); font-style: italic; }
.prose img, .prose figure { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font: 13px/1.4 var(--f-ui); color: var(--c-muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.45 var(--f-ui); display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; background: var(--c-tint); }
.prose code { font-size: .88em; background: var(--c-tint); padding: .12em .35em; border-radius: 4px; }
.prose pre { overflow-x: auto; background: var(--c-primary); color: var(--c-on-primary); padding: 16px; border-radius: var(--radius); font-size: 14px; }
.prose pre code { background: none; padding: 0; }
.prose a { color: var(--c-link); }
.prose iframe, .prose video { width: 100%; }

.toc { margin: 0 0 28px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); font-size: 15px; }
.toc summary { padding: 12px 16px; font-weight: 700; cursor: pointer; font-family: var(--f-heading); }
.toc ol { margin: 0; padding: 0 16px 14px 34px; }
.toc li { margin: 6px 0; }
.toc .toc__l3 { margin-left: 16px; font-size: 14px; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-link); text-decoration: underline; }

.facts { border: 1px solid var(--c-border); background: var(--c-surface); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; font-size: 15px; }
.facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 12px; }
.facts dt { font-size: 12.5px; color: var(--c-muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.facts__note { margin: 0; font-size: 13.5px; color: var(--c-muted); display: flex; gap: 8px; align-items: flex-start; }
.update-note { border-left: 3px solid var(--c-secondary); background: var(--c-tint); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; font-size: 15px; }
.update-note p { margin: 4px 0 0; }
.update-note__date { color: var(--c-muted); font-size: 13px; }
.sources { margin: 32px 0; padding-top: 20px; border-top: 1px solid var(--c-border); }
.sources__title { display: flex; align-items: center; gap: .6em; font-size: var(--h4); }
.sources__title::before { font-size: .55em; }
.sources ol { margin: 0; padding-left: 1.3em; font-size: 15px; }
.sources li { margin: 8px 0; color: var(--c-muted); overflow-wrap: anywhere; }
.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.entry__tags a { color: var(--c-muted); text-decoration: none; border: 1px solid var(--c-border); padding: 4px 10px; border-radius: 999px; }
.entry__tags a:hover { color: var(--c-link); border-color: var(--c-link); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--radius-btn); background: var(--c-surface); color: var(--c-text); cursor: pointer; font: 500 14px var(--f-ui); text-decoration: none; }
.share__btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); margin: 24px 0; font-size: 15px; }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 4px; color: var(--c-muted); }
.author-box__name a { font: 700 17px var(--f-heading); color: var(--c-text); text-decoration: none; }
.newsletter-inline { margin: 28px 0; }
.related { padding: var(--section-y) 0; background: var(--c-surface); border-top: 1px solid var(--c-border); }
.comments-wrap { max-width: calc(var(--w-content) + 64px); padding-block: var(--section-y); }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.comment-form label { display: block; font-size: 14px; margin-bottom: 4px; }
.comment-form input:not([type=checkbox]), .comment-form textarea { width: 100%; }
.entry--page .entry__content { max-width: var(--w-content); }
.entry__updated { color: var(--c-muted); font-size: 14px; }

/* Widgets */
.widget { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; font-size: 15px; }
.widget__title { display: flex; align-items: center; gap: .6em; font-size: 1.05rem; margin: 0 0 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--c-border); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--c-text); text-decoration: none; }
.widget a:hover { color: var(--c-link); }

/* Archive */
.archive-head { display: grid; gap: 20px; margin: 8px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--c-border); }
.archive-head.has-cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
.archive-head__cover img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.archive-head__title { font-size: var(--h1); margin: 0 0 8px; letter-spacing: -0.025em; }
.archive-head__desc, .archive-head__count { color: var(--c-muted); max-width: 70ch; }
.archive-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: calc(var(--gap) * 2); }
@media (max-width: 900px) { .archive-head.has-cover, .archive-layout.has-sidebar { grid-template-columns: 1fr; } }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 36px 0; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--radius-btn); color: var(--c-text); text-decoration: none; background: var(--c-surface); font-weight: 500; }
.page-numbers.current { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.search-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 0 0 24px; padding: 16px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); }
.search-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--c-muted); }
.empty-state { padding: 56px 0; max-width: 620px; }
.empty-state h2 { font-size: var(--h3); }
.page-intro { padding-top: var(--section-y); }

/* 404 */
.notfound { padding: 56px clamp(16px, 4vw, 32px) var(--section-y); }
.notfound__code { font: 700 clamp(72px, 16vw, 160px)/1 var(--f-heading); letter-spacing: -0.05em; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--c-accent); }
.notfound h1 { font-size: var(--h2); }
.notfound > p { max-width: 60ch; color: var(--c-muted); }
.notfound .search-form { max-width: 560px; margin: 24px 0 48px; }

/* Ads: always visually separated and labelled. */
.yzk-ad { margin: 28px 0; padding: 10px 0 12px; border-block: 1px dashed var(--c-border); text-align: center; min-height: 120px; }
.yzk-ad__label { display: block; font-size: 11px; color: var(--c-muted); margin-bottom: 6px; letter-spacing: .02em; }
@media (max-width: 760px) { .yzk-ad--hide-mobile { display: none; } }
@media (min-width: 761px) { .yzk-ad--hide-desktop { display: none; } }
.site-main + .yzk-ad { max-width: var(--w-container); margin-inline: auto; }

/* Forms from plugin */
.yzk-contact-form p { display: flex; flex-direction: column; gap: 4px; }
.yzk-contact-form input, .yzk-contact-form textarea { width: 100%; }
.yzk-form-note { font-size: 13px; color: var(--c-muted); }
.yzk-authors { display: grid; gap: 16px; }
.yzk-author-card { display: flex; gap: 16px; align-items: flex-start; }
.yzk-author-card img { border-radius: 50%; }
.yzk-author-card h3 { margin: 0 0 4px; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--c-primary); color: var(--c-on-primary); padding: calc(var(--section-y) * 1.1) 0 24px; margin-top: var(--section-y); font-size: 15px; }
.site-footer a { color: var(--c-on-primary); }
.footer__newsletter { background: color-mix(in srgb, #fff 6%, var(--c-primary)); border-color: color-mix(in srgb, #fff 14%, var(--c-primary)); color: var(--c-on-primary); margin-bottom: 40px; }
.footer__newsletter .yzk-newsletter__text, .footer__newsletter .yzk-newsletter__consent { color: color-mix(in srgb, var(--c-on-primary) 75%, transparent); }
.footer__grid { display: grid; gap: 32px; }
.footer__grid.cols-2 { grid-template-columns: 1.4fr 1fr; }
.footer__grid.cols-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.footer__grid.cols-4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 800px) { .footer__grid.cols-2, .footer__grid.cols-3, .footer__grid.cols-4 { grid-template-columns: 1fr; } }
.footer__about p { color: color-mix(in srgb, var(--c-on-primary) 75%, transparent); max-width: 44ch; margin: 14px 0; }
.site-footer .widget { background: transparent; border: 0; padding: 0; }
.site-footer .widget__title, .footer__col .widget__title { color: var(--c-on-primary); font-size: 1rem; }
.site-footer .widget li, .footer__menu li { border: 0; padding: 4px 0; }
.footer__menu { list-style: none; margin: 0; padding: 0; }
.footer__menu a, .site-footer .widget a { color: color-mix(in srgb, var(--c-on-primary) 82%, transparent); text-decoration: none; }
.footer__menu a:hover, .site-footer .widget a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, #fff 14%, var(--c-primary)); color: color-mix(in srgb, var(--c-on-primary) 65%, transparent); font-size: 13px; }
.footer__bottom p { margin: 0; }
.social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; color: inherit; }
.social a:hover { background: color-mix(in srgb, currentColor 14%, transparent); }

/* Responsive header */
@media (max-width: 960px) {
	.nav-primary { display: none; }
	.menu-toggle { display: inline-flex; }
	.header__inner { min-height: 60px; gap: 12px; }
	.header-layout-center .header__tools { position: static; }
	.site-brand__logo.is-mobile { display: block; }
	.site-brand__logo.is-desktop { display: none; }
	.topbar__date { display: none; }
}
body.menu-open { overflow: hidden; }

/* Shadows on cards when chosen */
.shadow-soft .widget, .shadow-strong .widget, .shadow-soft .author-box, .shadow-strong .author-box { box-shadow: var(--shadow); }

@media print {
	.site-header, .site-footer, .ticker, .share, .related, .yzk-ad, .newsletter-inline, .comments-wrap, .yzk-consent, .entry__sidebar { display: none !important; }
	body { background: #fff; color: #000; }
}

/* Map plugin consent banner to theme tokens. */
.yzk-consent { --yzk-surface: var(--c-surface); --yzk-text: var(--c-text); --yzk-border: var(--c-border); --yzk-radius: var(--radius); --yzk-link: var(--c-link); --yzk-accent: var(--c-accent); --yzk-primary: var(--c-accent); font-family: var(--f-ui); }
.yzk-cookie-settings-link { color: inherit; }
