.about-section .images-column .inner-column {
  margin-right: 0;
  padding-bottom: 0;
  overflow: visible;
  text-align: left;
}

.about-gallery {
  display: grid;
  gap: 16px;
  width: 100%;
}

.about-gallery--count-1 {
  grid-template-columns: 1fr;
}

.about-gallery--count-2,
.about-gallery--count-3 {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: stretch;
}

.about-gallery__featured {
  position: relative;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f2fa 0%, #d7e8f5 100%);
  box-shadow: 0 22px 50px rgba(19, 112, 181, 0.14);
}

.about-gallery__featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #1370b5 0%, #0f5f9a 100%);
  z-index: 2;
}

.about-gallery__featured img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.about-gallery__stack {
  display: grid;
  gap: 16px;
  min-height: 100%;
}

.about-gallery--count-2 .about-gallery__stack {
  grid-template-rows: 1fr;
}

.about-gallery--count-3 .about-gallery__stack {
  grid-template-rows: 1fr 1fr;
}

.about-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #edf5fb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.about-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(19, 112, 181, 0.16);
}

.about-gallery__video {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.42) 100%);
  transition: background 0.35s ease;
}

.about-gallery__video:hover {
  background: linear-gradient(180deg, rgba(19, 112, 181, 0.12) 0%, rgba(19, 112, 181, 0.55) 100%);
}

.about-gallery__video-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #1370b5;
  background: #ffffff;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, color 0.35s ease, background 0.35s ease;
  padding-left: 4px;
}

.about-gallery__video:hover .about-gallery__video-btn {
  transform: scale(1.06);
  color: #ffffff;
  background: #1370b5;
}

.about-gallery__video-label {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.about-section .content-column .inner-column {
  padding-top: 40px;
}

@media (min-width: 992px) {
  .about-section .content-column .inner-column {
    padding-top: 60px;
  }

  .about-gallery__featured {
    min-height: 420px;
  }

  .about-gallery__featured img {
    min-height: 420px;
  }

  .about-gallery__item img {
    min-height: 200px;
  }
}

@media (max-width: 991.98px) {
  .about-gallery--count-2,
  .about-gallery--count-3 {
    grid-template-columns: 1fr;
  }

  .about-gallery--count-3 .about-gallery__stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .about-gallery__featured,
  .about-gallery__featured img {
    min-height: 260px;
  }

  .about-gallery__item img {
    min-height: 160px;
  }
}

@media (max-width: 575.98px) {
  .about-gallery--count-3 .about-gallery__stack {
    grid-template-columns: 1fr;
  }

  .about-gallery__video-btn {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
}

.rtl .about-section .images-column .inner-column {
  text-align: right;
}

.rtl .about-gallery__featured::before {
  left: auto;
  right: 0;
}
