/* Moneta E-Dergi – arşiv, sayı ve arama sayfaları. Tema değişkenlerini (Moneta News) kullanır; yoksa varsayılanlar. */
.mwed-page { --mw-blue: var(--blue, #004994); --mw-ink: var(--ink, #18202b); --mw-line: var(--line, #dde5ee); --mw-muted: var(--muted, #5d6876);
	--mw-paper: var(--paper, #fff); --mw-surface: var(--surface, #f3f6fa); color: var(--mw-ink); font-family: var(--font, inherit); padding: 24px 0 56px; }
.mwed-page *, .mwed-page *::before, .mwed-page *::after { box-sizing: border-box; }
.mwed-wrap-in { max-width: var(--wrap, 1240px); margin: 0 auto; padding: 0 16px; }
.mwed-page a { color: var(--mw-blue); }
.mwed-page img { max-width: 100%; height: auto; }
.mwed-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mwed-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 16px; }
.mwed-crumbs { font-size: 14px; color: var(--mw-muted); margin-bottom: 14px; }
.mwed-crumbs a { color: inherit; }
.mwed-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mw-blue); }
.mwed-note { color: var(--mw-muted); }

/* Düğmeler */
.mwed-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.mwed-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--mw-blue);
	color: var(--mw-blue) !important; background: transparent; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none !important; cursor: pointer; }
.mwed-btn.is-solid { background: var(--mw-blue); color: #fff !important; }
.mwed-btn:hover { filter: brightness(1.08); box-shadow: 0 2px 10px rgba(0,73,148,.2); }
.mwed-page a:focus-visible, .mwed-page button:focus-visible, .mwed-page input:focus-visible, .mwed-page select:focus-visible, .mwed-page summary:focus-visible { outline: 3px solid var(--mw-blue); outline-offset: 2px; }

/* Arşiv: son sayı */
.mwed-hero { display: grid; grid-template-columns: minmax(150px, 280px) 1fr; gap: clamp(18px, 4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 36px);
	background: linear-gradient(135deg, var(--mw-surface), var(--mw-paper)); border: 1px solid var(--mw-line); border-radius: 16px; margin-bottom: 28px; }
.mwed-hero-cv img { display: block; width: 100%; border-radius: 4px; box-shadow: 0 16px 40px rgba(10,30,60,.25); transition: transform .2s; }
.mwed-hero-cv:hover img { transform: translateY(-3px) rotate(-.5deg); }
.mwed-hero h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 8px; line-height: 1.2; }
.mwed-intro { color: var(--mw-muted); }
@media (max-width: 600px) { .mwed-hero { grid-template-columns: 110px 1fr; align-items: start; } .mwed-hero h2 { font-size: 20px; } .mwed-intro { display: none; } }

/* Arama ve filtreler */
.mwed-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.mwed-search input[type=search] { flex: 1 1 260px; min-width: 0; height: 48px; padding: 0 16px; font: inherit; font-size: 16px; border: 1.5px solid var(--mw-line); border-radius: 999px; background: var(--mw-paper); color: var(--mw-ink); }
.mwed-search input[type=search]:focus { border-color: var(--mw-blue); outline: none; box-shadow: 0 0 0 3px rgba(0,73,148,.15); }
.mwed-filters { flex-basis: 100%; margin: 0 0 14px; }
.mwed-filters summary { cursor: pointer; display: inline-flex; min-height: 40px; align-items: center; font-weight: 700; color: var(--mw-blue); list-style: none; }
.mwed-filters summary::-webkit-details-marker { display: none; }
.mwed-filters summary::before { content: "▸"; margin-right: 6px; transition: transform .15s; }
.mwed-filters[open] summary::before { transform: rotate(90deg); }
.mwed-filters form, .mwed-fgrid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 12px 0; }
.mwed-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--mw-muted); }
.mwed-filters select, .mwed-filters input { height: 42px; min-width: 140px; padding: 0 10px; font: inherit; color: var(--mw-ink); border: 1px solid var(--mw-line); border-radius: 8px; background: var(--mw-paper); }
.mwed-years { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.mwed-years a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--mw-surface); border: 1px solid var(--mw-line); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--mw-ink); }
.mwed-years a:hover, .mwed-years a[aria-current] { background: var(--mw-blue); color: #fff; border-color: var(--mw-blue); }
.mwed-count { color: var(--mw-muted); font-size: 14px; margin: 4px 0 14px; }

/* Kapak görseli yoksa yer tutucu (eski arşiv kayıtları) */
.mwed-ph { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; aspect-ratio: 210 / 297; padding: 14px; color: #fff;
	background: linear-gradient(160deg, var(--mw-blue), #002a57); border-radius: 4px; font-size: 13px; line-height: 1.25; }
.mwed-ph b { font-size: 15px; letter-spacing: .02em; }
.mwed-ph span { opacity: .9; }

/* Arşiv ızgarası */
.mwed-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 20px; }
@media (max-width: 480px) { .mwed-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.mwed-card { display: flex; flex-direction: column; margin: 0; }
.mwed-card-cv { display: block; aspect-ratio: 210 / 297; background: var(--mw-surface); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 14px rgba(10,30,60,.14); transition: transform .18s, box-shadow .18s; }
.mwed-card-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mwed-card:hover .mwed-card-cv { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(10,30,60,.22); }
.mwed-card-t { font-size: 16px; line-height: 1.3; margin: 12px 0 2px; }
.mwed-card-t a { color: var(--mw-ink); text-decoration: none; }
.mwed-card-t a:hover { color: var(--mw-blue); text-decoration: underline; }
.mwed-card-m { margin: 0; font-size: 13px; color: var(--mw-muted); }
.mwed-card-a { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; font-weight: 600; }
.mwed-card-a a { min-height: 32px; display: inline-flex; align-items: center; }
.mwed-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 32px 0 0; }
.mwed-pager a, .mwed-pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 8px; border: 1px solid var(--mw-line); text-decoration: none; font-weight: 600; }
.mwed-pager span[aria-current] { background: var(--mw-blue); color: #fff; border-color: var(--mw-blue); }
.mwed-empty { padding: 32px 20px; text-align: center; background: var(--mw-surface); border-radius: 12px; }

/* Sayı sayfası */
.mwed-issue-head { display: grid; grid-template-columns: minmax(160px, 360px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; margin-bottom: 36px; }
.mwed-issue-cv img { display: block; width: 100%; border-radius: 4px; box-shadow: 0 16px 40px rgba(10,30,60,.22); }
.mwed-issue-info h1 { font-size: clamp(24px, 3vw, 36px); line-height: 1.2; margin: 0 0 10px; }
.mwed-meta { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--mw-muted); font-size: 14px; }
.mwed-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.mwed-chips a { padding: 5px 12px; border-radius: 999px; background: var(--mw-surface); border: 1px solid var(--mw-line); text-decoration: none; font-size: 13px; color: var(--mw-ink); }
.mwed-chips a:hover { border-color: var(--mw-blue); color: var(--mw-blue); }
@media (max-width: 640px) { .mwed-issue-head { grid-template-columns: 1fr; } .mwed-issue-cv { max-width: 230px; } }
.mwed-toc, .mwed-articles { margin: 0 0 36px; }
.mwed-toc h2, .mwed-articles h2 { font-size: 22px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--mw-blue); }
.mwed-toc ol, .mwed-toc ul, .mwed-articles ul { list-style: none; margin: 0; padding: 0; }
.mwed-toc li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--mw-line); }
.mwed-toc li > span, .mwed-toc li > b { font-weight: 600; }
.mwed-toc small { display: block; color: var(--mw-muted); font-weight: 400; }
.mwed-pg { white-space: nowrap; font-size: 14px; font-weight: 600; }
.mwed-articles li { padding: 12px 0; border-bottom: 1px solid var(--mw-line); }
.mwed-articles li > a { font-weight: 700; font-size: 17px; text-decoration: none; }
.mwed-articles li > a:hover { text-decoration: underline; }
.mwed-articles small { margin-left: 8px; color: var(--mw-muted); }
.mwed-articles p { margin: 4px 0 0; color: var(--mw-muted); font-size: 15px; }
.mwed-prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--mw-line); font-weight: 600; }

/* Arama sonuçları */
.mwed-suggest { background: #fff8e1; border: 1px solid #f2dc8f; color: #4d3b00; border-radius: 8px; padding: 10px 14px; }
.mwed-results { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.mwed-results li { padding: 16px 0; border-bottom: 1px solid var(--mw-line); }
.mwed-r-t { font-size: 18px; font-weight: 700; text-decoration: none; }
.mwed-r-t:hover { text-decoration: underline; }
.mwed-r-m { margin: 2px 0 6px; font-size: 13px; color: var(--mw-muted); }
.mwed-r-s { margin: 0; font-size: 15px; line-height: 1.55; }
.mwed-r-s mark { background: #ffe58a; color: inherit; padding: 0 2px; border-radius: 2px; }

/* Reklam alanları (önbellek dostu: uygun kreatif yoksa alan JS ile kaldırılır; JS yoksa gizli kalır) */
.mwed-ad { display: none; margin: 24px auto; max-width: 970px; text-align: center; }
.mwed-ad.is-on { display: block; }
.mwed-ad-label { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mw-muted, #6b7684); margin-bottom: 4px; }
.mwed-ad-box { position: relative; width: 100%; overflow: hidden; border-radius: 6px; background: var(--mw-surface, #f3f6fa); }
.mwed-ad-box img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mwed-ad-box > a { display: block; height: 100%; }
.mwed-video { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.mwed-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: rgba(0,0,0,.65); box-shadow: 0 0 0 3px #fff; }
.mwed-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.mwed-ad-cta { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; }
.mwed-modal { width: min(960px, 96vw); padding: 0; border: 0; background: #000; border-radius: 8px; overflow: visible; }
.mwed-modal::backdrop { background: rgba(0,0,0,.75); }
.mwed-modal-v { position: relative; aspect-ratio: 16 / 9; }
.mwed-modal-v iframe, .mwed-modal-v video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mwed-modal-x { position: absolute; right: 0; top: -46px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: #000; font-size: 24px; cursor: pointer; }

/* Karanlık tema (Moneta News: [data-theme="dark"]) */
[data-theme="dark"] .mwed-suggest { background: #3a3110; border-color: #6b5a1a; color: #fbe9a8; }
[data-theme="dark"] .mwed-r-s mark { background: #6b5a1a; }
@media (prefers-reduced-motion: reduce) { .mwed-card-cv, .mwed-hero-cv img { transition: none; } .mwed-card:hover .mwed-card-cv, .mwed-hero-cv:hover img { transform: none; } }
