/* Skipped (covered by shared chunk CSS): ../../sub-components/TextOnImage/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Icon/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Button/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ScrollIndicator/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Slider/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/SectionHeader/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Media/styles.css */

/* ---------- Section ---------- */

.cc_ha5dwmyj_XMAFtcybs0 .collection-list {
  position: relative;
}

/* The track spans the page container incl. gutters so the next tile peeks to the edge. */
.cc_ha5dwmyj_XMAFtcybs0 .collection-list__slider {
  width: 100%;
  max-width: calc(var(--max-page-width) + 2 * var(--gutter));
  margin-inline: auto;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-list__item {
  display: flex;
}

/* ---------- Tile ---------- */

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile {
  --tile-pad-y: 16px;
  --tile-pad-x: 20px;
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-image);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

/*
 * Focus ring is drawn inside the tile (on the content layer) so the slider track's
 * overflow does not clip it. The layer carries the overlay scheme over images (white ring)
 * and the section scheme on the empty fallback (dark ring); outlines paint above the gradient.
 */
.cc_ha5dwmyj_XMAFtcybs0 .collection-tile:focus-visible {
  outline: none;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile:focus-visible .collection-tile__layer {
  outline: 2px solid var(--c-heading);
  outline-offset: -2px;
}

/* Slider items entrance (spec §1.8): translate in + fade, 80ms stagger. */
.cc_ha5dwmyj_XMAFtcybs0 .collection-tile {
  opacity: 0;
  transform: translateX(24px);
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-list__slider.is-in .collection-tile {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-480) var(--ease-out-quart),
    transform var(--dur-480) var(--ease-out-quart);
  transition-delay: calc(var(--tile-i, 0) * 80ms);
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile__media {
  border-radius: inherit;
  transition: transform var(--dur-400) var(--ease-out-quart);
}

/* Soft fallback tile (no image) and "adapt" ratio without an image still need a box. */
.cc_ha5dwmyj_XMAFtcybs0 .collection-tile--empty .collection-tile__media {
  background-color: var(--c-text-05);
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile--empty.collection-tile--adapt .collection-tile__media {
  aspect-ratio: 4 / 5;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-list--landscape .collection-tile--empty.collection-tile--adapt .collection-tile__media {
  aspect-ratio: 3 / 2;
}

/* Content layer: overlay scheme colors (white text) over the image, gradient underneath. */
.cc_ha5dwmyj_XMAFtcybs0 .collection-tile__layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: var(--tile-pad-y) var(--tile-pad-x);
  border-radius: inherit;
  pointer-events: none;
}

/* Scrim under the content layer; its fill comes from the "Görsel üstü yazı" mode (TextOnImage). */
.cc_ha5dwmyj_XMAFtcybs0 .collection-tile__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  opacity: var(--tile-overlay, 0.4);
  pointer-events: none;
}

/* Zemin eşleme keeps the photo above the title row. */
.cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti {
  --ti-reserve: 64px;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile__title {
  margin: 0;
  min-width: 0;
  color: var(--c-heading);
  overflow-wrap: anywhere;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile__arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--c-icon-btn-fg);
  background-color: var(--c-icon-btn-bg);
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile__arrow .icon {
  transition: transform var(--dur-320) var(--ease-out-quart);
}

@media (hover: hover) {
  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile:hover .collection-tile__media {
    transform: scale(1.05);
  }

  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile:hover .collection-tile__arrow .icon {
    transform: translateX(2px);
  }
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile:focus-visible .collection-tile__media {
  transform: scale(1.05);
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile:focus-visible .collection-tile__arrow .icon {
  transform: translateX(2px);
}

/* Landscape tiles are shorter: keep the title compact. */
.cc_ha5dwmyj_XMAFtcybs0 .collection-list--landscape .collection-tile {
  --tile-pad-y: 12px;
  --tile-pad-x: 14px;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-list--landscape .collection-tile__arrow {
  width: 24px;
  height: 24px;
}

@media (min-width: 720px) {
  .cc_ha5dwmyj_XMAFtcybs0 .collection-list--landscape .collection-tile {
    --tile-pad-y: 16px;
    --tile-pad-x: 20px;
  }
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile, .cc_ha5dwmyj_XMAFtcybs0 .collection-list--landscape .collection-tile {
    --tile-pad-y: 24px;
    --tile-pad-x: 28px;
  }

  .cc_ha5dwmyj_XMAFtcybs0 .collection-list--landscape .collection-tile__arrow {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile__media, .cc_ha5dwmyj_XMAFtcybs0 .collection-tile__arrow .icon, .cc_ha5dwmyj_XMAFtcybs0 .collection-list__slider.is-in .collection-tile {
    transition: none;
  }

  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile, .cc_ha5dwmyj_XMAFtcybs0 .collection-list__slider.is-in .collection-tile {
    opacity: 1;
  }

  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile, .cc_ha5dwmyj_XMAFtcybs0 .collection-list__slider.is-in .collection-tile, .cc_ha5dwmyj_XMAFtcybs0 .collection-tile:hover .collection-tile__media, .cc_ha5dwmyj_XMAFtcybs0 .collection-tile:focus-visible .collection-tile__media, .cc_ha5dwmyj_XMAFtcybs0 .collection-tile:hover .collection-tile__arrow .icon, .cc_ha5dwmyj_XMAFtcybs0 .collection-tile:focus-visible .collection-tile__arrow .icon {
    transform: none;
  }
}

/* ---------- Görselin altında: photo untouched, title and arrow under it ---------- */

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below {
  overflow: visible;
  border-radius: 0;
  isolation: auto;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below .collection-tile__media {
  border-radius: var(--radius-image);
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below .collection-tile__layer {
  position: static;
  inset: auto;
  align-items: center;
  padding: var(--gap-text) 0 0;
  border-radius: 0;
}

.cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below .collection-tile__media img {
  transition: transform var(--dur-400) var(--ease-out-quart);
}

@media (hover: hover) and (min-width: 1024px) {
  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below:hover .collection-tile__media {
    transform: none;
  }

  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below:hover .collection-tile__media img {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below .collection-tile__media img, .cc_ha5dwmyj_XMAFtcybs0 .collection-tile.ti--below:hover .collection-tile__media img {
    transition: none;
    transform: none;
  }
}
