/* v1052 — Public mobile top hero/banner images full-width
   Mobile-only. Makes the first/top page images on small public pages span the
   full phone width and removes rounded corners. Desktop remains unchanged. */

@media (max-width: 900px){
  body:not(.home-page):not(.vge-admin-page):not(.admin-body):not([class*="admin"]) :is(
    .guide-banner-v869,
    .refund-guide-banner-v879,
    .privacy-guide-banner-v880,
    .terms-article-hero-visual-v859,
    .terms-article-hero-image-v859,
    .policy-hero-visual,
    .policy-hero-image,
    .speedup-hero-image-v806,
    .working-hero-card-v814,
    .trust-voa-hero-media-v797,
    .voa-hero-media-v797,
    .emergency-hero-image-v787FR,
    .emergency-article-hero-image-v787FR,
    .evisa-correction-hero-image-v804,
    .article-hero-image,
    .guide-article-visual,
    .page-hero-image,
    .hero-image-card,
    .hero-visual-card
  ){
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding-left:0 !important;
    padding-right:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }

  body:not(.home-page):not(.vge-admin-page):not(.admin-body):not([class*="admin"]) :is(
    .guide-banner-v869,
    .refund-guide-banner-v879,
    .privacy-guide-banner-v880,
    .terms-article-hero-visual-v859,
    .terms-article-hero-image-v859,
    .policy-hero-visual,
    .policy-hero-image,
    .speedup-hero-image-v806,
    .working-hero-card-v814,
    .trust-voa-hero-media-v797,
    .voa-hero-media-v797,
    .emergency-hero-image-v787FR,
    .emergency-article-hero-image-v787FR,
    .evisa-correction-hero-image-v804,
    .article-hero-image,
    .guide-article-visual,
    .page-hero-image,
    .hero-image-card,
    .hero-visual-card
  ) img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    border-radius:0 !important;
    object-fit:cover !important;
  }

  body:not(.home-page):not(.vge-admin-page):not(.admin-body):not([class*="admin"]) :is(
    .guide-banner-v869,
    .refund-guide-banner-v879,
    .privacy-guide-banner-v880,
    .terms-article-hero-visual-v859,
    .terms-article-hero-image-v859,
    .policy-hero-visual,
    .policy-hero-image,
    .article-hero-image,
    .guide-article-visual,
    .page-hero-image,
    .hero-image-card,
    .hero-visual-card
  ){
    box-shadow:none !important;
  }
}

/* Extra hardfix for article pages whose image wrapper is inside a narrow card.
   Keep only mobile affected. */
@media (max-width: 520px){
  body:not(.home-page):not(.vge-admin-page):not(.admin-body):not([class*="admin"]) :is(
    .terms-article-hero-v859,
    .refund-guide-hero-v879,
    .privacy-guide-hero-v880,
    .guide-hero-banner-v869
  ) :is(img,picture){
    border-radius:0 !important;
  }
}
