:root {
  --bg: #eef2f7;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --header-bg: #ffffff;
  --header-text: #0f172a;
  --border: #e2e8f0;
  --topbar-bg: #0f172a;
  --topbar-fg: #94a3b8;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1220px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.site-header {
  background: var(--header-bg);
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.site-header a {
  color: inherit;
}

.site-header a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

body.nav-drawer-open {
  overflow: hidden;
}

.site-header__main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem 0.85rem;
  flex: 0 1 auto;
  min-width: 0;
}

.header-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.1rem;
  flex: 1;
  min-width: 0;
}

.brand {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
}

.brand span {
  color: var(--accent);
}

.brand--has-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand__logo {
  max-height: 42px;
  width: auto;
  height: auto;
  display: block;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.25rem;
  height: 1rem;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.header-trail__panel {
  display: contents;
}

@media (min-width: 561px) {
  .mobile-drawer__head {
    display: none !important;
  }

  .mobile-drawer__body {
    display: contents;
  }
}

.nav-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.nav-primary a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  color: var(--muted);
}

.nav-primary a:hover {
  background: #f1f5f9;
  color: var(--text);
}

.nav-primary a.is-active {
  color: #fff;
  background: var(--accent);
}

.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-fg);
  font-size: 0.78rem;
}

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

.topbar__tagline {
  letter-spacing: 0.02em;
}

.topbar__tagline--rotate-posts {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}

.topbar__tagline--rotate-posts .topbar__tagline-visual {
  display: block;
  min-width: 0;
}

.topbar__rot-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  color: #e2e8f0;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.15s ease, opacity 0.2s ease;
}

.topbar__rot-title:hover {
  color: #fff;
  text-decoration: underline;
}

.topbar__rot-fire {
  flex-shrink: 0;
  font-size: 0.95em;
  line-height: 1;
}

.topbar__rot-title-inner {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 1;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__date {
  opacity: 0.9;
}

.topbar__link {
  color: #e2e8f0;
  font-weight: 600;
}

.topbar__link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-social {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.site-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  font-size: 0;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  line-height: 0;
}

.site-social__ico {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  display: block;
}

.site-social__btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.site-social--header {
  flex-shrink: 0;
}

.site-social__btn--x {
  background: #0f1419;
}

.site-social__btn--facebook {
  background: #1877f2;
}

.site-social__btn--instagram {
  background: linear-gradient(35deg, #f58529, #dd2a7b, #8134af);
}

.site-social__btn--youtube {
  background: #ff0000;
}

.site-social__btn--linkedin {
  background: #0a66c2;
}

.site-social__btn--tiktok {
  background: #000;
  border-color: rgba(255, 255, 255, 0.12);
}

.site-social__btn--telegram {
  background: #229ed9;
}

.site-social__btn--whatsapp {
  background: #25d366;
}

.footer-col--social .site-social--footer {
  justify-content: flex-start;
  gap: 0.45rem;
}

.footer-col--social .site-social__btn {
  min-width: 2.15rem;
  height: 2.15rem;
}

.footer-col--social .site-social__ico {
  width: 1.2rem;
  height: 1.2rem;
}

.admin-form__hint code {
  font-size: 0.78em;
  padding: 0.05rem 0.25rem;
  border-radius: 4px;
  background: #f1f5f9;
}

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

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent);
}

.section-head__label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head__more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.page-columns {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
  margin-top: 0.5rem;
}

@media (max-width: 980px) {
  .page-columns {
    grid-template-columns: 1fr;
  }

  .page-aside {
    order: -1;
  }
}

.page-columns__main {
  min-width: 0;
}

.page-columns__aside {
  min-width: 0;
}

.page-columns__aside .page-aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.stream-section__head {
  margin-bottom: 1rem;
}

.stream-section__title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stream-section__lead {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feed-row {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.feed-row:first-child {
  padding-top: 0;
}

@media (max-width: 640px) {
  .feed-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.9rem 0;
  }

  .feed-row__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 11rem;
    max-height: min(72vw, 320px);
    border-radius: 10px;
  }

  .feed-row__thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(72vw, 320px);
    aspect-ratio: unset;
    object-fit: contain;
    object-position: center;
  }
}

.feed-row__thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}

.feed-row__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feed-row__body {
  min-width: 0;
}

.feed-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.feed-row__cat {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.feed-row__time {
  font-size: 0.78rem;
  color: var(--muted);
}

.feed-row__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.feed-row__title a {
  color: var(--text);
  text-decoration: none;
}

.feed-row__title a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.feed-row__excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.cat-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 55%);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cat-hero--has-bg {
  border-color: rgba(15, 23, 42, 0.2);
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cat-hero--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.42) 55%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

.cat-hero__inner {
  position: relative;
  z-index: 1;
}

.cat-hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cat-hero--has-bg .cat-hero__title {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.page-aside {
  position: sticky;
  top: 100px;
}

@media (max-width: 980px) {
  .page-aside {
    position: static;
  }
}

.aside-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.aside-card__title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.aside-card__list li {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.35;
}

.aside-card__list li:last-child {
  border-bottom: 0;
}

.aside-card__num {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aside-card__list li:nth-child(-n + 3) .aside-card__num {
  background: var(--accent);
  color: #fff;
}

.aside-card__list a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.aside-card__list a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* Yan sütun — canlı coin fiyatları */
.aside-crypto__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.aside-card__title--crypto {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.aside-crypto__live {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #059669, #10b981);
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.35);
}

.aside-crypto__meta {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  color: var(--muted);
}

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

.aside-crypto__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.aside-crypto__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.aside-crypto__name {
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.aside-crypto__sym {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.08rem;
}

.aside-crypto__price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--text);
}

.aside-crypto__chg {
  grid-column: 1 / -1;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.aside-crypto__chg--up {
  color: #047857;
}

.aside-crypto__chg--down {
  color: #b91c1c;
}

.aside-crypto__chg--flat {
  color: var(--muted);
}

.layout-2col__aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

@media (max-width: 960px) {
  .layout-2col__aside {
    order: -1;
  }
}

.stream-empty {
  color: var(--muted);
  padding: 1rem 0;
}

.pagination--feed {
  margin-top: 1.25rem;
}

.hero-card--uc {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.side-list--uc .side-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: none;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.hero-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: clamp(340px, 44vw, 480px);
  background: #222;
  color: #fff;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.88;
}

.hero-card .hero-body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(340px, 44vw, 480px);
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.85));
}

.hero-meta {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.hero-meta .cat {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.hero-title a {
  color: #fff;
}

.hero-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.side-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0.85rem;
  background: var(--card);
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  align-items: center;
}

.side-item > a:first-child {
  display: block;
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
}

.side-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 90px;
  object-fit: cover;
  border-radius: 6px;
  vertical-align: middle;
}

@media (max-width: 560px) {
  .side-item {
    grid-template-columns: 128px 1fr;
    gap: 0.65rem;
    padding: 0.45rem 0.5rem;
  }

  .side-item img {
    min-height: 80px;
  }
}

.side-item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  line-height: 1.3;
}

.side-item .meta {
  font-size: 0.72rem;
  color: var(--muted);
}

/* --- Son haberler (modern grid) --- */
.latest-section {
  margin: 2.5rem 0 2rem;
}

.latest-section__head {
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.latest-section__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.latest-section__lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.35rem;
}

.latest-card {
  display: grid;
  grid-template-rows: auto auto;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .latest-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    grid-template-rows: minmax(200px, auto);
    align-items: stretch;
  }
}

.latest-card__text {
  padding: 1.35rem 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
}

@media (min-width: 640px) {
  .latest-card__text {
    padding: 1.5rem 1.35rem 1.5rem 1.5rem;
  }
}

.latest-card__cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.latest-card__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.latest-card__title a {
  color: var(--text);
  text-decoration: none;
}

.latest-card__title a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.latest-card__excerpt {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.latest-card__stat {
  font-size: 0.78rem;
  color: var(--muted);
}

.latest-card__read {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  white-space: nowrap;
}

.latest-card__read:hover {
  text-decoration: underline;
}

.latest-card__media {
  order: 2;
  position: relative;
  display: block;
  min-height: 160px;
  background: linear-gradient(135deg, #e8eaef 0%, #dfe3ea 100%);
  overflow: hidden;
}

@media (min-width: 640px) {
  .latest-card__media {
    min-height: 100%;
  }
}

.latest-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.latest-card:hover .latest-card__media::after {
  opacity: 1;
}

.latest-card__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (min-width: 640px) {
  .latest-card__media img {
    min-height: 100%;
  }
}

.latest-card:hover .latest-card__media img {
  transform: scale(1.05);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-posts {
  margin-top: 3rem;
  padding: 2rem 1.5rem 2.35rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 42%, #f1f5f9 100%);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 8px 32px rgba(15, 23, 42, 0.06);
}

.related-posts__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.related-posts__head-text {
  min-width: 0;
}

.related-posts__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.related-posts__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  position: relative;
  padding-left: 0.85rem;
}

.related-posts__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.related-posts__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.related-posts__cat:hover {
  border-color: rgba(22, 163, 74, 0.45);
  color: var(--accent-dark);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.12);
}

.related-posts__cat-label {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-posts__cat-arrow {
  font-size: 0.95rem;
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.related-posts__cat:hover .related-posts__cat-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.related-posts .post-grid {
  gap: 1.25rem;
}

.related-posts .post-card--title-top {
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 14px 36px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.28s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.related-posts .post-card--title-top:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 163, 74, 0.28);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.1),
    0 4px 12px rgba(22, 163, 74, 0.08);
}

.related-posts .post-card__title-top {
  padding: 1.05rem 1.15rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.related-posts .post-card__title-top a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-posts .post-card__title-top a:hover {
  color: var(--accent-dark);
}

.related-posts .post-card .thumb img {
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.related-posts .post-card:hover .thumb img {
  transform: scale(1.07);
}

.related-posts .post-card .body {
  padding: 1rem 1.15rem 1.2rem;
}

.related-posts .post-card .cat {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgba(22, 163, 74, 0.09);
  color: var(--accent-dark);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.related-posts .post-card .excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.related-posts .post-card .stats {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .related-posts {
    padding: 1.5rem 1.1rem 1.85rem;
    border-radius: 14px;
    margin-top: 2.25rem;
  }

  .related-posts__head {
    flex-direction: column;
    align-items: stretch;
  }

  .related-posts__cat {
    justify-content: center;
  }

  .related-posts__cat-label {
    max-width: none;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .site-header__main {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 15;
    background: var(--header-bg);
  }

  .header-inner {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    position: relative;
    z-index: 40;
    transition: opacity 0.2s ease, width 0.2s ease, margin 0.2s ease;
  }

  .site-header.is-open .nav-toggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
  }

  .header-trail {
    position: fixed;
    inset: 0;
    z-index: 22;
    display: grid;
    grid-template-columns: 1fr min(86vw, 19rem);
    align-items: stretch;
    flex: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: rgba(15, 23, 42, 0.52);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .nav-backdrop {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    z-index: 0;
  }

  .header-trail__panel {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    max-height: 100dvh;
    box-sizing: border-box;
    padding: 0;
    border-radius: 1.1rem 0 0 1.1rem;
    background: var(--card);
    box-shadow: -18px 0 50px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: max(0.65rem, env(safe-area-inset-top, 0px)) 1.1rem 0.85rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
    border-bottom: 1px solid var(--border);
  }

  .mobile-drawer__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
  }

  .mobile-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #e2e8f0;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-drawer__close:hover {
    background: #cbd5e1;
  }

  .mobile-drawer__close:active {
    transform: scale(0.96);
  }

  .mobile-drawer__close-svg {
    display: block;
  }

  .mobile-drawer__body {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.1rem max(1.25rem, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-header.is-open {
    z-index: 2600;
  }

  .site-header.is-open .header-trail {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.is-open .header-trail__panel {
    transform: translateX(0);
  }

  .header-trail__panel .nav-primary {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    border: 0;
  }

  .header-trail__panel .nav-primary a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.82rem 1rem;
    border-radius: 10px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    box-sizing: border-box;
  }

  .header-trail__panel .nav-primary a:hover {
    background: #e8edf3;
    color: var(--text);
  }

  .header-trail__panel .nav-primary a.is-active {
    background: var(--accent);
    border-color: var(--accent-dark);
    color: #fff;
  }

  .header-trail__panel .site-social--header {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
}

.post-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-card--title-top {
  display: flex;
  flex-direction: column;
}

.post-card__title-top {
  order: -1;
  margin: 0;
  padding: 0.9rem 1rem 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
}

.post-card__title-top a {
  color: var(--text);
  text-decoration: none;
}

.post-card__title-top a:hover {
  color: var(--accent-dark);
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card .body {
  padding: 0.85rem 1rem 1rem;
}

.post-card .cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.post-card h3 {
  margin: 0.35rem 0;
  font-size: 1rem;
  line-height: 1.3;
}

.post-card h3 a {
  color: var(--text);
}

.post-card h3 a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.post-card .excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.stats {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.layout-2col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .layout-2col {
    grid-template-columns: 1fr;
  }
}

.article-header {
  margin-bottom: 1.25rem;
}

.article-header .cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.article-header h1 {
  margin: 0.35rem 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.article-cover {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #e8e8ee;
}

.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* --- Mobil: görseller tam genişlik, içerik medya taşması yok --- */
@media (max-width: 640px) {
  .site-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .article-cover {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    max-width: none;
    border-radius: 0;
  }

  .article-cover img {
    max-height: min(58vw, 360px);
    min-height: 180px;
    width: 100%;
    object-fit: cover;
  }

  .highlight-grid {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    gap: 0.75rem;
  }

  .hero-card,
  .hero-card .hero-body {
    min-height: clamp(260px, 48vw, 400px);
    border-radius: 0;
  }

  .hero-card:first-child {
    border-radius: 0;
  }

  .side-list--uc .side-item {
    border-radius: 10px;
  }

  .side-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .side-item > a:first-child {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 9rem;
  }

  .side-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(62vw, 300px);
    aspect-ratio: unset;
    object-fit: contain;
    object-position: center;
  }

  .layout-2col article {
    min-width: 0;
  }

  .post-actions {
    max-width: none;
  }

  .latest-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 11rem;
    max-height: min(72vw, 320px);
  }

  .latest-card__media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(72vw, 320px);
    object-fit: contain;
    object-position: center;
  }

  .post-card .thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10rem;
    max-height: min(68vw, 300px);
    aspect-ratio: unset;
  }

  .post-card .thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(68vw, 300px);
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 480px) {
  .article-cover {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .highlight-grid {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.article-body img,
.article-body video {
  width: auto;
  max-width: 100%;
  height: auto;
}

.article-body iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 12rem;
  border: 0;
}

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

.article-body figure {
  margin: 1rem 0;
  max-width: 100%;
}

.article-body figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.article-body {
  font-size: 1.05rem;
  max-width: 720px;
}

.article-body p {
  margin: 0 0 1rem;
}

.post-actions {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  max-width: 720px;
}

.post-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.post-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.post-like-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.post-like-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.post-like-btn.is-liked {
  background: rgba(22, 163, 74, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.post-like-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.post-share-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-right: 0.15rem;
}

.post-share-btns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.post-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.45rem;
  border-radius: 6px;
  font-size: 0;
  line-height: 0;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.post-share-link:hover {
  filter: brightness(1.1);
  text-decoration: none;
  transform: translateY(-1px);
}

.post-share-link .site-social__ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  display: block;
}

.post-share-x {
  background: #0f1419;
}

.post-share-fb {
  background: #1877f2;
}

.post-share-wa {
  background: #25d366;
}

.post-share-tg {
  background: #229ed9;
}

.post-share-li {
  background: #0a66c2;
}

.post-copy-link {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px dashed var(--border);
  background: transparent;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text);
}

.post-copy-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.post-copy-msg {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--accent);
}

.sidebar-widget {
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
}

.sidebar-widget h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.35rem;
}

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

.sidebar-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.sidebar-list li:last-child {
  border-bottom: 0;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.88rem;
}

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

.site-footer {
  background: #0e0e14;
  color: #b4b4c0;
  margin-top: 3rem;
  padding: 2.5rem 1.25rem;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer a {
  color: #cfd0dc;
}

.site-footer a:hover {
  color: #fff;
}

.footer-html {
  line-height: 1.55;
}

.footer-html p:first-child {
  margin-top: 0;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
  text-align: center;
}

.footer-bottom__copy {
  flex: 1 1 12rem;
}

.footer-bottom__legal {
  flex: 1 1 12rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

.footer-bottom__sep {
  opacity: 0.55;
  user-select: none;
}

.footer-cookie-settings {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: inherit;
  color: #cfd0dc;
  text-decoration: underline;
  cursor: pointer;
}

.footer-cookie-settings:hover {
  color: #fff;
}

/* Çerez bandı */
.cookie-consent {
  --cookie-bg: #0f172a;
  --cookie-fg: #f1f5f9;
  --cookie-muted: #94a3b8;
}

.cookie-bar {
  position: fixed;
  z-index: 1080;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  background: var(--cookie-bg);
  color: var(--cookie-fg);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.35);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.cookie-bar--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-bar__text {
  flex: 1 1 16rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--cookie-muted);
}

.cookie-bar__text a {
  color: #e2e8f0;
  text-decoration: underline;
}

.cookie-bar__text a:hover {
  color: #fff;
}

.cookie-bar__text p:first-child {
  margin-top: 0;
}

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

.cookie-bar__actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.cookie-bar__btn {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: var(--shadow-lg, 0 22px 60px rgba(15, 23, 42, 0.2));
}

.cookie-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted, #64748b);
}

.cookie-modal__title {
  margin: 0 1.75rem 0.5rem 0;
  font-size: 1.2rem;
}

.cookie-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted, #64748b);
  line-height: 1.5;
}

.cookie-modal__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.cookie-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.cookie-modal__row:last-child {
  border-bottom: 0;
}

.cookie-modal__hint {
  display: block;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
  margin-top: 0.2rem;
}

.cookie-modal__more {
  margin: 0 0 1rem;
  font-size: 0.86rem;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.cookie-modal-open {
  overflow: hidden;
}

.layout-narrow.legal-doc-wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.site-main:has(.contact-page) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max);
  min-height: min(72vh, calc(100dvh - 11rem));
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 0.25rem;
}

.contact-page__shell {
  width: 100%;
}

.contact-page__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 18%, transparent);
}

.contact-page__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.contact-page__title {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text);
}

.contact-page__lead {
  margin: 0.65rem 0 0;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-card {
  position: relative;
  width: 100%;
  padding: 1.85rem 1.35rem 1.95rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.contact-flash {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.contact-flash__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.contact-flash--ok {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-flash--ok .contact-flash__icon {
  background: #16a34a;
  color: #fff;
}

.contact-flash--err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-flash--err .contact-flash__icon {
  background: #dc2626;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}

@media (min-width: 520px) {
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-field {
  margin-bottom: 1rem;
}

.contact-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #94a3b8;
}

.contact-field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.contact-field input:hover,
.contact-field textarea:hover {
  border-color: #cbd5e1;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.contact-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
  padding-top: 0.35rem;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  min-width: 12.5rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}

.contact-form__submit:active {
  transform: translateY(0);
}

.contact-form__submit-icon {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.contact-form__submit:hover .contact-form__submit-icon {
  transform: translateX(3px);
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-req {
  color: var(--accent-dark);
}

@media (min-width: 520px) {
  .contact-page {
    max-width: 30rem;
  }

  .contact-card {
    padding: 2rem 1.75rem 2.15rem;
  }
}

@media (min-width: 640px) {
  .site-main:has(.contact-page) {
    min-height: min(68vh, calc(100dvh - 10rem));
  }

  .contact-page__head {
    margin-bottom: 1.75rem;
  }
}

.legal-doc__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.legal-doc__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.legal-doc__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.legal-doc__body {
  line-height: 1.65;
  font-size: 0.95rem;
}

.legal-doc__lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
}

.legal-doc__toc {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.legal-doc__toc-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-doc__toc ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.88rem;
}

.legal-doc__toc li {
  margin-bottom: 0.35rem;
}

.legal-doc__toc a {
  font-weight: 600;
}

.legal-doc__body h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-doc__body h2[id],
.legal-doc__body h3[id] {
  scroll-margin-top: 5.5rem;
}

.legal-doc__body h2:first-of-type {
  margin-top: 0.75rem;
}

.legal-doc__body h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.legal-doc__body p {
  margin: 0 0 0.85rem;
}

.legal-doc__body ul,
.legal-doc__body ol {
  margin: 0 0 0.9rem;
  padding-left: 1.35rem;
}

.legal-doc__body li {
  margin-bottom: 0.35rem;
}

.legal-doc__body blockquote {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(22, 163, 74, 0.06);
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-doc__body blockquote p:last-child {
  margin-bottom: 0;
}

.legal-doc__table-wrap {
  margin: 0 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.legal-doc__body table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.legal-doc__body th,
.legal-doc__body td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.legal-doc__body tr:last-child th,
.legal-doc__body tr:last-child td {
  border-bottom: none;
}

.legal-doc__body th {
  background: #f1f5f9;
  font-weight: 700;
  white-space: nowrap;
}

.legal-doc__body code {
  font-size: 0.82em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: #f1f5f9;
}

.legal-doc__muted {
  margin-top: 1.25rem;
  color: var(--muted);
}

.legal-doc__foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.error-page {
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: 4rem;
  margin: 0;
  color: var(--accent);
}

/* Genel butonlar (ön yüz, 404) — yönetimde .admin-body ile ezilir */
.btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-danger {
  background: #c1121f;
  color: #fff;
}

.admin-body {
  --admin-bg: #f1f5f9;
  --admin-bg-mid: #e8eef7;
  --admin-surface: #ffffff;
  --admin-surface-2: #f8fafc;
  --admin-line: rgba(15, 23, 42, 0.08);
  --admin-line-strong: rgba(15, 23, 42, 0.12);
  --admin-ink: #0f172a;
  --admin-muted: #64748b;
  --admin-accent: #4f46e5;
  --admin-accent-hover: #4338ca;
  --admin-accent-soft: rgba(79, 70, 229, 0.1);
  --admin-success: #059669;
  --admin-success-bg: #ecfdf5;
  --admin-danger: #dc2626;
  --admin-danger-bg: #fef2f2;
  --admin-radius: 14px;
  --admin-radius-sm: 10px;
  --admin-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --admin-shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  --admin-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  margin: 0;
  min-height: 100vh;
  font-family: var(--admin-font);
  color: var(--admin-ink);
  background-color: var(--admin-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(79, 70, 229, 0.09), transparent 55%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(14, 165, 233, 0.06), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.admin-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--admin-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.admin-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0.85rem 0.35rem;
  box-sizing: border-box;
}

.admin-brand {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--admin-ink);
  text-decoration: none;
}

.admin-brand:hover {
  color: var(--admin-accent);
  text-decoration: none;
}

.admin-brand span {
  font-weight: 600;
  color: var(--admin-accent);
  margin-left: 0.15rem;
}

.admin-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
}

.admin-nav__link {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--admin-muted);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.admin-nav__link:hover {
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  text-decoration: none;
}

.admin-nav__link--muted {
  font-weight: 500;
  opacity: 0.9;
}

.admin-nav__sep {
  width: 1px;
  height: 1.15rem;
  margin: 0 0.2rem;
  background: var(--admin-line-strong);
  align-self: center;
}

.admin-nav__logout {
  margin: 0;
  padding: 0;
  display: inline;
}

.admin-nav__btn-out {
  margin-left: 0.15rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--admin-line-strong);
  background: var(--admin-surface);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--admin-muted);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.admin-nav__btn-out:hover {
  border-color: var(--admin-accent);
  color: var(--admin-accent);
  background: var(--admin-accent-soft);
}

.admin-main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  box-sizing: border-box;
}

.admin-main--auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.admin-flash {
  margin-bottom: 1.35rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--admin-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--admin-line);
  border-left-width: 4px;
  box-shadow: var(--admin-shadow);
}

.admin-flash--ok {
  background: var(--admin-success-bg);
  border-left-color: var(--admin-success);
  color: #065f46;
}

.admin-flash--err {
  background: var(--admin-danger-bg);
  border-left-color: var(--admin-danger);
  color: #991b1b;
}

.admin-panel {
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  padding: 1.65rem 1.65rem 1.5rem;
  box-shadow: var(--admin-shadow);
}

.admin-panel--form {
  max-width: 720px;
}

.admin-panel--post-form {
  max-width: 920px;
}

.admin-body .post-form-body {
  min-height: 240px;
}

.admin-body .post-form-excerpt {
  min-height: 120px;
}

.featured-dropzone__plate {
  position: relative;
  min-height: 12.5rem;
  border-radius: var(--admin-radius-sm);
  border: 2px dashed var(--admin-line-strong);
  background: var(--admin-surface-2);
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.featured-dropzone.is-dragover .featured-dropzone__plate {
  border-color: var(--admin-accent);
  background: rgba(79, 70, 229, 0.04);
  box-shadow: 0 0 0 3px var(--admin-accent-soft);
}

.featured-dropzone__img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.featured-dropzone__img[hidden] {
  display: none !important;
}

.featured-dropzone__hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--admin-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  pointer-events: none;
  z-index: 1;
}

.featured-dropzone__hint-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 22rem;
}

.featured-dropzone__hint-body[hidden] {
  display: none !important;
}

.featured-dropzone__hint strong {
  color: var(--admin-ink);
  font-size: 0.9375rem;
}

.admin-body .form-grid .featured-dropzone__input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0;
  opacity: 0;
  cursor: pointer;
}

.featured-dropzone__actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.admin-req {
  color: var(--admin-danger);
  font-weight: 700;
  margin-left: 0.1rem;
}

.admin-panel__sub {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--admin-muted);
  line-height: 1.5;
}

.admin-panel--settings {
  max-width: 720px;
}

.admin-form--settings .admin-form__section-title {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0.35rem;
  padding: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--admin-ink);
  border-bottom: 1px solid var(--admin-line);
}

.admin-form--settings .admin-form__section-title:first-of-type {
  margin-top: 0;
}

.admin-color-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.35rem;
}

.admin-color-row input[type="color"] {
  width: 3rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  cursor: pointer;
  background: var(--admin-card);
}

.admin-color-code {
  font-size: 0.8125rem;
  color: var(--admin-muted);
}

.admin-form__hint {
  margin: -0.1rem 0 0.55rem;
  font-size: 0.8125rem;
  color: var(--admin-muted);
  line-height: 1.5;
}

.admin-form__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--admin-ink);
  cursor: pointer;
  margin: 0.35rem 0 0;
}

.form-grid__span-label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--admin-muted);
  margin: 1rem 0 0.35rem;
}

.settings-logo-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.settings-logo-preview img {
  max-height: 56px;
  width: auto;
  display: block;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-line);
  padding: 0.25rem;
  background: #fff;
}

.settings-logo-file {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--admin-muted);
}

.admin-textarea-code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Site ayarları — TinyMCE yüklenene kadar footer editör alanları */
textarea.site-settings-rich {
  min-height: 10rem;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.admin-panel__head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-panel__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.admin-panel__title--inline {
  font-size: 1.2rem;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-code-inline {
  font-size: 0.8125rem;
  word-break: break-all;
}

.admin-stats {
  list-style: none;
  margin: 0 0 1.65rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.admin-stats__item {
  padding: 1.15rem 1.2rem;
  border-radius: var(--admin-radius-sm);
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  box-shadow: var(--admin-shadow);
  position: relative;
  overflow: hidden;
}

.admin-stats__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--admin-accent), #818cf8);
  border-radius: 3px 0 0 3px;
}

.admin-stats__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-muted);
  margin-bottom: 0.4rem;
}

.admin-stats__value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--admin-ink);
}

.admin-stats__hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--admin-muted);
}

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

.admin-table-wrap {
  overflow-x: auto;
  margin: 0;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius-sm);
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--admin-line);
}

.admin-table th {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--admin-muted);
  background: var(--admin-surface-2);
}

.admin-table tbody tr {
  transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
  background: rgba(79, 70, 229, 0.03);
}

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

.admin-body .badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.admin-body .badge-pub {
  background: var(--admin-success-bg);
  color: #047857;
}

.admin-body .badge-draft {
  background: #f1f5f9;
  color: #475569;
}

.admin-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.admin-body .btn:active {
  transform: scale(0.98);
}

.admin-body .btn-primary {
  background: linear-gradient(135deg, var(--admin-accent) 0%, #6366f1 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.admin-body .btn-primary:hover {
  background: linear-gradient(135deg, var(--admin-accent-hover) 0%, #4f46e5 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.admin-body .btn-ghost {
  background: var(--admin-surface);
  color: var(--admin-ink);
  border: 1px solid var(--admin-line-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-body .btn-ghost:hover {
  border-color: var(--admin-accent);
  color: var(--admin-accent);
  background: var(--admin-accent-soft);
  text-decoration: none;
}

.admin-body .btn-danger {
  background: transparent;
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.admin-body .btn-danger:hover {
  background: var(--admin-danger-bg);
  border-color: var(--admin-danger);
  color: #991b1b;
  text-decoration: none;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--admin-line);
}

.admin-body .form-grid label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--admin-muted);
  margin: 1rem 0 0.4rem;
}

.admin-body .form-grid label:first-of-type,
.admin-body .admin-form.form-grid > label:first-of-type {
  margin-top: 0;
}

.admin-body .form-grid label:has(input[type="checkbox"]) {
  color: var(--admin-ink);
  font-weight: 600;
  margin-top: 0.85rem;
}

.admin-body .form-grid input[type="text"],
.admin-body .form-grid input[type="email"],
.admin-body .form-grid input[type="password"],
.admin-body .form-grid input[type="url"],
.admin-body .form-grid input[type="number"],
.admin-body .form-grid input[type="file"],
.admin-body .form-grid select,
.admin-body .form-grid textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--admin-line-strong);
  border-radius: var(--admin-radius-sm);
  font: inherit;
  font-size: 0.9375rem;
  background: var(--admin-surface);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.admin-body .form-grid input:focus,
.admin-body .form-grid select:focus,
.admin-body .form-grid textarea:focus {
  outline: none;
  border-color: var(--admin-accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--admin-accent-soft);
}

.admin-body .form-grid textarea {
  min-height: 200px;
  line-height: 1.5;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.row-actions form {
  display: inline;
}

.admin-login {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem 2.15rem;
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  box-shadow: var(--admin-shadow-lg);
  position: relative;
  overflow: hidden;
}

.admin-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--admin-accent), #818cf8, #22d3ee);
}

.admin-login__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--admin-accent);
}

.admin-login__title {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.admin-login__lead {
  margin: 0 0 1.65rem;
  font-size: 0.9rem;
  color: var(--admin-muted);
  line-height: 1.5;
}

.admin-login__hint {
  margin: 1.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--admin-muted);
}

.admin-report-intro {
  margin-bottom: 1.25rem;
}

.admin-report-lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--admin-muted);
  line-height: 1.5;
  max-width: 52rem;
}

.admin-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius-sm);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--admin-shadow);
}

.admin-stat-card__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-muted);
  margin-bottom: 0.4rem;
}

.admin-stat-card__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.admin-stat-card__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--admin-muted);
  line-height: 1.35;
}

.admin-panel--report {
  margin-bottom: 1.25rem;
}

.admin-report-h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.admin-report-muted {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--admin-muted);
  line-height: 1.45;
}

.admin-report-muted code {
  font-size: 0.8em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--admin-surface-2);
  border: 1px solid var(--admin-line);
}

.admin-report-type-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 0.9rem;
}

.admin-report-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--admin-line);
}

.admin-report-tools__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-muted);
  margin-right: 0.25rem;
}

.admin-report-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.admin-report-section-head .admin-report-h2 {
  margin-bottom: 0;
}

.admin-body .btn--small {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
}

.admin-chart {
  margin-top: 0.5rem;
}

.admin-chart__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: var(--admin-muted);
}

.admin-chart__max strong {
  color: var(--admin-ink);
  font-weight: 600;
}

.admin-chart__key {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-chart__swatch {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(180deg, #3d5a80 0%, #1a1a1a 100%);
  font-style: normal;
}

.admin-chart__plot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  min-height: 168px;
  padding: 0.25rem 0 0;
  border-bottom: 1px solid var(--admin-line);
}

.admin-chart__col {
  flex: 1;
  min-width: 0;
  max-width: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.admin-chart__bar-wrap {
  width: 100%;
  max-width: 1.75rem;
  min-height: 152px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.admin-chart__bar {
  width: 100%;
  min-height: 6px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #4a6fa5 0%, #1d1d1d 100%);
  transition: opacity 0.15s ease;
}

.admin-chart__bar-wrap:hover .admin-chart__bar {
  opacity: 0.88;
}

.admin-chart__tick {
  font-size: 0.62rem;
  line-height: 1.25;
  text-align: center;
  color: var(--admin-muted);
  max-width: 100%;
  word-break: break-all;
}

.admin-chart__tick-num {
  font-weight: 600;
  color: var(--admin-ink);
  font-size: 0.68rem;
}

.admin-table--compact th,
.admin-table--compact td {
  padding: 0.55rem 0.5rem;
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  .admin-header {
    padding: 0 0.65rem;
  }

  .admin-header__inner {
    padding: 0.7rem 0.15rem;
  }

  .admin-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-main {
    padding: 1.25rem 1rem 2rem;
  }

  .admin-chart__plot {
    gap: 2px;
  }

  .admin-chart__col {
    max-width: none;
  }

  .admin-chart__bar-wrap {
    max-width: 1.35rem;
    min-height: 132px;
  }
}
