/* Elmonse Taş Rehberi – mağaza tasarımıyla uyumlu, mobil öncelikli.
   Renkler ve yazı tipleri aşağıdaki değişkenlerden değiştirilir. */
:root {
	--elm-gold: #C9A962;
	--elm-gold2: #E9D39A;
	--elm-ink: #050505;
	--elm-em: #0B1A14;
	--elm-em2: #0F2A1F;
	--elm-tx: #E9E4D8;
	--elm-mut: #A9A396;
	--elm-line: rgba(201, 169, 98, .22);
	--elm-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--elm-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Sayfa kabuğu */
html { -webkit-text-size-adjust: 100%; }
body.elm-body {
	margin: 0 !important;
	background: var(--elm-ink) !important;
	color: var(--elm-tx);
	font-family: var(--elm-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.elm-body *, body.elm-body *::before, body.elm-body *::after { box-sizing: border-box; }

.elm-top {
	position: sticky; top: 0; z-index: 50;
	background: rgba(5, 5, 5, .94);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--elm-line);
	padding-top: env(safe-area-inset-top);
}
.admin-bar .elm-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .elm-top { top: 46px; } }
.elm-top__row {
	max-width: 1180px; margin: 0 auto; min-height: 58px; padding: 0 18px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.elm-top__logo { color: var(--elm-gold) !important; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.elm-top__logo span { font-family: var(--elm-serif); font-size: 26px; font-weight: 500; letter-spacing: .28em; padding-left: .28em; }
.elm-top__nav { display: flex; gap: 4px; }
.elm-top__nav a {
	color: var(--elm-tx); text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
	min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; position: relative;
}
.elm-top__nav a.is-on { color: var(--elm-gold); }
.elm-top__nav a.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--elm-gold); }
.elm-main { min-height: 60vh; }

.elm-foot { border-top: 1px solid var(--elm-line); background: var(--elm-em); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.elm-foot__row { max-width: 1180px; margin: 0 auto; padding: 0 18px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.elm-foot p { margin: 0; color: var(--elm-mut); font-size: 14px; }
.elm-foot a { color: var(--elm-tx); text-decoration: none; }
.elm-foot a:hover { color: var(--elm-gold); }
.elm-foot .elm-top__logo span { font-size: 22px; }

/* İçerik alanı */
.elm-blog {
	background: transparent; color: var(--elm-tx); font-family: var(--elm-sans); font-weight: 300;
	font-size: 17px; line-height: 1.75; width: 100%;
	padding: clamp(22px, 5vw, 60px) 0 clamp(40px, 8vw, 90px);
}
.elm-blog *, .elm-blog *::before, .elm-blog *::after { box-sizing: border-box; }
.elm-blog a { color: inherit; text-decoration: none; }
.elm-blog img { max-width: 100%; height: auto; display: block; }
.elm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.elm-wrap--narrow { max-width: 760px; }
.elm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Başlık alanı */
.elm-hero { margin-bottom: 22px; position: relative; }
.elm-eyebrow { letter-spacing: .4em; font-size: 11px; text-transform: uppercase; color: var(--elm-gold); margin: 0 0 12px; font-weight: 400; }
.elm-blog h1 { font-family: var(--elm-serif); font-weight: 500; font-size: clamp(34px, 9vw, 60px); line-height: 1.06; margin: 0 0 14px; color: var(--elm-gold2); overflow-wrap: anywhere; }
.elm-lead { color: var(--elm-mut); font-size: 1.04em; max-width: 62ch; margin: 0 0 8px; }
.elm-back { color: var(--elm-gold) !important; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.elm-langs { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 12px; }
.elm-lang {
	font-size: 12px; letter-spacing: .14em; min-width: 44px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--elm-line); color: var(--elm-mut);
}
.elm-lang.is-cur { background: var(--elm-gold); color: #0A0A09; border-color: var(--elm-gold); }

/* Arama */
.elm-search { position: relative; margin: 8px 0 16px; }
.elm-search__input {
	width: 100%; font: inherit; font-size: 16px; /* 16px: iPhone'da yakınlaşmayı önler */
	min-height: 54px; padding: 0 18px; color: var(--elm-tx);
	background: var(--elm-em); border: 1px solid var(--elm-line); border-radius: 0; outline: none;
	-webkit-appearance: none; appearance: none;
}
.elm-search__input:focus { border-color: var(--elm-gold); }
.elm-search__input::placeholder { color: var(--elm-mut); }
.elm-suggest {
	position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none;
	background: #0D1F17; border: 1px solid var(--elm-line); max-height: min(60vh, 340px); overflow-y: auto;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.elm-suggest a { display: flex; align-items: center; min-height: 46px; padding: 8px 14px; }
.elm-suggest li.is-on a { background: rgba(201, 169, 98, .16); }

/* Filtreler */
.elm-filters { display: grid; gap: 10px; margin-bottom: 12px; }
.elm-fgroup { display: grid; gap: 8px; }
.elm-flabel { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--elm-gold); }
.elm-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding: 2px 18px 6px; margin: 0 -18px; }
.elm-chips::-webkit-scrollbar { display: none; }
.elm-chip {
	flex: none; scroll-snap-align: start; font: inherit; font-size: 14px; letter-spacing: .04em; min-height: 44px; padding: 0 16px;
	cursor: pointer; color: var(--elm-tx); background: transparent; border: 1px solid var(--elm-line); border-radius: 0; white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}
.elm-chip[aria-pressed="true"] { background: var(--elm-gold); color: #0A0A09; border-color: var(--elm-gold); }
.elm-bar { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-bottom: 6px; gap: 12px; }
.elm-status { margin: 0; color: var(--elm-mut); font-size: 14px; }
.elm-clear { font: inherit; font-size: 14px; background: none; border: 0; color: var(--elm-gold); cursor: pointer; text-decoration: underline; min-height: 44px; padding: 0 4px; }
.elm-clear[hidden] { display: none; }

/* Kartlar */
.elm-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.elm-card { background: var(--elm-em); border: 1px solid var(--elm-line); overflow: hidden; transition: border-color .3s; }
.elm-card__link { display: flex; flex-direction: column; height: 100%; -webkit-tap-highlight-color: transparent; }
.elm-card__media { display: block; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 38%, #1B4333 0%, #0B1A14 55%, #060908 100%); overflow: hidden; }
.elm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.elm-card__ph { display: grid; place-items: center; height: 100%; font-family: var(--elm-serif); font-size: 72px; color: var(--elm-gold); opacity: .75; }
.elm-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.elm-card__type { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--elm-gold); }
.elm-card__title { font-family: var(--elm-serif); font-weight: 500; font-size: 24px; line-height: 1.15; margin: 0; color: var(--elm-tx); overflow-wrap: anywhere; }
.elm-card__ex { color: var(--elm-mut); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.elm-card__meta { margin-top: auto; padding-top: 6px; color: var(--elm-mut); font-size: 13px; }
.elm-empty { grid-column: 1 / -1; color: var(--elm-mut); padding: 40px 0; text-align: center; }
.elm-pager { margin-top: 30px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.elm-pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--elm-line); }
.elm-pager .current { background: var(--elm-gold); color: #0A0A09; border-color: var(--elm-gold); }

/* Tek yazı */
.elm-crumbs { font-size: 13px; color: var(--elm-mut); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 18px; letter-spacing: .06em; }
.elm-crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.elm-art-head { margin-bottom: 22px; }
.elm-art-head .elm-card__type { display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 6px; }
.elm-meta { color: var(--elm-mut); font-size: 14px; margin: 14px 0 0; }
.elm-cover { margin: 0 -18px 26px; overflow: hidden; border-top: 1px solid var(--elm-line); border-bottom: 1px solid var(--elm-line); }
.elm-props { border: 1px solid var(--elm-line); background: var(--elm-em); padding: 18px 20px; margin: 0 0 26px; }
.elm-props__t { margin: 0 0 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--elm-gold); }
.elm-props dl { margin: 0; display: grid; gap: 10px; }
.elm-props dl div { display: grid; grid-template-columns: 1fr; gap: 2px; }
.elm-props dt { color: var(--elm-mut); font-size: 13px; letter-spacing: .06em; }
.elm-props dd { margin: 0; overflow-wrap: anywhere; }
.elm-toc { border-left: 1px solid var(--elm-gold); padding: 4px 0 4px 18px; margin: 0 0 28px; }
.elm-toc__t { margin: 0 0 6px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--elm-mut); }
.elm-toc ol { margin: 0; padding-left: 18px; }
.elm-toc li { margin: 2px 0; }
.elm-toc a { display: inline-block; padding: 6px 0; }
.elm-content { overflow-wrap: anywhere; }
.elm-content h2 { font-family: var(--elm-serif); font-weight: 500; font-size: clamp(27px, 6.4vw, 36px); margin: 1.9em 0 .5em; line-height: 1.12; color: var(--elm-gold2); scroll-margin-top: 90px; }
.elm-content h3 { font-family: var(--elm-serif); font-weight: 500; font-size: 23px; margin: 1.5em 0 .4em; }
.elm-content p, .elm-content li { color: #D8D3C7; }
.elm-content p { margin: 0 0 1.15em; }
.elm-content a { color: var(--elm-gold); text-decoration: underline; text-underline-offset: 3px; }
.elm-content img, .elm-content video, .elm-content iframe { max-width: 100%; height: auto; }
.elm-content iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.elm-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.elm-content pre { max-width: 100%; overflow-x: auto; }
.elm-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 18px; border-left: 1px solid var(--elm-gold); font-family: var(--elm-serif); font-style: italic; font-size: 1.25em; line-height: 1.4; color: var(--elm-tx); }
.elm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.elm-tag { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--elm-line); color: var(--elm-mut); }
.elm-faq { margin-top: 42px; }
.elm-faq h2 { font-family: var(--elm-serif); font-weight: 500; font-size: 30px; margin: 0 0 12px; color: var(--elm-gold2); }
.elm-faq details { border-top: 1px solid var(--elm-line); }
.elm-faq details:last-child { border-bottom: 1px solid var(--elm-line); }
.elm-faq summary { cursor: pointer; font-weight: 400; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 10px 0; }
.elm-faq summary::-webkit-details-marker { display: none; }
.elm-faq summary::after { content: "+"; color: var(--elm-gold); font-size: 24px; line-height: 1; flex: none; }
.elm-faq details[open] summary::after { content: "–"; }
.elm-faq p { margin: 0 0 16px; color: #CFC9BC; }
.elm-disclaimer { margin: 36px 0 0; font-size: 14px; color: var(--elm-mut); border-top: 1px dashed var(--elm-line); padding-top: 16px; }
.elm-cta {
	display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 26px; min-height: 54px; padding: 12px 24px;
	background: var(--elm-gold); color: #0A0A09 !important; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5;
}
.elm-related { margin-top: 64px; }
.elm-related h2 { font-family: var(--elm-serif); font-weight: 500; font-size: 30px; margin: 0 0 16px; color: var(--elm-gold2); }

/* Tablet ve masaüstü */
@media (min-width: 600px) {
	.elm-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.elm-props dl div { grid-template-columns: 170px 1fr; gap: 12px; }
	.elm-cta { display: inline-flex; width: auto; }
	.elm-cover { margin: 0 0 28px; border: 1px solid var(--elm-line); }
}
@media (min-width: 900px) {
	.elm-blog { font-size: 18px; }
	.elm-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.elm-fgroup { grid-template-columns: 96px 1fr; align-items: center; gap: 12px; }
	.elm-chips { flex-wrap: wrap; overflow: visible; padding: 0; margin: 0; }
	.elm-top__row { min-height: 66px; padding: 0 28px; }
	.elm-wrap { padding: 0 28px; }
}
.elm-top__nav a { white-space: nowrap; }
@media (max-width: 480px) {
	.elm-top__row { padding: 0 12px; gap: 6px; }
	.elm-top__logo span { font-size: 21px; letter-spacing: .18em; padding-left: .18em; }
	.elm-top__nav { gap: 0; }
	.elm-top__nav a { padding: 0 8px; font-size: 11px; letter-spacing: .1em; }
	.elm-top__nav a.is-on::after { left: 8px; right: 8px; }
}
@media (hover: hover) {
	.elm-card:hover { border-color: rgba(201, 169, 98, .55); }
	.elm-chip:hover, .elm-tag:hover, a.elm-lang:hover { border-color: var(--elm-gold); color: var(--elm-tx); }
	.elm-cta:hover { filter: brightness(1.08); }
	.elm-top__nav a:hover, .elm-crumbs a:hover, .elm-toc a:hover { color: var(--elm-gold); }
}
@media (prefers-reduced-motion: reduce) { .elm-card { transition: none; } html { scroll-behavior: auto; } }

/* Elmonse: kategori menüsü */
.elm-top__row { flex-wrap: wrap; }
.elm-top__nav { min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.elm-top__nav::-webkit-scrollbar { display: none; }
.elm-top__nav a { white-space: nowrap; flex: 0 0 auto; letter-spacing: .12em; padding: 0 9px; }
@media (max-width: 1100px) { .elm-top__nav { order: 2; width: 100%; margin: 0 -18px; padding: 0 9px; width: calc(100% + 36px); max-width: none; } .elm-top__row { row-gap: 0; } }
