﻿.page-lead-section {
  display: flex;
  padding: 120px 96px 80px 96px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-7xl, 64px);
  align-self: stretch;

  background-image: url("../Images/zakat-policy/page-header-bg.svg"),
    linear-gradient(
      190deg,
      rgba(255, 255, 255, 0.81) 9.46%,
      rgba(255, 255, 255, 0) 43.5%,
      rgba(255, 255, 255, 0.81) 92.1%
    ),
    url("../Images/new-main-img/section-bg.png");

  background-repeat: no-repeat, no-repeat, no-repeat;

  background-position: right, center, right center; /* right-side image is last */

  background-size: 35%, cover, cover; /* you can adjust this as needed */
}
.page-lead-container {
  display: flex;
  max-width: var(--container-max-width-desktop, 1280px);
  padding: 0 var(--container-padding-desktop, 32px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-4xl, 32px);
  align-self: stretch;
}
.page-lead-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4xl, 32px);
  align-self: stretch;
}
.page-lead-wrapper .text-content-box {
  display: flex;
  max-width: var(--width-xl, 768px);
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2xl, 20px);
  align-self: stretch;
}
.page-lead-wrapper .text-content-box .header-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-lg, 12px);
  align-self: stretch;
}
.page-lead-wrapper .text-content-box .header-box .subheading {
  align-self: stretch;
  color: var(--colors-text-text-brand-secondary-700, #015888);
  text-align: center;
  font-family: "MavenPro-SemiBold";
  font-size: 16px;
  font-style: normal;
  line-height: 24px; /* 150% */
}

.page-lead-wrapper .text-content-box .header-box .header {
  align-self: stretch;
  color: var(--colors-text-text-primary-900, #101828);
  text-align: center;

  /* Display lg/Semibold */
  font-family: "MavenPro-SemiBold";
  font-size: 48px;
  font-style: normal;
  line-height: 60px; /* 125% */
  letter-spacing: -0.96px;
}
.page-lead-wrapper .text-content-box .desc {
  align-self: stretch;
  color: var(--colors-text-text-tertiary-600, #475467);
  text-align: center;

  /* Text xl/Regular */
  font-family: "MavenPro-Regular";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 150% */
}
.gallery-section {
  display: flex;
  padding: var(--spacing-8xl, 80px) var(--spacing-9xl, 96px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-6xl, 48px);
  align-self: stretch;
}
.video-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.video-card {
  display: flex;
  /* width: 32%; */
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.video-card iframe {
  height: 315px;
  align-self: stretch;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl, 8px);
}
.video-card .text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-3xl, 8px);
  align-self: stretch;
}
.video-card .text-content .vid-header-box {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xl, 16px);
  align-self: stretch;
}
.video-card .text-content .vid-header-box p {
  color: #101828;
  font-family: "MavenPro-SemiBold";
  font-size: 24px;
  font-style: normal;
  flex: 1 0 0;
  line-height: 32px;
}
.video-card .text-content .vid-header-box img {
  width: 24px;
  height: 24px;
}
.video-card .text-content > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  align-self: stretch;
  overflow: hidden;
  color: #475467;
  text-overflow: ellipsis;
  font-family: "MavenPro-Regular";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.load-more-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg, 12px);
  cursor: pointer;
}
.load-more-btn p {
  color: #015888;
  font-family: "MavenPro-SemiBold";
  font-size: 18px;
  font-style: normal;
  line-height: 28px;
}
.load-more-btn img {
  width: 24px;
  height: 24px;
}
/* *************************************************************** */

/* *************************************************************** */

/* *************************************************************** */
.gallery-category-tabs-sort-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.gallery-category-tabs-container {
  display: flex;
  max-width: 80%;
  align-items: center;
  gap: 12px;
  overflow-x: hidden;
}

.gallery-category-tabs-scroll-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 12px;
  flex: 1;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  scrollbar-width: none;
}
.gallery-category-tabs-scroll-wrapper {
  height: 44px;
  align-items: center;
  transform: translateZ(0);
  will-change: scroll-position;
}
.gallery-category-tabs-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.gallery-category-tabs-scroll-wrapper.dragging {
  cursor: grabbing;
}

.gallery-category-tabs-arrow {
  flex-shrink: 0;
  cursor: pointer;
}

.gallery-category-tabs-arrow img {
  width: 24px;
  height: 24px;
}

.category-tab-box {
  flex: 0 0 auto;
  padding: 2px 14.286px;
  align-items: center;
  border-radius: 13791.725px;
  border-radius: 9999px;
  border: 1.4px solid #eaecf0;
  background: #f9fafb;
  cursor: pointer;
  white-space: nowrap;
}

.category-tab-box p {
  color: var(--Component-colors-Utility-Gray-utility-gray-700, #344054);
  text-align: center;
  font-family: "MavenPro-Medium";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28.571px;
}
.category-tab-box.active {
  border: 1.4px solid #b2ddff;
}

.category-tab-box.active p {
  color: #175cd3;
}
.calendar-sort-download-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  width: 18%;
  align-self: stretch;
}
.custom-dropdown-wrapper {
  width: 100%;
  height: 100%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  gap: 8px;
}

.custom-dropdown-container {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 6px;
  position: relative;
}

.custom-dropdown-toggle {
  padding: 10px 14px;
  background: white;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Maven Pro", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #101828;
  justify-content: space-between;
}

.custom-dropdown-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  transition: transform 0.1s ease-in;
}
.custom-dropdown-toggle:hover .custom-dropdown-icon {
  transform: rotate(180deg);
  transition: transform 0.1s ease-in;
}

.custom-dropdown-menu {
  display: none;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: white;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  position: absolute;
  top: 55px;
  z-index: 100;
  width: 100%;
  min-width: 150px;
}

.custom-dropdown-option {
  padding: 10px 14px;
  cursor: pointer;
  font-family: "Maven Pro", sans-serif;
  font-size: 16px;
  color: #101828;
}

.custom-dropdown-option:hover {
  background-color: #f0f0f0;
}
