.two-row .banner-entry:first-child {
  grid-row: auto !important; /* يلغي الامتداد على صفين */
  height: auto !important;   /* يلغي الارتفاع الإجباري */
}

.text-with-border {
  all: unset !important; /* إلغاء كل خصائص الكلاس */
  display: inline !important; /* يرجع النص لسلوك طبيعي */
}

@media (max-width: 768px) {
  /* شبكة عمودين متساويين للجوال */
  .two-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  /* إلغاء امتداد أول صورة */
  .two-row .banner-entry:first-child {
    grid-row: auto !important;
    height: auto !important;
  }

  /* إلغاء أي حدود أو تنسيقات للنص */
  .text-with-border {
    all: unset !important;
    display: inline !important;
  }

  /* ضبط الصور لتكون مربعة متساوية */
  .two-row .banner-entry {
    aspect-ratio: 1 / 1 !important;        /* مربعات */
    background-size: cover !important;     /* تغطي المربع */
    background-position: center !important; /* توسيط */
    width: 100% !important;
    height: auto !important;
    position: relative;
  }
}

.banner-entry {
  background-color: transparent !important; /* يضمن الشفافية دائماً */
}

.has-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0); /* شفاف في البداية */
}

.has-overlay:hover::after {
  background-color: rgba(255, 255, 255, 0.0); /* أبيض شفاف عند الهوفر */
}


    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--font-main), -apple-system, BlinkMacSystemFont;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    visibility: inherit;
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
    --infinte-color: #c9c9c9;
    --main-text-color: #231f1e;
    --main-text-color-dark: #2b2d34;
    --color-primary-d: #272628;
    --color-primary-l: #676668;
    --color-text: #7c8082;
    --bg-gray: rgba(198,199,206,0.10196);
    --color-grey: #f5f7f9;
    --color-light-grey: #eeeeee;
    --font-sm: 0.8685714286rem;
    --mm-ocd-width: 80%;
    --mm-ocd-min-width: 200px;
    --mm-ocd-max-width: 440px;
    --mm-spn-item-height: 50px;
    --mm-spn-item-indent: 20px;
    --mm-spn-line-height: 24px;
    --mm-spn-panel-offset: 30%;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    --font-main: 'sky-bold';
    --font-secondary: 'sky';
    --color-primary: #e30e08;
    --color-primary-dark: #bd0000;
    --color-primary-light: #ff342e;
    --color-primary-reverse: #ffdad4;
    --dark-bg-main: ;
    --dark-text-main: ;
    --dark-text-sec: ;
    --dark-grey: ;
    --text-btn: ;
    --bg-color: #ffffff;
    --header-bg: #ffffff;
    --menu-bg: #ffffff;
    --footer-bg: #ffffff;
    --swal2-container-padding: 0.625em;
    --swal2-backdrop: rgba(0, 0, 0, 0.4);
    --swal2-width: 32em;
    --swal2-padding: 0 0 1.25em;
    --swal2-border: none;
    --swal2-border-radius: 0.3125rem;
    --swal2-background: white;
    --swal2-color: #545454;
    --swal2-footer-border-color: #eee;
    --swal2-show-animation: swal2-show 0.3s;
    --swal2-hide-animation: swal2-hide 0.15s forwards;
    --swal2-input-background: transparent;
    --swal2-progress-step-background: #add8e6;
    --swal2-validation-message-background: #f0f0f0;
    --swal2-validation-message-color: #666;
    --swal2-close-button-position: initial;
    --swal2-close-button-inset: auto;
    --swal2-close-button-font-size: 2.5em;
    --swal2-close-button-color: #ccc;
    font-size: 15px;
    line-height: 26px;
    color: var(--main-text-color);
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgba(59, 130, 246, 0.5);
    --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);
    --tw-ring-shadow: 0 0 rgba(0,0,0,0);
    --tw-shadow: 0 0 rgba(0,0,0,0);
    --tw-shadow-colored: 0 0 rgba(0,0,0,0);
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style: ;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    font-weight: inherit !important;
    position: relative;
    display: flex;
    flex-direction: column;
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, var(--tw-bg-opacity, 1));
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;