:root {
    --ink: #18212f;
    --muted: #667085;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f6f8fb;
    --purple: #2d0070;
    --green: #00a86b;
    --blue: #2d0070;
    --coral: #e70b47;
    --gold: #ffbd00;
    --shadow: 0 18px 50px rgba(24, 33, 47, .12);
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--soft); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar { position: sticky; top: 0; z-index: 20; min-height: 82px; height: 82px; padding: 10px clamp(18px, 4vw, 56px); background: rgba(255,255,255,.86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(229,231,235,.72); display: flex; align-items: center; gap: 18px; box-shadow: 0 10px 34px rgba(24,33,47,.06); }
.brand { display: flex; align-items: center; gap: 13px; min-width: 260px; min-height: 56px; padding: 4px 0; }
.brand-mark { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--green); color: white; font-weight: 800; font-size: 24px; }
.brand-logo { width: 86px; min-width: 86px; max-width: 86px; height: 56px; object-fit: contain; object-position: center; border-radius: 0; background: transparent; padding: 0; border: 0; transform: scale(1.16); transform-origin: left center; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.main-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 4px; width: fit-content; max-width: min(920px, 66vw); min-width: 0; margin: 0 auto; padding: 6px; border: 1px solid rgba(229,231,235,.9); border-radius: 999px; background: rgba(248,250,252,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.main-nav > a, .nav-group > button { border: 0; background: transparent; font: inherit; color: #344054; padding: 9px 12px; cursor: pointer; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; transition: background .16s ease, color .16s ease, box-shadow .16s ease; }
.main-nav > a:hover, .nav-group > button:hover { background: white; color: var(--green); box-shadow: 0 6px 18px rgba(24,33,47,.08); }
.nav-group { position: relative; }
.nav-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 8px; padding: 10px; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; color: #344054; font-size: 14px; }
.dropdown a:hover { background: var(--soft); }
.nav-group:hover .dropdown { display: block; }
.search-link { min-width: 64px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; padding: 0 12px !important; }
.search-link span, .donate-link span { line-height: 1; }
.donate-link, .primary, .public-form button, .admin-form button, .login-card button, .support-band a { background: var(--coral); color: white; border: 0; border-radius: 8px; padding: 12px 17px; font-weight: 750; cursor: pointer; }
.donate-link { border-radius: 999px; box-shadow: 0 10px 24px rgba(217,101,79,.24); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { width: 100vw; margin-left: calc(50% - 50vw); min-height: calc(100vh - 82px); display: grid; place-items: end start; padding: clamp(92px, 13vh, 150px) clamp(22px, 7vw, 96px); overflow: hidden; background: #111827; }
.hero h1 { max-width: 980px; color: white; font-size: clamp(52px, 8vw, 108px); line-height: .92; margin: 12px 0 20px; letter-spacing: 0; text-shadow: 0 3px 30px rgba(0,0,0,.35); }
.hero p { max-width: 720px; font-size: clamp(18px, 1.8vw, 24px); color: rgba(255,255,255,.88); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.hero-media { position: absolute; inset: 0; min-height: 100%; overflow: hidden; background: #111827; contain: paint; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); transition: opacity .7s ease, transform 2.4s ease; color: white; }
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; opacity: .78; filter: saturate(1.05) contrast(1.04); }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,24,39,.88) 0%, rgba(17,24,39,.56) 42%, rgba(17,24,39,.16) 100%), linear-gradient(180deg, rgba(17,24,39,.08) 0%, rgba(17,24,39,.58) 100%); }
.hero-slide span, .hero-slide strong { position: absolute; right: clamp(22px, 7vw, 96px); z-index: 2; text-align: right; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-slide span { bottom: 92px; color: #f7d88f; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.hero-slide strong { bottom: 36px; max-width: 420px; font-size: clamp(18px, 2vw, 28px); line-height: 1.08; }
.hero-dots { position: absolute; left: clamp(22px, 7vw, 96px); bottom: 42px; z-index: 3; display: flex; gap: 7px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dots button.is-active { width: 26px; background: white; }
.eyebrow { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-size: 13px; }
.secondary { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 8px; padding: 12px 17px; font-weight: 750; }

.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 36px 0 72px; }
.quick-stats article, .admin-grid article { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.quick-stats article { background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%); border-top: 3px solid var(--green); box-shadow: 0 10px 28px rgba(24,33,47,.06); }
.quick-stats strong, .admin-grid strong { display: block; font-size: 34px; color: var(--blue); }
.quick-stats span, .admin-grid span { color: var(--muted); }

.split-section { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 30px; margin: 70px 0; align-items: start; }
.split-section h2, .section-head h2, .support-band h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 8px 0 12px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.content-card { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.content-card:hover, .project-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.content-card img { height: 170px; width: 100%; object-fit: cover; }
.content-card span, .content-card h3, .content-card p { margin-left: 16px; margin-right: 16px; }
.content-card span { display: inline-block; margin-top: 14px; color: #0b6b50; font-weight: 900; font-size: 12px; text-transform: uppercase; }
.content-card h3 { color: #101828; font-weight: 850; text-wrap: balance; }
.content-card p { color: var(--muted); padding-bottom: 18px; }

.updates-board { display: grid; gap: 22px; align-items: start; margin: 76px 0; }
.updates-main { min-width: 0; overflow: hidden; }
.agenda-panel { background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 8px; padding: 22px; box-shadow: 0 16px 42px rgba(24,33,47,.08); }
.updates-main .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.updates-main .card-grid.compact { overflow: visible; }
.updates-main .content-card img { height: 145px; }
.updates-main .content-card h3 { font-size: 18px; line-height: 1.22; }
.updates-main .content-card h3, .updates-main .content-card p, .agenda-panel .event-list span { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.updates-main .content-card h3 { -webkit-line-clamp: 2; min-height: 44px; }
.updates-main .content-card p { -webkit-line-clamp: 3; min-height: 63px; margin-bottom: 14px; }
.section-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-toolbar h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.08; margin: 6px 0 0; max-width: 620px; }
.section-toolbar > a { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--blue); font-weight: 800; background: #f9fafb; }
.compact-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.compact-head h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; max-width: 620px; }
.compact-head > a { align-self: start; }
.empty-state { border: 1px dashed #cbd5e1; border-radius: 8px; padding: 18px; background: #f8fafc; color: var(--muted); display: grid; gap: 4px; }
.empty-state strong { color: var(--ink); }

.identity-strip { margin: 34px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.identity-strip span { min-height: 74px; display: grid; place-items: center; text-align: center; background: white; border: 1px solid var(--line); border-radius: 8px; color: var(--green); font-weight: 900; letter-spacing: 0; box-shadow: 0 10px 28px rgba(24,33,47,.05); }
.origin-story { margin: 58px 0 30px; display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 24px; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 16px 42px rgba(24,33,47,.07); }
.origin-media { min-height: 300px; background: #edf4f1; }
.origin-media img { width: 100%; height: 100%; object-fit: cover; }
.origin-copy { padding: clamp(26px, 5vw, 58px); display: grid; align-content: center; }
.origin-copy h2 { font-size: clamp(34px, 5vw, 62px); line-height: 1; margin: 10px 0 18px; }
.origin-copy p { color: var(--muted); font-size: 18px; max-width: 720px; }
.origin-copy a { width: fit-content; margin-top: 10px; background: var(--green); color: white; border-radius: 999px; padding: 12px 18px; font-weight: 850; }

.local-seo-band { margin: 70px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; background: white; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 8px; padding: clamp(24px, 4vw, 42px); box-shadow: 0 18px 44px rgba(24,33,47,.06); }
.local-seo-band h2 { margin: 8px 0 10px; max-width: 820px; }
.local-seo-band p { color: var(--muted); max-width: 840px; margin: 0; }
.local-seo-band a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 8px; background: var(--green); color: white; font-weight: 800; }

.support-band { margin: 70px 0; display: flex; align-items: center; justify-content: space-between; gap: 26px; background: var(--green); color: white; padding: 38px; border-radius: 8px; }
.support-band p { color: rgba(255,255,255,.86); max-width: 720px; }
.support-band a { background: white; color: var(--green); white-space: nowrap; }
.section-head { margin-top: 70px; }
.project-showcase { margin: 70px 0; }
.project-strip { display: grid; grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; margin-bottom: 70px; }
.project-tile { min-height: 220px; position: relative; overflow: hidden; border-radius: 8px; background: #111; isolation: isolate; }
.project-tile.large { grid-row: span 2; }
.project-tile img { width: 100%; height: 100%; aspect-ratio: 45 / 32; object-fit: cover; position: absolute; inset: 0; opacity: .76; }
.project-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,24,39,.08) 10%, rgba(17,24,39,.86) 100%); }
.project-tile span, .project-tile strong, .project-tile p { position: absolute; left: 18px; right: 18px; color: white; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.project-tile span { top: 16px; width: fit-content; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 900; background: rgba(17,24,39,.28); }
.project-tile strong { bottom: 54px; font-size: 23px; line-height: 1.1; }
.project-tile p { bottom: 12px; margin: 0; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.project-tile.large strong { font-size: clamp(30px, 4vw, 46px); bottom: 72px; }
.project-tile.large p { font-size: 16px; bottom: 22px; }
.featured-agenda .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-list { display: grid; gap: 12px; }
.event-list a { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; grid-template-columns: 76px 82px minmax(0, 1fr); gap: 6px 14px; position: relative; overflow: hidden; }
.event-list a:not(:has(.event-thumb)) { grid-template-columns: 82px minmax(0, 1fr); }
.event-list a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--coral); }
.event-list time { color: white; background: var(--coral); border-radius: 8px; padding: 9px 8px; text-align: center; font-weight: 900; grid-row: span 2; font-size: 13px; line-height: 1.2; }
.event-thumb { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; background: #eef3f0; grid-row: span 2; }
.event-list strong { line-height: 1.28; }
.event-list span { color: var(--muted); -webkit-line-clamp: 2; }
.agenda-panel .event-list a { background: #fbfcfe; }

.inner { padding: 44px 0 80px; }
.content-detail { max-width: 1180px; }
.detail-hero { box-sizing: border-box; position: relative; min-height: clamp(360px, 48vh, 480px); display: grid; align-items: end; overflow: hidden; margin: 0 calc(50% - 50vw) 42px; padding: clamp(28px, 5vw, 58px) max(24px, calc((100vw - 1180px) / 2)); background: #18212f; color: white; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,38,.9) 0%, rgba(16,24,38,.7) 42%, rgba(16,24,38,.25) 100%); z-index: 1; }
.detail-copy { position: relative; z-index: 2; max-width: 760px; background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; display: grid; align-content: end; }
.detail-hero h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1; margin: 8px 0 14px; text-wrap: balance; letter-spacing: 0; word-break: break-word; hyphens: auto; }
.detail-hero p { color: rgba(255,255,255,.84); font-size: clamp(16px, 1.6vw, 18px); max-width: 680px; }
.detail-hero img { position: absolute; inset: 0; height: 100%; min-height: 0; width: 100%; object-fit: cover; border-radius: 0; box-shadow: none; cursor: zoom-in; opacity: .72; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.detail-meta > span { color: #fff; font-weight: 900; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.14); border-radius: 999px; padding: 7px 11px; backdrop-filter: blur(10px); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-actions a, .detail-side-card a { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 9px 12px; color: var(--blue); font-weight: 850; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; min-width: 0; max-width: 100%; }
.detail-prose { max-width: none; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.detail-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.detail-side-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 10px; box-shadow: 0 10px 28px rgba(24,33,47,.05); }
.detail-side-card strong { font-size: 18px; }
.detail-side-card span { color: var(--muted); }
.enhanced-side .detail-side-card { padding: 16px; }
.side-recommendations { gap: 12px; background: linear-gradient(180deg, #fff 0%, #f7fbf9 100%); }
.side-recommendations > strong { line-height: 1.2; }
.side-recommendations > strong::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 9px; border-radius: 999px; background: var(--green); }
.side-recommendations .side-story { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 5px 12px; align-items: center; width: 100%; min-width: 0; min-height: 92px; padding: 10px 34px 10px 10px; border: 1px solid var(--line); border-left: 4px solid rgba(31,126,99,.72); border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(24,33,47,.045); text-align: left; overflow: hidden; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease; }
.side-recommendations .side-story::after { content: "›"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: rgba(31,126,99,.55); font-size: 24px; line-height: 1; font-weight: 900; }
.side-recommendations .side-story:hover { transform: translateY(-2px); border-color: rgba(31,126,99,.45); background: #fbfffd; box-shadow: 0 16px 32px rgba(24,33,47,.085); }
.side-recommendations .side-story img { grid-row: 1 / span 2; grid-column: 1; width: 74px; height: 72px; object-fit: cover; border-radius: 7px; margin: 0; box-shadow: none; background: #eef3f0; }
.side-recommendations .side-story span { grid-column: 2; align-self: end; width: fit-content; max-width: 100%; color: var(--green); background: #eef8f3; border-radius: 999px; padding: 3px 7px; font-size: 10px; line-height: 1.1; font-weight: 900; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-recommendations .side-story b { grid-column: 2; align-self: start; min-width: 0; color: var(--ink); font-size: 14px; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-action { background: linear-gradient(145deg, #1f7e63 0%, #184f43 100%); border-color: rgba(31,126,99,.35); border-top: 0; color: white; }
.side-action strong { color: white; }
.side-action span { color: rgba(255,255,255,.82); }
.side-action a, .side-share a { width: fit-content; border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; background: white; color: var(--blue); font-weight: 850; }
.side-action a { color: #184f43; border-color: rgba(255,255,255,.24); }
.side-share { background: #111827; border-color: #111827; }
.side-share strong { color: white; }
.side-share a { color: white; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.detail-gallery { max-width: 1040px; margin: 22px auto 0; }
.share-section { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; box-shadow: 0 10px 28px rgba(24,33,47,.05); }
.share-section span { color: var(--muted); font-weight: 850; margin-right: 4px; }
.share-section a { border: 1px solid var(--line); background: #f9fafb; border-radius: 999px; padding: 9px 13px; color: var(--blue); font-weight: 850; }
.event-register-panel { max-width: 760px; margin: 28px auto 0; }
.card-grid.compact .content-card h3,
.card-grid.compact .content-card p { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.card-grid.compact .content-card h3 { -webkit-line-clamp: 2; min-height: 46px; }
.card-grid.compact .content-card p { -webkit-line-clamp: 3; min-height: 68px; }
.home-corporate { margin-top: 58px; }
.home-corporate .content-card span { color: var(--green); }
.detail-cta { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: radial-gradient(circle at 8% 10%, rgba(225,95,75,.3), transparent 30%), linear-gradient(135deg, #18212f 0%, #0f513f 100%); color: white; border-radius: 8px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 24px 70px rgba(24,33,47,.18); }
.detail-cta p { color: rgba(255,255,255,.78); }
.detail-cta a { background: white; color: var(--ink); border-radius: 999px; padding: 12px 18px; font-weight: 850; white-space: nowrap; }
.page-hero { box-sizing: border-box; position: relative; min-height: clamp(320px, 42vh, 440px); display: grid; align-items: end; overflow: hidden; margin: 0 calc(50% - 50vw) 42px; padding: clamp(28px, 5vw, 56px) max(24px, calc((100vw - 1180px) / 2)); background: #18212f; color: white; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,38,.9) 0%, rgba(16,24,38,.62) 50%, rgba(16,24,38,.18) 100%); z-index: 1; }
.page-hero > div { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 70px); line-height: 1; margin: 8px 0 16px; }
.page-hero p { color: rgba(255,255,255,.84); font-size: 19px; }
.page-hero img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; border-radius: 0; box-shadow: none; opacity: .68; }
.prose { background: white; border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 4vw, 46px); font-size: 18px; }
.prose h2 { font-size: 32px; }
.prose img { border-radius: 8px; margin: 18px 0; }
.prose .inline-content-image, .prose img[style*="float"] { max-width: 100%; height: auto; }
.prose::after { content: ""; display: block; clear: both; }
.page-mutevelli-heyet .detail-prose p:has(img) { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; margin: 18px 0; }
.page-mutevelli-heyet .detail-prose img { width: 178px; height: 220px; max-width: 100%; object-fit: cover; object-position: center top; margin: 0; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(24,33,47,.08); background: #eef3f0; }
.page-mutevelli-heyet .detail-prose img[src=""] { display: none; }
.board-overview h2 { margin-top: 0; }
.board-period { width: fit-content; border: 1px solid rgba(38,117,95,.2); border-radius: 999px; padding: 6px 12px; color: var(--green); background: #f3faf7; font-weight: 850; }
.board-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 22px 0 34px; }
.board-photo-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgba(24,33,47,.07); }
.board-photo-grid img { width: 100%; height: 220px; object-fit: cover; object-position: center top; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.board-photo-grid figcaption { padding: 12px 13px 14px; display: grid; gap: 3px; }
.board-photo-grid strong { color: var(--ink); font-size: 16px; line-height: 1.22; }
.board-photo-grid span { color: var(--green); font-weight: 800; font-size: 13px; }
.board-photo-grid p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.board-list { margin-top: 30px; }
.board-list > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.board-list article { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; background: #fbfcfe; padding: 14px; display: grid; gap: 4px; }
.board-list strong { color: var(--blue); }
.board-list span { color: var(--muted); font-size: 15px; }
.reference-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.reference-card-grid a { display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 12px 28px rgba(24,33,47,.06); transition: transform .15s ease, box-shadow .15s ease; }
.reference-card-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.reference-card-grid img { width: 100%; height: 180px; object-fit: cover; margin: 0; border-radius: 0; box-shadow: none; }
.reference-card-grid span { width: fit-content; margin: 4px 14px 0; border: 1px solid rgba(38,117,95,.18); border-radius: 999px; background: #f3faf7; color: var(--green); padding: 5px 9px; font-size: 12px; font-weight: 900; }
.reference-card-grid strong { padding: 0 14px 16px; color: var(--blue); font-size: 16px; line-height: 1.25; text-transform: none; }
.article-directory-intro { border: 1px solid rgba(38,117,95,.16); border-radius: 8px; background: linear-gradient(180deg, #f7fbf9 0%, #ffffff 100%); padding: clamp(18px, 3vw, 28px); margin-bottom: 8px; }
.article-directory-intro h2 { margin-top: 0; }
.article-directory-intro p:last-child { margin-bottom: 0; color: var(--green); font-weight: 800; }
.page-egitim-merkezi .detail-prose p:has(img) { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; margin: 18px 0; }
.page-egitim-merkezi .detail-prose p:has(img) img { width: 170px; height: 210px; object-fit: cover; object-position: center top; margin: 0; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(24,33,47,.08); background: #eef3f0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.gallery img { border-radius: 8px; height: 220px; width: 100%; object-fit: cover; }

.form-page { padding: 60px 0 90px; display: grid; grid-template-columns: .8fr 1fr; gap: 40px; }
.form-page h1 { font-size: 54px; line-height: 1; margin: 10px 0; }
.public-form, .login-card, .panel { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: 0 10px 30px rgba(24,33,47,.06); }
.donation-page { display: block; align-items: start; }
.donation-intro { display: grid; gap: 18px; }
.iban-panel { background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 8px; padding: 22px; box-shadow: 0 14px 36px rgba(24,33,47,.07); }
.iban-panel h2 { margin: 0 0 10px; font-size: 26px; }
.iban-card { display: grid; gap: 8px; margin-top: 14px; padding: 16px; border: 1px dashed rgba(33,124,94,.42); border-radius: 8px; background: white; }
.iban-card strong { color: var(--green); font-size: 15px; }
.iban-card code { display: block; white-space: normal; overflow-wrap: anywhere; color: var(--blue); font-size: 20px; font-weight: 900; background: #f3f7fb; border-radius: 6px; padding: 10px; }
.iban-note { color: var(--muted); margin: 8px 0 0; }
.donation-thanks { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; border-radius: 8px; padding: 14px; font-weight: 800; }
label { display: grid; gap: 7px; color: #344054; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid #d0d5dd; border-radius: 8px; padding: 11px 12px; font: inherit; background: white; }
textarea { min-height: 110px; resize: vertical; }
.public-form { display: grid; gap: 16px; }

.site-footer { background: #111827; color: white; margin-top: 60px; padding: 42px clamp(18px,4vw,56px) 24px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.75); display: block; margin: 6px 0; }
.footer-main { display: grid; grid-template-columns: minmax(280px, 1.4fr) minmax(220px, .8fr) minmax(180px, .6fr); gap: 34px; align-items: start; }
.footer-brand strong { display: block; font-size: 28px; margin-bottom: 10px; }
.footer-brand p { max-width: 560px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-actions a, .footer-brand a { color: white; font-weight: 800; }
.footer-actions a { width: fit-content; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 9px 13px; background: rgba(255,255,255,.08); }
.footer-oguzhan { margin: 24px 0 0; width: fit-content; display: flex; align-items: center; gap: 12px; opacity: .68; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.04); }
.footer-oguzhan img { width: 58px; height: 58px; object-fit: cover; object-position: center 34%; border-radius: 50%; filter: grayscale(1); border: 1px solid rgba(255,255,255,.28); }
.footer-oguzhan span { color: rgba(255,255,255,.78); font-size: 13px; font-weight: 850; white-space: nowrap; }
.footer-contact h4, .footer-quick h4, .footer-seo h4 { margin: 0 0 12px; }
.footer-quick a { font-weight: 750; }
.footer-seo { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 22px; margin-top: 28px; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.04); }
.footer-seo h4 { color: white; font-size: 15px; }
.footer-seo p { max-width: 520px; line-height: 1.7; }
.footer-seo a { font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 20px; padding-top: 18px; color: rgba(255,255,255,.62); }
.footer-bottom a { display: inline; color: rgba(255,255,255,.82); }

.zoomable-image { cursor: zoom-in; }
.zoomable-image:focus-visible { outline: 3px solid rgba(0,168,107,.7); outline-offset: 4px; }
.image-lightbox[hidden] { display: none; }
.image-lightbox { position: fixed; inset: 0; z-index: 999; display: grid; grid-template-rows: auto 1fr auto; color: #fff; background: radial-gradient(circle at 50% 45%, rgba(52,42,67,.5), transparent 42%), rgba(7,8,12,.95); overscroll-behavior: contain; }
.lightbox-toolbar { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(7,8,12,.9), rgba(7,8,12,.45)); backdrop-filter: blur(16px); }
.lightbox-counter { min-width: 64px; color: rgba(255,255,255,.76); font-size: 14px; font-weight: 850; letter-spacing: .05em; }
.lightbox-tools { display: flex; align-items: center; gap: 7px; }
.image-lightbox button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; background: rgba(255,255,255,.09); box-shadow: none; cursor: pointer; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.image-lightbox button:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.17); transform: translateY(-1px); }
.image-lightbox button:focus-visible { outline: 3px solid rgba(0,201,137,.7); outline-offset: 2px; }
.image-lightbox button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.image-lightbox .lightbox-reset { width: 66px; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 900; }
.lightbox-stage { position: relative; z-index: 1; display: grid; place-items: center; min-width: 0; min-height: 0; padding: 20px 88px; overflow: hidden; touch-action: none; user-select: none; }
.lightbox-stage img { display: block; max-width: min(1180px, calc(100vw - 190px)); max-height: calc(100vh - 170px); border-radius: 7px; object-fit: contain; box-shadow: 0 28px 90px rgba(0,0,0,.52); transform-origin: center; transition: transform .16s ease; will-change: transform; cursor: zoom-in; }
.lightbox-stage img.is-zoomed { cursor: grab; }
.lightbox-stage img.is-dragging { cursor: grabbing; transition: none; }
.image-lightbox .lightbox-nav { position: fixed; z-index: 5; top: 50%; width: 50px; height: 62px; margin-top: -31px; border-radius: 16px; background: rgba(15,16,22,.68); backdrop-filter: blur(12px); }
.image-lightbox .lightbox-nav[hidden] { display: none; }
.image-lightbox .lightbox-prev { left: 18px; }
.image-lightbox .lightbox-next { right: 18px; }
.image-lightbox .lightbox-nav svg { width: 28px; height: 28px; }
.lightbox-footer { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 10px 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); background: linear-gradient(0deg, rgba(7,8,12,.9), rgba(7,8,12,.4)); backdrop-filter: blur(14px); }
.lightbox-footer strong { max-width: min(760px, 70vw); overflow: hidden; color: rgba(255,255,255,.92); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-footer span { font-size: 12px; font-weight: 750; }
.lightbox-open { overflow: hidden; }

.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 12% 16%, rgba(36,126,103,.18), transparent 34%), linear-gradient(135deg, #f6f8fb, #e8f2ef 52%, #f8fbfa); }
.login-shell { width: min(1080px, 100%); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 0; border: 1px solid rgba(229,231,235,.9); border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 30px 90px rgba(24,33,47,.16); }
.login-intro { display: grid; align-content: center; gap: 20px; min-height: 620px; padding: clamp(34px, 6vw, 70px); color: white; background: linear-gradient(135deg, rgba(17,24,39,.92), rgba(28,115,92,.88)), url('/assets/remote-images/somet-oguzhan.jpg') center/cover; }
.login-intro h1 { max-width: 620px; margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: .96; color: white; }
.login-intro p { max-width: 620px; margin: 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; }
.login-intro small { color: rgba(255,255,255,.72); }
.login-badge { width: fit-content; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; padding: 9px 14px; background: rgba(255,255,255,.12); font-weight: 850; letter-spacing: .02em; }
.login-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.login-feature-grid span { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 13px 14px; background: rgba(255,255,255,.10); color: white; font-weight: 800; }
.login-card { width: min(430px, calc(100% - 28px)); display: grid; gap: 14px; }
.corporate-login { width: 100%; min-height: 620px; align-content: center; border: 0; border-radius: 0; box-shadow: none; padding: clamp(28px, 5vw, 54px); }
.login-card-head { display: grid; gap: 7px; margin-bottom: 6px; }
.login-card-head span { color: var(--green); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.login-card-head h2 { margin: 0; font-size: 32px; }
.login-card-head p { margin: 0; color: var(--muted); }
.login-links { display: flex; justify-content: space-between; gap: 12px; }
.login-links a { color: var(--blue); font-weight: 800; }
.alert { background: #fff1f0; color: #b42318; border: 1px solid #ffdad6; border-radius: 8px; padding: 10px; }
.alert.success { background: #ecfdf3; color: #067647; border-color: #abefc6; }
.admin-body { display: block; min-height: 100vh; padding-left: 260px; overflow-x: clip; background: #fbf9fd; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 70; width: 260px; min-width: 0; height: 100dvh; background: #111827; color: white; padding: 24px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: rgba(255,255,255,.28) transparent; box-shadow: 12px 0 32px rgba(17,24,39,.08); }
.admin-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-sidebar strong { font-size: 22px; margin-bottom: 20px; }
.admin-nav-links { display: flex; flex-direction: column; gap: 8px; }
.admin-nav-toggle { display: none; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; padding: 9px 12px; font: inherit; font-weight: 800; cursor: pointer; }
.admin-sidebar a { color: rgba(255,255,255,.78); padding: 11px 12px; border-radius: 8px; }
.admin-sidebar a.active, .admin-sidebar a:hover { background: rgba(255,255,255,.12); color: white; }
.admin-sidebar .admin-sidebar-logo { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 94px; margin-bottom: 8px; padding: 2px 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; transition: transform .18s ease, opacity .18s ease; }
.admin-sidebar .admin-sidebar-logo:hover { color: inherit; background: transparent; transform: translateY(-1px); box-shadow: none; opacity: .94; }
.admin-sidebar-logo img { width: min(100%, 204px); height: 88px; object-fit: contain; object-position: center; filter: drop-shadow(0 0 6px rgba(255,255,255,.2)) drop-shadow(0 9px 14px rgba(0,0,0,.24)); }
.admin-main { width: auto; min-width: 0; max-width: 100%; margin: 0; padding: 28px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-top h1 { margin: 0; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.admin-stat-card { position: relative; display: grid; gap: 3px; min-height: 146px; align-content: center; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.admin-stat-card:hover { transform: translateY(-2px); border-color: rgba(38,117,95,.34); box-shadow: 0 16px 34px rgba(24,33,47,.1); }
.admin-stat-card strong { display: block; font-size: 34px; color: var(--blue); }
.admin-stat-card span { color: var(--muted); }
.admin-stat-card small { margin-top: 8px; color: var(--green); font-weight: 850; }
.panel { max-width: 100%; margin-bottom: 18px; overflow-x: auto; }
.admin-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.form-row.two { grid-template-columns: repeat(2, 1fr); }
.form-row > *, .admin-form label { min-width: 0; }
.panel-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.panel-heading-row h2 { margin-bottom: 6px; }
.panel-heading-row .panel-note { margin: 0; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 8px; padding: 9px 13px; font-weight: 850; white-space: nowrap; }
.secondary-button { color: var(--blue); border: 1px solid var(--line); background: #f8fafc; }
.admin-quick-panel h2 { margin-bottom: 6px; }
.admin-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.admin-quick-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 8px; color: var(--green); background: #eef8f4; border: 1px solid rgba(38,117,95,.2); font-weight: 850; }
.admin-quick-actions a:hover { background: var(--green); color: #fff; }
.admin-notice { margin-bottom: 18px; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 13px; }
td a { color: var(--blue); font-weight: 700; margin-right: 8px; }
.admin-main .panel table { min-width: 680px; }
.table-actions { white-space: nowrap; }
.table-actions a { display: inline-flex; margin: 0 8px 4px 0; }
.danger-link { color: #b42318 !important; }
.muted-action { color: var(--muted); font-size: 13px; }
.table-subtext { display: block; max-width: 440px; margin-top: 5px; color: var(--muted); line-height: 1.4; }
.field-help { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.4; }
.rich-toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.rich-toolbar button { border: 1px solid #cbd5e1; background: #ffffff; color: var(--ink); border-radius: 8px; padding: 8px 10px; cursor: pointer; font-weight: 800; box-shadow: 0 1px 0 rgba(16,24,40,.04); }
.rich-toolbar button:hover { border-color: var(--green); color: var(--green); background: #f7fbf9; }
.rich-editor-wrap { display: grid; gap: 8px; }
.rich-editor { min-height: 340px; border: 1px solid #d0d5dd; border-radius: 8px; padding: 14px; background: white; line-height: 1.7; overflow: auto; }
.rich-editor:focus { outline: 2px solid rgba(38,117,95,.24); border-color: var(--green); }
.rich-editor img { max-width: 100%; height: auto; cursor: pointer; }
.rich-editor img.is-selected { outline: 3px solid rgba(38,117,95,.42); outline-offset: 3px; }
.rich-editor .content-slider.is-selected { outline: 3px solid rgba(38,117,95,.42); outline-offset: 3px; }
.prose img[style*="width"], .detail-prose img[style*="width"] { display: block; max-width: 100%; height: auto; }
.prose .content-slider[style*="width"], .detail-prose .content-slider[style*="width"] { max-width: 100%; }
.rich-source { display: none; }
.rich-help { color: var(--muted); font-size: 12px; }
.rich-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.rich-toolbar button[data-upload] { background: #eef6f2; color: var(--green); border-color: rgba(38,117,95,.22); }
.rich-toolbar button:disabled { opacity: .55; cursor: wait; }
.rich-editor .content-slider { margin: 12px 0; min-height: 260px; border: 1px dashed rgba(38,117,95,.28); }
.rich-editor .pdf-link { pointer-events: none; }
.public-panel { margin-top: 24px; }
.block-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.info-block { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.info-block strong { display: block; color: var(--blue); font-size: 20px; margin-bottom: 8px; }
.document-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 70px; }
.document-list a { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 6px; }
.document-list span { color: var(--muted); }
.media-grid { min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 14px; }
.media-grid article { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 8px; }
.media-grid img { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--soft); }
.media-grid strong, .media-grid code { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.media-grid code { white-space: normal; color: var(--blue); font-size: 12px; }
.media-grid button, .copy-media { border: 1px solid var(--line); background: #f9fafb; color: var(--blue); border-radius: 8px; padding: 9px 10px; font-weight: 800; cursor: pointer; }
.media-picker { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #f8fafc; display: grid; gap: 8px; }
.media-picker p { color: var(--muted); margin: 0; }
.media-picker > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-height: 320px; overflow: auto; padding-right: 4px; }
.media-picker button { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 8px; display: grid; gap: 6px; cursor: pointer; text-align: left; color: var(--ink); }
.media-picker button:hover { border-color: var(--green); box-shadow: 0 10px 24px rgba(24,33,47,.08); }
.media-picker img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #eef3f0; }
.media-picker span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo-setting-preview { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #f8fafc; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 18px; align-items: center; }
.logo-setting-preview > span { color: var(--muted); font-weight: 850; }
.logo-setting-preview img { width: 130px; max-height: 82px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 8px; }
.logo-setting-preview label { grid-column: 2; }
.logo-setting-preview p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.system-settings-head { background: linear-gradient(135deg, #ffffff, #f5fbf8); border-top: 4px solid var(--green); }
.system-settings-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 6px; }
.system-settings-form { gap: 18px; }
.system-settings-card h3, .system-brand-card h3 { margin: 0 0 14px; color: var(--blue); font-size: 22px; }
.system-logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.system-logo-grid > div, .system-logo-grid label { border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; padding: 14px; display: grid; gap: 8px; align-content: start; }
.system-logo-grid .automatic-favicon-note { align-content: center; border-style: dashed; color: var(--blue); }
.system-logo-grid .automatic-favicon-note strong { font-size: 17px; }
.automatic-favicon-path input { color: var(--muted); background: #f3f4f6; cursor: not-allowed; }
.system-logo-grid span, .system-logo-grid small { color: var(--muted); font-weight: 750; }
.system-logo-grid img { width: 100%; height: 92px; object-fit: contain; border-radius: 6px; background: white; border: 1px solid var(--line); padding: 8px; }
.settings-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.settings-field-grid label { min-width: 0; }
.settings-field-grid textarea { min-height: 118px; }
.settings-picker-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.settings-table textarea { min-height: 70px; min-width: 260px; }
.sticky-save-bar { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: flex-end; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 -12px 30px rgba(24,33,47,.08); }
.permission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.content-slider { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 220px; max-height: 520px; overflow: hidden; border-radius: 8px; background: #eef3f0; }
.content-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .28s ease; }
.content-slider img:first-child, .content-slider img.is-active { opacity: 1; }
.pdf-link { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0; padding: 12px 14px; border: 1px solid rgba(38,117,95,.24); border-radius: 8px; background: #f6fbf8; color: var(--green); font-weight: 900; text-decoration: none; }
.pdf-link::before { content: "PDF"; display: inline-grid; place-items: center; min-width: 42px; height: 28px; border-radius: 6px; background: var(--coral); color: white; font-size: 12px; }
pre { white-space: pre-wrap; max-height: 360px; overflow: auto; background: #101828; color: #f9fafb; padding: 12px; border-radius: 8px; }
.filter-bar, .search-large, .inline-form { display: flex; gap: 10px; align-items: center; margin: 18px 0; }
.filter-bar select, .search-large input { max-width: 520px; }
.filter-bar button, .search-large button, .inline-form button { background: var(--blue); color: white; border: 0; border-radius: 8px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.archive-head { position: relative; isolation: isolate; overflow: hidden; margin: 24px 0 16px; padding: clamp(24px, 4vw, 42px); border: 1px solid rgba(45,0,112,.12); border-radius: 20px; background: linear-gradient(135deg, #fff 0%, #f7f1fc 100%); box-shadow: 0 16px 42px rgba(45,0,112,.07); }
.archive-head::after { content: ""; position: absolute; z-index: -1; right: -55px; top: -85px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(45,0,112,.13), rgba(45,0,112,0) 70%); }
.archive-head h1 { max-width: 850px; margin-bottom: 0; color: #101828; text-wrap: balance; }
.archive-head-unified { display: grid; align-content: center; min-height: 220px; background: radial-gradient(circle at 88% 20%, rgba(0,168,107,.13), transparent 26%), linear-gradient(135deg, #fff 0%, #f7f1fc 64%, #f1fbf7 100%); }
.archive-head-unified h1 { margin-top: 8px; font-size: clamp(42px, 5vw, 72px); line-height: .98; }
.archive-head-unified p { max-width: 680px; margin: 14px 0 0; color: #655d70; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; }
.archive-topic-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 12px; padding: 10px; border: 1px solid rgba(45,0,112,.1); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 14px 36px rgba(45,0,112,.07); }
.archive-topic-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border: 1px solid transparent; border-radius: 12px; color: #4e4558; background: #f7f5f9; font-size: 14px; font-weight: 850; transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.archive-topic-nav a:hover { color: var(--purple); background: #f0e9f7; transform: translateY(-1px); }
.archive-topic-nav a[aria-current="page"] { border-color: rgba(45,0,112,.12); color: #fff; background: linear-gradient(145deg, #5210a1, var(--purple)); box-shadow: 0 9px 20px rgba(45,0,112,.2); }
.archive-result-summary { display: flex; align-items: baseline; gap: 8px; min-height: 34px; margin: 0 2px 18px; color: #756b80; }
.archive-result-summary strong { color: var(--purple); font-size: 23px; line-height: 1; }
.archive-result-summary span { font-size: 14px; font-weight: 800; }
.archive-filter { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 8px; width: min(680px, 100%); margin: 14px 0 24px; padding: 7px; border: 1px solid rgba(45,0,112,.13); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 12px 32px rgba(45,0,112,.08); }
.archive-filter-control { position: relative; display: grid; align-content: center; gap: 1px; min-width: 0; min-height: 58px; padding: 8px 44px 8px 14px; border-radius: 11px; background: #f7f4fa; }
.archive-filter-control > span { color: #7b6f87; font-size: 10px; font-weight: 900; letter-spacing: .08em; line-height: 1.1; text-transform: uppercase; }
.archive-filter-control::after { content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.archive-filter-control select { width: 100%; max-width: none; min-width: 0; border: 0; border-radius: 0; padding: 0; outline: 0; appearance: none; background: transparent; color: #191225; font-size: 16px; font-weight: 800; cursor: pointer; }
.archive-filter button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 122px; min-height: 58px; border-radius: 11px; padding: 0 18px; background: linear-gradient(145deg, #4c0b98, var(--purple)); box-shadow: 0 9px 22px rgba(45,0,112,.2); font-weight: 850; }
.archive-filter button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.archive-assist, .home-map-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 22px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 34px); margin: 22px 0 30px; box-shadow: 0 16px 38px rgba(24,33,47,.06); }
.archive-assist h2, .home-map-section h2 { margin: 6px 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.archive-assist p, .home-map-section p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.archive-assist .search-large { margin: 0; }
.archive-assist .assist-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.archive-assist .assist-links a, .home-map-section a { display: inline-flex; width: fit-content; align-items: center; justify-content: center; min-height: 42px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--blue); font-weight: 850; background: #f9fafb; }
.home-map-section { margin-top: 70px; }
.home-map-section .map-embed { margin: 0; min-height: 360px; }
.home-map-section .map-embed iframe { height: 360px; }
.calendar-list { display: grid; gap: 12px; }
.calendar-list a { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; grid-template-columns: 96px 140px 1fr; gap: 8px 16px; align-items: center; }
.calendar-list a:not(:has(.event-thumb)) { grid-template-columns: 140px 1fr; }
.calendar-list time { color: var(--coral); font-weight: 800; grid-row: span 2; }
.calendar-list span { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.home-faq { margin: 70px 0; }
.home-faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-grid article { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 8px; }
.team-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.team-grid strong { font-size: 20px; color: var(--blue); }
.team-grid span, .team-grid p { color: var(--muted); }
.people-section { margin-top: 46px; }
.people-section .section-toolbar { margin-bottom: 18px; }
.people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.people-grid article { align-content: start; min-height: 100%; }
.people-grid img { aspect-ratio: 4 / 5; height: auto; max-height: 280px; object-fit: cover; object-position: center top; background: #eef3f0; }
.people-grid span { color: var(--green); font-weight: 800; }
.people-grid p { margin: 0; }
.map-embed { margin-top: 22px; min-height: 320px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #eef3f0; box-shadow: 0 14px 32px rgba(24,33,47,.07); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-placeholder { display: grid; align-content: center; justify-items: start; gap: 12px; padding: clamp(22px, 4vw, 34px); background: linear-gradient(135deg, #f4faf7 0%, #eef5f2 100%); color: var(--ink); }
.map-placeholder strong { font-size: 22px; line-height: 1.15; }
.map-placeholder span { color: var(--muted); line-height: 1.55; max-width: 560px; }
.map-placeholder div { display: flex; flex-wrap: wrap; gap: 10px; }
.map-placeholder button, .map-placeholder a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 10px 14px; font-weight: 850; cursor: pointer; }
.map-placeholder button { border: 0; background: var(--green); color: white; }
.map-placeholder a { border: 1px solid var(--line); color: var(--blue); background: white; }
.tag-pill { display: inline-block; margin: 6px 6px 0 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--blue); font-weight: 700; font-size: 13px; }
.bar-chart { height: 250px; display: flex; align-items: end; gap: 12px; padding: 24px 10px 6px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, #ffffff, #f8fbfa); }
.bar-chart div { flex: 1; display: grid; gap: 8px; justify-items: center; align-items: end; }
.bar-chart span { width: 100%; max-width: 42px; display: block; background: linear-gradient(180deg, var(--green), #1b5d4b); border-radius: 6px 6px 0 0; box-shadow: 0 8px 18px rgba(38,117,95,.18); }
.bar-chart strong { color: var(--blue); font-size: 13px; }
.bar-chart small { color: var(--muted); font-size: 12px; }
.panel-note { color: var(--muted); margin-top: -4px; }
.notification-status article small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.notification-form textarea[name="recipients"] { min-height: 120px; }
.notification-form textarea[name="body"] { min-height: 150px; }
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 900; background: #eef2f7; color: var(--blue); white-space: nowrap; }
.status-sent { background: #e7f7ef; color: #13724d; }
.status-failed { background: #fff0ed; color: #b13b2d; }
.status-queued { background: #eef4ff; color: #1d4f8f; }
.inline-form { margin: 0; }
.inline-form select { min-width: 120px; padding: 8px; }
.upload-drop { border: 1px dashed rgba(38,117,95,.35); background: #f7fbf9; border-radius: 8px; padding: 14px; }
.upload-drop span, label > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.gallery-file-input, .inline-image-input { border-style: dashed; background: #f8fafc; }
.gallery-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.admin-form label:has(.gallery-source) { grid-column: 1 / -1; }
.gallery-sorter { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-sorter div { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; background: #f9fafb; border: 1px solid var(--line); border-radius: 8px; padding: 8px; cursor: grab; }
.gallery-sorter div.dragging { opacity: .5; }
.gallery-sorter img { grid-column: 1 / -1; width: 100%; height: 104px; object-fit: cover; border-radius: 6px; background: #eef3f0; border: 1px solid var(--line); }
.gallery-sorter span { color: var(--muted); font-weight: 900; }
.gallery-sorter code { white-space: normal; color: var(--blue); font-size: 12px; }
.gallery-sorter .gallery-url { color: var(--muted); font-size: 13px; font-weight: 800; }
.gallery-remove { border: 1px solid var(--line); background: white; color: #b42318; border-radius: 8px; padding: 7px 10px; font-weight: 800; cursor: pointer; }
.not-found-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: center; min-height: 52vh; }
.not-found-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 46px); box-shadow: 0 18px 46px rgba(24,33,47,.07); }
.not-found-card h1 { margin: 0 0 12px; font-size: clamp(42px, 7vw, 82px); line-height: .95; }
.not-found-card p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.not-found-actions a { border: 1px solid var(--line); border-radius: 999px; padding: 11px 15px; color: var(--blue); background: #f9fafb; font-weight: 850; }
.not-found-search { background: #172033; color: white; border-radius: 8px; padding: 24px; }
.not-found-search h2 { margin: 0 0 12px; }
.not-found-search .search-large { display: grid; margin: 0; }

@media (max-width: 980px) {
    .topbar, .main-nav { flex-wrap: wrap; justify-content: flex-start; }
    .login-shell { grid-template-columns: 1fr; }
    .login-intro, .corporate-login { min-height: auto; }
    .login-intro { padding: 34px 24px; }
    .hero, .split-section, .page-hero, .form-page, .updates-board, .detail-hero, .origin-story, .detail-layout, .local-seo-band, .archive-assist, .home-map-section, .not-found-page { grid-template-columns: 1fr; }
    .hero { padding: 42px 0; min-height: auto; }
    .quick-stats, .project-strip, .card-grid, .admin-grid, .block-grid, .document-list, .team-grid, .home-faq-list, .identity-strip { grid-template-columns: repeat(2, 1fr); }
    .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-agenda .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .updates-main .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
    .project-tile.large { grid-row: span 1; }
    .site-footer { grid-template-columns: repeat(2, 1fr); }
    .admin-body { min-height: 100vh; padding-left: 0; overflow-x: clip; }
    .admin-sidebar { width: 100%; max-width: 100vw; position: sticky; top: 0; z-index: 70; height: auto; display: block; overflow: visible; padding: 12px; }
    .admin-sidebar-head { min-height: 44px; }
    .admin-sidebar .admin-sidebar-logo { width: 150px; min-height: 48px; height: 48px; margin: 0; padding: 5px 9px; border-radius: 10px; }
    .admin-sidebar-logo img { height: 38px; }
    .admin-sidebar strong { margin: 0; font-size: 18px; }
    .admin-nav-toggle { display: inline-flex; }
    .admin-nav-links { display: none; max-height: min(68vh, 560px); overflow-y: auto; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }
    .admin-nav-links.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-sidebar a { min-width: 0; white-space: normal; padding: 10px 11px; }
    .admin-main { width: 100%; min-width: 0; }
    .form-row { grid-template-columns: 1fr; }
    .system-logo-grid, .settings-field-grid, .settings-picker-row { grid-template-columns: 1fr; }
    .detail-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    main { width: min(100% - 22px, 1180px); }
    .brand { min-width: 0; }
    .main-nav { display: none; }
    .hero h1 { font-size: 48px; }
    .quick-stats, .project-strip, .card-grid, .gallery, .site-footer, .block-grid, .document-list, .permission-grid, .team-grid, .home-faq-list, .identity-strip { grid-template-columns: 1fr; }
    .support-band { align-items: flex-start; flex-direction: column; padding: 24px; }
    .event-list a, .calendar-list a { grid-template-columns: 1fr; }
    .filter-bar, .search-large { flex-direction: column; align-items: stretch; }
}

/* Mobile-first refinement layer */
.mobile-menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: white; place-items: center; gap: 4px; padding: 10px; cursor: pointer; }
.mobile-menu-button span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 10px; transition: transform .18s ease, opacity .18s ease; }
.mobile-menu-button.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-button.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-button.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; }
.hero-copy { position: relative; z-index: 2; }
.content-card { min-height: 100%; }
.content-card h3 { line-height: 1.18; font-size: 21px; }
.content-card p { line-height: 1.5; }
.section-head h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1; margin: 8px 0 18px; }
.page-hero { min-height: 360px; }
.public-form button, .admin-form button, .search-large button, .filter-bar button { min-height: 44px; }

@media (max-width: 1120px) {
    .topbar { align-items: flex-start; height: auto; }
    .brand { flex: 1; }
    .mobile-menu-button { display: grid; }
    .main-nav { display: none; order: 5; flex-basis: 100%; width: 100%; max-width: none; justify-content: flex-start; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-top: 10px; box-shadow: 0 18px 50px rgba(24,33,47,.12); }
    .main-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .main-nav > a, .nav-group > button { width: 100%; text-align: left; border-radius: 6px; background: #f9fafb; padding: 11px 12px; }
    .nav-group { width: 100%; }
    .nav-group::after { display: none; }
    .dropdown { position: static; display: grid; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 8px; min-width: 0; }
    .dropdown a { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 760px) {
    body { background: #f7faf9; }
    .topbar { min-height: 72px; padding: 9px 12px; gap: 10px; }
    .brand { gap: 9px; min-width: 0; }
    .brand-mark { width: 40px; height: 40px; font-size: 21px; }
    .brand-logo { width: 72px; min-width: 72px; max-width: 72px; height: 48px; transform: scale(1.12); }
    .brand strong { display: block; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand small { font-size: 11px; }
    .donate-link { padding: 10px 11px; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
    .main-nav.is-open { grid-template-columns: 1fr; max-height: calc(100vh - 86px); overflow-y: auto; }

    main { width: min(100% - 24px, 1180px); }
    .hero { display: grid; min-height: calc(100vh - 64px); padding: 86px 22px 72px; }
    .hero { width: 100%; margin-left: 0; }
    .hero-media { min-height: 100%; width: 100%; border-radius: 0; box-shadow: none; }
    .hero img { height: 100%; width: 100%; border-radius: 0; box-shadow: none; }
    .hero-slide::after { background: linear-gradient(180deg, rgba(17,24,39,.24) 0%, rgba(17,24,39,.86) 100%); }
    .hero-slide span { display: none; }
    .hero-slide strong { left: 22px; right: 22px; bottom: 24px; text-align: left; max-width: none; font-size: 17px; }
    .hero-dots { left: 22px; bottom: 26px; transform: translateY(36px); }
    .hero-copy { padding: 0; margin: 0; background: transparent; border-radius: 0; box-shadow: none; }
    .hero h1 { font-size: clamp(42px, 13vw, 60px); }
    .hero p { font-size: 16px; }
    .primary, .secondary { text-align: center; }
    .identity-strip { gap: 8px; margin-top: 22px; }
    .identity-strip span { min-height: 54px; font-size: 13px; }
    .origin-story { margin: 40px 0 20px; grid-template-columns: 1fr; }
    .origin-media { min-height: 260px; }
    .origin-copy { padding: 22px; }
    .origin-copy h2 { font-size: 34px; }
    .local-seo-band { margin: 44px 0; padding: 22px; }
    .local-seo-band a { width: 100%; }

    .quick-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 42px; }
    .quick-stats article { padding: 16px; }
    .quick-stats strong { font-size: 28px; }
    .quick-stats span { font-size: 13px; }

    .split-section { display: block; margin: 44px 0; }
    .split-section h2, .section-head h2, .support-band h2 { font-size: 32px; }
    .updates-board { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 44px 0; }
    .updates-main, .agenda-panel { padding: 18px; }
    .featured-agenda .event-list { grid-template-columns: 1fr; }
    .updates-main .card-grid { display: grid; grid-template-columns: 1fr; grid-auto-flow: row; overflow: visible; padding: 0; margin-left: 0; }
    .updates-main .content-card { grid-template-columns: 1fr; min-height: 0; }
    .updates-main .content-card img { height: 205px; min-height: 205px; }
    .section-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
    .section-toolbar h2, .compact-head h2 { font-size: 30px; }
    .section-toolbar > a { text-align: center; }
    .card-grid { grid-template-columns: 1fr; gap: 14px; }
    .content-card { display: grid; grid-template-columns: 112px 1fr; align-items: stretch; min-height: 132px; }
    .content-card img { height: 100%; min-height: 132px; }
    .content-card span { margin-top: 12px; font-size: 12px; }
    .content-card h3 { font-size: 17px; margin-top: 5px; margin-bottom: 4px; }
    .content-card p { font-size: 13px; margin-top: 0; padding-bottom: 10px; }

    .support-band { margin: 44px -12px; border-radius: 0; padding: 24px; }
    .project-strip { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 12px; }
    .project-tile { min-height: 220px; }
    .project-tile.large strong { font-size: 30px; }
    .event-list a, .calendar-list a { grid-template-columns: 1fr; padding: 16px; }

    .inner { padding: 24px 0 58px; }
    .page-hero { grid-template-columns: 1fr; min-height: auto; gap: 18px; }
    .page-hero, .detail-hero { min-height: 420px; padding: 96px 18px 34px; margin-bottom: 24px; }
    .page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
    .page-hero p { font-size: 16px; }
    .page-hero img { height: 100%; min-height: 0; order: 0; }
    .detail-hero { gap: 16px; }
    .detail-copy { padding: 0; max-width: 100%; }
    .detail-hero h1 { font-size: clamp(24px, 8vw, 38px); word-break: break-word; hyphens: auto; }
    .detail-hero p { font-size: 16px; }
    .detail-hero img { min-height: 0; height: 100%; order: 0; }
    .detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) !important; width: 100%; max-width: 100%; overflow: hidden; }
    .detail-side { position: static; grid-template-columns: 1fr; }
    .side-recommendations .side-story { grid-template-columns: 72px minmax(0, 1fr); min-height: 88px; padding: 9px 30px 9px 9px; }
    .side-recommendations .side-story img { width: 72px; height: 68px; }
    .side-recommendations .side-story b { font-size: 13px; }
    .detail-actions { display: grid; grid-template-columns: 1fr; }
    .detail-actions a, .detail-side-card a { text-align: center; }
    .share-section { display: grid; grid-template-columns: 1fr; }
    .share-section a { text-align: center; }
    .detail-cta { align-items: flex-start; flex-direction: column; }
    .prose { padding: 20px; font-size: 16px; border-radius: 8px; max-width: 100%; min-width: 0; }
    .prose img { width: 100%; max-width: 100%; height: auto; }
    .page-mutevelli-heyet .detail-prose p:has(img) { justify-content: center; }
    .page-mutevelli-heyet .detail-prose img { width: min(190px, 46vw); height: 220px; }
    .board-photo-grid, .board-list > div { grid-template-columns: 1fr; }
    .board-photo-grid img { height: 240px; }
    .reference-card-grid { grid-template-columns: 1fr; }
    .reference-card-grid img { height: 210px; }
    .education-staff-section { padding: 18px; }
    .education-staff-grid { grid-template-columns: 1fr; }
    .education-staff-grid img { height: 260px; }
    .page-egitim-merkezi .detail-prose p:has(img) { justify-content: center; }
    .page-egitim-merkezi .detail-prose p:has(img) img { width: min(180px, 46vw); height: 220px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery img { height: 240px; }

    .form-page { display: block; padding: 34px 0 58px; }
    .form-page h1 { font-size: 40px; }
    .public-form { margin-top: 18px; padding: 18px; }
    .document-list, .team-grid, .block-grid, .people-grid { grid-template-columns: 1fr; }
    .map-embed, .map-embed iframe, .home-map-section .map-embed, .home-map-section .map-embed iframe { min-height: 280px; height: 280px; }
    .site-footer { grid-template-columns: 1fr; padding: 30px 20px; gap: 18px; }
    .footer-main, .footer-seo { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .logo-setting-preview { grid-template-columns: 1fr; }
    .logo-setting-preview label { grid-column: auto; }
    .card-grid.compact { grid-template-columns: 1fr !important; }
    .card-grid.compact .content-card { grid-template-columns: 1fr !important; min-height: 0; }
    .card-grid.compact .content-card img { height: 205px; min-height: 205px; }
    .admin-main { width: 100%; min-width: 0; max-width: 100vw; padding: 14px; }
    .admin-login { padding: 14px; }
    .login-intro h1 { font-size: 38px; }
    .login-feature-grid { grid-template-columns: 1fr; }
    .corporate-login { padding: 24px; }
    .admin-top { align-items: flex-start; flex-direction: column; gap: 6px; }
    .admin-grid { grid-template-columns: 1fr; }
    .admin-nav-links.is-open { grid-template-columns: 1fr; }
    .panel { width: 100%; max-width: 100%; padding: 16px; }
    .panel-heading-row { flex-direction: column; }
    .panel-heading-row .button-link { width: 100%; }
    .admin-quick-actions { display: grid; grid-template-columns: 1fr; }
    .admin-quick-actions a { justify-content: center; }
    .rich-toolbar { position: sticky; top: 62px; z-index: 20; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px; box-shadow: 0 10px 24px rgba(24,33,47,.08); }
    .rich-editor { min-height: 300px; }
    .gallery-sorter { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
    .gallery-sorter div { grid-template-columns: 22px 1fr auto; }
    .gallery-sorter img { width: 100%; height: 92px; }
    .gallery-remove { grid-column: 2 / -1; }
}

@media (max-width: 420px) {
    .content-card { grid-template-columns: 1fr; }
    .content-card img { height: 190px; }
    .quick-stats { grid-template-columns: 1fr; }
    .donate-link { width: auto; justify-content: center; order: 0; }
}

/* System settings and education page refinements */
.rich-editor-lite { min-height: 340px; font-family: inherit; line-height: 1.7; }
.setting-image-preview { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #f8fafc; display: grid; gap: 8px; }
.setting-image-preview span { color: var(--muted); font-weight: 800; }
.setting-image-preview img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; background: white; }
.hero-gallery-preview { grid-column: 1 / -1; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 12px; background: #f8fafc; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-gallery-preview > span { flex-basis: 100%; color: var(--blue); font-weight: 900; }
.hero-gallery-preview img { width: 118px; height: 74px; object-fit: cover; border-radius: 7px; border: 1px solid var(--line); background: white; }
.hero-gallery-preview small { color: var(--muted); font-weight: 750; }
.page-hero-manager { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.page-hero-manager article { border: 1px solid var(--line); border-radius: 8px; background: #f9fafb; padding: 12px; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; align-items: center; overflow: hidden; }
.page-hero-manager img { width: 96px; height: 76px; object-fit: cover; border-radius: 6px; background: white; }
.page-hero-manager strong { display: block; color: var(--blue); }
.page-hero-manager span { display: block; color: var(--muted); font-size: 12px; margin: 3px 0 8px; }
.page-hero-manager input[type="file"] { width: 100%; max-width: 100%; font-size: 13px; }
.education-profile-layout { background: white; border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 34px); margin-bottom: 24px; }
.education-staff-section { margin: 28px 0; padding: clamp(20px, 4vw, 34px); background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 48px rgba(24,33,47,.06); }
.education-staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.education-staff-grid article { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 28px rgba(24,33,47,.07); }
.education-staff-grid img { width: 100%; height: 245px; object-fit: cover; object-position: center top; display: block; background: #eef3f0; }
.education-staff-grid div { padding: 14px 15px 16px; display: grid; gap: 5px; }
.education-staff-grid strong { color: var(--ink); font-size: 17px; line-height: 1.2; }
.education-staff-grid span { color: var(--green); font-weight: 850; font-size: 13px; }
.education-photo-grid { margin: 24px 0; }
.education-photo-grid figure { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 0; box-shadow: 0 12px 28px rgba(24,33,47,.06); }
.education-photo-grid img { width: 100%; height: 230px; object-fit: cover; object-position: center top; border-radius: 6px; background: #eef3f0; }
.education-photo-grid figcaption { margin-top: 10px; color: var(--blue); font-weight: 850; text-transform: capitalize; }
@media (max-width: 760px) { .page-hero-manager { grid-template-columns: 1fr; } .page-hero-manager article { grid-template-columns: 82px 1fr; } }

/* SOMET sunumunda onaylanan kurumsal düzen */
body { background: #fbf9fd; }
.topbar { min-height: 92px; height: 92px; background: rgba(255,255,255,.96); border-bottom-color: rgba(45,0,112,.1); }
.brand { min-width: 180px; gap: 0; }
.brand-logo-frame { position: relative; display: block; flex: 0 0 168px; width: 168px; height: 68px; overflow: visible; border-radius: 0; background: transparent; }
.brand-logo { position: static; width: 100%; min-width: 0; max-width: 100%; height: 100%; transform: none; object-fit: contain; object-position: left center; filter: drop-shadow(0 3px 8px rgba(45,0,112,.1)); }
.brand strong { color: var(--purple); font-size: 21px; letter-spacing: .035em; }
.brand small { display: flex; gap: 9px; color: #4c3b63; font-size: 11px; }
.brand small b { font-weight: 750; }
.main-nav { border-color: rgba(45,0,112,.12); background: #fbf9ff; }
.main-nav > a:hover, .nav-group > button:hover { color: var(--purple); }
.donate-link, .primary, .public-form button, .admin-form button, .login-card button { background: var(--coral); }

.somet-hero { min-height: min(760px, calc(100vh - 92px)); }
.somet-hero .hero-media img { opacity: 1; filter: brightness(1.1) contrast(1.03) saturate(1.03); object-position: center 38%; }
.somet-hero .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,8,50,.78) 0%, rgba(24,8,50,.43) 42%, rgba(24,8,50,.04) 78%), linear-gradient(180deg, rgba(45,0,112,.02), rgba(45,0,112,.28)); }
.somet-hero .hero-copy { max-width: 760px; }
.somet-hero h1 { font-size: clamp(68px, 10vw, 132px); }
.somet-hero .eyebrow { color: #ffd24a; }

.identity-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; padding: 0 18px; }
.identity-strip span { min-height: 82px; border-color: rgba(45,0,112,.16); color: var(--purple); box-shadow: 0 12px 34px rgba(45,0,112,.08); }

.updates-tabs, .updates-showcase, .article-hub { width: min(1180px, calc(100% - 36px)); margin: 70px auto 0; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(45,0,112,.12); border-top: 5px solid var(--purple); border-radius: 12px; background: #fff; box-shadow: 0 18px 52px rgba(45,0,112,.08); }
.updates-tab-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 26px; padding: 7px; border-radius: 10px; background: #f5f0fa; }
.updates-tab-list button { min-height: 50px; border: 0; border-radius: 8px; background: transparent; color: var(--purple); font: inherit; font-weight: 850; cursor: pointer; }
.updates-tab-list button.is-active { color: #fff; background: var(--purple); box-shadow: 0 10px 24px rgba(45,0,112,.2); }
.updates-panel[hidden] { display: none; }
.panel-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.panel-toolbar strong { color: var(--purple); font-size: 24px; }
.panel-toolbar a { color: var(--purple); font-weight: 850; border-bottom: 2px solid var(--gold); }

.updates-showcase .section-toolbar { margin-bottom: 24px; }
.updates-showcase .section-toolbar h2 { margin-bottom: 8px; }
.updates-showcase .section-toolbar p { margin: 0; color: var(--muted); }
.updates-showcase-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.updates-column { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; border: 1px solid rgba(45,0,112,.08); border-radius: 18px; background: #fff; box-shadow: 0 15px 38px rgba(24,33,47,.08); }
.updates-column h3 { margin: 0; color: var(--purple); font-size: clamp(28px, 4vw, 42px); line-height: 1; }
.updates-feature { position: relative; display: block; width: 100%; height: clamp(300px, 42vw, 500px); overflow: hidden; border-radius: 13px; background: var(--purple); }
.updates-feature::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(10,15,24,.88)); }
.updates-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.updates-feature:hover img { transform: scale(1.035); }
.updates-feature strong { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; font-size: 17px; line-height: 1.25; text-shadow: 0 2px 14px rgba(0,0,0,.38); }
.updates-badge { position: absolute; z-index: 3; left: 18px; top: 16px; padding: 8px 13px; border-radius: 999px; color: #fff; background: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.updates-column-announcements .updates-badge { color: #17120a; background: var(--gold); }
.updates-column-events .updates-badge { background: #27843d; }
.updates-all-link { width: fit-content; margin-top: auto; color: var(--purple); font-size: 13px; font-weight: 900; border-bottom: 2px solid var(--gold); }
.updates-empty { min-height: 220px; display: grid; place-items: center; padding: 20px; border-radius: 13px; color: var(--muted); background: #f7f4fb; text-align: center; }

.project-showcase { width: min(1180px, calc(100% - 36px)); margin: 70px auto 0; }
.somet-project-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 245px; gap: 16px; }
.somet-project-strip .project-tile { min-height: 245px; border-radius: 10px; background: var(--purple); box-shadow: 0 12px 34px rgba(45,0,112,.11); }
.somet-project-strip .project-tile img { opacity: .92; filter: brightness(1.06) contrast(1.03); }
.somet-project-strip .project-tile strong { bottom: 46px; font-size: 22px; }
.somet-project-strip .project-tile p { bottom: 12px; -webkit-line-clamp: 1; }

.article-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-hub-grid a { position: relative; min-height: 290px; overflow: hidden; border-radius: 10px; background: var(--purple); box-shadow: 0 14px 38px rgba(45,0,112,.11); }
.article-hub-grid img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.04) contrast(1.03); }
.article-hub-grid a::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(32,0,78,.94)); }
.article-hub-grid strong, .article-hub-grid span { position: absolute; z-index: 2; left: 20px; right: 20px; color: white; }
.article-hub-grid strong { bottom: 26px; font-size: 25px; }
.article-hub-grid span { bottom: 10px; color: rgba(255,255,255,.75); font-size: 12px; }

.zette-banner { position: relative; display: block; width: min(1180px, calc(100% - 36px)); min-height: 330px; margin: 70px auto 0; overflow: hidden; border-radius: 12px; background: var(--purple); box-shadow: 0 20px 54px rgba(45,0,112,.18); }
.zette-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.78) saturate(1.06); }
.zette-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,0,112,.92), rgba(45,0,112,.56) 55%, rgba(45,0,112,.14)); }
.zette-banner > span { position: relative; z-index: 2; min-height: 330px; display: grid; align-content: center; gap: 8px; padding: clamp(28px, 7vw, 84px); color: #fff; }
.zette-banner small { color: var(--gold); font-size: 18px; font-weight: 900; text-transform: uppercase; }
.zette-banner strong { font-size: clamp(52px, 8vw, 96px); line-height: .95; }
.zette-banner b { width: fit-content; margin-top: 8px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: rgba(255,255,255,.12); }

.support-band { width: min(1180px, calc(100% - 36px)); margin: 70px auto; background: linear-gradient(135deg, var(--purple), #51129a); box-shadow: 0 20px 54px rgba(45,0,112,.18); }
.support-actions { display: grid; gap: 10px; min-width: 230px; }
.support-actions a { width: 100%; text-align: center; }
.support-actions .donation-action { color: #fff; background: var(--coral); }
.origin-story { width: min(1180px, calc(100% - 36px)); margin: 0 auto 70px; border-color: rgba(45,0,112,.12); }
.origin-media img { filter: brightness(1.06) contrast(1.03); }
.origin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.origin-actions a { margin: 0; }
.origin-actions a:last-child { background: var(--purple); }

.page-hero img, .detail-hero img { opacity: .83; filter: brightness(1.08) contrast(1.04); }
.page-hero::after, .detail-hero::after { background: linear-gradient(90deg, rgba(32,0,78,.9), rgba(32,0,78,.52) 54%, rgba(32,0,78,.08)); }
.detail-layout.without-side { grid-template-columns: minmax(0, 1fr); }
.page-yetiskinlik-yolculugunda-birlikteyiz .detail-prose > p:has(> img) { width: 100%; margin: 22px 0; padding: 12px; border: 1px solid rgba(45,0,112,.12); border-radius: 12px; background: #f6f1fa; box-shadow: 0 12px 32px rgba(45,0,112,.07); }
.page-yetiskinlik-yolculugunda-birlikteyiz .detail-prose > p > img { width: 100%; max-width: none; height: auto; border-radius: 7px; }
.collection-admin-list { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.collection-admin-list .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-kurucularimiz .page-hero { min-height: 360px; }
.page-kurucularimiz .page-hero img { object-position: center 35%; }

.somet-footer { margin-top: 60px; padding: 38px clamp(18px,4vw,56px) 22px; background: linear-gradient(145deg, #24005c, #3b087d 55%, #25005e); }
.somet-footer .footer-main { grid-template-columns: minmax(280px, 1.05fr) minmax(220px, .75fr) minmax(300px, 1.2fr); }
.somet-footer .footer-main.without-story { grid-template-columns: minmax(240px, .65fr) minmax(420px, 1.35fr); }
.footer-story { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; background: rgba(255,255,255,.07); }
.footer-story img { width: 132px; height: 132px; object-fit: cover; object-position: center 32%; border-radius: 8px; filter: grayscale(1) brightness(1.08); }
.footer-story span { display: grid; gap: 5px; }
.footer-story small { color: var(--gold); font-weight: 850; text-transform: uppercase; }
.footer-story strong { color: #fff; font-size: 21px; line-height: 1.15; }
.footer-story b { color: rgba(255,255,255,.72); }
.somet-footer .footer-contact > a { width: fit-content; color: white; border-bottom: 2px solid var(--gold); font-weight: 850; }
.footer-map { min-height: 220px; color: var(--ink); background: #fff; }
.footer-menu { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 28px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-menu > div { min-width: 0; }
.footer-menu strong { display: block; margin-bottom: 9px; color: #fff; }
.footer-menu a { font-size: 13px; line-height: 1.35; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-social a { color: #fff !important; font-weight: 800; }
.mobile-bottom-nav { display: none; }

@media (max-width: 1120px) {
    .brand { min-width: 0; }
    .brand-logo-frame { flex-basis: 142px; width: 142px; height: 60px; }
    .brand-logo { width: 100%; min-width: 0; height: 100%; transform: none; }
    .somet-project-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .somet-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .somet-footer .footer-main.without-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-map { grid-column: 1 / -1; }
    .footer-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .updates-showcase-grid { grid-template-columns: 1fr; }
    .updates-column { grid-template-columns: 1fr; gap: 16px; }
    .updates-feature { height: clamp(260px, 55vw, 420px); grid-row: auto; }
    .updates-all-link { grid-column: auto; }
}

@media (max-width: 760px) {
    .topbar { min-height: 76px; height: 76px; }
    .brand-logo-frame { flex-basis: 116px; width: 116px; height: 54px; }
    .brand-logo { width: 100%; min-width: 0; height: 100%; transform: none; }
    .brand strong { font-size: 17px; }
    .brand small { gap: 5px; font-size: 9px; }
    .donate-link { display: none; }
    .somet-hero { min-height: calc(100vh - 76px); padding: 90px 22px 70px; }
    .somet-hero h1 { font-size: clamp(58px, 21vw, 88px); }
    .somet-hero .hero-media img { object-position: 62% center; }
    .identity-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .updates-tabs, .updates-showcase, .article-hub { width: calc(100% - 24px); margin-top: 44px; padding: 18px; }
    .updates-tab-list { grid-template-columns: 1fr; }
    .updates-tab-list button { min-height: 44px; }
    .panel-toolbar { align-items: flex-start; flex-direction: column; }
    .updates-column { display: grid; padding: 14px; }
    .updates-feature { height: 210px; }
    .updates-all-link { grid-column: auto; }
    .somet-project-strip, .article-hub-grid { grid-template-columns: 1fr; }
    .project-showcase, .zette-banner, .support-band, .origin-story { width: calc(100% - 24px); }
    .zette-banner, .zette-banner > span { min-height: 300px; }
    .support-actions { width: 100%; min-width: 0; }
    .origin-actions { flex-direction: column; }
    .origin-actions a { width: 100%; text-align: center; }
    .detail-layout { grid-template-columns: 1fr; }
    .collection-admin-list .card-grid { grid-template-columns: 1fr; }
    .somet-footer .footer-main, .footer-menu { grid-template-columns: 1fr; }
    .somet-footer .footer-main.without-story { grid-template-columns: 1fr; }
    .footer-map { grid-column: auto; }
    .footer-story { grid-template-columns: 100px minmax(0, 1fr); }
    .footer-story img { width: 100px; height: 112px; }
    .footer-bottom { align-items: flex-start; }
    .public-site { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .mobile-bottom-nav { position: fixed; left: 8px; right: 8px; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; min-height: calc(66px + env(safe-area-inset-bottom)); padding: 6px 5px calc(5px + env(safe-area-inset-bottom)); border: 1px solid rgba(45,0,112,.12); border-bottom: 0; border-radius: 18px 18px 0 0; background: rgba(255,255,255,.97); box-shadow: 0 -12px 34px rgba(24,8,50,.16); backdrop-filter: blur(18px); }
    .mobile-bottom-nav a { position: relative; display: grid; place-items: center; align-content: end; gap: 3px; min-width: 0; min-height: 54px; padding: 3px 1px; border-radius: 12px; color: #6d6378; font-weight: 850; line-height: 1; transition: color .2s ease, background .2s ease, transform .2s ease; }
    .mobile-bottom-nav a > span { display: grid; place-items: center; width: 32px; height: 32px; color: inherit; line-height: 1; }
    .mobile-bottom-nav svg { display: block; width: 24px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .mobile-bottom-nav small { max-width: 100%; overflow: hidden; font-size: 10px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-bottom-nav a[aria-current="page"] { color: var(--purple); background: rgba(45,0,112,.06); }
    .mobile-bottom-nav a:active { transform: translateY(1px) scale(.96); }
    .mobile-bottom-nav .mobile-bottom-call { color: var(--purple); }
    .mobile-bottom-nav .mobile-bottom-call > span { width: 52px; height: 52px; margin-top: -22px; border: 5px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #5610a8, var(--purple)); box-shadow: 0 10px 25px rgba(45,0,112,.3), inset 0 1px 0 rgba(255,255,255,.28); }
    .mobile-bottom-nav .mobile-bottom-call svg { width: 25px; height: 25px; stroke-width: 1.9; }

    .archive-page { padding-top: 14px; }
    .archive-head { margin: 0 0 12px; padding: 20px 18px; border-radius: 16px; }
    .archive-head::after { right: -70px; top: -100px; }
    .archive-head h1 { margin-top: 7px; font-size: clamp(36px, 10vw, 48px); line-height: .98; }
    .archive-head-unified { min-height: 190px; padding: 24px 20px; }
    .archive-head-unified h1 { font-size: clamp(40px, 12vw, 56px); }
    .archive-head-unified p { margin-top: 12px; font-size: 15px; line-height: 1.55; }
    .archive-topic-nav { flex-wrap: nowrap; gap: 7px; margin: 12px -12px 10px; padding: 8px 12px 10px; overflow-x: auto; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; scrollbar-width: none; scroll-snap-type: x proximity; }
    .archive-topic-nav::-webkit-scrollbar { display: none; }
    .archive-topic-nav a { flex: 0 0 auto; min-height: 42px; padding: 0 15px; scroll-snap-align: start; }
    .archive-result-summary { margin-bottom: 14px; }
    .archive-filter { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin: 0 0 18px; padding: 6px; border-radius: 14px; }
    .archive-filter-control { min-height: 54px; padding: 7px 38px 7px 12px; }
    .archive-filter-control::after { right: 15px; }
    .archive-filter-control select { font-size: 15px; }
    .archive-filter button { min-width: 105px; min-height: 54px; padding: 0 14px; }

    .lightbox-toolbar { min-height: 62px; padding: 9px 10px; }
    .lightbox-counter { min-width: 48px; font-size: 12px; }
    .lightbox-tools { gap: 5px; }
    .image-lightbox button { width: 39px; height: 39px; border-radius: 11px; }
    .image-lightbox .lightbox-reset { width: 56px; }
    .lightbox-stage { padding: 14px 8px 72px; }
    .lightbox-stage img { max-width: 96vw; max-height: calc(100vh - 172px); }
    .image-lightbox .lightbox-nav { top: auto; bottom: 76px; width: 46px; height: 46px; margin: 0; border-radius: 50%; }
    .image-lightbox .lightbox-prev { left: 14px; }
    .image-lightbox .lightbox-next { right: 14px; }
    .lightbox-footer { position: absolute; right: 62px; bottom: 72px; left: 62px; z-index: 4; justify-content: center; min-height: 46px; padding: 6px 8px; border: 0; border-radius: 12px; background: rgba(15,16,22,.7); }
    .lightbox-footer strong { max-width: 100%; font-size: 12px; text-align: center; }
    .lightbox-footer span { display: none; }
}

@media (max-width: 370px) {
    .archive-filter { grid-template-columns: 1fr; }
    .archive-filter button { width: 100%; min-height: 48px; }
}

/* Refined admin editor and data tables */
.admin-form input:not([type="checkbox"]):not([type="radio"]),
.admin-form textarea,
.admin-form select {
    min-height: 48px;
    border-color: #d7dce5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16,24,40,.025);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.admin-form input:not([type="checkbox"]):not([type="radio"]):focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: 0;
    border-color: rgba(45,0,112,.52);
    box-shadow: 0 0 0 4px rgba(45,0,112,.08);
}

.admin-form input[type="file"] {
    padding: 6px;
    color: #667085;
    font-size: 14px;
}

.admin-form input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 10px;
    border: 0;
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--purple);
    background: rgba(45,0,112,.07);
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.admin-form .check {
    min-height: 48px;
    align-self: end;
    display: flex;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 11px;
    border: 1px solid #d7dce5;
    border-radius: 12px;
    padding: 8px 12px;
    background: #fff;
    cursor: pointer;
}

.admin-form .check input[type="checkbox"] {
    position: relative;
    appearance: none;
    flex: 0 0 auto;
    width: 42px;
    height: 24px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: #cfd5df;
    box-shadow: inset 0 0 0 1px rgba(16,24,40,.08);
    cursor: pointer;
    transition: background .18s ease;
}

.admin-form .check input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(16,24,40,.22);
    transition: transform .18s ease;
}

.admin-form .check input[type="checkbox"]:checked { background: var(--green); }
.admin-form .check input[type="checkbox"]:checked::before { transform: translateX(18px); }
.admin-form .check input[type="checkbox"]:focus-visible { outline: 3px solid rgba(38,117,95,.18); outline-offset: 2px; }

.admin-form .rich-editor-wrap {
    display: block;
    border: 1px solid #d9dee7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(24,33,47,.055);
}

.admin-form .rich-toolbar {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #e5e8ee;
    border-radius: 0;
    background: #f8f9fc;
    box-shadow: none;
}

.rich-toolbar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex: 1 0 100%;
    width: 100%;
    margin-bottom: 3px;
    padding: 0 2px 10px;
    border-bottom: 1px solid #e5e8ee;
}

.rich-toolbar-heading strong { color: #202939; font-size: 14px; }
.rich-toolbar-heading span { color: #7b8494; font-size: 12px; font-weight: 650; }

.rich-toolbar-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 0 9px 0 0;
    border-right: 1px solid #dde2ea;
}

.rich-toolbar-group:last-child { padding-right: 0; border-right: 0; }
.rich-toolbar-group-title {
    flex: 1 0 100%;
    padding: 0 2px 3px;
    color: #8a94a5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-form .rich-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 36px;
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 7px 9px;
    color: #344054;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.admin-form .rich-toolbar button:hover {
    border-color: #d6dbe4;
    color: var(--purple);
    background: #fff;
    transform: translateY(-1px);
}

.admin-form .rich-toolbar button:focus-visible {
    outline: 3px solid rgba(45,0,112,.12);
    outline-offset: 1px;
}

.admin-form .rich-toolbar button svg {
    display: block;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-form .rich-toolbar button[data-cmd="bold"] svg,
.admin-form .rich-toolbar button[data-cmd="italic"] svg,
.admin-form .rich-toolbar button[data-cmd="underline"] svg { stroke-width: 2.15; }

.admin-form .rich-toolbar button[data-upload] {
    border-color: rgba(38,117,95,.16);
    color: #17644f;
    background: rgba(38,117,95,.065);
}

.admin-form .rich-toolbar button[data-upload]:hover {
    border-color: rgba(38,117,95,.3);
    color: #0d563f;
    background: rgba(38,117,95,.11);
}

.admin-form .rich-toolbar button[data-image-size] .rich-tool-label { display: none; }

.admin-form .rich-editor {
    min-height: 390px;
    border: 0;
    border-radius: 0;
    padding: 30px clamp(22px, 4vw, 52px);
    color: #273142;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    font-size: 16px;
    line-height: 1.8;
}

.admin-form .rich-editor:empty::before {
    content: "İçeriğinizi yazmaya başlayın…";
    color: #98a2b3;
    pointer-events: none;
}

.admin-form .rich-editor:focus {
    outline: 0;
    border: 0;
    box-shadow: inset 4px 0 0 rgba(45,0,112,.22);
}

.admin-form .rich-help {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin: 0;
    padding: 9px 16px;
    border-top: 1px solid #e8ebf0;
    color: #737d8d;
    background: #fbfcfe;
    line-height: 1.45;
}

.admin-main .panel:has(> table) {
    border: 1px solid #e1e5ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(24,33,47,.05);
    overflow-x: auto;
}

.admin-main .panel:has(> table) > h2,
.admin-main .panel:has(> table) > .panel-note {
    margin-left: 18px;
    margin-right: 18px;
}

.admin-main .panel:has(> table) > h2 { margin-top: 19px; margin-bottom: 5px; }
.admin-main .panel:has(> table) > .panel-note { margin-bottom: 15px; }

.admin-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.admin-data-table th {
    padding: 12px 16px;
    border-top: 1px solid #edf0f4;
    border-bottom-color: #e4e8ee;
    color: #778193;
    background: #f8f9fb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.admin-data-table td {
    padding: 15px 16px;
    border-bottom-color: #eaedf2;
    color: #344054;
    font-size: 14px;
    line-height: 1.5;
    transition: background .15s ease;
}

.admin-data-table tr:last-child td { border-bottom: 0; }
.admin-data-table tr:hover td { background: #fbfafc; }
.admin-data-table td:first-child { color: #202939; font-weight: 720; }

.admin-data-table .admin-url-cell a {
    display: inline-flex;
    max-width: min(430px, 36vw);
    margin: 0;
    border-radius: 7px;
    padding: 4px 7px;
    overflow: hidden;
    color: #54308d;
    background: rgba(45,0,112,.045);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-data-table .status-pill {
    gap: 7px;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 850;
}

.admin-data-table .status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(102,112,133,.1);
}

.status-published { border-color: #c8eadc !important; color: #147552 !important; background: #edf9f4 !important; }
.status-draft, .status-hidden { border-color: #dde2e9 !important; color: #667085 !important; background: #f5f7fa !important; }
.status-pending { border-color: #f4ddb2 !important; color: #9a5b13 !important; background: #fff8ea !important; }

.admin-data-table .table-actions { white-space: nowrap; }
.admin-data-table .table-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    margin: 0 5px 3px 0;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    padding: 6px 10px;
    color: #475467;
    background: #fff;
    font-size: 12px;
    font-weight: 850;
    transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
}

.admin-data-table .table-actions a:hover { transform: translateY(-1px); }
.admin-data-table .table-actions .admin-action-edit { border-color: rgba(45,0,112,.16); color: var(--purple); background: rgba(45,0,112,.045); }
.admin-data-table .table-actions .admin-action-edit::before { content: "✎"; font-size: 14px; }
.admin-data-table .table-actions .danger-link { border-color: #f2d0cd; color: #b42318 !important; background: #fff7f6; }
.admin-data-table .table-actions .danger-link::before { content: "×"; font-size: 18px; font-weight: 500; line-height: .8; }

@media (max-width: 980px) {
    .rich-toolbar-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
    .rich-toolbar-group { border-right: 0; }
    .admin-form .rich-toolbar button .rich-tool-label { display: none; }
    .admin-form .rich-toolbar button[data-upload] .rich-tool-label { display: inline; }
}

@media (max-width: 760px) {
    .admin-form .rich-toolbar { position: static; align-items: flex-start; gap: 9px 4px; padding: 10px; }
    .rich-toolbar-heading { padding-bottom: 8px; }
    .rich-toolbar-heading span { display: none; }
    .rich-toolbar-group { padding: 0; }
    .rich-toolbar-group-title { display: none; }
    .admin-form .rich-toolbar button { min-width: 38px; min-height: 38px; padding: 7px 9px; }
    .admin-form .rich-toolbar button[data-upload] .rich-tool-label { display: none; }
    .admin-form .rich-editor { min-height: 320px; padding: 22px 18px; }
    .admin-main .panel:has(> table) { border-radius: 12px; }
    .admin-data-table td, .admin-data-table th { padding-left: 12px; padding-right: 12px; }
    .admin-data-table .admin-url-cell a { max-width: 250px; }
}

/* Advanced content workspace */
.admin-main #yeni-kayit.admin-editor-panel {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.admin-editor-panel .panel-heading-row {
    position: relative;
    align-items: center;
    margin: 0 0 18px;
    border: 1px solid rgba(45,0,112,.11);
    border-radius: 18px;
    padding: 23px 24px 23px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 0, rgba(255,193,7,.12), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fcfaff 64%, #f6f1fb 100%);
    box-shadow: 0 12px 34px rgba(24,8,50,.06);
}

.admin-editor-panel .panel-heading-row::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--green), var(--purple));
}

.admin-editor-panel .panel-heading-row > div {
    position: relative;
    display: grid;
    gap: 6px;
}

.admin-editor-kicker {
    width: fit-content;
    color: var(--green);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-editor-panel .panel-heading-row h2 {
    margin: 0;
    color: #172033;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: -.025em;
    line-height: 1.08;
}

.admin-editor-panel .panel-heading-row .panel-note {
    max-width: 680px;
    color: #687386;
    font-size: 14px;
    line-height: 1.55;
}

.admin-editor-mode {
    position: absolute;
    top: 0;
    left: calc(100% + 16px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    border: 1px solid rgba(38,117,95,.15);
    border-radius: 999px;
    padding: 5px 9px;
    color: #17644f;
    background: #edf8f4;
    font-size: 10px;
    font-weight: 850;
}

.admin-editor-mode::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #18a173;
    box-shadow: 0 0 0 3px rgba(24,161,115,.12);
}

.admin-editor-panel .secondary-button {
    min-height: 44px;
    border-color: rgba(45,0,112,.12);
    border-radius: 11px;
    color: var(--purple);
    background: rgba(255,255,255,.82);
    box-shadow: 0 4px 14px rgba(45,0,112,.045);
}

.admin-editor-panel .secondary-button::before {
    content: "+";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 7px;
    border-radius: 50%;
    color: #fff;
    background: var(--purple);
    font-size: 17px;
    line-height: 1;
}

.admin-content-form { display: grid; gap: 18px; }

.admin-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
    gap: 18px;
    align-items: start;
}

.admin-content-primary { display: grid; gap: 18px; min-width: 0; }
.admin-content-sidebar { min-width: 0; }

.admin-form-card {
    min-width: 0;
    border: 1px solid #e1e5ec;
    border-radius: 17px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 9px 28px rgba(24,33,47,.045);
}

.admin-form-card-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 15px 18px;
    border-bottom: 1px solid #e9ecf1;
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.admin-form-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(45,0,112,.08);
    border-radius: 11px;
    color: var(--purple);
    background: rgba(45,0,112,.055);
}

.admin-form-card-publish .admin-form-card-icon {
    border-color: rgba(38,117,95,.12);
    color: var(--green);
    background: rgba(38,117,95,.07);
}

.admin-form-card-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-form-card-head > span:nth-child(2) {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.admin-form-card-head strong { color: #202939; font-size: 15px; line-height: 1.2; }
.admin-form-card-head small { color: #7a8494; font-size: 11px; font-weight: 620; line-height: 1.35; }
.admin-form-card-body { padding: 18px; }

.admin-form-card-content .admin-form-card-body {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 17px 14px;
}

.admin-form-card-content .admin-field { grid-column: span 6; }
.admin-form-card-content .admin-field-title { grid-column: span 8; }
.admin-form-card-content .admin-field-slug { grid-column: span 4; }
.admin-form-card-content .admin-field-category,
.admin-form-card-content .admin-field-category-id { grid-column: span 8; }
.admin-form-card-content .admin-field-menu-order,
.admin-form-card-content .admin-field-sort-order { grid-column: span 4; }
.admin-form-card-content .admin-field-summary { grid-column: 1 / -1; }
.admin-form-card-content .admin-field-tags { grid-column: 1 / -1; }

.admin-field {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
    color: #354052;
    font-size: 13px;
    font-weight: 750;
}

.admin-field-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #344054;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
}

.admin-content-form input:not([type="checkbox"]):not([type="radio"]),
.admin-content-form select,
.admin-content-form textarea {
    min-height: 50px;
    border-color: #dce1e9;
    border-radius: 11px;
    padding: 11px 13px;
    color: #202939;
    background: #fff;
    font-size: 14px;
    font-weight: 650;
}

.admin-content-form input::placeholder,
.admin-content-form textarea::placeholder { color: #a0a8b5; font-weight: 550; }
.admin-content-form .admin-field-summary textarea { min-height: 126px; line-height: 1.6; }
.admin-content-form .admin-field-meta-description textarea { min-height: 105px; line-height: 1.55; }

.admin-field-counter {
    justify-self: end;
    margin-top: -2px;
    color: #8b94a3;
    font-size: 10px;
    font-weight: 700;
}

.admin-field-counter.is-over { color: #b54708; }

.admin-field .field-help {
    margin: -2px 0 0;
    color: #778193;
    font-size: 10px;
    font-weight: 650;
}

.admin-form-card-seo .admin-form-card-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-seo-preview {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid #e2e6ed;
    border-radius: 12px;
    padding: 14px 15px;
    overflow: hidden;
    background: #fbfcfe;
}

.admin-seo-preview-label {
    width: fit-content;
    margin-bottom: 3px;
    border-radius: 999px;
    padding: 4px 8px;
    color: #667085;
    background: #eef1f5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.admin-seo-preview strong {
    max-width: 100%;
    overflow: hidden;
    color: #39117b;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-seo-preview small {
    max-width: 100%;
    overflow: hidden;
    color: #18845f;
    font-size: 11px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-seo-preview p {
    display: -webkit-box;
    max-width: 100%;
    margin: 3px 0 0;
    overflow: hidden;
    color: #687386;
    font-size: 12px;
    font-weight: 520;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.admin-form-card-publish { position: sticky; top: 18px; }
.admin-form-card-publish .admin-form-card-body { display: grid; gap: 15px; }

.admin-publish-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    border: 1px solid #cbe9dc;
    border-radius: 999px;
    padding: 5px 8px;
    color: #137352;
    background: #eef9f4;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.admin-publish-state::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.admin-publish-state[data-state="draft"] { border-color: #dfe3e9; color: #667085; background: #f5f7f9; }
.admin-publish-state[data-state="pending"] { border-color: #f0d5a7; color: #9a5a12; background: #fff8e9; }

.admin-form-card-publish .admin-field-image {
    border: 1px dashed #cfd5df;
    border-radius: 12px;
    padding: 12px;
    background: #fafbfc;
}

.admin-form-card-publish input[type="file"] {
    min-height: 44px;
    border: 0;
    padding: 4px;
    background: transparent;
}

.admin-cover-preview {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 2px;
    border-top: 1px solid #e5e8ed;
    padding-top: 10px;
}

.admin-cover-preview img {
    width: 62px;
    height: 48px;
    border: 1px solid #e0e4ea;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.admin-cover-preview span { display: grid; gap: 2px; min-width: 0; }
.admin-cover-preview strong { color: #344054; font-size: 10px; }
.admin-cover-preview small { color: #7d8796; font-size: 9px; line-height: 1.35; }

.admin-form-card-publish .check {
    min-height: 54px;
    align-self: auto;
    border-color: rgba(38,117,95,.16);
    background: #f7fbf9;
}

.admin-editor-stage { min-width: 0; }

.admin-content-form .rich-editor-wrap {
    border-radius: 17px;
    box-shadow: 0 10px 32px rgba(24,33,47,.05);
}

.rich-toolbar-heading-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.rich-editor-actions {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
}

.rich-editor-stats {
    border: 1px solid #e1e5eb;
    border-radius: 999px;
    padding: 5px 9px;
    color: #7c8695;
    background: #fff;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-form .rich-toolbar .rich-fullscreen-toggle,
.admin-form .rich-toolbar .rich-history-tool {
    min-width: 34px;
    width: 34px;
    padding: 7px;
}

.admin-content-form .rich-toolbar button[data-cmd] .rich-tool-label,
.admin-content-form .rich-toolbar button[data-format] .rich-tool-label,
.admin-content-form .rich-toolbar button[data-link] .rich-tool-label {
    display: none;
}

.admin-content-form .rich-toolbar-group { flex-wrap: nowrap; align-self: center; }
.admin-content-form .rich-toolbar-group-title { display: none; }

.admin-form .rich-toolbar button.is-active {
    border-color: rgba(45,0,112,.18);
    color: var(--purple);
    background: rgba(45,0,112,.085);
    box-shadow: inset 0 0 0 1px rgba(45,0,112,.04);
}

.rich-editor-wrap.is-fullscreen {
    position: fixed;
    inset: 14px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    box-shadow: 0 28px 100px rgba(16,24,40,.34);
}

.rich-editor-wrap.is-fullscreen .rich-toolbar { flex: 0 0 auto; }
.rich-editor-wrap.is-fullscreen .rich-editor { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.rich-editor-wrap.is-fullscreen .rich-help { flex: 0 0 auto; }
.editor-fullscreen-open { overflow: hidden; }

.admin-savebar {
    position: sticky;
    bottom: 12px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    border: 1px solid rgba(45,0,112,.12);
    border-radius: 15px;
    padding: 11px 12px 11px 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 15px 44px rgba(24,8,50,.14);
    backdrop-filter: blur(16px);
}

.admin-savebar > span { display: grid; gap: 2px; }
.admin-savebar > span strong { color: #253043; font-size: 13px; }
.admin-savebar > span small { color: #7d8796; font-size: 10px; font-weight: 650; }

.admin-content-form .admin-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    border-radius: 11px;
    padding: 11px 18px;
    color: #fff;
    background: linear-gradient(135deg, #4d1192, var(--purple));
    box-shadow: 0 8px 20px rgba(45,0,112,.22);
    font-size: 13px;
    font-weight: 900;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.admin-content-form .admin-save-button::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    font-size: 12px;
}

.admin-content-form .admin-save-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(45,0,112,.28);
}

.admin-content-form .admin-save-button:disabled { opacity: .68; transform: none; cursor: wait; }

@media (max-width: 1100px) {
    .admin-content-layout { grid-template-columns: 1fr; }
    .admin-form-card-publish { position: static; }
    .admin-form-card-publish .admin-form-card-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-form-card-publish .admin-field-image { grid-row: span 2; }
}

@media (max-width: 760px) {
    .admin-main #yeni-kayit.admin-editor-panel { padding: 0; }
    .admin-editor-panel .panel-heading-row { align-items: stretch; padding: 20px 18px 20px 22px; border-radius: 14px; }
    .admin-editor-panel .panel-heading-row h2 { font-size: 25px; }
    .admin-editor-mode { position: static; margin-top: 4px; }
    .admin-editor-panel .secondary-button { width: 100%; }
    .admin-form-card { border-radius: 14px; }
    .admin-form-card-head { min-height: 70px; padding: 13px 14px; }
    .admin-form-card-head small { display: none; }
    .admin-form-card-body { padding: 14px; }
    .admin-form-card-content .admin-form-card-body,
    .admin-form-card-seo .admin-form-card-body,
    .admin-form-card-publish .admin-form-card-body { grid-template-columns: 1fr; }
    .admin-form-card-content .admin-field { grid-column: 1 / -1; }
    .admin-form-card-publish .admin-field-image { grid-row: auto; }
    .rich-toolbar-heading-copy > span { display: none; }
    .rich-editor-stats { display: none; }
    .rich-editor-wrap.is-fullscreen { inset: 0; border-radius: 0; }
    .admin-savebar { bottom: 8px; min-height: 64px; padding: 8px; }
    .admin-savebar > span { display: none; }
    .admin-content-form .admin-save-button { width: 100%; min-width: 0; }
}

/* Simplified admin navigation and list-first content screens */
.admin-nav-search {
    position: relative;
    display: block;
    margin: 2px 0 10px;
}

.admin-nav-search svg {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: rgba(255,255,255,.56);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(-50%);
    pointer-events: none;
}

.admin-nav-search input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 9px 11px 9px 38px;
    outline: 0;
    color: #fff;
    background: rgba(255,255,255,.065);
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
}

.admin-nav-search input::placeholder { color: rgba(255,255,255,.48); }
.admin-nav-search input:focus { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }
.admin-nav-links.is-grouped { display: flex; gap: 5px; }

.admin-nav-group {
    border: 1px solid transparent;
    border-radius: 11px;
    overflow: hidden;
}

.admin-nav-group[open] {
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
}

.admin-nav-group summary {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    border-radius: 10px;
    padding: 7px 9px;
    color: rgba(255,255,255,.64);
    cursor: pointer;
    list-style: none;
    transition: color .15s ease, background .15s ease;
}

.admin-nav-group summary::-webkit-details-marker { display: none; }
.admin-nav-group summary:hover { color: #fff; background: rgba(255,255,255,.065); }
.admin-nav-group summary > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.07); }
.admin-nav-group summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.admin-sidebar .admin-nav-group summary strong { margin: 0; color: inherit; font-size: 11px; font-weight: 850; letter-spacing: .015em; }
.admin-nav-group summary b { color: rgba(255,255,255,.45); font-size: 17px; font-weight: 500; transform: rotate(0); transition: transform .16s ease; }
.admin-nav-group[open] summary { color: #fff; }
.admin-nav-group[open] summary b { transform: rotate(90deg); }
.admin-nav-group-items { display: grid; gap: 2px; padding: 2px 6px 7px 43px; }

.admin-sidebar .admin-nav-group-items a {
    position: relative;
    min-height: 34px;
    padding: 8px 9px;
    color: rgba(255,255,255,.66);
    font-size: 11px;
    font-weight: 690;
    line-height: 1.3;
}

.admin-sidebar .admin-nav-group-items a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    transform: translateY(-50%);
}

.admin-sidebar .admin-nav-group-items a.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(97,45,158,.55), rgba(97,45,158,.18));
}

.admin-sidebar .admin-nav-group-items a.active::before { background: #e7cbff; box-shadow: 0 0 0 3px rgba(231,203,255,.12); }
.admin-nav-utility { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-sidebar .admin-nav-utility a { display: flex; align-items: center; justify-content: center; min-height: 37px; padding: 8px; border: 1px solid rgba(255,255,255,.09); font-size: 10px; font-weight: 800; text-align: center; }

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8a94a4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.admin-breadcrumb b { color: #c4cad3; font-weight: 600; }
.admin-list-workspace { padding: 0 !important; overflow: hidden !important; }

.admin-list-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e8ebf0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,193,7,.12), transparent 30%),
        linear-gradient(135deg, #fff 0%, #fbf9fe 62%, #f4effa 100%);
}

.admin-list-hero-copy { min-width: 0; }
.admin-list-hero-copy > span { display: block; margin-bottom: 7px; color: var(--green); font-size: 9px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.admin-list-hero-copy h2 { margin: 0 0 7px; color: #182235; font-size: clamp(25px, 2.6vw, 36px); letter-spacing: -.035em; line-height: 1; }
.admin-list-hero-copy p { max-width: 690px; margin: 0; color: #6e798b; font-size: 13px; line-height: 1.55; }

.admin-list-hero-count {
    display: grid;
    place-items: center;
    align-content: center;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(45,0,112,.1);
    border-radius: 18px;
    color: var(--purple);
    background: rgba(255,255,255,.78);
    box-shadow: 0 8px 22px rgba(45,0,112,.07);
}

.admin-list-hero-count strong { font-size: 25px; line-height: 1; }
.admin-list-hero-count span { margin-top: 4px; color: #7c8695; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-list-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-list-actions label { position: relative; display: block; width: min(420px, 100%); }
.admin-list-actions label svg { position: absolute; top: 50%; left: 13px; width: 18px; height: 18px; fill: none; stroke: #7d8795; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translateY(-50%); pointer-events: none; }
.admin-list-actions input { min-height: 46px; border-color: #dce1e8; border-radius: 11px; padding-left: 41px; background: #fff; font-size: 12px; }
.admin-list-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 11px; padding: 10px 15px; color: #fff; background: linear-gradient(135deg, #4e1192, var(--purple)); box-shadow: 0 8px 20px rgba(45,0,112,.19); font-size: 12px; font-weight: 880; white-space: nowrap; }
.admin-list-actions a::before { content: "+"; margin-right: 7px; font-size: 18px; font-weight: 500; line-height: 1; }

.admin-section-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 12px 22px; border-bottom: 1px solid #e9ecf1; background: #fbfcfe; }
.admin-section-guide strong { margin-right: 3px; color: #687386; font-size: 10px; }
.admin-section-guide span { border: 1px solid #e1e5eb; border-radius: 999px; padding: 5px 8px; color: #596477; background: #fff; font-size: 9px; font-weight: 750; }
.admin-list-workspace .admin-list-table-title { margin: 18px 18px 8px !important; color: #344054; font-size: 15px; }
.admin-list-workspace .admin-data-table th:first-child,
.admin-list-workspace .admin-data-table td:first-child { padding-left: 20px; }

.admin-category-cell span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    border: 1px solid rgba(45,0,112,.1);
    border-radius: 999px;
    padding: 4px 8px;
    color: #654591;
    background: rgba(45,0,112,.045);
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-related-list-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin: 0 0 16px;
    border: 1px dashed #cfd5de;
    border-radius: 12px;
    color: #5f6b7d;
    background: #fafbfc;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.admin-related-list-toggle:hover { border-color: rgba(45,0,112,.25); color: var(--purple); background: rgba(45,0,112,.035); }
[hidden] { display: none !important; }

@media (max-width: 760px) {
    .admin-nav-search { margin: 9px 0 6px; }
    .admin-nav-links.is-grouped { display: none; }
    .admin-nav-links.is-grouped.is-open { display: grid; grid-template-columns: 1fr; }
    .admin-nav-group-items { padding-left: 42px; }
    .admin-list-hero { grid-template-columns: 1fr auto; padding: 19px 16px; }
    .admin-list-hero-count { width: 62px; height: 62px; border-radius: 15px; }
    .admin-list-actions { align-items: stretch; flex-direction: column; }
    .admin-list-actions label, .admin-list-actions a { width: 100%; }
    .admin-section-guide { padding: 11px 14px; }
}

/* Dashboard, guide collections and reusable file library */
.admin-dashboard-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 206px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(45,0,112,.12);
    border-radius: 22px;
    padding: 32px 36px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255,194,15,.26), transparent 28%),
        radial-gradient(circle at 68% 105%, rgba(0,171,94,.2), transparent 35%),
        linear-gradient(132deg, #21103b 0%, #3b0f70 54%, #5e1594 100%);
    box-shadow: 0 18px 40px rgba(45,0,112,.16);
}

.admin-dashboard-hero::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -115px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.025);
}

.admin-dashboard-hero > * { position: relative; z-index: 1; }
.admin-dashboard-hero span, .admin-dashboard-panel-head > div > span, .admin-panel-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--green);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .14em;
}
.admin-dashboard-hero > div:first-child > span { color: #ddc8ff; }
.admin-dashboard-hero h2 { max-width: 690px; margin: 0 0 10px; color: #fff; font-size: clamp(29px, 3.2vw, 46px); line-height: 1.03; letter-spacing: -.045em; }
.admin-dashboard-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.65; }
.admin-dashboard-hero-actions { display: grid; gap: 9px; min-width: 170px; }
.admin-dashboard-hero-actions a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; padding: 10px 15px; color: #fff; background: rgba(255,255,255,.09); font-size: 11px; font-weight: 850; backdrop-filter: blur(10px); }
.admin-dashboard-hero-actions a:first-child { border-color: #fff; color: #341062; background: #fff; }

.admin-overview-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin-bottom: 18px; }
.admin-overview-grid .admin-stat-card { grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: center; min-height: 138px; border-radius: 16px; padding: 17px; box-shadow: 0 8px 26px rgba(23,33,52,.045); }
.admin-overview-grid .admin-stat-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #5a2792; background: #f2ecf8; }
.admin-overview-grid .admin-stat-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.admin-overview-grid .admin-stat-card strong { grid-column: 2; font-size: 28px; line-height: 1; }
.admin-overview-grid .admin-stat-card > span:not(.admin-stat-icon) { grid-column: 2; min-height: 27px; color: #657083; font-size: 10px; font-weight: 750; line-height: 1.3; }
.admin-overview-grid .admin-stat-card small { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 10px; border-top: 1px solid #edf0f3; padding-top: 9px; color: #7b8493; font-size: 9px; }
.admin-overview-grid .admin-stat-card small b { color: var(--purple); font-size: 13px; }

.admin-dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; }
.admin-dashboard-columns .panel, .admin-quick-panel { border-radius: 16px; padding: 23px; box-shadow: 0 8px 26px rgba(23,33,52,.04); }
.admin-dashboard-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.admin-dashboard-panel-head h2 { margin: 0; color: #202b3c; font-size: 19px; letter-spacing: -.02em; }
.admin-dashboard-panel-head > small { border-radius: 999px; padding: 6px 9px; color: #655276; background: #f5f0f8; font-size: 9px; font-weight: 800; }
.admin-inbox-list { display: grid; }
.admin-inbox-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 16px; align-items: center; gap: 11px; border-top: 1px solid #edf0f3; padding: 13px 2px; color: #263244; }
.admin-inbox-list a:hover { color: var(--purple); }
.admin-inbox-list i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f1ebf8; font-style: normal; }
.admin-inbox-list i::after { content: "●"; color: #7138a9; font-size: 9px; }
.admin-inbox-list i[data-index="1"] { background: #ebf8f1; }
.admin-inbox-list i[data-index="1"]::after { color: #00a75d; }
.admin-inbox-list i[data-index="2"] { background: #fff7e3; }
.admin-inbox-list i[data-index="2"]::after { color: #d99300; }
.admin-inbox-list i[data-index="3"] { background: #fff0ef; }
.admin-inbox-list i[data-index="3"]::after { color: #e1493f; }
.admin-inbox-list span { display: grid; gap: 2px; }
.admin-inbox-list span strong { font-size: 11px; }
.admin-inbox-list span small { color: #8a93a1; font-size: 9px; }
.admin-inbox-list > a > b { display: grid; place-items: center; min-width: 30px; height: 26px; border-radius: 8px; color: #4e2c70; background: #f5f0f8; font-size: 11px; }
.admin-inbox-list em { color: #a3aab4; font-style: normal; }
.admin-live-dot { position: relative; border: 1px solid #bce8d2; border-radius: 999px; padding: 6px 9px 6px 20px; color: #067647; background: #ecfdf3; font-size: 9px; font-style: normal; font-weight: 850; }
.admin-live-dot::before { content: ""; position: absolute; top: 50%; left: 9px; width: 6px; height: 6px; border-radius: 50%; background: #12b76a; transform: translateY(-50%); box-shadow: 0 0 0 3px rgba(18,183,106,.12); }
.admin-status-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-status-list > div { min-height: 85px; border: 1px solid #e8ebef; border-radius: 12px; padding: 13px; background: #fbfcfd; }
.admin-status-list span { display: block; min-height: 28px; color: #747e8d; font-size: 9px; font-weight: 750; line-height: 1.35; }
.admin-status-list strong { display: block; color: #29213a; font-size: 21px; }
.admin-status-link { display: flex; justify-content: center; margin-top: 12px; border: 1px solid #e2d9ec; border-radius: 10px; padding: 10px; color: var(--purple); background: #faf8fc; font-size: 10px; font-weight: 850; }
.admin-quick-panel .admin-quick-actions { margin-top: 0; }
.admin-quick-panel .admin-quick-actions a { border-color: #e2d9ec; color: #5a278d; background: #faf8fc; font-size: 10px; }
.admin-quick-panel .admin-quick-actions a:hover { border-color: var(--purple); color: #fff; background: var(--purple); }

.admin-collection-nav { display: flex; gap: 7px; overflow-x: auto; border-bottom: 1px solid #e9ecf1; padding: 12px 20px; background: #fff; scrollbar-width: thin; }
.admin-collection-nav a { flex: 0 0 auto; border: 1px solid #e0e4e9; border-radius: 9px; padding: 8px 11px; color: #616d7d; background: #fff; font-size: 9px; font-weight: 820; }
.admin-collection-nav a:hover, .admin-collection-nav a.active { border-color: rgba(45,0,112,.2); color: var(--purple); background: #f5f0f8; }
.admin-article-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; border-bottom: 1px solid #e9ecf1; padding: 14px 20px; background: #fbfcfe; }
.admin-article-summary a { display: grid; grid-template-columns: 29px minmax(0, 1fr) auto 12px; align-items: center; gap: 9px; min-width: 0; border: 1px solid #e6e9ed; border-radius: 11px; padding: 11px; color: #344054; background: #fff; transition: border-color .15s ease, transform .15s ease; }
.admin-article-summary a:hover { border-color: rgba(45,0,112,.23); transform: translateY(-1px); }
.admin-article-summary i { color: #9a7abc; font-size: 9px; font-style: normal; font-weight: 900; }
.admin-article-summary span { display: grid; min-width: 0; gap: 2px; }
.admin-article-summary span strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-article-summary span small { color: #8b94a2; font-size: 8px; }
.admin-article-summary > a > b { display: grid; place-items: center; width: 28px; height: 26px; border-radius: 8px; color: var(--purple); background: #f5f0f8; font-size: 10px; }
.admin-article-summary em { color: #a5acb6; font-style: normal; }

.media-library-hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr);
    align-items: center;
    gap: 34px;
    margin-bottom: 18px;
    border: 1px solid rgba(45,0,112,.12);
    border-radius: 20px;
    padding: 28px 30px;
    background: radial-gradient(circle at 8% 0, rgba(0,171,94,.12), transparent 34%), linear-gradient(135deg, #fff, #f7f3fb);
    box-shadow: 0 10px 30px rgba(23,33,52,.045);
}
.media-library-copy > span { display: block; margin-bottom: 7px; color: var(--green); font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.media-library-copy h2 { margin: 0 0 9px; color: #211b2b; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.04; letter-spacing: -.04em; }
.media-library-copy p { margin: 0; color: #707a89; font-size: 12px; line-height: 1.6; }
.media-purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.media-purpose-grid article { min-height: 132px; border: 1px solid rgba(45,0,112,.1); border-radius: 13px; padding: 14px; background: rgba(255,255,255,.8); }
.media-purpose-grid b { display: block; margin-bottom: 19px; color: #9b7dbb; font-size: 9px; }
.media-purpose-grid strong { display: block; margin-bottom: 6px; color: #33283e; font-size: 10px; }
.media-purpose-grid small { display: block; color: #7d8794; font-size: 9px; line-height: 1.45; }
.media-upload-panel, .media-library-panel { overflow: hidden; border-radius: 16px; padding: 22px; box-shadow: 0 8px 26px rgba(23,33,52,.04); }
.media-upload-panel .panel-heading-row { margin-bottom: 13px; }
.media-upload-panel h2, .media-library-toolbar h2 { margin: 0 0 4px; color: #222d3e; font-size: 19px; }
.media-file-drop { position: relative; display: grid; place-items: center; min-height: 155px; border: 1.5px dashed #cbbad9; border-radius: 14px; padding: 22px; color: #3f3150; background: #fbf9fd; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.media-file-drop:hover { border-color: var(--purple); background: #f8f3fb; }
.media-file-drop input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.media-drop-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 7px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #4c1580, #7521aa); box-shadow: 0 8px 20px rgba(45,0,112,.2); font-size: 19px; }
.media-file-drop strong { font-size: 11px; }
.media-file-drop small { margin-top: 4px; color: #838c99; font-size: 9px; }
.media-upload-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.media-upload-footer label { width: min(280px, 100%); color: #5f6977; font-size: 10px; }
.media-upload-footer select { min-height: 43px; margin-top: 6px; }
.media-upload-footer button { min-height: 43px; border-radius: 10px; padding: 10px 15px; }
.media-library-toolbar { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(210px, 360px) auto; align-items: center; gap: 13px; margin: -22px -22px 18px; border-bottom: 1px solid #e8ebef; padding: 19px 22px; background: #fbfcfd; }
.media-library-toolbar h2 small { display: inline-grid; place-items: center; min-width: 27px; height: 23px; margin-left: 5px; border-radius: 8px; color: #644282; background: #f0eaf5; font-size: 9px; vertical-align: 3px; }
.media-library-search { position: relative; display: block; }
.media-library-search > span { position: absolute; top: 50%; left: 12px; color: #8a93a0; transform: translateY(-50%); }
.media-library-search input { min-height: 42px; border-radius: 10px; padding-left: 36px; background: #fff; font-size: 10px; }
.media-library-filters { display: flex; gap: 5px; }
.media-library-filters button { min-height: 38px; border: 1px solid #e0e4e8; border-radius: 9px; padding: 8px 10px; color: #687386; background: #fff; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.media-library-filters button.active { border-color: rgba(45,0,112,.2); color: var(--purple); background: #f3edf7; }
.media-grid { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.media-grid article { overflow: hidden; border-radius: 13px; padding: 0; gap: 0; box-shadow: 0 5px 16px rgba(23,33,52,.04); }
.media-preview { display: grid; place-items: center; min-height: 145px; overflow: hidden; background: #f0f2f5; }
.media-grid .media-preview img { height: 145px; border-radius: 0; transition: transform .25s ease; }
.media-grid article:hover .media-preview img { transform: scale(1.025); }
.media-file-preview { align-content: center; gap: 5px; color: #65338e; background: radial-gradient(circle at 50% 20%, rgba(113,56,169,.14), transparent 32%), #f6f2f9; }
.media-file-preview span { display: grid; place-items: center; width: 62px; height: 75px; border: 1px solid #d8c9e4; border-radius: 8px 15px 8px 8px; background: #fff; box-shadow: 0 9px 22px rgba(45,0,112,.1); font-size: 10px; font-weight: 950; }
.media-file-preview small { color: #8a749a; font-size: 8px; }
.media-card-body { display: grid; gap: 5px; min-width: 0; padding: 13px; }
.media-type-badge { justify-self: start; border-radius: 999px; padding: 4px 7px; color: #5e357d; background: #f3edf7; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.media-card-body > strong { overflow: hidden; color: #333d4c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.media-card-body > small { color: #8b94a0; font-size: 8px; }
.media-card-actions { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 5px; border-top: 1px solid #edf0f3; padding: 9px; background: #fbfcfd; }
.media-card-actions a, .media-grid .media-card-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; margin: 0; border: 1px solid #e1e5e9; border-radius: 8px; padding: 6px 8px; color: #5e6877; background: #fff; font-size: 8px; font-weight: 820; }
.media-grid .media-card-actions button { width: 100%; }
.media-grid .media-card-actions button.is-copied { border-color: #a9dec4; color: #067647; background: #ecfdf3; }
.media-card-actions .danger-link { color: #b42318 !important; }
.media-empty-state, .media-no-results { grid-column: 1 / -1; border: 1px dashed #d8dde3; border-radius: 13px; padding: 42px 20px; color: #7a8492; background: #fafbfc; text-align: center; }
.media-empty-state strong { display: block; margin-bottom: 5px; color: #344054; }
.media-empty-state span { font-size: 10px; }
.media-no-results { font-size: 10px; }

@media (max-width: 1180px) {
    .admin-overview-grid { grid-template-columns: repeat(3, 1fr); }
    .media-library-hero { grid-template-columns: 1fr; }
    .media-library-toolbar { grid-template-columns: 1fr 1fr; }
    .media-library-filters { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .admin-dashboard-columns { grid-template-columns: 1fr; }
    .admin-article-summary { grid-template-columns: 1fr; }
    .media-purpose-grid { grid-template-columns: 1fr; }
    .media-purpose-grid article { min-height: auto; }
    .media-purpose-grid b { margin-bottom: 8px; }
}

@media (max-width: 760px) {
    .admin-dashboard-hero { display: grid; min-height: 0; border-radius: 16px; padding: 24px 19px; }
    .admin-dashboard-hero-actions { grid-template-columns: 1fr 1fr; min-width: 0; }
    .admin-overview-grid { grid-template-columns: 1fr 1fr; }
    .admin-overview-grid .admin-stat-card { min-height: 126px; }
    .admin-dashboard-columns .panel, .admin-quick-panel { padding: 18px 15px; }
    .admin-status-list { grid-template-columns: 1fr 1fr; }
    .admin-collection-nav { padding-inline: 14px; }
    .admin-article-summary { padding-inline: 14px; }
    .media-library-hero { border-radius: 16px; padding: 22px 17px; }
    .media-upload-panel, .media-library-panel { padding: 17px 14px; }
    .media-upload-panel .panel-heading-row { display: grid; }
    .media-upload-footer { align-items: stretch; flex-direction: column; }
    .media-upload-footer label, .media-upload-footer button { width: 100%; }
    .media-library-toolbar { grid-template-columns: 1fr; margin: -17px -14px 16px; padding: 17px 14px; }
    .media-library-filters { grid-column: auto; overflow-x: auto; }
}

@media (max-width: 480px) {
    .admin-overview-grid { grid-template-columns: 1fr; }
    .admin-dashboard-hero-actions, .admin-status-list { grid-template-columns: 1fr; }
    .admin-inbox-list a { grid-template-columns: 33px minmax(0, 1fr) auto; }
    .admin-inbox-list em { display: none; }
}

/* Structured system settings workspace */
.system-settings-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    min-height: 190px;
    margin-bottom: 18px;
    border: 1px solid rgba(45,0,112,.12);
    border-radius: 20px;
    padding: 30px 32px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(255,193,7,.18), transparent 27%),
        radial-gradient(circle at 70% 110%, rgba(0,171,94,.18), transparent 35%),
        linear-gradient(132deg, #201038, #3d116f 58%, #641a91);
    box-shadow: 0 16px 38px rgba(45,0,112,.14);
}

.system-settings-head::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -150px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.02);
}

.settings-head-copy, .settings-head-metrics { position: relative; z-index: 1; }
.settings-head-copy > span { display: block; margin-bottom: 7px; color: #d9c4ed; font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.system-settings-head .settings-head-copy h2 { margin: 0 0 9px; color: #fff; font-size: clamp(30px, 3vw, 43px); line-height: 1; letter-spacing: -.045em; }
.settings-head-copy p { max-width: 660px; margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.65; }
.settings-head-metrics { display: grid; grid-template-columns: repeat(3, minmax(92px, 1fr)); gap: 8px; }
.settings-head-metrics article { display: grid; align-content: center; min-height: 92px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; padding: 13px; background: rgba(255,255,255,.075); backdrop-filter: blur(10px); }
.settings-head-metrics strong { display: block; margin-bottom: 5px; color: #fff; font-size: 21px; line-height: 1; }
.settings-head-metrics span { max-width: 105px; color: rgba(255,255,255,.64); font-size: 8px; font-weight: 750; line-height: 1.35; }

.system-settings-form.is-workspace-ready { display: block; }
.settings-workspace-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); align-items: start; gap: 17px; }
.settings-workspace-nav {
    position: sticky;
    top: 16px;
    z-index: 15;
    border: 1px solid #e2e6eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 9px 28px rgba(23,33,52,.05);
}

.settings-nav-heading { padding: 20px 18px 16px; border-bottom: 1px solid #ebedf1; background: linear-gradient(145deg, #fff, #faf8fc); }
.settings-nav-heading > span { display: block; margin-bottom: 5px; color: var(--green); font-size: 8px; font-weight: 950; letter-spacing: .13em; }
.settings-nav-heading strong { display: block; color: #263142; font-size: 16px; }
.settings-nav-heading small { display: block; margin-top: 4px; color: #8a93a0; font-size: 9px; line-height: 1.45; }
.settings-workspace-nav nav { display: grid; gap: 3px; max-height: calc(100vh - 285px); overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.settings-workspace-nav nav button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 9px;
    min-height: 55px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 8px 9px;
    color: #647083;
    background: transparent;
    box-shadow: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}

.settings-workspace-nav nav button:hover { border-color: #ece5f2; color: #4b2a68; background: #faf8fc; transform: none; }
.settings-workspace-nav nav button.active { border-color: rgba(45,0,112,.12); color: #4a1b76; background: linear-gradient(90deg, #f2ebf7, #faf8fc); box-shadow: inset 3px 0 0 var(--purple); }
.settings-workspace-nav nav button > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #70518c; background: #f2eef6; font-style: normal; }
.settings-workspace-nav nav button.active > i { color: #fff; background: linear-gradient(135deg, #4d1382, #7826a9); box-shadow: 0 6px 13px rgba(45,0,112,.16); }
.settings-workspace-nav nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.settings-workspace-nav nav button > span { display: grid; min-width: 0; gap: 2px; }
.settings-workspace-nav nav button > span strong { overflow: hidden; font-size: 10px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.settings-workspace-nav nav button > span small { display: none; color: #8a93a1; font-size: 8px; line-height: 1.35; }
.settings-workspace-nav nav button > b { color: #afb5bf; font-size: 16px; font-weight: 500; }
.settings-workspace-nav nav button.active > b { color: var(--purple); }
.settings-nav-note { display: grid; gap: 3px; margin: 7px; border: 1px solid #d8eee4; border-radius: 10px; padding: 11px; color: #27624e; background: #f2faf6; }
.settings-nav-note b { font-size: 9px; }
.settings-nav-note span { color: #688276; font-size: 8px; line-height: 1.4; }

.settings-workspace-content { min-width: 0; }
.settings-active-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 108px;
    margin-bottom: 13px;
    border: 1px solid #e1e5ea;
    border-radius: 16px;
    padding: 20px 23px;
    background:
        radial-gradient(circle at 95% 5%, rgba(255,193,7,.11), transparent 28%),
        linear-gradient(135deg, #fff, #faf8fc);
    box-shadow: 0 8px 26px rgba(23,33,52,.045);
    scroll-margin-top: 16px;
}

.settings-active-heading > div > span { display: block; margin-bottom: 5px; color: var(--green); font-size: 8px; font-weight: 950; letter-spacing: .13em; }
.settings-active-heading h2 { margin: 0 0 5px; color: #222d3d; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.035em; }
.settings-active-heading p { margin: 0; color: #7d8795; font-size: 10px; line-height: 1.5; }
.settings-active-heading > small { display: grid; place-items: center; flex: 0 0 auto; width: 55px; height: 55px; border: 1px solid rgba(45,0,112,.11); border-radius: 14px; color: var(--purple); background: #f5f0f8; font-size: 10px; font-weight: 900; }

.settings-workspace-card {
    margin-bottom: 13px;
    border: 1px solid #e1e5ea;
    border-radius: 16px;
    padding: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 26px rgba(23,33,52,.045);
}

.settings-card-kicker { display: block; margin-bottom: 5px; color: #9675b0; font-size: 8px; font-weight: 950; letter-spacing: .11em; }
.settings-workspace-card > h3, .settings-workspace-card.system-settings-card > h3, .settings-workspace-card.system-brand-card > h3 { margin: 0 0 17px; color: #253042; font-size: 19px; letter-spacing: -.02em; }
.settings-workspace-card > .panel-note { max-width: 740px; margin: -9px 0 17px; color: #7b8593; font-size: 10px; }
.settings-workspace-card .settings-field-grid { gap: 14px 13px; }
.settings-workspace-card .settings-field-grid label, .settings-workspace-card .form-row label {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    color: #4f5a6b;
    font-size: 10px;
    font-weight: 820;
}

.settings-workspace-card input:not([type="checkbox"]), .settings-workspace-card textarea, .settings-workspace-card select {
    width: 100%;
    min-height: 45px;
    border: 1px solid #dce1e7;
    border-radius: 10px;
    padding: 10px 12px;
    color: #283345;
    background: #fbfcfd;
    box-shadow: 0 1px 1px rgba(16,24,40,.025);
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.settings-workspace-card textarea { min-height: 108px; line-height: 1.55; resize: vertical; }
.settings-workspace-card input:focus, .settings-workspace-card textarea:focus, .settings-workspace-card select:focus { outline: 0; border-color: rgba(45,0,112,.35); background: #fff; box-shadow: 0 0 0 3px rgba(45,0,112,.07); }
.settings-workspace-card input[readonly] { color: #7b8591; background: #f2f4f6; cursor: not-allowed; }
.settings-secret-field { position: relative; }
.settings-secret-field::after { content: "GİZLİ"; position: absolute; top: 31px; right: 10px; border-radius: 5px; padding: 3px 5px; color: #7a638d; background: #eee8f3; font-size: 7px; letter-spacing: .08em; pointer-events: none; }
.settings-workspace-card input[type="file"] { padding: 6px; cursor: pointer; }
.settings-workspace-card input[type="file"]::file-selector-button { min-height: 31px; margin-right: 9px; border: 0; border-radius: 7px; padding: 7px 10px; color: #562384; background: #eee8f3; font: inherit; font-size: 9px; font-weight: 850; cursor: pointer; }

.settings-workspace-card .system-logo-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
.settings-workspace-card .system-logo-grid > div, .settings-workspace-card .system-logo-grid > label { min-height: 132px; border: 1px solid #e3e7eb; border-radius: 12px; padding: 13px; background: #fafbfc; }
.settings-workspace-card .system-logo-grid > div { grid-template-columns: 1fr; align-items: start; }
.settings-workspace-card .system-logo-grid > div > span { grid-column: 1 / -1; font-size: 9px; }
.settings-workspace-card .system-logo-grid img { width: 100%; height: 92px; border: 0; border-radius: 10px; padding: 8px; object-fit: contain; background:
    linear-gradient(45deg, #edf0f3 25%, transparent 25%),
    linear-gradient(-45deg, #edf0f3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #edf0f3 75%),
    linear-gradient(-45deg, transparent 75%, #edf0f3 75%),
    #fff;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
    background-size: 12px 12px;
}
.settings-workspace-card .system-logo-grid > div:nth-child(2) img { width: 92px; justify-self: center; }
.settings-workspace-card .automatic-favicon-note { min-height: 132px; align-content: center; border-style: solid; color: #4c2c67; background: linear-gradient(135deg, #faf8fc, #f3eef7); }
.settings-workspace-card .automatic-favicon-note strong { font-size: 14px; }
.settings-workspace-card .automatic-favicon-note small { color: #7e7089; font-size: 9px; line-height: 1.5; }
.settings-workspace-card .setting-image-preview, .settings-workspace-card .hero-gallery-preview { min-height: 160px; border: 1px solid #e2e6ea; border-radius: 12px; padding: 12px; background: #fafbfc; }
.settings-workspace-card .setting-image-preview img { width: 100%; height: 126px; border-radius: 9px; object-fit: cover; }

.settings-visual-toolbar { display: grid; grid-template-columns: minmax(220px, 430px) auto; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 13px; border: 1px solid #e6e9ed; border-radius: 11px; padding: 10px; background: #fafbfc; }
.settings-visual-toolbar label { position: relative; display: block; }
.settings-visual-toolbar svg { position: absolute; top: 50%; left: 12px; width: 17px; height: 17px; fill: none; stroke: #838c98; stroke-width: 1.7; stroke-linecap: round; transform: translateY(-50%); pointer-events: none; }
.settings-workspace-card .settings-visual-toolbar input { min-height: 40px; padding-left: 38px; background: #fff; }
.settings-manager-count { color: #707a88; font-size: 9px; font-weight: 800; white-space: nowrap; }
.settings-workspace-card .page-hero-manager { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.settings-workspace-card .page-hero-manager article { min-height: 106px; border: 1px solid #e4e8ec; border-radius: 11px; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; padding: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.settings-workspace-card .page-hero-manager article:hover { border-color: rgba(45,0,112,.2); box-shadow: 0 7px 19px rgba(23,33,52,.055); }
.settings-workspace-card .page-hero-manager img { width: 84px; height: 82px; border-radius: 8px; object-fit: cover; }
.settings-workspace-card .page-hero-manager strong { overflow: hidden; color: #313c4c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.settings-workspace-card .page-hero-manager span { overflow: hidden; margin: 3px 0 7px; color: #8a93a0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.settings-workspace-card .page-hero-manager input[type="file"] { min-height: 34px; padding: 4px; font-size: 8px; }
.settings-workspace-card .page-hero-manager input[type="file"]::file-selector-button { min-height: 25px; padding: 5px 7px; font-size: 8px; }
.settings-load-more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin-top: 12px; border: 1px dashed #cfc5d8; border-radius: 10px; color: #5b3478; background: #faf8fc; font: inherit; font-size: 9px; font-weight: 850; cursor: pointer; }
.settings-load-more:hover { border-color: var(--purple); color: #fff; background: var(--purple); }

.system-settings-form.is-workspace-ready > .sticky-save-bar {
    position: sticky;
    bottom: 10px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 14px 0 0;
    border: 1px solid #dcdfe5;
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 15px 35px rgba(23,33,52,.13);
    backdrop-filter: blur(15px);
}

.settings-save-status { display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: center; gap: 9px; }
.settings-save-status > i { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 4px rgba(18,183,106,.1); }
.settings-save-status > span { display: grid; gap: 1px; }
.settings-save-status strong { color: #354052; font-size: 10px; }
.settings-save-status small { color: #8a93a0; font-size: 8px; }
.system-settings-form.is-workspace-ready > .sticky-save-bar.is-dirty .settings-save-status > i { background: #f79009; box-shadow: 0 0 0 4px rgba(247,144,9,.11); }
.system-settings-form.is-workspace-ready > .sticky-save-bar.is-dirty .settings-save-status strong { color: #9a5b13; }
.system-settings-form.is-workspace-ready > .sticky-save-bar button { min-height: 42px; border: 0; border-radius: 10px; padding: 10px 16px; color: #fff; background: linear-gradient(135deg, #4b1280, #7622a8); box-shadow: 0 8px 18px rgba(45,0,112,.18); font-size: 10px; }

@media (max-width: 1120px) {
    .system-settings-head { grid-template-columns: 1fr; }
    .settings-head-metrics { width: min(520px, 100%); }
    .settings-workspace-shell { grid-template-columns: 225px minmax(0, 1fr); }
    .settings-workspace-card .page-hero-manager { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .settings-workspace-shell { grid-template-columns: 1fr; }
    .settings-workspace-nav { position: static; }
    .settings-workspace-nav nav { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
    .settings-workspace-nav nav button { grid-template-columns: 30px minmax(0, 1fr); }
    .settings-workspace-nav nav button > b { display: none; }
    .settings-nav-note { display: none; }
}

@media (max-width: 760px) {
    .system-settings-head { min-height: 0; border-radius: 16px; padding: 23px 18px; }
    .settings-head-metrics { grid-template-columns: repeat(3, 1fr); }
    .settings-head-metrics article { min-height: 78px; padding: 10px; }
    .settings-head-metrics strong { font-size: 18px; }
    .settings-nav-heading { padding: 15px; }
    .settings-workspace-nav nav { display: flex; overflow-x: auto; padding: 8px; }
    .settings-workspace-nav nav button { flex: 0 0 190px; }
    .settings-active-heading { min-height: 96px; padding: 17px; }
    .settings-workspace-card { border-radius: 13px; padding: 17px 14px; }
    .settings-workspace-card .system-logo-grid, .settings-workspace-card .settings-field-grid { grid-template-columns: 1fr; }
    .settings-workspace-card .system-logo-grid > div, .settings-workspace-card .system-logo-grid > label { min-height: 116px; }
    .settings-visual-toolbar { grid-template-columns: 1fr; }
    .settings-manager-count { padding-left: 2px; }
    .system-settings-form.is-workspace-ready > .sticky-save-bar { bottom: 72px; align-items: stretch; flex-direction: column; gap: 10px; }
    .system-settings-form.is-workspace-ready > .sticky-save-bar button { width: 100%; }
}

@media (max-width: 480px) {
    .settings-head-metrics { grid-template-columns: 1fr; }
    .settings-head-metrics article { min-height: 64px; }
    .settings-active-heading > small { width: 46px; height: 46px; }
    .settings-workspace-card .page-hero-manager article { grid-template-columns: 70px minmax(0, 1fr); }
    .settings-workspace-card .page-hero-manager img { width: 68px; height: 72px; }
}
