/* INDIC RMC responsive QA layer — v309
   Scope discipline:
   - No rules apply above 1180px.
   - Home mobile (<=620px) is intentionally untouched.
   - Home receives tablet-only tuning from 621px–1180px.
   - All other public pages receive tablet/mobile hardening. */

/* ---------- TABLET: ALL PUBLIC PAGES (621–1180) ---------- */
@media (min-width:621px) and (max-width:1180px){
  html{overflow-x:hidden}
  body{overflow-x:clip}
  img,svg,video,canvas{max-width:100%}
  button,a,input,select,textarea{touch-action:manipulation}

  /* Homepage: tablet-only. Existing phone design remains untouched. */
  body[data-page="home"] .container{width:min(1180px,calc(100% - 40px))!important}
  body[data-page="home"] .ir-country-hero{min-height:clamp(690px,76vw,790px)!important}
  body[data-page="home"] .ir-hero-content{max-width:min(720px,84vw)!important}
  body[data-page="home"] .ir-country-nav{max-width:calc(100vw - 40px)!important}
  body[data-page="home"] .ir-primary-ctas .btn,
  body[data-page="home"] .ir-hero-actions a,
  body[data-page="home"] button,
  body[data-page="home"] select,
  body[data-page="home"] input{min-height:44px}

  /* The 7 destination tiles become too narrow around portrait-tablet widths. */
  body[data-page="home"] .ir-destination-grid{
    scrollbar-width:none;
    -ms-overflow-style:none;
    scroll-snap-type:x proximity;
    overscroll-behavior-inline:contain;
  }
  body[data-page="home"] .ir-destination-grid::-webkit-scrollbar{display:none}

  /* Shared footer: keep a comfortable tablet reading measure. */
  body[data-page="home"] .ir-footer-main{gap:34px!important}
  body[data-page="home"] .ir-footer-nav-grid{gap:24px!important}
}

@media (min-width:621px) and (max-width:1080px){
  /* Home tablet: move compressed split layouts into intentional tablet stacks. */
  body[data-page="home"] .ir-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="home"] .ir-why-shell,
  body[data-page="home"] .ir-option-checker-shell,
  body[data-page="home"] .ir-conversation-faq-shell{grid-template-columns:1fr!important;gap:26px!important}
  body[data-page="home"] .success-story-fixed-layout{grid-template-columns:1fr!important;display:grid!important;gap:24px!important;height:auto!important;min-height:0!important}
  body[data-page="home"] .success-story-media{min-height:420px!important}
  body[data-page="home"] .ir-destination-grid{display:flex!important;overflow-x:auto!important;gap:12px!important;padding:2px 2px 10px!important}
  body[data-page="home"] .ir-destination-tile{flex:0 0 clamp(180px,27vw,230px)!important;scroll-snap-align:start!important}
  body[data-page="home"] .ir-footer-main{grid-template-columns:1fr!important}
  body[data-page="home"] .ir-footer-brand{max-width:620px!important}
}

@media (min-width:621px) and (max-width:900px){
  body[data-page="home"] .ir-country-hero{min-height:700px!important}
  body[data-page="home"] .ir-hero-content{max-width:min(680px,90vw)!important}
  body[data-page="home"] .ir-next-step-inline{grid-template-columns:1fr!important}
  body[data-page="home"] .ir-next-step-inline-item{min-height:74px!important}
  body[data-page="home"] .ir-why-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="home"] .ir-team-collage{--ir-team-columns:3!important}
  body[data-page="home"] .ir-footer-nav-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* ---------- NON-HOME TABLET SHELL ---------- */
@media (min-width:621px) and (max-width:1180px){
  body:not([data-page="home"]){overflow-x:clip}
  body:not([data-page="home"]) .container{max-width:100%;min-width:0}

  /* Activate compact navigation before the desktop shell can overflow. */
  html body:not([data-page="home"]) > .site-header{margin-bottom:-76px!important}
  html body:not([data-page="home"]) > .site-header .nav{
    height:76px!important;min-height:76px!important;
    padding:8px 24px!important;gap:10px!important;
  }
  html body:not([data-page="home"]) > .site-header .brand img{height:50px!important;max-width:215px!important}
  html body:not([data-page="home"]) > .site-header .navlinks{display:none!important}
  html body:not([data-page="home"]) > .site-header .ir-header-lang-select{display:none!important}
  html body:not([data-page="home"]) > .site-header .menu-btn{display:grid!important;place-items:center!important;margin-left:0!important;width:44px!important;height:44px!important;min-width:44px!important}
  html body:not([data-page="home"]) > .site-header .whatsapp-icon-btn{width:44px!important;height:44px!important;min-width:44px!important;margin-left:auto!important}
  html body:not([data-page="home"]) > .site-header .nav.menu-open .navlinks{
    display:flex!important;position:absolute!important;top:calc(100% + 1px)!important;left:24px!important;right:24px!important;
    flex-direction:column!important;align-items:stretch!important;gap:4px!important;margin:0!important;padding:14px!important;
    max-height:calc(100dvh - 110px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    background:rgba(10,12,15,.98)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;
    box-shadow:0 18px 45px rgba(0,0,0,.32)!important;z-index:99!important;
  }
  html body:not([data-page="home"]) > .site-header .nav.menu-open .navlinks > a{width:100%!important;min-height:44px!important;padding:10px 9px!important;transform:none!important}
  html body:not([data-page="home"]) > .site-header .nav.menu-open .navlinks .ir-nav-register{min-height:46px!important}
  html body:not([data-page="home"]):not([data-page="privacy"]) > main > .hero:first-child{padding-top:76px!important}
  html body[data-page="privacy"] > .site-header + .wrap{padding-top:76px!important}

  /* Readability/touch-size hardening. */
  body:not([data-page="home"]) button,
  body:not([data-page="home"]) input,
  body:not([data-page="home"]) select,
  body:not([data-page="home"]) textarea,
  body:not([data-page="home"]) .btn,
  body:not([data-page="home"]) .ir-btn{min-height:44px}
  body:not([data-page="home"]) h1,
  body:not([data-page="home"]) h2,
  body:not([data-page="home"]) h3,
  body:not([data-page="home"]) p,
  body:not([data-page="home"]) a{overflow-wrap:anywhere}

  /* Blog + ImmiNews */
  body:is([data-page="blog"],[data-page="imminews"]) .hero>.container{width:min(1120px,calc(100% - 40px))!important}
  body:is([data-page="blog"],[data-page="imminews"]) .hero h1{font-size:clamp(48px,7vw,70px)!important;line-height:1!important}
  body:is([data-page="blog"],[data-page="imminews"]) .hero p{max-width:760px!important;font-size:15px!important;line-height:1.6!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-zone>.container{width:min(1120px,calc(100% - 40px))!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filters{max-width:100%!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;gap:9px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row>input{grid-column:1/-1!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filters input,
  body:is([data-page="blog"],[data-page="imminews"]) .filters select{min-width:0!important;height:48px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .topics{max-width:100%!important}
  body:is([data-page="blog"],[data-page="imminews"]) .featured{grid-template-columns:1fr!important;min-height:0!important}
  body:is([data-page="blog"],[data-page="imminews"]) .featured-media{min-height:280px!important;aspect-ratio:16/7!important}
  body:is([data-page="blog"],[data-page="imminews"]) .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-card{min-width:0!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-dialog{width:min(900px,calc(100vw - 40px))!important;max-height:calc(100dvh - 40px)!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-media{max-height:300px!important;min-height:240px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-close{width:44px!important;height:44px!important}

  /* v308 destination system. */
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-hero.hero,
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-hero .ir-hero-inner{min-height:600px!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-hero .ir-hero-inner{padding:76px 0 110px!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-hero h1{font-size:clamp(54px,7vw,78px)!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-hero .ir-hero-intro{max-width:660px!important;font-size:16px!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-snapshot-item:nth-child(3)::before{display:none!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-snapshot-item:nth-child(n+3){border-top:1px solid rgba(255,255,255,.08)!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-explore-card:last-child:nth-child(odd){grid-column:1/-1!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-compare-layout,
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-journey-grid{grid-template-columns:1fr!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-journey-shell{max-width:100%!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-journey-actions{justify-content:flex-start!important;flex-wrap:wrap!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-country-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-country-news-card:last-child:nth-child(odd){grid-column:1/-1!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-footer-main{grid-template-columns:1fr!important;gap:34px!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-footer-brand{max-width:620px!important}

  /* Careers and Privacy */
  body[data-page="careers"] .wrap,
  body[data-page="careers"] .panel,
  body[data-page="privacy"]>.wrap{width:min(900px,calc(100% - 40px))!important;max-width:100%!important}
  body[data-page="careers"] .panel{grid-template-columns:1fr!important;margin-bottom:54px!important}
  body[data-page="careers"] .hero{padding:72px 0 58px!important}
  body[data-page="careers"] .hero h1{font-size:clamp(48px,7vw,62px)!important}
  body[data-page="privacy"]>.wrap{padding-left:0!important;padding-right:0!important}
  body[data-page="privacy"] h1{font-size:clamp(44px,7vw,56px)!important;line-height:1.02!important}

  /* Global footer/tablet reflow for pages carrying the legacy embedded footer CSS. */
  body:not([data-page="home"]) .footer.ir-footer-v208>.container{width:min(1120px,calc(100% - 40px))!important}
  body:not([data-page="home"]) .ir-footer-main{grid-template-columns:1fr!important;gap:34px!important}
  body:not([data-page="home"]) .ir-footer-brand{max-width:620px!important}
  body:not([data-page="home"]) .ir-footer-nav-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
}

/* ---------- NON-HOME MOBILE (<=620) ---------- */
@media (max-width:620px){
  /* Home deliberately excluded from every rule in this block. */
  body:not([data-page="home"]){overflow-x:clip;-webkit-text-size-adjust:100%}
  body:not([data-page="home"]) .container{width:calc(100% - 24px)!important;max-width:100%!important;min-width:0!important}
  body:not([data-page="home"]) img,
  body:not([data-page="home"]) svg,
  body:not([data-page="home"]) video,
  body:not([data-page="home"]) canvas{max-width:100%;height:auto}
  body:not([data-page="home"]) button,
  body:not([data-page="home"]) a,
  body:not([data-page="home"]) input,
  body:not([data-page="home"]) select,
  body:not([data-page="home"]) textarea{touch-action:manipulation}
  body:not([data-page="home"]) input,
  body:not([data-page="home"]) select,
  body:not([data-page="home"]) textarea{font-size:16px!important}
  body:not([data-page="home"]) h1,
  body:not([data-page="home"]) h2,
  body:not([data-page="home"]) h3,
  body:not([data-page="home"]) p,
  body:not([data-page="home"]) a{overflow-wrap:anywhere}

  /* Mobile header controls retain the homepage language while meeting practical touch size. */
  html body:not([data-page="home"]) > .site-header .nav{padding-left:12px!important;padding-right:12px!important;gap:6px!important}
  html body:not([data-page="home"]) > .site-header .brand img{max-width:150px!important}
  html body:not([data-page="home"]) > .site-header .whatsapp-icon-btn,
  html body:not([data-page="home"]) > .site-header .menu-btn{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
  html body:not([data-page="home"]) > .site-header .nav.menu-open .navlinks{left:10px!important;right:10px!important;max-height:calc(100dvh - 92px)!important}
  html body:not([data-page="home"]) > .site-header .nav.menu-open .navlinks > a{min-height:44px!important;display:flex!important;align-items:center!important}

  /* Blog + ImmiNews mobile. */
  body:is([data-page="blog"],[data-page="imminews"]) .hero>.container,
  body:is([data-page="blog"],[data-page="imminews"]) .news-zone>.container{width:calc(100% - 24px)!important}
  body:is([data-page="blog"],[data-page="imminews"]) .hero h1{font-size:clamp(38px,11vw,46px)!important;line-height:1.02!important}
  body:is([data-page="blog"],[data-page="imminews"]) .hero p{font-size:14px!important;line-height:1.58!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filters{padding:12px!important;border-radius:18px!important;max-width:100%!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;gap:8px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row>input{grid-column:1/-1!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filters input,
  body:is([data-page="blog"],[data-page="imminews"]) .filters select{height:48px!important;min-height:48px!important;min-width:0!important;padding-top:0!important;padding-bottom:0!important}
  body:is([data-page="blog"],[data-page="imminews"]) .feed-refresh{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .topics{max-width:100%!important}
  body:is([data-page="blog"],[data-page="imminews"]) .topic{min-height:40px!important;display:inline-flex!important;align-items:center!important}
  body:is([data-page="blog"],[data-page="imminews"]) .status-area{align-items:flex-start!important;text-align:left!important}
  body:is([data-page="blog"],[data-page="imminews"]) .featured{grid-template-columns:1fr!important;border-radius:20px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .featured-media{min-height:210px!important;aspect-ratio:16/9!important}
  body:is([data-page="blog"],[data-page="imminews"]) .featured-copy{padding:20px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .featured h3{font-size:23px!important;line-height:1.14!important}
  body:is([data-page="blog"],[data-page="imminews"]) .cards{grid-template-columns:1fr!important}
  body:is([data-page="blog"],[data-page="imminews"]) .card-media{height:190px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .page-btn{min-width:44px!important;height:44px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-modal{padding:8px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-dialog{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:20px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-media{height:210px!important;min-height:210px!important;max-height:210px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-copy{padding:20px 18px!important;min-height:0!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-close{width:44px!important;height:44px!important;right:8px!important;top:8px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-actions a,
  body:is([data-page="blog"],[data-page="imminews"]) .news-detail-actions button{width:100%!important;min-height:46px!important}

  /* Destination pages mobile. */
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-hero h1{font-size:clamp(38px,12vw,46px)!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-destination-hero .ir-hero-sub{font-size:clamp(22px,7vw,27px)!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-hero-actions{display:grid!important;grid-template-columns:1fr!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-hero-actions .ir-btn{width:100%!important;min-height:48px!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-section-head h2{font-size:clamp(30px,9vw,36px)!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-explore-grid,
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-path-grid,
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-country-news-grid{grid-template-columns:1fr!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-explore-card:last-child,
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-country-news-card:last-child{grid-column:auto!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-explore-media,
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-country-news-media{height:190px!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-compare-panel,
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-journey-shell{padding:20px!important;border-radius:20px!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-check-grid{grid-template-columns:1fr!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-journey-actions{display:grid!important;grid-template-columns:1fr!important}
  body:not([data-page="home"]):not([data-page="blog"]):not([data-page="imminews"]):not([data-page="careers"]):not([data-page="privacy"]) .ir-journey-actions .ir-btn{width:100%!important}

  /* Careers + Privacy mobile. */
  body[data-page="careers"] .wrap,
  body[data-page="careers"] .panel,
  body[data-page="privacy"]>.wrap{width:calc(100% - 24px)!important;max-width:100%!important}
  body[data-page="careers"] .hero{padding:58px 0 48px!important}
  body[data-page="careers"] .hero h1{font-size:clamp(38px,12vw,48px)!important;line-height:1!important}
  body[data-page="careers"] .hero p{font-size:16px!important;line-height:1.6!important}
  body[data-page="careers"] .panel{grid-template-columns:1fr!important;gap:14px!important;margin-bottom:44px!important}
  body[data-page="careers"] .card{padding:22px!important;border-radius:20px!important}
  body[data-page="careers"] .btn{width:100%!important;min-height:48px!important}
  body[data-page="privacy"]>.wrap{padding-left:0!important;padding-right:0!important;padding-bottom:48px!important}
  body[data-page="privacy"] h1{font-size:clamp(38px,12vw,46px)!important;line-height:1.02!important;letter-spacing:-.04em!important}
  body[data-page="privacy"] h2{font-size:28px!important;line-height:1.15!important;margin-top:30px!important}
  body[data-page="privacy"] .note{padding:14px!important}

  /* Shared footer mobile. */
  body:not([data-page="home"]) .footer.ir-footer-v208>.container{width:calc(100% - 24px)!important}
  body:not([data-page="home"]) .ir-footer-main{grid-template-columns:1fr!important;gap:30px!important;padding-bottom:32px!important}
  body:not([data-page="home"]) .ir-footer-brand{max-width:100%!important}
  body:not([data-page="home"]) .ir-footer-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 18px!important}
  body:not([data-page="home"]) .ir-footer-contact-column{grid-column:1/-1!important}
  body:not([data-page="home"]) .ir-footer-bottom{flex-direction:column!important;align-items:flex-start!important;gap:10px!important}
}

@media (max-width:430px){
  body:not([data-page="home"]) .ir-footer-nav-grid{grid-template-columns:1fr!important;gap:22px!important}
  body:not([data-page="home"]) .ir-footer-contact-column{grid-column:auto!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row{grid-template-columns:1fr auto!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row>input{grid-column:1/-1!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row>select:first-of-type{grid-column:1/2!important}
  body:is([data-page="blog"],[data-page="imminews"]) .filter-row>select:nth-of-type(2){grid-column:1/2!important}
  body:is([data-page="blog"],[data-page="imminews"]) .feed-refresh{grid-column:2/3!important;grid-row:2/4!important;align-self:stretch!important;height:auto!important}
}

@media (max-width:360px){
  body:not([data-page="home"]) .site-header .brand img{max-width:132px!important;height:39px!important}
  body:not([data-page="home"]) .site-header .whatsapp-icon-btn,
  body:not([data-page="home"]) .site-header .menu-btn{width:40px!important;height:40px!important;min-width:40px!important}
  body:not([data-page="home"]) .container{width:calc(100% - 20px)!important}
  body:is([data-page="blog"],[data-page="imminews"]) .hero>.container,
  body:is([data-page="blog"],[data-page="imminews"]) .news-zone>.container,
  body:not([data-page="home"]) .footer.ir-footer-v208>.container{width:calc(100% - 20px)!important}
}

@media (hover:none) and (pointer:coarse) and (max-width:1180px){
  body:not([data-page="home"]) .news-card:hover,
  body:not([data-page="home"]) .ir-explore-card:hover,
  body:not([data-page="home"]) .ir-path-card:hover,
  body:not([data-page="home"]) .ir-country-news-card:hover,
  body:not([data-page="home"]) .topic:hover{transform:none!important}
}

@media (prefers-reduced-motion:reduce){
  body:not([data-page="home"]) *,
  body:not([data-page="home"]) *::before,
  body:not([data-page="home"]) *::after{scroll-behavior:auto!important}
}
