/* Ayvalık Vibes 5.0.25 — Alt sayfa ilgili yazılar için daha kontrollü editorial kart düzeni */
body.ayv-final-5000 .avx-related-articles{
  width:min(1120px,100%)!important;
  margin:32px auto 0!important;
  padding:clamp(22px,2.8vw,34px)!important;
  border:1px solid rgba(27,72,60,.10)!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%)!important;
  box-shadow:0 12px 34px rgba(18,40,34,.05)!important;
}
body.ayv-final-5000 .avx-related-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:20px!important;
}
body.ayv-final-5000 .avx-related-head small{
  display:block!important;
  margin-bottom:6px!important;
  font-size:11px!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  color:#1d8a7b!important;
  font-weight:700!important;
}
body.ayv-final-5000 .avx-related-head h2{
  margin:0!important;
  font-size:clamp(38px,4vw,54px)!important;
  line-height:.96!important;
  letter-spacing:-.05em!important;
}
body.ayv-final-5000 .avx-related-head a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:0 18px!important;
  border:1px solid rgba(27,72,60,.12)!important;
  border-radius:999px!important;
  color:#17392f!important;
  background:#fff!important;
  text-decoration:none!important;
  font-weight:700!important;
}
body.ayv-final-5000 .avx-related-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.ayv-final-5000 .avx-related-card{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  min-height:100%!important;
  border:1px solid rgba(27,72,60,.10)!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(22,52,46,.05)!important;
  transition:transform .22s ease, box-shadow .22s ease!important;
}
body.ayv-final-5000 .avx-related-card:hover,
body.ayv-final-5000 .avx-related-card:focus-visible{
  transform:translateY(-3px)!important;
  box-shadow:0 18px 38px rgba(22,52,46,.10)!important;
}
body.ayv-final-5000 .avx-related-card figure{
  position:relative!important;
  aspect-ratio:4/3!important;
  max-height:228px!important;
  overflow:hidden!important;
  background:#e8efeb!important;
  border-bottom:1px solid rgba(27,72,60,.08)!important;
}
body.ayv-final-5000 .avx-related-card figure img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .35s ease!important;
}
body.ayv-final-5000 .avx-related-card:hover figure img{transform:scale(1.03)!important}
body.ayv-final-5000 .avx-related-card > div{
  display:flex!important;
  flex-direction:column!important;
  min-height:188px!important;
  padding:18px 18px 20px!important;
}
body.ayv-final-5000 .avx-related-card > div small{
  display:inline-flex!important;
  align-items:center!important;
  align-self:flex-start!important;
  min-height:28px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:#eef7f4!important;
  color:#1f8878!important;
  font-size:10px!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-weight:700!important;
}
body.ayv-final-5000 .avx-related-card h3{
  margin:12px 0 12px!important;
  font-size:clamp(24px,2vw,31px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  text-wrap:balance!important;
}
body.ayv-final-5000 .avx-related-card span:last-child{
  margin-top:auto!important;
  padding-top:14px!important;
  color:#195e52!important;
  font-weight:800!important;
  font-size:13px!important;
  letter-spacing:.02em!important;
}

/* Tekil makale altındaki aşırı büyük çıplak görselleri de dengeli çerçeveye al */
body.ayv-final-5000 .avx-article + .avx-related-articles,
body.ayv-final-5000 .avx-article .wp-block-image,
body.ayv-final-5000 .avx-article figure.alignwide,
body.ayv-final-5000 .avx-article figure.alignfull{
  border-radius:24px!important;
  overflow:hidden!important;
}
body.ayv-final-5000 .avx-article .wp-block-image img,
body.ayv-final-5000 .avx-article figure.alignwide img,
body.ayv-final-5000 .avx-article figure.alignfull img{
  width:100%!important;
  max-height:520px!important;
  object-fit:cover!important;
}

@media (max-width:1180px){
  body.ayv-final-5000 .avx-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:760px){
  body.ayv-final-5000 .avx-related-articles{padding:20px 18px!important;}
  body.ayv-final-5000 .avx-related-head{align-items:flex-start!important;flex-direction:column!important;}
  body.ayv-final-5000 .avx-related-grid{grid-template-columns:1fr!important;}
  body.ayv-final-5000 .avx-related-card figure{aspect-ratio:16/10!important;max-height:220px!important;}
  body.ayv-final-5000 .avx-related-card > div{min-height:0!important;}
  body.ayv-final-5000 .avx-related-head h2{font-size:42px!important;}
}
