/* Skipped (covered by shared chunk CSS): ../../sub-components/HomeHead/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/PagerArrows/styles.css */

/* BIG DRIP EDIT (homepage): a magazine shelf of eight model articles (Editorial Design System, 2026-11-28). HomeHead
   (title + "Tüm Yazılar", ← → pager from 1024), then one row that scrolls sideways with scroll snap: the post's cover
   on top (16:9, banner radius), then the model name (Young Serif eyebrow), the headline (two or three lines, never
   clamped) and the real publication date (Geist caption). Phones one card and a peek, 640–1023 two and a half,
   1024 and up exactly four. Cards in a row share one height. The row ends on a "Tüm Yazılar" tile. */

.cc_v6ia3flz_mwLMzs5cq7 .bdjo {
  --home-fg: var(--bd-mocha);
  --home-fg-soft: var(--bd-cocoa);
  /* Perfect Harmony (2026-11-30): on the page canvas like the shelves; --bd-paper is the raised-surface tone
     (drawers, modals) and made this one section a lighter strip */
  background: var(--bd-bone);
  color: var(--bd-mocha);
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-section-heading) var(--home-gutter) var(--space-section-end);
}

/* One-row head like the product rails (BigDripProductRail): the link sits on the title's middle; on phones the two
   share a line when they fit, a long title pushes the link under it */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo .hh--split {
  align-items: center;
}

@media (max-width: 767px) {
  .cc_v6ia3flz_mwLMzs5cq7 .bdjo .hh--split {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5) var(--space-10);
  }
}


/* The rail bleeds to the screen edge; 4px above and below keep the focus ring inside its scroll box */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-rail {
  display: flex;
  gap: var(--shelf-gap);
  margin: 0 calc(-1 * var(--home-gutter));
  padding: var(--space-5) var(--home-gutter);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--home-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-rail::-webkit-scrollbar {
  display: none;
}

/* phones: one card and a peek of the next (the peek keeps its pixel size, so enlarged text widens the card) */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-rail > li {
  flex: 0 0 calc(100% - var(--shelf-gap) - min(var(--shelf-peek), 40px));
  min-width: 0;
  scroll-snap-align: start;
}

/* 640–1023: two cards and half of the third */
@media (min-width: 640px) {
  .cc_v6ia3flz_mwLMzs5cq7 .bdjo-rail > li {
    flex-basis: calc((100% - 2 * var(--shelf-gap)) / 2.5);
  }
}

/* 1024 and up: exactly four cards per view (the pager shows the other four) */
@media (min-width: 1024px) {
  .cc_v6ia3flz_mwLMzs5cq7 .bdjo-rail > li {
    flex-basis: calc((100% - 3 * var(--shelf-gap)) / 4);
  }
}

/* 2560 and wider (1920–2560px container): one card more, so a card stays near its 1440–1920 width */
@media (min-width: 2560px) {
  .cc_v6ia3flz_mwLMzs5cq7 .bdjo-rail > li {
    flex-basis: calc((100% - 4 * var(--shelf-gap)) / 5);
  }
}

/* Card: cover on top, text under it; the whole card is the link */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-15);
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-banner);
}

/* The post's own editorial cover (the same doodle the hub, category and article show), 16:9 like every Zine card;
   aspect-ratio fixes the tile before the image arrives (no layout shift) */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bd-sand);
  border-radius: var(--radius-banner);
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cc_v6ia3flz_mwLMzs5cq7 .bdjo-card:hover .bdjo-thumb img {
    transform: scale(1.03);
  }
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  padding-inline: var(--space-5);
}

/* Publication date: a quiet caption, pinned to the card's foot so the dates line up across the row */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-date {
  margin-top: auto;
  padding-top: var(--space-5);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-variant-numeric: lining-nums;
  color: var(--bd-cocoa);
}

/* Pager: only where there is a mouse-sized screen (touch rows scroll by hand) */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-arrows {
  color: var(--bd-mocha);
}

@media (max-width: 1023px) {
  .cc_v6ia3flz_mwLMzs5cq7 .bdjo-arrows {
    display: none;
  }
}

/* Model name: the same display eyebrow as the Orijinallik cards (.bdtr-card-eyebrow), never cut */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-model {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--bd-mocha);
  overflow-wrap: break-word;
}

/* The platform sets h1–h6 inline: block again. The card-heading role (--type-h3: 18px below 1024, 20px above), like
   the other home cards' titles. Line heights are whole px and clear Young Serif's tall ascenders, so no glyph
   overflows its line box; never clamped */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-title {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-h3);
  font-weight: 400;
  line-height: 1.375rem;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-card:hover .bdjo-title {
  text-decoration: underline dotted 1.5px;
  text-underline-offset: 0.2em;
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-card:focus-visible, .cc_v6ia3flz_mwLMzs5cq7 .bdjo-end a:focus-visible {
  outline: 2px solid var(--bd-mocha);
  outline-offset: 2px;
}

/* Last tile: the way to the whole guide */
.cc_v6ia3flz_mwLMzs5cq7 .bdjo-rail > li.bdjo-end {
  flex-basis: 10rem;
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-end a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-10);
  box-sizing: border-box;
  height: 100%;
  padding: var(--space-10) var(--space-15);
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.15;
  color: var(--bd-mocha);
  text-decoration: none;
  background: var(--bd-sand);
  border-radius: var(--radius-banner);
  transition: background-color 150ms ease;
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-end a:hover {
  background: var(--bd-dune);
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-end .hh-arrow {
  width: var(--space-20);
  height: var(--space-20);
  transition: transform 200ms var(--ease-out);
}

.cc_v6ia3flz_mwLMzs5cq7 .bdjo-end a:hover .hh-arrow {
  transform: translateX(5px);
}

@media (min-width: 1024px) {
  .cc_v6ia3flz_mwLMzs5cq7 .bdjo-title {
    line-height: 1.5625rem;
  }
}
