/* Kıbrıs Duyuru — "Pano" kimliği
   Beyaz sayfa, mürekkep siyahı metin, siyah üst bant ve sarı logo.
   Sarı yalnızca "ilan kâğıdı" vurgusudur: üstüne her zaman siyah yazılır. Kırmızı yalnızca acil son gün içindir. */
:root {
  --ink: #111110;
  --ink-2: #3a3935;
  --muted: #6a675f;
  --line: #e4e2dc;
  --bg: #ffffff;
  --paper: #f6f4ee;
  --board: #141413;
  --yellow: #f5d547;
  --red: #b3261e;
  --green: #25613a;
  --green-soft: #e7f3ea;
  --warn: #8a4b00;
  --warn-soft: #fcf1e3;
  --red-soft: #fbe9e7;
  --max: 1120px;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --narrow: "Archivo Narrow", "Arial Narrow", "Archivo", sans-serif;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

/* ---- Üst bant ---- */
.masthead { background: var(--board); color: #eae7dc; border-bottom: 5px solid var(--yellow); }
.mh-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 6px; }
.logo { font-family: var(--display); font-size: 2.25rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--yellow); text-decoration: none; }
.logo:hover { color: #fff3a8; }
.mh-date { margin: 0; color: #a8a495; font-size: 0.92rem; }
.mh-search { display: flex; }
.mh-search input { width: 240px; border: 0; padding: 8px 10px; font-size: 0.92rem; }
.mh-search button { background: var(--yellow); color: var(--ink); border: 0; }
.mh-nav { display: flex; gap: 22px; padding: 8px 0 11px; overflow-x: auto; scrollbar-width: none; }
.mh-nav a { color: #f1eee4; text-decoration: none; font-weight: 700; font-size: 0.98rem; white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.mh-nav a:hover, .mh-nav a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }

main { padding: 26px 0 64px; }
section { margin-bottom: 40px; }

/* ---- Bölüm başlıkları ---- */
.sec { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--narrow); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 4px; padding-bottom: 7px; border-bottom: 3px solid var(--ink); }
.sec a { font-size: 0.82rem; letter-spacing: 0.04em; text-decoration: none; color: var(--muted); }
.sec a:hover { color: var(--ink); text-decoration: underline; }
.kicker { display: block; font-family: var(--narrow); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kicker.red { color: var(--red); }
.kicker .sp { color: var(--warn); }
.row-main .kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quiet { color: var(--muted); font-size: 0.92rem; margin: 10px 0; }

/* ---- Arama şeridi ve sayaç ---- */
.searchbar { display: flex; border: 2px solid var(--ink); margin: 0 0 10px; background: #fff; }
.searchbar input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-size: 1.02rem; }
.searchbar select { border: 0; border-left: 1px solid var(--line); padding: 0 12px; color: var(--ink-2); width: auto; }
.searchbar button { border: 0; padding: 0 24px; }
.searchbar input:focus-visible, .searchbar select:focus-visible { outline: none; box-shadow: none; }
.searchbar:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }
.tally { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 30px; font-size: 0.92rem; color: var(--muted); }
.tally a { color: var(--ink-2); text-decoration: none; }
.tally a:hover { text-decoration: underline; }
.tally strong { color: var(--ink); }

/* ---- Ön sayfa: manşet ve yan sütun ---- */
.front { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
.lead { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.lead h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.015em; margin: 6px 0 10px; }
.lead h3 a { text-decoration: none; }
.lead h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.lead-src { color: var(--muted); margin: 0 0 8px; }
.lead-sum { color: var(--ink-2); margin: 0 0 12px; font-size: 1.02rem; max-width: 40em; }
.lead-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; font-weight: 700; }
.tag { background: var(--yellow); color: var(--ink); font-family: var(--narrow); font-weight: 700; padding: 5px 10px; letter-spacing: 0.02em; }

/* ---- Duyuru satırı ---- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows .row { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.rows li:last-child .row { border-bottom: 0; }
.rows .row:hover .row-title { text-decoration: underline; text-decoration-thickness: 2px; }
.rows.tight .row { padding: 11px 0; }
.row-main { display: flex; flex-direction: column; min-width: 0; }
.row-title { font-weight: 800; font-size: 1.08rem; line-height: 1.25; margin: 2px 0 3px; }
.row-sub { font-size: 0.9rem; color: var(--muted); }
.row-sub .hot { color: var(--red); font-weight: 700; }

/* Damga */
.stamp { display: inline-block; justify-self: center; font-family: var(--display); font-size: 0.72rem; line-height: 1.05; text-align: center; letter-spacing: 0.02em; color: var(--ink); border: 2.5px solid currentColor; padding: 4px 6px 3px; transform: rotate(-4deg); min-width: 62px; }
.stamp b { display: block; font-weight: 400; font-size: 1.45rem; letter-spacing: 0; }
.stamp.red { color: var(--red); }
.stamp.grey { color: #9a978e; }

.changes { list-style: none; margin: 0; padding: 0; }
.changes a { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }

/* ---- Bülten daveti ---- */
.invite { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--board); color: #eae7dc; padding: 24px 28px; margin: 12px 0 40px; border-top: 5px solid var(--yellow); }
.invite h2 { font-size: 1.35rem; margin: 0 0 4px; color: #fff; font-weight: 800; }
.invite p { margin: 0; color: #bdb9ad; }

/* ---- Düğmeler ve formlar ---- */
button, .btn { font: inherit; font-weight: 800; cursor: pointer; border-radius: 0; padding: 9px 16px; border: 2px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; display: inline-block; line-height: 1.25; }
button:hover, .btn:hover { background: #2c2b28; }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); white-space: nowrap; }
.btn.yellow:hover { background: #fff0a0; }
.btn.secondary, button.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover, button.secondary:hover { background: var(--paper); }
.btn.danger, button.danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn.small, button.small { padding: 4px 10px; font-size: 0.86rem; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
input[type=text], input[type=search], input[type=url], input[type=email], input[type=date], input[type=time], input[type=password], input[type=number], select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfccc3; border-radius: 0; padding: 9px 10px; width: 100%;
}
.searchbar input, .searchbar select, .mh-search input { border: 0; }
textarea { min-height: 120px; resize: vertical; }
label { font-weight: 700; font-size: 0.93rem; display: block; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 0.86rem; font-weight: 400; margin-top: 3px; }
.field { margin-bottom: 14px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; accent-color: var(--ink); }
fieldset { border: 1px solid var(--line); padding: 12px 14px; margin: 0 0 14px; }
legend { font-weight: 800; padding: 0 6px; }
div.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: start; }

/* ---- Sayfa başlıkları ve liste sayfaları ---- */
h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 10px; }
h2 { font-size: 1.25rem; margin: 0 0 12px; font-weight: 800; }
p.lead { color: var(--ink-2); font-size: 1.05rem; margin: 0 0 22px; max-width: 46em; }
.filters { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; padding: 0 0 18px; margin-bottom: 8px; border-bottom: 3px solid var(--ink); }
.filters label { font-family: var(--narrow); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.empty { padding: 24px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed #d6d3ca; }
.empty p { margin: 4px 0; }

/* Rozetler (detay ve yönetim) */
.badge { display: inline-block; font-family: var(--narrow); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 8px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.badge.cat { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.badge.open { background: var(--green-soft); color: var(--green); border-color: transparent; }
.badge.closing, .badge.sponsor { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.expired, .badge.cancelled { background: var(--red-soft); color: var(--red); border-color: transparent; }
.badge.result { background: #e8eef6; color: #1f5f8b; border-color: transparent; }
.meta { color: var(--muted); font-size: 0.86rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* ---- Duyuru detayı ---- */
.detail { max-width: 780px; }
.detail .facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 18px 0; font-size: 0.97rem; }
.detail .facts dt { font-family: var(--narrow); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; color: var(--muted); padding-top: 2px; }
.detail .facts dd { margin: 0; }
.detail .body { white-space: pre-line; }
.history { padding-left: 18px; }
.notice { border-left: 5px solid var(--ink); background: var(--paper); padding: 12px 16px; margin: 16px 0; font-size: 0.95rem; }
.notice.warn { border-color: var(--yellow); background: #fffbe6; }
.notice.danger { border-color: var(--red); background: var(--red-soft); }
.notice.ok { border-color: var(--green); background: var(--green-soft); }
.notice.slim { padding: 8px 12px; }
figure { margin: 16px 0; }
figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ---- Reklam ---- */
.ad { border: 1px solid var(--line); background: var(--paper); padding: 12px 16px; margin: 0 0 32px; font-size: 0.93rem; }
.ad .ad-label { font-family: var(--narrow); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); display: block; margin-bottom: 4px; }
.ad img { display: block; max-height: 120px; margin-bottom: 6px; }
.ad a { text-decoration: none; }

/* ---- Alt bilgi ---- */
.site-footer { background: var(--board); color: #bdb9ad; padding: 28px 0 40px; font-size: 0.9rem; border-top: 5px solid var(--yellow); }
.site-footer a { color: #eae7dc; }
.site-footer strong { color: #fff; margin-right: 6px; }
.trust2 { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 30px; }

/* ---- Yönetim paneli ---- */
.site-header { background: var(--board); border-bottom: 5px solid var(--yellow); }
.site-header .top { display: flex; align-items: center; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: var(--yellow); text-decoration: none; margin-right: auto; letter-spacing: 0.01em; }
.brand span { color: var(--yellow); }
.site-header .hint { color: #bdb9ad; }
.site-header .btn.secondary, .site-header button.secondary { color: #fff; border-color: #fff; }
.site-header .btn.secondary:hover, .site-header button.secondary:hover { background: #2c2b28; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px 0 10px; }
.admin-nav a { text-decoration: none; color: #e4e1d6; padding: 5px 10px; font-size: 0.93rem; font-weight: 700; }
.admin-nav a[aria-current="page"], .admin-nav a:hover { background: var(--yellow); color: var(--ink); }
.admin-nav .count { background: var(--red); color: #fff; padding: 0 6px; font-size: 0.75rem; margin-left: 4px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 24px; }
.stat { border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 12px 14px; }
.stat .n { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.stat .l { color: var(--muted); font-size: 0.88rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--narrow); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.actions form { display: inline; margin: 0; }
.split { display: grid; gap: 24px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.panel { border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 16px; background: #fff; }
.source-text { max-height: 520px; overflow: auto; white-space: pre-wrap; font-size: 0.88rem; background: var(--paper); border: 1px solid var(--line); padding: 10px; }
mark { background: var(--yellow); color: inherit; }
.flash { padding: 10px 14px; margin-bottom: 16px; font-weight: 700; }
.flash.ok { background: var(--green-soft); color: var(--green); }
.flash.err { background: var(--red-soft); color: var(--red); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; word-break: break-all; }
.login { max-width: 400px; margin: 40px auto; }
.list { list-style: none; margin: 0; padding: 0; }
.item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.item h3 { font-size: 1.02rem; margin: 4px 0; }
.item p { margin: 4px 0; color: var(--muted); font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; }

/* ---- Duyarlı düzen ---- */
@media (max-width: 900px) {
  .front { grid-template-columns: 1fr; gap: 8px; }
  .split { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .q { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .mh-top { flex-wrap: wrap; padding-top: 12px; }
  .logo { font-size: 1.75rem; }
  .mh-date { font-size: 0.82rem; }
  .mh-search { width: 100%; }
  .mh-search input { width: auto; flex: 1; }
  .mh-nav { gap: 16px; margin-right: -16px; padding-right: 16px; }
  .mh-nav a { font-size: 0.92rem; }
  main { padding-top: 18px; }
  .searchbar { flex-wrap: wrap; }
  .searchbar input { flex: 1 1 100%; border-bottom: 1px solid var(--line); }
  .searchbar select { flex: 1; border-left: 0; padding: 10px 12px; }
  .searchbar button { padding: 10px 20px; }
  .tally { margin-bottom: 22px; font-size: 0.86rem; }
  .lead h3 { font-size: 1.6rem; }
  .rows .row { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
  .stamp { min-width: 54px; font-size: 0.64rem; }
  .stamp b { font-size: 1.2rem; }
  .row-title { font-size: 1rem; }
  .invite { flex-direction: column; align-items: flex-start; padding: 20px; }
  .detail .facts { grid-template-columns: 1fr; gap: 2px; }
  .detail .facts dd { margin-bottom: 8px; }
}

/* ---- Hizmet sayfaları ve paylaşım ---- */
.mh-sep { flex: none; width: 1px; background: #4a4840; margin: 2px 0; }
.actionbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.btn.wa { background: #1f8f4e; border-color: #1f8f4e; }
.btn.wa:hover { background: #17733e; }
.filters.slim { grid-template-columns: minmax(0, 260px) auto; justify-content: start; }
.pharm-group { margin-bottom: 26px; }
.pharm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 28px; }
.pharm { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pharm div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pharm-name { font-weight: 800; font-size: 1.05rem; }
.pharm-hours { font-family: var(--narrow); font-weight: 700; font-size: 0.85rem; background: var(--yellow); padding: 1px 7px; white-space: nowrap; }
.pharm-addr { margin: 4px 0 8px; color: var(--ink-2); font-size: 0.93rem; }
.pharm-tel { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 0.9rem; }
.cal { list-style: none; margin: 0; padding: 0; }
.cal li { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cal li > :not(.cal-date) { grid-column: 2; }
.cal-date { grid-row: span 4; font-family: var(--narrow); font-weight: 700; font-size: 1rem; }
.channels a { margin-right: 12px; }
@media (max-width: 600px) {
  .cal li { grid-template-columns: 1fr; }
  .cal li > * { grid-column: 1 !important; }
  .actionbar .btn { flex: 1 1 45%; text-align: center; }
}

/* ---- Menü: kaymayan üst menü, açılır "Hizmetler", telefonda "Menü" ---- */
.mh-nav { overflow: visible; padding: 6px 0 10px; }
.mh-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.mh-links a, .mh-more summary { color: #f1eee4; text-decoration: none; font-weight: 700; font-size: 0.98rem; white-space: nowrap; padding: 4px 0 2px; border-bottom: 2px solid transparent; }
.mh-links a:hover, .mh-links a[aria-current="page"], .mh-more summary:hover, .mh-more summary[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.mh-more { position: relative; }
.mh-more summary { list-style: none; cursor: pointer; display: inline-block; }
.mh-more summary::-webkit-details-marker, .mh-menu summary::-webkit-details-marker { display: none; }
.mh-more summary::after { content: ""; display: inline-block; margin-left: 7px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.mh-more details[open] summary::after { border-top-color: transparent; border-bottom-color: currentColor; transform: translateY(-3px); }
.mh-drop { position: absolute; left: -14px; top: calc(100% + 12px); z-index: 20; list-style: none; margin: 0; padding: 8px 0; min-width: 250px; background: #fff; border: 2px solid var(--ink); border-top: 5px solid var(--yellow); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18); }
.mh-drop a { display: block; color: var(--ink); padding: 9px 16px; border: 0; font-weight: 700; }
.mh-drop a:hover, .mh-drop a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.mh-menu { display: none; }
.mh-menu summary { list-style: none; cursor: pointer; color: var(--ink); background: var(--yellow); font-weight: 800; padding: 7px 14px; }
.mh-menu summary::before { content: ""; display: inline-block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; margin-right: 9px; vertical-align: 4px; }
.mh-menu[open] summary { background: #fff; }
.mh-menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--board); border-top: 1px solid #333; border-bottom: 5px solid var(--yellow); padding: 6px 16px 16px; }
.mh-menu-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mh-menu-panel a { display: block; color: #f1eee4; text-decoration: none; font-weight: 700; padding: 10px 0; border-bottom: 1px solid #2c2b28; }
.mh-menu-panel a[aria-current="page"] { color: var(--yellow); }
.mh-group { font-family: var(--narrow); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); margin: 14px 0 2px; }
.masthead { position: relative; }
@media (max-width: 760px) {
  .mh-nav { display: none; }
  .mh-menu { display: block; margin-left: auto; }
  .mh-top { flex-wrap: wrap; padding-bottom: 14px; }
  .mh-top .mh-search { order: 3; width: 100%; }
  .mh-date { display: none; }
}
@media (max-width: 380px) {
  .mh-menu-panel ul { grid-template-columns: 1fr; }
}

/* ---- Duyuru detayı: son gün kartı ---- */
.detail > .kicker a { color: inherit; text-decoration: none; }
.detail > .kicker a:hover { text-decoration: underline; }
.detail .inst { color: var(--muted); margin: -2px 0 16px; font-size: 1rem; }
.deadline-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--board); color: #eae7dc; padding: 18px 20px; border-top: 5px solid var(--yellow); margin: 0 0 18px; }
.deadline-card .stamp { color: var(--yellow); min-width: 78px; }
.deadline-card .stamp b { font-size: 1.8rem; }
.deadline-card.hot .stamp { color: #ff7a6b; }
.deadline-card.off { border-top-color: #6a675f; }
.deadline-card.off .stamp { color: #9a978e; }
.dc-text strong { display: block; color: #fff; font-size: 1.12rem; }
.dc-text span { color: #bdb9ad; }
.deadline-card.hot .dc-text span { color: #ff9c90; font-weight: 700; }
.dc-actions { display: flex; flex-direction: column; gap: 8px; }
.dc-actions .btn.secondary { color: #fff; border-color: #6a675f; }
.dc-actions .btn.secondary:hover { background: #2c2b28; }
.sharebar { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 0.92rem; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sharebar a { font-weight: 700; }
@media (max-width: 600px) {
  .deadline-card { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .dc-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .dc-actions .btn { flex: 1 1 45%; text-align: center; }
}

/* ======== Ana sayfa v4: Bölgem, Bugün şeridi, konulara göre ======== */
.homebar { display: flex; gap: 10px; align-items: stretch; margin-bottom: 10px; }
.homebar .searchbar { flex: 1; margin: 0; }
.regionpick { position: relative; flex: none; }
.regionpick summary { list-style: none; cursor: pointer; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 6px 34px 6px 14px; border: 2px solid var(--ink); background: var(--yellow); min-width: 150px; position: relative; }
.regionpick summary::-webkit-details-marker { display: none; }
.regionpick summary::after { content: ""; position: absolute; right: 13px; top: 50%; margin-top: -2px; border: 5px solid transparent; border-top-color: var(--ink); }
.regionpick[open] summary::after { margin-top: -8px; border-top-color: transparent; border-bottom-color: var(--ink); }
.rp-label { font-family: var(--narrow); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.1; }
.regionpick strong { font-size: 1rem; line-height: 1.2; }
.regionpick ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; list-style: none; margin: 0; padding: 6px 0; min-width: 190px; background: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18); }
.regionpick ul a { display: block; padding: 9px 16px; text-decoration: none; font-weight: 700; }
.regionpick ul a:hover { background: var(--paper); }
.regionpick ul a[aria-current="true"] { background: var(--yellow); }
.regionpick ul a[aria-current="true"]::after { content: " ✓"; }

.daystrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 4px 0 34px; }
.daycard { display: flex; flex-direction: column; border: 2px solid var(--ink); padding: 12px 14px 10px; margin: 0; background: #fff; min-height: 170px; }
.daycard.hot { border-color: var(--red); }
.dc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; text-decoration: none; }
.dc-label { font-family: var(--narrow); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dc-big { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.daycard.hot .dc-big, .daycard.hot .dc-label { color: var(--red); }
.dc-sub { margin: 2px 0 6px; font-size: 0.82rem; color: var(--muted); }
.dc-sub .warn { color: var(--red); font-weight: 700; }
.daycard ul { list-style: none; margin: 4px 0 0; padding: 0; flex: 1; }
.daycard li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 0.9rem; line-height: 1.3; }
.daycard li:first-child { border-top: 0; }
.daycard li a { text-decoration: none; display: flex; gap: 8px; }
.daycard li a:hover .mr-title { text-decoration: underline; }
.ph-name { display: block; font-weight: 800; font-size: 0.9rem; }
.ph-tel { font-size: 0.86rem; font-weight: 700; }
.mr-date { flex: none; font-family: var(--display); font-size: 0.95rem; min-width: 38px; }
.mr-date.red { color: var(--red); }
.mr-title { font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-empty { flex: 1; margin: 6px 0 0; font-size: 0.86rem; color: var(--muted); }
.dc-more { font-size: 0.82rem; font-weight: 700; text-decoration: none; margin-top: 6px; color: var(--muted); }
.dc-more:hover { color: var(--ink); text-decoration: underline; }

.sec-note { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.topic-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; margin-top: 10px; }
.tblock { margin: 0 0 18px; }
.tblock h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; }
.tblock h3 a { text-decoration: none; display: flex; align-items: center; }
.tblock h3 a:hover { text-decoration: underline; }
.tb-count { margin-left: auto; font-family: var(--narrow); font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.tblock ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.tblock li a { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.tblock li a:hover .tb-title { text-decoration: underline; }
.tb-title { font-weight: 700; font-size: 0.95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-meta { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.tb-meta .hot { color: var(--red); font-weight: 700; }
.tb-more { display: inline-block; margin-top: 8px; font-size: 0.85rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.tb-more:hover { color: var(--ink); text-decoration: underline; }
.front.lower { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }

@media (max-width: 980px) {
  .daystrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daystrip > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .topic-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .homebar { flex-direction: column; gap: 8px; }
  .homebar .searchbar { flex-wrap: nowrap; }
  .homebar .searchbar input { flex: 1; border-bottom: 0; padding: 10px 12px; }
  .homebar .searchbar button { padding: 0 16px; }
  .regionpick summary { flex-direction: row; align-items: baseline; gap: 8px; padding: 8px 34px 8px 12px; min-width: 0; }
  .regionpick ul { left: 0; right: auto; }
  .tally { margin-bottom: 14px; }
  .daystrip { gap: 8px; margin-bottom: 24px; }
  .daycard { min-height: 0; padding: 10px 11px 8px; }
  .daycard li:nth-child(n+2) { display: none; }
  .dc-big { font-size: 1.5rem; }
  .dc-label { font-size: 0.74rem; }
  .topic-blocks { grid-template-columns: 1fr; }
}
.rows.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.rows.two li:nth-last-child(-n+2) .row { border-bottom: 0; }
@media (max-width: 900px) {
  .front.lower { grid-template-columns: 1fr; }
  .rows.two { grid-template-columns: 1fr; }
  .rows.two li:nth-last-child(2) .row { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .dc-empty { font-size: 0.8rem; line-height: 1.35; }
  .dc-sub { font-size: 0.76rem; }
}
/* Kategori noktaları */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; flex: none; background: #999; }
.dot-ihaleler { background: #b3261e; }
.dot-devlet-sinavlar { background: #1f5f8b; }
.dot-arac-ulasim { background: #c77700; }
.dot-egitim-burslar { background: #2f7d4f; }
.dot-belediyeler { background: #6b4fa0; }
.dot-destek-hibeler { background: #c0507a; }
.dot-gunluk-yasam { background: #4d6b73; }
/* Alt başlık sekmeleri */
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.subtabs a { text-decoration: none; font-weight: 700; padding: 7px 14px; border: 2px solid var(--ink); }
.subtabs a span { font-weight: 400; color: var(--muted); margin-left: 4px; }
.subtabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.subtabs a[aria-current="page"] span { color: #cfccc3; }
.subtabs a:hover { background: var(--yellow); color: var(--ink); }
.subtabs a.aside { border-color: transparent; margin-left: auto; }
.report { margin: 26px 0; border: 1px solid var(--line); background: var(--paper); }
.report summary { cursor: pointer; padding: 12px 16px; font-weight: 700; }
.report form { padding: 0 16px 16px; }
.report fieldset { background: #fff; }
/* Takip düğmesi ve arama önerileri */
.follow { background: #fff; color: var(--ink); padding: 5px 12px; font-size: 0.9rem; }
.follow[aria-pressed="true"] { background: var(--yellow); border-color: var(--ink); }
.suggest { position: absolute; left: -2px; right: -2px; top: 100%; z-index: 40; list-style: none; margin: 0; padding: 0; background: #fff; border: 2px solid var(--ink); border-top: 0; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15); }
.suggest a { display: flex; flex-direction: column; padding: 9px 14px; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink); }
.suggest a:hover, .suggest a:focus { background: var(--paper); }
.suggest a strong { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.suggest a span { font-size: 0.8rem; color: var(--muted); }
.suggest .all button { width: 100%; text-align: left; background: var(--paper); color: var(--ink); border: 0; font-weight: 700; padding: 9px 14px; }
.mh-search .suggest { color: var(--ink); min-width: 320px; left: auto; right: 0; }

/* Sade menü: konular | üç sabit bağlantı */
.mh-gap { width: 1px; height: 18px; background: #4a4843; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* Sabit deneme kopyası */
.demo-banner { background: var(--yellow); color: var(--ink); font-size: 0.88rem; line-height: 1.4; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.15); }
.demo-banner .wrap { display: block; }
.demo-banner strong { font-weight: 800; margin-right: 6px; }
.internal-jobs summary { list-style: none; cursor: pointer; }
.internal-jobs summary::-webkit-details-marker { display: none; }
.internal-jobs summary .sec::after { content: " +"; color: var(--muted); }
.internal-jobs[open] summary .sec::after { content: " –"; }

/* ---- Menü (v3): tek satır, iki grup. Solda hızlı erişim, sağda konular; asla iki satıra kırılmaz ---- */
.mh-nav { background: #1c1b19; border-top: 1px solid #2e2d2a; padding: 0; }
.mh-nav .wrap { position: relative; }
.mh-links { flex-wrap: nowrap; gap: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mh-links::-webkit-scrollbar { display: none; }
.mh-links > li { flex: none; }
.mh-links a { display: block; padding: 11px 12px 9px; font-size: 0.93rem; color: #d9d5c8; border-bottom: 3px solid transparent; }
.mh-links > li:first-child a { padding-left: 0; }
.mh-links a:hover { color: #fff; border-bottom-color: #6b6858; }
.mh-links a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.mh-links .hl a { color: var(--ink); background: var(--yellow); padding: 5px 12px 4px; margin: 6px 6px 6px 0; border: 0; border-radius: 2px; }
.mh-links .hl a:hover, .mh-links .hl a[aria-current="page"] { background: #fff; color: var(--ink); }
.mh-sep { width: 1px; height: 18px; background: #4a4843; margin: 0 8px 0 4px; flex: none; }
.mh-top { padding-bottom: 14px; }
/* Telefon menüsü: gruplu */
.mh-menu-panel { padding: 4px 16px 18px; max-height: calc(100vh - 80px); overflow-y: auto; }
.mh-menu-panel .mh-group { margin: 16px 0 4px; }
.mh-menu-panel ul.mh-quick { grid-template-columns: 1fr 1fr; gap: 8px; }
.mh-menu-panel ul.mh-quick a { background: #26251f; border: 0; padding: 11px 12px; }
.mh-menu-panel ul.mh-quick li:first-child a { background: var(--yellow); color: var(--ink); }
.mh-links > li.hl:first-child a { padding: 5px 12px 4px; }
@media (max-width: 1120px) {
  .mh-links a { padding: 11px 8px 9px; font-size: 0.88rem; }
  .mh-sep { margin: 0 4px 0 2px; }
}
@media (max-width: 920px) {
  .mh-links a { padding: 11px 6px 9px; font-size: 0.84rem; }
  .mh-links .hl a { padding: 5px 9px 4px; }
}
/* Tablet ve telefonda tek satır menü sığmaz: gruplu "Menü" kullanılır */
@media (max-width: 900px) {
  .mh-nav { display: none; }
  .mh-menu { display: block; margin-left: auto; }
  .mh-top { flex-wrap: wrap; }
  .mh-top .mh-search { order: 3; width: 100%; }
  .mh-top .mh-search input { flex: 1; width: auto; }
}
.mh-links { min-width: 0; max-width: 100%; }

/* ---- Yönetim: istatistik paneli ---- */
.tabs { display: flex; gap: 6px; margin: 0 0 16px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--yellow); }
.kpis .stat small { font-family: var(--sans, inherit); font-size: 0.78rem; color: var(--muted); }
.kpis .stat.live { border-top-color: #1f8f4e; }
.kpis .stat.live .n { color: #1f8f4e; }
.kpis small.up { color: #1f8f4e; } .kpis small.down { color: var(--red); }
.chart { width: 100%; height: auto; display: block; }
.hbars { list-style: none; margin: 0; padding: 0; }
.hbars li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 10px; align-items: center; padding: 5px 0; font-size: 0.92rem; }
.hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-track { background: #efece3; height: 10px; }
.hb-fill { display: block; height: 10px; background: var(--ink); }
.hb-fill.w0 { width: 0%; }
.hb-fill.w5 { width: 5%; }
.hb-fill.w10 { width: 10%; }
.hb-fill.w15 { width: 15%; }
.hb-fill.w20 { width: 20%; }
.hb-fill.w25 { width: 25%; }
.hb-fill.w30 { width: 30%; }
.hb-fill.w35 { width: 35%; }
.hb-fill.w40 { width: 40%; }
.hb-fill.w45 { width: 45%; }
.hb-fill.w50 { width: 50%; }
.hb-fill.w55 { width: 55%; }
.hb-fill.w60 { width: 60%; }
.hb-fill.w65 { width: 65%; }
.hb-fill.w70 { width: 70%; }
.hb-fill.w75 { width: 75%; }
.hb-fill.w80 { width: 80%; }
.hb-fill.w85 { width: 85%; }
.hb-fill.w90 { width: 90%; }
.hb-fill.w95 { width: 95%; }
.hb-fill.w100 { width: 100%; }
.hb-n { font-weight: 700; min-width: 3ch; text-align: right; } .hb-n small { color: var(--muted); font-weight: 400; }
.toplist { margin: 0; padding-left: 20px; } .toplist li { padding: 4px 0; }
.warn-text { color: var(--red); }
.panel table td.mono { word-break: break-all; font-size: 0.8rem; }
.panel.health .bad { color: var(--red); margin-bottom: 4px; }
.panel.health .meh { color: #8a5a00; margin: 12px 0 4px; }
.bulkbar { display: grid; gap: 8px; position: sticky; top: 0; z-index: 5; background: #fff; }
.warn-box { background: #fff4d6; padding: 8px 10px; border-left: 4px solid #d99a00; }
.home-jobs { margin: 0 0 34px; }
.home-jobs .sec { border-bottom-color: var(--yellow); }
.jobs-exams { margin: 10px 0 0; font-size: 0.92rem; }
.bulk-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.bulk-steps .check.inline { display: inline-flex; margin-left: 8px; font-weight: 400; }
