.rehber {
  --rh-koyu: 10, 42, 87;
  --rh-koyu2: 6, 26, 56;
  display: flex;
  height: 100svh;
  min-height: 620px;
  padding: 116px 0 36px;
  background: #fff;
}

:root[data-renk="c"] .rehber {
  --rh-koyu: 29, 34, 40;
  --rh-koyu2: 17, 20, 24;
}

.rehber__kap {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 1180px;
  min-height: 0;
  margin: 0 auto;
  padding: 0 28px;
}

.rehber__bas {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.rehber__ust {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #B85309;
}

.rehber__baslik {
  margin: 4px 0 0;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #1D1D1F;
}

.rehber__baslik span {
  color: #6E6E73;
}

.rehber__tumu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: rgb(var(--rh-koyu));
}

.rehber__tumu i {
  font-size: 11px;
}

.rehber__ic {
  display: grid;
  flex: 1;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  min-height: 0;
  margin-top: 28px;
}

.rehber__etiket {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #B85309;
}

.rehber__one {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 32px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: rgb(var(--rh-koyu));
}

.rehber__one img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.16, 1, .3, 1);
}

.rehber__one:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(var(--rh-koyu2), 0.92));
}

.rehber__one > :not(img) {
  position: relative;
  z-index: 1;
}

.rehber__one .rehber__etiket {
  color: #FFB27A;
}

.rehber__one h3 {
  margin: 8px 0 0;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
}

.rehber__one time {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.rehber__one:hover {
  color: #fff;
}

.rehber__one:hover img,
.rehber__kucuk:hover img {
  transform: scale(1.04);
}

.rehber__sag {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.rehber__kucuk {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
  min-height: 0;
  padding: 12px;
  border-radius: 20px;
  color: #1D1D1F;
  background: #F5F5F7;
}

.rehber__kucuk img {
  width: 42%;
  height: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.8s cubic-bezier(.16, 1, .3, 1);
}

.rehber__kucuk h3 {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1D1D1F;
}

.rehber__konular {
  padding: 18px;
  border-radius: 20px;
  background: #F5F5F7;
}

.rehber__konular b {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #1D1D1F;
}

.rehber__konular ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rehber__konular li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #1D1D1F;
  background: #fff;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.rehber__konular li a:hover {
  background: var(--theme4);
  color: #fff;
}

.rehber__konular li i {
  font-size: 12px;
  color: #F57C1F;
}

.rehber a:focus-visible {
  outline: 2px solid #F57C1F;
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .rehber {
    padding-top: 100px;
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .rehber {
    min-height: 600px;
    padding-top: 96px;
    padding-bottom: 20px;
  }

  .rehber__baslik {
    font-size: clamp(30px, 3.4vw, 44px);
  }

  .rehber__ic {
    margin-top: 18px;
  }

  .rehber__konular {
    padding: 14px;
  }

  .rehber__konular li a {
    padding: 6px 10px;
  }
}

@media (max-width: 991px) {
  .rehber__ic {
    grid-template-columns: 1fr;
    grid-template-rows: 1.3fr 1fr;
  }

  .rehber__sag {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
  }

  .rehber__konular {
    grid-column: span 2;
  }

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

  .rehber__kucuk img {
    width: 100%;
    max-height: 120px;
  }
}

@media (max-width: 575px) {
  .rehber {
    padding: 86px 0 18px;
  }

  .rehber__kap {
    padding: 0 16px;
  }

  .rehber__baslik {
    font-size: 30px;
  }

  .rehber__tumu {
    display: none;
  }

  .rehber__ic {
    grid-template-rows: 1.2fr auto;
    gap: 12px;
    margin-top: 16px;
  }

  .rehber__one {
    padding: 20px;
    border-radius: 22px;
  }

  .rehber__one h3 {
    font-size: 19px;
  }

  .rehber__sag {
    display: flex;
    gap: 10px;
  }

  .rehber__kucuk {
    flex: none;
    flex-direction: row;
    align-items: center;
    padding: 10px;
  }

  .rehber__kucuk img {
    flex: none;
    width: 84px;
    height: 64px;
  }

  .rehber__kucuk h3 {
    font-size: 13.5px;
  }

  .rehber__kucuk .rehber__etiket {
    font-size: 11.5px;
  }

  .rehber__konular {
    display: none;
  }
}

@media (max-width: 575px) and (max-height: 700px) {
  .rehber__kucuk:last-of-type {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rehber__one img,
  .rehber__kucuk img {
    transition: none;
  }
}
