@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Sora:wght@400;500;600;700&display=swap");

:root {
  --ink: #172028;
  --ink-soft: #3d4a57;
  --muted: #667788;
  --paper: #eef2f5;
  --paper-2: #e3e9ef;
  --surface: #f8fafc;
  --line: #cfd8e2;
  --accent: #b41a1a;
  --accent-deep: #7e1010;
  --accent-soft: #f6e8e8;
  --max: 1120px;
  --radius: 10px;
  --stack-gap: 0.75rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --text: 1.0625rem;
  --text-lh: 1.72;
  --shade: 0 10px 30px rgba(23, 32, 40, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(180, 26, 26, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(70, 110, 150, 0.12), transparent 50%),
    linear-gradient(180deg, #f5f7fa 0%, var(--paper) 40%, #e8eef3 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(23, 32, 40, 0.06);
  background: rgba(248, 250, 252, 0.94);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none !important;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 8.5rem;
  object-fit: contain;
  border-radius: 4px;
}

.brand-mark,
.brand-dot {
  display: none;
}

.site-header.is-scrolled .brand-logo {
  height: 2.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 2px 5px rgba(23, 32, 40, 0.18);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}

.social-links a svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #fff;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.15));
}

.social-links a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(23, 32, 40, 0.22);
}

.social-links a[data-network="x"] {
  background: linear-gradient(180deg, #2a2a2a 0%, #0f1419 100%);
  color: #fff;
}

.social-links a[data-network="instagram"] {
  background:
    radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
}

.social-links a[data-network="facebook"] {
  background: linear-gradient(180deg, #3b8cff 0%, #1877f2 55%, #1465d1 100%);
  color: #fff;
}

.nav-shell .social-links {
  margin-right: 0.25rem;
}

.footer-inner .social-links a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
}

.footer-inner .social-links a svg {
  width: 1.15rem;
  height: 1.15rem;
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 1.1rem;
}

.share-bar-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.2rem;
}

.share-bar a,
.share-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 2px 5px rgba(23, 32, 40, 0.16);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}

.share-bar a svg,
.share-bar button svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #fff;
}

.share-bar a:hover,
.share-bar button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.share-bar a[data-network="facebook"] {
  background: linear-gradient(180deg, #3b8cff 0%, #1877f2 55%, #1465d1 100%);
}

.share-bar a[data-network="x"] {
  background: linear-gradient(180deg, #2a2a2a 0%, #0f1419 100%);
}

.share-bar a[data-network="whatsapp"] {
  background: linear-gradient(180deg, #3fe07a 0%, #25d366 55%, #1da851 100%);
}

.share-bar button[data-copy-link] {
  width: auto;
  min-width: 2.15rem;
  padding: 0 0.55rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #eef2f5 100%);
  box-shadow: 0 1px 3px rgba(23, 32, 40, 0.08);
}

.share-bar button[data-copy-link]:hover {
  color: var(--accent-deep);
  border-color: rgba(180, 26, 26, 0.3);
  filter: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.6rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  text-decoration: none !important;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.65);
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.hero {
  position: relative;
  height: 17.5rem;
  min-height: 17.5rem;
  max-height: 17.5rem;
  /* visible: arama önerileri kesilmesin */
  overflow: visible;
  color: #fff;
  background:
    radial-gradient(700px 280px at 85% 20%, rgba(180, 26, 26, 0.12), transparent 60%),
    linear-gradient(135deg, #1a222c 0%, #2a333e 55%, #172028 100%);
}

.hero-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.hero-media {
  display: none;
}

.hero-pack {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  height: calc(100% - 0.15rem);
  max-height: 14.5rem;
  padding: 0.55rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none !important;
  overflow: hidden;
}

.hero-pack img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.hero-pack img.is-swap {
  opacity: 0;
  transform: scale(0.96);
}

.hero-drug {
  display: block;
  max-width: 100%;
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.12s forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-drug a {
  color: inherit;
  text-decoration: none;
}

.hero-drug a:hover {
  color: #ffd0d0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero.is-ready .hero-lead,
.hero.is-ready .hero-drug {
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-lead {
  max-width: 36rem;
  margin: 0 0 0.85rem;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.45;
  min-height: calc(1.45em * 3);
  max-height: calc(1.45em * 3);
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.25s forwards;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.45s forwards;
  min-width: 0;
  max-width: 34rem;
}

.hero-actions .search-bar {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.hero-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.search-bar.has-suggest {
  position: relative;
  z-index: 30;
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 40;
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem;
  max-height: min(18rem, 50vh);
  overflow: auto;
  background: #fff;
  color: var(--ink, #1a1a1a);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.14);
}

.search-suggest[hidden] {
  display: none !important;
}

.search-suggest a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  color: inherit;
  text-decoration: none;
  border-radius: 0.45rem;
}

.search-suggest a:hover,
.search-suggest a:focus-visible {
  background: color-mix(in srgb, var(--accent, #b41a1a) 10%, transparent);
  outline: none;
}

.search-suggest em {
  flex: none;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  opacity: 0.62;
  white-space: nowrap;
}

.list-table em.muted {
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.55;
  margin-left: 0.35rem;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  width: min(100%, 34rem);
  padding: 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.search-bar input {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.7rem 0.85rem;
  outline: none;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

.home-layout,
.page-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  position: relative;
  display: block;
  box-sizing: border-box;
}

.page-layout {
  padding-top: 0;
  padding-bottom: 0;
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.page-layout > .page-shell {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.home-stack {
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap);
  min-width: 0;
}

.home-rail,
.page-rail {
  display: none;
  width: 10.5rem;
  min-height: 28rem;
  box-sizing: border-box;
}

.home-rail .ad-slot--rail,
.page-rail .ad-slot--rail {
  margin: 0;
  min-height: 420px;
  max-height: 720px;
  width: 100%;
}

/* Gövde hizası değişmesin: reklam içerik sütununun sağındaki boşluğa otursun */
@media (min-width: 1300px) {
  .home-rail,
  .page-rail {
    display: block;
    position: fixed;
    left: calc(50% + (var(--max) / 2) + 0.9rem);
    z-index: 4;
  }

  .page-rail {
    top: 5.2rem;
  }

  /* Anasayfa: hero üstüne binmesin — JS Önemli Bilgiler ile hizalar */
  .home-rail {
    top: calc(5.5rem + 17.5rem + 0.85rem);
  }
}

.home-stack > section {
  margin: 0;
  padding: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap);
}

.home-stack .section-head {
  margin-bottom: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--stack-gap, 0.75rem);
}

.bank-strip {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--stack-gap, 0.75rem);
}

.bank-strip a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(207, 216, 226, 0.95);
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.bank-strip a em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.bank-strip a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(180, 26, 26, 0.2);
}

.gate {
  position: relative;
  padding: 1rem 1.1rem 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55)),
    linear-gradient(135deg, var(--paper-2), #fff);
  border: 1px solid rgba(207, 216, 226, 0.9);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.gate::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 26, 26, 0.16), transparent 70%);
  pointer-events: none;
}

.gate:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 26, 26, 0.35);
}

.gate strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.gate span {
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--stack-gap, 0.75rem);
}

.split-eq {
  grid-template-columns: 1fr 1fr;
}

.split-stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 0.75rem);
  min-width: 0;
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 0.4rem;
}

.panel h3,
.panel-title {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-body);
}

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

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  border-top: 1px solid rgba(207, 216, 226, 0.7);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.1rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.link-list a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.link-list em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--stack-gap, 0.75rem);
  margin-top: 0;
}

.stats-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .stats-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.4));
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  box-sizing: border-box;
  overflow-x: clip;
  min-width: 0;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 1.2rem;
}

.crumb a {
  color: var(--ink-soft);
}

.page-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.9rem;
  margin: 0 0 0.85rem;
}

.page-title-row .page-title {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
}

.page-title-row .share-bar {
  margin: 0;
  flex: 0 0 auto;
}

.page-title-row .admin-edit-btn {
  flex: 0 0 auto;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-color: color-mix(in srgb, var(--accent, #b41a1a) 45%, var(--line));
  color: var(--accent, #b41a1a);
}

.page-title-row .admin-edit-btn:hover {
  background: color-mix(in srgb, var(--accent, #b41a1a) 10%, transparent);
  border-color: var(--accent, #b41a1a);
  color: var(--accent, #b41a1a);
}

.page-sub {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 40rem;
}

.alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.alpha a {
  min-width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.alpha a.is-active,
.alpha a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.list-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.list-table a {
  display: block;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(207, 216, 226, 0.65);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.list-table tr:nth-child(even) a {
  background: rgba(238, 242, 245, 0.45);
}

.list-table a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.25rem;
}

.meta-lines {
  margin: 0;
}

.meta-lines dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.9rem;
}

.meta-lines dd {
  margin: 0.2rem 0 0;
  font-size: 1.02rem;
}

.prose {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.2rem;
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: var(--text-lh);
  color: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

/* Canlı içerikteki Verdana / 12px / Optima inline stillerini ez */
.prose :where(
  p,
  span,
  div,
  li,
  td,
  th,
  a,
  strong,
  b,
  em,
  i,
  u,
  font,
  table,
  tbody,
  thead,
  tr,
  label,
  small
) {
  font-family: var(--font-body) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.prose :where(p, li, td, th, div, span, a, strong, b, em, i, u, font) {
  color: inherit;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.prose p {
  margin: 0 0 0.95rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose :where(strong, b) {
  font-weight: 650;
  color: var(--ink);
}

.prose h2 {
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
  margin: 1.45rem 0 0.55rem;
  color: var(--ink);
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prose li {
  margin: 0 0 0.4rem;
}

.prose a {
  color: var(--accent-deep);
  text-underline-offset: 0.15em;
}

.prose a:hover {
  color: var(--accent);
}

.prose p:has(> strong:only-child),
.prose p:has(> strong:first-child:last-child) {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
}

.prose p:has(> strong:only-child) > strong,
.prose p:has(> strong:first-child:last-child) > strong {
  display: inline-block;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-weight: 700;
}

.related-drugs {
  margin-top: 1.75rem;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(180, 26, 26, 0.14);
  background:
    linear-gradient(135deg, rgba(180, 26, 26, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.88));
  box-shadow: 0 8px 24px rgba(23, 32, 40, 0.04);
}

.related-drugs-head {
  margin-bottom: 0.95rem;
}

.related-drugs h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.related-drugs-note {
  margin: 0 !important;
  color: var(--muted);
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
  max-width: 48rem;
}

.related-drug-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.5rem;
  align-items: stretch;
}

.related-drug-grid li {
  margin: 0;
  border: 0;
  display: flex;
  min-width: 0;
}

.related-drug {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
  min-width: 0;
  min-height: 4.15rem;
  height: 100%;
  padding: 0.65rem 0.75rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(207, 216, 226, 0.95);
  background: rgba(255, 255, 255, 0.88);
  text-decoration: none !important;
  color: var(--ink);
  overflow: hidden;
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease);
}

.related-drug::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.55;
  transition: opacity 0.22s var(--ease), width 0.22s var(--ease);
}

.related-drug::after {
  content: "→";
  position: absolute;
  right: 0.65rem;
  top: 0.6rem;
  color: var(--accent);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.related-drug:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 26, 26, 0.35);
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 32, 40, 0.08);
}

.related-drug:hover::before {
  opacity: 1;
  width: 4px;
}

.related-drug:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.related-drug strong {
  display: block;
  padding-right: 1.25rem;
  font-family: var(--font-body) !important;
  font-size: 0.98rem !important;
  font-weight: 650;
  line-height: 1.3 !important;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-drug span {
  display: block;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-drug:hover strong {
  color: var(--accent-deep);
}

@media (max-width: 640px) {
  .related-drugs {
    padding: 1.05rem 0.9rem 1rem;
  }

  .related-drug-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .related-drug {
    padding: 0.55rem 0.65rem;
  }
}

@media (max-width: 760px) {
  .notice,
  .notice-live,
  .section:has([data-onemli-live]) {
    display: none !important;
  }
}

.notice {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.05rem;
  border-radius: var(--radius);
  border: 1px solid rgba(180, 26, 26, 0.22);
  background: linear-gradient(120deg, rgba(180, 26, 26, 0.08), rgba(255, 255, 255, 0.7));
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.35;
  height: 2.85rem !important;
  max-height: 2.85rem !important;
  min-height: 2.85rem !important;
  overflow: hidden !important;
  box-sizing: border-box;
}

.notice-live {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  height: 2.85rem;
  max-height: 2.85rem;
  min-width: 0;
  overflow: hidden;
}

.notice-label {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.35;
}

.notice-body {
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.35;
  /* line-clamp iptal — tek satır sabit */
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  transition: opacity 0.25s var(--ease);
}

.notice-body:hover {
  color: var(--accent);
}

.notice-body.is-swap {
  opacity: 0.35;
}

.list-meta {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.list-meta b {
  color: var(--ink);
  font-weight: 650;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.pager-btn,
.pager-current {
  min-width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.pager-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pager-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.pager-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pager-gap {
  color: var(--muted);
  padding: 0 0.2rem;
}

.info-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  table-layout: fixed;
  font-family: var(--font-body);
  font-size: var(--text);
  line-height: var(--text-lh);
  color: var(--ink-soft);
}

.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid rgba(207, 216, 226, 0.7);
  font-family: var(--font-body) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.info-table :where(p, span, a, strong, b, em, i, u, font, li, div) {
  font-family: var(--font-body) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.info-table th {
  width: 32%;
  color: var(--muted);
  font-weight: 650;
  background: rgba(238, 242, 245, 0.55);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.prose .info-table {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.sticky-aside {
  position: sticky;
  top: 5.2rem;
  align-self: start;
}

.drug-hero {
  display: grid;
  grid-template-columns: minmax(9.5rem, 15rem) minmax(0, 1fr);
  gap: 1.1rem 1.35rem;
  align-items: center;
  margin: 0 0 1.35rem;
}

.drug-hero .drug-media {
  margin: 0;
  max-width: none;
  width: 100%;
  justify-self: center;
  align-self: center;
}

.drug-hero .info-table--meta {
  margin: 0;
  width: 100%;
  align-self: stretch;
}

.drug-hero .info-table--meta th,
.drug-hero .info-table--meta td {
  padding: 0.45rem 0.85rem;
}

.drug-media {
  margin: 0 0 1.25rem;
  max-width: 16rem;
}

.drug-media a {
  display: block;
  text-decoration: none !important;
}

.drug-media img {
  width: 100%;
  max-width: 16rem;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
}

.drug-hero .drug-media img {
  max-width: none;
}

.form-stack {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
}

.form-stack input:not([type="checkbox"]):not([type="radio"]),
.form-stack textarea,
.form-stack select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.8rem 0.9rem;
  outline: none;
}

.form-stack input[type="checkbox"],
.form-stack input[type="radio"] {
  width: auto;
  flex-shrink: 0;
  margin: 0.15rem 0 0;
  accent-color: var(--accent);
}

.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  border-color: var(--accent);
}

.form-stack input[type="file"] {
  padding: 0.55rem;
}

.field-label {
  display: block;
  margin: 0.15rem 0 -0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field-hint {
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--accent-deep);
}

.auth-box-wide {
  max-width: none;
  width: 100%;
  margin: 0;
}

.auth-box-wide .form-stack {
  max-width: none;
}

.register-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  padding: 1.35rem 1.4rem 1.5rem !important;
  max-width: none;
}

.register-form .field {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.register-form .field-label {
  margin: 0;
}

.register-form .field-full {
  grid-column: 1 / -1;
}

.register-form input:not([type="checkbox"]):not([type="radio"]),
.register-form textarea,
.register-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.8rem 0.9rem;
  outline: none;
}

.register-form select.select-lg,
.register-form #fakulte {
  min-height: 3.15rem;
  padding: 0.95rem 1.1rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.register-form select.select-lg option,
.register-form #fakulte option {
  font-size: 1.05rem;
  padding: 0.55rem 0.75rem;
  line-height: 1.5;
}

.register-form input:focus,
.register-form textarea:focus,
.register-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 26, 26, 0.12);
}

.register-form input[type="file"] {
  padding: 0.55rem;
}

.register-form .field-hint {
  margin: 0;
  color: var(--muted);
}

.register-form .check-row {
  grid-column: 1 / -1;
  align-items: flex-start;
  margin-top: 0.15rem;
}

.register-form .btn,
.register-form .ok,
.register-form .auth-actions {
  grid-column: 1 / -1;
}

.register-form .auth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}

.register-form .auth-actions .btn {
  min-width: 12rem;
  width: auto;
}

.register-page .page-sub {
  max-width: 42rem;
}

.register-page .auth-foot {
  text-align: left;
}

@media (max-width: 720px) {
  .register-form {
    grid-template-columns: 1fr;
    padding: 1.1rem !important;
  }
}

/* İletişim */
.contact-page .page-sub {
  margin-bottom: 1.25rem;
}

.contact-page .page-sub a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-page .page-sub a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-intro {
  margin-bottom: 0.35rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: var(--stack-gap, 0.75rem);
  align-items: start;
}

.contact-form {
  padding: 1.15rem 1.15rem 1.25rem !important;
  display: grid;
  gap: 0.85rem;
  max-width: none;
}

.contact-form .field {
  display: grid;
  gap: 0.35rem;
}

.contact-form label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
  line-height: 1.55;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 26, 26, 0.12);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.15rem;
}

.contact-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-ok {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-aside {
  display: grid;
  gap: var(--stack-gap, 0.75rem);
}

.contact-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.05rem;
}

.contact-card h2 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-body);
}

.contact-card p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.contact-mail:hover {
  color: var(--accent);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 0.45rem 0;
  border-top: 1px solid rgba(207, 216, 226, 0.7);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-card-soft {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(246, 232, 232, 0.45)),
    rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(227, 233, 239, 0.9));
  padding: 1.4rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner a {
  color: var(--ink-soft);
}

.preview-banner {
  background: #172028;
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.45rem 0.75rem;
}

.preview-banner strong {
  color: #ffb4b4;
}

.auth-box {
  max-width: 26rem;
  margin: 0 auto;
}

.auth-box .form-stack {
  max-width: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.check-row > span,
.check-row > a + span {
  flex: 1 1 auto;
  min-width: 0;
}

.check-row input[type="checkbox"],
.check-row input[type="radio"] {
  width: auto;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.check-row a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.check-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-foot {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.uye-gate {
  margin-top: 1rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.uye-gate-lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.uye-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.uye-hint {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Yasal metin */
.legal-page .page-sub {
  margin-bottom: 1rem;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
}

.legal-toc a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.legal-toc a:hover {
  border-color: rgba(180, 26, 26, 0.35);
  color: var(--accent);
}

.legal-body {
  max-width: none;
}

.legal-body > article {
  scroll-margin-top: 5.5rem;
}

.legal-body .legal-doc-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.legal-body .legal-meta {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-body section {
  margin: 0 0 1.15rem;
}

.legal-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-body ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.legal-body li {
  margin: 0.3rem 0;
}

.legal-body details {
  margin-top: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.legal-body summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-soft);
}

.legal-callout {
  margin: 0.5rem 0 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid rgba(180, 26, 26, 0.25);
  background: linear-gradient(120deg, rgba(180, 26, 26, 0.08), rgba(255, 255, 255, 0.75));
}

.legal-callout > strong:first-child {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-callout p {
  margin: 0.4rem 0 0;
}

.legal-callout-soft {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.legal-callout-soft > strong:first-child {
  color: var(--ink-soft);
}

.legal-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.75rem 0;
}

.legal-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-foot a {
  color: var(--accent-deep);
  font-weight: 600;
}

.admin-layout {
  display: grid;
  grid-template-columns: 15.5rem 1fr;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
  align-items: start;
}

.admin-side {
  position: sticky;
  top: 5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.85rem;
}

.admin-side h2 {
  margin: 0 0 0.75rem;
  padding: 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.admin-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-nav a {
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent-deep);
  text-decoration: none;
}

.admin-main .page-title {
  margin-bottom: 0.25rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid rgba(207, 216, 226, 0.7);
  font-size: 0.92rem;
}

.admin-table th {
  background: rgba(238, 242, 245, 0.7);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table .actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-table .actions a,
.admin-table .actions button {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.badge-muted {
  background: rgba(238, 242, 245, 0.95);
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: var(--shade);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: translateY(0);
}

.admin-section[hidden] {
  display: none !important;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .gate-grid,
  .split,
  .detail-grid,
  .stats,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .stats-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bank-strip {
    grid-template-columns: 1fr 1fr;
  }

  .admin-side {
    position: static;
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 2.5rem;
    max-width: 3.25rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-shell {
    flex-wrap: wrap;
    min-width: 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 3;
    padding: 0.4rem 0 0.2rem;
    gap: 0.75rem;
  }

  .nav-cta.is-open {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    order: 4;
    padding-bottom: 0.35rem;
    gap: 0.45rem;
    align-items: center;
    min-width: 0;
  }

  .nav-cta.is-open .social-links {
    flex: 1 1 auto;
    min-width: 0;
  }

  .preview-banner {
    font-size: 0.72rem;
    line-height: 1.35;
    white-space: normal;
    padding: 0.4rem 0.75rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding: 0.75rem 1.1rem 0.85rem;
    gap: 0.55rem;
    height: auto;
    align-items: start;
  }

  .hero-pack {
    order: -1;
    height: 8.5rem;
    max-height: 8.5rem;
    width: 100%;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-content {
    justify-content: flex-start;
    padding: 0;
  }

  .hero-actions {
    flex-wrap: wrap;
    max-width: none;
    width: 100%;
  }

  .hero-actions .search-bar {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section,
  .home-stack,
  .page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    min-width: 0;
  }

  .home-stack {
    padding-top: 0;
    padding-bottom: 1.25rem;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .page-title-row {
    align-items: flex-start;
  }

  .page-title-row .share-bar {
    width: 100%;
  }

  .drug-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .drug-hero .drug-media {
    max-width: 14rem;
  }

  .info-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .info-table th,
  .info-table td {
    padding: 0.7rem 0.8rem;
  }

  .info-table th {
    width: 38%;
  }

  .info-table a,
  .info-table span,
  .prose a[style*="white-space"] {
    white-space: normal !important;
  }

  .stats-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat b {
    font-size: 1.35rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .alpha a {
    min-width: 2rem;
    height: 2rem;
    font-size: 0.78rem;
  }
}

/* AdSense — kutu metin genişliğinde; yükseklik gelen reklama göre */
.ad-slot {
  margin: 1.15rem 0 1.35rem;
  min-height: 90px;
  width: 100%;
  max-width: 100%;
  clear: both;
  float: none !important;
  text-align: center;
  overflow: visible;
  box-sizing: border-box;
}

.ad-slot .adsbygoogle {
  display: block;
  margin: 0 auto;
  width: 100% !important;
  max-width: 100% !important;
}

.ad-slot iframe,
.ad-slot ins {
  max-width: 100% !important;
}

/* Auto Ads / yan şerit — yalnızca .ad-slot görünsün */
.google-auto-placed,
aside.google-auto-placed,
aside[data-google-query-id],
div.google-auto-placed,
ins.adsbygoogle-noablate {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.ad-slot,
.ad-slot .adsbygoogle,
[data-vetilac-ad] {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
  left: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* iframe yüksekliğini AdSense belirlesin — height zorlanmasın */
.ad-slot iframe,
.ad-slot div[id^="aswift_"],
[data-vetilac-ad] iframe,
[data-vetilac-ad] div[id^="aswift_"] {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  position: relative !important;
  left: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.ad-slot--mid {
  margin-left: 0;
  margin-right: 0;
}

html {
  --vetilac-rail: 0px;
}

body {
  padding-right: 0;
  box-sizing: border-box;
}

.site-header .nav-shell,
.page-shell,
.site-footer .footer-inner,
.ad-slot--home {
  box-sizing: border-box;
  max-width: var(--max);
}

.ad-slot--home {
  margin-left: auto;
  margin-right: auto;
  padding: 0.25rem 1.25rem 0.5rem;
}

.ad-slot--tight {
  margin: 0.85rem 0 1rem;
  min-height: 90px;
}

.ad-slot--rail,
.ad-slot--rail .adsbygoogle,
.ad-slot--rail iframe,
.ad-slot--rail div[id^="aswift_"] {
  max-height: 720px !important;
  min-height: 420px !important;
  height: 600px !important;
}

@media (max-width: 640px) {
  .ad-slot {
    margin: 0.9rem 0 1.1rem;
    min-height: 90px;
  }

  html {
    --vetilac-rail: 0px;
  }
}
