/*
 ASEMANEEHA PHASE 285
 Target: Mobile home layout only
 Desktop unchanged
*/

@media (max-width: 640px) {

  /* Prevent horizontal movement of the home page */
  .asem-home-responsive-223 {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  /* Home title: larger, readable, allowed to wrap */
  .asem-home-responsive-223 .asem-home-title-223 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 0 5px !important;
    margin: 0 auto !important;

    font-size: clamp(20px, 5.8vw, 26px) !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    letter-spacing: normal !important;

    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Home banner: remove the slide's unnecessary side padding */
  .asem-home-responsive-223
  .swiper:has(img[src*="/images/home/banner/top-center.png"])
  .swiper-slide {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .asem-home-responsive-223
  .swiper:has(img[src*="/images/home/banner/top-center.png"])
  .swiper-slide > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Organization name: larger text, no forced single line */
  .asem-home-responsive-223
  .flex.flex-1.flex-col.items-end.justify-end.text-white:has(
    > span.font-benazanin
  ) {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    justify-content: center !important;

    gap: 2px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .asem-home-responsive-223
  .flex.flex-1.flex-col.items-end.justify-end.text-white
  > span.font-benazanin {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    font-size: clamp(15px, 4vw, 18px) !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-align: right !important;
    box-sizing: border-box !important;
  }
}