/* ===== Ana sayfa: Europeana tarzı katman (arama girişi, konu karoları, zaman şeridi, öne çıkanlar) ===== */
.e-hero { position: relative; display: flex; align-items: center; min-height: 520px; color: #fff; background: linear-gradient(90deg, rgba(3, 25, 50, .88) 0%, rgba(3, 25, 50, .6) 55%, rgba(3, 25, 50, .3) 100%), var(--bg) center 40% / cover no-repeat; }
.e-hero-inner { padding-top: 64px; padding-bottom: 64px; }
.e-hero h1 { color: #fff; font-family: var(--font-head); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -.01em; max-width: 760px; margin: 0 0 14px; }
.e-hero p { font-size: 18px; color: #D6E2EF; max-width: 640px; margin: 0 0 28px; }
.e-search { display: flex; align-items: center; gap: 10px; max-width: 720px; background: #fff; border-radius: 32px; padding: 6px 6px 6px 20px; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); }
.e-search svg { width: 24px; height: 24px; fill: #5F6368; flex: none; }
.e-search input { flex: 1; min-width: 0; border: 0; font: 400 17px var(--font-body); color: #202124; padding: 12px 4px; background: transparent; }
.e-search input:focus { outline: none; }
.e-search button { border: 0; border-radius: 26px; background: #1A73E8; color: #fff; font: 500 16px var(--font-body); padding: 0 28px; height: 52px; cursor: pointer; }
.e-search button:hover { background: #1765CC; }
.e-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.e-suggest span { color: #B8C7D8; }
.e-suggest a { color: #fff; text-decoration: none; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 18px; transition: background .2s ease; }
.e-suggest a:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.e-hero + .g-info { margin-top: 0; border-top: 0; }

.e-head { text-align: center; margin-bottom: 28px; }
.e-head h2 { font-family: var(--font-head); font-size: 34px; font-weight: 400; color: #202124; margin: 0 0 8px; }
.e-head p { color: #5F6368; margin: 0; }
.e-head-left { text-align: left; }

/* Konu karoları */
.e-topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.e-topic { position: relative; display: block; height: 220px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #0E4A86, #032A52); color: #fff; text-decoration: none; }
.e-topic-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.e-topic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 25, 50, .85), rgba(3, 25, 50, .1) 60%); }
.e-topic-text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 2px; }
.e-topic-text strong { font-size: 18px; font-weight: 500; }
.e-topic-text small { font-size: 13px; color: #D6E2EF; }
.e-topic:hover { color: #fff; }
.e-topic:hover img { transform: scale(1.06); }

/* Zaman şeridi */
.e-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.e-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, #9A6A24, #032A52); }
.e-timeline a { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 0 8px; text-decoration: none; color: #202124; }
.e-tl-dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid #032A52; margin-bottom: 10px; transition: transform .2s ease, background .2s ease; }
.e-timeline li:nth-child(1) .e-tl-dot { border-color: #9A6A24; }
.e-timeline li:nth-child(2) .e-tl-dot { border-color: #7A5A3A; }
.e-timeline li:nth-child(3) .e-tl-dot { border-color: #4A6A6A; }
.e-timeline li:nth-child(4) .e-tl-dot { border-color: #2A4F7A; }
.e-timeline strong { font-size: 18px; font-weight: 500; }
.e-timeline small { color: #5F6368; font-size: 13px; }
.e-timeline em { font-style: normal; font-size: 13px; font-weight: 500; color: #1A73E8; }
.e-timeline a:hover .e-tl-dot { transform: scale(1.2); background: #E8F0FE; }

/* Öne çıkanlar + yan sütun */
.e-feature { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.e-lead { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; text-decoration: none; color: #202124; margin-bottom: 28px; }
.e-lead-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #E8EAED; }
.e-lead-img img, .e-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.e-kind { position: absolute; left: 12px; top: 12px; background: #9A2A1F; color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.e-lead-text { display: grid; align-content: start; gap: 8px; }
.e-lead-text small, .e-card small { font-size: 13px; color: #5F6368; }
.e-card small b { color: #9A2A1F; font-weight: 500; }
.e-lead-text strong { font-family: var(--font-head); font-size: 28px; font-weight: 500; line-height: 1.2; color: #9A2A1F; }
.e-lead-text em { font-style: normal; color: #3C4043; line-height: 1.6; }
.e-lead:hover img, .e-card:hover img { transform: scale(1.04); }
.e-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.e-card { display: grid; gap: 6px; align-content: start; text-decoration: none; color: #202124; }
.e-card-img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #E8EAED; }
.e-card strong { font-size: 16px; font-weight: 500; line-height: 1.3; color: #9A2A1F; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.e-card:hover strong, .e-lead:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.e-aside { display: grid; gap: 20px; }
.e-box { background: #F1F3F4; border-radius: 10px; padding: 22px; }
.e-box h3 { font-family: var(--font-head); font-size: 26px; font-weight: 400; margin: 0 0 14px; color: #202124; }
.e-box-item { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid #DADCE0; text-decoration: none; color: #202124; }
.e-box-item small { color: #9A2A1F; font-weight: 500; font-size: 13px; }
.e-box-item:hover span { color: #1A73E8; }
.e-box p { color: #5F6368; margin: 0 0 14px; }
.e-box-dark { background: #032A52; }
.e-box-dark h3 { color: #fff; }
.e-box-dark p { color: #C5D3E3; }

/* İlçeler */
.e-districts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.e-districts a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid #DADCE0; border-left: 4px solid #032A52; border-radius: 8px; text-decoration: none; color: #202124; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.e-districts strong { font-size: 18px; font-weight: 500; }
.e-districts small { font-size: 13px; color: #5F6368; line-height: 18px; }
.e-districts a:hover { border-left-color: #1A73E8; box-shadow: 0 2px 8px rgba(60, 64, 67, .15); }

@media (max-width: 1100px) { .e-topics { grid-template-columns: repeat(3, 1fr); } .e-feature { grid-template-columns: 1fr; } .e-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .e-hero { min-height: 440px; }
  .e-topics { grid-template-columns: repeat(2, 1fr); }
  .e-topic { height: 160px; }
  .e-timeline { grid-template-columns: 1fr; gap: 18px; }
  .e-timeline::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .e-timeline a { grid-template-columns: 24px 1fr; justify-items: start; text-align: left; column-gap: 14px; }
  .e-tl-dot { grid-row: span 3; margin: 0; }
  .e-lead { grid-template-columns: 1fr; }
  .e-districts { grid-template-columns: 1fr 1fr; }
  .e-search button { padding: 0 18px; }
}
/* Giriş alanı ortalı */ .e-hero-inner { text-align: center; } .e-hero h1, .e-hero p, .e-search { margin-left: auto; margin-right: auto; } .e-suggest { justify-content: center; } .e-hero { background: linear-gradient(rgba(3, 25, 50, .72), rgba(3, 25, 50, .72)), var(--bg) center 40% / cover no-repeat; }
/* İlçeler: atlas dizini */
.e-atlas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 2px solid #202124; }
.e-atlas li { border-bottom: 1px solid #DADCE0; }
.e-atlas a { display: grid; grid-template-columns: 44px 1fr auto 24px; align-items: center; gap: 16px; padding: 20px 8px; text-decoration: none; color: #202124; transition: background .2s ease; }
.e-atlas-no { font-size: 14px; font-variant-numeric: tabular-nums; color: #9AA0A6; }
.e-atlas-name strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 400; line-height: 1.15; }
.e-atlas-name small { display: block; margin-top: 4px; font-size: 14px; color: #5F6368; }
.e-atlas-count { font-size: 13px; color: #5F6368; white-space: nowrap; }
.e-atlas-arrow { width: 22px; height: 22px; fill: #9AA0A6; transition: transform .2s ease, fill .2s ease; }
.e-atlas a:hover { background: #F8F9FA; }
.e-atlas a:hover .e-atlas-name strong { color: #032A52; }
.e-atlas a:hover .e-atlas-arrow { transform: translateX(4px); fill: #1A73E8; }
@media (max-width: 760px) { .e-atlas { grid-template-columns: 1fr; } .e-atlas a { grid-template-columns: 32px 1fr 20px; } .e-atlas-count { display: none; } .e-atlas-name strong { font-size: 22px; } }
/* Öne çıkanlar: sağ sütun soldakiyle aynı hizada başlar ve biter */
.e-feature { align-items: stretch; }
.e-feature > div > .e-lead { margin-top: 0; }
.e-aside { grid-template-rows: 1fr auto; }
.e-aside .e-box:first-child { overflow: hidden; }
.e-head-left { margin-bottom: 20px; }
@media (max-width: 760px) {
  .e-atlas li a { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .e-atlas li .e-atlas-count { display: block; }
  .e-timeline li a { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .e-timeline li a { justify-items: center; text-align: center; padding: 0 8px; }
  .e-timeline li .e-tl-dot { grid-row: auto; margin: 0 auto 6px; }
  .e-timeline::before { left: calc(50% - 1px); }
  .e-timeline li a strong, .e-timeline li a small, .e-timeline li a em { background: #fff; padding: 0 6px; }
}
@media (max-width: 760px) { .e-head-left { text-align: center; } .e-lead-text, .e-card { justify-items: center; text-align: center; } }
