.wp-editor-page-wrapper ul {
  list-style-type: disc;
  margin-left: 1.8rem;
  margin-bottom: 2rem;
}

[dir='rtl'] .wp-editor-page-wrapper ul {
  margin-left: 0;
  margin-right: 1.8rem;
}

.wp-editor-page-wrapper:not(.two-col-content) p:has(+ ul) {
  margin-bottom: 0;
}

.wp-editor-page-wrapper>.wp-block-image {
  display: flex;
  justify-content: center;
  margin-top: -40px;
}


.wp-editor-page-wrapper h2 {
  font-size: 26px;
  padding-bottom: 1rem;
  line-height: 1.2;
  font-weight: 800;
  color: #1b1d21;
  padding-top: 1rem;
}

.wp-editor-page-wrapper>h2:first-child {
  border-top: none;
}

.wp-editor-page-wrapper>h2:only-of-type {
  border-top: none;
}

.wp-editor-page-wrapper h2:first-of-type {
  /* border-top: none; */
  padding-bottom: 2rem;
}

.wp-editor-page-wrapper p:first-child {
  padding-top: 2rem;
}

.wp-editor-page-wrapper .wp-block-button>a {
  background-color: #92722A;
  width: 350px;
  height: 50px;
  margin-bottom: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 10px;

}

.wp-editor-page-wrapper .wp-block-button>a:hover {
  background-color: #92722A;
  color: white;
}

.wp-editor-page-wrapper.two-col-content>h2:first-child {
  padding-top: 0;
  border-top: none;
}

.wp-editor-page-wrapper.two-col-content>p:first-child {
  padding-top: 0;
}

.wp-editor-page-wrapper.two-col-content h2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e1e3e5;

}

.wp-editor-contact-page-wrapper>.wp-block-columns {
  justify-content: center;
  flex-wrap: wrap;
}

@media screen and (min-width:1024px) {
  .wp-editor-contact-page-wrapper>.wp-block-columns>.wp-block-column:first-child {
    display: flex;
    justify-content: center;
  }
}

.wp-editor-contact-page-wrapper {
  padding-top: 24px;
}

.wp-editor-contact-page-wrapper h2 {
  font-size: 26px;
  padding-bottom: 1rem;
  line-height: 1.2;
  font-weight: 800;
  color: #1b1d21;
  padding-top: 1rem;
}

.wp-editor-contact-page-wrapper h4 {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  color: #9EA2A9;
}

.wp-editor-contact-page-wrapper p {
  margin: 0;
  padding-bottom: 1rem;
  padding-top: 5px;

}

.wp-editor-contact-page-wrapper .contact-form-input {
  border-width: 1px;
}

.wp-editor-contact-page-wrapper .contact-form-submit {
  cursor: pointer;
}

.wp-editor-contact-page-wrapper .contact-form-submit:hover {
  background-color: #797e86;
}

.wp-editor-contact-page-wrapper .contact-form-group {
  width: 100%;
}

@media screen and (min-width:1024px) {
  .wp-editor-contact-page-wrapper .contact-form-group {
    width: 85%;
  }
}

/* hide spinner container by default, only reveal on submit */
.wpcf7-spinner {
  display: none;
  visibility: hidden;
  margin-left: .5rem;
}

form.wpcf7-form.submitting .wpcf7-spinner {
  visibility: visible;
  display: inline-block;

}

.sitemap a {
  text-decoration: none;
}

.rtl-form {
  direction: rtl;
  text-align: right;
}

.rtl-form input[type="email"]::placeholder {
  direction: rtl;
  /* force placeholder Arabic to align RTL */
  unicode-bidi: embed;
  /* ensure the browser honors the override */
  text-align: right;
}

.rtl-form input[type="tel"]::placeholder {
  direction: rtl;
  /* force placeholder Arabic to align RTL */
  unicode-bidi: embed;
  /* ensure the browser honors the override */
  text-align: right;
}

/* CSS for Contact Form 7 inputs only (within about-us-form) */
.about-us-form .wpcf7-form-control {
  width: 100%;
  padding: 0.5rem 1rem;
  height: 100%;
  border: 1px solid #d1d5db;
  /* border-gray-300 equivalent */
  border-radius: 0.375rem;
}


/* Fix for textarea height */
.about-us-form textarea.wpcf7-form-control {
  min-height: 52px;
}

/* Make sure form controls span full width */
.about-us-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Error message styling */
.about-us-form .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.about-us-form .wpcf7-response-output {
  margin: 1rem 0;
  padding: 0.75rem;
  border-radius: 0.375rem;
}

.about-us-form input,
.about-us-form textarea {
  text-align: right;
}

.about-us-form .submit-btn {
  background-color: #92722A;
  color: white;
  font-size: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 100%;
  border-radius: 0.375rem;
  cursor: pointer;
  text-align: center;
}

@media (min-width: 768px) {
  .about-us-form .submit-btn {
    width: 227px;
  }
}

.about-us-form .submit-btn:hover {
  background-color: #7c5e24;
}


@media (min-width: 768px) {
  .intro-block {
    justify-content: space-between;
  }
}

.intro-title {
  max-width: 880px;
}

.partner-link a {
  text-decoration: none;
}

.social-list li:last-child {
  border-bottom: none;
}

.awards-filter {
  height: 420px;
}

.mof-pagination a {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mof-pagination span {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

#yearDropdownList {
  border-color: #6b7280;
  background-color: white;
  cursor: pointer;
  position: absolute;
  max-height: 350px;
  overflow: auto;
}

.d-r-submit-btn {
  background-color: #92722A;
  color: white;
  font-size: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 50%;
  border-radius: 0.375rem;
  cursor: pointer;
  text-align: center;
}

.d-r-submit-btn:hover {
  background-color: #797e86;
}


.leadership-form-submit-btn {
  cursor: pointer;
}

.leadership-form-submit-btn:hover {
  background-color: #797e86;
}

.request-info-form .form-control-input span {
  width: 100%;
  z-index: 2;
}

.request-info-form .aegov-form-control select {
  background-image: none;
  cursor: pointer;
}

#planYearDropdownList {
  position: absolute;
  background-color: white;
  border-color: #797e86;
}

.button-link {
  width: fit-content;
}

.button-link:hover {
  color: white;
}

.img-h-text {
  padding: 5rem 3.5rem;
}

.debt-block-icon {
  width: 74px;
  height: 74px;
}

.debt-block-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  border-radius: 4px;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 4px;
}

[dir='rtl'] .debt-block-number {
  border-top-right-radius: 12px;
  border-top-left-radius: 0;
  direction: ltr;
  right: 0;
  left: unset;

}

.numbered-icon-block {
  border-radius: 13px;
}


#debt-office .department.dept-1 {
  width: 400px;
}

#debt-office .department.dept-2 {
  width: 400px;
}

#debt-office .department.dept-3 {
  width: 400px;
}

@media (max-width: 1535px) and (min-width:1121px) {
  #debt-office .org-chart ul.NewColumnTwo ::before {
    width: 80px;
  }

  #debt-office .department.dept-1 {
    width: 300px;
  }

  #debt-office .department.dept-2 {
    width: 300px;
  }

  #debt-office .department.dept-3 {
    width: 300px;
  }

  #debt-office .org-chart .board {
    padding-bottom: 134px;
  }

  #chart-tag ::before {
    content: "";
    display: block;
    position: absolute;
    height: 80px;
    width: 0px;
    border-left: 2px solid #c3c6cb;
    margin-left: 50%;
    top: -80px;
    left: -6px;
    height: 80px;
  }

  #debt-office .org-chart ul.NewColumnTwo {
    top: 257px;
  }

  #debt-office .org-chart ul.NewColumnTwo ::before {
    width: 131px;
  }

  #debt-office .org-chart .departments:before {
    max-width: 656px;
  }

  #debt-office .org-chart .board:before {
    height: 420px;
  }
}

@media (max-width: 1280px) and (min-width:1121px) {
  #debt-office .org-chart ul.NewColumnTwo {
    top: 257px;
  }

  #debt-office .org-chart ul.NewColumnTwo ::before {
    width: 108px;
  }

}

@media (max-width: 1280px) {
  #debt-office {
    display: none;
  }
}

@media (min-width: 1281px) {
  #debt-office-mob {
    display: none;
  }
}

@media (max-width: 1280px) {
  #debt-office-mob {
    display: block;
  }
}

#debt-office-mob .org-chart .department {
  background: none;
}

#debt-office-mob .org-chart .board:before {
  height: 397px;
}

#debt-office-mob .departments:before {
  width: 168px;
}

#debt-office-mob .department .lvl-b {
  height: 137px;
  display: flex;
  flex-direction: column;
}

.sukuk-struct {
  border-color: #f7f7f7;
}

@media screen and (min-width:1200px) {
  .bonds-term-label {
    width: 280px;
  }
}

.bonds-filter {
  height: 275px;
}

.bond-chart {
  width: 20rem;
  height: 20rem;
}

#yearSelect.bond-y-select {
  background-image: none;
  cursor: pointer;
}

#archive-filter {
  height: 435px;
}

/* #event-archive-filter {
  height: 500px;
} */


.media-inq-submit-btn {
  background-color: #92722A;
  color: white;
  font-size: 1rem;
  padding: 1rem;
  flex: 1;
  border-radius: 0.375rem;
  cursor: pointer;
  text-align: center;
}

.media-inq-submit-btn:hover {
  background-color: #797e86;
}

.spokesperson-img {
  height: 377px;
  width: 344px;
  border-radius: 12px;
}

.studies-files {
  grid-column: span 3 / span 3;
}

@media screen and (max-width:1280px) {
  .studies-files {
    grid-column: span 2 / span 2;
  }
}

#event-cat-btn {
  border-radius: 8px;
  border: 1px solid #C3C6CB;
  background-color: white;
}

#event-cat-btn:focus {
  border-color: #6b7280;
}

#event_category {
  cursor: pointer;
  position: relative;
  z-index: 2;
  background-image: none;
}

.events-page-grid {
  height: fit-content;
}

.consult-detail b {
  font-size: 26px;
  padding-bottom: 20px;
}

#blog-detail-html img {
  max-height: 600px;
  border-radius: 15px;
}

@media screen and (min-width:1024px) {
  .leader-form-btns {
    max-width: 50%;
  }
}

.exempt-title p {
  margin-bottom: 0;
}


.sharik-spinner-ellipsis {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 120px auto;
  display: block
}

.sharik-spinner-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #B68A35;
  animation-timing-function: cubic-bezier(0, 1, 1, 0)
}

.sharik-spinner-ellipsis div:nth-child(1) {
  left: 8px;
  animation: sharik-spinner-ellipsis1 .6s infinite
}

.sharik-spinner-ellipsis div:nth-child(2) {
  left: 8px;
  animation: sharik-spinner-ellipsis2 .6s infinite
}

.sharik-spinner-ellipsis div:nth-child(3) {
  left: 32px;
  animation: sharik-spinner-ellipsis2 .6s infinite
}

.sharik-spinner-ellipsis div:nth-child(4) {
  left: 56px;
  animation: sharik-spinner-ellipsis3 .6s infinite
}

@keyframes sharik-spinner-ellipsis1 {
  0% {
    transform: scale(0)
  }

  100% {
    transform: scale(1)
  }
}

@keyframes sharik-spinner-ellipsis3 {
  0% {
    transform: scale(1)
  }

  100% {
    transform: scale(0)
  }
}

@keyframes sharik-spinner-ellipsis2 {
  0% {
    transform: translate(0, 0)
  }

  100% {
    transform: translate(24px, 0)
  }
}

#mof-archive-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(122, 122, 122, 0.13);
  border-radius: 8px;
  display: none;
  /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 10;
}


#mof-archive-loader.shown {
  display: flex;
}

#mof-event-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(122, 122, 122, 0.13);
  border-radius: 8px;
  display: none;
  /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 10;
}


#mof-event-loader.shown {
  display: flex;
}

#mof-awards-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(122, 122, 122, 0.13);
  border-radius: 8px;
  display: none;
  /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 10;
}


#mof-awards-loader.shown {
  display: flex;
}


.mof-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(122, 122, 122, 0.13);
  border-radius: 8px;
  display: none;
  /* hidden by default */
  justify-content: center;
  align-items: center;
  /* z-index: 10; */
}

.mof-loader.shown {
  display: flex;
}

.sme-list p {
  margin-bottom: 0;
}

.sme-list ul {
  padding-left: 20px;
  list-style: disc;
  margin: 0;
}

[dir='rtl'] .sme-list ul {
  padding-right: 20px;
}

.esg-goals ul {
  padding: 0 20px;
  list-style: disc;
  margin: 16px 0;
}

.ar #faq-sections .digital-paticipation-tabs.active {
  border-right-width: 0px;
  border-bottom-width: 2px;
  border-color: unset;
  border-bottom-color: rgb(182 138 53 / var(--tw-border-opacity, 1));

}

.goal-svg {
  width: fit-content;
}

.zero-list {
  padding: 0 20px;
  list-style: disc;
}

.achievements-list ul {
  padding: 0 20px 10px;
  list-style: disc;
}

.inv_step {
  padding-bottom: 2.2rem;
}

[dir='rtl'] .inv_step {
  padding-bottom: 2.5rem;
}

@media screen and (max-width:1600px) and (min-width:900px) {
  .inv_step {
    padding-bottom: 3rem;
  }
}

@media screen and (max-width:900px) {
  .inv_step {
    padding-bottom: 5rem;
  }
}

[dir='rtl'] .issuance-table td {
  text-align: right;
}

.accordion-title button .normal-svg svg {
  height: unset;
  width: unset;
  flex-shrink: 0;
  fill: none;
  --tw-text-opacity: 1;
  transform: none;
}

.accrual-list {
  margin-left: 30px;
}

[dir='rtl'] .accrual-list {
  margin-left: unset;
  margin-right: 30px;
}

@media screen and (max-width:900px) {
  .accrual-list {
    margin-left: 10px;
  }

  [dir='rtl'] .accrual-list {
    margin-left: unset;
    margin-right: 10px;
  }

}

.intro-svg {
  align-self: flex-start;
  margin-top: 20px;
}

@media screen and (max-width:700px) {
  .intro-svg {
    align-self: center;
    margin-top: 20px;
  }
}

.aeoi-apply p {
  margin: 0;
}

.masonry-grid {
  column-count: 4;         /* four columns at your chosen breakpoint */
  column-gap: 1rem;        /* adjustable gap */
}

.masonry-grid > * {
  break-inside: avoid;     /* prevents items from splitting */
  margin-bottom: 1rem;     /* vertical gutter */
}
