
/* ===== Original CSS block 104: idf73-mobile-overlay-and-header ===== */

/* Dar Idafa v73: only the two approved mobile changes. Desktop and site data are untouched. */
@media (max-width:760px){
  /* Mobile header: shrink the LOGO and its grid column 15% versus v72,
     allowing the compact search field to receive the saved width. */
  #idafa-approved-header .idf-h-header-inner{
    grid-template-columns:clamp(75px,22.95vw,92px) minmax(0,1fr) 44px 46px!important;
  }
  #idafa-approved-header .idf-h-logo{
    width:clamp(73px,22.525vw,90px)!important;
    max-width:100%!important;
  }
  /* Carousel: remove the separate navigation row, float arrows above the covers.
     Buttons retain a 44px touch target; horizontal swipe remains operational. */
  #app .idafa-home-d .idh-carousel{
    padding:0!important;position:relative!important;
  }
  #app .idafa-home-d .idh-arrows{
    position:absolute!important;inset:0!important;
    pointer-events:none!important;z-index:8!important;
  }
  #app .idafa-home-d .idh-arrows button{
    position:absolute!important;
    top:clamp(75px,25%,120px)!important;
    transform:translateY(-50%)!important;
    width:44px!important;height:44px!important;
    display:grid!important;place-items:center!important;
    padding:9px!important;
    border-radius:50%!important;
    border:1px solid rgba(255,207,0,.8)!important;
    background:rgba(7,55,99,.88)!important;
    color:#FFCF00!important;
    box-shadow:0 3px 12px rgba(7,55,99,.24)!important;
    cursor:pointer!important;pointer-events:auto!important;
  }
  #app .idafa-home-d .idh-arrows .idh-arrow-right{right:0!important;left:auto!important}
  #app .idafa-home-d .idh-arrows .idh-arrow-left{left:0!important;right:auto!important}
  #app .idafa-home-d .idh-arrows button svg{width:100%!important;height:100%!important}
  #app .idafa-home-d .idh-arrows button:active{
    background:rgba(7,55,99,.97)!important;transform:translateY(-50%) scale(.96)!important;
  }
}
@media(max-width:350px){
  #idafa-approved-header .idf-h-header-inner{
    grid-template-columns:75px minmax(0,1fr) 42px 44px!important;
    gap:3px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #app .idafa-home-d .idh-arrows button{transition:none!important}
}

