/* Recep Günyüzlü kişisel sitesi */

:root {
  --ei-navy: #1D418A;
  --ei-green: #46A805;
  --ei-bilgi: #7C3AED;
  --ei-line: #E3E5E8;
  --ei-max: 1120px;
}

html { scroll-behavior: smooth; }

.ei-logo {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: .92;
  text-decoration: none;
  color: var(--color-font-one);
  max-width: 170px;
}
.ei-logo__first {
  font-family: "Caveat", "ei", cursive;
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -.5px;
  transform: rotate(-4deg);
  transform-origin: left bottom;
  margin-left: 3px;
}
.ei-logo__last {
  font-family: "ei", sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .6px;
  line-height: 1;
}
.ei-logo__role {
  font-size: 10px;
  letter-spacing: .4px;
  color: var(--color-font-input);
  margin-top: 4px;
}
.ei-logo--footer { max-width: 200px; }
.ei-logo--footer .ei-logo__first { font-size: 30px; }
.ei-logo--footer .ei-logo__last { font-size: 19px; }

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-font-one);
  color: #fff;
  font: 600 14px/1 "ei", sans-serif;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.ph {
  display: inline;
  border-bottom: 1px dashed currentColor;
  opacity: .72;
}

.header-search {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search svg { width: 20px; height: 20px; fill: var(--color-font-one); }
.header-button { cursor: pointer; text-decoration: none; }

.header-nav a { text-decoration: none; }
.header-nav a:focus-visible,
.header-search:focus-visible,
.ei-logo:focus-visible { outline: 2px solid var(--ghost-accent-color); outline-offset: 4px; border-radius: 6px; }

/* Kartlar */
.item.post {
  border: 1px solid var(--card, var(--ei-line));
  background-color: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
}
.item.post .item-container { border-radius: 22px; }
.item.post .item-content { padding-bottom: 8px; }
.item-title a { color: inherit; }
.item-title a:hover { color: var(--card, var(--ghost-accent-color)); }
.item-image { background: var(--color-one); }
.item-excerpt { font-size: 15px; }
.item-tags { min-height: 1px; }
.item .tag-badge {
  display: inline-block;
  padding: 7px 12px 6px;
  border-radius: 999px;
  background: var(--card, var(--color-font-one));
  color: #fff;
  font: 600 10px/1 "ei", sans-serif;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.item-time { display: block; font-size: 13px; color: var(--color-font-input); margin-top: 6px; }
.share-trigger {
  border: 0; background: transparent; padding: 0; cursor: pointer;
  font: inherit; font-size: 13px; display: inline-flex; gap: 6px; align-items: center;
  color: var(--color-font-input);
}
.share-trigger:hover { color: var(--color-font-one); }
.share-trigger svg { width: 15px; height: 15px; fill: currentColor; }

/* Yazı ve sayfa içeriği */
.post-content { font-size: 20px; max-width: 760px; margin-left: auto; margin-right: auto; }
.post-content a { color: var(--ghost-accent-color); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li { margin-bottom: .55em; }
.post-content h2 { font-family: "ei", sans-serif; font-weight: 600; font-size: 30px; letter-spacing: -.3px; margin: 52px 0 18px; line-height: 1.2; }
.post-content h3 { font-family: "ei", sans-serif; font-weight: 600; font-size: 24px; margin: 40px 0 14px; }
.post-content blockquote { border-left: 3px solid var(--ghost-accent-color); padding-left: 22px; font-style: italic; color: #333; }
.post-content figure { margin: 36px 0; }
.post-content img { border-radius: 20px; }
.post-content figcaption { color: var(--color-font-input); font-size: 12px; margin-top: 10px; text-align: center; }

.post-content .prose-lead { font-size: 22px; color: #333; }

/* Post başlık bloğu */
.item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-left: 3px solid var(--card, var(--ghost-accent-color));
  border-radius: 3px;
  padding-left: 12px;
  margin-bottom: 18px;
}
.item-header .global-tags { margin: 0; }
.item-header .global-tags a {
  background: var(--card, var(--ghost-accent-color)) !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
  padding: 9px 12px 8px !important;
  pointer-events: auto;
}
.item.is-hero .item-content { justify-content: center; }
.item.is-hero .item-title { font-size: clamp(32px, 4.2vw, 52px); }
.item.is-hero .item-excerpt { max-width: 58ch; }
@media (max-width: 1024px) {
  .item.is-hero .item-container { flex-direction: column; }
  .item.is-hero .item-image { width: 100%; min-height: 340px; margin: 0 0 24px; }
  .item.is-hero .item-content { padding: 0 20px 30px; }
}
.post-section .post-header { margin: 0 auto; max-width: 1240px; }
.post-content .share-trigger { display: flex; margin: 40px auto 0; justify-content: center; }
.nextprev-section { max-width: var(--ei-max); margin: 0 auto 8vh; }
.nextprev-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nextprev-wrap section { position: relative; }
.nextprev-wrap small { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: var(--color-font-input); }
.nextprev-wrap h3 { margin-top: 6px; }
.nextprev-wrap h3 a { color: inherit; text-decoration: none; }
.nextprev-image { display: none; }

.story-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 50px; align-items: center; max-width: var(--ei-max); margin: 0 auto; padding: 0 25px; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Sayfa başlığı */
.page-head { max-width: var(--ei-max); margin: 0 auto 50px; padding: 0 25px; }
.page-head h1 { font-family: "ei", sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.6px; margin: 0 0 18px; line-height: 1.15; }
.page-head p.lead { font-size: 20px; color: #333; max-width: 62ch; margin: 0; }
.page-head .eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-font-input); margin: 0 0 14px; }
.page-body { max-width: var(--ei-max); margin: 0 auto; padding: 0 25px; }

.loop-section { max-width: calc(var(--ei-max) + 40px); margin: 0 auto 8vh; padding: 0 10px; }
.loop-wrap > article { display: none; }
.loop-wrap.is-open > article,
.loop-wrap > article:first-child,
.loop-wrap > article:nth-child(2),
.loop-wrap > article:nth-child(3) { display: block; }
.loop-wrap.is-open > article { display: block; }
.more-wrap { display: flex; justify-content: center; margin: 34px auto 0; }
.global-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 15px 32px !important;
  border-radius: 999px !important;
  background: var(--ghost-accent-color);
  color: #fff !important;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.global-button:hover { opacity: .82; transform: translateY(-2px); }
.global-button[hidden] { display: none; }

/* Hakkımda sekmeleri */
.about-tabs { max-width: var(--ei-max); margin: 0 auto 10vh; padding: 0 25px; }
.about-tabs h1 { font-family: "ei", sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.6px; margin: 0 0 40px; }
.about-tabs .tab-navigation { margin-bottom: 0; }
.about-tabs .tab-navigation_sidebar ul { padding-left: 0; }
.about-tabs .tab-navigation_sidebar ul li { font-size: 18px; }
.about-tabs .tab-navigation_content { font-size: 18px; line-height: 1.7; }
.about-tabs .tab-navigation_content p { margin: 0 0 18px; }
.about-tabs .tab-navigation_content h2 { font-family: "ei", sans-serif; font-weight: 600; font-size: 26px; margin: 0 0 18px; }
.about-tabs .tab-navigation_content .post-content { font-size: 18px; }

/* İletişim */
.contact-grid { max-width: 900px; margin: 0 auto 10vh; padding: 0 25px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-grid h2 { font-family: "ei", sans-serif; font-weight: 600; font-size: 24px; margin: 0 0 14px; }
.contact-grid p { color: #333; }
.contact-grid .contact-side { display: flex; flex-direction: column; gap: 34px; }
.mail { font-size: 22px; font-weight: 600; color: var(--ghost-accent-color); word-break: break-word; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.form-field input, .form-field textarea {
  width: 100%; height: auto; padding: 15px 20px; border-radius: 16px;
  border: 1px solid var(--ei-line); background: #fff; font-size: 16px;
  margin: 0; color: var(--color-font-one);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--ghost-accent-color); outline: none; box-shadow: 0 0 0 3px rgba(224,12,32,.12); }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--ghost-accent-color); }
.form-error { display: block; color: var(--ghost-accent-color); font-size: 13px; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--color-font-input); }
.form-alert { padding: 14px 18px; border-radius: 14px; font-size: 14px; margin-bottom: 20px; }
.form-alert.ok { background: #EAF8EF; color: #136B35; }
.form-alert.err { background: #FDECEE; color: #9A0A18; }
.hp { position: absolute; left: -9999px; }
.social-list { list-style: none; padding: 0; margin: 0; }
.social-list li { margin-bottom: 10px; }
.social-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ei-line); color: inherit; }

/* Bülten */
.subscribe-section {
  max-width: var(--ei-max);
  margin: 0 auto 12vh;
  padding: 32px 32px;
  border: 1px solid var(--ei-line);
  border-radius: 24px;
  box-shadow: 0 2px 13px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.subscribe-section h2 { font-family: "ei", sans-serif; font-weight: 400; font-size: clamp(22px, 3vw, 30px); margin: 0; max-width: 460px; line-height: 1.25; }
.subscribe-section strong { font-weight: 600; }
.subscribe-form { display: flex; gap: 10px; flex: 1 1 360px; max-width: 480px; flex-wrap: wrap; }
.subscribe-form input {
  flex: 1 1 240px; width: auto; height: 50px; margin: 0; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--ei-line); background: #fff;
}
.subscribe-form .global-button { min-width: 130px; }
.subscribe-form .form-note { flex-basis: 100%; }
.subscribe-form .form-alert { flex-basis: 100%; margin: 0; }

/* Arama */
.search-section { display: block; }
.search-section[hidden] { display: none; }
.search-overlay { background: rgba(0,0,0,.55); }
.search-close {
  position: fixed; z-index: 1001; top: 22px; right: 28px;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: #fff; cursor: pointer; display: grid; place-items: center;
}
.search-close svg { width: 15px; height: 15px; fill: #111; }
.search-results { max-height: 48vh; overflow: auto; padding: 0 20px 20px; }
.search-results a { display: block; padding: 16px 0; border-top: 1px solid var(--ei-line); color: inherit; }
.search-results strong { display: block; font-weight: 600; margin-bottom: 4px; }
.search-results small { color: var(--color-font-input); }
.search-results__empty { padding: 20px; color: var(--color-font-input); }

/* Görsel yer tutucu */
.image-ph {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  height: 100%; min-height: 240px; background: repeating-linear-gradient(135deg, #f7f7f9 0 14px, #f1f1f4 14px 28px);
  color: var(--color-font-input); text-align: center; padding: 20px; font-size: 13px;
}

/* 404 */
.notfound { max-width: 700px; margin: 8vh auto 14vh; padding: 0 25px; text-align: center; }
.notfound h1 { font-family: "ei", sans-serif; font-size: clamp(38px, 7vw, 64px); font-weight: 400; letter-spacing: -.9px; margin: 0 0 18px; }
.notfound p { color: #333; margin-bottom: 30px; }

/* Gündem etiketi rengi */
.chip-gundem { --card: var(--ei-green); }
.chip-yazi { --card: var(--ei-navy); }
.chip-bilgi { --card: var(--ei-bilgi); }

/* Duyarlı düzeltmeler */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .nextprev-wrap { grid-template-columns: 1fr; }
  .header-logo { max-width: 140px; }
}
@media (min-width: 1024px) {
  .header-logo { max-width: 170px; }
}
@media (max-width: 1024px) {
  .header-nav a { width: auto; padding: 10px 12px; }
  .header-checkbox:checked ~ nav { z-index: 120; }
  .subscribe-section { padding: 26px 22px; }
}
@media (max-width: 600px) {
  .ei-logo__first { font-size: 28px; }
  .ei-logo__last { font-size: 18px; }
  .item.post { border-radius: 20px; }
  .subscribe-form .global-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Logo (Recep Günyüzlü imzası) ---------- */
.header-logo { max-width: none; width: auto; flex: none; }
.brand-logo { display: block; line-height: 0; border-radius: 6px; }
.brand-logo img { display: block; width: auto; height: 46px; max-width: none; }
.brand-logo--footer img { height: 96px; }
.brand-logo:focus-visible { outline: 2px solid var(--ghost-accent-color); outline-offset: 4px; }
@media (min-width: 1024px) { .brand-logo img { height: 58px; } .brand-logo--footer img { height: 110px; } }

/* ---------- Başlık (kaynak düzen: logo · gezinme · kırmızı hap düğme · arama) ---------- */
.rg-header { position: relative; z-index: 60; background: var(--color-body, #fff); }
.rg-header__inner { max-width: 1460px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.rg-header .brand-logo img { height: 58px; }
.rg-nav { flex: 1; min-width: 0; }
.rg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 52px; row-gap: 6px; }
.rg-nav a { display: block; padding: 12px 0; color: var(--color-font-one); text-decoration: none; font-size: 18px; font-weight: 400; letter-spacing: .1px; white-space: nowrap; transition: color .15s; }
.rg-nav a:hover, .rg-nav a[aria-current="page"] { color: var(--ghost-accent-color); }
.rg-nav__mobile { display: none; }
.rg-actions { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.rg-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; margin-right: 8px; border-radius: 999px; background: var(--ghost-accent-color); color: #fff; font-size: 13px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: opacity .15s, transform .15s; }
.rg-cta:hover { opacity: .85; transform: translateY(-2px); }
.rg-icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--color-font-one); cursor: pointer; }
.rg-icon svg { width: 22px; height: 22px; fill: currentColor; }
.rg-menu-btn { display: none; }
.rg-bars { position: relative; width: 30px; height: 18px; }
.rg-bars i { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 3px; background: currentColor; transition: transform .2s, top .2s; }
.rg-bars i:nth-child(1) { top: 2px; } .rg-bars i:nth-child(2) { top: 14px; }
.rg-menu-btn[aria-expanded="true"] .rg-bars i { top: 8px; transform: rotate(45deg); }
.rg-menu-btn[aria-expanded="true"] .rg-bars i:nth-child(2) { transform: rotate(-45deg); }
.rg-header a:focus-visible, .rg-header button:focus-visible { outline: 2px solid var(--ghost-accent-color); outline-offset: 3px; }

@media (min-width: 1024px) {
  .rg-header__inner { padding: 30px 40px; gap: 32px; min-height: 120px; }
  .rg-header .brand-logo img { height: 62px; }
  .rg-nav { padding-left: 56px; }
}
/* 1024 px altı: gezinme, menü düğmesinin altında açılan yuvarlak bir karta taşınır */
@media (max-width: 1023px) {
  .rg-menu-btn { display: grid; }
  .rg-nav { position: absolute; top: calc(100% - 14px); right: 20px; width: min(320px, calc(100vw - 40px)); display: none; padding: 26px 16px; background: #fff; border-radius: 22px; box-shadow: 0 2px 22px rgba(0, 0, 0, .1); max-height: calc(100dvh - 110px); overflow-y: auto; }
  .rg-nav.is-open { display: block; animation: rg-pop .18s ease-out; }
  .rg-nav ul { flex-direction: column; align-items: stretch; flex-wrap: nowrap; row-gap: 2px; }
  .rg-nav a { padding: 12px 8px; text-align: center; font-size: 18px; border-radius: 12px; }
  .rg-nav__mobile { display: block; }
}
@keyframes rg-pop { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 480px) {
  .rg-header__inner { padding: 14px 12px; gap: 6px; }
  .rg-header .brand-logo img { height: 52px; }
  .rg-cta { padding: 0 14px; margin-right: 0; font-size: 11px; letter-spacing: 2px; min-height: 40px; }
  .rg-icon { width: 40px; height: 44px; }
  .rg-nav { right: 12px; width: calc(100vw - 24px); max-width: 320px; }
}
@media (max-width: 359px) { .rg-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .rg-nav.is-open { animation: none; } }

/* ---------- Duyarlılık düzeltmeleri (denetimden) ---------- */
/* Söz bandı: dar sütuna sıkışmasın */
.global-sections-items-1 { width: 100%; max-width: 920px; margin-left: auto; margin-right: auto; }
.global-sections-items-1 > div { width: 100%; }

/* Bülten formu: kaynak CSS 1024 px altında sütuna çevirip alanı 240 px yüksekliğe şişiriyordu */
@media (max-width: 1024px) {
  .subscribe-section { flex-direction: column; align-items: stretch; text-align: center; gap: 22px; margin-left: 16px; margin-right: 16px; }
  .subscribe-section h2 { max-width: none; }
  .subscribe-form { width: 100%; max-width: 520px; margin: 0 auto; flex-direction: row; align-items: stretch; flex: none; }
}
.subscribe-form input { flex: 1 1 220px; min-width: 0; height: 50px !important; margin: 0; }
.subscribe-form .global-button { flex: 0 0 auto; }
.subscribe-form .form-note { width: 100%; min-width: 0; overflow-wrap: anywhere; margin: 4px 0 0; }
@media (max-width: 480px) {
  .subscribe-form input, .subscribe-form .global-button { flex-basis: 100%; }
}

/* Bölüm aralıkları: masaüstünde ferah, telefonda kaydırmayı uzatmayacak kadar */
@media (max-width: 767px) {
  .featured-section, .global-sections, .loop-section, .nextprev-section { margin-bottom: 72px; }
  .global-label { margin-bottom: 24px; }
}

/* Dokunma hedefleri */
.footer-nav-title, .footer-nav-title-small { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 4px !important; }
.skip-link:focus { min-height: 44px; display: inline-flex; align-items: center; }

/* Fotoğraf kutusu: görsel kutuyu doldursun, taşmasın */
.photo-media picture, .photo-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-portrait .photo-media img { object-position: 70% 30%; }
@media (max-width: 760px) { .about-portrait .photo-media { aspect-ratio: 4 / 5 !important; } .about-portrait .photo-media img { object-position: center 20%; } }

/* Hakkımda sekmeleri: düğme, klavye, mobilde yatay kaydırma */
.tab-navigation_link button { all: unset; cursor: pointer; display: inline-block; padding: 8px 0; color: inherit; font: inherit; }
.tab-navigation_link button:focus-visible { outline: 2px solid var(--ghost-accent-color); outline-offset: 4px; border-radius: 4px; }
.tab-navigation_sidebar ul li.active::after { width: 100%; }
.tab-navigation_link button[aria-selected="true"] { font-weight: 600; }
@media (max-width: 992px) {
  .tab-navigation_sidebar ul { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tab-navigation_sidebar ul li { flex: none; scroll-snap-align: start; white-space: nowrap; }
}

/* Yazı ve çalışma sayfası başlığı: 1024 px altında görsel üstte, metin altta */
@media (max-width: 1023px) {
  .post-header .item-container { display: flex; flex-direction: column; }
  .post-header .item-image, .post-header .item-content { width: 100% !important; max-width: 100% !important; min-width: 0 !important; flex: none !important; }
  .post-header .item-content { padding: 20px 4px 0; }
  .post-header .item-title { font-size: clamp(26px, 6.5vw, 36px); line-height: 1.2; overflow-wrap: anywhere; }
}
.post-header .item-image img { object-position: 75% 30%; }

/* Manşet: telefonda kenardan kenara, yatay kaydırma oluşturmadan */
@media (max-width: 539px) { .home-slider-section { width: 100vw; max-width: 100vw; } }
html, body { overflow-x: clip; }
.footer-description a { display: inline-block; padding: 10px 0; }
.footer-credit { font-size: 11px; line-height: 1.5; opacity: .65; }
.footer-credit a:hover, .footer-credit a:focus-visible { text-decoration: underline; }
.item.post .item-image img { object-position: 72% 30%; }

/* ---------- Manşet slaytı: her fotoğraf aynı çerçeveye oturur ----------
   Masaüstü 3:1, telefon 4:5. Fotoğraf çerçeveyi doldurur (object-fit: cover), yüzler genelde üstte olduğu için
   odak üst-orta. Mobil görsel yüklenmediyse masaüstü görseli aynı kurala göre kırpılır. */
.home-slider .home-slider-image { position: relative; display: block !important; width: 100%; aspect-ratio: 3 / 1; overflow: hidden; background: var(--color-one, #F4F4F7); }
.home-slider .home-slider-image picture { display: block; width: 100%; height: 100%; }
.home-slider .slick-slide .home-slider-image img,
.home-slider .home-slider-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.home-slider .home-slider-image .image-ph { position: absolute; inset: 0; min-height: 0 !important; }
.home-slider .slick-slide .global-button { right: 0; }
@media (max-width: 760px) { .home-slider .home-slider-image { aspect-ratio: 4 / 5; } }
.home-slider .slick-dots li button:focus-visible::before { outline: 2px solid var(--ghost-accent-color); outline-offset: 3px; }
.home-slider { position: relative; }
.slider-pause { position: absolute; left: 50%; bottom: 0; transform: translateX(calc(-50% - 84px)); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ghost-accent-color); cursor: pointer; border-radius: 999px; }
.slider-pause svg { width: 16px; height: 16px; fill: currentColor; }
.slider-pause:focus-visible { outline: 2px solid var(--ghost-accent-color); outline-offset: 2px; }

/* ---------- Galeri ---------- */
.gallery-page { padding: 0 20px; margin-bottom: 12vh; }
.gallery-masonry { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
@media (min-width: 700px) { .gallery-masonry { columns: 3; column-gap: 20px; } }
@media (min-width: 1100px) { .gallery-masonry { columns: 3; column-gap: 24px; } }
.gallery-masonry li { break-inside: avoid; margin: 0 0 16px; }
.gallery-item { display: block; position: relative; overflow: hidden; border-radius: 20px; border: 1px solid transparent; background: var(--color-one, #F4F4F7); transition: border-color .2s, box-shadow .2s; }
.gallery-item picture, .gallery-item img { display: block; width: 100%; height: auto; transition: transform .35s cubic-bezier(.165, .84, .44, 1); }
.gallery-item:hover { border-color: var(--ghost-accent-color); box-shadow: 0 2px 13px rgba(224, 12, 32, .19); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:focus-visible { outline: 3px solid var(--ghost-accent-color); outline-offset: 3px; }
.gallery-caption { margin: 8px 4px 0; font-size: 13px; line-height: 1.45; color: var(--color-font-input); }

/* Ana sayfa galerisi: düzenli kare ızgara */
.home-gallery__grid { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--ei-max); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .home-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.home-gallery__grid .gallery-item { aspect-ratio: 1; }
.home-gallery__grid .gallery-item picture, .home-gallery__grid .gallery-item img { height: 100%; object-fit: cover; object-position: center 25%; }
.home-gallery .more-wrap { text-align: center; margin-top: 32px; }

/* Büyütme penceresi */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 10, 18, .94); color: #fff; }
.lightbox::backdrop { background: rgba(0, 10, 18, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 16px 24px; max-width: 100%; }
.lightbox__figure img { max-width: min(1200px, calc(100vw - 32px)); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox__cap { font-size: 14px; text-align: center; max-width: 70ch; opacity: .9; }
.lightbox__count { opacity: .6; margin-left: 6px; }
.lightbox__btn { position: fixed; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: var(--ghost-accent-color); }
.lightbox__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; } .lightbox__figure { padding-bottom: 80px; } }

/* ---------- Manşet: oranı çerçeveden çok farklı görseller (afiş, dikey portre) kırpılmaz ----------
   Sunucu her slayt için masaüstü (is-contain-d) ve telefon (is-contain-m) kararını verir. O durumda görsel
   bütün hâliyle ortada durur, arkasını aynı görselin bulanık kopyası doldurur. */
.home-slider .home-slider-image > picture:not(.slide-bg-wrap) { position: relative; z-index: 1; }
.home-slider .home-slider-image .global-button { z-index: 2; }
.home-slider .home-slider-image > picture.slide-bg-wrap { position: absolute; inset: 0; z-index: 0; display: none; overflow: hidden; width: auto; height: auto; }
.home-slider .home-slider-image > picture.slide-bg-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); filter: blur(26px) saturate(1.1); opacity: .85; }
@media (min-width: 761px) {
  .home-slider .is-contain-d > picture:not(.slide-bg-wrap) img { object-fit: contain !important; }
  .home-slider .is-contain-d > picture.slide-bg-wrap { display: block; }
}
@media (max-width: 760px) {
  .home-slider .is-contain-m > picture:not(.slide-bg-wrap) img { object-fit: contain !important; }
  .home-slider .is-contain-m > picture.slide-bg-wrap { display: block; }
}

.item.post .item-image picture { display: block; width: 100%; height: 100%; }
.item.post .item-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Yazılı afiş manşeti ----------
   Metin gerçek metindir; bütün ölçüler afişin genişliğine (cqi) bağlıdır, böylece 320 px'ten geniş masaüstüne
   kadar aynı oranla küçülüp büyür. Masaüstü/tablet 3:1 (metin solda, portre sağda), telefon 4:5 (metin üstte). */
.is-banner { container-type: inline-size; background: #fff; color: #14215A; text-decoration: none; }
/* Manşet dışındaki afiş çerçevesi (ör. Hakkımda): manşetle aynı oranlar */
.hb-frame { position: relative; display: block; width: 100%; aspect-ratio: 3 / 1; overflow: hidden; border: 1px solid var(--ghost-accent-color); border-radius: 20px; }
@media (max-width: 760px) { .hb-frame { aspect-ratio: 4 / 5; } }
.hb { position: absolute; inset: 0; display: block; overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 10%, #fff 0 40%, transparent 70%),
    linear-gradient(110deg, #FBFBFD 0%, #EEF0F5 55%, #E6E9F0 100%); }
.hb__navy { position: absolute; top: 0; right: 0; bottom: 0; width: 36cqi; background: #1D2F6F;
  clip-path: polygon(38% 100%, 100% 22%, 100% 100%); }
.hb__navy::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #B8893B, #F0D28A, #A7782E);
  clip-path: polygon(36.6% 100%, 100% 20.6%, 100% 22%, 38% 100%); }
.hb__swoosh { position: absolute; left: 44cqi; bottom: 0; width: 46cqi; height: 92%; }
.hb__text { position: absolute; left: 7cqi; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 2; }
.hb__l1 { font-family: "ei", sans-serif; font-weight: 900; font-size: 6.4cqi; line-height: 1; letter-spacing: -.02em; color: #14215A; white-space: nowrap; }
.hb__l2 { font-family: "Great Vibes", cursive; font-size: 7.6cqi; line-height: 1.25; margin-top: .9cqi; padding: 0 2cqi .2cqi;
  background: linear-gradient(90deg, #B07F33, #E9C77B 45%, #F3DDA0 55%, #A7782E); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.hb__rule { display: block; width: 34cqi; height: .28cqi; margin: .2cqi 0 1.2cqi; border-radius: 1cqi; background: linear-gradient(90deg, transparent, #C99A4B 15%, #E9C77B 50%, #C99A4B 85%, transparent); }
.hb__place { display: flex; align-items: center; gap: 1.2cqi; font-family: "ei", sans-serif; font-weight: 600; font-size: 1.55cqi; letter-spacing: .35em; color: #14215A; margin-bottom: 1.4cqi; }
.hb__place::before, .hb__place::after { content: ""; width: 4.5cqi; height: .14cqi; background: #14215A; opacity: .7; }
.hb__name { display: flex; flex-direction: column; align-items: center; line-height: .9; }
.hb__first { font-family: "Great Vibes", cursive; font-size: 2.8cqi; line-height: 1.1; color: #14215A; margin-bottom: 0; transform: translateX(-3cqi); }
.hb__last { font-family: "ei", sans-serif; font-weight: 900; font-size: 4.4cqi; letter-spacing: .01em; color: #14215A; }
.hb__person { position: absolute; z-index: 1; right: 7cqi; bottom: 0; height: 100%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 0 1.5cqi rgba(29, 47, 111, .18)); }
.is-banner .hb__person { width: auto !important; height: 100% !important; object-fit: contain !important; }

@media (max-width: 760px) {
  .hb__navy { width: 100cqi; height: 46%; top: auto; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
  .hb__navy::before { clip-path: polygon(100% -2%, 100% 0.6%, 1.6% 100%, 0 100%); }
  .hb__swoosh { left: 0; width: 100cqi; height: 62%; }
  .hb__text { left: 6cqi; top: 8cqi; transform: none; align-items: flex-start; text-align: left; }
  .hb__l1 { font-size: 11.5cqi; }
  .hb__l2 { font-size: 13.5cqi; margin-top: 2cqi; padding-left: 0; }
  .hb__rule { width: 58cqi; height: .6cqi; margin: .5cqi 0 3cqi; }
  .hb__place { font-size: 3.4cqi; gap: 2.4cqi; margin-bottom: 3cqi; }
  .hb__place::before, .hb__place::after { width: 7cqi; height: .35cqi; }
  .hb__place::before { display: none; }
  .hb__name { align-items: flex-start; }
  .hb__first { font-size: 6cqi; transform: translateX(4cqi); margin-bottom: .4cqi; }
  .hb__last { font-size: 8.6cqi; }
  .is-banner .hb__person { height: 52% !important; bottom: 0; right: -8cqi; }
}

/* Pasif menü başlığı: bağlantı gibi görünür ve tıklanır, bir yere gitmez */
.rg-nav a.is-passive { cursor: pointer; }
/* ---------- Sosyal medya ---------- */
.home-social { padding: 0 20px; max-width: var(--ei-max); }
.home-social__accounts { margin: 0 0 32px; }
.footer-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-icons .footer-social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: #000A12; transition: background-color .15s, color .15s; }
.footer-icons .footer-social:hover { background: var(--sp-color); color: #fff; }
.footer-icons .footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-icons .footer-social:focus-visible { outline: 2px solid var(--ghost-accent-color); outline-offset: 2px; }

/* Konuşma (video) kartları: dikey kapak, küçük kalmasın */
.item.post.item--video .item-container .item-image { height: auto; aspect-ratio: 9 / 16; max-height: 560px; }
.item.post.item--video .item-image img { object-position: center top; }

/* İletişim: telefon ve WhatsApp düğmeleri */
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.contact-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; color: #fff; font-weight: 600; text-decoration: none; transition: opacity .15s, transform .15s; }
.contact-btn:hover { opacity: .88; transform: translateY(-2px); }
.contact-btn svg { width: 20px; height: 20px; fill: currentColor; }
.contact-btn--call { background: var(--ghost-accent-color); }
.contact-btn--wa { background: #1E8E4E; }
.contact-btn:focus-visible { outline: 3px solid #000A12; outline-offset: 2px; }

/* Afiş: telefonda hazır 4:5 görsel varsa onu göster */
.hb__mobile { display: none; }
@media (max-width: 760px) {
  .hb.has-mobile-img > :not(.hb__mobile) { display: none !important; }
  .hb.has-mobile-img .hb__mobile { display: block; position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
}
/* Video kartları masaüstünde kartı tam doldursun */
@media (min-width: 700px) {
  .item.post.item--video .item-container .item-image { width: 100%; aspect-ratio: 4 / 5; max-height: none; }
}
.item.post.item--video .item-image picture { display: block; width: 100%; height: 100%; }
.item.post.item--video .item-image img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 30%; }
.hb--img picture { display: block; width: 100%; height: 100%; }
.is-banner .hb--img .hb__img, .hb--img .hb__img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center; }

/* Altbilgi logosu: dar ekranlarda ortalı */
@media (max-width: 992px) {
  .footer-logo { display: flex; justify-content: center; width: 100%; }
  .footer-logo .brand-logo { margin: 0 auto; }
}
