/* 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/Media/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/SectionHeader/styles.css */

/* ---------- Layout ---------- */

.cc_ha5dwmyj_iaJEDacBmb .blog-posts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-500);
  align-items: start;
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-posts__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 436px);
    gap: var(--sp-500);
  }

  .cc_ha5dwmyj_iaJEDacBmb .blog-posts__grid--single {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Empty state ---------- */

.cc_ha5dwmyj_iaJEDacBmb .blog-posts__empty {
  margin: 0;
  color: var(--c-text-70);
}

/* ---------- Shared tag (overline) ---------- */

.cc_ha5dwmyj_iaJEDacBmb .blog-posts__tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Featured card (overlay scheme) ---------- */

/*
 * Paint order inside the card (isolated stacking context): image (-2), gradient (-1),
 * static text, the stretched title link (::after, covers the card), then the button (1).
 */
.cc_ha5dwmyj_iaJEDacBmb .blog-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-image);
  overflow: hidden;
  isolation: isolate;
  color: var(--c-text);
}

@media (min-width: 720px) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature {
    aspect-ratio: 884 / 692;
  }
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(1);
  transition: transform 700ms var(--ease-out-quart);
}

/*
 * Scrim: its fill comes from the "Görsel üstü yazı" mode (TextOnImage). The gradient one starts
 * 40% down the card so the top of the photo stays untouched.
 */
.cc_ha5dwmyj_iaJEDacBmb .blog-feature__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Default only; the overlayOpacity prop sets the opacity inline. */
  opacity: 0.6;
  pointer-events: none;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--gradient .blog-feature__overlay {
  inset: 40% 0 0;
}

/* Layerless modes fade / stack downward (like a tall card): the text keeps the bottom row. */
.cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti {
  --ti-reserve: 230px;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-100);
  padding: var(--sp-300) var(--sp-250);
  max-width: 720px;
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature__content {
    padding: var(--sp-400);
  }
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__title {
  margin: 0;
  color: var(--c-heading);
  text-wrap: balance;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__link {
  color: inherit;
  text-decoration: none;
}

/* Stretched link: the whole card is clickable */
.cc_ha5dwmyj_iaJEDacBmb .blog-feature__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-image);
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__link:focus-visible {
  outline: none;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__link:focus-visible::after {
  outline: 2px solid var(--c-text);
  outline-offset: -4px;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__date {
  color: var(--c-text);
  opacity: 0.8;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature__button {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-200);
}

@media (hover: hover) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature:hover .blog-feature__media {
    transform: scale(1.03);
  }
}

/* ---------- Sidebar ---------- */

.cc_ha5dwmyj_iaJEDacBmb .blog-posts__sidebar {
  min-width: 0;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-posts__sidebar-title {
  /* The platform reset unsets h1-h6 to inline, which would swallow the padding below. */
  display: block;
  margin: 0;
  padding-bottom: var(--sp-100);
  color: var(--c-heading);
  /* Scoped selector outranks the body text-style class's font-family (spec: Platypi body-150). */
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
}

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

.cc_ha5dwmyj_iaJEDacBmb .blog-list__post {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-75);
  padding: var(--sp-250) 32px var(--sp-250) 0;
}

/* Long titles do not animate; the row answers hover with the theme's arrow nudge
   (same move as the header "see all" chevron). */
.cc_ha5dwmyj_iaJEDacBmb .blog-list__arrow {
  position: absolute;
  top: 50%;
  right: 4px;
  margin-top: -9px;
  color: var(--c-heading);
  transition: transform var(--dur-240) var(--ease-out-quart);
}

@media (hover: hover) and (pointer: fine) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-list__post:hover .blog-list__arrow {
    transform: translateX(3px);
  }
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__post:has(.blog-list__link:focus-visible) .blog-list__arrow {
  transform: translateX(3px);
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__tag {
  color: var(--c-text);
  /* tag -> title gap is 12px (6 gap + 6 margin); title -> date stays 6px */
  margin-bottom: var(--sp-75);
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__title {
  margin: 0;
  color: var(--c-heading);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__link {
  color: inherit;
  text-decoration: none;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__link:focus-visible {
  outline: none;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__link:focus-visible::after {
  outline: 2px solid var(--c-text);
  outline-offset: 2px;
  border-radius: var(--radius-button);
}

.cc_ha5dwmyj_iaJEDacBmb .blog-list__date {
  color: var(--c-text-70);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature__media, .cc_ha5dwmyj_iaJEDacBmb .blog-list__arrow {
    transition: none;
  }

  .cc_ha5dwmyj_iaJEDacBmb .blog-feature:hover .blog-feature__media {
    transform: none;
  }
}

/* ---------- Görselin altında: the feature photo keeps its ratio, copy follows on the section ground ---------- */

.cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below {
  justify-content: flex-start;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  isolation: auto;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below .blog-feature__media {
  z-index: auto;
  aspect-ratio: 4 / 5;
  transform: none;
  transition: none;
}

@media (min-width: 720px) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below .blog-feature__media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below .blog-feature__media {
    aspect-ratio: 884 / 692;
  }
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below .blog-feature__content {
  padding: var(--gap-text) 0 0;
}

.cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below .blog-feature__media img {
  transition: transform 700ms var(--ease-out-quart);
}

@media (hover: hover) and (min-width: 1024px) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below:hover .blog-feature__media {
    transform: none;
  }

  .cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below:hover .blog-feature__media img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below .blog-feature__media img, .cc_ha5dwmyj_iaJEDacBmb .blog-feature.ti--below:hover .blog-feature__media img {
    transition: none;
    transform: none;
  }
}
