/* ==========================================================================
   ANA HUB
   ========================================================================== */

.est-hub {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-block: var(--est-space-6) var(--est-space-7);
}

.est-hub__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1.8em;
}

/* --- Slogan --- */
.est-hub__slogan {
	flex: 0 0 auto;
	margin: 0;
	text-align: center;
	font-size: clamp(1.9rem, 3vw, 2.75rem);
	font-weight: 600;
	color: var(--est-ink);
}

/* ==========================================================================
   Sekmeli bolum (klasor)
   ========================================================================== */

.est-hubtabs {
	position: relative;
	width: 100%;
	max-width: var(--est-container-wide);
	margin: 0.9em auto 0; /* slogan ile arasindaki bosluk 1.5 kat (1.8em + 0.9em) */
}

/* --- Sekme seridi --- */
.est-hubtabs__bar {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	gap: 3px;
	padding-left: 2.4em;
	margin-bottom: -1px;
}

.est-hubtab {
	appearance: none;
	display: block;
	margin: 0;
	padding: 0.85em 2.6em 0.95em;
	border: 1px solid var(--est-line);
	border-bottom: 1px solid var(--est-line);
	border-radius: 5px 5px 0 0;
	background: rgba(214, 206, 195, 0.85);
	color: var(--est-ink-muted);
	font-family: var(--est-font-heading);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition:
		background var(--est-fade),
		color var(--est-fade),
		padding var(--est-fade);
}

.est-hubtab:hover {
	background: rgba(226, 219, 210, 0.95);
	color: var(--est-ink);
}

.est-hubtab:focus-visible {
	outline: 2px solid var(--est-accent);
	outline-offset: 2px;
}

.est-hubtab.is-active {
	padding-top: 1.02em;
	padding-bottom: 1.1em;
	background: var(--est-bg-raised, #F6F2EC);
	border-bottom-color: var(--est-bg-raised, #F6F2EC);
	color: var(--est-ink);
}

/* --- Klasor govdesi --- */
.est-hubtabs__body {
	position: relative;
	z-index: 1;
	padding: 2.1em 2.3em;
	background: var(--est-bg-raised, #F6F2EC);
	border: 1px solid var(--est-line);
}

/* Cerceve sabit kalir, yalnizca panel icerigi capraz solar. */
.est-hubtabs__panel {
	/* Sekmeler arasi yukseklik sabit: en uzun panel (Viki) baz alindi. */
	min-height: var(--est-hubtabs-h, 585px);
	transition: opacity 180ms ease-in-out;
}

.est-hubtabs__body.is-swapping .est-hubtabs__panel {
	opacity: 0;
}

.est-hubtabs__panel[hidden] {
	display: none;
}

/* Kose isaretleri (imza detay) */
.est-hubtabs__body::before {
	content: "";
	position: absolute;
	inset: 7px;
	pointer-events: none;
	--tick: var(--est-gold-soft);
	background:
		linear-gradient(var(--tick), var(--tick)) left  top    / 16px 1px no-repeat,
		linear-gradient(var(--tick), var(--tick)) left  top    / 1px 16px no-repeat,
		linear-gradient(var(--tick), var(--tick)) right top    / 16px 1px no-repeat,
		linear-gradient(var(--tick), var(--tick)) right top    / 1px 16px no-repeat,
		linear-gradient(var(--tick), var(--tick)) left  bottom / 16px 1px no-repeat,
		linear-gradient(var(--tick), var(--tick)) left  bottom / 1px 16px no-repeat,
		linear-gradient(var(--tick), var(--tick)) right bottom / 16px 1px no-repeat,
		linear-gradient(var(--tick), var(--tick)) right bottom / 1px 16px no-repeat;
}

/* ==========================================================================
   Blog paneli
   ========================================================================== */

.est-hpanel--blog {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.4em;
	align-items: start;
}

/* --- Gorsel yer tutucu --- */
.est-hph {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--est-bg-sunken);
}

/* --- Sol: son yazi --- */
.est-hlead {
	display: block;
	text-decoration: none;
	color: inherit;
}

.est-hlead:hover { text-decoration: none; }

.est-hlead__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--est-bg-sunken);
	border: 1px solid var(--est-line-soft);
}

.est-hlead__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--est-fade);
}

.est-hlead:hover .est-hlead__media img { transform: scale(1.03); }

.est-hlead__title {
	margin: 0.8em 0 0;
	font-size: clamp(1.05rem, 1.45vw, 1.4rem);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--est-ink);
	transition: color var(--est-fade);
}

.est-hlead:hover .est-hlead__title { color: var(--est-accent); }

.est-hlead__excerpt {
	margin: 0.65em 0 0;
	font-size: 0.9375rem;
	line-height: 1.62;
	color: var(--est-ink-muted);
}

/* --- Ortak meta satiri (yazar + tarih, ikonlu) --- */
.est-hmeta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.2em 1em;
	font-family: var(--est-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--est-ink-faint);
}

.est-hmeta--lead {
	margin-top: 0.9em;
	padding-top: 0.7em;
	border-top: 1px solid var(--est-line-soft);
}

.est-hmeta--side {
	margin-top: 0.5em;
	font-size: 0.625rem;
}

.est-hmeta__item {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
}

.est-hmeta__ico {
	flex: 0 0 auto;
	width: 0.95em;
	height: 0.95em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.85;
}

/* --- Sag: diger yazilar --- */
.est-hpanel__side {
	list-style: none;
	margin: 0;
	padding: 0 0 0 2.4em;
	border-left: 1px solid var(--est-line);
	align-self: stretch;
}

.est-hpanel__side li { margin: 0; }

.est-hpanel__side li + li { border-top: 1px solid var(--est-line); }

.est-hside {
	display: grid;
	grid-template-columns: 11.25rem minmax(0, 1fr);
	gap: 1.3em;
	align-items: center;
	padding: 0.95em 0;
	text-decoration: none;
	color: var(--est-ink);
}

.est-hside:hover { text-decoration: none; }

.est-hpanel__side li:first-child .est-hside { padding-top: 0; }
.est-hpanel__side li:last-child .est-hside { padding-bottom: 0; }

.est-hside__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--est-bg-sunken);
	border: 1px solid var(--est-line-soft);
}

.est-hside__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--est-fade);
}

.est-hside:hover .est-hside__media img { transform: scale(1.04); }

.est-hside__body { min-width: 0; }

/* .est-widget__name ile ayni tipografi */
.est-hside__title {
	display: block;
	font-family: var(--est-font-heading);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 0.25em;
	color: var(--est-ink);
	transition: color var(--est-fade);
}

.est-hside:hover .est-hside__title { color: var(--est-accent); }

/* ==========================================================================
   Viki paneli — 3x3 izgara
   ========================================================================== */

.est-hwgrid {
	--est-hwgap: 2.2em;
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));

	/* Iki dikey ayirici, izgaranin tepesinden dibine kadar */
	background-image:
		linear-gradient(var(--est-line), var(--est-line)),
		linear-gradient(var(--est-line), var(--est-line));
	background-size: 1px 100%, 1px 100%;
	background-position: calc(33.3333% - 0.5px) 0, calc(66.6667% - 0.5px) 0;
	background-repeat: no-repeat;
}

.est-hwcard {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.5em var(--est-hwgap);
}

/* Kenar sutunlarda dis bosluk yok */
.est-hwcard:nth-child(3n+1) { padding-left: 0; }
.est-hwcard:nth-child(3n)   { padding-right: 0; }

/* Ilk satirin tepesi, son satirin dibi bosluksuz */
.est-hwcard:nth-child(-n+3) { padding-top: 0; }
.est-hwcard:nth-child(n+7)  { padding-bottom: 0; }

/* Yatay ayirici: dikey cizgilere degmiyor */
.est-hwcard:nth-child(-n+6)::before {
	content: "";
	position: absolute;
	left: var(--est-hwgap);
	right: var(--est-hwgap);
	bottom: 0;
	border-top: 1px solid var(--est-line-soft);
}

.est-hwcard:nth-child(3n+1)::before { left: 0; }
.est-hwcard:nth-child(3n)::before   { right: 0; }

.est-hwcard__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1em;
	margin-bottom: 0.9em;
}

.est-hwcard__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
}

.est-hwcard__cat {
	display: inline-block;
	padding: 0.32em 0.7em;
	border: 1px solid var(--est-line);
	font-family: var(--est-font-mono);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--est-accent);
}

.est-hwcard__date {
	flex: 0 0 auto;
	padding-top: 0.35em;
	font-family: var(--est-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	color: var(--est-ink-faint);
	white-space: nowrap;
}

.est-hwcard__title {
	margin: 0 0 0.55em;
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.28;
}

.est-hwcard__title a {
	color: var(--est-ink);
	transition: color var(--est-fade);
}

.est-hwcard__title a:hover,
.est-hwcard__title a:focus-visible,
.est-hwcard:hover .est-hwcard__title a {
	color: var(--est-accent);
	text-decoration: none;
}

/* Kartin tamami tiklanabilir */
.est-hwcard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.est-hwcard__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.62;
	color: var(--est-ink-muted);
}

/* ==========================================================================
   Kütüphane paneli — liste + fihrist
   ========================================================================== */

.est-hlbody {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 17.5rem;
	gap: var(--est-space-5);
	align-items: start;
}

/* --- Sol: kitap satirlari --- */
.est-hlrow {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 1.5em;
	align-items: start;
	padding: 1.05em 1.1em;
	border-bottom: 1px solid var(--est-line-soft);
	color: inherit;
	text-decoration: none;
	transition: background var(--est-fade), border-color var(--est-fade);
}

.est-hlrow:first-child { padding-top: 0; }

.est-hlist .est-hlrow:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.est-hlrow:hover,
.est-hlrow:focus-visible {
	background: var(--est-bg-raised);
	border-bottom-color: var(--est-line);
	text-decoration: none;
	outline: none;
}

.est-hlrow__cat {
	padding-top: 0.35em;
	font-family: var(--est-font-mono);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--est-gold-soft);
	transition: color var(--est-fade);
}

.est-hlrow:hover .est-hlrow__cat { color: var(--est-accent); }

.est-hlrow__body { display: block; }

.est-hlrow__title {
	display: block;
	font-family: var(--est-font-heading);
	font-size: 1.1875rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--est-ink);
	transition: color var(--est-fade);
}

.est-hlrow:hover .est-hlrow__title { color: var(--est-accent); }

.est-hlrow__excerpt {
	display: block;
	margin-top: 0.35em;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--est-ink-muted);
}

/* --- Sag: fihrist --- */
.est-hlside {
	padding-left: var(--est-space-5);
	border-left: 1px solid var(--est-line-soft);
}

.est-hlside__head {
	margin: 0 0 0.8em;
	font-family: var(--est-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--est-ink-faint);
}

.est-hlside__text {
	margin: 0 0 1.4em;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--est-ink-muted);
}

.est-hltopics {
	list-style: none;
	margin: 0;
	padding: 0;
}

.est-hltopics li { margin: 0; }

.est-hltopic {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6em;
	padding: 0.55em 0;
	border-bottom: 1px solid var(--est-line-soft);
	font-family: var(--est-font-heading);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--est-ink);
	text-decoration: none;
	transition: color var(--est-fade);
}

.est-hltopics li:last-child .est-hltopic { border-bottom: 0; }

.est-hltopic:hover,
.est-hltopic:focus-visible {
	color: var(--est-accent);
	text-decoration: none;
}

.est-hltopic__count {
	flex: 0 0 auto;
	font-family: var(--est-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	color: var(--est-ink-faint);
}

.est-hltopic:hover .est-hltopic__count { color: var(--est-accent); }

.est-hlrandom {
	display: block;
	margin-top: 1.6em;
	padding: 0.8em 1em;
	border: 1px solid var(--est-line);
	color: var(--est-ink);
	font-family: var(--est-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
	transition: background var(--est-fade), border-color var(--est-fade), color var(--est-fade);
}

.est-hlrandom:hover,
.est-hlrandom:focus-visible {
	background: var(--est-accent);
	border-color: var(--est-accent);
	color: #F5EFE6;
	text-decoration: none;
}

.est-hlall {
	display: block;
	margin-top: 0.9em;
	font-family: var(--est-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	color: var(--est-ink-faint);
}

.est-hlall:hover { color: var(--est-accent); text-decoration: none; }

/* ==========================================================================
   Rehber paneli — 2x2 izgara
   ========================================================================== */

.est-hrgrid {
	--est-hrgap: 2.2em;

	position: relative;
	height: var(--est-hubtabs-h, 585px);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));

	/* Sutunlari bolen dikey cizgi, tepeden dibe */
	background-image: linear-gradient(var(--est-line), var(--est-line));
	background-size: 1px 100%;
	background-position: calc(50% - 0.5px) 0;
	background-repeat: no-repeat;
}

.est-hrcard {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 1.3em var(--est-hrgap);
}

.est-hrcard:nth-child(odd)  { padding-left: 0; }
.est-hrcard:nth-child(even) { padding-right: 0; }
.est-hrcard:nth-child(-n+2) { padding-top: 0; }
.est-hrcard:nth-child(n+3)  { padding-bottom: 0; }

/* Satirlari bolen yatay cizgi: dikey cizgiye degmiyor */
.est-hrcard:nth-child(-n+2)::before {
	content: "";
	position: absolute;
	left: var(--est-hrgap);
	right: var(--est-hrgap);
	bottom: 0;
	border-top: 1px solid var(--est-line-soft);
}

.est-hrcard:nth-child(odd)::before  { left: 0; }
.est-hrcard:nth-child(even)::before { right: 0; }

.est-hrcard__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	text-decoration: none;
	color: inherit;
}

.est-hrcard__link:hover { text-decoration: none; }

.est-hrcard__media {
	display: block;
	flex: 1 1 auto;
	min-height: 3.5rem;
	width: 100%;
	overflow: hidden;
	background: var(--est-bg-sunken);
	border: 1px solid var(--est-line-soft);
}

.est-hrcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--est-fade);
}

.est-hrcard__link:hover .est-hrcard__media img { transform: scale(1.03); }

.est-hrcard__title {
	flex: 0 0 auto;
	margin: 0.7em 0 0;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--est-ink);
	transition: color var(--est-fade);
}

.est-hrcard__link:hover .est-hrcard__title { color: var(--est-accent); }

.est-hrcard__excerpt {
	flex: 0 0 auto;
	margin: 0.5em 0 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--est-ink-muted);
}

.est-hrcard .est-hmeta--side {
	flex: 0 0 auto;
	margin-top: 0.7em;
}

/* ==========================================================================
   Duyarli davranis
   ========================================================================== */

@media (max-width: 1200px) {
	.est-hub__inner { padding: 1.8em 1.8em 2.4em; gap: 1.4em; }
	.est-hubtabs__body { padding: 1.6em 1.6em; }
	.est-hpanel--blog { gap: 1.8em; }
	.est-hpanel__side { padding-left: 1.8em; }
	.est-hside { grid-template-columns: 10rem minmax(0, 1fr); gap: 1.1em; }
	.est-hubtab { padding-inline: 1.7em; font-size: 0.9375rem; }
	.est-hwgrid { --est-hwgap: 1.6em; }
	.est-hwcard__title { font-size: 1.0625rem; }
	.est-hlbody { grid-template-columns: minmax(0, 1fr) 15rem; gap: var(--est-space-4); }
	.est-hlside { padding-left: var(--est-space-4); }
	.est-hlrow { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.1em; }
	.est-hrgrid { --est-hrgap: 1.6em; }
	.est-hrcard__title { font-size: 1rem; }
}

@media (max-width: 900px) {

	.est-hub__inner { padding: 4.2em 1.2em 2.4em; }

	.est-hubtabs__bar {
		padding-left: 0.8em;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.est-hubtabs__bar::-webkit-scrollbar { display: none; }

	.est-hubtab { flex: 0 0 auto; }

	.est-hubtabs__body { padding: 1.3em 1.1em; }

	.est-hpanel--blog {
		grid-template-columns: 1fr;
		gap: 1.6em;
	}

	.est-hpanel__side {
		padding: 1.6em 0 0;
		border-left: none;
		border-top: 1px solid var(--est-line);
	}

	.est-hpanel__side li:first-child .est-hside { padding-top: 0.85em; }

	/* Viki izgarasi tek sutuna iner, dikey cizgiler kalkar */
	.est-hwgrid {
		grid-template-columns: 1fr;
		background-image: none;
	}

	.est-hwcard,
	.est-hwcard:nth-child(3n+1),
	.est-hwcard:nth-child(3n) {
		padding: 1.4em 0;
	}

	.est-hwcard:first-child { padding-top: 0; }
	.est-hwcard:last-child { padding-bottom: 0; }

	.est-hwcard::before { display: none; }

	/* Kutuphane paneli tek sutuna iner */
	.est-hlbody {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.est-hlside {
		margin-top: var(--est-space-5);
		padding-left: 0;
		padding-top: var(--est-space-5);
		border-left: 0;
		border-top: 1px solid var(--est-line);
	}

	.est-hlrow { padding-inline: 0; }

	/* Mobilde sabit yukseklik anlamsiz */
	.est-hubtabs__panel { min-height: 0; }

	/* Rehber izgarasi tek sutuna iner */
	.est-hrgrid {
		height: auto;
		grid-template-columns: 1fr;
		grid-template-rows: none;
		background-image: none;
	}

	.est-hrcard,
	.est-hrcard:nth-child(odd),
	.est-hrcard:nth-child(even) {
		padding: 1.4em 0;
	}

	.est-hrcard:first-child { padding-top: 0; }
	.est-hrcard:last-child { padding-bottom: 0; }

	.est-hrcard::before { display: none; }

	.est-hrcard:not(:last-child)::before {
		display: block;
		left: 0;
		right: 0;
	}

	.est-hrcard__media { flex: 0 0 auto; aspect-ratio: 16 / 10; }

	.est-hwcard:not(:last-child)::before {
		display: block;
		left: 0;
		right: 0;
	}
}

@media (max-width: 520px) {
	.est-hside { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.8em; }
	.est-hside__title { font-size: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
	.est-hubtabs__panel { transition: none; }
	.est-hlead__media img,
	.est-hside__media img { transition: none; }
}


/* ==========================================================================
   EST YouTube — son videolar (Youtube İçin Akışlar eklentisi)
   ========================================================================== */

.est-ytube {
	width: 100%;
	max-width: var(--est-container-wide);
	margin: 4.5em auto 0;
}

.est-ytube__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2em;
	margin: 0 0 2.1em;
	padding-bottom: 0.85em;
	border-bottom: 1px solid var(--est-line);
}

/* .est-games__all ile ayni gorunum */
.est-ytube__all {
	flex: 0 0 auto;
	padding-bottom: 0.25em;
	color: var(--est-accent);
	font-family: var(--est-font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.est-ytube__all:hover,
.est-ytube__all:focus-visible {
	color: var(--est-ink);
	text-decoration: none;
}

.est-ytube__head h2 {
	margin: 0;
	color: var(--est-ink);
	font-family: var(--est-font-heading);
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.1;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	.est-ytube { margin-top: 3.5em; }

	.est-ytube__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 1em;
		margin-bottom: 1.4em;
	}
}

@media (max-width: 520px) {
	.est-ytube__head h2 { font-size: 1.5rem; }
}

/* ==========================================================================
   Tamriel kronikleri — ana sayfa zaman çizelgesi
   ========================================================================== */

.est-chronicles {
    width: 100%;
    max-width: var(--est-container-wide);
    margin: 3.5em auto 0;
}

.est-chronicles__head {
    margin: 0 0 2.1em;
    padding-bottom: 0.85em;
    border-bottom: 1px solid var(--est-line);
}

.est-chronicles__head h2 {
    margin: 0;
    color: var(--est-ink);
    font-family: var(--est-font-heading);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.08;
    text-transform: uppercase;
}

.est-chronicles__head p {
    margin: 0.55em 0 0;
    color: var(--est-ink-muted);
    font-family: var(--est-font-body);
    font-size: 1rem;
    line-height: 1.5;
}

.est-chronicles__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85em;
}

.est-era-card {
    display: flex;
    flex-direction: column;
    min-height: 16.8rem;
    padding: 1.5em 1.35em 1.35em;
    background: var(--est-bg-raised);
    border: 1px solid var(--est-line);
    color: var(--est-ink);
    transition:
        border-color var(--est-fade),
        box-shadow var(--est-fade),
        transform var(--est-fade);
}

.est-era-card:hover {
    border-color: var(--est-accent);
    box-shadow: 0 5px 16px rgba(62, 53, 44, 0.12);
    transform: translateY(-3px);
}

.est-era-card__roman {
    display: block;
    color: var(--est-accent);
    font-family: var(--est-font-heading);
    font-size: clamp(2.2rem, 3vw, 3rem);
    line-height: 1;
}

.est-era-card h3 {
    margin: 1em 0 0.55em;
    color: var(--est-ink);
    font-family: var(--est-font-heading);
    font-size: clamp(0.95rem, 1.2vw, 1.18rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.22;
    text-transform: uppercase;
}

.est-era-card p {
    flex: 1 1 auto;
    margin: 0;
    color: var(--est-ink-muted);
    font-family: var(--est-font-body);
    font-size: 0.9rem;
    line-height: 1.55;
}

.est-era-card__cta {
    display: block;
    margin-top: 1.35em;
    color: var(--est-accent);
    font-family: var(--est-font-mono);
    font-size: 0.67rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .est-chronicles__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .est-era-card {
        min-height: 15rem;
    }
}

@media (max-width: 900px) {
    .est-chronicles {
        margin-top: 0;
    }

    .est-chronicles__head {
        margin-bottom: 1.4em;
    }

    .est-chronicles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7em;
    }

    .est-era-card {
        min-height: 14.5rem;
        padding: 1.2em 1.05em 1.1em;
    }
}

@media (max-width: 520px) {
    .est-chronicles__head h2 {
        font-size: 1.5rem;
        letter-spacing: 0.08em;
    }

    .est-chronicles__head p {
        font-size: 0.9rem;
    }

    .est-chronicles__grid {
        grid-template-columns: 1fr;
    }

    .est-era-card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .est-era-card {
        transition: none;
    }
}


.est-era-card:hover,
.est-era-card:focus-visible {
    text-decoration: none;
}

.est-era-card:hover *,
.est-era-card:focus-visible * {
    text-decoration: none;
}


/* 1. Çağ kartı: hover sırasında arka plan görseli */
.est-chronicles__grid > a.est-era-card:first-of-type {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.est-chronicles__grid > a.est-era-card:first-of-type::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(
            rgba(246, 242, 236, 0.90),
            rgba(237, 231, 222, 0.90)
        ),
        url("https://elderscrolls.com.tr/wp-content/uploads/2026/07/1pelinal.jpg");
    background-position: center;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--est-fade);
}

.est-chronicles__grid > a.est-era-card:first-of-type > * {
    position: relative;
    z-index: 1;
}

.est-chronicles__grid > a.est-era-card:first-of-type:hover::before,
.est-chronicles__grid > a.est-era-card:first-of-type:focus-visible::before {
    opacity: 1;
}


/* Çağ kartları: karta özel hover arka plan görselleri */
.est-chronicles__grid > .est-era-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.est-chronicles__grid > .est-era-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background-position: center;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--est-fade);
}

.est-chronicles__grid > .est-era-card:nth-child(1)::before {
    background-image:
        linear-gradient(rgba(246, 242, 236, 0.90), rgba(237, 231, 222, 0.90)),
        url("https://elderscrolls.com.tr/wp-content/uploads/2026/07/0auriel.jpg");
}

.est-chronicles__grid > .est-era-card:nth-child(2)::before {
    background-image:
        linear-gradient(rgba(246, 242, 236, 0.90), rgba(237, 231, 222, 0.90)),
        url("https://elderscrolls.com.tr/wp-content/uploads/2026/07/1pelinal.jpg");
}

.est-chronicles__grid > .est-era-card:nth-child(3)::before {
    background-image:
        linear-gradient(rgba(246, 242, 236, 0.90), rgba(237, 231, 222, 0.90)),
        url("https://elderscrolls.com.tr/wp-content/uploads/2026/07/2molagbal.jpg");
}

.est-chronicles__grid > .est-era-card:nth-child(4)::before {
    background-image:
        linear-gradient(rgba(246, 242, 236, 0.90), rgba(237, 231, 222, 0.90)),
        url("https://elderscrolls.com.tr/wp-content/uploads/2026/07/3tiberseptim.jpg");
}

.est-chronicles__grid > .est-era-card:nth-child(5)::before {
    background-image:
        linear-gradient(rgba(246, 242, 236, 0.90), rgba(237, 231, 222, 0.90)),
        url("https://elderscrolls.com.tr/wp-content/uploads/2026/07/4dovahkiin.jpg");
}

.est-chronicles__grid > .est-era-card > * {
    position: relative;
    z-index: 1;
}

.est-chronicles__grid > .est-era-card:hover::before,
.est-chronicles__grid > .est-era-card:focus-visible::before {
    opacity: 1;
}


/* Oyun hikâyeleri */
.est-games {
    width: 100%;
    max-width: var(--est-container-wide);
    margin: 4.5em auto 0;
}

.est-games__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--est-line);
}

.est-games__head h2 {
    margin: 0;
    color: var(--est-ink);
    font-family: var(--est-font-heading);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.est-games__head p {
    margin: 0.55em 0 0;
    color: var(--est-ink-muted);
    font-family: var(--est-font-body);
    font-size: 1rem;
}

.est-games__all {
    flex: 0 0 auto;
    padding-bottom: 0.25em;
    color: var(--est-accent);
    font-family: var(--est-font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.est-games__all:hover,
.est-games__all:focus-visible {
    color: var(--est-ink);
    text-decoration: none;
}

.est-games__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1em;
    margin-top: 1.6em;
}

.est-game-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--est-line);
    background: var(--est-bg-raised, #F6F2EC);
    color: var(--est-ink);
    text-decoration: none;
    transition:
        border-color var(--est-fade),
        box-shadow var(--est-fade),
        transform var(--est-fade);
}

.est-game-card:hover,
.est-game-card:focus-visible {
    border-color: var(--est-accent);
    box-shadow: 0 5px 16px rgba(62, 53, 44, 0.12);
    color: var(--est-ink);
    text-decoration: none;
    transform: translateY(-3px);
}

.est-game-card__visual {
    position: relative;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: var(--est-bg-sunken, #EDE7DE);
}

.est-game-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--est-fade);
}

.est-game-card:hover .est-game-card__visual img,
.est-game-card:focus-visible .est-game-card__visual img {
    transform: scale(1.04);
}

.est-game-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.2em;
    background: linear-gradient(to top, rgba(30, 27, 25, 0.92), rgba(30, 27, 25, 0.08) 72%);
}

.est-game-card__overlay span {
    color: #F6F2EC;
    font-family: var(--est-font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    line-height: 1.45;
    text-transform: uppercase;
}

.est-game-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.15em 1.2em 1.2em;
}

.est-game-card__body h3 {
    margin: 0;
    color: var(--est-ink);
    font-family: var(--est-font-heading);
    font-size: 1.05rem;
    line-height: 1.25;
}

.est-game-card__body p {
    margin: 0.65em 0 0;
    color: var(--est-ink-muted);
    font-family: var(--est-font-body);
    font-size: 0.84rem;
    line-height: 1.5;
}

.est-game-card__cta {
    display: block;
    margin-top: auto;
    padding-top: 1.3em;
    color: var(--est-accent);
    font-family: var(--est-font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .est-games__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .est-games {
        margin-top: 3.5em;
    }

    .est-games__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 1em;
    }

    .est-games__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7em;
    }
}

@media (max-width: 520px) {
    .est-games__head h2 {
        font-size: 1.5rem;
    }

    .est-games__grid {
        grid-template-columns: 1fr;
    }
}


/* Ortak bölüm başlığı stili */
#est-chronicles-title,
#est-games-title {
    margin: 0;
    color: var(--est-ink);
    font-family: var(--est-font-heading);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Oyun kartı görselleri hover sırasında sabit kalır */
.est-game-card__visual img,
.est-game-card:hover .est-game-card__visual img,
.est-game-card:focus-visible .est-game-card__visual img {
    transform: none;
    transition: none;
}

/* Öne çıkan görsel üzerindeki seri ve oyun adı */
.est-game-card__overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.12em;
    padding: 1.2em;
}

.est-game-card__overlay .est-game-card__series {
    color: var(--est-bg-sunken);
    font-family: var(--est-font-mono);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.est-game-card__overlay .est-game-card__name {
    color: var(--est-bg-sunken);
    font-family: var(--est-font-heading);
    font-size: clamp(1.35rem, 2.1vw, 1.9rem);
    font-weight: 500;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 520px) {
    .est-game-card__overlay .est-game-card__name {
        font-size: 1.55rem;
    }
}

/* ==========================================================================
   Turkce Yamalar — ana sayfa (Oyunlar bolumuyle ayni kart tasarimi)
   ========================================================================== */

#est-patches-title {
    margin: 0;
    color: var(--est-ink);
    font-family: var(--est-font-heading);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.est-patches__grid {
    grid-template-columns: repeat(var(--est-patch-cols, 7), minmax(0, 1fr));
}

.est-patch-card .est-game-card__visual {
    aspect-ratio: 2 / 3;
}

.est-patch-card .est-game-card__body h3 {
    font-size: 1rem;
}

@media (max-width: 1400px) {
    .est-patches__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .est-patches__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .est-patches__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7em;
    }

    .est-patch-card .est-game-card__body {
        padding: 0.9em 0.85em 0.95em;
    }

    .est-patch-card .est-game-card__body h3 {
        font-size: 0.9rem;
    }

    .est-patch-card .est-game-card__body p {
        font-size: 0.78rem;
    }

    .est-patch-card .est-game-card__cta {
        padding-top: 0.9em;
        font-size: 0.58rem;
    }
}
