/* =========================================================
   İscehisar Belediyesi — Alt sayfalar
   (style.css'teki renk ve yazı tipi değişkenlerini kullanır)
   ========================================================= */

/* ---------- Sayfa üst bandı ---------- */
.phero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: calc(150px + clamp(20px, 4vw, 56px)) 0 clamp(70px, 8vw, 110px);
    background: var(--navy-900); color: #fff;
}
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.08); animation: pheroIn 2.4s var(--ease) forwards; }
@keyframes pheroIn { to { transform: scale(1); } }
.phero__shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(6,26,61,.94) 0%, rgba(6,26,61,.72) 45%, rgba(10,35,80,.35) 100%),
        linear-gradient(0deg, rgba(6,26,61,.75), transparent 55%);
}
/* alt kenar: mermer zemine yumuşak kavisle geçiş */
.phero::after {
    content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 46px;
    background: var(--marble); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.phero__inner { position: relative; max-width: 1240px; }
.phero__title {
    margin: 12px 0 0; max-width: 900px;
    font: 700 clamp(2.2rem, 5vw, 4rem)/1.04 var(--f-head); letter-spacing: -.045em;
}
.crumbs + .phero__title { margin-top: 26px; }

/* Sayfa yolu */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .8rem; color: rgba(255,255,255,.7); }
.crumbs a { display: inline-flex; align-items: center; padding: 4px 0; transition: color .25s; }
.crumbs a:hover { color: #fff; }
.crumbs > a:first-child {
    width: 30px; height: 30px; justify-content: center; border-radius: 50%;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
}
.crumbs > a:first-child:hover { background: rgba(255,255,255,.2); }
.crumbs__sep { opacity: .4; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Ortak bölüm düzeni ---------- */
.psec { padding: clamp(36px, 5vw, 64px) 0 clamp(80px, 9vw, 120px); background: var(--marble); }
.playout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.playout:has(> .pside--left) { grid-template-columns: 290px minmax(0, 1fr); }
.playout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.pside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }

.plist__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.plist__count { margin: 0; color: var(--muted); font-size: .9rem; }
.plist__count b { color: var(--navy-800); font-family: var(--f-head); font-size: 1.05rem; }

.empty {
    padding: 48px 28px; text-align: center; color: var(--muted);
    background: #fff; border: 1px dashed rgba(20,32,56,.18); border-radius: var(--radius);
}
.empty p { margin: 0 auto; max-width: 520px; }
.empty p a { color: var(--blue); font-weight: 700; }
.empty--big { padding: 70px 28px; display: grid; justify-items: center; gap: 20px; }
.empty__code { font: 700 clamp(4rem, 12vw, 7rem)/1 var(--f-head); letter-spacing: -.06em; color: var(--navy-800); opacity: .15; }

.pblock__title {
    display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
    font: 700 1.2rem var(--f-head); letter-spacing: -.02em; color: var(--navy-800);
}
.pblock__title .ic { color: var(--red); }
.pblock__title small { font: 700 .72rem var(--f-body); padding: 3px 9px; border-radius: 999px; background: rgba(29,92,196,.1); color: var(--blue); }

/* ---------- Kategori sekmeleri ---------- */
.ptabs { margin: 0 0 30px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs__track { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ptab {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 10px 18px; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--navy-700);
    transition: background .3s, color .3s;
}
.ptab:hover { background: rgba(29,92,196,.08); color: var(--blue); }
.ptab.is-on { background: var(--navy-800); color: #fff; box-shadow: 0 8px 18px -10px rgba(10,35,80,.7); }
.ptab__ic { display: inline-flex; color: var(--blue); }
.ptab.is-on .ptab__ic { color: var(--sky); }
.ptab small { font-size: .72rem; opacity: .6; }
.ptab .ic-rings { width: 1.5em; }

/* ---------- Kart ızgarası (haberler / duyurular / projeler) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.pcard { display: flex; }
.pcard__link {
    flex: 1; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pcard__link:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10,35,80,.45); border-color: rgba(29,92,196,.25); }
.pcard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--marble-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard__link:hover .pcard__img img { transform: scale(1.06); }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,26,61,.35), transparent 50%); opacity: 0; transition: opacity .5s; }
.pcard__link:hover .pcard__img::after { opacity: 1; }
.pcard__tag {
    position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px;
    background: rgba(255,255,255,.92); color: var(--navy-800); backdrop-filter: blur(6px);
    font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.pcard__date { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.pcard__date .ic { color: var(--red); }
.pcard__title {
    font: 700 1.08rem/1.35 var(--f-head); letter-spacing: -.015em; color: var(--navy-800);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s;
}
.pcard__link:hover .pcard__title { color: var(--blue); }
.pcard__ex { font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; color: var(--blue); }
.pcard__more .ic { transition: transform .35s var(--ease); }
.pcard__link:hover .pcard__more .ic { transform: translateX(5px); }

/* İlk sayfadaki öne çıkan kart: yatay, iki sütun genişliğinde */
.pgrid--featured .pcard--big { grid-column: span 3; }
.pcard--big .pcard__link { flex-direction: row; }
.pcard--big .pcard__img { flex: 0 0 58%; aspect-ratio: auto; min-height: 380px; }
.pcard--big .pcard__body { justify-content: center; gap: 16px; padding: clamp(26px, 3.5vw, 48px); }
.pcard--big .pcard__title { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -.03em; -webkit-line-clamp: 4; }
.pcard--big .pcard__ex { font-size: .98rem; -webkit-line-clamp: 4; }
.pcard--big .pcard__more { margin-top: 8px; }

/* ---------- Sayfalama ---------- */
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 46px; }
.pager__num, .pager__nav {
    min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px;
    background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy-800);
    transition: background .25s, color .25s, border-color .25s;
}
.pager__num:hover, .pager__nav:hover { border-color: var(--blue); color: var(--blue); }
.pager__num.is-on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pager__nav { color: var(--blue); }
.pager__nav:not(.pager__nav--next) .ic { transform: rotate(180deg); }
.pager__nav.is-off { opacity: .35; pointer-events: none; }
.pager__gap { padding: 0 4px; color: var(--muted); }

/* ---------- Detay sayfası ---------- */
.article { min-width: 0; background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: clamp(22px, 4vw, 48px); box-shadow: 0 30px 60px -50px rgba(10,35,80,.5); }
.article__head { margin-bottom: 26px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .ic { color: var(--red); }
.article__title { font: 700 clamp(1.6rem, 3.2vw, 2.5rem)/1.15 var(--f-head); letter-spacing: -.035em; color: var(--navy-800); }
.article__cover { margin: 0 0 30px; border-radius: 18px; overflow: hidden; background: var(--marble-2); }
.article__cover a { display: block; cursor: zoom-in; }
.article__cover img { width: 100%; max-height: 640px; object-fit: cover; }
.article__cover--doc img { max-height: none; object-fit: contain; background: #fff; }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.ncards__more--back span .ic { transform: rotate(180deg); }
.ncards__more--back:hover span { transform: translateX(-4px); }

/* İçerik tipografisi */
.prose { font-size: 1.04rem; line-height: 1.8; color: #2a3550; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; color: var(--navy-800); letter-spacing: -.02em; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.25rem; } .prose h4 { font-size: 1.1rem; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--navy-800); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--sky); transform: rotate(45deg); }
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: .45em; padding-left: 4px; }
.prose ol li::marker { color: var(--blue); font-weight: 700; }
.prose img { height: auto; border-radius: 14px; margin: 1.4em auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; margin: 1em 0; }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--sky); background: var(--marble); border-radius: 0 14px 14px 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose td, .prose th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:nth-child(even) td { background: #fafaf7; }
.prose tr:first-child td, .prose th { background: var(--navy-800); color: #fff; font-weight: 700; }
.prose--page { font-size: 1.05rem; }
.prose--lead > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--navy-800); font-weight: 500; }

/* Galeri */
.pgallery, .pfiles { margin-top: 40px; }
.pgallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pgallery__item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--marble-2); cursor: zoom-in; }
.pgallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pgallery__item:hover img { transform: scale(1.08); }
.pgallery__zoom {
    position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
    background: rgba(6,26,61,.45); opacity: 0; transition: opacity .35s;
}
.pgallery__item:hover .pgallery__zoom { opacity: 1; }

/* Belge bağlantısı */
.pfiles ul { display: grid; gap: 10px; }
.doclink {
    display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.doclink:hover { border-color: rgba(29,92,196,.35); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(10,35,80,.5); }
.doclink__ic { position: relative; width: 48px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(29,92,196,.1); color: var(--blue); }
.doclink__ic b { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 5px; background: var(--blue); color: #fff; font-size: .58rem; letter-spacing: .04em; }
.doclink--pdf .doclink__ic { background: rgba(217,58,43,.1); color: var(--red); }
.doclink--pdf .doclink__ic b { background: var(--red); }
.doclink--excel .doclink__ic { background: rgba(22,128,72,.1); color: #168048; }
.doclink--excel .doclink__ic b { background: #168048; }
.doclink__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doclink__text strong { color: var(--navy-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doclink__text small { color: var(--muted); font-size: .78rem; }
.doclink__go { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--marble); color: var(--navy-800); transition: background .3s, color .3s; }
.doclink:hover .doclink__go { background: var(--blue); color: #fff; }

/* Paylaş */
.share { display: flex; align-items: center; gap: 6px; }
.share__label { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.share a, .share button {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
    background: var(--marble); border: 1px solid var(--line); color: var(--navy-800); font: inherit;
    transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.share a:hover, .share button:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; transform: translateY(-2px); }
.share button.is-done { background: #168048; border-color: #168048; color: #fff; }

/* Yan kutular */
.sbox { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; }
.sbox__title { font: 700 1.05rem var(--f-head); color: var(--navy-800); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); position: relative; }
.sbox__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 2px; background: var(--red); border-radius: 2px; }
.slist li + li { border-top: 1px solid var(--line); }
.slist a { display: flex; gap: 14px; align-items: center; padding: 12px 0; }
.slist__img { width: 74px; height: 58px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--marble-2); }
.slist__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.slist a:hover .slist__img img { transform: scale(1.1); }
.slist__text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.slist__text strong { font-size: .88rem; line-height: 1.35; font-weight: 700; color: var(--navy-800); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s; }
.slist a:hover strong { color: var(--blue); }
.slist__text small { font-size: .75rem; color: var(--muted); }
.sbox__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .85rem; font-weight: 800; color: var(--blue); }

/* Yan menü (sayfa grupları) */
.snav { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 12px; }
.snav__title { display: block; padding: 10px 12px 14px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.snav a {
    --duo-d: var(--blue); --duo-l: #a9c9f2;
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
    font-size: .92rem; font-weight: 600; color: var(--navy-800); transition: background .25s, color .25s;
}
.snav a:hover { background: var(--marble); }
.snav a.is-on { background: var(--navy-800); color: #fff; --duo-d: #fff; --duo-l: rgba(255,255,255,.35); }
.snav__ic { display: grid; place-items: center; width: 30px; flex-shrink: 0; }
.snav__ic .duo { --duo-d: inherit; }
.snav a .duo { --duo-d: var(--duo-d); }

/* ---------- Lightbox ---------- */
.lb {
    position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
    background: rgba(6,16,36,.94); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb__img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .4s var(--ease); }
.lb.open .lb__img { transform: none; }
.lb__btn {
    position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .25s;
}
.lb__btn:hover { background: rgba(255,255,255,.22); }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__prev .ic { transform: rotate(180deg); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .85rem; font-weight: 700; letter-spacing: .1em; }
.lb.single .lb__prev, .lb.single .lb__next, .lb.single .lb__count { display: none; }

/* =========================================================
   Meclis kararları
   ========================================================= */
.decis { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.decis__years { position: sticky; top: 100px; }
.decis__yearsbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px 18px; }
.decis__label { display: block; padding: 0 8px 12px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.years { display: grid; gap: 4px; }
.years__item {
    position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    padding: 11px 14px; border-radius: 12px; color: var(--navy-800); transition: background .25s, color .25s;
}
.years__item span { font: 700 1.25rem var(--f-head); letter-spacing: -.02em; }
.years__item small { font-size: .76rem; color: var(--muted); }
.years__item:hover { background: var(--marble); }
.years__item.is-on { background: linear-gradient(100deg, var(--navy-800), var(--blue)); color: #fff; box-shadow: 0 14px 26px -16px rgba(10,35,80,.8); }
.years__item.is-on small { color: rgba(255,255,255,.75); }
.years-select { display: none; }
.decis__note { display: flex; align-items: center; gap: 8px; margin: 14px 8px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

.decis__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.decis__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy-800); }
.decis__head h2 em { font-style: normal; background: linear-gradient(100deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.decis__count { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.decis__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.decision {
    display: flex; align-items: center; gap: 20px; padding: 16px 18px 16px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    transition: border-color .3s, box-shadow .45s var(--ease), transform .45s var(--ease), opacity .9s var(--ease);
}
.decision:hover { border-color: rgba(29,92,196,.3); box-shadow: 0 18px 34px -24px rgba(10,35,80,.5); }
.decision__cal {
    width: 64px; flex-shrink: 0; overflow: hidden; border-radius: 12px; text-align: center;
    background: var(--marble); border: 1px solid var(--line);
}
.decision__cal b { display: block; padding: 4px 0; background: var(--red); color: #fff; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.decision__cal span { display: block; padding: 6px 0 7px; font: 700 1.5rem/1 var(--f-head); color: var(--navy-800); }
.decision__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.decision__text strong { font: 700 1.05rem/1.35 var(--f-head); color: var(--navy-800); letter-spacing: -.01em; }
.decision__text small { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.decision__btn {
    display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 11px 18px; border-radius: 999px;
    background: var(--navy-800); color: #fff; font-size: .86rem; font-weight: 700;
    transition: background .3s, transform .3s var(--ease);
}
.decision__btn:hover { background: var(--blue); transform: translateY(-2px); }

/* =========================================================
   Cenaze ilanları — sakin, gri tonlar
   ========================================================= */
.mourning .phero__bg img { filter: grayscale(1) contrast(.9); opacity: .4; }
.mourning .phero__shade { background: linear-gradient(90deg, rgba(22,26,33,.95), rgba(30,35,44,.75) 55%, rgba(30,35,44,.45)), linear-gradient(0deg, rgba(22,26,33,.7), transparent 60%); }
.mourning .phero { background: #1a1e26; }
.mourning .phero::after, .mourning .psec { background: #f3f2ef; }
.mourning .phero__title { font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em; }

.obit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.obit-month {
    grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 18px 0 2px;
    font: 600 .8rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #6b7280;
}
.obit-month:first-child { margin-top: 0; }
.obit-month::after { content: ""; flex: 1; height: 1px; background: rgba(0,0,0,.1); }
.obit {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px;
    background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; color: #2b2f36;
    transition: border-color .3s, box-shadow .45s var(--ease), transform .45s var(--ease), opacity .9s var(--ease);
}
/* sol üst köşede ince siyah yas şeridi */
.obit::before { content: ""; position: absolute; top: 0; left: 24px; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: #2b2f36; }
.obit:hover { border-color: rgba(0,0,0,.18); box-shadow: 0 18px 36px -26px rgba(0,0,0,.45); transform: translateY(-3px); }
.obit__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.obit__dove { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f1f1ee; color: #6b7280; }
.obit__date { font-size: .78rem; color: #6b7280; }
.obit__name { font: 400 1.5rem/1.2 var(--f-display); color: #1f2329; letter-spacing: -.01em; }
.obit__name small { font: 500 .95rem var(--f-body); color: #6b7280; }
.obit__info { display: flex; align-items: flex-start; gap: 8px; font-size: .86rem; color: #555b64; }
.obit__info .ic { color: #9aa0a8; margin-top: 3px; }
.obit__ex { font-size: .88rem; color: #555b64; }
.obit__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: #3d434c; }
.obit:hover .obit__more { color: #1f2329; }

.obit-detail {
    max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 60px) clamp(22px, 5vw, 64px);
    background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 24px; text-align: center; position: relative;
}
.obit-detail::before { content: ""; position: absolute; top: 0; left: 50%; width: 70px; height: 4px; transform: translateX(-50%); border-radius: 0 0 4px 4px; background: #2b2f36; }
.obit-detail .obit__dove { width: 58px; height: 58px; margin: 0 auto 14px; }
.obit-detail__kicker { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #6b7280; }
.obit-detail__name { margin: 10px 0 6px; font: 400 clamp(2rem, 5vw, 3rem)/1.1 var(--f-display); color: #1f2329; letter-spacing: -.02em; }
.obit-detail__age { margin: 0; color: #6b7280; }
.obit-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 30px; }
.obit-facts li { display: flex; flex-direction: column; padding: 10px 18px; border-radius: 12px; background: #f5f5f2; font-weight: 600; color: #2b2f36; font-size: .92rem; }
.obit-facts small { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8a9099; }
.obit-detail__text { text-align: left; color: #3d434c; }
.obit-detail__text a { color: inherit; }
.obit-detail__img { margin: 30px auto 0; max-width: 460px; border-radius: 14px; overflow: hidden; }
.obit-detail__img a { cursor: zoom-in; }
.obit-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-size: .88rem; font-weight: 700; color: #3d434c; }
.obit-back .ic { transform: rotate(180deg); }
.obit-more { max-width: 1040px; margin: 56px auto 0; }
.obit-more__title { margin-bottom: 18px; font: 400 1.6rem var(--f-display); color: #1f2329; text-align: center; }

/* =========================================================
   Başkan sayfası
   ========================================================= */
.mhero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff;
    background: radial-gradient(120% 90% at 80% 40%, #12336f 0%, var(--navy-900) 60%);
    padding-top: 140px;
}
.mhero__bg { position: absolute; inset: 0; z-index: -2; }
.mhero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(.3); }
.mhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-900) 20%, transparent 70%); }
.mhero__lines { position: absolute; z-index: -1; right: -8%; top: 50%; width: min(900px, 90vw); transform: translateY(-46%); fill: none; stroke: rgba(47,178,232,.16); stroke-width: 1; }
.mhero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 30px; min-height: min(78vh, 720px); }
.mhero__text { align-self: center; padding: 30px 0 80px; }
.mhero__name { margin: 30px 0 0; display: flex; flex-direction: column; line-height: .95; }
.mhero__first { font: 400 clamp(3.4rem, 8vw, 6.4rem)/1 var(--f-script); color: #fff; margin-left: -.04em; }
.mhero__last {
    font: 700 clamp(2.6rem, 6.4vw, 5.4rem)/1 var(--f-head); letter-spacing: -.05em; margin-top: -.12em;
    background: linear-gradient(100deg, #fff 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mhero__lead { max-width: 520px; margin: 26px 0 0; color: rgba(255,255,255,.78); font-size: 1.06rem; }
.mhero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mhero__social { display: flex; gap: 8px; margin-top: 28px; }
.mhero__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .3s, transform .3s var(--ease); }
.mhero__social a:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.mhero__portrait { position: relative; display: flex; justify-content: center; align-self: end; }
.mhero__portrait img { position: relative; height: min(70vh, 640px); width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); animation: mayorUp 1.4s var(--ease) both .2s; }
@keyframes mayorUp { from { opacity: 0; transform: translateY(40px); } }
.mhero__halo {
    position: absolute; bottom: 8%; left: 50%; width: min(460px, 80%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(47,178,232,.45), rgba(29,92,196,.15) 55%, transparent 70%);
}
.mbio { background: var(--marble); }
.mbio__grid { display: block; }
.mbio__text { max-width: 860px; margin-inline: auto; }

/* Yol haritası: çizgi üzerinde noktalar + kartlar */
.mtime { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 44px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: mt; }
.mtime::before { content: ""; position: absolute; left: 30px; right: 30px; top: 11px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--sky) 70%, var(--red)); opacity: .55; }
.mtime__item {
    position: relative; display: flex; flex-direction: column; padding: 26px 22px 24px; background: #fff;
    border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.mtime__item::before { content: ""; position: absolute; left: 29px; top: -26px; width: 2px; height: 26px; background: linear-gradient(var(--sky), rgba(47,178,232,0)); opacity: .6; }
.mtime__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(47,178,232,.45); }
.mtime__dot {
    position: absolute; top: -41px; left: 22px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 6px var(--marble); transition: background .3s, transform .3s var(--ease);
}
.mtime__item:hover .mtime__dot { background: var(--sky); transform: scale(1.2); }
.mtime__year { display: block; font: 700 2.1rem/1 var(--f-head); letter-spacing: -.04em; color: var(--blue); margin-bottom: 14px; }
.mtime__item strong { display: block; color: var(--navy-800); font-size: 1.02rem; margin-bottom: 6px; }
.mtime__item p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.mtime__item:last-child { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border-color: transparent; }
.mtime__item:last-child .mtime__dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px var(--marble), 0 0 0 11px rgba(217,58,43,.18); }
.mtime__item:last-child .mtime__year { color: var(--sky); }
.mtime__item:last-child strong { color: #fff; }
.mtime__item:last-child p { color: rgba(255,255,255,.72); }

.mmsg { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; }
.mmsg__head { margin-bottom: 40px; }
.mmsg__head h2 { margin-top: 14px; }
.mmsg__head h2 em { color: var(--sky); }
.mmsg__letter { position: relative; max-width: 860px; margin-bottom: 40px; padding: 40px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.mmsg__letter .prose { color: rgba(255,255,255,.85); }
.mmsg__letter .prose strong { color: #fff; }
.mmsg__sign { display: block; margin-top: 20px; font: 400 2rem var(--f-script); text-align: right; }
.mmsg__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mmsg__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .45s var(--ease), border-color .3s, opacity .9s var(--ease); }
.mmsg__card:hover { background: rgba(255,255,255,.1); border-color: rgba(47,178,232,.5); transform: translateY(-5px); }
.mmsg__img { aspect-ratio: 4 / 3; overflow: hidden; background: rgba(255,255,255,.08); }
.mmsg__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mmsg__card:hover .mmsg__img img { transform: scale(1.06); }
.mmsg__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.mmsg__body small { color: rgba(255,255,255,.6); font-size: .78rem; }
.mmsg__body strong { font: 700 1rem/1.35 var(--f-head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mmsg__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--sky); }

.mnews { background: #fff; }
.mwrite { background: var(--marble); padding-top: 0; }
.mnews + .mwrite { padding-top: clamp(70px, 9vw, 120px); }
.mwrite__card {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center;
    padding: clamp(30px, 5vw, 64px); border-radius: 28px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
    background: linear-gradient(120deg, var(--navy-800), var(--blue));
}
.mwrite__card::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.mwrite__text h2 { margin: 14px 0 16px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.mwrite__text h2 em { color: #bfe9ff; font-style: normal; }
.mwrite__text p { margin: 0; color: rgba(255,255,255,.8); }
.mwrite__ways { display: grid; gap: 12px; }
.mwrite__ways a {
    display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
    padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    transition: background .3s, transform .35s var(--ease);
}
.mwrite__ways a:hover { background: rgba(255,255,255,.18); transform: translateX(4px); }
.mwrite__ways a > span { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--blue); }
.mwrite__ways small { font-size: .74rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.mwrite__ways strong { font-size: 1.02rem; word-break: break-all; }

/* =========================================================
   Kurumsal kadro
   ========================================================= */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; gap: 20px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.person__img { position: relative; width: 120px; height: 150px; flex-shrink: 0; overflow: hidden; border-radius: 14px; background: var(--marble-2); display: grid; place-items: center; color: rgba(10,35,80,.25); }
.person__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 1.2rem; color: var(--navy-800); }
.person__role { margin: 4px 0 12px; font-size: .86rem; font-weight: 700; color: var(--red); }
.person__meta { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.person__meta li { display: flex; align-items: center; gap: 8px; }
.person__meta .ic { color: var(--blue); }
.person__bio { margin-top: 12px; font-size: .9rem; }

/* =========================================================
   İletişim
   ========================================================= */
.cways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.cway {
    display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line);
    transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease);
}
a.cway:hover { border-color: rgba(29,92,196,.35); transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(10,35,80,.5); }
.cway__ic { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 14px; background: rgba(29,92,196,.1); color: var(--blue); }
.cway--wa .cway__ic { background: rgba(37,211,102,.14); color: #1aa851; }
.cway small { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cway strong { font: 700 1.12rem var(--f-head); color: var(--navy-800); word-break: break-word; }
.cmain { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cmap { position: relative; overflow: hidden; border-radius: 24px; background: var(--marble-2); border: 1px solid var(--line); }
.cmap iframe { display: block; width: 100%; height: 520px; border: 0; filter: grayscale(.3); }
.cmap__addr {
    position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.cmap__addr > .ic { color: var(--red); }
.cmap__addr > span { flex: 1; min-width: 180px; display: flex; flex-direction: column; font-weight: 600; color: var(--navy-800); font-size: .92rem; }
.cmap__addr small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmap__addr .btn { padding: 11px 18px; font-size: .86rem; }
.units { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.units__list { display: grid; }
.unit { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.unit strong { color: var(--navy-800); font-size: .95rem; }
.unit__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .82rem; color: var(--muted); }
.unit__meta a { display: inline-flex; align-items: center; gap: 6px; transition: color .25s; }
.unit__meta a:hover { color: var(--blue); }
.unit__ext b { color: var(--navy-800); }

/* =========================================================
   Nöbetçi eczaneler
   ========================================================= */
.duty {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -45px rgba(10,35,80,.55);
}
.duty + .duty { margin-top: 18px; }
.duty__info { position: relative; padding: clamp(22px, 3vw, 34px) clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; }
/* sağ üstte eczane "E" tabelası kırmızısı */
.duty__info::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--red), #ff7a6b); }
.duty__live {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px;
    background: rgba(22,128,72,.1); color: #12733f; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.duty__live i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #1aa851; }
.duty__live i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #1aa851; opacity: 0; animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.duty__day { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.duty__day .ic { color: var(--red); }
.duty__name { font: 700 clamp(1.7rem, 3.2vw, 2.4rem)/1.1 var(--f-head); letter-spacing: -.045em; color: var(--navy-800); }
.duty__addr { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; color: #2a3550; font-size: .95rem; }
.duty__addr .ic { color: var(--red); margin-top: 3px; }
.duty__addr small { display: block; color: var(--muted); font-size: .84rem; }
.duty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.duty__call {
    display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 5px; border-radius: 999px; color: #fff;
    background: linear-gradient(100deg, var(--red), #e8553f); box-shadow: 0 10px 20px -12px rgba(217,58,43,.7);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.duty__call:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(217,58,43,.8); }
.duty__call > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); }
.duty__call strong { font: 700 .95rem var(--f-head); letter-spacing: -.01em; }
.duty__map { min-height: 280px; background: var(--marble-2); }
.duty__map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.duty__empty-ic .duo { --duo-d: var(--red); --duo-l: #f6b5ad; }

.duty__dir { height: 42px; padding: 0 16px; font-size: .84rem; }
.dlist { margin-top: 44px; }
.dlist__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.drow {
    display: flex; align-items: center; gap: 20px; padding: 14px 18px 14px 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .4s var(--ease);
}
.drow:hover { border-color: rgba(29,92,196,.3); box-shadow: 0 16px 30px -24px rgba(10,35,80,.5); }
.drow.is-on { border-color: rgba(217,58,43,.35); background: linear-gradient(90deg, rgba(217,58,43,.05), #fff 40%); }
.drow__date { display: flex; align-items: center; gap: 12px; width: 150px; flex-shrink: 0; }
.drow__date b { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--marble); font: 700 1.35rem var(--f-head); color: var(--navy-800); }
.drow.is-on .drow__date b { background: var(--red); color: #fff; }
.drow__date > span { display: flex; flex-direction: column; font-weight: 700; color: var(--navy-800); line-height: 1.25; }
.drow__date small { font-weight: 600; font-size: .78rem; color: var(--muted); }
.drow.is-on .drow__date small { color: var(--red); }
.drow__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.drow__text strong { font: 700 1.05rem var(--f-head); color: var(--navy-800); }
.drow__text small { color: var(--muted); font-size: .84rem; }
.drow__acts { display: flex; gap: 8px; flex-shrink: 0; }
.drow__acts a {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px;
    background: var(--marble); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; color: var(--navy-800);
    transition: background .25s, color .25s, border-color .25s;
}
.drow__acts a:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.drow__acts a:last-child:not(:first-child) { width: 42px; padding: 0; justify-content: center; }

.dsrc { display: flex; gap: 10px; align-items: flex-start; margin: 30px 0 0; color: var(--muted); font-size: .85rem; }
.dsrc .ic { margin-top: 3px; color: var(--blue); }
.dsrc a { color: var(--blue); font-weight: 700; }
.dsrc--warn { margin-top: 10px; color: #9a5b00; }
.dsrc--warn .ic { color: #c27a00; }

@media (max-width: 900px) {
    .duty { grid-template-columns: minmax(0, 1fr); }
    .duty__map, .duty__map iframe { min-height: 240px; }
}
@media (max-width: 640px) {
    .drow { flex-wrap: wrap; gap: 12px; }
    .drow__date { width: auto; }
    .drow__text { flex-basis: 100%; order: 3; }
    .drow__acts { margin-left: auto; }
    .drow__acts a span { display: none; }
    .drow__acts a { width: 42px; padding: 0; justify-content: center; }
    .duty__call { width: 100%; }
    .duty__dir { width: 100%; justify-content: center; }
}

/* =========================================================
   Eski başkanlarımız
   ========================================================= */
.mayors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.mayor { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.mayor__img {
    width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; margin-bottom: 14px;
    background: #fff; border: 1px solid var(--line); transition: box-shadow .45s var(--ease), border-color .3s;
}
.mayor__img img { width: 100%; height: 100%; object-fit: cover; }
/* fotoğraf yoksa: mermer zeminde belediye logosu */
.mayor__img--logo {
    display: grid; place-items: center;
    background: radial-gradient(circle at 50% 40%, #fff 0%, var(--marble) 70%, var(--marble-2) 100%);
}
.mayor__img--logo img { width: 58%; height: auto; object-fit: contain; opacity: .9; filter: drop-shadow(0 10px 16px rgba(10,35,80,.18)); }
.mayor:hover .mayor__img { border-color: rgba(29,92,196,.3); box-shadow: 0 20px 36px -26px rgba(10,35,80,.6); }
.mayor__no {
    position: absolute; top: 10px; left: 10px; min-width: 28px; height: 28px; padding: 0 6px; display: grid; place-items: center;
    border-radius: 999px; background: var(--navy-800); color: #fff; font: 700 .76rem var(--f-head);
}
.mayor__name { font: 700 1rem/1.3 var(--f-head); color: var(--navy-800); letter-spacing: -.01em; }
.mayor__years {
    margin-top: 6px; padding: 3px 11px; border-radius: 999px;
    background: rgba(217,58,43,.08); color: var(--red); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.article--page:has(.mayors) { background: transparent; border: 0; box-shadow: none; padding: 0; }
@media (max-width: 640px) {
    .mayors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* Menüde bulunulan sayfa */
.nav__item.is-current > .nav__link::after { transform: scaleX(1); }

/* =========================================================
   Duyarlı düzen
   ========================================================= */
@media (max-width: 1080px) {
    .playout, .playout:has(> .pside--left) { grid-template-columns: minmax(0, 1fr); }
    .pside { position: static; }
    .pside--left { order: -1; }
    .snav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
    .snav a { white-space: nowrap; }
    .snav__title { padding-bottom: 8px; }
    .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pgrid--featured .pcard--big { grid-column: span 2; }
    .decis { grid-template-columns: minmax(0, 1fr); }
    .decis__years { position: static; }
    .years { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
    .years__item { flex-direction: column; align-items: flex-start; gap: 0; }
    .decis__note { display: none; }
    .obit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mmsg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mtime { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 0; }
    .mtime::before, .mtime__item::before, .mtime__dot { display: none; }
    .cways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmain { grid-template-columns: minmax(0, 1fr); }
    .people { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .mhero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .mhero__text { padding-bottom: 10px; }
    .mhero__portrait img { height: 440px; }
    .mwrite__card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .pcard--big .pcard__link { flex-direction: column; }
    .pcard--big .pcard__img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
}
@media (max-width: 640px) {
    .phero { padding-top: 130px; }
    .pgrid, .obit-grid, .mmsg__grid, .cways { grid-template-columns: minmax(0, 1fr); }
    .pgrid--featured .pcard--big { grid-column: auto; }
    .article { border-radius: 18px; }
    .article__foot { flex-direction: column; align-items: flex-start; }
    .years { display: none; }
    .years-select { display: block; }
    .years-select select {
        width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
        font: 700 1rem var(--f-body); color: var(--navy-800); background: var(--marble);
    }
    .decis__yearsbox { padding: 16px; }
    .decis__head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .decision { flex-wrap: wrap; gap: 14px; }
    .decision__text { flex-basis: calc(100% - 84px); }
    .decision__btn { width: 100%; justify-content: center; }
    .mtime { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .person { flex-direction: column; }
    .person__img { width: 100%; height: 220px; }
    .cmap iframe { height: 380px; }
    .cmap__addr { position: static; border-radius: 0; box-shadow: none; }
    .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; }
}

@media print {
    .site-head, .footer, .wa-float, .to-top, .pside, .share, .phero__bg, .preloader { display: none !important; }
    .phero { padding: 20px 0; background: none; color: #000; }
    .article { border: 0; box-shadow: none; padding: 0; }
}

/* ==========================================================================
   Mobil uyum düzeltmeleri (320–768 px denetimi)
   ========================================================================== */
.snav__title, .decis__label { font-size: .78rem; }   /* 12 px altındaydı */
.pblock__title small { font-size: .75rem; }
.obit-facts small { font-size: .75rem; }
.share { flex-wrap: wrap; }                          /* 320 px'te paylaş satırı 7 px taşıyordu */

@media (max-width: 760px), (pointer: coarse) {
    .sbox__more, .obit-back { min-height: 40px; } /* dokunma hedefi */
}
@media (max-width: 760px) {
    /* Panelden girilen geniş tablolar sayfayı taşırmasın: tablo kendi içinde yatay kayar */
    .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
