/* afterfaang.ai ortak mobil katmanı: dikey yığılan kart dizileri telefonda yana kaydırılır */
@media (max-width:700px){
  .afm-rail{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;grid-template-columns:none!important;
    overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    gap:14px!important;padding-bottom:4px;scrollbar-width:none;overscroll-behavior-x:contain}
  .afm-rail::-webkit-scrollbar{display:none}
  .afm-rail>*{flex:0 0 86%!important;max-width:86%!important;min-width:0!important;scroll-snap-align:start;
    margin-top:0!important;margin-bottom:0!important}
  .afm-rail.afm-wide>*{flex-basis:92%!important;max-width:92%!important}
  .afm-rail>.reveal,.afm-rail>*{opacity:1!important;transform:none!important}
  .afm-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0}
  .afm-dots{display:flex;gap:6px;flex-wrap:wrap}
  .afm-dots button{width:8px;height:8px;border-radius:4px;border:0;padding:0;background:#293235;opacity:.22;cursor:pointer;transition:width .2s,opacity .2s}
  .afm-dots button.on{width:20px;opacity:1}
  .afm-count{font:600 12px/1 inherit;color:#636967;font-variant-numeric:tabular-nums;white-space:nowrap}
  aside.hero-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
  aside.hero-panel>.eyebrow{grid-column:1/-1}
  aside.hero-panel .hp{border-bottom:0}
  aside.hero-panel .hp b{font-size:24px}
}
@media (max-width:700px) and (prefers-reduced-motion:reduce){.afm-rail{scroll-behavior:auto}.afm-dots button{transition:none}}
/* header: menü yazıları büyük ve ferah (tüm sayfalar) */
.afh .afh-logo{flex-shrink:0}
.afh .afh-links>li>a{white-space:nowrap}
@media (min-width:1200px){.afh .afh-links>li>a{font-size:16px}.afh .afh-links{gap:26px}}
@media (min-width:1200px) and (max-width:1599px){.afh .afh-sec{display:none}}
@media (min-width:1280px) and (max-width:1439px){.afh .afh-links>li>a{font-size:17px}.afh .afh-links{gap:28px}}
@media (min-width:1440px){.afh .afh-links>li>a{font-size:18px}.afh .afh-links{gap:32px}}
@media (min-width:1600px){.afh .afh-links{gap:34px}}
@media (max-width:1199px){
.afh .afh-in{height:72px}
.afh .afh-links,.afh .afh-sec,.afh .afh-cta{display:none}
.afh .afh-burger{display:flex;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.afh .afh-burger span{width:22px;height:2px;background:#111827;border-radius:2px;display:block}
.afh .afh-mobile.open{display:block;background:#fff;border-top:1px solid #E5E7EB;padding:8px 24px 18px}
.afh .afh-mobile a{display:block;padding:12px 0;color:#111827;font-weight:500;font-size:15px;text-decoration:none;border-bottom:1px solid #F3F4F6}
.afh .afh-mobile .afh-mgroup a{color:#4B5563;padding-left:16px;font-weight:400}
.afh .afh-mobile .afh-msec{color:#FAA331;font-weight:600}
.afh .afh-mobile .afh-mcta{color:#FAA331;font-weight:600;border-bottom:0}}
/* header v2: açılır menü yazısı ve kenar/grup boşlukları */
.afh .afh-menu a{font-size:16px!important;padding:11px 20px}
@media (min-width:1200px){
.afh .afh-in,.afp .afh .afh-in{width:min(1280px,calc(100% - 96px))!important;max-width:none!important;padding:0!important;margin:0 auto}
.afh .afh-links{margin:0 24px}}
@media (min-width:1200px) and (max-width:1279px){.afh .afh-links{gap:20px}}
@media (min-width:1440px){.afh .afh-in,.afp .afh .afh-in{width:min(1320px,calc(100% - 120px))!important}}
@media (min-width:1600px){.afh .afh-links{gap:28px}.afh .afh-in,.afp .afh .afh-in{width:min(1480px,calc(100% - 160px))!important}}
/* logo: afterfaang.com'daki güncel logo (sıkı kırpılmış, alt yazısız) */
.afh .afh-logo img{content:url(https://afterfaang.com/wp-content/uploads/2025/02/afterfaang-png-logo.png);height:36px!important;width:auto!important}
footer img[src*="afterfaang-logo.png"],footer img[src*="afterfaang-png-logo.png"]{content:url(https://afterfaang.com/wp-content/uploads/2025/02/afterfaang-png-logo.png);height:34px!important;width:auto!important}
@media (max-width:700px){.afh .afh-logo img{height:30px!important}}

/* mobil menü: açılan menü ekrana sığmazsa kendi içinde kayar (tüm sayfalar) */
.afh .afh-mobile.open{box-sizing:border-box;max-height:calc(100vh - 74px);max-height:calc(100dvh - 74px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
