/* Prime Ödül Atlası — all rules are scoped under .poa so the theme is not affected.
   Brand colours: override the --poa-* variables in the theme (Görünüm > Özelleştir > Ek CSS). */
.poa {
	--poa-bg: #ffffff;
	--poa-surface: #f6f7f9;
	--poa-fg: #151d27;
	--poa-muted: #5a6574;
	--poa-line: #dde2e9;
	--poa-accent: #1f5f8b;
	--poa-accent-soft: #e2edf5;
	--poa-open: #1b7a4c;
	--poa-open-bg: #e0f2e8;
	--poa-soon: #8a5a00;
	--poa-soon-bg: #faefd7;
	--poa-gold: #8f6506;
	--poa-warn: #a0442a;
	--poa-radius: 10px;
	--poa-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	color: var(--poa-fg);
	background: var(--poa-bg);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 1160px;
	margin: 0 auto;
	padding-block: 24px;
}
.poa *, .poa *::before, .poa *::after { box-sizing: border-box; }
.poa [hidden] { display: none !important; }
.poa a { color: var(--poa-accent); }

.poa-head { display: flex; flex-direction: column; gap: 8px; max-width: 72ch; }
.poa-title { margin: 0; font-size: clamp(28px, 4.5vw, 42px); line-height: 1.1; text-wrap: balance; }
.poa-lead { margin: 0; color: var(--poa-muted); }
.poa-updated { margin: 0; font-size: 13px; color: var(--poa-warn); }
.poa-h3 { margin: 0; font-size: 22px; }
.poa-sub { font-size: 12.5px; color: var(--poa-muted); }

.poa-stats { display: flex; flex-wrap: wrap; gap: 24px 36px; margin: 0; }
.poa-stats div { display: flex; flex-direction: column-reverse; }
.poa-stats dt { font-size: 13px; color: var(--poa-muted); }
.poa-stats dd { margin: 0; font-size: 34px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

.poa-now-wrap, .poa-cal-wrap, .poa-refs { display: flex; flex-direction: column; gap: 12px; }
.poa-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.poa-now-item {
	font: inherit; color: inherit; text-align: left; cursor: pointer;
	display: flex; flex-direction: column; gap: 2px; min-width: 0;
	background: var(--poa-surface); border: 1px solid var(--poa-line); border-radius: var(--poa-radius); padding: 12px 14px;
}
.poa-now-item:hover { border-color: var(--poa-accent); }
.poa-days { font-size: 26px; font-weight: 700; line-height: 1; color: var(--poa-accent); font-variant-numeric: tabular-nums; }
.poa-days small { font-size: 12px; font-weight: 500; color: var(--poa-muted); margin-left: 6px; }
.poa-now-name { font-weight: 600; }
.poa-now-meta { font-family: var(--poa-mono); font-size: 12px; color: var(--poa-muted); }

.poa-bar {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
	background: var(--poa-surface); border: 1px solid var(--poa-line); border-radius: 12px; padding: 14px;
}
.poa-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 160px; min-width: 0; }
.poa-field--wide { flex: 2 1 260px; }
.poa-field label { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--poa-muted); }
.poa-field select, .poa-field input {
	font: inherit; width: 100%; padding: 8px 10px; border: 1px solid var(--poa-line); border-radius: 8px;
	background: var(--poa-bg); color: var(--poa-fg);
}
.poa-count { margin: 0; font-size: 13px; color: var(--poa-muted); flex-basis: 100%; }

.poa-list { display: flex; flex-direction: column; border: 1px solid var(--poa-line); border-radius: 12px; overflow: hidden; }
.poa-group-h {
	margin: 0; padding: 14px 16px 10px; font-size: 18px; background: var(--poa-accent-soft);
	display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; border-bottom: 1px solid var(--poa-line);
}
.poa-group + .poa-group .poa-group-h { border-top: 1px solid var(--poa-line); }
.poa-group-h span { font-size: 12.5px; font-weight: 400; color: var(--poa-muted); }

.poa-award { border-bottom: 1px solid var(--poa-line); background: var(--poa-bg); }
.poa-award:last-child { border-bottom: none; }
.poa-award summary {
	list-style: none; cursor: pointer; padding: 14px 16px;
	display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.3fr) auto; gap: 14px; align-items: start;
}
.poa-award summary::-webkit-details-marker { display: none; }
.poa-award summary:hover { background: var(--poa-surface); }
.poa-award summary:focus-visible, .poa-now-item:focus-visible, .poa-cal button:focus-visible { outline: 2px solid var(--poa-accent); outline-offset: 2px; }
.poa-c1, .poa-c2, .poa-c3 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.poa-name { font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.poa-tag { font-family: var(--poa-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--poa-accent-soft); color: var(--poa-accent); }
.poa-tier { font-size: 12px; color: var(--poa-muted); }
.poa-tier--1 { color: var(--poa-gold); }
.poa-dl { font-family: var(--poa-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.poa-est { font-family: var(--poa-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--poa-warn); }
.poa-since { font-family: var(--poa-mono); font-size: 11.5px; }
.poa-fee {
	font-size: 12px; color: var(--poa-muted); margin-top: 2px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.poa-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--poa-soon-bg); color: var(--poa-soon); }
.poa-src-link { font-size: 12px; }
.poa-wins { font-size: 12.5px; font-weight: 500; color: var(--poa-open); }
.poa-wins.is-none { color: var(--poa-muted); font-weight: 400; }
.poa-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--poa-surface); color: var(--poa-muted); }
.poa-pill--open { background: var(--poa-open-bg); color: var(--poa-open); }
.poa-pill--soon { background: var(--poa-soon-bg); color: var(--poa-soon); }

.poa-detail { padding: 0 16px 18px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; }
.poa-detail h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--poa-muted); }
.poa-detail h4 + * { margin-top: 0; }
.poa-detail p { margin: 0 0 10px; }
.poa-winlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.poa-winlist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: 13.5px; }
.poa-year { font-family: var(--poa-mono); color: var(--poa-muted); }
.poa-level { color: var(--poa-gold); font-weight: 600; }
.poa-kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 10px; font-size: 13.5px; margin: 0 0 12px; }
.poa-kv dt { color: var(--poa-muted); }
.poa-kv dd { margin: 0; }
.poa-src { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; word-break: break-all; }
.poa-empty { padding: 16px; margin: 0; color: var(--poa-muted); }
.poa-note { font-size: 13px; color: var(--poa-muted); margin: 0; max-width: 90ch; }

.poa-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.poa-month { background: var(--poa-surface); border: 1px solid var(--poa-line); border-radius: var(--poa-radius); padding: 12px 14px; min-width: 0; }
.poa-month h4 { margin: 0 0 6px; font-size: 16px; }
.poa-month ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.poa-month p { margin: 0; }
.poa-cal button { all: unset; cursor: pointer; font-size: 13px; }
.poa-cal button:hover { color: var(--poa-accent); }
.poa-cal button span { font-family: var(--poa-mono); font-size: 11.5px; color: var(--poa-muted); margin-right: 6px; }
.poa-cal li.is-est button { color: var(--poa-muted); }

.poa-cta {
	display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
	background: var(--poa-fg); color: var(--poa-bg); border-radius: 12px; padding: 22px 24px;
}
.poa-cta p { margin: 0; font-size: 18px; font-weight: 600; max-width: 50ch; }
.poa-cta-btn { background: var(--poa-bg); color: var(--poa-fg) !important; text-decoration: none; font-weight: 600; padding: 10px 18px; border-radius: 999px; }
.poa-cta-btn:hover { background: var(--poa-accent-soft); }

.poa-refs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }

@media (max-width: 760px) {
	.poa-award summary { grid-template-columns: minmax(0, 1fr) auto; }
	.poa-c2, .poa-c3 { grid-column: 1 / -1; }
	.poa-detail { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
	.poa-now-item, .poa-award summary, .poa-cta-btn { transition: background .15s, border-color .15s; }
}

/* Know-how: category structure and latest winners */
.poa-kh { grid-column: 1 / -1; border-top: 1px dashed var(--poa-line); padding-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; }
.poa-kh > .poa-sub:only-child, .poa-kh-src { grid-column: 1 / -1; margin: 0; }
.poa-kh-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.poa-kh-col h4:not(:first-child) { margin-top: 12px; }
.poa-kh-sec, .poa-kh-win { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.poa-kh-n { font-family: var(--poa-mono); font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--poa-accent-soft); color: var(--poa-accent); }
.poa-kh-items { display: block; font-size: 12.5px; color: var(--poa-muted); margin: 2px 0 0; }
.poa-kh-win li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 10px; }
.poa-kh-cat { font-size: 12px; color: var(--poa-muted); }
.poa-kh-win--tr li { border-left: 3px solid var(--poa-open); padding-left: 8px; }
.poa-kh-src { font-size: 12px; color: var(--poa-muted); word-break: break-word; }
@media (max-width: 760px) {
	.poa-kh, .poa-kh-win li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.poa-kh { gap: 16px; }
}

/* Per-award pages */
.poa-page-link { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; }
.poa-page-link a { text-decoration: none; }
.poa-page-link a:hover { text-decoration: underline; }
.poa-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--poa-muted); }
.poa--single .poa-head .poa-name { margin: 0; gap: 8px; align-items: center; }
.poa-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.poa-facts div { background: var(--poa-surface); border: 1px solid var(--poa-line); border-radius: var(--poa-radius); padding: 12px 14px; min-width: 0; }
.poa-facts dt { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--poa-muted); margin-bottom: 4px; }
.poa-facts dd { margin: 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.poa-days-left { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--poa-open-bg); color: var(--poa-open); }
.poa--single .poa-detail { padding: 0; }
.poa-related { display: flex; flex-direction: column; gap: 12px; }
.poa-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.poa-related a { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; height: 100%; text-decoration: none; color: inherit; background: var(--poa-surface); border: 1px solid var(--poa-line); border-radius: var(--poa-radius); padding: 12px 14px; }
.poa-related a:hover { border-color: var(--poa-accent); }
.poa-back { font-weight: 600; text-decoration: none; }

/* Language switch */
.poa-topbar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.poa-lang { margin: 0; font-size: 13px; font-weight: 600; }
.poa-lang a { text-decoration: none; border: 1px solid var(--poa-line); border-radius: 999px; padding: 3px 12px; display: inline-block; }
.poa-lang a:hover { border-color: var(--poa-accent); }
.poa-head > .poa-lang { align-self: flex-end; }
