/*
 ASEMANEEHA - PHASE 294
 Match the approved home footer styling on internal pages.

 Source of styling:
 Phase 233, 235, 236, 237 and 238.

 Home footer excluded.
 Desktop unchanged.
*/

@media screen and (max-width: 640px) {

  /* Footer container */

  div.h-screen:has(> img[src="/images/footerCloude2.png"]):not(.asem-home-footer-222) {
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 60px !important;
    padding-bottom: 0 !important;
    isolation: isolate;
  }

  /* Cloud images */

  div.h-screen:has(> img[src="/images/footerCloude2.png"]):not(.asem-home-footer-222)
  > img[src="/images/footerCloude2.png"] {
    height: 100% !important;
    max-width: 100% !important;
  }

  /* Same final white gradient as the home footer */

  div.h-screen:has(> img[src="/images/footerCloude2.png"]):not(.asem-home-footer-222)
  > div.w-full.relative {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.82) 0%,
      rgba(255,255,255,0.94) 14%,
      rgba(255,255,255,0.98) 32%,
      rgba(255,255,255,1) 55%,
      rgba(255,255,255,1) 100%
    ) !important;

    margin-top: 30px !important;
    padding: 33px 10px 38px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Organization headings */

  div.h-screen:has(> img[src="/images/footerCloude2.png"]):not(.asem-home-footer-222)
  > div.w-full.relative > p {
    color: #164c57 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.85) !important;
    background: transparent !important;
    text-align: center !important;
    line-height: 1.9 !important;
    overflow-wrap: anywhere !important;
  }

  /* Contact section */

  div.h-screen:has(> img[src="/images/footerCloude2.png"]):not(.asem-home-footer-222)
  .martyrFooter {
    color: #173F49 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    padding-bottom: 70px !important;
    padding-left: 65px !important;
  }

  div.h-screen:has(> img[src="/images/footerCloude2.png"]):not(.asem-home-footer-222)
  .martyrFooter p {
    color: #173F49 !important;
    text-shadow: none !important;
    line-height: 1.95 !important;
    overflow-wrap: anywhere !important;
  }

  /* Logo proportions */

  div.h-screen:has(> img[src="/images/footerCloude2.png"]):not(.asem-home-footer-222)
  img[src*="footerLogo"] {
    max-width: 200px !important;
    height: auto !important;
  }

}