/* Öne çıkan ilanlar. Seçiciler .feat-agencies altında kalır. */

.feat-agencies[hidden] {
  display: none !important;
}

body.page-home .section.feat-agencies {
  padding-top: 32px;
}

.feat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 20px;
}

.feat-agencies .feat-intro {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 36rem;
}

.feat-agencies .feat-intro .feat-kicker {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: #cba43d;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.feat-agencies .feat-intro h2 {
  margin: 0;
  color: #111827;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(2.125rem, 0.45vw + 1.85rem, 2.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.feat-agencies .feat-intro p:not(.feat-kicker) {
  max-width: 34rem;
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.feat-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.feat-nav {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.feat-nav[hidden] {
  display: none !important;
}

.feat-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #101828;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
  cursor: pointer;
}

.feat-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feat-arrow:hover:not(:disabled) {
  background: #f9fafb;
}

.feat-arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.feat-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.feat-arrow:focus-visible {
  outline: 2px solid var(--gold, #c6a046);
  outline-offset: 3px;
}

.feat-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 5px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f3f4f6;
}

.feat-tabs button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 36px;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #6b7280;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.feat-tabs button[aria-selected="true"] {
  border: 0;
  background: transparent;
  color: #111827;
  font-weight: 600;
  box-shadow: none;
}

.feat-tabs button:focus-visible {
  outline: 2px solid var(--gold, #c6a046);
  outline-offset: 3px;
}

.feat-tab-thumb {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 4px 10px -6px rgba(17, 24, 39, 0.16);
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), width 0.25s cubic-bezier(0.22, 1, 0.36, 1), height 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.feat-empty {
  margin: 8px 0 12px;
  padding: 36px 20px;
  border: 1px solid var(--line, #e7e5e4);
  border-radius: 22px;
  background: #fff;
  color: #111827;
  text-align: center;
}

.feat-empty[hidden],
.feat-agencies .feat-rail[hidden] {
  display: none !important;
}

.feat-empty strong,
.feat-empty span {
  display: block;
}

.feat-empty strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feat-empty span {
  max-width: 36rem;
  margin: 8px auto 0;
  color: #3f3f46;
  font-size: 0.95rem;
  line-height: 1.45;
}

.feat-rail {
  min-width: 0;
  container-type: inline-size;
}

.feat-agencies .h-row {
  --feat-card: min(100%, 22rem);
  --feat-gap: 18px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--feat-gap);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 1px 0 14px;
  margin-bottom: -14px;
  outline: none;
}

.feat-agencies .h-row::-webkit-scrollbar {
  display: none;
}

@container (min-width: 640px) {
  .feat-agencies .h-row {
    --feat-card: calc((100% - var(--feat-gap)) / 2);
  }
}

@container (min-width: 1080px) {
  .feat-agencies .h-row {
    --feat-gap: 20px;
    --feat-card: calc((100% - 3 * var(--feat-gap)) / 4);
  }
}

.feat-agencies .h-row:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.feat-card {
  display: flex;
  flex: 0 0 var(--feat-card);
  flex-direction: column;
  width: var(--feat-card);
  min-width: 0;
  scroll-snap-align: start;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  color: #101828;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 20px -8px rgba(16, 24, 40, 0.12);
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .feat-card:hover .feat-cover img {
    transform: scale(1.025);
  }
}

.feat-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #111827;
  overflow: hidden;
}

.feat-cover {
  position: absolute;
  inset: 0;
  display: block;
}

.feat-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s ease-in-out;
}

.feat-photo.is-empty {
  background:
    linear-gradient(145deg, #1f2937, #111827 60%);
}

.feat-glass {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 80%;
  min-width: 0;
  padding: 3px 12px 3px 3px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #101828;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .feat-glass {
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.feat-glass:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.95);
}

.feat-glass:focus-visible {
  outline: 2px solid #101828;
  outline-offset: 2px;
}

.feat-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.feat-body h3 {
  margin: 0;
  min-height: 2.7em;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.feat-body h3 a {
  color: #101828;
  text-decoration: none;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feat-body h3 a:hover {
  color: #000;
}

.feat-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #101828;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

img.feat-logo {
  object-fit: contain;
  padding: 3px;
}

.feat-glass strong {
  overflow: hidden;
  min-width: 0;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #101828;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .feat-agencies .feat-glass {
    gap: 0;
    max-width: 42px;
    padding-right: 3px;
    overflow: hidden;
    transition:
      max-width 0.6s ease-in-out,
      padding-right 0.6s ease-in-out,
      gap 0.6s ease-in-out,
      background-color 0.6s ease-in-out,
      border-color 0.6s ease-in-out;
  }

  .feat-agencies .feat-glass strong {
    max-width: 0;
    opacity: 0;
    transform: translateX(-12px);
    transition:
      max-width 0.6s ease-in-out,
      opacity 0.6s ease-in-out,
      transform 0.6s ease-in-out;
  }

  .feat-agencies .feat-card:hover .feat-glass,
  .feat-agencies .feat-card:focus-within .feat-glass,
  .feat-agencies .feat-glass:focus-visible {
    gap: 8px;
    max-width: 16rem;
    padding-right: 12px;
  }

  .feat-agencies .feat-card:hover .feat-glass strong,
  .feat-agencies .feat-card:focus-within .feat-glass strong,
  .feat-agencies .feat-glass:focus-visible strong {
    max-width: 12rem;
    opacity: 1;
    transform: translateX(0);
  }
}

.feat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.feat-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  margin: 0;
  color: #101828;
  font-variant-numeric: tabular-nums;
}

.feat-price strong {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.feat-price span {
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 500;
}

.feat-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #101828;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.6s ease-in-out, color 0.6s ease-in-out;
}

.feat-go svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.6s ease-in-out;
}

.feat-go:hover,
.feat-go:focus-visible {
  background: #cba43d;
  color: #fff;
}

.feat-go:hover svg,
.feat-go:focus-visible svg {
  transform: translateX(3px);
}

@media (hover: hover) and (pointer: fine) {
  .feat-card:hover .feat-go {
    background: #cba43d;
    color: #fff;
  }

  .feat-card:hover .feat-go svg {
    transform: translateX(3px);
  }
}

@media (min-width: 768px) {
  .feat-nav:not([hidden]) {
    display: flex;
  }
}

.feat-skeleton {
  pointer-events: none;
}

.feat-skeleton .feat-photo,
.feat-skel {
  background: #eceff3;
}

.feat-skel {
  display: block;
  height: 14px;
  border-radius: 7px;
}

.feat-skel.is-short {
  width: 46%;
  margin-top: 12px;
}

@media (prefers-reduced-motion: no-preference) {
  .feat-skeleton .feat-photo,
  .feat-skel {
    background: linear-gradient(90deg, #eceff3 25%, #f7f8fa 37%, #eceff3 63%);
    background-size: 400% 100%;
    animation: featShimmer 1.15s ease-in-out infinite;
  }
}

@keyframes featShimmer {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

.feat-agencies a:focus-visible {
  outline: 2px solid var(--gold, #c6a046);
  outline-offset: 3px;
}

.feat-agencies ::selection {
  background: #111827;
  color: #fff;
}

@media (max-width: 767.98px) {
  body.page-home .section.feat-agencies {
    padding-top: 24px;
  }

  .feat-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 16px;
  }

  .feat-agencies .feat-intro .feat-kicker {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .feat-agencies .feat-intro h2 {
    font-size: 1.75rem;
  }

  .feat-agencies .feat-intro p:not(.feat-kicker) {
    margin-top: 6px;
    font-size: 0.92rem;
  }

  .feat-tools {
    justify-content: stretch;
  }

  .feat-nav {
    display: none !important;
  }

  .feat-tabs {
    display: flex;
    width: 100%;
  }

  .feat-tabs button {
    flex: 1 1 0;
    padding: 8px 6px;
    font-size: 0.84rem;
    text-align: center;
  }

  .feat-agencies .h-row {
    --feat-card: min(100%, 22rem);
    --feat-gap: 16px;
  }

  .feat-glass {
    top: 12px;
    left: 12px;
  }

  .feat-logo {
    width: 30px;
    height: 30px;
  }

  .feat-glass strong {
    font-size: 0.75rem;
  }
}

html[data-theme="dark"] body.page-home .feat-agencies .feat-intro .feat-kicker {
  color: #cba43d;
}

html[data-theme="dark"] body.page-home .feat-agencies .feat-intro p:not(.feat-kicker) {
  color: #c4c4cc;
}

html[data-theme="dark"] body.page-home .feat-agencies .feat-intro h2,
html[data-theme="dark"] body.page-home .feat-agencies .feat-tabs button[aria-selected="true"] {
  color: #f4f4f5;
}

html[data-theme="dark"] body.page-home .feat-agencies .feat-tabs {
  background: #16161a;
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] body.page-home .feat-agencies .feat-tabs button {
  border: 0;
  background: transparent;
  color: #a1a1aa;
}

html[data-theme="dark"] body.page-home .feat-agencies .feat-tabs button[aria-selected="true"] {
  border: 0;
  background: transparent;
}

html[data-theme="dark"] body.page-home .feat-agencies .feat-tab-thumb {
  background: #2a2a30;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body.page-home .feat-skeleton .feat-photo,
html[data-theme="dark"] body.page-home .feat-skel {
  background: #222228;
}

html[data-theme="dark"] body.page-home .feat-empty {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
}

html[data-theme="dark"] body.page-home .feat-empty span {
  color: #c4c4cc;
}

html[data-theme="dark"] body.page-home .feat-arrow {
  border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .feat-stage,
  .feat-card,
  .feat-glass,
  .feat-glass strong,
  .feat-cover img,
  .feat-go,
  .feat-go svg,
  .feat-tabs button,
  .feat-tab-thumb,
  .feat-skeleton .feat-photo,
  .feat-skel {
    transition: none;
    animation: none;
  }

  .feat-card:hover,
  .feat-card:hover .feat-cover img,
  .feat-card:hover .feat-go svg,
  .feat-go:hover svg,
  .feat-go:focus-visible svg {
    transform: none;
  }

  .feat-arrow:active:not(:disabled) {
    transform: none;
  }
}
