/* ==========================================================================
   Erdinç Uzun teması
   Düzen: ortada tek okuma sütunu (760px); yazılarda sağda konu menüsü (1100px).
   Renkler html[data-mode] ile değişir: light | dark | blue.
   ========================================================================== */

/* ---- Yazı tipleri (tema içinden; latin + Türkçe karakterler) ---- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/literata-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/literata-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---- Renk modları ---- */
:root,
html[data-mode="light"] {
	--bg: #ffffff;
	--surface: #f6f7f9;
	--ink: #1b1f27;
	--muted: #5d6472;
	--line: #e6e8ec;
	--accent: #2c5fd6;
	--accent-ink: #ffffff;
	--accent-soft: #e9effc;
	--chip: #eef0f4;
	--code-inline: #1b2a5c;
	color-scheme: light;
}
html[data-mode="dark"] {
	--bg: #111317;
	--surface: #181b21;
	--ink: #e7e9ee;
	--muted: #9aa1ae;
	--line: #272b33;
	--accent: #8fb0ff;
	--accent-ink: #0d1424;
	--accent-soft: #1d2536;
	--chip: #20242c;
	--code-inline: #c9d6ff;
	color-scheme: dark;
}
html[data-mode="blue"] {
	--bg: #0d2444;
	--surface: #12305a;
	--ink: #eaf1fc;
	--muted: #a9bddb;
	--line: #1f4373;
	--accent: #7cc8ff;
	--accent-ink: #072038;
	--accent-soft: #174070;
	--chip: #173b68;
	--code-inline: #d6ecff;
	color-scheme: dark;
}
:root {
	--serif: "Literata", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
	--wrap: 760px;
	--wrap-wide: 1120px;
	--radius: 10px;
}

/* ---- Temel ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	transition: background-color .25s ease, color .25s ease;
}
@media (prefers-reduced-motion: reduce) { body { transition: none; } html { scroll-behavior: auto; } }
img, video, iframe, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 600; line-height: 1.25; letter-spacing: -.005em; text-wrap: balance; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap--wide { max-width: var(--wrap-wide); }
.wrap--mid { max-width: 980px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 100;
	padding: 8px 12px;
	background: var(--bg); color: var(--ink);
	border: 1px solid var(--line); border-radius: 6px;
}

/* ---- Üst bilgi ---- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 20px; padding-block: 18px; }
.site-header .wrap, .site-header__inner { max-width: var(--wrap-wide); }
.site-name { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.site-name a { color: var(--ink); }
.site-name a:hover { text-decoration: none; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.nav-list li { position: relative; }
.nav-list a { color: var(--muted); font-size: .93rem; font-weight: 500; }
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a { color: var(--ink); text-decoration: none; }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { font-weight: 600; }
.nav-list .sub-menu {
	display: none; position: absolute; top: 100%; left: -12px; z-index: 20;
	min-width: 200px; margin: 0; padding: 8px 0; list-style: none;
	background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { display: block; }
.nav-list .sub-menu a { display: block; padding: 5px 14px; }

.lang { display: inline-flex; gap: 2px; font: 600 .78rem var(--sans); }
.lang a { color: var(--muted); padding: 4px 7px; border-radius: 6px; }
.lang a[aria-current] { color: var(--ink); background: var(--surface); }
.lang a:hover { text-decoration: none; color: var(--ink); }

.modes { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); flex: none; }
.modes button { width: 30px; height: 28px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.modes button svg { width: 16px; height: 16px; }
.modes button:hover { color: var(--ink); }
.modes button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }

.menu-btn { display: none; width: 40px; height: 36px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--ink); cursor: pointer; flex: none; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s ease, background-color .2s ease; }
.menu-btn .bars { position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; }
.menu-btn .bars::before { top: -5px; }
.menu-btn .bars::after { top: 5px; }
.nav-open .menu-btn .bars { background: transparent; }
.nav-open .menu-btn .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-btn .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
	.site-header__inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
	.site-name { font-size: 1.2rem; }
	.modes { margin-left: auto; }
	.menu-btn { display: grid; }
	.main-nav { display: none; order: 5; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
	.nav-open .main-nav { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; }
	.nav-list .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; background: none; min-width: 0; }
	.lang { padding: 10px 0 4px; border-top: 1px solid var(--line); }
}

/* ---- Ana sayfa girişi ---- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 40px; align-items: start; padding-block: 48px 24px; }
.intro__text > p:first-child { font-size: 1.08rem; }
.intro__side { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.intro__photo { margin: 0; }
.intro__side .icons { justify-content: center; gap: 6px; }
.intro__side .icons a { width: 36px; height: 36px; font-size: 17px; }
.intro__side .icons img { width: 20px; height: 20px; }
.intro__photo img { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); display: block; }
@media (max-width: 720px) {
	.intro { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 28px; }
	.intro__side { order: -1; align-items: flex-start; }
	.intro__side .icons { justify-content: flex-start; }
	.intro__photo img { width: 120px; height: 120px; }
}

/* ---- Sayfa başlıkları ---- */
.page-header { padding-block: 40px 18px; }
.page-title { margin: 0 0 8px; font-size: 2rem; line-height: 1.2; letter-spacing: -.01em; }
.page-title span { color: var(--accent); }
.page-lead { margin: 0; color: var(--muted); max-width: 62ch; }
.page-lead p { margin: 0 0 .6em; }
.page-header .search-form { margin-top: 16px; }
@media (max-width: 720px) {
	.page-header { padding-block: 28px 14px; }
	.page-title { font-size: 1.65rem; }
}

/* ---- Düğmeler, arama ---- */
.btn { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .92rem; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--accent); }
.search-form button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: 500 .92rem var(--sans); cursor: pointer; }
.search-form button:hover { border-color: var(--accent); }
.courses-search { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---- Eğitim notları ---- */
.adys { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 4px 0 28px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.adys:hover { text-decoration: none; border-color: var(--accent); }
.adys__logo { padding: 8px 10px; border-radius: 8px; background: #111; font: 700 1.35rem/1 var(--sans); letter-spacing: .02em; }
.adys__logo b:nth-child(1) { color: #4285f4; }
.adys__logo b:nth-child(2) { color: #ea4335; }
.adys__logo b:nth-child(3) { color: #fbbc05; }
.adys__logo b:nth-child(4) { color: #34a853; }
.adys__text strong { display: block; font-weight: 600; }
.adys__text span { display: block; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.adys__go { color: var(--accent); font-size: 1.2rem; }
@media (max-width: 520px) {
	.adys { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.adys__logo { justify-self: start; }
	.adys__go { display: none; }
}

.groups { display: grid; gap: 26px; }
.group__title { margin: 0 0 4px; font: 600 .74rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.group__desc { margin: 0 0 10px; font-size: .9rem; color: var(--muted); }
.courses { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.courses a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: .92rem; line-height: 1.3; transition: border-color .15s ease, background-color .15s ease; }
.courses a:hover { text-decoration: none; border-color: var(--accent); background: var(--accent-soft); }
.courses small { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.ic { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c, #5d6472); color: #fff; font: 600 .6rem var(--mono); letter-spacing: -.02em; }

/* Öğreticiler: ikonlu kutular (eski ana sayfadaki gibi) */
.groups--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 16px; }
.groups--tiles .group { padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-width: 0; }
.groups--tiles .group--wide { grid-column: 1 / -1; }
.groups--tiles .group__title { font-size: .76rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border: 1px solid transparent; border-radius: 10px; color: var(--ink); text-align: center; line-height: 1.3; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.tile:hover { text-decoration: none; border-color: var(--accent); background: var(--bg); transform: translateY(-2px); }
.tile__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.tile__icon img { width: 40px; height: 40px; object-fit: contain; }
.tile__icon--abbr { background: var(--c, #5d6472); color: #fff; font: 600 .8rem var(--mono); }
.tile__title { font-size: .88rem; font-weight: 500; overflow-wrap: break-word; hyphens: auto; }
.tile__count { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .tile, .tile:hover { transition: none; transform: none; } }
@media (max-width: 720px) {
	.groups--tiles { grid-template-columns: minmax(0, 1fr); }
	.tiles { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
	.tile { padding-inline: 2px; }
	.tile__title { font-size: .8rem; }
}

/* ---- Yazı listeleri ---- */
.year { margin: 26px 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font: 500 .95rem var(--mono); color: var(--muted); }
.post-list { margin: 0; padding: 0; list-style: none; }
.post-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 9px 0; }
.post-list time { padding-top: 1px; color: var(--muted); font: .86rem var(--mono); font-variant-numeric: tabular-nums; }
.post-list a { color: var(--ink); }
.post-list a:hover { color: var(--accent); }
.empty { color: var(--muted); }
.lesson-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lesson-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.lesson-list li.is-sub { padding-left: 22px; font-size: .95rem; }
.lesson-list a { color: var(--ink); }
.lesson-list a:hover { color: var(--accent); }
@media (max-width: 520px) { .post-list li { grid-template-columns: minmax(0, 1fr); gap: 0; } }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.pagination .page-numbers { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: .9rem; }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pagination a.page-numbers:hover { text-decoration: none; border-color: var(--accent); }

/* ---- Yazı sayfası ---- */
.single-layout { display: block; }
.single-main { min-width: 0; max-width: var(--wrap); margin: 0 auto; }
.entry-header { padding-block: 40px 8px; }
.eyebrow { margin: 0 0 6px; font: 600 .74rem var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.eyebrow a { color: var(--muted); }
.eyebrow a:hover { color: var(--accent); }
.entry-title { margin: 0 0 8px; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); line-height: 1.2; letter-spacing: -.01em; }
.entry-meta { margin: 0; color: var(--muted); font-size: .88rem; }

.single-aside { min-width: 0; }
.series { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 8px 0 0; }
.series summary { display: flex; flex-direction: column; gap: 0; padding: 12px 16px; cursor: pointer; list-style: none; }
.series summary::-webkit-details-marker { display: none; }
.series summary::after { content: ""; position: absolute; }
.series__label { font: 600 .7rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.series__name { font-weight: 600; }
.series summary { position: relative; padding-right: 40px; }
.series summary::before { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.series[open] summary::before { transform: translateY(-30%) rotate(-135deg); }
.series .eu-topic-menu { padding: 0 16px 14px; max-height: 60vh; overflow: auto; }
.eu-topic-menu ul { margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.45; }
.eu-topic-menu li { padding: 4px 0; }
.eu-topic-menu a { color: var(--ink); }
.eu-topic-menu a:hover { color: var(--accent); }
.eu-topic-menu .current > a { color: var(--accent); font-weight: 600; }
.eu-topic-menu__sub > ul { margin: 2px 0 2px 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.post-sidebar { margin-top: 20px; font-size: .92rem; }
.widget-title { margin: 0 0 8px; font: 600 .72rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 1100px) {
	.single-layout.has-series { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
	.single-layout.has-series .single-main { margin: 0; }
	.single-aside { position: sticky; top: 20px; padding-top: 48px; }
	.series .eu-topic-menu { max-height: calc(100vh - 160px); }
}
@media (max-width: 1099px) {
	.single-layout { display: flex; flex-direction: column; }
	.single-aside { order: -1; max-width: var(--wrap); width: 100%; margin: 0 auto; }
	.single-aside .series { margin-top: 20px; }
	.single-main .entry-header { padding-top: 24px; }
}

.series-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 0; }
.series-nav a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 500; line-height: 1.4; }
.series-nav a:hover { text-decoration: none; border-color: var(--accent); }
.series-nav span { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.series-nav__next { grid-column: 2; text-align: right; }
@media (max-width: 520px) {
	.series-nav { grid-template-columns: minmax(0, 1fr); }
	.series-nav__next { grid-column: 1; }
}

/* ---- Yazı içeriği ---- */
.entry-content { overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content dl, .entry-content figure { margin: 0 0 1.1em; }
.entry-content h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.entry-content h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.entry-content h4, .entry-content h5, .entry-content h6 { font-size: 1.06rem; margin: 1.5rem 0 .5rem; }
.entry-content li { margin: .25em 0; }
.entry-content img { border-radius: 6px; }
.entry-content figcaption, .entry-content .wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content blockquote { margin: 1.4em 0; padding: .4em 1.1em; border-left: 3px solid var(--accent); color: var(--muted); }
.entry-content :not(pre) > code, .entry-content kbd { padding: .1em .35em; border-radius: 4px; background: var(--chip); color: var(--code-inline); font: .88em var(--mono); }
.entry-content iframe { display: block; margin: 0 auto 1.1em; }
.entry-content .alignleft { float: left; margin: .3em 1.2em .8em 0; }
.entry-content .alignright { float: right; margin: .3em 0 .8em 1.2em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* İki yana yaslı eski metinler telefonda boşluk açıyor: sola yasla. */
.entry-content [style*="justify"] { text-align: left !important; }

/* Koyu modlarda eski içerikteki beyaz zemin ve siyah yazı renklerini etkisizleştir. */
html[data-mode="dark"] .entry-content [style*="background-color: #ffffff"],
html[data-mode="dark"] .entry-content [style*="background-color: #fff"],
html[data-mode="dark"] .entry-content [style*="background: #f8f8f8"],
html[data-mode="blue"] .entry-content [style*="background-color: #ffffff"],
html[data-mode="blue"] .entry-content [style*="background-color: #fff"],
html[data-mode="blue"] .entry-content [style*="background: #f8f8f8"] { background: transparent !important; }
html[data-mode="dark"] .entry-content [style*="color: #000"],
html[data-mode="dark"] .entry-content [style*="color: #212529"],
html[data-mode="dark"] .entry-content [style*="color: #25"],
html[data-mode="dark"] .entry-content [style*="color: #26"],
html[data-mode="blue"] .entry-content [style*="color: #000"],
html[data-mode="blue"] .entry-content [style*="color: #212529"],
html[data-mode="blue"] .entry-content [style*="color: #25"],
html[data-mode="blue"] .entry-content [style*="color: #26"] { color: inherit !important; }
html[data-mode="dark"] .entry-content [style*="background: #e6f2ff"],
html[data-mode="dark"] .entry-content [style*="background-color: #d6efd6"],
html[data-mode="dark"] .entry-content [style*="background-color: #b5d6a5"],
html[data-mode="dark"] .entry-content [style*="background-color: #ffd663"],
html[data-mode="blue"] .entry-content [style*="background: #e6f2ff"],
html[data-mode="blue"] .entry-content [style*="background-color: #d6efd6"],
html[data-mode="blue"] .entry-content [style*="background-color: #b5d6a5"],
html[data-mode="blue"] .entry-content [style*="background-color: #ffd663"] { color: #1b1f27 !important; }
html[data-mode="dark"] .entry-content [style*="color: #333399"],
html[data-mode="dark"] .entry-content [style*="color: #0000ff"],
html[data-mode="blue"] .entry-content [style*="color: #333399"],
html[data-mode="blue"] .entry-content [style*="color: #0000ff"] { color: var(--accent) !important; }

/* ---- Eski içerikteki Bootstrap sınıfları (yazılar bozulmasın diye) ---- */
.entry-content table, .entry-content .table { width: 100%; margin: 0 0 1.2em; border-collapse: collapse; font-size: .93rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 7px 10px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.entry-content th, .entry-content thead td { background: var(--surface); font-weight: 600; }
.entry-content .table-hover tbody tr:hover { background: var(--accent-soft); }
.entry-content .table-bordered { border: 1px solid var(--line); }
.entry-content .table-responsive { overflow-x: auto; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-danger { color: #d93838 !important; }
html[data-mode="dark"] .text-danger, html[data-mode="blue"] .text-danger { color: #ff8a80 !important; }
.entry-content [style*="color: #ff0000"] { color: #d93838 !important; }
html[data-mode="dark"] .entry-content [style*="color: #ff0000"], html[data-mode="blue"] .entry-content [style*="color: #ff0000"] { color: #ff8a80 !important; }
.entry-content .container { max-width: 100%; padding: 0; }
.entry-content .row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.entry-content .row > [class*="col"] { padding: 0 8px; min-width: 0; }
.entry-content .col { flex: 1 0 0%; }
.entry-content .col-12 { flex: 0 0 100%; max-width: 100%; }
.entry-content .col-6 { flex: 0 0 50%; max-width: 50%; }
@media (min-width: 576px) {
	.entry-content .col-sm-2 { flex: 0 0 16.666%; max-width: 16.666%; }
	.entry-content .col-sm-10 { flex: 0 0 83.333%; max-width: 83.333%; }
}
@media (min-width: 768px) { .entry-content .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; } }
@media (max-width: 575px) { .entry-content .row > [class*="col-sm-"], .entry-content .row > [class*="col-md-"] { flex: 0 0 100%; max-width: 100%; } }
.entry-content .card { margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.entry-content .card-header { padding: 10px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.entry-content .card-body { padding: 14px 16px; }
.entry-content .nav, .entry-content .navbar { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; list-style: none; }
.entry-content .nav-link { display: inline-block; padding: 4px 0; }
.entry-content .btn { display: inline-block; padding: 6px 14px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.entry-content .form-group { margin: 0 0 12px; }
.entry-content .form-control { width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; }
.entry-content .display-4 { font-size: 2.2rem; font-weight: 300; line-height: 1.2; }

/* ---- Kod blokları (EU Code Highlight) renk moduna uysun ---- */
.entry-content div.code-toolbar, .entry-content pre { margin: 1.2em 0 1.4em; }
.entry-content pre:not(.eu-code) { padding: 14px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font: 13px/1.6 var(--mono); }
html[data-mode="dark"] pre.eu-code:not(.eu-code--dark) {
	--eu-bg: #161a20; --eu-fg: #e6edf3; --eu-border: #2a2f38; --eu-muted: #8b949e; --eu-mark: rgba(187, 128, 9, .25);
	--eu-comment: #8b949e; --eu-keyword: #ff7b72; --eu-string: #a5d6ff; --eu-number: #79c0ff; --eu-function: #d2a8ff; --eu-tag: #7ee787; --eu-attr: #ffa657;
}
html[data-mode="blue"] pre.eu-code:not(.eu-code--dark) {
	--eu-bg: #0a1c36; --eu-fg: #e6f0ff; --eu-border: #224a7d; --eu-muted: #8eaad3; --eu-mark: rgba(124, 200, 255, .18);
	--eu-comment: #8eaad3; --eu-keyword: #ff9e8f; --eu-string: #b8e2ff; --eu-number: #8fd0ff; --eu-function: #dcb8ff; --eu-tag: #8af0a0; --eu-attr: #ffc27a;
}
html[data-mode="blue"] pre.eu-code.eu-code--dark { --eu-bg: #071528; --eu-border: #224a7d; }
html[data-mode="dark"] div.code-toolbar > .toolbar,
html[data-mode="blue"] div.code-toolbar > .toolbar { color: #e6edf3; }

/* ---- Yayınlar (bibbase listesi) ---- */
.entry-content .bibbase_group_whole { clear: both; margin-top: 18px; border-top: 1px solid var(--line) !important; }
.entry-content .bibbase_group { float: none !important; width: auto !important; margin: 10px 0 4px; font: 500 .95rem var(--mono); color: var(--muted); cursor: default; }
.entry-content .bibbase_group_body { margin-left: 0 !important; }
.entry-content .bibbase_paper { margin: 0 0 14px; line-height: 1.55; }
.entry-content .bibbase_paper_title, .entry-content .bibbase_paper_titleauthoryear .bibbase_paper_title { font-weight: 600; color: var(--ink); }
.entry-content .bibbase_paper_author, .entry-content .bibbase_paper_content { color: var(--muted); font-size: .92rem; }
.entry-content span.bibbase_group_count { color: var(--muted) !important; }
.entry-content .bibbase_icon { vertical-align: middle; }
html[data-mode="dark"] .entry-content .bibbase_note, html[data-mode="blue"] .entry-content .bibbase_note { color: var(--muted); }

/* ---- Yorumlar ---- */
.comments { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.comment-list { padding-left: 1.2em; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
.comment-form .submit { padding: 9px 16px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: 600 .92rem var(--sans); cursor: pointer; }

/* ---- Alt bilgi ---- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); }
.site-footer__inner { display: grid; gap: 16px; padding-block: 26px 34px; max-width: var(--wrap-wide); }
.icons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.icons a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 18px; transition: border-color .15s ease, color .15s ease; }
.icons a:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.icons .icons__img { background: #fff; }
.icons img { width: 22px; height: 22px; object-fit: contain; }
.fline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .85rem; color: var(--muted); }
.fline__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.fline a { color: var(--muted); }
.fline a:hover { color: var(--accent); }

/* Eski kısa kodlar */
.eu-svg-sc svg { width: 1em; height: 1em; vertical-align: -.125em; fill: currentColor; }
.eu-icon { display: inline-block; vertical-align: -.125em; }

@media print {
	.site-header .main-nav, .modes, .menu-btn, .site-footer, .single-aside, .series-nav { display: none !important; }
	body { background: #fff; color: #000; }
}
