/* Ayvalık Vibes 5.0.28 — Gerçek içerik genişliği ve iç grid eşitliği */

/* Generic home sections inherited 48px horizontal padding, making their actual
   content narrower than the calendar/banner blocks. Remove only that conflict. */
body.ayv-final-5000 .ayvibes-wrap > .ayvibes-section{
  width:var(--ayv5-shell)!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Every main section begins and ends on the same vertical guides. */
body.ayv-final-5000 .ayvibes-wrap > .ayvibes-section > :is(
  .ayvibes-sec-head,
  .ayvibes-herbs-banner-grid,
  .ayvibes-destination-accordion,
  .ayvibes-directory-grid,
  .ayvibes-stories-grid,
  .ayvibes-events-grid,
  .ayvibes-podcast-grid
){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* Ayvalık Otları: equal main columns and equal card cells. */
body.ayv-final-5000 .ayvibes-herbs-banner-grid,
body.ayv-final-5010 .ayvibes-herbs-banner-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
body.ayv-final-5000 .ayvibes-herbs-banner-copy,
body.ayv-final-5010 .ayvibes-herbs-banner-copy{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}
body.ayv-final-5000 .ayvibes-herbs-banner-cards,
body.ayv-final-5010 .ayvibes-herbs-banner-cards{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:1fr!important;
  gap:14px!important;
  width:100%!important;
  height:100%!important;
  align-items:stretch!important;
}
body.ayv-final-5000 .ayvibes-herbs-banner-card,
body.ayv-final-5010 .ayvibes-herbs-banner-card{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  align-self:stretch!important;
}
body.ayv-final-5000 .ayvibes-herbs-banner-card-image,
body.ayv-final-5010 .ayvibes-herbs-banner-card-image{
  aspect-ratio:4/3!important;
  min-height:0!important;
}

/* Keep the calendar and all neighbouring sections on the exact same shell. */
body.ayv-final-5000 .ayvibes-seasonal-banner.is-calendar-layout,
body.ayv-final-5000 .ayvibes-herbs-banner-section,
body.ayv-final-5000 .ayvibes-destination-section,
body.ayv-final-5000 .ayv17-home-videos,
body.ayv-final-5000 .ayvibes-podcast-section,
body.ayv-final-5000 .ayvibes-newsletter{
  width:var(--ayv5-shell)!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:1024px){
  body.ayv-final-5000 .ayvibes-herbs-banner-grid,
  body.ayv-final-5010 .ayvibes-herbs-banner-grid{
    grid-template-columns:1fr!important;
  }
  body.ayv-final-5000 .ayvibes-herbs-banner-cards,
  body.ayv-final-5010 .ayvibes-herbs-banner-cards{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body.ayv-final-5000 .ayvibes-wrap > .ayvibes-section{
    padding-left:0!important;
    padding-right:0!important;
  }
  body.ayv-final-5000 .ayvibes-herbs-banner-cards,
  body.ayv-final-5010 .ayvibes-herbs-banner-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}
@media(max-width:420px){
  body.ayv-final-5000 .ayvibes-herbs-banner-cards,
  body.ayv-final-5010 .ayvibes-herbs-banner-cards{
    grid-template-columns:1fr!important;
  }
}
