/* ===== National Day Banner — الصفحة الرئيسية فقط ===== */

body.index #EF_banner_sec_0,
body.index #EF_banner_sec_0 .container,
body.index #EF_banner_sec_0 .banners {
  overflow: visible !important;
}

body.index #EF_banner_sec_0 .banners {
  position: relative !important;
}

body.index #EF_banner_sec_0 .banner.banner--fixed {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  aspect-ratio: 2.45 / 1 !important;
  background: #fffdf9 !important;
}

/* الصورة التي رفعتها أنت داخل البانر */
body.index #EF_banner_sec_0 .banner.banner--fixed img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* طبقة المحتوى: في المساحة البيضاء يسار الصورة */
body.index #EF_banner_sec_0 .brh-banner-overlay {
  direction: rtl;
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 5%;
  pointer-events: none;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__content {
  width: min(510px, 46%);
  margin-right: auto;
  text-align: right;
  pointer-events: auto;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__brand {
  display: block;
  margin-bottom: 9px;
  color: #0d5964;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #ab4778;
  font-size: 13px;
  font-weight: 500;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__title {
  margin: 0 0 8px;
  color: #2a2422;
  font-size: clamp(27px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.15;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__title strong {
  color: #ab4778;
  font-size: 1.3em;
  white-space: nowrap;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__text {
  margin: 0 0 16px;
  color: #806a62;
  font-size: 15px;
  line-height: 1.45;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__timer {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(4, 76px);
  gap: 8px;
  margin-bottom: 15px;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__time {
  position: relative;
  min-height: 78px;
  overflow: hidden;
  padding: 8px 4px;
  border: 1px solid rgba(13, 89, 100, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0 48%, #f7ede7 49% 100%);
  box-shadow: 0 7px 16px rgba(42, 36, 34, 0.08);
  text-align: center;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__time::after {
  content: "";
  position: absolute;
  top: 48%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(13, 89, 100, 0.14);
}

body.index #EF_banner_sec_0 .brh-banner-overlay__time b {
  position: relative;
  z-index: 1;
  display: block;
  color: #c65749;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__time small {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  color: #0d5964;
  font-size: 8px;
  font-weight: 600;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__code-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__code {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 5px 13px;
  border: 1px dashed #ab4778;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
  color: #0d5964;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

body.index #EF_banner_sec_0 .brh-banner-overlay__copy {
  min-height: 39px;
  padding: 6px 14px;
  border: 0;
  border-radius: 9px;
  background: #0d5964;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== موبايل ===== */
@media (max-width: 700px) {
  body.index #EF_banner_sec_0 .banner.banner--fixed {
    border-radius: 15px !important;
    aspect-ratio: 1.82 / 1 !important;
  }

  body.index #EF_banner_sec_0 .banner.banner--fixed img {
    object-position: 69% center !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay {
    align-items: flex-start;
    padding: 13px 12px;
    background: linear-gradient(
      90deg,
      rgba(255, 253, 249, 0.97) 0%,
      rgba(255, 253, 249, 0.86) 52%,
      rgba(255, 253, 249, 0.08) 100%
    );
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__content {
    width: 61%;
    margin-right: auto;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__brand {
    margin-bottom: 4px;
    font-size: 6px;
    letter-spacing: 0.9px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__eyebrow {
    margin-bottom: 4px;
    font-size: 7px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__title {
    margin-bottom: 4px;
    font-size: 19px;
    line-height: 1.08;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__text {
    margin-bottom: 7px;
    font-size: 8px;
    line-height: 1.3;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__timer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 7px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__time {
    min-height: 49px;
    padding: 4px 1px;
    border-radius: 7px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__time b {
    font-size: 21px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__time small {
    bottom: 5px;
    font-size: 5px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__code-row {
    gap: 5px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__code {
    min-height: 27px;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 12px;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__copy {
    min-height: 27px;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 7px;
  }
}

/* إصلاح تجاوز محتوى عرض اليوم الوطني في الموبايل */
@media (max-width: 900px) {
  body.index #EF_banner_sec_0 .banner.banner--fixed {
    overflow: hidden !important;
    aspect-ratio: 1.72 / 1 !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay {
    overflow: hidden !important;
    align-items: flex-start !important;
    padding: 12px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__content {
    width: 62% !important;
    margin-right: auto !important;
    transform: none !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__brand {
    margin-bottom: 3px !important;
    font-size: 6px !important;
    letter-spacing: 0.7px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__eyebrow {
    margin-bottom: 3px !important;
    font-size: 7px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__title {
    margin: 0 0 4px !important;
    font-size: clamp(18px, 4.8vw, 28px) !important;
    line-height: 1.08 !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__title strong {
    font-size: 1.15em !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__text {
    margin: 0 0 7px !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__timer {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    margin-bottom: 7px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__time {
    min-height: 48px !important;
    padding: 4px 1px !important;
    border-radius: 7px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__time b {
    font-size: clamp(18px, 5vw, 25px) !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__time small {
    bottom: 5px !important;
    font-size: 5px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__code-row {
    gap: 5px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__code {
    min-height: 27px !important;
    padding: 3px 7px !important;
    font-size: 12px !important;
  }

  body.index #EF_banner_sec_0 .brh-banner-overlay__copy {
    min-height: 27px !important;
    padding: 3px 8px !important;
    font-size: 7px !important;
  }
}