/* Anasayfa 2 — 3D kurum logo carousel (kuvvetlogolari / coding.stella tarzı) */

.a2-body {
  --a2-ink: #f4f7fb;
  --a2-muted: rgba(244, 247, 251, 0.72);
  --a2-accent: #22d3ee;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 80%, rgba(14, 165, 233, 0.1), transparent 50%),
    linear-gradient(160deg, #0a1018 0%, #121a24 45%, #0c1219 100%);
  color: var(--a2-ink);
}

.a2-stage {
  position: relative;
  isolation: isolate;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 140px);
  padding: 1.25rem 1.25rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.a2-watermark {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  z-index: 0;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  max-width: 72%;
  overflow: hidden;
  text-overflow: clip;
  text-align: center;
  transition: none;
}

.a2-carousel {
  position: relative;
  z-index: 1;
  height: clamp(280px, 48vh, 440px);
  perspective: 1400px;
  margin: 0.5rem 0 1.5rem;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  contain: layout paint;
}

.a2-carousel.is-dragging {
  cursor: grabbing;
}

.a2-carousel.is-dragging .a2-card {
  transition: none;
}

.a2-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.a2-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(300px, 62vw);
  height: min(300px, 62vw);
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: grab;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.a2-carousel.is-dragging .a2-card {
  cursor: grabbing;
}

.a2-card:focus-visible .a2-logo-wrap {
  outline: 2px solid rgba(34, 211, 238, 0.7);
  outline-offset: 6px;
}

.a2-logo-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  transform: translateZ(0);
}

.a2-card img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  background: transparent;
  /* Tek gölge: çoklu drop-shadow GPU’yu yorar, sayfa kasar */
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.48));
  user-select: none;
  pointer-events: none;
  transform: translateZ(40px);
  -webkit-user-drag: none;
}

.a2-card.is-center img {
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  transform: translateZ(56px);
}

/* Dikey arma: ortak kare kutu ölçeğini diğer logolarda değiştirmez */
.a2-card[data-id="hgk"] img {
  width: auto;
  height: 86%;
  max-width: 68%;
}

.a2-card:not(.is-center) {
  filter: none;
  opacity: inherit;
}

.a2-card.is-far {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.a2-card:not(.is-center) img {
  filter: none;
}

@keyframes a2-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.a2-hud {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

.a2-hud-left {
  flex: 1 1 280px;
  max-width: 540px;
}

.a2-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a2-accent);
}

.a2-title {
  margin: 0 0 0.55rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  font-weight: 400;
}

.a2-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.a2-title-link:hover,
.a2-title-link:focus-visible {
  color: var(--a2-accent, #22d3ee);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
  outline: none;
}

.a2-desc {
  margin: 0 0 1rem;
  color: var(--a2-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 46ch;
}

.a2-nav {
  display: flex;
  gap: 0.65rem;
}

.a2-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.a2-nav-btn:hover {
  border-color: var(--a2-accent);
  background: rgba(34, 211, 238, 0.12);
}

.a2-nav-btn:active {
  transform: scale(0.96);
}

.a2-hud-right {
  flex: 0 0 auto;
  text-align: right;
}

.a2-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.a2-cta:hover {
  color: var(--a2-accent);
  border-color: var(--a2-accent);
  gap: 0.7rem;
}

.a2-hint {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--a2-muted);
}

.a2-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.a2-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.a2-dot.is-on {
  width: 22px;
  background: var(--a2-accent);
}

.a2-alt-link {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
}

.a2-alt-link a {
  color: var(--a2-accent);
}

@media (max-width: 720px) {
  .a2-stage {
    min-height: calc(100vh - 120px);
    padding: 0.75rem 1rem 1.5rem;
  }

  .a2-carousel {
    height: min(300px, 46vh);
  }

  .a2-hud {
    flex-direction: column;
    align-items: flex-start;
  }

  .a2-hud-right {
    text-align: left;
    width: 100%;
  }

  .a2-watermark {
    top: 34%;
    font-size: clamp(3.2rem, 22vw, 7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .a2-logo-wrap,
  .a2-card {
    animation: none !important;
    transition: none !important;
  }
}

/* Anasayfa (index) içine gömülü kurum carousel */
.home-hero--logos {
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
  border: 0;
  background: transparent;
}

.a2-stage--home {
  --a2-ink: #f4f7fb;
  --a2-muted: rgba(244, 247, 251, 0.72);
  --a2-accent: #22d3ee;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 1.75rem 1.25rem 1.35rem;
  border-radius: 16px;
  overflow: hidden;
  color: var(--a2-ink);
  background:
    radial-gradient(900px 480px at 50% -20%, rgba(34, 211, 238, 0.16), transparent 55%),
    linear-gradient(160deg, #0a1018 0%, #121a24 50%, #0c1219 100%);
  contain: layout style;
}

/* Ekranda değilken / düşük performans: filtreleri kapat */
.a2-stage--home.is-offscreen .a2-card img,
.a2-stage--home.is-lite .a2-card img {
  filter: none !important;
}

.a2-stage--home .a2-carousel {
  height: clamp(320px, 48vh, 460px);
  margin: 0.35rem 0 1.15rem;
}

.a2-stage--home .a2-watermark {
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  top: 34%;
  max-width: 58%;
  letter-spacing: 0.01em;
}

.home-hero--logos .forum-actions,
.forum-hero.home-hero--logos > .forum-actions {
  margin-top: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: 100%;
  padding: 0 0.35rem;
  box-sizing: border-box;
}

.home-hero--logos .forum-actions .btn-ghost,
.forum-hero.home-hero--logos > .forum-actions .btn-ghost {
  min-width: 8.75rem;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.42);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.12), rgba(6, 8, 12, 0.55));
  color: #e0f2fe;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.home-hero--logos .forum-actions .btn-ghost:hover,
.forum-hero.home-hero--logos > .forum-actions .btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.72);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.2), rgba(6, 8, 12, 0.62));
  transform: translateY(-1px);
}

/* Logolar eski genişlikte (max 1100); sıralama kompakt, üst hizada */
.home-hero-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1100px);
  justify-content: center;
  align-items: start;
  gap: 0.65rem;
  width: min(96%, 1320px);
  margin: 0 auto 1.25rem;
  box-sizing: border-box;
  overflow: visible;
}

.home-left-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 200px;
  min-width: 0;
  align-self: start;
}

.home-side-card {
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
    linear-gradient(160deg, #0a1018 0%, #121a24 55%, #0c1219 100%);
  overflow: hidden;
  padding: 0.55rem 0.6rem 0.65rem;
}

.home-side-card h2 {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #7dd3fc;
}

.home-stat-list {
  margin: 0;
  display: grid;
  gap: 0.28rem;
}

.home-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.22rem 0.12rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-stat-row:last-child {
  border-bottom: 0;
}

.home-stat-row dt {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(244, 247, 251, 0.68);
  font-weight: 600;
}

.home-stat-row dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: #f4f7fb;
  text-align: right;
  min-width: 0;
}

.home-stat-user,
.home-stat-row .author-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: #7dd3fc;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  max-width: 7.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-stat-user:hover .author-name,
.home-stat-row .author-link:hover .author-name {
  text-decoration: underline;
}

/* Şehitlerimiz — dalgalanan bayrak, dış arşive bağlantı */
.home-martyrs-card {
  padding: 0;
  border-color: rgba(227, 10, 23, 0.32);
  background: #0a1018;
}

.home-martyrs-link {
  position: relative;
  display: block;
  min-height: 4.35rem;
  padding: 0.55rem 0.45rem 0.6rem;
  border-radius: 11px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.home-martyrs-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-martyrs-flag {
  position: absolute;
  inset: -58% -28% -48% -18%;
  z-index: 0;
  pointer-events: none;
  perspective: 560px;
  perspective-origin: 8% 46%;
  transform-style: preserve-3d;
}

.home-martyrs-flag-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.94;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Crect width='120' height='80' fill='%23e30a17'/%3E%3Ccircle cx='46' cy='40' r='15' fill='%23fff'/%3E%3Ccircle cx='51' cy='40' r='12' fill='%23e30a17'/%3E%3Cpolygon fill='%23fff' points='72,40 74.2,46.8 81.4,46.8 75.6,51 77.8,57.8 72,53.6 66.2,57.8 68.4,51 62.6,46.8 69.8,46.8'/%3E%3C/svg%3E");
  transform-origin: 0% 48%;
  backface-visibility: hidden;
  will-change: transform, filter;
}

.home-martyrs-flag-layer--1 {
  filter: url(#home-martyrs-flag-displace);
  animation: home-martyrs-flutter-main 3.6s ease-in-out infinite;
}

.home-martyrs-flag-layer--2 {
  opacity: 0.42;
  filter: blur(0.6px);
  animation: home-martyrs-flutter-mid 3.6s ease-in-out infinite 0.18s;
}

.home-martyrs-flag-layer--3 {
  opacity: 0.28;
  filter: blur(1.4px);
  animation: home-martyrs-flutter-far 3.6s ease-in-out infinite 0.36s;
}

.home-martyrs-flag-shade {
  position: absolute;
  inset: 0;
  transform-origin: 0% 48%;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.08) 22%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(0, 0, 0, 0.18) 72%,
    rgba(0, 0, 0, 0.35) 100%
  );
  mix-blend-mode: multiply;
  opacity: 0.55;
  animation: home-martyrs-shade-wave 3.6s ease-in-out infinite 0.12s;
  pointer-events: none;
}

@keyframes home-martyrs-flutter-main {
  0%,
  100% {
    transform: rotateY(0deg) rotateZ(0deg) skewX(0deg) scale(1.14);
  }
  12% {
    transform: rotateY(7deg) rotateZ(0.35deg) skewX(1.8deg) scale(1.155);
  }
  28% {
    transform: rotateY(11deg) rotateZ(-0.2deg) skewX(2.4deg) scale(1.16);
  }
  44% {
    transform: rotateY(4deg) rotateZ(0.5deg) skewX(0.6deg) scale(1.148);
  }
  58% {
    transform: rotateY(-5deg) rotateZ(-0.45deg) skewX(-1.2deg) scale(1.152);
  }
  72% {
    transform: rotateY(9deg) rotateZ(0.25deg) skewX(2deg) scale(1.158);
  }
  86% {
    transform: rotateY(2deg) rotateZ(-0.15deg) skewX(0.4deg) scale(1.145);
  }
}

@keyframes home-martyrs-flutter-mid {
  0%,
  100% {
    transform: rotateY(-2deg) rotateZ(0deg) skewX(-0.5deg) scale(1.12) translateZ(-2px);
  }
  20% {
    transform: rotateY(9deg) rotateZ(0.5deg) skewX(2.2deg) scale(1.135) translateZ(-1px);
  }
  45% {
    transform: rotateY(13deg) rotateZ(-0.3deg) skewX(3deg) scale(1.14) translateZ(0);
  }
  65% {
    transform: rotateY(3deg) rotateZ(0.4deg) skewX(0.8deg) scale(1.125) translateZ(-2px);
  }
  82% {
    transform: rotateY(-6deg) rotateZ(-0.5deg) skewX(-1.5deg) scale(1.13) translateZ(-3px);
  }
}

@keyframes home-martyrs-flutter-far {
  0%,
  100% {
    transform: rotateY(3deg) rotateZ(0deg) skewX(1deg) scale(1.1) translateZ(-6px);
  }
  25% {
    transform: rotateY(14deg) rotateZ(0.6deg) skewX(3.5deg) scale(1.12) translateZ(-4px);
  }
  50% {
    transform: rotateY(6deg) rotateZ(-0.4deg) skewX(1.2deg) scale(1.115) translateZ(-7px);
  }
  75% {
    transform: rotateY(-4deg) rotateZ(0.3deg) skewX(-2deg) scale(1.108) translateZ(-5px);
  }
}

@keyframes home-martyrs-shade-wave {
  0%,
  100% {
    transform: rotateY(0deg) skewX(0deg) scale(1.14);
    opacity: 0.5;
  }
  30% {
    transform: rotateY(8deg) skewX(2deg) scale(1.155);
    opacity: 0.62;
  }
  55% {
    transform: rotateY(5deg) skewX(1deg) scale(1.15);
    opacity: 0.55;
  }
  78% {
    transform: rotateY(-4deg) skewX(-1.2deg) scale(1.148);
    opacity: 0.58;
  }
}

.home-martyrs-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.35) 0%,
    rgba(8, 12, 18, 0.55) 45%,
    rgba(8, 12, 18, 0.72) 100%
  );
  pointer-events: none;
}

.home-martyrs-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-height: 3.2rem;
  text-align: center;
}

.home-martyrs-title {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(227, 10, 23, 0.35);
  line-height: 1.1;
}

.home-martyrs-hint {
  position: relative;
  display: block;
  min-height: 1.15em;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(244, 247, 251, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.home-martyrs-hint-item {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(5px);
  animation: home-martyrs-hint-cycle 8s ease-in-out infinite;
}

.home-martyrs-hint-item:nth-child(1) {
  animation-delay: 0s;
}

.home-martyrs-hint-item:nth-child(2) {
  animation-delay: 4s;
}

@keyframes home-martyrs-hint-cycle {
  0%,
  4% {
    opacity: 0;
    transform: translateY(5px);
  }
  7%,
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  33%,
  100% {
    opacity: 0;
    transform: translateY(-5px);
  }
}

.home-martyrs-link:hover .home-martyrs-title {
  color: #fff8f0;
}

.home-martyrs-link:hover .home-martyrs-overlay {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.25) 0%,
    rgba(8, 12, 18, 0.45) 50%,
    rgba(8, 12, 18, 0.65) 100%
  );
}

.home-martyrs-link:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.75);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .home-martyrs-flag-layer--1,
  .home-martyrs-flag-layer--2,
  .home-martyrs-flag-layer--3,
  .home-martyrs-flag-shade {
    animation: none;
    transform: scale(1.1);
  }

  .home-martyrs-flag-layer--1 {
    filter: none;
  }

  .home-martyrs-hint-item {
    animation: none !important;
    opacity: 0 !important;
    transform: none !important;
  }

  .home-martyrs-hint-item:first-child {
    opacity: 1 !important;
    position: relative;
  }
}

.home-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.home-share-btn {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: rgba(8, 12, 18, 0.45);
  color: #e8d5a3;
  text-decoration: none;
  cursor: pointer;
}

.home-share-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

.home-share-btn:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.1);
}

.home-hero-layout .home-hero--logos {
  width: 100%;
  max-width: 1100px;
  margin: 0;
  min-width: 0;
}

.rep-leaders-rail {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: fit-content;
  max-height: none;
  align-self: start;
  margin-top: 0;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
    linear-gradient(160deg, #0a1018 0%, #121a24 55%, #0c1219 100%);
  overflow: hidden;
  z-index: 3;
}

.rep-leaders-rail-head {
  padding: 0.5rem 0.5rem 0.2rem;
}

.rep-leaders-rail-head h2 {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #7dd3fc;
}

.rep-leaders-rail-head p {
  margin: 0.18rem 0 0;
  font-size: 0.58rem;
  line-height: 1.25;
  color: rgba(244, 247, 251, 0.68);
}

.rep-leaders-rail .rep-leaders-panel {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0.3rem 0.35rem;
  overflow: hidden;
}

.rep-leaders-rail .rep-lead-row {
  grid-template-columns: 1.35rem minmax(0, 1fr) auto;
  gap: 0.2rem 0.28rem;
  padding: 0.18rem 0.22rem;
}

.rep-leaders-rail .rep-lead-row.is-more {
  grid-template-columns: 1.35rem 1fr;
  opacity: 0.55;
  pointer-events: none;
}

.rep-leaders-rail .rep-lead-more {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 251, 0.7);
  line-height: 1;
}

.rep-leaders-rail .rep-lead-rank {
  font-size: 0.68rem;
}

.rep-leaders-rail .rep-lead-user {
  gap: 0.28rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.rep-leaders-rail .pf-avatar,
.rep-leaders-rail .pf-xs {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.rep-leaders-rail .rep-lead-name {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.66rem;
  font-weight: 400 !important;
  letter-spacing: normal;
  color: rgba(244, 247, 251, 0.92);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  -webkit-text-fill-color: currentColor;
  background: none !important;
  animation: none !important;
}

.rep-leaders-rail .rep-lead-meta {
  font-size: 0.6rem;
}

.rep-leaders-rail .rep-lead-you {
  margin: 0.1rem 0.35rem 0.25rem;
  padding-top: 0.25rem;
  font-size: 0.6rem;
}

.rep-leaders-rail .forum-empty {
  margin: 0.35rem 0.5rem 0.5rem;
  font-size: 0.66rem;
}

/* Çok dar ekranda (ikisi yan yana sığmazsa) sıralama alta */
@media (max-width: 1279px) {
  .home-hero-layout {
    display: flex;
    flex-direction: column;
    width: min(94%, 1100px);
  }

  .home-left-stack,
  .rep-leaders-rail {
    width: 100%;
    max-height: none;
    margin: 0;
    order: 2;
  }

  .home-hero-layout .home-hero--logos {
    order: 1;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .a2-stage--home {
    padding: 1.25rem 0.85rem 1rem;
    border-radius: 12px;
  }

  .a2-stage--home .a2-carousel {
    height: min(340px, 52vh);
  }

  .a2-stage--home .a2-watermark {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
    max-width: 70%;
  }
}

.popup-enable-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-weight: 700;
}

.home-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.home-popup[hidden] {
  display: none;
}

.home-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 16, 0.72);
}

.home-popup-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background:
    radial-gradient(420px 180px at 10% 0%, rgba(201, 169, 98, 0.16), transparent 60%),
    #141a22;
  color: #f4f7fb;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.home-popup-card h2 {
  margin: 0 1.5rem 0.65rem 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.45rem;
  color: #dbbc74;
}

.home-popup-card p {
  margin: 0 0 1rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.home-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.home-popup-ok {
  width: 100%;
}

.home-topic-gate-card p {
  text-align: justify;
  text-align-last: start;
  line-height: 1.55;
}

.home-topic-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.home-topic-gate-actions .btn-submit,
.home-topic-gate-actions .btn-primary {
  flex: 1 1 8.5rem;
  text-align: center;
  margin: 0;
}

