/* A5IDC V2.13.3 | All restored inner pages, mobile banner/header spacing.
 * The source website places its fixed mobile header over the banner. This
 * standalone theme instead reserves 58px on <body> for its own mobile header.
 * Subtract that overlapping header once, rather than repeating its offset.
 * Desktop/homepage navigation and desktop inner pages are intentionally untouched.
 */
/* The three older solution stubs (industry/wap/network) do not load the
   V2.13 stylesheet that gives the banner container a real height. Without
   this, their absolutely positioned headline is pushed above the viewport. */
body.a5idc-theme .a5-original-inner .globalBanner > .comp_container{height:100%}
body.a5idc-theme .a5-original-inner .globalBanner .pagebanner-relative{height:100%}
@media (max-width:1024px){
  /* On tablet the dedicated mobile header is active too. */
  body.a5idc-theme .a5-original-inner:not(.a5-news-page):not(.a5-introduction-v29) .globalBanner{
    height:300px!important;
    min-height:300px!important;
  }
  body.a5idc-theme .a5-original-inner:not(.a5-news-page):not(.a5-introduction-v29) .globalBanner .pagebanner .pagebanner-text .pagebanner-title{
    margin-top:0!important;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-empty-banner + .a5-news-main{
    margin-top:calc(-1 * (var(--banner_height,320px) - 16px))!important;
  }
  /* Article/search/category templates have a *different* news banner.
     They must never inherit the overlapping empty-banner negative margin. */
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-banner{
    min-height:0!important;
    padding:36px 0 36px!important;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-banner + .a5-news-main{
    margin-top:0!important;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .main-row{
    display:block!important;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .main-row .et-right{
    display:none!important;
  }
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-banner{
    height:300px!important;
    min-height:300px!important;
  }
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-tabs{
    top:58px;
  }
}
@media (max-width:768px){
  /* Source mobile banner: 249px including the 62px overlaying nav.
     Standalone header occupies its own 58px; 200px is the visible equivalent. */
  body.a5idc-theme .a5-original-inner:not(.a5-news-page):not(.a5-introduction-v29) .globalBanner{
    height:205px!important;
    min-height:205px!important;
  }
  body.a5idc-theme .a5-original-inner:not(.a5-news-page):not(.a5-introduction-v29) .globalBanner .pagebanner .pagebanner-text .pagebanner-title{
    margin:0 0 7px!important;
    font-size:24px;
    line-height:1.35;
  }
  body.a5idc-theme .a5-original-inner:not(.a5-news-page):not(.a5-introduction-v29) .globalBanner .pagebanner .pagebanner-text .pagebanner-description{
    line-height:1.65;
  }
  body.a5idc-theme .a5-original-inner:not(.a5-news-page):not(.a5-introduction-v29) .globalBanner .pagebanner .pagebanner-button{
    margin-top:10px!important;
  }
  /* News/help pages use a tall pale-blue backdrop behind an overlapping
     search card. Pull the card to just below the 58px mobile navbar. */
  body.a5idc-theme .a5-original-inner.a5-news-page{
    --banner_height:260px;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-empty-banner + .a5-news-main{
    margin-top:calc(-1 * (var(--banner_height) - 14px))!important;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-banner{
    padding:20px 0 22px!important;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-banner .pagebanner-title{
    font-size:23px;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-banner .unique_search_container{
    margin-top:12px;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-searchbox{
    min-height:138px!important;
    height:138px;
    padding:15px 16px!important;
    margin-bottom:10px;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-searchbox .pagebanner{
    gap:10px;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-searchbox .pagebanner-title{
    font-size:18px;
    line-height:1.45;
    margin:0;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-searchbox .searchTerms{
    display:none!important;
  }
  body.a5idc-theme .a5-original-inner.a5-news-page .a5-news-searchbox .unique_search_container{
    margin-top:10px!important;
  }
  /* Company introduction has its own banner component. */
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-banner{
    height:230px!important;
    min-height:230px!important;
  }
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-banner .pagebanner{
    top:44%;
  }
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-banner .pagebanner-title{
    font-size:26px;
  }
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-banner .pagebanner-description{
    line-height:1.65;
  }
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-banner .pagebanner-button{
    margin-top:12px;
  }
}
@media (max-width:360px){
  /* The longest banner descriptions still need room at 320px. */
  body.a5idc-theme .a5-original-inner:not(.a5-news-page):not(.a5-introduction-v29) .globalBanner{
    height:215px!important;
    min-height:215px!important;
  }
  body.a5idc-theme .a5-original-inner.a5-introduction-v29 .a5-intro-banner{
    height:250px!important;
    min-height:250px!important;
  }
}
