/* تنسيق الجوال المعتمد، مع إعادة التدفق عند التكبير. */
#publicSite .desktop-landing {
  display: none;
}

#publicSite .mobile-landing {
  font-family: HudoorLanding,sans-serif;
  display: block;
  background: #fff;
  color: #09263c;
  overflow-x: clip;
  overflow-y: visible;
}

#publicSite .m-wrap {
  width: calc(100% - 36px);
  max-width: 660px;
  margin-inline: auto;
}

#publicSite .m-hero {
  position: relative;
  isolation: isolate;
  color: white;
  overflow: visible;
}

#publicSite .m-header {
  position: relative;
  z-index: 5;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#publicSite .m-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #fff;
}

#publicSite .m-brand img {
  width: 38px;
  height: 38px;
  padding: 2px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
}

#publicSite .m-brand>span {
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1px;
}

#publicSite .m-brand b {
  color: #edc373;
}

#publicSite .m-hero h1 {
  text-align: right;
}

#publicSite .m-hero h1 span {
  color: #eec271;
}

#publicSite .m-actions {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: 9px;
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

#publicSite .m-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 50px;
  border-radius: 8px;
  padding: 10px 7px;
  font: 700 clamp(14px,3.5vw,17px)/1.5 HudoorLanding,sans-serif;
  cursor: pointer;
  text-align: center;
  transition: background .2s,box-shadow .2s;
}

#publicSite .m-button svg {
  width: 19px;
  height: 19px;
}

#publicSite .m-button span {
  white-space: nowrap;
}

#publicSite .m-login {
  border: 1px solid #fff;
  background: linear-gradient(120deg,#fff,#e9f1f7);
  color: #092b44;
  box-shadow: 0 3px 14px #0003;
}

#publicSite .m-activate {
  color: #092237;
  border: 1px solid #f5d69a;
  background: linear-gradient(110deg,#e5b762,#f2d18b 55%,#edbf67);
  box-shadow: inset 0 1px 0 #fff5;
}

#publicSite .m-login:hover {
  background: #fff;
  box-shadow: 0 4px 16px #0004;
}

#publicSite .m-activate:hover {
  box-shadow: inset 0 0 0 1px #ffedc3,0 3px 14px #edbf6730;
}

#publicSite .m-hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

#publicSite .m-cards {
  margin-top: 20px;
}

#publicSite .m-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: linear-gradient(110deg,#f1f9ff,#e4f2ff);
}

#publicSite .m-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 45px;
  height: 45px;
  border-radius: 11px;
  background: #cce7ff;
  color: #0b304c;
}

#publicSite .m-card-icon svg {
  width: 29px;
  height: 29px;
}

#publicSite .m-card h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: -.3px;
}

#publicSite .m-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #40566b;
}

#publicSite .m-card-noor {
  border-color: #edddbc;
}

#publicSite .m-feature-list {
  list-style: none;
}

#publicSite .m-feature-list li {
  position: relative;
  text-align: right;
}

#publicSite .m-feature-list li:nth-child(odd)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: #dae4ea;
}

#publicSite .m-feature-list svg {
  color: #946a22;
  width: 25px;
  height: 25px;
}

#publicSite .m-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

#publicSite .m-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
}

#publicSite .m-footer-curve {
  position: absolute;
  inset: -1px 0 auto;
  width: 100%;
}

#publicSite .m-footer .m-actions {
  margin-top: 0;
}

#publicSite .m-footer-links {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin-inline: auto;
}

#publicSite .m-footer-links a {
  display: flex;
  align-items: center;
  position: relative;
}

#publicSite .m-payments {
  border-top: 1px solid #7791a64d;
}

#publicSite .m-payments p {
  margin-bottom: 9px;
}

#publicSite .m-payment-cards {
  display: flex;
  direction: ltr;
  justify-content: center;
}

#publicSite .m-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e4ea;
}

#publicSite .m-payment-logo {
  display: block;
  width: 44px;
  height: 28px;
  background-image: url('../assets/landing/payment-methods.png');
  background-size: 465px 73px;
  background-repeat: no-repeat;
}

#publicSite .m-payment-apple {
  background-position: -245px -29px;
}

#publicSite .m-payment-mada {
  background-position: -169px -29px;
}

#publicSite .m-payment-visa {
  background-position: -93px -29px;
}

#publicSite .m-payment-mastercard {
  background-position: -17px -29px;
}

@media (min-width:600px) {
  #publicSite .m-actions {
    margin-top: 30px;
  }

  #publicSite .m-button {
    min-height: 54px;
  }

  #publicSite .m-card {
    padding: 20px;
  }

  #publicSite .m-card h3 {
    font-size: 22px;
  }

  #publicSite .m-card p {
    font-size: 17px;
  }

  #publicSite .m-card-icon {
    flex-basis: 54px;
    height: 54px;
  }

}

@media (max-width:359px) {
  #publicSite .m-wrap {
    width: calc(100% - 28px);
  }

  #publicSite .m-button {
    font-size: 14px;
    gap: 5px;
    padding-inline: 5px;
  }

  #publicSite .m-button svg {
    width: 17px;
    height: 17px;
  }

  #publicSite .m-card {
    padding: 14px 10px;
    gap: 10px;
  }

  #publicSite .m-card h3 {
    font-size: 17px;
  }

  #publicSite .m-card p {
    font-size: 14px;
  }

  #publicSite .m-feature-list li {
    padding-inline: 7px;
  }

  #publicSite .m-feature-list svg {
    width: 22px;
    height: 22px;
  }

}

@media (max-width:299px) {
  #publicSite .m-hero h1 {
    font-size: 28px;
  }

  #publicSite .m-actions {
    grid-template-columns: 1fr;
  }

  #publicSite .m-feature-list li:nth-child(odd)::after {
    display: none;
  }

  #publicSite .m-payment-cards {
    flex-wrap: wrap;
  }

}

#publicSite .mobile-landing :is(a,button):focus-visible {
  outline: 3px solid #2b9bdd;
  outline-offset: 4px;
}

@media (prefers-reduced-motion:reduce) {
  #publicSite .m-button {
    transition: none;
  }

}

#publicSite .m-hero {
  background: #fefaf2;
  /* يملأ القسم الشاشة ويتمدّد مع المحتوى حتى لا تُقصّ إجراءات الدخول. */
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: 57px;
}

#publicSite .m-hero::before,
#publicSite .m-hero::after {
  display: none;
}

#publicSite .m-hero .m-header {
  height: 48px;
  width: 100%;
  max-width: none;
  padding-inline: max(14px,calc((100% - 660px)/2));
  background: #021525;
  border-bottom: 1px solid #aecada15;
}

#publicSite .m-header .m-brand {
  gap: 7px;
}

#publicSite .m-header .m-brand img {
  width: 31px;
  height: 31px;
}

#publicSite .m-header .m-brand>span {
  font-size: 24px;
}

#publicSite .m-hero-content {
  padding-top: 0;
  width: calc(100% - 28px);
  max-width: 660px;
}

#publicSite .m-hero-layout {
  position: relative;
  isolation: isolate;
  display: flow-root;
  padding-top: 17px;
  max-width: 660px;
}

#publicSite .m-hero h1 {
  position: relative;
  z-index: 2;
  margin-inline-start: 0;
  margin-inline-end: auto;
  font-size: clamp(29px,8vw,46px);
  line-height: 1.2;
  letter-spacing: -.5px;
}

#publicSite .m-hero h1 span {
  display: block;
  letter-spacing: -.65px;
  margin-top: 7px;
}

#publicSite .m-intro {
  position: relative;
  z-index: 2;
  container-type: inline-size;
  width: 100%;
  margin: 12px 0 0 auto;
  padding: 9px 10px;
  border: 1px solid #eac16f70;
  border-radius: 12px;
  background: linear-gradient(120deg,#082a40d9,#042238b8);
  box-shadow: 0 6px 18px #0013201a,inset 0 1px 0 #eac16f0d;
  font-size: min(3.4vw,26px);
  font-weight: 500;
  line-height: 1.8;
  color: #f0f4f7;
  text-align: right;
  text-shadow: 0 2px 8px #02152599;
}

#publicSite .m-intro>span {
  display: block;
  font-size: 4.2cqw;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

#publicSite .m-scene {
  position: relative;
  z-index: 0;
  width: calc(100% + 28px);
  margin: 24px -14px 0;
  padding-bottom: 16px;
  direction: ltr;
  pointer-events: none;
  aspect-ratio: auto;
  overflow: hidden;
}

#publicSite .m-scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 32%;
  background: none;
}

#publicSite .m-scene>img {
  /* الصورة القديمة مدمجة مع الأجهزة؛ نحفظ مساحتها لحين اعتماد بديل مستقل. */
  visibility: hidden;
  display: block;
  width: 100%;
  height: auto;
}

#publicSite .m-hero-shortcuts {
  position: absolute;
  z-index: 2;
  top: 32%;
  right: 3.5%;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(6px,2vw,12px);
  width: 32.5%;
  min-width: 96px;
  direction: rtl;
  pointer-events: auto;
}

#publicSite .m-hero-shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px,.6vw,4px);
  min-width: 0;
  aspect-ratio: 1;
  padding: clamp(2.5px,.8vw,6px) 2px;
  border: 1.5px solid #e8bf72;
  border-radius: clamp(9px,2.3vw,15px);
  background: transparent;
  box-shadow: 0 1px 3px #00101a40;
  color: #ffe5a3;
  font: 700 clamp(12px,3.65vw,23px)/1.1 HudoorLanding,sans-serif;
  text-align: center;
  text-shadow: 0 1px 1px #000b1e;
  transition: border-color .2s,box-shadow .2s;
}

#publicSite .m-hero-shortcut::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid #e7bd6660;
  border-inline-color: transparent;
  border-radius: calc(clamp(9px,2.3vw,15px) - 4px);
  pointer-events: none;
}

#publicSite .m-hero-shortcut::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid #ffe9ae;
  background: #d5a34c;
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

#publicSite .m-hero-shortcut>span {
  white-space: nowrap;
}

#publicSite .m-hero-shortcut>svg {
  width: clamp(21px,7vw,45px);
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 1px 1px #000c1ebf);
}

#publicSite .m-hero-shortcut:hover,
#publicSite .m-hero-shortcut:focus-visible {
  border-color: #ffedba;
  box-shadow: 0 0 0 2px #f4ce7b55,0 2px 6px #00101a40;
}

#publicSite [id^="mobile-feature-"] {
  scroll-margin-top: 18px;
}

#publicSite .m-hero .m-actions {
  margin-top: 10px;
  gap: clamp(8px,2.4vw,12px);
}

#publicSite .m-hero .m-button {
  position: relative;
  min-height: clamp(54px,13.5vw,58px);
  padding: 10px 6px;
  gap: 6px;
  border-radius: 13px;
  font-size: clamp(14px,3.65vw,17px);
  transition: none;
}

#publicSite .m-hero .m-button::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--button-inner-border);
  border-radius: 9px;
  pointer-events: none;
}

#publicSite .m-hero .m-login {
  --button-inner-border: #fff;
  color: #092b44;
  border: 1px solid #dccba5;
  background: linear-gradient(145deg,#fff 15%,#f5f8fa 60%,#e7edf1);
  box-shadow: inset 0 1px 0 #fff,0 2px 0 #b5c0c9,0 6px 12px #00111d30;
}

#publicSite .m-hero .m-login svg {
  width: clamp(22px,5.6vw,26px);
  height: clamp(22px,5.6vw,26px);
  padding: 3px;
  border-radius: 7px;
  background: #092b4409;
}

#publicSite .m-hero .m-activate {
  --button-inner-border: #fff1c278;
  color: #092237;
  border: 1px solid #f8dda2;
  background: linear-gradient(135deg,#f7dda0 0%,#edc675 45%,#dfb25e 100%);
  box-shadow: inset 0 1px 0 #fff0c8,0 2px 0 #b98d41,0 6px 14px #00111d38;
  text-shadow: 0 1px 0 #fff2c73d;
}

#publicSite .m-hero .m-button:focus-visible {
  outline: 3px solid #ffe5a3;
  outline-offset: 4px;
}

@media (hover:hover) {
  #publicSite .m-hero .m-button:hover {
    transform: translateY(-1px);
    border-color: #fff0c1;
    box-shadow: inset 0 1px 0 #fff6,0 3px 0 #b593534d,0 8px 18px #00111d4d;
  }
}

#publicSite .m-hero .m-button:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px #0922371f,0 2px 5px #00111d33;
}

@media (prefers-reduced-motion:no-preference) {
  #publicSite .m-hero .m-button {
    transition: transform .16s,box-shadow .16s,border-color .16s;
  }
}

#publicSite .m-hero-curve {
  display: none;
  height: 47px;
}

@media (min-width:600px) {
  #publicSite .m-hero-layout {
    padding-top: 24px;
  }

  #publicSite .m-hero .m-actions {
    margin-top: 12px;
  }

  #publicSite .m-hero {
    padding-bottom: 66px;
  }

}

@media (max-width:359px) {
  #publicSite .m-hero-layout {
    padding-top: 15px;
  }

  #publicSite .m-hero h1 {
    font-size: 27px;
    width: 57%;
  }

  #publicSite .m-intro {
    margin-top: 11px;
  }

}

@media (max-width:299px) {
  #publicSite .m-hero h1,
  #publicSite .m-intro {
    width: 100%;
  }

  #publicSite .m-hero h1 span {
    font-size: 5.2vw;
  }

  #publicSite .m-hero .m-actions {
    margin-top: 12px;
  }

}

#publicSite .m-hero h1 {
  width: 100%;
}

#publicSite .m-hero h1 span {
  white-space: nowrap;
  font-size: clamp(17px,5.45vw,33px);
  line-height: 1.4;
}

@media (max-width:359px) {
  #publicSite .m-hero h1 span {
    font-size: 5.2vw;
    letter-spacing: -.45px;
  }

}

#publicSite .m-features {
  padding-block: 18px 32px;
  background: #fff;
  text-align: right;
}

#publicSite .m-cards {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-auto-rows: auto;
  gap: 12px;
  margin: 0;
}

#publicSite .m-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  padding: 18px 14px;
  border: 1px solid #d7b878;
  border-radius: 15px;
  box-shadow: 0 8px 20px #6447170b;
  text-align: right;
}

#publicSite .m-card-clock {
  display: grid;
  grid-template-columns: minmax(0,1fr) 112px;
  gap: 14px 10px;
  align-items: center;
  background: linear-gradient(115deg,#faf7f1,#fff 68%);
  padding: 14px 13px 17px;
}

#publicSite .m-card-clock .m-card-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

#publicSite .m-card-clock .m-gold-clock {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 112px;
  border-radius: 0;
  background: none;
  filter: drop-shadow(0 6px 5px #74561f25);
}

#publicSite .m-card-clock .m-gold-clock::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: #dbdad5;
}

#publicSite .m-card-clock .m-gold-clock svg {
  width: 100%;
  height: 100%;
}

#publicSite .m-card-clock h3 {
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: -.5px;
  color: #08283e;
}

#publicSite .m-card-clock p {
  font-size: 15px;
  line-height: 1.65;
  color: #647582;
  margin: 0;
}

#publicSite .m-attendance-types {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

#publicSite .m-attendance-types li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  padding: 0 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
  color: #092a40;
}

#publicSite .m-attendance-types li:first-child {
  padding-right: 0;
}

#publicSite .m-attendance-types li:last-child {
  padding-left: 0;
  flex: 1.35;
}

#publicSite .m-attendance-types li+li {
  border-right: 1px solid #dedbd3;
}

#publicSite .m-attendance-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f7f0e3;
  color: #926719;
}

#publicSite .m-attendance-icon svg {
  width: 20px;
  height: 20px;
}

#publicSite .m-card-chat,
#publicSite .m-card-noor {
  display: grid;
  grid-template-columns: 53px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  min-height: 102px;
  padding: 19px 14px;
}

#publicSite .m-card-chat {
  background: linear-gradient(115deg,#082d45,#183d53);
  border-color: #37647a;
  color: #fff;
}

#publicSite .m-card-noor {
  background: linear-gradient(110deg,#f5efe4,#fffdfa 70%);
  color: #092a40;
}

#publicSite .m-card-chat::before,
#publicSite .m-card-noor::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  left: -145px;
  bottom: -108px;
  border: 1px solid #5a91ad7a;
  box-shadow: 0 0 0 23px #6190a612,0 0 0 24px #739bad18,0 0 0 48px #6190a60c,0 0 0 49px #739bad15,0 0 0 78px #6190a60b;
  pointer-events: none;
}

#publicSite .m-card-noor::before {
  border-color: #fff;
  box-shadow: 0 0 0 23px #e9dfca26,0 0 0 24px #fff,0 0 0 48px #e9dfca1c,0 0 0 49px #fff,0 0 0 78px #e9dfca26;
}

#publicSite .m-card-chat .m-card-icon,
#publicSite .m-card-noor .m-card-icon {
  width: 53px;
  height: 55px;
  flex: none;
  border-radius: 15px;
  border: 1px solid #fff;
  box-shadow: inset 0 0 0 2px #ffffff60,0 5px 9px #001c2c26;
}

#publicSite .m-card-chat .m-card-icon {
  background: linear-gradient(135deg,#f4fff5,#dbf1e4);
  color: #14a45c;
}

#publicSite .m-card-noor .m-card-icon {
  background: linear-gradient(135deg,#fffefb,#f2ece0);
  color: #916718;
  box-shadow: inset 0 0 0 2px #ffffff80,0 5px 9px #8e6a2420;
  border-color: #ebdfcc;
}

#publicSite .m-card-chat .m-card-icon svg,
#publicSite .m-card-noor .m-card-icon svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 0 #fff);
}

#publicSite .m-card-chat h3,
#publicSite .m-card-noor h3 {
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 6px;
  letter-spacing: -.35px;
}

#publicSite .m-card-chat p,
#publicSite .m-card-noor p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: #607584;
}

#publicSite .m-card-chat p {
  color: #c1d2df;
}

#publicSite .m-feature-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

#publicSite .m-feature-list li {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  padding: 12px 9px;
  border: 1px solid #e8e0d3;
  border-radius: 12px;
  background: linear-gradient(125deg,#fff,#fffefd);
  box-shadow: 0 7px 16px #62431308;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #0b2b40;
}

#publicSite .m-feature-list li:nth-child(n+3) {
  border-top: 1px solid #e8e0d3;
}

#publicSite .m-feature-list li:nth-child(odd)::after {
  display: none;
}

#publicSite .m-secondary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 39px;
  border-radius: 11px;
  background: linear-gradient(130deg,#faf2e4,#fbf7ef);
}

#publicSite .m-feature-list .m-secondary-icon svg {
  width: 25px;
  height: 25px;
  color: #906619;
}

@media (min-width:420px) {
  #publicSite .m-card-clock {
    grid-template-columns: minmax(0,1fr) 126px;
  }

  #publicSite .m-card-clock .m-gold-clock {
    width: 126px;
  }

  #publicSite .m-card-clock h3 {
    font-size: 27px;
  }

  #publicSite .m-card-clock p {
    font-size: 16px;
  }

  #publicSite .m-attendance-types li {
    font-size: 15px;
  }

  #publicSite .m-feature-list li {
    font-size: 15px;
    grid-template-columns: 39px minmax(0,1fr);
    padding: 13px 10px;
  }

  #publicSite .m-secondary-icon {
    width: 39px;
    height: 42px;
  }

}

@media (min-width:600px) {
  #publicSite .m-features {
    padding-block: 24px 38px;
  }

  #publicSite .m-cards {
    gap: 17px;
  }

  #publicSite .m-card {
    border-radius: 20px;
  }

  #publicSite .m-card-clock {
    grid-template-columns: minmax(0,1fr) 185px;
    padding: 22px;
    gap: 20px;
  }

  #publicSite .m-card-clock .m-gold-clock {
    width: 185px;
  }

  #publicSite .m-card-clock h3 {
    font-size: 38px;
  }

  #publicSite .m-card-clock p {
    font-size: 23px;
  }

  #publicSite .m-attendance-types li {
    font-size: 21px;
    gap: 12px;
  }

  #publicSite .m-attendance-icon {
    width: 43px;
    height: 43px;
  }

  #publicSite .m-attendance-icon svg {
    width: 28px;
    height: 28px;
  }

  #publicSite .m-card-chat,
  #publicSite .m-card-noor {
    grid-template-columns: 76px minmax(0,1fr);
    gap: 20px;
    padding: 25px;
    min-height: 140px;
  }

  #publicSite .m-card-chat h3,
  #publicSite .m-card-noor h3 {
    font-size: 30px;
  }

  #publicSite .m-card-chat p,
  #publicSite .m-card-noor p {
    font-size: 21px;
  }

  #publicSite .m-card-chat .m-card-icon,
  #publicSite .m-card-noor .m-card-icon {
    width: 76px;
    height: 78px;
    border-radius: 21px;
  }

  #publicSite .m-card-chat .m-card-icon svg,
  #publicSite .m-card-noor .m-card-icon svg {
    width: 49px;
    height: 49px;
  }

  #publicSite .m-feature-list {
    gap: 14px;
    margin-top: 20px;
  }

  #publicSite .m-feature-list li {
    grid-template-columns: 55px minmax(0,1fr);
    min-height: 104px;
    padding: 17px 15px;
    gap: 14px;
    font-size: 20px;
    border-radius: 16px;
  }

  #publicSite .m-secondary-icon {
    width: 55px;
    height: 59px;
    border-radius: 16px;
  }

  #publicSite .m-feature-list .m-secondary-icon svg {
    width: 35px;
    height: 35px;
  }

}

@media (max-width:359px) {
  #publicSite .m-card-clock {
    grid-template-columns: minmax(0,1fr) 88px;
    padding: 12px 10px 15px;
    gap: 12px 8px;
  }

  #publicSite .m-card-clock .m-gold-clock {
    width: 88px;
  }

  #publicSite .m-card-clock h3 {
    font-size: 21px;
    margin-bottom: 7px;
  }

  #publicSite .m-card-clock p {
    font-size: 14px;
  }

  #publicSite .m-attendance-types li {
    font-size: 12px;
    gap: 4px;
    padding-inline: 5px;
  }

  #publicSite .m-attendance-icon {
    width: 25px;
    height: 25px;
  }

  #publicSite .m-attendance-icon svg {
    width: 17px;
    height: 17px;
  }

  #publicSite .m-card-chat,
  #publicSite .m-card-noor {
    grid-template-columns: 46px minmax(0,1fr);
    padding: 16px 11px;
    gap: 10px;
  }

  #publicSite .m-card-chat .m-card-icon,
  #publicSite .m-card-noor .m-card-icon {
    width: 46px;
    height: 49px;
    border-radius: 13px;
  }

  #publicSite .m-card-chat h3,
  #publicSite .m-card-noor h3 {
    font-size: 19px;
  }

  #publicSite .m-card-chat p,
  #publicSite .m-card-noor p {
    font-size: 13px;
  }

  #publicSite .m-feature-list {
    gap: 8px;
  }

  #publicSite .m-feature-list li {
    grid-template-columns: 29px minmax(0,1fr);
    gap: 6px;
    font-size: 13px;
    padding: 10px 7px;
    min-height: 76px;
  }

  #publicSite .m-secondary-icon {
    width: 29px;
    height: 33px;
    border-radius: 9px;
  }

  #publicSite .m-feature-list .m-secondary-icon svg {
    width: 22px;
    height: 22px;
  }

}

@media (max-width:299px) {
  #publicSite .m-card-clock {
    grid-template-columns: 1fr;
  }

  #publicSite .m-card-clock .m-gold-clock {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  #publicSite .m-card-clock .m-gold-clock::after {
    display: none;
  }

  #publicSite .m-attendance-types {
    flex-wrap: wrap;
    gap: 9px;
  }

  #publicSite .m-attendance-types li {
    flex: auto;
  }

  #publicSite .m-attendance-types li+li {
    border: 0;
  }

  #publicSite .m-feature-list {
    grid-template-columns: 1fr;
  }

  #publicSite .m-card-chat,
  #publicSite .m-card-noor {
    grid-template-columns: 1fr;
  }

  #publicSite .m-card-clock h3 {
    font-size: 23px;
  }

}

@media (min-width:360px) and (max-width:389px) {
  #publicSite .m-attendance-types li {
    font-size: 13px;
    gap: 4px;
    padding-inline: 5px;
  }

  #publicSite .m-attendance-icon {
    width: 28px;
    height: 28px;
  }

  #publicSite .m-attendance-icon svg {
    width: 19px;
    height: 19px;
  }

}

#publicSite .m-card-clock {
  padding-top: 9px;
  padding-bottom: 11px;
  row-gap: 7px;
  border-top-color: #c59843;
  box-shadow: 0 -4px 12px #c4933526,0 7px 18px #6447170a;
}

#publicSite .m-card-clock::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,#d9bd7d66,#bd862c 35%,#efd698 68%,#d9bd7d66);
  box-shadow: 0 3px 10px #cc9b4350;
  pointer-events: none;
}

#publicSite .m-card-clock .m-gold-clock {
  height: 100px;
}

#publicSite .m-card-clock h3 {
  margin-bottom: 6px;
}

@media (min-width:420px) {
  #publicSite .m-card-clock .m-gold-clock {
    height: 108px;
  }

}

@media (min-width:600px) {
  #publicSite .m-card-clock {
    padding-top: 14px;
    padding-bottom: 16px;
    row-gap: 12px;
  }

  #publicSite .m-card-clock .m-gold-clock {
    height: 158px;
  }

}

@media (max-width:359px) {
  #publicSite .m-card-clock {
    padding-top: 8px;
    padding-bottom: 10px;
    row-gap: 6px;
  }

  #publicSite .m-card-clock .m-gold-clock {
    height: 85px;
  }

}

#publicSite .m-footer {
  padding: 8px 0 12px;
  background: linear-gradient(145deg,#10384f 0%,#06243a 45%,#021928 100%);
}

#publicSite .m-footer::before {
  background: radial-gradient(ellipse at 50% 0,#2a586649,transparent 62%);
  inset: 0;
}

#publicSite .m-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 145%;
  height: 300px;
  left: -35%;
  top: -195px;
  border-radius: 50%;
  transform: rotate(-13deg);
  border: 26px solid #5681970c;
  box-shadow: 0 0 0 40px #56819708,95px 260px 0 10px #56819708;
  pointer-events: none;
}

#publicSite .m-footer-curve {
  height: 27px;
  z-index: 0;
}

#publicSite .m-footer>.m-wrap {
  position: relative;
  z-index: 1;
}

#publicSite .m-footer .m-actions {
  grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);
  gap: 8px;
  margin: 0;
  padding: 8px;
  border: 1px solid #3b687d80;
  border-radius: 17px;
  background: linear-gradient(145deg,#153c52,#07283f);
  box-shadow: 0 5px 14px #00132133,inset 0 1px 0 #bdddea15;
}

#publicSite .m-footer .m-button {
  min-height: 44px;
  padding: 7px 4px;
  font-size: 14px;
  gap: 6px;
  border-radius: 10px;
}

#publicSite .m-footer .m-button svg {
  width: 21px;
  height: 21px;
  flex: none;
}

#publicSite .m-footer-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 9px 0 8px;
  padding-bottom: 6px;
}

#publicSite .m-footer-brand::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 25px;
  height: 1px;
  border-radius: 1px;
  background: #e4b75c;
}

#publicSite .m-footer-brand .m-brand {
  gap: 7px;
}

#publicSite .m-footer-brand .m-brand img {
  width: 29px;
  height: 29px;
}

#publicSite .m-footer-brand .m-brand>span {
  font-size: 23px;
}

#publicSite .m-footer-links {
  max-width: none;
  gap: 0;
  padding: 3px 7px;
  border: 1px solid #41657c99;
  border-radius: 13px;
  background: linear-gradient(120deg,#1d435733,#183d5222);
  box-shadow: inset 0 1px 0 #ffffff05;
}

#publicSite .m-footer-links a {
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 5px 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #f1f5f8;
  text-align: right;
}

#publicSite .m-footer-links a:nth-child(even) {
  border-inline-start: 1px solid #6b8b9c38;
}

#publicSite .m-footer-links a:nth-child(n+3) {
  border-top: 1px solid #6b8b9c38;
}

#publicSite .m-footer-links a svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: #e8bd69;
}

#publicSite .m-footer-links a:hover {
  color: #f2cd87;
  background: #ffffff06;
}

#publicSite .m-payments {
  margin-top: 9px;
  padding-top: 0;
  border: 0;
}

#publicSite .m-payments p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.5;
  color: #cadbe6;
}

#publicSite .m-payments p::before,
#publicSite .m-payments p::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg,#d9a84644,#e0b760);
}

#publicSite .m-payments p::after {
  transform: rotate(180deg);
}

#publicSite .m-payment-cards {
  gap: 8px;
}

#publicSite .m-payment {
  width: 56px;
  height: 33px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px #f4f5f6;
}

#publicSite .m-copyright {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  color: #b9ccda;
}

@media (min-width:600px) {
  #publicSite .m-footer {
    padding-top: 10px;
    padding-bottom: 16px;
  }

  #publicSite .m-footer .m-actions {
    padding: 10px;
    gap: 12px;
  }

  #publicSite .m-footer .m-button {
    min-height: 46px;
    font-size: 17px;
  }

  #publicSite .m-footer-brand {
    margin-block: 11px 10px;
  }

  #publicSite .m-footer-brand .m-brand>span {
    font-size: 26px;
  }

  #publicSite .m-footer-brand .m-brand img {
    width: 32px;
    height: 32px;
  }

  #publicSite .m-footer-links a {
    font-size: 17px;
    padding-inline: 18px;
    gap: 12px;
    min-height: 48px;
  }

  #publicSite .m-footer-links a svg {
    width: 24px;
    height: 24px;
  }

  #publicSite .m-payments p {
    font-size: 14px;
  }

  #publicSite .m-payment {
    width: 64px;
    height: 36px;
  }

  #publicSite .m-copyright {
    font-size: 12px;
  }

}

@media (max-width:359px) {
  #publicSite .m-footer .m-actions {
    padding: 6px;
    gap: 6px;
    border-radius: 14px;
  }

  #publicSite .m-footer .m-button {
    font-size: 12.5px;
    gap: 4px;
  }

  #publicSite .m-footer .m-button svg {
    width: 18px;
    height: 18px;
  }

  #publicSite .m-footer-links {
    padding-inline: 5px;
  }

  #publicSite .m-footer-links a {
    font-size: 12.5px;
    gap: 5px;
    padding-inline: 5px;
  }

  #publicSite .m-footer-links a svg {
    width: 18px;
    height: 18px;
  }

}

@media (max-width:299px) {
  #publicSite .m-footer .m-actions,
  #publicSite .m-footer-links {
    grid-template-columns: 1fr;
  }

  #publicSite .m-footer-links a:nth-child(even) {
    border-inline-start: 0;
  }

  #publicSite .m-footer-links a+a {
    border-top: 1px solid #6b8b9c38;
  }

}

/* الكمبيوتر مستقل عن الخلفية وبنفس شاشة وإطار نسخة الكمبيوتر، بحجم يناسب الجوال. */
#publicSite .m-laptop {
  position: relative;
  width: 74%;
  margin-inline: auto;
  container-type: inline-size;
  transform: none;
  transform-origin: center bottom;
}
#publicSite .m-laptop-lid {
  position: relative;
  padding: 2.5cqw 1.8cqw 0;
  background: linear-gradient(135deg,#152f40,#020910 55%,#173342);
  border: 1px solid #7895a8;
  border-radius: 3cqw 3cqw 1.4cqw 1.4cqw;
  box-shadow: inset 0 0 0 1px #01070c,inset 0 1px 0 #ffffff40,0 8px 18px #08223826;
}
#publicSite .m-laptop-lid>img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 1cqw;
  border: 1px solid #294e64;
}
#publicSite .m-laptop-camera {
  position: absolute;
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: #517085;
  top: 1.2cqw;
  left: 50%;
}
#publicSite .m-laptop-chin {
  font: 1.5cqw/3.4cqw sans-serif;
  letter-spacing: .6cqw;
  text-align: center;
  height: 3.4cqw;
  color: #89a4b2;
}
#publicSite .m-laptop-base {
  position: relative;
  height: 4cqw;
  width: 117%;
  margin-left: -8.5%;
  border-radius: 1px 1px 50% 50% / 1px 1px 90% 90%;
  background: linear-gradient(#8fa1ae,#273d4e 35%,#101b25 75%,#496173);
  box-shadow: 0 3px 4px #08223833,0 10px 12px -6px #08223866;
}
#publicSite .m-laptop-base span {
  position: absolute;
  width: 18%;
  height: 1.2cqw;
  background: #152836;
  top: 0;
  left: 41%;
  border-radius: 0 0 4px 4px;
}

/* مطابقة ألوان الشاشة الأولى والترويسة لنسخة الكمبيوتر مع حفظ تخطيط الجوال. */
#publicSite .m-hero {
  --gold-text: #ad843b;
}
#publicSite .m-hero .m-header {
  height: 50px;
  background: #fefaf299;
  color: #102d45;
  border-bottom: 1px solid #b99450b3;
}
#publicSite .m-header .m-brand {
  color: #102d45;
}
#publicSite .m-header .m-brand img {
  width: 38px;
  height: 38px;
  padding: 3px;
}
#publicSite .m-header .m-brand>span {
  font-size: 23px;
}
#publicSite .m-header .m-brand b,
#publicSite .m-hero h1 span {
  color: var(--gold-text);
}
#publicSite .m-hero h1 {
  color: #082238;
}
#publicSite .m-intro {
  color: #34495b;
  background: #fefaf2b3;
  text-shadow: none;
}
#publicSite .m-hero-shortcut>span {
  color: #15334a;
  text-shadow: none;
}
#publicSite .m-hero .m-login,
#publicSite .m-hero .m-activate {
  color: #102d45;
}

/* توسيط النصوص فوق الكمبيوتر المستقيم مع حفظ مساحات الشاشة الأولى. */
#publicSite .m-hero h1,
#publicSite .m-intro,
#publicSite .m-intro>span {
  text-align: center;
  text-align-last: center;
}

/* نفس مزايا الكمبيوتر وأيقوناتها، بمقاسات تحافظ على صف واحد في الجوال. */
#publicSite .m-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin: 18px 0 0;
  text-align: center;
}
#publicSite .m-benefit .m-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  color: #102d45;
}
#publicSite .m-benefit .m-icon-box svg {
  width: 100%;
  height: 100%;
}
#publicSite .m-benefit-accent {
  color: var(--gold-text);
}
#publicSite .m-benefit strong {
  display: block;
  margin-bottom: 6px;
  color: #102d45;
  font-size: clamp(12px,3.4vw,16px);
  line-height: 1.5;
}
#publicSite .m-benefit p {
  margin: 0;
  color: #3d5060;
  font-size: clamp(11px,3.2vw,14px);
  line-height: 1.55;
}

/* وصل القسم الثاني بألوان الحافة الأصلية دون تمديد صورة الخلفية أو تغيير ارتفاعها. */
#publicSite .m-features {
  position: relative;
  isolation: isolate;
  background: transparent;
}
#publicSite .m-features::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 240px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(to bottom, #ffffff00, #ffffff26 18%, #ffffffbd 65%, #fff),
    linear-gradient(to right, #001b44 0%, #011f47 10%, #002252 20%, #002b61 30%, #073975 40%, #1e4f8c 50%, #4470a5 60%, #889db8 70%, #cac6c5 80%, #f2deca 90%, #f7e1c2 100%);
  background-size: 100% 100%, max(100vw,56.22svh) 100%;
  background-position: left top;
  background-repeat: no-repeat;
}

/* ألوان أزرار الجوال المعتمدة مع الحفاظ على مساحة اللمس. */
#publicSite .m-hero .m-button {
  border-radius: 10px;
  text-shadow: none;
}
#publicSite .m-hero .m-button::before {
  display: none;
}
#publicSite .m-hero .m-login {
  color: #fff;
  background: #102d45;
  border: 1px solid #102d45;
  box-shadow: 0 8px 24px #102d4520;
}
#publicSite .m-hero .m-login svg {
  padding: 0;
  background: none;
  border-radius: 0;
}
#publicSite .m-hero .m-activate {
  color: #102d45;
  background: #fff;
  border: 1px solid #d7dfe5;
  box-shadow: 0 4px 12px #102d4514;
}
@media (hover:hover) {
  #publicSite .m-hero .m-login:hover {
    border-color: #102d45;
    box-shadow: 0 8px 24px #102d4533;
  }
  #publicSite .m-hero .m-activate:hover {
    border-color: #aabac6;
    box-shadow: 0 6px 16px #102d4520;
  }
}

/* مؤشر ثابت بصريًا يعرّف بوجود المزايا التالية دون حركة مشتتة. */
#publicSite .m-scroll-hint {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 130px;
  height: 24px;
  color: #fff4d6;
  font-size: 12px;
  text-decoration: none;
  text-shadow: 0 1px 3px #082238;
}
#publicSite .m-scroll-hint svg {
  width: 20px;
  height: 20px;
}
#publicSite .m-scroll-hint:focus-visible {
  outline: 2px solid #f2d48f;
  outline-offset: 3px;
  border-radius: 6px;
}
#publicSite .m-feature-list .m-secondary-icon {
  background: none;
  border-radius: 0;
  color: #102d45;
}
#publicSite .m-feature-list .m-secondary-icon svg {
  width: 30px;
  height: 30px;
  color: #102d45;
  stroke-width: 1.7;
}
#publicSite .m-feature-accent {
  color: #ad843b;
}

/* نفس هوية ترويسة الكمبيوتر مع إبقاء ترويسة الجوال ضمن تدفق الصفحة. */
#publicSite .m-hero .m-header {
  --gold-text: #f2d48f;
  background: #102d45;
  color: #fefaf2;
}
#publicSite .m-header .m-brand {
  color: #fefaf2;
}
#publicSite .m-header .m-brand img {
  box-shadow: 0 0 0 1px #f2d48f66;
}

/* المساحة المقابلة للشعار تتيح الدليل من أول شاشة دون إطالة قسم البداية. */
#publicSite .m-hero .m-header {
  justify-content: space-between;
  gap: 10px;
}
#publicSite .m-header .m-guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 6px 0;
  color: #fefaf2;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
}
#publicSite .m-header .m-guide-link svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #f2d48f;
}
#publicSite .m-header .m-guide-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#publicSite .m-header .m-guide-link:focus-visible {
  outline: 2px solid #f2d48f;
  outline-offset: 3px;
  border-radius: 4px;
}
/* رابط الدعم الأخير يمتد على الصف بعد زوج الدليل والأسئلة الشائعة. */
#publicSite .m-footer-links a:last-child {
  grid-column: 1 / -1;
  justify-content: center;
  border-inline-start: 0;
}
@media (max-width:359px) {
  #publicSite .m-header .m-guide-link {
    font-size: 12px;
    gap: 5px;
  }
  #publicSite .m-header .m-guide-link svg {
    width: 16px;
    height: 16px;
  }
}

/* شعار تمارا الرسمي ضمن وسائل الدفع. */
#publicSite .payment-tamara-logo { display:block; width:44px; height:24px; object-fit:contain; }

/* المحتوى يحدد طول الصفحة؛ الزخرفة وحدها مستقلة عن ارتفاعه. */
#publicSite .m-hero::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('../assets/landing/hudoor-hero-mobile.webp') left bottom no-repeat;
  /* نسبة الصورة ثابتة؛ زيادة النص لا تكبّر الخلفية أو تمددها. */
  background-size: max(100%,56.22svh) auto;
  top: auto;
  height: max(100svh,177.87vw);
  max-height: 100%;
  /* دمج بداية الصورة مع لون القسم يمنع ظهور حافة عند تمدد المحتوى. */
  -webkit-mask-image: linear-gradient(to bottom,transparent,#000 25%);
  mask-image: linear-gradient(to bottom,transparent,#000 25%);
}

#publicSite .m-hero .m-header {
  height: auto;
  min-height: 50px;
  flex-wrap: wrap;
  padding-block: 6px;
}
#publicSite .m-header .m-brand {
  flex-shrink: 0;
}
#publicSite .m-header .m-guide-link {
  flex-shrink: 1;
  white-space: normal;
}
#publicSite .m-hero h1 span,
#publicSite .m-intro>span,
#publicSite .m-button span {
  white-space: normal;
  overflow-wrap: anywhere;
}
#publicSite .m-hero .m-button {
  min-height: 50px;
}
#publicSite .m-hero .m-actions {
  margin-top: 16px;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
#publicSite .m-intro {
  font-size: clamp(14px,3.4vw,20px);
}
#publicSite .m-intro>span {
  font-size: inherit;
}
#publicSite .m-benefit {
  min-width: 0;
  overflow-wrap: anywhere;
}
#publicSite .m-laptop {
  max-width: 460px;
}

@media (max-width:359px) {
  #publicSite .m-hero .m-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* العرض الكبير والارتفاع القصير يحتاجان صورة أصغر، مع بقاء الإجراءات مبكرة. */
@media (min-width:600px) and (max-height:600px) {
  #publicSite .m-hero-content,
  #publicSite .m-hero-layout {
    max-width: 560px;
  }
  #publicSite .m-hero-layout {
    padding-top: 14px;
  }
  #publicSite .m-hero h1 {
    font-size: 32px;
  }
  #publicSite .m-hero h1 span {
    font-size: 22px;
  }
  #publicSite .m-scene {
    margin-top: 18px;
  }
  #publicSite .m-laptop {
    max-width: 320px;
  }
}

/* المؤشر جزء من التدفق حتى يستوعب تكبير النص ولا يغطي إجراءات الدخول. */
#publicSite .m-hero {
  padding-bottom: 12px;
}
#publicSite .m-scroll-hint {
  position: relative;
  inset: auto;
  transform: none;
  align-self: center;
  width: fit-content;
  max-width: calc(100% - 28px);
  height: auto;
  min-height: 44px;
  margin: 12px auto 0;
  padding: 8px 10px;
  text-align: center;
  flex-wrap: wrap;
  color: #fff4d6;
  background: transparent;
  border-radius: 0;
  text-shadow: 0 1px 3px #082238;
}
#publicSite .m-intro>span {
  display: inline;
}
#publicSite .m-header .m-brand {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}
#publicSite .m-header .m-brand img {
  flex-shrink: 0;
}
#publicSite .m-footer-brand .m-brand {
  max-width: 100%;
  white-space: normal;
}
#publicSite .m-brand>span {
  min-width: 0;
  overflow-wrap: anywhere;
}
