/* ==========================================================================
   Turkey Holiday Diary - main.css
   Renk/font/boyut degiskenleri <head>'deki #thdt-vars'tan gelir (Tema Ayarlari).
   Burada sadece onlardan turetilen degiskenler tanimlanir.
   ========================================================================== */

:root {
	--thd-muted: color-mix(in srgb, var(--thd-text) 66%, var(--thd-bg));
	--thd-border: color-mix(in srgb, var(--thd-text) 12%, var(--thd-bg));
	--thd-primary-soft: color-mix(in srgb, var(--thd-primary) 9%, var(--thd-bg));
	--thd-primary-dark: color-mix(in srgb, var(--thd-primary) 80%, #000);
	--thd-accent-soft: color-mix(in srgb, var(--thd-accent) 10%, var(--thd-bg));
	--thd-shadow: 0 1px 2px rgb(15 37 43 / .06), 0 12px 32px rgb(15 37 43 / .09);
	--thd-shadow-sm: 0 1px 2px rgb(15 37 43 / .06), 0 4px 14px rgb(15 37 43 / .06);
	--thd-narrow: 760px;
	--thd-wide: 1100px;
	--thd-gutter: 20px;
	--thd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--thd-bg);
	color: var(--thd-text);
	font-family: var(--thd-font-body);
	font-size: var(--thd-fs-m);
	line-height: var(--thd-lh);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: var(--thd-fs); } }
body.thd-menu-open { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }
a { color: var(--thd-primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--thd-primary-dark); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--thd-primary) 55%, transparent); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--thd-border); margin: 2.5em 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--thd-font-heading);
	font-weight: var(--thd-heading-weight);
	color: var(--thd-heading);
	line-height: 1.18;
	letter-spacing: -.012em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
p { margin: 0 0 1.2em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--thd-bg); color: var(--thd-primary);
	border-radius: 8px; box-shadow: var(--thd-shadow); white-space: normal;
}

.thd-container { width: 100%; max-width: calc(var(--thd-container) + var(--thd-gutter) * 2); margin-inline: auto; padding-inline: var(--thd-gutter); }
.thd-narrow { max-width: calc(var(--thd-narrow) + var(--thd-gutter) * 2); }
.thd-wide { max-width: calc(var(--thd-wide) + var(--thd-gutter) * 2); }
@media (min-width: 768px) { :root { --thd-gutter: 28px; } }

.thd-icon { flex: none; vertical-align: middle; }

/* ---------- Dugme, etiket, baglanti ---------- */
.btn, .comment-form .submit {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .8em 1.35em; border: 0; border-radius: 999px;
	background: var(--thd-primary); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.2;
	text-decoration: none; transition: background .2s, transform .2s var(--thd-ease);
}
.btn:hover, .comment-form .submit:hover { background: var(--thd-primary-dark); color: #fff; transform: translateY(-1px); }

.chip {
	display: inline-block; padding: .3em .75em; border-radius: 999px;
	background: var(--thd-accent-soft); color: var(--thd-accent);
	font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
	text-decoration: none;
}
a.chip:hover { background: var(--thd-accent); color: #fff; }
.chip-list { list-style: none; padding: 0; margin: 1em 0 0; display: flex; flex-wrap: wrap; gap: .5em; }

.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; font-size: .95rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .thd-icon { transition: transform .2s var(--thd-ease); }
.text-link:hover .thd-icon { transform: translateX(3px); }

.eyebrow { margin: 0 0 .5em; color: var(--thd-accent); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Duyuru cubugu ---------- */
.topbar { background: var(--thd-primary); color: #fff; font-size: .88rem; text-align: center; }
.topbar .thd-container { padding-block: .55em; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Ust bilgi ---------- */
.site-header { position: relative; z-index: 50; background: var(--thd-bg); border-bottom: 1px solid var(--thd-border); }
.site-header.is-sticky { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(15 37 43 / .08); border-bottom-color: transparent; }

.header-bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.site-branding { flex: 1 1 auto; min-width: 0; }
.site-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--thd-heading); }
.site-logo__img { display: block; width: var(--thd-logo-w-m); height: auto; }
.site-logo__text { font-family: var(--thd-font-heading); font-weight: var(--thd-heading-weight); font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.1; }
@media (min-width: 1024px) { .site-logo__img { width: var(--thd-logo-w); } .site-logo__text { font-size: 1.6rem; } }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 999px; background: transparent; color: var(--thd-heading);
	transition: background .2s;
}
.icon-btn:hover { background: var(--thd-primary-soft); color: var(--thd-primary); }
.menu-toggle span { line-height: 0; }
.menu-toggle .menu-toggle__open { display: block; }
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* Menu - mobil (acilir panel) */
.main-nav { display: none; }
.main-nav.is-open {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	max-height: calc(100dvh - 64px); overflow-y: auto;
	background: var(--thd-bg); border-top: 1px solid var(--thd-border); box-shadow: 0 20px 40px rgb(15 37 43 / .12);
	padding: 8px var(--thd-gutter) 24px;
}
.main-menu, .main-menu ul { list-style: none; margin: 0; padding: 0; }
.main-menu a {
	display: block; padding: 14px 4px; border-bottom: 1px solid var(--thd-border);
	color: var(--thd-heading); text-decoration: none;
	font-family: var(--thd-nav-font, var(--thd-font-body)); font-weight: var(--thd-nav-fw, 600); font-size: calc(var(--thd-nav-fs, 13px) + 3px);
}
.main-menu .sub-menu a { padding-left: 20px; }
.main-menu .current-menu-item > a, .main-menu .current-menu-ancestor > a, .main-menu .current-post-ancestor > a { color: var(--thd-primary); }
.thd-nav-upper .main-menu a { text-transform: uppercase; letter-spacing: .05em; }

/* Menu - masaustu */
@media (min-width: 1024px) {
	.menu-toggle { display: none; }
	.main-nav, .main-nav.is-open { display: block; position: static; max-height: none; overflow: visible; box-shadow: none; border: 0; padding: 0; background: none; }
	.main-menu { display: flex; align-items: center; gap: 2px; }
	.main-menu > li { position: relative; }
	.main-menu a { border: 0; padding: 10px var(--thd-nav-px, 12px); font-size: var(--thd-nav-fs, 13px); border-radius: 8px; white-space: nowrap; }
	.main-menu a, .thd-nav-upper .main-menu a { letter-spacing: var(--thd-nav-ls, -0.1px); }
	.main-menu > li > a:hover { color: var(--thd-primary); background: var(--thd-primary-soft); }
	.main-menu .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
		background: var(--thd-bg); border-radius: 12px; box-shadow: var(--thd-shadow);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--thd-ease);
	}
	.main-menu li:hover > .sub-menu, .main-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	/* Sagdaki son ogelerin alt menusu ekrandan tasip yatay kaydirma yaratmasin */
	.main-menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
	.site-header { overflow-x: clip; }
	.main-menu .sub-menu a { padding: 9px 12px; }
	.main-menu .sub-menu a:hover { background: var(--thd-primary-soft); }

	/* Tek satir duzen */
	.thd-header-inline .header-bar { min-height: 76px; gap: 24px; }
	.thd-header-inline .site-branding { flex: 0 0 auto; }
	.thd-header-inline .main-nav { flex: 1 1 auto; min-width: 0; }
	.thd-header-inline .main-menu { justify-content: flex-end; flex-wrap: wrap; }
	.thd-header-inline .header-actions { margin-left: 0; }
	.thd-header-inline .site-logo__img { width: min(var(--thd-logo-w), 200px); }

	/* Iki satir duzen: logo + eylemler ustte, menu altta */
	.thd-header-stacked .header-bar {
		display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav";
		column-gap: 16px; row-gap: 0; min-height: 0; padding-top: 14px;
	}
	.thd-header-stacked .site-branding { grid-area: brand; padding-bottom: 10px; }
	.thd-header-stacked .header-actions { grid-area: actions; padding-bottom: 10px; }
	.thd-header-stacked .main-nav { grid-area: nav; border-top: 1px solid var(--thd-border); margin-inline: calc(var(--thd-gutter) * -1); padding-inline: var(--thd-gutter); }
	.thd-header-stacked .main-menu { padding-block: 6px; margin-left: calc(var(--thd-nav-px, 12px) * -1); flex-wrap: wrap; }

	/* Alt menusu olan ogeye ok isareti */
	.main-menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 8px; }
	.main-menu .menu-item-has-children > a::after {
		content: ""; width: 6px; height: 6px; margin-top: -3px; opacity: .55;
		border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
	}
	.main-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-top: 0; }
}
/* Dar masaustu: tek satir menu sigsin */
@media (min-width: 1024px) and (max-width: 1239px) {
	.thd-header-inline .header-bar { gap: 14px; }
	.thd-header-inline .main-menu a { padding: 8px min(var(--thd-nav-px, 12px), 8px); }
	.thd-header-inline .main-menu a { font-size: calc(var(--thd-nav-fs, 13px) - 1px); }
	.thd-header-inline .site-logo__img { width: min(var(--thd-logo-w), 160px); }
}

/* Ust bilgi arama paneli */
.header-search { border-top: 1px solid var(--thd-border); background: var(--thd-bg); padding-block: 16px; }
.header-search[hidden] { display: none; }

/* ---------- Arama formu ---------- */
.search-form {
	position: relative; display: flex; align-items: center; width: 100%; max-width: 640px;
	background: var(--thd-bg); border: 1px solid var(--thd-border); border-radius: 999px;
	padding: 5px 5px 5px 46px; box-shadow: var(--thd-shadow-sm);
}
.search-form:focus-within { border-color: var(--thd-primary); }
.search-form__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--thd-muted); line-height: 0; }
.search-form__input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 10px 6px; font-size: 1rem; outline: none; color: var(--thd-text); }
.search-form__input::placeholder { color: var(--thd-muted); opacity: 1; }
/* Koyu zeminli alanlarda (ana sayfa girisi vb.) kutu her zaman acik renk, yazi koyu kalsin */
.search-form { color: var(--thd-text); }
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form__submit { flex: none; border: 0; border-radius: 999px; background: var(--thd-primary); color: #fff; font-weight: 600; font-size: .92rem; padding: 10px 20px; }
.search-form__submit:hover { background: var(--thd-primary-dark); }

/* ---------- Ana sayfa giris (hero) ---------- */
.home-hero {
	position: relative; isolation: isolate; display: flex; align-items: flex-end;
	min-height: 300px; padding-block: 56px 48px; color: #fff; overflow: hidden;
	background: linear-gradient(135deg, var(--thd-primary-dark), var(--thd-primary) 60%, color-mix(in srgb, var(--thd-primary) 70%, var(--thd-accent)));
}
.home-hero.has-image { min-height: clamp(440px, 64vh, 640px); background: #0d2226; }
.home-hero__media { position: absolute; inset: 0; z-index: -2; }
.home-hero__img { width: 100%; height: 100%; object-fit: cover; }
.home-hero.has-image::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--thd-hero-mask, linear-gradient(to top, rgb(6 22 26 / .82) 0%, rgb(6 22 26 / .45) 45%, rgb(6 22 26 / .15) 100%));
}
.home-hero__inner { position: relative; }
.home-hero__title { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.6vw, calc(var(--thd-h1) + 10px)); max-width: 15ch; margin-bottom: .35em; }
.home-hero__text { max-width: 56ch; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: rgb(255 255 255 / .9); margin-bottom: 1.6em; }
.home-hero__search .search-form { border-color: transparent; box-shadow: 0 10px 40px rgb(0 0 0 / .25); }

/* ---------- Bolumler ---------- */
.home-section { padding-block: 48px; }
.home-section + .home-section { padding-top: 8px; }
@media (min-width: 768px) { .home-section { padding-block: 64px; } .home-section + .home-section { padding-top: 16px; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.2rem); margin: 0; }
.section-title::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .45em; border-radius: 3px; background: var(--thd-accent); }

/* ---------- Kartlar ---------- */
.post-grid { display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
	.post-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
}

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media {
	position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden;
	border-radius: var(--thd-radius); background: var(--thd-surface);
}
.card__media img, .card__media .thd-noimg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--thd-ease); }
.card:hover .card__media img { transform: scale(1.04); }
.thd-noimg { display: grid; place-items: center; color: color-mix(in srgb, var(--thd-primary) 45%, var(--thd-surface)); background: var(--thd-surface); }
.card__play {
	position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--thd-primary);
}
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 14px; }
.card__title { font-size: 1.2rem; line-height: 1.28; margin: 0; }
.card__title a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--thd-ease); }
.card__title a:hover { color: var(--thd-primary); background-size: 100% 1px; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .chip { position: relative; z-index: 2; }
.card__excerpt { margin: 0; color: var(--thd-muted); font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--thd-muted); font-size: .82rem; }

/* Buyuk karti: gorselin ustunde baslik */
.card--overlay .card__media { aspect-ratio: 4 / 3; }
.card--overlay .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(6 22 26 / .88), rgb(6 22 26 / .1) 65%); }
.card--overlay .card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; z-index: 1; pointer-events: none; }
.card--overlay .card__body a { pointer-events: auto; }
.card--overlay .card__title { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.card--overlay .card__title a:hover { color: #fff; }
.card--overlay .card__excerpt { color: rgb(255 255 255 / .85); -webkit-line-clamp: 2; }
.card--overlay .card__meta { color: rgb(255 255 255 / .8); }
.card--overlay .chip { background: var(--thd-accent); color: #fff; }

.featured-grid { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.featured-grid { grid-template-columns: repeat(2, 1fr); }
	.featured-grid .card--overlay { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.featured-grid { grid-template-columns: 2fr 1fr 1fr; }
	.featured-grid .card--overlay { grid-column: 1; grid-row: span 2; }
	.featured-grid .card--overlay .card__media { aspect-ratio: auto; height: 100%; min-height: 460px; }
	.featured-grid .card:not(.card--overlay) .card__title { font-size: 1.08rem; }
	.featured-grid.count-2 { grid-template-columns: 2fr 1fr; }
	.featured-grid.count-1 .card--overlay { grid-column: 1 / -1; }
	.featured-grid.count-3 { grid-template-columns: 2fr 1fr; }

	/* 4 yazi: solda buyuk kart, sagda gorseli yanda 3 kart */
	.featured-grid.count-4 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px 28px; }
	.featured-grid.count-4 .card--overlay { grid-row: span 3; }
	.featured-grid.count-4 .card:not(.card--overlay) { flex-direction: row; align-items: center; gap: 18px; }
	.featured-grid.count-4 .card:not(.card--overlay) .card__media { flex: 0 0 42%; aspect-ratio: 4 / 3; }
	.featured-grid.count-4 .card:not(.card--overlay) .card__body { padding-top: 0; gap: 6px; }
	.featured-grid.count-4 .card:not(.card--overlay) .card__title { font-size: 1.05rem; }
}

/* ---------- Destinasyonlar ---------- */
.dest-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .dest-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(4, 1fr); } }
.dest-tile {
	position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate;
	border-radius: var(--thd-radius); color: #fff; text-decoration: none; background: var(--thd-primary);
}
@media (min-width: 768px) { .dest-tile { aspect-ratio: 4 / 4.4; } }
.dest-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--thd-ease); }
.dest-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(6 22 26 / .8), rgb(6 22 26 / 0) 60%); }
.dest-tile:hover { color: #fff; }
.dest-tile:hover .dest-tile__img { transform: scale(1.06); }
.dest-tile__body { display: flex; flex-direction: column; padding: 16px; }
.dest-tile__name { font-family: var(--thd-font-heading); font-weight: var(--thd-heading-weight); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.2; }
.dest-tile__count { font-size: .82rem; opacity: .85; }

/* ---------- Hakkimizda ---------- */
.about-wrap { display: grid; gap: 28px; align-items: center; background: var(--thd-surface); border-radius: calc(var(--thd-radius) * 1.4); padding: 28px; }
@media (min-width: 768px) { .about-wrap { padding: 48px; } .about-wrap.has-image { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; } }
.about-wrap__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--thd-radius); display: block; }
.about-wrap__text { margin: 1em 0 1.4em; color: var(--thd-text); }
.about-wrap__text p:last-child { margin-bottom: 0; }

/* ---------- Arsiv / kategori ---------- */
.archive-header { background: var(--thd-surface); padding-block: 20px 22px; margin-bottom: 32px; }
@media (min-width: 768px) { .archive-header { padding-block: 26px 28px; margin-bottom: 40px; } }
.archive-header .thd-breadcrumbs { margin-bottom: 8px; }
.archive-headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.archive-title { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); margin: 0; }
.archive-page { color: var(--thd-muted); font-size: .5em; font-weight: 400; white-space: nowrap; }
.archive-desc { max-width: none; color: var(--thd-text); margin-top: 10px; font-size: .95rem; }
.archive-desc p { margin: 0 0 .5em; }
.archive-desc p:last-child { margin-bottom: 0; }
.archive-count { color: var(--thd-muted); font-size: .9rem; white-space: nowrap; }
.archive-search { margin-top: 16px; }
.archive-header.is-404 { padding-block: 40px; }
.archive-body { padding-bottom: 64px; }
.archive-about { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--thd-border); }
.archive-about .section-title { margin-bottom: 22px; }
.archive-about__intro, .archive-about__prose { max-width: none; }
.archive-about__intro { margin-bottom: 28px; }
.archive-about__prose h3 { font-size: 1.25rem; }
.about-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--thd-surface); border-radius: var(--thd-radius); transition: box-shadow .25s, transform .25s var(--thd-ease); }
.about-card.has-link:hover { box-shadow: var(--thd-shadow); transform: translateY(-2px); }
.about-card__media { display: block; overflow: hidden; }
.about-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; transition: transform .5s var(--thd-ease); }
.about-card.has-link:hover .about-card__media img { transform: scale(1.04); }
.about-card__body { padding: 16px 18px 20px; }
.about-card__title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }
.about-card__title a { color: inherit; text-decoration: none; }
.about-card__title a::after { content: ""; position: absolute; inset: 0; }
.about-card.has-link:hover .about-card__title a { color: var(--thd-primary); }
.about-card__text { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--thd-muted); }

/* Uzun bolumleri katla ("Read more") */
.thd-collapse.is-collapsed { position: relative; max-height: 760px; overflow: hidden; }
.thd-collapse.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, color-mix(in srgb, var(--thd-bg) 0%, transparent), var(--thd-bg)); pointer-events: none; }
.thd-collapse__btn { margin-top: 18px; }
.btn--ghost { background: transparent; color: var(--thd-primary); box-shadow: inset 0 0 0 1.5px var(--thd-primary); }
.btn--ghost:hover { background: var(--thd-primary); color: #fff; }
.no-results { padding-block: 12px 32px; color: var(--thd-muted); }

.thd-pagination { margin-top: 48px; }
.thd-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.thd-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 999px; border: 1px solid var(--thd-border); color: var(--thd-heading); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.thd-pagination a.page-numbers:hover { border-color: var(--thd-primary); color: var(--thd-primary); }
.thd-pagination .page-numbers.current { background: var(--thd-primary); border-color: var(--thd-primary); color: #fff; }
.thd-pagination .page-numbers.dots { border-color: transparent; }

/* ---------- Breadcrumb ---------- */
.thd-breadcrumbs { font-size: .85rem; color: var(--thd-muted); margin-bottom: 16px; }
.thd-breadcrumbs a { color: var(--thd-muted); text-decoration: none; }
.thd-breadcrumbs a:hover { color: var(--thd-primary); text-decoration: underline; }
.thd-breadcrumbs .breadcrumb_last, .thd-breadcrumbs [aria-current] { color: var(--thd-text); }
.thd-breadcrumbs .sep { margin-inline: .35em; opacity: .6; }

/* ---------- Yazi ---------- */
.entry-header { padding-top: 14px; padding-bottom: 4px; }
@media (min-width: 768px) { .entry-header { padding-top: 20px; } }
.entry-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; }
.entry-topline .thd-breadcrumbs { margin: 0; font-size: .8rem; }
.entry-header .thd-breadcrumbs { font-size: .8rem; margin-bottom: 8px; }
.entry-topline .chip { font-size: .66rem; padding: .25em .7em; }
.entry-title { font-size: clamp(1.6rem, 1.15rem + 1.9vw, var(--thd-h1)); margin-bottom: .3em; line-height: 1.18; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--thd-muted); font-size: .82rem; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-author { color: var(--thd-text); font-weight: 600; }
.meta-author img { width: 24px; height: 24px; border-radius: 999px; }

.entry-hero { margin-top: 16px; margin-bottom: 8px; }
.entry-hero__img, .entry-hero img { display: block; width: 100%; border-radius: var(--thd-radius); max-height: 640px; object-fit: cover; }
.entry-hero figcaption { margin-top: 10px; font-size: .85rem; color: var(--thd-muted); text-align: center; }
@media (max-width: 639px) { .entry-hero { padding-inline: 0; } .entry-hero__img, .entry-hero img, .entry-hero .thd-video { border-radius: 0; } }

.entry-layout { display: grid; gap: 48px; padding-top: 24px; max-width: calc(var(--thd-narrow) + var(--thd-gutter) * 2); }
.entry-layout.has-sidebar, .entry-layout.is-full { max-width: calc(var(--thd-container) + var(--thd-gutter) * 2); }
@media (min-width: 1024px) {
	.entry-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
	.entry-sidebar { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 130px); align-self: start; }
}
.entry-main { min-width: 0; }

/* Icerik tipografisi */
.entry-content { font-size: 1em; }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 1.9em 0 .6em; }
.entry-content h3 { font-size: clamp(1.25rem, 1.12rem + .55vw, 1.5rem); margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 1.12rem; margin: 1.4em 0 .5em; }
.entry-content h2, .entry-content h3, .entry-content h4 { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 130px); }
.entry-content a { font-weight: 500; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.entry-content ol { padding-left: 2em; } /* iki haneli numaralar icin yer */
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--thd-primary); }
.entry-content strong { color: var(--thd-heading); }
.entry-content blockquote {
	margin: 1.8em 0; padding: 1.1em 1.4em; border-left: 4px solid var(--thd-accent);
	background: var(--thd-surface); border-radius: 0 var(--thd-radius) var(--thd-radius) 0;
	font-family: var(--thd-font-heading); font-size: 1.12em; color: var(--thd-heading);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { border-radius: calc(var(--thd-radius) * .7); }
.entry-content figure, .entry-content .wp-caption { margin: 1.8em 0; max-width: 100%; }
.entry-content figure img, .entry-content .wp-caption img { display: block; margin-inline: auto; }
.entry-content figcaption, .entry-content .wp-caption-text { margin-top: .6em; font-size: .85rem; color: var(--thd-muted); text-align: center; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content .alignleft, .entry-content .alignright { max-width: 50%; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
@media (max-width: 639px) { .entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 1.4em 0; } }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="vimeo"], .entry-content .wp-embed-aspect-16-9 iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: calc(var(--thd-radius) * .7); }
.entry-content pre, .entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.entry-content pre { background: var(--thd-surface); padding: 1em; border-radius: 10px; overflow-x: auto; }

/* Tablolar */
.thd-table-wrap { margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--thd-border); border-radius: var(--thd-radius); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .92em; min-width: 520px; }
.entry-content th, .entry-content td { padding: .75em 1em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--thd-border); }
.entry-content thead th, .entry-content tr:first-child th { background: var(--thd-surface); color: var(--thd-heading); font-weight: 700; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--thd-surface) 45%, var(--thd-bg)); }

/* Galeri ([gallery] kisa kodu) */
.entry-content .gallery { display: grid; gap: 10px; margin: 1.8em 0; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
	.entry-content .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
	.entry-content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
	.entry-content .gallery-columns-5, .entry-content .gallery-columns-6 { grid-template-columns: repeat(5, 1fr); }
}
.entry-content .gallery-columns-1 { grid-template-columns: 1fr; }
.entry-content .gallery-item { margin: 0; }
.entry-content .gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.entry-content .gallery-caption { font-size: .78rem; }

/* Icindekiler */
.thd-toc { margin: 2em 0; border: 1px solid var(--thd-border); border-radius: var(--thd-radius); background: color-mix(in srgb, var(--thd-surface) 55%, var(--thd-bg)); }
.thd-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--thd-heading); }
.thd-toc summary::-webkit-details-marker { display: none; }
.thd-toc__title { display: inline-flex; align-items: center; gap: 8px; }
.thd-toc__title .thd-icon { color: var(--thd-primary); }
.thd-toc__toggle { line-height: 0; transition: transform .2s; }
.thd-toc details[open] .thd-toc__toggle { transform: rotate(180deg); }
/* .entry-content ol kuralini ezmek icin ayni ozgulluk + sonra gelme: numaralar ("10.") kutudan tasmasin */
.thd-toc .thd-toc__list, .entry-content .thd-toc .thd-toc__list { margin: 0; padding: 0 20px 18px 3.2em; font-size: .95rem; }
.thd-toc .thd-toc__list ol, .entry-content .thd-toc .thd-toc__list ol { padding-left: 1.5em; margin: .35em 0 .2em; list-style: lower-alpha; }
.thd-toc__list li { margin-bottom: .35em; padding-left: .15em; }
.thd-toc__list li::marker { font-variant-numeric: tabular-nums; }
.thd-toc__list a { color: var(--thd-text); text-decoration: none; font-weight: 500; }
.thd-toc__list a:hover { color: var(--thd-primary); text-decoration: underline; }

/* Video (tiklayinca yuklenen YouTube) */
.thd-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--thd-radius); background: #000; }
.thd-video img, .thd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; max-height: none; border-radius: 0; }
.thd-video__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: grid; place-items: center; width: 76px; height: 76px; border: 0; border-radius: 999px;
	background: rgb(255 255 255 / .94); color: var(--thd-primary); box-shadow: 0 10px 30px rgb(0 0 0 / .3);
	transition: transform .2s var(--thd-ease);
}
.thd-video__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.thd-video__play .thd-icon { margin-left: 4px; }

/* Yazi alti */
.entry-footer { margin-top: 40px; display: grid; gap: 32px; }
.thd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 20px; border-block: 1px solid var(--thd-border); }
.thd-share__label { font-weight: 700; color: var(--thd-heading); font-size: .95rem; }
.thd-share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thd-share__btn {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
	border: 1px solid var(--thd-border); background: var(--thd-bg); color: var(--thd-heading); text-decoration: none; padding: 0;
	transition: .2s;
}
.thd-share__btn:hover { background: var(--thd-primary); border-color: var(--thd-primary); color: #fff; }
.thd-share__btn .thd-icon--check { display: none; }
.thd-share__btn.is-copied { background: var(--thd-primary); color: #fff; }
.thd-share__btn.is-copied .thd-icon--link { display: none; }
.thd-share__btn.is-copied .thd-icon--check { display: block; }

/* Yakindaki gezi noktalari */
.thd-nearby { padding: 22px; border-radius: var(--thd-radius); background: var(--thd-surface); }
.thd-nearby__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.thd-nearby__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.3rem; }
.thd-nearby__title .thd-icon { color: var(--thd-accent); flex: none; }
.thd-nearby__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 600px) { .thd-nearby__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.thd-nearby__item a {
	display: flex; align-items: center; gap: 12px; height: 100%; padding: 8px; border-radius: calc(var(--thd-radius) - 2px);
	background: var(--thd-bg); color: inherit; text-decoration: none; box-shadow: var(--thd-shadow-sm); transition: transform .2s var(--thd-ease), box-shadow .2s;
}
.thd-nearby__item a:hover { transform: translateY(-2px); box-shadow: var(--thd-shadow); }
.thd-nearby__img { flex: none; width: 72px; height: 72px; border-radius: calc(var(--thd-radius) - 4px); overflow: hidden; }
.thd-nearby__img img, .thd-nearby__img .thd-noimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.thd-nearby__body { display: grid; gap: 3px; min-width: 0; }
.thd-nearby__name { font-family: var(--thd-font-heading); font-weight: var(--thd-heading-weight); color: var(--thd-heading); font-size: 1rem; line-height: 1.25; }
.thd-nearby__item a:hover .thd-nearby__name { color: var(--thd-primary); }
.thd-nearby__meta { font-size: .8rem; color: var(--thd-muted); line-height: 1.35; }
.thd-nearby__note { margin: 12px 0 0; font-size: .78rem; color: var(--thd-muted); }
.thd-nearby__more { margin-top: 16px; }
.thd-nearby__list + .thd-nearby__more { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--thd-text) 10%, var(--thd-surface)); }
.thd-nearby__subtitle { margin: 0 0 10px; font-size: .95rem; font-family: var(--thd-font-body); font-weight: 700; color: var(--thd-heading); }
.thd-nearby__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thd-nearby__chips a, .thd-nearby__chips li > span {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--thd-bg);
	color: var(--thd-heading); text-decoration: none; font-size: .86rem; line-height: 1.25; box-shadow: var(--thd-shadow-sm); transition: color .15s, box-shadow .15s;
}
.thd-nearby__chips a:hover { color: var(--thd-primary); box-shadow: var(--thd-shadow); }
.thd-nearby__chips .thd-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #475569); }
.thd-nearby__chip-name { font-weight: 600; }
.thd-nearby__chip-meta { color: var(--thd-muted); font-size: .78rem; }

.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--thd-radius); background: var(--thd-surface); }
.author-box__avatar img { width: 72px; height: 72px; border-radius: 999px; display: block; }
.author-box__body { min-width: 0; }
.author-box__eyebrow { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--thd-accent); }
.author-box__name { margin: .1em 0 .4em; font-family: var(--thd-font-heading); font-weight: var(--thd-heading-weight); font-size: 1.3rem; color: var(--thd-heading); }
.author-box__bio { font-size: .95rem; color: var(--thd-text); }
.author-box__bio p { margin-bottom: .6em; }

.post-nav { display: grid; gap: 12px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__link { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--thd-border); border-radius: var(--thd-radius); text-decoration: none; transition: border-color .2s; }
.post-nav__link:hover { border-color: var(--thd-primary); }
.post-nav__link.is-next { text-align: right; align-items: flex-end; }
@media (min-width: 640px) { .post-nav__link.is-next { grid-column: 2; } }
.post-nav__dir { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--thd-muted); }
.post-nav__title { font-family: var(--thd-font-heading); font-weight: var(--thd-heading-weight); color: var(--thd-heading); line-height: 1.3; }

.page-links { margin-top: 2em; display: flex; gap: 8px; align-items: center; font-weight: 600; }

.related { margin-top: 64px; padding-block: 56px; background: var(--thd-surface); }

/* ---------- Yorumlar ---------- */
.comments-wrap { padding-block: 56px; }
.comments-title, .comment-reply-title { font-size: 1.5rem; margin-bottom: 1em; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; margin: 0; padding-left: 20px; border-left: 2px solid var(--thd-border); }
@media (min-width: 640px) { .comment-list .children { padding-left: 32px; } }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--thd-border); font-size: .95rem; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--thd-heading); }
.comment-author .avatar { border-radius: 999px; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; margin: 2px 0 10px 54px; }
.comment-metadata a { color: var(--thd-muted); text-decoration: none; }
.comment-content { margin-left: 54px; }
.comment-content p:last-child { margin-bottom: .4em; }
.reply { margin-left: 54px; font-size: .85rem; font-weight: 600; }
.comment-reply-link { text-decoration: none; }
.comment-respond { padding: 24px; border-radius: var(--thd-radius); background: var(--thd-surface); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--thd-border); border-radius: 10px; background: var(--thd-bg);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--thd-primary); box-shadow: 0 0 0 3px var(--thd-primary-soft); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }
.comment-notes, .logged-in-as { font-size: .85rem; color: var(--thd-muted); }

/* ---------- Kenar cubugu bilesenleri ---------- */
.widget { margin-bottom: 32px; font-size: .95rem; }
.widget-title { font-size: 1.1rem; margin-bottom: .8em; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--thd-border); }
.widget li a { text-decoration: none; color: var(--thd-text); }
.widget li a:hover { color: var(--thd-primary); }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--thd-footer-bg); color: var(--thd-footer-text); font-size: .95rem; margin-top: 0; }
.site-main + .site-footer { margin-top: 0; }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-block: 72px 48px; } }
.footer-brand { font-family: var(--thd-font-heading); font-weight: var(--thd-heading-weight); font-size: 1.45rem; color: #fff; margin: 0 0 .5em; }
.footer-text { max-width: 44ch; opacity: .9; }
.footer-title { font-family: var(--thd-font-body); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.1em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--thd-footer-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social-links { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: rgb(255 255 255 / .08); color: #fff; }
.social-links a:hover { background: var(--thd-accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.footer-bottom .thd-container { padding-block: 20px; }
.footer-bottom p { margin: 0; opacity: .8; }
.site-main { min-height: 50vh; }
.home .home-section:last-child { padding-bottom: 72px; }

/* ---------- Hizli bilgiler (Quick facts) ---------- */
.thd-facts { margin: 0 0 2em; padding: 20px 22px; background: var(--thd-surface); border-left: 4px solid var(--thd-primary); border-radius: 0 var(--thd-radius) var(--thd-radius) 0; }
.thd-facts__title { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--thd-primary); }
.thd-facts__list { margin: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .thd-facts__list { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.thd-facts__row dt { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: .85rem; color: var(--thd-heading); }
.thd-facts__row dt .thd-icon { color: var(--thd-primary); }
.thd-facts__row dd { margin: 3px 0 0 25px; font-size: .95rem; line-height: 1.55; }
.thd-facts__map { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .92rem; text-decoration: none; }
.thd-facts__map:hover { text-decoration: underline; }

/* ---------- Kategori "Start here" ---------- */
.start-here { margin-bottom: 48px; }
.start-here .section-head { margin-bottom: 20px; }
.archive-list-title { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); margin: 0 0 22px; }

/* ---------- Formlar (Contact Form 7) ---------- */
.wpcf7 form p { margin: 0 0 18px; }
.wpcf7 label { display: block; font-weight: 600; font-size: .92rem; color: var(--thd-heading); }
.wpcf7 label br { display: none; }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="url"], .wpcf7 input[type="tel"],
.wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; max-width: 100%; padding: 12px 14px; font-size: 1rem; font-weight: 400; line-height: 1.5;
	color: var(--thd-text); background: var(--thd-bg); border: 1px solid var(--thd-border); border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}
.wpcf7 textarea { min-height: 170px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--thd-primary); box-shadow: 0 0 0 3px var(--thd-primary-soft); }
.wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit {
	display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.6em; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--thd-primary); color: #fff; font-weight: 600; font-size: .98rem; transition: background .2s, transform .2s var(--thd-ease);
}
.wpcf7 input[type="submit"]:hover, .wpcf7 .wpcf7-submit:hover { background: var(--thd-primary-dark); transform: translateY(-1px); }
.wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: default; transform: none; }
.wpcf7 .wpcf7-not-valid { border-color: #c62828; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: .85rem; font-weight: 500; color: #c62828; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border: 1px solid; border-radius: 10px; font-size: .95rem; }
.wpcf7 form.sent .wpcf7-response-output { background: #edf7ee; border-color: #b7dfbb; color: #1e5b25; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output { background: #fff8e6; border-color: #f2d199; color: #7a4b00; }
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: #fff4f2; border-color: #f1c7c0; color: #8a2a1c; }

/* ---------- Iletisim sayfasi ---------- */
.contact-header .archive-desc { font-size: 1rem; margin-top: 8px; }
.contact-layout { display: grid; gap: 28px; padding-bottom: 72px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.contact-form-card { padding: 24px; background: var(--thd-bg); border: 1px solid var(--thd-border); border-radius: calc(var(--thd-radius) * 1.2); box-shadow: var(--thd-shadow-sm); }
@media (min-width: 768px) { .contact-form-card { padding: 36px 40px; } }
.contact-form-card .entry-content > :last-child { margin-bottom: 0; }
@media (min-width: 900px) { .contact-aside { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 140px); } }
.contact-card { padding: 24px; margin-bottom: 16px; background: var(--thd-surface); border-radius: calc(var(--thd-radius) * 1.2); }
.contact-card__title { font-size: 1.25rem; margin-bottom: .7em; }
.contact-email { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 600; word-break: break-all; }
.contact-email .thd-icon { color: var(--thd-primary); }
.contact-email a { text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }
.contact-note { font-size: .92rem; color: var(--thd-muted); }
.contact-note p:last-child { margin-bottom: 0; }
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-card .social-links { margin: 4px 0 16px; }
.social-links--light a { background: var(--thd-bg); color: var(--thd-heading); border: 1px solid var(--thd-border); }
.social-links--light a:hover { background: var(--thd-primary); border-color: var(--thd-primary); color: #fff; }

/* ---------- Lightbox ---------- */
.thd-zoomable { cursor: zoom-in; }
html.thd-lb-open { overflow: hidden; }
.thd-lb {
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0; background: rgb(6 14 16 / .95); color: #fff;
}
.thd-lb[open] { display: flex; align-items: center; justify-content: center; }
.thd-lb::backdrop { background: rgb(6 14 16 / .95); }
.thd-lb__figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.thd-lb__img { display: block; max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); transition: opacity .2s; }
.thd-lb.is-loading .thd-lb__img { opacity: .35; }
.thd-lb__cap { margin-top: 12px; max-width: 70ch; font-size: .9rem; line-height: 1.5; color: rgb(255 255 255 / .85); text-align: center; }
.thd-lb button {
	position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
	border: 0; border-radius: 999px; background: rgb(255 255 255 / .12); color: #fff; transition: background .2s;
}
.thd-lb button:hover, .thd-lb button:focus-visible { background: rgb(255 255 255 / .28); }
.thd-lb__close { top: 14px; right: 14px; }
.thd-lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.thd-lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.thd-lb__count { position: absolute; top: 26px; left: 22px; font-size: .85rem; opacity: .8; }
.thd-lb.is-single .thd-lb__prev, .thd-lb.is-single .thd-lb__next, .thd-lb.is-single .thd-lb__count { display: none; }
@media (max-width: 640px) {
	.thd-lb__prev, .thd-lb__next { top: auto; bottom: 16px; transform: none; }
	.thd-lb__img { max-height: 72vh; }
}

/* ---------- Reklamlar ---------- */
.thd-ad { margin: 2em auto; text-align: center; clear: both; overflow: hidden; }
.thd-ad__label { display: block; margin-bottom: 6px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--thd-muted); }
.thd-ad ins { display: block; }
.thd-ad--header { margin: 16px auto; }
.post-grid > .thd-ad { grid-column: 1 / -1; margin: 0; }
.thd-ad--post_top { margin-top: 0; }

/* ---------- Tam genislik sayfa ---------- */
.is-full-width { padding: 0; }

/* ---------- Hareket / yazdirma ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
	.site-header, .site-footer, .thd-share, .related, .comments-wrap, .post-nav, .thd-toc, .topbar { display: none !important; }
	body { font-size: 12pt; color: #000; }
	a { color: #000; }
}
