/* Dawah public UI V34 */

:root {
  --p34-deep: #03382d;
  --p34-green: #075440;
  --p34-lime: #def69a;
  --p34-muted: #c4d8ce;
}

/* Shared green page headers */

body.public-application .px-home-hero,
body.public-application .px-directory-hero,
body.public-application .d7-finder,
body.public-application .svc29-hero,
body.public-application .l34-discovery {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background:
    radial-gradient(
      circle at 86% -30%,
      rgba(202, 239, 111, 0.31),
      transparent 36%
    ),
    radial-gradient(
      circle at -4% 110%,
      rgba(38, 145, 108, 0.28),
      transparent 38%
    ),
    linear-gradient(
      128deg,
      #03382d 0%,
      #075440 62%,
      #0a493a 100%
    ) !important;
  color: #ffffff !important;
  box-shadow:
    0 20px 52px rgba(3, 48, 38, 0.15) !important;
}

body.public-application .px-home-hero::after,
body.public-application .px-directory-hero::after,
body.public-application .svc29-hero::after,
body.public-application .l34-discovery::after {
  position: absolute;
  z-index: -1;
  right: -95px;
  bottom: -215px;
  width: 390px;
  height: 430px;
  border: 1px solid rgba(223, 246, 154, 0.13);
  border-radius: 50%;
  content: "";
}

/* Home */

body.public-application .px-home-hero {
  grid-template-columns:
    minmax(0, 1.45fr)
    275px !important;
  min-height: 195px !important;
  padding: 25px 29px !important;
  border-radius: 21px !important;
}

body.public-application
.px-home-copy .px-eyebrow {
  color: var(--p34-lime) !important;
}

body.public-application
.px-home-copy h1 {
  margin: 6px 0 10px !important;
  color: #ffffff !important;
  font-size:
    clamp(2.15rem, 4vw, 3.7rem) !important;
}

body.public-application
.px-home-copy > p {
  color: var(--p34-muted) !important;
}

body.public-application
.px-home-country {
  border-color:
    rgba(255, 255, 255, 0.13) !important;
  background:
    rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
}

body.public-application
.px-home-country small,
body.public-application
.px-home-country span,
body.public-application
.px-home-country-top strong,
body.public-application
.px-home-country > a {
  color: #e5f0e9 !important;
}

body.public-application
.px-home-stat {
  border-color:
    rgba(255, 255, 255, 0.13) !important;
}

body.public-application
.px-home-stat strong {
  color: var(--p34-lime) !important;
}

body.public-application
.px-home-actions .px-button-accent {
  background: var(--p34-lime) !important;
  color: #073d30 !important;
}

body.public-application
.px-home-actions .px-button-glass {
  border-color:
    rgba(255, 255, 255, 0.15) !important;
  background:
    rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* Downloads */

body.public-application
.px-directory-hero {
  min-height: 128px !important;
  padding: 21px 24px !important;
  border-radius: 19px !important;
}

body.public-application
.px-directory-hero .px-hero-icon {
  border:
    1px solid rgba(255, 255, 255, 0.13) !important;
  background:
    rgba(255, 255, 255, 0.1) !important;
  color: var(--p34-lime) !important;
}

body.public-application
.px-directory-hero .px-eyebrow {
  color: #bdd3c7 !important;
}

body.public-application
.px-directory-hero h1 {
  color: #ffffff !important;
}

body.public-application
.px-directory-hero p {
  color: var(--p34-muted) !important;
}

/* Taleem */

body.public-application
.d7-finder {
  padding: 17px !important;
  border-radius: 19px !important;
}

body.public-application
.d7-title-icon {
  border:
    1px solid rgba(255, 255, 255, 0.14) !important;
  background:
    rgba(255, 255, 255, 0.1) !important;
  color: var(--p34-lime) !important;
}

body.public-application
.d7-title > div > span {
  color: #bdd3c7 !important;
}

body.public-application
.ui-main .d7-title h1 {
  color: #ffffff !important;
}

body.public-application
.d7-count strong {
  color: var(--p34-lime) !important;
}

body.public-application
.d7-count span,
body.public-application
.d7-filter-footer span {
  color: #c4d8ce !important;
}

body.public-application
.d7-filter-footer a {
  color: var(--p34-lime) !important;
}

/* Compact Services header */

body.public-application
.svc29-page {
  margin-top: 20px !important;
}

body.public-application
.svc29-hero {
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(245px, 0.5fr) !important;
  gap: 24px !important;
  min-height: 170px !important;
  padding: 24px 29px !important;
  border-radius: 21px !important;
}

body.public-application
.svc29-hero h1 {
  margin: 6px 0 8px !important;
  font-size:
    clamp(2rem, 3.4vw, 3rem) !important;
}

body.public-application
.svc29-hero-copy > p:last-of-type {
  font-size: 0.72rem !important;
  line-height: 1.55 !important;
}

body.public-application
.svc29-trust {
  margin-top: 11px !important;
}

body.public-application
.svc29-trust span {
  padding: 5px 8px !important;
  font-size: 0.53rem !important;
}

body.public-application
.svc29-total {
  padding: 10px 13px !important;
}

body.public-application
.svc29-resource-button {
  min-height: 57px !important;
  padding: 8px 10px !important;
}

/* Listen discovery and filters */

body.public-application
.l34-discovery {
  padding: 17px !important;
  border-radius: 19px !important;
}

.l34-discovery-header {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
}

.l34-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.l34-title-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  border:
    1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background:
    rgba(255, 255, 255, 0.1);
  color: var(--p34-lime);
}

.l34-title-icon .ui-icon {
  width: 19px;
  height: 19px;
}

.l34-title > div > span {
  color: #bdd3c7;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

body.public-application
.ui-main .l34-title h1 {
  margin: 1px 0 0 !important;
  color: #ffffff !important;
  font-size: 1.55rem !important;
  line-height: 1.05 !important;
  letter-spacing: -0.045em !important;
}

.l34-title p {
  margin: 3px 0 0;
  color: #c4d8ce;
  font-size: 0.66rem;
  line-height: 1.35;
}

.l34-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.l34-count strong {
  color: var(--p34-lime);
  font-size: 1.45rem;
}

.l34-count span {
  color: #c4d8ce;
  font-size: 0.64rem;
}

.l34-search-form {
  position: relative;
  z-index: 10;
}

.l34-search {
  display: flex;
  min-height: 46px;
  align-items: center;
  overflow: hidden;
  border:
    1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background:
    rgba(255, 255, 255, 0.98);
  box-shadow:
    0 12px 28px rgba(0, 28, 21, 0.14);
}

.l34-search-icon {
  display: grid;
  place-items: center;
  width: 43px;
  flex: 0 0 auto;
  color: #3b6759;
}

.l34-search-icon .ui-icon {
  width: 18px;
  height: 18px;
}

body.public-application
.l34-search input {
  min-width: 0 !important;
  min-height: 44px !important;
  flex: 1;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #123d32 !important;
  font-size: 0.82rem !important;
}

.l34-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 9px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #ecf5df;
  color: #46673d;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.l34-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73a64d;
  box-shadow:
    0 0 0 4px rgba(115, 166, 77, 0.13);
}

.l34-search-form[data-loading="true"]
.l34-live {
  background: #fff1c9;
  color: #725714;
}

.l34-search-form[data-loading="true"]
.l34-live i {
  background: #d7a72e;
}

.l34-filter-rail {
  display: grid;
  grid-template-columns:
    1.35fr 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
}

.l34-filter {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 2px;
  padding: 6px 9px;
  border:
    1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background:
    rgba(255, 255, 255, 0.1);
}

.l34-filter:hover,
.l34-filter:focus-within {
  border-color:
    rgba(222, 246, 154, 0.43);
  background:
    rgba(255, 255, 255, 0.15);
}

.l34-filter > span:first-child {
  color: #afc9bd;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.public-application
.l34-filter select {
  width: 100% !important;
  min-height: 23px !important;
  padding: 0 22px 0 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background-color: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 0.69rem !important;
  font-weight: 700 !important;
}

.l34-filter select option {
  color: #153c32;
  background: #ffffff;
}

.l34-filter-footer {
  display: flex;
  min-height: 21px;
  align-items: end;
  justify-content: space-between;
  padding: 5px 2px 0;
}

.l34-filter-footer span,
.l34-filter-footer a {
  color: #bfd2c8;
  font-size: 0.58rem;
  text-decoration: none;
}

.l34-filter-footer a {
  color: var(--p34-lime);
  font-weight: 750;
}

body.m18-live-enabled
.l34-search-form noscript {
  display: none;
}

/* Navigation loading state */

body.player-safe-loading
#main-content {
  opacity: 0.48;
  pointer-events: none;
}

/* Tablet */

@media (max-width: 800px) {
  body.public-application
  .px-home-hero,
  body.public-application
  .svc29-hero {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile */

@media (max-width: 620px) {
  body.public-application
  .px-home-hero {
    min-height: auto !important;
    padding: 19px 16px !important;
    border-radius: 17px !important;
  }

  body.public-application
  .px-directory-hero {
    min-height: 102px !important;
    padding: 15px !important;
    border-radius: 16px !important;
  }

  body.public-application
  .svc29-hero {
    min-height: auto !important;
    padding: 20px 17px !important;
    border-radius: 17px !important;
  }

  body.public-application
  .svc29-hero h1 {
    font-size: 2.15rem !important;
  }

  body.public-application
  .l34-discovery {
    padding: 13px 11px 10px !important;
    border-radius: 17px !important;
  }

  .l34-discovery-header {
    margin-bottom: 9px;
  }

  .l34-title-icon {
    width: 37px;
    height: 37px;
  }

  .l34-title p,
  .l34-count span {
    display: none;
  }

  .l34-count strong {
    font-size: 1.25rem;
  }

  .l34-search {
    min-height: 44px;
  }

  body.public-application
  .l34-search input {
    min-height: 42px !important;
    font-size: 16px !important;
  }

  .l34-live {
    width: 25px;
    height: 25px;
    justify-content: center;
    margin: 0 7px 0 3px;
    padding: 0;
  }

  .l34-live b {
    display: none;
  }

  .l34-filter-rail {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-right: -11px;
    padding-right: 11px;
    scrollbar-width: none;
  }

  .l34-filter-rail::-webkit-scrollbar {
    display: none;
  }

  .l34-filter {
    width: 145px;
    min-width: 145px;
    flex: 0 0 145px;
  }

  .l34-filter:first-child {
    width: 180px;
    min-width: 180px;
    flex-basis: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.player-safe-loading
  #main-content {
    transition: none;
  }
}