/*
Theme Name: Eğitim Ailesi Arı
Theme URI: https://egitimailesi.com
Author: Eğitim Ailesi
Description: Eğitim içerikleri, uzun dizinler ve puan tabloları için dış bağımlılıksız, erişilebilir, reklam dayanıklı ve mobil öncelikli WordPress teması.
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: egitimailesi-ari
*/

:root {
	--ea-bg: #f5f6f8;
	--ea-surface: #ffffff;
	--ea-surface-soft: #f8fafc;
	--ea-ink: #172033;
	--ea-muted: #5f6b7a;
	--ea-line: #dfe3e8;
	--ea-line-strong: #c9d0d9;
	--ea-primary: #1d5fd1;
	--ea-primary-dark: #154aa5;
	--ea-primary-soft: #edf4ff;
	--ea-success: #167a63;
	--ea-danger: #b42318;
	--ea-shadow-sm: 0 1px 2px rgba(23, 32, 51, 0.05), 0 6px 18px rgba(23, 32, 51, 0.04);
	--ea-shadow-md: 0 16px 40px rgba(23, 32, 51, 0.09);
	--ea-radius-sm: 10px;
	--ea-radius: 16px;
	--ea-radius-lg: 24px;
	--ea-shell: 1180px;
	--ea-reading: 780px;
	--ea-header-height: 76px;
	--ea-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ea-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	min-width: 0;
	background: var(--ea-bg);
	color: var(--ea-ink);
	font-family: var(--ea-font);
	font-size: 16px;
	line-height: 1.65;
	overflow-wrap: break-word;
	overflow-x: clip;
}

body.menu-open {
	overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
	font: inherit;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

a {
	color: var(--ea-primary);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
	text-decoration:none;
}

a:hover {
	color: var(--ea-primary-dark);
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

iframe,
object,
embed {
	max-width: 100%;
}

figure {
	margin: 0;
}

table {
	border-spacing: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--ea-line);
	margin: 2rem 0;
}

::selection {
	background: #cfe0ff;
	color: #0d2550;
}

:focus-visible {
	outline: 3px solid #8bb5ff;
	outline-offset: 3px;
}

.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;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	background: var(--ea-ink);
	color: #fff;
	border-radius: var(--ea-radius-sm);
}

.ea-shell {
	width: min(calc(100% - 40px), var(--ea-shell));
	margin-inline: auto;
}

.ea-shell--wide {
	--ea-shell: 1320px;
}

.ea-page-space {
	padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3.5rem, 7vw, 6rem);
}

.ea-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1001;
	width: 100%;
	height: 3px;
	pointer-events: none;
}

.ea-reading-progress__bar {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ea-primary);
	transition: width 80ms linear;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	min-height: var(--ea-header-height);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(201, 208, 217, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--ea-header-height);
}

.site-branding {
	min-width: 0;
}

.site-branding__link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	color: var(--ea-ink);
	text-decoration: none;
}

.site-branding__mark,
.site-branding__logo .custom-logo-link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 13px;
	background: var(--ea-ink);
	color: #fff;
	font-weight: 800;
	font-size: 0.84rem;
	letter-spacing: -0.03em;
}

.site-branding__mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.site-branding__logo .custom-logo-link {
	overflow: hidden;
	background: transparent;
}

.site-branding__logo .custom-logo {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.site-branding__copy {
	display: grid;
	min-width: 0;
	line-height: 1.2;
	color: var(--ea-ink);
	text-decoration: none;
}

.site-title {
	font-size: 1.04rem;
	font-weight: 760;
	letter-spacing: -0.025em;
	white-space: nowrap;
}

.site-description {
	max-width: 260px;
	margin-top: 0.18rem;
	color: var(--ea-muted);
	font-size: 0.72rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.primary-navigation {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.primary-navigation .menu,
.footer-navigation .menu,
.ea-quick-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.primary-navigation > .menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.primary-navigation .menu-item {
	position: relative;
}

.primary-navigation a {
	display: block;
	padding: 0.58rem 0.72rem;
	border-radius: 9px;
	color: #344054;
	font-size: 0.9rem;
	font-weight: 620;
	text-decoration: none;
	white-space: nowrap;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	background: var(--ea-primary-soft);
	color: var(--ea-primary-dark);
}

.primary-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	z-index: 10;
	min-width: 220px;
	padding: 0.45rem;
	margin: 0;
	list-style: none;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-4px);
	background: var(--ea-surface);
	border: 1px solid var(--ea-line);
	border-radius: 12px;
	box-shadow: var(--ea-shadow-md);
	transition: 150ms ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.header-search {
	width: 184px;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	min-height: 44px;
	padding: 0.55rem 0.7rem;
	border: 1px solid var(--ea-line);
	border-radius: 10px;
	background: var(--ea-surface);
	color: var(--ea-ink);
	cursor: pointer;
}

.menu-toggle__label {
	font-size: 0.84rem;
	font-weight: 700;
}

.menu-toggle__icon {
	display: grid;
	gap: 4px;
	width: 21px;
}

.menu-toggle__icon i {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.ea-menu-scrim {
	position: fixed;
	inset: var(--ea-header-height) 0 0;
	z-index: 998;
	background: rgba(15, 23, 42, 0.44);
}

/* Search */
.search-form {
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.search-form label {
	flex: 1 1 auto;
	min-width: 0;
}

.search-field,
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="search"],
.entry-content input[type="url"],
.entry-content input[type="number"],
.entry-content select,
.entry-content textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--ea-line-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--ea-ink);
	box-shadow: 0 1px 1px rgba(23, 32, 51, 0.03);
}

.search-field {
	border-radius: 10px 0 0 10px;
	font-size: 0.85rem;
}

.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	min-width: 44px;
	padding: 0.62rem 0.7rem;
	border: 1px solid var(--ea-ink);
	border-radius: 0 10px 10px 0;
	background: var(--ea-ink);
	color: #fff;
	cursor: pointer;
}

.search-submit__text {
	display: none;
}

.search-field:focus,
.entry-content input:focus,
.entry-content select:focus,
.entry-content textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: #7aa7f7;
	box-shadow: 0 0 0 4px rgba(29, 95, 209, 0.12);
	outline: none;
}

/* Hero */
.ea-hero {
	position: relative;
	overflow: clip;
	padding: clamp(2.4rem, 7vw, 6.2rem) 0;
	background:
		radial-gradient(circle at 88% 18%, rgba(93, 147, 241, 0.18), transparent 31%),
		linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
	border-bottom: 1px solid var(--ea-line);
}

.ea-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
}

.ea-eyebrow {
	display: inline-block;
	margin-bottom: 0.65rem;
	color: var(--ea-primary);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ea-hero h1,
.ea-archive-header h1,
.ea-page__header h1,
.ea-article__header h1,
.ea-empty h1 {
	margin: 0;
	font-size: clamp(2.05rem, 6vw, 4.4rem);
	line-height: 1.04;
	letter-spacing: -0.055em;
	text-wrap: balance;
}

.ea-hero__copy > p {
	max-width: 650px;
	margin: 1.2rem 0 0;
	color: var(--ea-muted);
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	line-height: 1.65;
}

.ea-hero__search {
	max-width: 560px;
	margin-top: 1.7rem;
}

.ea-hero__search .search-field,
.ea-search-again .search-field {
	min-height: 52px;
	font-size: 1rem;
}

.ea-hero__search .search-submit,
.ea-search-again .search-submit {
	min-width: 54px;
}

.ea-hero__panel {
	padding: clamp(1.2rem, 3vw, 1.7rem);
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius-lg);
	box-shadow: var(--ea-shadow-md);
}

.ea-hero__panel-label {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--ea-muted);
	font-size: 0.76rem;
	font-weight: 760;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ea-quick-links {
	display: grid;
	gap: 0.35rem;
}

.ea-quick-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 0.7rem 0.8rem;
	border-radius: 10px;
	color: var(--ea-ink);
	font-size: 0.91rem;
	font-weight: 650;
	text-decoration: none;
}

.ea-quick-links a::after {
	content: "→";
	color: var(--ea-primary);
}

.ea-quick-links a:hover {
	background: var(--ea-primary-soft);
}

.ea-front-content {
	padding-top: 2.5rem;
}

.ea-posts-section {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.ea-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.ea-section-heading h2,
.ea-archive-header h1 {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.65rem);
	line-height: 1.1;
	letter-spacing: -0.045em;
}

.ea-text-link {
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

/* Post cards */
.ea-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

.ea-post-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	background: var(--ea-surface);
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	box-shadow: var(--ea-shadow-sm);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ea-post-card:hover {
	transform: translateY(-3px);
	border-color: #c5d2e5;
	box-shadow: var(--ea-shadow-md);
}

.ea-post-card__media {
	display: block;
	aspect-ratio: 16 / 8.5;
	overflow: hidden;
	background: var(--ea-primary-soft);
}

.ea-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.ea-post-card:hover .ea-post-card__media img {
	transform: scale(1.025);
}

.ea-post-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(29, 95, 209, 0.12), rgba(22, 122, 99, 0.08)),
		repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.45) 18px 19px);
}

.ea-post-card__placeholder span {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: var(--ea-surface);
	color: var(--ea-primary);
	font-size: 0.85rem;
	font-weight: 850;
	box-shadow: var(--ea-shadow-sm);
}

.ea-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.ea-post-card__meta,
.ea-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
	color: var(--ea-muted);
	font-size: 0.75rem;
}

.ea-post-card__meta span:first-child {
	color: var(--ea-primary);
	font-weight: 750;
}

.ea-post-card__title {
	margin: 0.72rem 0 0;
	font-size: clamp(1.08rem, 2.3vw, 1.28rem);
	line-height: 1.32;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.ea-post-card__title a {
	color: var(--ea-ink);
	text-decoration: none;
}

.ea-post-card__excerpt {
	color: var(--ea-muted);
	font-size: 0.88rem;
}

.ea-post-card__excerpt p {
	margin: 0.7rem 0 0;
}

.ea-post-card__link {
	display: inline-flex;
	gap: 0.3rem;
	align-items: center;
	margin-top: auto;
	padding-top: 1rem;
	font-size: 0.84rem;
	font-weight: 750;
	text-decoration: none;
}

/* Breadcrumbs, archives, pagination */
.ea-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	margin-bottom: clamp(1.2rem, 3vw, 2rem);
	color: var(--ea-muted);
	font-size: 0.76rem;
	white-space: nowrap;
	overflow: hidden;
}

.ea-breadcrumbs a,
.ea-breadcrumbs span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

.ea-breadcrumbs a {
	color: var(--ea-muted);
	text-decoration: none;
}

.ea-archive-header {
	max-width: 760px;
	margin-bottom: 2rem;
}

.ea-archive-description {
	color: var(--ea-muted);
}

.ea-search-again {
	max-width: 560px;
	margin-top: 1.4rem;
}

.ea-pagination {
	margin-top: 2rem;
}

.ea-pagination .nav-links,
.comments-area .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
}

.ea-pagination .page-numbers,
.comments-area .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--ea-line);
	border-radius: 10px;
	background: var(--ea-surface);
	color: var(--ea-ink);
	font-size: 0.86rem;
	font-weight: 650;
	text-decoration: none;
}

.ea-pagination .current,
.comments-area .current {
	background: var(--ea-ink);
	border-color: var(--ea-ink);
	color: #fff;
}

/* Article and page content */
.ea-content-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--ea-reading)) minmax(260px, 320px);
	align-items: start;
	justify-content: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.ea-content-column,
.entry-content,
.ea-article,
.ea-page {
	min-width: 0;
}

.ea-article,
.ea-content-card,
.comments-area {
	background: var(--ea-surface);
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	box-shadow: var(--ea-shadow-sm);
}

.ea-article {
	overflow: clip;
}

.ea-article__header,
.ea-page__header {
	padding: clamp(1.35rem, 4vw, 3.2rem) clamp(1.15rem, 5vw, 3.4rem) 0;
}

.ea-article__header h1,
.ea-page__header h1 {
	font-size: clamp(2rem, 5vw, 3.35rem);
	line-height: 1.08;
}

.ea-chip {
	display: inline-flex;
	margin-bottom: 0.85rem;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: var(--ea-primary-soft);
	color: var(--ea-primary-dark);
	font-size: 0.72rem;
	font-weight: 760;
	text-decoration: none;
}

.ea-post-meta {
	margin-top: 1rem;
}

.ea-post-meta > * + *::before {
	content: "•";
	margin-right: 0.75rem;
	color: var(--ea-line-strong);
}

.ea-article__image {
	margin: 1.8rem clamp(1.15rem, 5vw, 3.4rem) 0;
	overflow: hidden;
	border-radius: 14px;
}

.ea-article__image img {
	width: 100%;
}

.entry-content {
	padding: clamp(1.5rem, 5vw, 3.4rem);
	font-size: clamp(1rem, 1.5vw, 1.06rem);
	line-height: 1.78;
}

.ea-page > .entry-content {
	padding-top: 2rem;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content table,
.entry-content .wp-block-table {
	margin-top: 0;
	margin-bottom: 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 1.8em 0 0.65em;
	line-height: 1.24;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.entry-content h2 {
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.entry-content h3 {
	font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3rem;
}

.entry-content li + li {
	margin-top: 0.35rem;
}

.entry-content blockquote {
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--ea-primary);
	border-radius: 0 var(--ea-radius-sm) var(--ea-radius-sm) 0;
	background: var(--ea-primary-soft);
	color: #2e4161;
}

.entry-content code,
.entry-content kbd,
.entry-content pre {
	font-family: var(--ea-mono);
}

.entry-content code,
.entry-content kbd {
	padding: 0.12em 0.32em;
	border-radius: 5px;
	background: #eef1f5;
	font-size: 0.88em;
}

.entry-content pre {
	max-width: 100%;
	overflow: auto;
	padding: 1rem;
	border-radius: 12px;
	background: #101828;
	color: #e6edf6;
	font-size: 0.88rem;
	line-height: 1.55;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.entry-content .alignwide {
	width: min(1120px, calc(100vw - 48px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.wp-caption,
.gallery-caption,
.entry-content figcaption {
	margin-top: 0.55rem;
	color: var(--ea-muted);
	font-size: 0.78rem;
	text-align: center;
}

.ea-article__footer {
	padding: 0 clamp(1.15rem, 5vw, 3.4rem) clamp(1.5rem, 4vw, 2.5rem);
}

.ea-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	font-size: 0.78rem;
}

.ea-tags a {
	padding: 0.25rem 0.5rem;
	border: 1px solid var(--ea-line);
	border-radius: 999px;
	text-decoration: none;
}

.ea-post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 1rem;
}

.ea-post-navigation a {
	display: flex;
	height: 100%;
	flex-direction: column;
	padding: 1rem;
	border: 1px solid var(--ea-line);
	border-radius: 12px;
	background: var(--ea-surface);
	color: var(--ea-ink);
	font-size: 0.88rem;
	font-weight: 650;
	text-decoration: none;
}

.ea-post-navigation div:last-child {
	text-align: right;
}

.ea-post-navigation span {
	margin-bottom: 0.25rem;
	color: var(--ea-muted);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.ea-sidebar {
	position: sticky;
	top: calc(var(--ea-header-height) + 1.25rem);
	display: grid;
	gap: 1rem;
	min-width: 0;
}

.widget {
	min-width: 0;
}

.ea-sidebar > .widget,
.ea-sidebar > .ea-ad-slot {
	padding: 1.15rem;
	background: var(--ea-surface);
	border: 1px solid var(--ea-line);
	border-radius: 14px;
	box-shadow: var(--ea-shadow-sm);
}

.widget-title {
	margin: 0 0 0.8rem;
	font-size: 1rem;
	line-height: 1.3;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget li + li {
	margin-top: 0.7rem;
	padding-top: 0.7rem;
	border-top: 1px solid var(--ea-line);
}

.widget a {
	color: var(--ea-ink);
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
}

.widget a:hover {
	color: var(--ea-primary);
}

/* Data tables: JS adds the scroll region without changing table content. */
.ea-table-scroll,
.entry-content .wp-block-table,
.kbp-table-wrap,
.dgsbp-table-wrap,
.puantablolari-wrap,
.ykspuantablolari-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-inline: contain;
	border: 1px solid var(--ea-line);
	border-radius: 12px;
	background: var(--ea-surface);
	scrollbar-width: thin;
}

.ea-table-scroll:focus-visible,
.entry-content .wp-block-table:focus-visible,
.kbp-table-wrap:focus-visible,
.dgsbp-table-wrap:focus-visible {
	outline: 3px solid #8bb5ff;
	outline-offset: 2px;
}

.entry-content table,
.puantablolari,
.ykspuantablolari,
.kbp-table,
.dgsbp-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: clamp(0.76rem, 1.6vw, 0.9rem);
}

.ea-table-scroll > table.ea-data-table:not(.dgsbp-table, .kbp-table) {
	min-width: 620px;
	margin: 0;
}

.kbp-table {
	min-width: 760px;
}

.entry-content th,
.entry-content td,
.puantablolari th,
.puantablolari td,
.ykspuantablolari th,
.ykspuantablolari td,
.kbp-table th,
.kbp-table td,
.dgsbp-table th,
.dgsbp-table td {
	padding: 0.7rem 0.75rem;
	border: 1px solid var(--ea-line);
	text-align: left;
	vertical-align: top;
}

.entry-content th,
.puantablolari th,
.ykspuantablolari th,
.kbp-table th,
.dgsbp-table th {
	background: #f0f3f7;
	color: #344054;
	font-weight: 750;
}

.entry-content tbody tr:nth-child(even),
.puantablolari tbody tr:nth-child(even),
.ykspuantablolari tbody tr:nth-child(even),
.kbp-table tbody tr:nth-child(even),
.dgsbp-table tbody tr:nth-child(even) {
	background: #fafbfc;
}

.entry-content table a {
	font-weight: 650;
}

/* Advertising safety. No advertising code or network URL is shipped. */
.ea-ad-slot {
	width: 100%;
	max-width: 100%;
	margin: clamp(1rem, 3vw, 2rem) auto;
	overflow: clip;
	contain: layout paint;
}

.site-header + .ea-ad-slot {
	width: min(calc(100% - 40px), var(--ea-shell));
}

.ea-ad-slot__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	place-items: center;
	width: 100%;
	min-height: 90px;
	overflow: hidden;
	border-radius: 12px;
	background: #eef1f5;
}

.ea-ad-slot .widget,
.ea-ad-slot .textwidget,
.ea-ad-slot ins,
.ea-ad-slot iframe {
	width: 100%;
	max-width: 100% !important;
	margin: 0 !important;
}

ins.adsbygoogle,
.adsbygoogle {
	display: block !important;
	max-width: 100% !important;
	overflow: hidden !important;
	contain: layout paint;
}

div[id^="aswift_"],
iframe[id^="aswift_"],
iframe[id^="google_ads_iframe_"],
iframe[title="Advertisement"],
.google-auto-placed,
.ea-auto-ad {
	max-width: 100% !important;
}

div[id^="aswift_"],
.google-auto-placed,
.ea-auto-ad:not(iframe) {
	width: 100% !important;
	min-width: 0 !important;
}

body > div[id^="aswift_"] {
	width: 100% !important;
	left: 0 !important;
	right: 0 !important;
	overflow: hidden !important;
}

.google-auto-placed {
	clear: both;
	overflow: hidden !important;
}

/* Buttons and notices */
.ea-button,
.entry-content .wp-element-button,
.entry-content .wp-block-button__link,
.submit-btn,
.kbp-button,
.puantablolari .toggle-btn,
.atampnbutton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.68rem 1rem;
	border: 1px solid var(--ea-primary);
	border-radius: 10px;
	background: var(--ea-primary);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: 160ms ease;
}

.ea-button:hover,
.entry-content .wp-element-button:hover,
.entry-content .wp-block-button__link:hover,
.submit-btn:hover,
.kbp-button:hover,
.atampnbutton:hover {
	background: var(--ea-primary-dark);
	border-color: var(--ea-primary-dark);
	color: #fff;
}

.kbp-button--secondary {
	background: #fff;
	color: var(--ea-ink);
	border-color: var(--ea-line-strong);
}

.ea-notice,
.email-warning {
	padding: 0.75rem 0.9rem;
	border: 1px solid #f0b6b1;
	border-radius: 10px;
	background: #fff1f0;
	color: var(--ea-danger);
	font-size: 0.84rem;
}

/* Comments */
.comments-area {
	margin-top: 1rem;
	padding: clamp(1.15rem, 4vw, 2rem);
}

.comments-title,
.comment-reply-title {
	margin: 0 0 1.2rem;
	font-size: 1.35rem;
	line-height: 1.3;
}

.comment-list,
.comment-list .children {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-list .children {
	margin: 0.8rem 0 0 2.2rem;
}

.ea-comment + .ea-comment {
	margin-top: 1rem;
}

.ea-comment__body {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 0.8rem;
	padding: 1rem;
	border: 1px solid var(--ea-line);
	border-radius: 12px;
	background: var(--ea-surface-soft);
}

.ea-comment__avatar {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ea-primary-soft);
	color: var(--ea-primary-dark);
	font-size: 0.8rem;
	font-weight: 800;
}

.ea-comment__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
}

.ea-comment__meta a {
	color: var(--ea-muted);
	font-size: 0.72rem;
	text-decoration: none;
}

.ea-comment__text {
	font-size: 0.9rem;
}

.ea-comment__text p {
	margin: 0.55rem 0;
}

.comment-reply-link {
	font-size: 0.76rem;
	font-weight: 700;
	text-decoration: none;
}

.ea-comment-form {
	margin-top: 2rem;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.comment-form > p {
	margin: 0;
}

.comment-form .comment-notes,
.comment-form .comment-form-comment,
.comment-form .form-submit,
.comment-form .logged-in-as,
.comment-form .comment-form-cookies-consent {
	grid-column: 1 / -1;
}

.comment-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.78rem;
	font-weight: 700;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-notes,
.logged-in-as {
	color: var(--ea-muted);
	font-size: 0.82rem;
}

/* Empty states */
.ea-empty {
	display: grid;
	justify-items: start;
	max-width: 720px;
	padding: clamp(1.5rem, 5vw, 3.2rem);
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius);
	background: var(--ea-surface);
	box-shadow: var(--ea-shadow-sm);
}

.ea-empty h2 {
	margin: 0;
}

.ea-empty p {
	color: var(--ea-muted);
}

.ea-empty .search-form {
	width: 100%;
	max-width: 520px;
}

.ea-empty .ea-button {
	margin-top: 1rem;
}

.ea-error-code {
	color: var(--ea-primary);
	font-size: clamp(3rem, 10vw, 7rem);
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.07em;
}

/* Footer */
.site-footer {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.3rem;
	background: #101828;
	color: #cbd5e1;
}

.footer-widgets {
	margin-bottom: 2rem;
}

.site-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 2rem;
}

.site-footer__title {
	color: #fff;
	font-size: 1.05rem;
}

.site-footer p {
	max-width: 560px;
	margin: 0.45rem 0 0;
	color: #94a3b8;
	font-size: 0.84rem;
}

.footer-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.2rem;
}

.footer-navigation a {
	color: #dbe5f1;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-top: 2rem;
	padding-top: 1.2rem;
	border-top: 1px solid #263448;
	color: #8c9aae;
	font-size: 0.72rem;
}

.back-to-top {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 900;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ea-line-strong);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--ea-ink);
	box-shadow: var(--ea-shadow-md);
	cursor: pointer;
}

.back-to-top[hidden] {
	display: none;
}

/* Compatibility layer for observed EğitimAilesi content classes. */
.contentimg {
	display: block;
	width: min(100%, 680px);
	margin-inline: auto;
	border-radius: 12px;
}

.instagram-banner {
	max-width: 600px;
	margin: 1.25rem auto;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: #27364d;
	color: #fff;
}

.instagram-banner a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.instagram-banner img {
	width: 24px;
	height: 24px;
}

.kpsstabanlink {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	background: var(--ea-success);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.atampncontainer {
	width: 100%;
	max-width: 100%;
	padding: clamp(0.8rem, 3vw, 1.2rem);
	border: 1px solid var(--ea-line);
	border-radius: 14px;
	background: #fff;
}

.atampnatampnbuttons {
	display: flex;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.05rem;
	margin-bottom: 1rem;
}

.atampnbutton {
	width: 100%;
	min-width: 0;
	font-size:12px;
	background: #344054;
	border-color: #344054;
}

.atampnbutton.aktifbtn,
.aktifbtn {
	background: var(--ea-primary);
	border-color: var(--ea-primary);
	color: #fff;
}

.atampnlink-list,
.kpsssayfaalanlar {
	list-style: none;
	padding: 0;
	margin: 0;
}

.atampnlink-card,
.kpsssayfaalanlar li {
	margin: 0;
	border-bottom: 1px solid var(--ea-line);
}

.atampnlink-card a,
.kpsssayfaalanlar li a {
	display: block;
	padding: 0.75rem 0.85rem;
	color: var(--ea-ink);
	font-size: 0.88rem;
	font-weight: 620;
	text-decoration: none;
}

.atampnlink-card a:hover,
.kpsssayfaalanlar li a:hover {
	background: var(--ea-primary-soft);
	color: var(--ea-primary-dark);
}

#kpssbolumaramakutusu,
#kpsssayfaarama,
#ykssayfaarama,
.aramakutusu {
	display: block;
	width: min(100%, 560px);
	min-height: 46px;
	margin: 0.8rem auto 1.2rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--ea-line-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--ea-ink);
}

.sayfaici-card-menu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 0.8rem;
	padding: 0;
	margin-top: 1rem;
}

.sayfaici-card {
	width: 100%;
	min-width: 0;
	padding: 1rem;
	border: 1px solid var(--ea-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--ea-shadow-sm);
}

.sayfaici-card-title {
	font-weight: 750;
}

.sayfaici-card-content {
	color: var(--ea-muted);
	font-size: 0.84rem;
}

.kpsssayfamezun {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	min-width: 0;
	max-width: 680px;
	gap: 0.45rem;
	margin-inline: auto;
}

.kpsssayfamezuniyet {
	width: 100%;
	min-width: 0;
	padding: 0.7rem 0.35rem;
	border-radius: 9px;
	background: #283548;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}

.arama_kutusu {
	max-width: 560px;
	margin-inline: auto;
	text-align: center;
}

.aramabtn {
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 10px;
	background: var(--ea-primary);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.kbp-mobile-toggle,
.puantablolari .expand-btn {
	min-height: 40px;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--ea-line-strong);
	border-radius: 8px;
	background: #fff;
	color: var(--ea-primary-dark);
	font-size: 0.76rem;
	font-weight: 700;
	cursor: pointer;
}

.comment-section-container,
.comment-form-wrapper,
.yorumalani {
	max-width: 100%;
}

.chat-comment {
	margin-bottom: 0.75rem;
}

.chat-bubble-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
}

.chat-avatar img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
}

.chat-bubble {
	min-width: 0;
	max-width: 100%;
	padding: 0.75rem 0.85rem;
	border-radius: 14px;
	background: var(--ea-primary-soft);
	font-size: 0.86rem;
}

/* WordPress utility classes */
.sticky {
	border-color: #a9c5f5;
}

.bypostauthor {
	outline: 1px solid transparent;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 2rem;
}
/* Son güncellemeler */
.ea-updates {
	padding-top: clamp(2.25rem, 5vw, 4rem);
}

.ea-updates__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.ea-update-card {
	min-width: 0;
	padding: 1.15rem 1.25rem;
	background: var(--ea-surface);
	border: 1px solid var(--ea-line);
	border-radius: var(--ea-radius-lg);
	box-shadow: var(--ea-shadow-sm);
	transition:
		border-color 180ms ease,
		transform 180ms ease,
		box-shadow 180ms ease;
}

.ea-update-card:hover {
	border-color: var(--ea-line-strong);
	box-shadow: var(--ea-shadow-md);
	transform: translateY(-2px);
}

.ea-update-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.7rem;
	color: var(--ea-muted);
	font-size: 0.78rem;
}

.ea-update-card__badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: var(--ea-primary-soft);
	color: var(--ea-primary-dark);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ea-update-card__title {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.12rem);
	line-height: 1.4;
}

.ea-update-card__title a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--ea-ink);
	text-decoration: none;
}

.ea-update-card__title a > span:last-child {
	flex: 0 0 auto;
	color: var(--ea-primary);
	font-size: 1.25rem;
}

.ea-update-card__title a:hover {
	color: var(--ea-primary-dark);
}
/* Responsive */
@media (max-width: 1080px) {
	.header-search {
		display: none;
	}

	.ea-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ea-content-layout {
		grid-template-columns: minmax(0, var(--ea-reading));
	}

	.ea-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	:root {
		--ea-header-height: 68px;
	}

	.site-description {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}
	body.menu-open .site-header {
		position: fixed;
		top: var(--ea-scroll-lock-offset, 0);
		right: 0;
		left: 0;
		width: 100%;
		z-index: 1001;
	}

	.primary-navigation {
		position: fixed;
		top: var(--ea-header-height);
		right: 0;
		bottom: auto;
		height: 100vh;
		height: 100dvh;
		z-index: 1000;
		display: block;
		width: min(88vw, 360px);
		padding:
		calc(1rem)
		max(1rem, env(safe-area-inset-right))
		max(1.25rem, env(safe-area-inset-bottom))
		max(1rem, env(safe-area-inset-left));
		overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
		background: var(--ea-surface);
		border-left: 1px solid var(--ea-line);
		box-shadow: -16px 0 40px rgba(23, 32, 51, 0.15);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 220ms ease, visibility 220ms;
	}

	.primary-navigation.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.primary-navigation > .menu {
		display: grid;
		align-items: stretch;
		gap: 0.2rem;
	}

	.primary-navigation a {
		padding: 0.78rem 0.8rem;
		white-space: normal;
	}

	.primary-navigation .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 0.8rem;
		visibility: visible;
		opacity: 1;
		transform: none;
		border: 0;
		box-shadow: none;
	}

	.primary-navigation .header-search {
		display: block;
		width: 100%;
		margin-top: 1rem;
	}

	.ea-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.ea-hero__panel {
		box-shadow: var(--ea-shadow-sm);
	}
	input,
	select,
	textarea,
	.search-field {
		font-size: 16px !important;
	}
}

@media (max-width: 700px) {
	.ea-shell {
		width: min(calc(100% - 28px), var(--ea-shell));
	}

	.site-header + .ea-ad-slot {
		width: calc(100% - 28px);
	}

	.ea-card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ea-post-card {
		display: grid;
		grid-template-columns: minmax(116px, 34%) minmax(0, 1fr);
	}

	.ea-post-card__media {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.ea-post-card__excerpt {
		display: none;
	}

	.ea-post-card__body {
		padding: 1rem;
	}

	.ea-post-card__title {
		font-size: 1rem;
	}

	.ea-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.ea-post-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.ea-post-navigation div:last-child {
		text-align: left;
	}

	.comment-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.comment-form > p {
		grid-column: 1;
	}

	.comment-list .children {
		margin-left: 1rem;
	}

	.site-footer__main {
		grid-template-columns: minmax(0, 1fr);
	}

	.kbp-table {
		width: 100%;
		min-width: 0;
	}

	.kpsssayfamezun {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ea-ad-slot__inner {
		min-height: 100px;
	}
		.ea-updates__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ea-update-card {
		padding: 1rem;
	}

	.ea-update-card__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.4rem;
	}
}

@media (max-width: 520px) {
	.site-title {
		max-width: 180px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.menu-toggle__label {
		display: none;
	}

	.ea-hero {
		padding-block: 2.6rem;
	}

	.ea-hero h1,
	.ea-article__header h1,
	.ea-page__header h1 {
		font-size: clamp(1.85rem, 10vw, 2.65rem);
	}

	.ea-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ea-post-card {
		grid-template-columns: 104px minmax(0, 1fr);
	}

	.ea-post-card__meta span:first-child {
		display: none;
	}

	.ea-post-card__link {
		padding-top: 0.65rem;
	}

	.ea-article__header,
	.ea-page__header,
	.entry-content,
	.ea-article__footer {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.ea-article__image {
		margin-left: 1rem;
		margin-right: 1rem;
	}

	.ea-comment__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.ea-comment__avatar {
		display: none;
	}

	.atampnatampnbuttons {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__legal {
		flex-direction: column;
	}
}

@media (max-width: 360px) {
	.ea-shell {
		width: calc(100% - 20px);
	}

	.site-header + .ea-ad-slot {
		width: calc(100% - 20px);
	}

	.site-branding__mark,
	.site-branding__logo .custom-logo-link,
	.site-branding__logo .custom-logo {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.site-title {
		max-width: 150px;
		font-size: 0.94rem;
	}

	.ea-post-card {
		display: flex;
	}

	.ea-post-card__media {
		aspect-ratio: 16 / 7;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.ea-sidebar,
	.ea-ad-slot,
	.ea-post-navigation,
	.comments-area,
	.back-to-top,
	.ea-reading-progress {
		display: none !important;
	}

	body,
	.ea-article,
	.ea-content-card {
		background: #fff;
		box-shadow: none;
		border: 0;
	}

	.ea-shell,
	.ea-content-layout {
		display: block;
		width: 100%;
		max-width: none;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	.ea-table-scroll,
	.entry-content .wp-block-table {
		overflow: visible;
		border: 0;
	}
}
