/* ═══════════════════════════════════════════════════════════
   Edigital — "Bento Grid Dashboard" teması
   Header (gradient logo + cam menü) → asimetrik bento mozaik home
   → single (geniş içerik + sağ sidebar) → footer.
   Derin lacivert + elektrik mavi/mor gradient, glassmorphism.
   Class prefix `e-`. Tek şema koyu değil — açık/koyu İKİSİ (İyi test edildi).
   Renkler header.php :root ile de basılır; buradaki değerler fallback.
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Tek şema: AÇIK (light). OS tema tercihinden bağımsız sabit —
     metin/zemin çakışması olmaması için koyu @media/data-theme blokları YOK. */
  --bg: #F4F5FB; --bg-2: #FFFFFF;
  --surface: #FFFFFF; --surface-solid: #FFFFFF;
  --ink: #12142A; --ink-2: #4A4E70; --ink-3: #8A8FB5;
  --line: rgba(20,22,42,.09); --line-2: rgba(20,22,42,.16);
  --blue: #4D7CFF; --purple: #9D5CFF; --cyan: #2FB6C8; --pink: #FF5C9D;
  --accent: #4D7CFF; --accent-ink: #3A5BD0; --accent-soft: rgba(77,124,255,.10);
  --maxw: 1240px;
  --glass: blur(20px) saturate(160%);
  --shadow: 0 8px 30px rgba(20,22,42,.08);
  --ease: cubic-bezier(.25,.46,.45,.94);
  --footer-bg: transparent;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font, 'Exo', system-ui, sans-serif);
  font-size: var(--fs, 15px);
  line-height: var(--body-lh, 1.6);
  color: var(--ink, #EEF0FF);
  background: var(--bg, #0A0B14);
  -webkit-font-smoothing: antialiased;
  position: relative; overflow-x: hidden; max-width: 100%;
}
body::before { content: ""; position: fixed; top: -200px; left: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(77,124,255,.15), transparent 65%); z-index: 0; pointer-events: none; }
body::after { content: ""; position: fixed; bottom: -200px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(157,92,255,.12), transparent 65%); z-index: 0; pointer-events: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.e-wrap { max-width: var(--maxw, 1240px); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ═══ HEADER ═══ */
.e-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: var(--glass); border-bottom: 1px solid var(--line); }
.e-head-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.e-logo { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; flex-shrink: 0; }
.e-logo .mk { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--purple)); display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 6px 20px rgba(77,124,255,.4); flex-shrink: 0; }
.e-logo .nm { color: var(--ink); }
.e-logo .nm b { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.e-nav { display: flex; gap: 4px; margin-left: 6px; }
.e-nav a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 8px 15px; border-radius: 10px; white-space: nowrap; }
.e-nav a:hover, .e-nav a.active { color: var(--ink); background: var(--surface); }
.e-head-spacer { flex: 1; }
/* son bilgiler kayan şerit (logo yanında) */
.e-ticker { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; overflow: hidden; margin-left: 8px; }
.e-ticker-lbl { flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--blue), var(--purple)); padding: 6px 12px; border-radius: 100px; white-space: nowrap; }
.e-ticker-view { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); }
.e-ticker-track { display: inline-flex; gap: 28px; white-space: nowrap; animation: e-tick 40s linear infinite; padding: 4px 0; }
.e-ticker-view:hover .e-ticker-track { animation-play-state: paused; }
@keyframes e-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.e-ticker-track a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.e-ticker-track a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.e-ticker-track a:hover { color: var(--accent-ink); }
.e-search { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; color: var(--ink-3); font-size: 13px; min-width: 220px; backdrop-filter: var(--glass); }
.e-search input { border: 0; background: transparent; outline: 0; font-family: inherit; font-size: 13px; color: var(--ink); width: 100%; }
.e-search input::placeholder { color: var(--ink-3); }
.e-mobile-search { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-2); align-items: center; justify-content: center; cursor: pointer; }

/* ═══ BENTO GRID ═══ */
.e-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 32px 0 60px; grid-auto-rows: minmax(150px, auto); grid-auto-flow: row dense; }
.e-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; position: relative; overflow: hidden; cursor: pointer; transition: .22s var(--ease); backdrop-filter: var(--glass); display: flex; flex-direction: column; }
.e-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.e-feat { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, rgba(77,124,255,.16), rgba(157,92,255,.10)); border-color: rgba(77,124,255,.24); justify-content: flex-end; min-height: 340px; }
.e-feat::before { content: ""; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(77,124,255,.28), transparent 65%); }
.e-feat > * { position: relative; }
.e-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--blue), var(--purple)); padding: 6px 13px; border-radius: 100px; margin-bottom: auto; }
.e-feat h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.16; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 12px; text-wrap: pretty; color: var(--ink); }
.e-feat h2 a { color: inherit; }
.e-feat p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.e-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.e-meta .av { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.e-wide { grid-column: span 2; }
.e-card h3 { font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.e-card:hover h3 { color: var(--accent-ink); }
/* başlık + mini ikon yan yana */
.e-titlerow { display: flex; align-items: flex-start; gap: 12px; margin-top: auto; }
.e-titlerow h3 { margin-top: 0; }
.e-card .k { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-ink); background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }
.e-card .foot { margin-top: 12px; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.e-card .foot .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.e-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; color: #fff; flex-shrink: 0; }
.e-ic.b { background: linear-gradient(135deg, var(--blue), #3a5fd0); }
.e-ic.p { background: linear-gradient(135deg, var(--purple), #7a3fd0); }
.e-ic.c { background: linear-gradient(135deg, var(--cyan), #2ab0c0); }
.e-ic.pk { background: linear-gradient(135deg, var(--pink), #d04a80); }

.e-empty { grid-column: 1/-1; text-align: center; padding: 56px 20px; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.e-empty i { font-size: 36px; margin-bottom: 12px; display: block; opacity: .5; }

.e-sec { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; grid-column: 1/-1; }
.e-sec h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.e-sec h2::before { content: ""; width: 20px; height: 20px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.e-sec .r { flex: 1; height: 1px; background: var(--line); }
.e-sec .more { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); }

/* ═══ 3'LÜ KART BLOĞU (sayfalama üstü, görselsiz) ═══ */
.e-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 10px 0 32px; }
.e-block-col { display: flex; flex-direction: column; }
/* büyük gradient başlık kartı */
.e-block-big { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 24px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; transition: .2s var(--ease); margin-bottom: 4px; }
.e-block-big:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(77,124,255,.3); }
.e-block-big::before { content: ""; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); }
.e-block-big.g1 { background: linear-gradient(150deg, #4D7CFF, #9D5CFF); }
.e-block-big.g2 { background: linear-gradient(150deg, #9D5CFF, #FF5C9D); }
.e-block-big.g3 { background: linear-gradient(150deg, #2FB6C8, #4D7CFF); }
.e-block-big > * { position: relative; }
.e-block-big .tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: rgba(255,255,255,.22); padding: 5px 12px; border-radius: 100px; margin-bottom: auto; backdrop-filter: blur(4px); }
.e-block-big h3 { font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; margin: 16px 0 8px; text-wrap: pretty; }
.e-block-big .m { font-size: 12.5px; opacity: .9; font-weight: 500; }
/* numaralı satır */
.e-block-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: .15s; }
.e-block-row:last-child { border-bottom: 0; }
.e-block-row:hover { padding-left: 10px; }
.e-block-row .n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.e-block-row:hover .n { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; }
.e-block-row .t { font-size: 14.5px; line-height: 1.4; font-weight: 700; color: var(--ink); }
.e-block-row:hover .t { color: var(--accent-ink); }

.e-pag { display: flex; justify-content: center; gap: 8px; margin-top: 20px; margin-bottom: 56px; flex-wrap: wrap; }
.e-pag a { min-width: 44px; height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 13px; font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--surface); backdrop-filter: var(--glass); transition: .15s; }
.e-pag a:hover { border-color: var(--line-2); color: var(--ink); }
.e-pag a.active { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; border-color: transparent; }
.e-pag .dots { border: 0; background: transparent; min-width: 20px; }

/* ═══ SINGLE ═══ */
.e-progress { height: 3px; background: var(--line); position: sticky; top: 72px; z-index: 25; }
.e-progress span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--purple)); }
.e-single-wrap { padding: 34px 0 60px; }
.e-single-grid { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.e-single-grid > main { min-width: 0; }
.e-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; font-weight: 600; }
.e-crumb a { color: var(--accent-ink); }
.e-crumb .s { color: var(--line-2); }
.e-single-head h1 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin-bottom: 18px; text-wrap: pretty; color: var(--ink); }
.e-single-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; margin-bottom: 24px; }
.e-single-meta > span { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; color: var(--ink-2); backdrop-filter: var(--glass); }
.e-single-meta .au { font-weight: 700; }
.e-single-meta .av { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.e-article { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 40px 44px; color: var(--ink); backdrop-filter: var(--glass); }
.e-article > *:first-child { margin-top: 0; }
.e-article p { margin-bottom: 16px; color: var(--ink-2); line-height: 1.85; font-size: 16px;  text-align: justify; }
.e-article p:last-child { margin-bottom: 0; }
.e-article h2 { font-size: 23px; margin: 32px 0 13px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); padding-left: 15px; border-left: 3px solid; border-image: linear-gradient(var(--blue), var(--purple)) 1; }
.e-article h3 { font-size: 19px; margin: 24px 0 10px; color: var(--ink); }
.e-article ul, .e-article ol { margin: 0 0 16px 22px; color: var(--ink-2); }
.e-article li { margin-bottom: 8px; line-height: 1.7; }
.e-article a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.e-article img { border-radius: 14px; margin: 18px 0; }
.e-article blockquote { border-left: 3px solid var(--blue); background: var(--accent-soft); padding: 14px 20px; border-radius: 0 12px 12px 0; margin: 20px 0; color: var(--ink); }
.e-article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.e-article th, .e-article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.e-article th { background: var(--surface); font-weight: 700; }
.e-share { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; flex-wrap: wrap; backdrop-filter: var(--glass); }
.e-share-label { font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.e-share-btns { display: flex; gap: 8px; }
.e-share-btns a { width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: .15s; }
.e-share-btns a:hover { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; border-color: transparent; }
.e-related { margin-top: 34px; }
.e-related-t { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.e-related-t::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.e-related .e-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* SAĞ SIDEBAR (bento kutuları) */
.e-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.e-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; backdrop-filter: var(--glass); }
.e-box-t { font-size: 13px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; color: var(--ink); }
.e-box-t .i { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; display: grid; place-items: center; font-size: 13px; }
.e-rank { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.e-rank:last-child { border-bottom: 0; padding-bottom: 0; }
.e-rank .n { font-size: 16px; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; flex-shrink: 0; width: 20px; }
.e-rank .tt { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.e-rank:hover .tt { color: var(--accent-ink); }
.e-mini { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.e-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.e-mini:hover { color: var(--accent-ink); }
.e-mini .dt { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; margin-top: 3px; }

/* Profile */
.e-profile-head { display: flex; align-items: center; gap: 18px; }
.e-profile-avatar { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; flex-shrink: 0; box-shadow: 0 8px 24px rgba(77,124,255,.35); }
.e-profile-info { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; backdrop-filter: var(--glass); }
.e-info-row { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.e-info-row i { color: var(--accent-ink); width: 16px; }
.e-info-row strong { color: var(--ink); font-weight: 700; }
.e-map-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.e-map-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.e-map-btn:hover { border-color: var(--blue); color: var(--accent-ink); }

/* Kategori/arama başlık */
.e-page-hero { padding: 40px 0 6px; }
.e-page-hero h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 4px 0 12px; color: var(--ink); }
.e-page-hero h1 span { background: linear-gradient(120deg, var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.e-page-hero p { font-size: 15px; color: var(--ink-2); max-width: 62ch; line-height: 1.6; margin-bottom: 12px; }
.e-page-count { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 7px 15px; border-radius: 100px; }
.e-search-form { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 18px; max-width: 540px; color: var(--ink-3); backdrop-filter: var(--glass); }
.e-search-form input { flex: 1; border: 0; background: transparent; outline: 0; font-family: inherit; font-size: 15px; color: var(--ink); }
.e-search-form button { font-family: var(--font, 'Exo', sans-serif); padding: 11px 24px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; border: 0; border-radius: 11px; font-weight: 700; font-size: 14px; cursor: pointer; }
.e-search-info { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.e-search-info strong { color: var(--accent-ink); }

/* 404 */
.e-404 { text-align: center; padding: 70px 0; }
.e-404-code { font-size: clamp(80px, 14vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(120deg, var(--blue), var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.e-404-title { font-size: 26px; font-weight: 800; margin: 8px 0 14px; color: var(--ink); }
.e-404-text { font-size: 16px; color: var(--ink-2); margin-bottom: 24px; line-height: 1.6; }
.e-404-actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.e-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 28px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; border-radius: 12px; font-weight: 700; font-size: 14px; transition: .15s; }
.e-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(77,124,255,.4); }
.e-404-search { display: flex; gap: 8px; width: 100%; max-width: 420px; margin: 0 auto; }
.e-404-search input { flex: 1; padding: 13px 20px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; background: var(--surface); color: var(--ink); font-family: inherit; outline: 0; }
.e-404-search button { font-family: var(--font, 'Exo', sans-serif); padding: 13px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); cursor: pointer; }
.e-404-sug { margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }
.e-404-sug-t { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--ink-3); margin-bottom: 18px; }
.e-404-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.e-404-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; text-align: left; transition: .18s; backdrop-filter: var(--glass); }
.e-404-item:hover { transform: translateY(-3px); border-color: var(--line-2); }
.e-404-item h4 { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.e-404-item:hover h4 { color: var(--accent-ink); }
.e-404-item .dt { font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ═══ FOOTER ═══ */
.e-foot { border-top: 1px solid var(--line); padding: 48px 0 0; margin-top: 24px; position: relative; z-index: 1; }
.e-foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; }
.e-foot-brand .l { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.e-foot-brand .l .mk { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--purple)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.e-foot-brand .l .nm { color: var(--ink); }
.e-foot-brand .l .nm b { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.e-foot-brand p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; max-width: 32ch; margin-bottom: 14px; }
.e-foot-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.e-foot-status .led { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.e-foot-soc { display: flex; gap: 9px; margin-top: 14px; }
.e-foot-soc a { width: 36px; height: 36px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.e-foot-soc a:hover { border-color: var(--blue); color: var(--accent-ink); }
.e-fcol-t { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--ink-3); margin-bottom: 13px; }
.e-flinks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.e-flinks a { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; display: block; }
.e-flinks a:hover { color: var(--accent-ink); }
.e-foot-topics { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); }
.e-foot-topics .l { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.e-foot-topics a { font-size: 12.5px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 13px; border-radius: 100px; }
.e-foot-topics a:hover { border-color: var(--blue); color: var(--accent-ink); }
.e-foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.e-foot-bottom a { color: var(--ink-2); }
.e-foot-bottom a:hover { color: var(--accent-ink); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .e-bento { grid-template-columns: repeat(2, 1fr); }
  .e-feat { grid-column: span 2; grid-row: span 2; }
  .e-wide { grid-column: span 2; }
  .e-block { grid-template-columns: 1fr; }
  .e-nav, .e-search, .e-ticker { display: none; }
  .e-head-in { justify-content: space-between; }
  .e-mobile-search { display: flex; }
  .e-single-grid { grid-template-columns: 1fr; }
  .e-side { position: static; }
  .e-foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .e-wrap { padding: 0 16px; }
  .e-bento { grid-template-columns: 1fr; }
  .e-feat, .e-wide { grid-column: span 1; }
  .e-related .e-related-grid { grid-template-columns: 1fr; }
  .e-404-grid { grid-template-columns: 1fr; }
  .e-article { padding: 28px 22px; }
  .e-foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
