.pageBg {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 80%),
    url("/wp-content/uploads/images/page-bg/001.webp") !important;
}

/*------General CSS-----------------------*/

h1 {
  margin: 1rem auto;
}

.leftSide {
  overflow: hidden;
  line-height: 1.5;
  max-width: fit-content;
  width: 40%;
}

.rightSide {
  padding: 0 1% 0 1%;
}

.col3 {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 2.5rem;
  padding: 1rem 0;
}

.col3>div {
  width: fit-content;
  min-width: max-content;
  height: fit-content !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  align-items: center;
}

.col3>div>div:first-child {
  user-select: none;
}

.col3 h2 {
  word-break: keep-all;
  text-align: center;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 0 15px #000;
  /* font-family: var(--font-header); */
}

ul>li:last-child {
  margin: 0;
}

.contentIcon {
  height: min(64px, 22vh);
}

p.dsc {
  text-align: center;
  height: 10vh;
  overflow: auto;
  padding-right: 0.25rem;
  pointer-events: all !important;
  font-size: clamp(calc(0.8rem * 1.3), calc(1.4vw * 1.3), calc(12px * 1.3));
}

p.dsc strong {
  font-family: var(--font-header);
  text-transform: uppercase;
}

#pop-description>.popupCloseButton {
  opacity: 0 !important;
}

/* -------------Responsive CSS------------------------------- */

@media only screen and (min-width: 481px) and (max-height: 430px) and (orientation: landscape) {
  .contentContainerLeft {
    display: flex;
  }

  h1 {
    margin: 1rem 0 1rem 0;
  }

  .contentIcon {
    height: min(48px, 22vh);
  }

  .leftSide {
    width: 33%;
  }

  .col3 {
    flex-direction: row;
    justify-content: space-evenly;
  }

  p.dsc {
    text-align: left;
    max-height: 185px;
    height: fit-content;
  }

  .pageBg {
    background-image:
      linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 80%),
      url("/wp-content/uploads/images/page-bg/001.webp") !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .contentIcon {
    height: min(56px, 22vh);
  }
}

@media only screen and (min-width: 1024px) {
  .pageBg {
    background-image:
      linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 80%),
      url("/wp-content/uploads/images/page-bg/001.webp") !important;
  }

  .contentIcon {
    height: min(72px, 22vh);
  }

  .contentContainer img {
    width: initial;
  }

  h1 {
    margin: 0;
    margin-top: 1rem;
  }

  p.dsc {
    text-align: left;
    height: initial;
  }
}

@media only screen and (min-width: 1023px) and (orientation: portrait) {
  .col3 {
    flex-wrap: wrap;
    align-content: space-evenly;
  }
}

@media (min-width: 1024px) and (orientation: landscape) {
  .contentContainerLeft {
    display: flex;
  }

  .popupContent {
    width: fit-content !important;
  }

  .col3 {
    flex-direction: row;
    justify-content: space-evenly;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .leftSide-hideOnMobile {
    display: none !important;
  }

  .openPopupDesc {
    z-index: 10;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

  }

  .openPopupDesc::before {
    content: "";
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%231f1f1f"><path d="M298-290.46 270.46-318l140.23-142H120v-40h290.69L270.46-642 298-669.54 487.54-480 298-290.46Zm218.92-18.77v-40H840v40H516.92Zm0-301.54v-40H840v40H516.92Zm120 150.77v-40H840v40H636.92Z"/></svg>') !important;
    position: absolute;
    inset: 0px;
    mask-size: 70%;
    mask-repeat: no-repeat;
    mask-position: center center;
    background-color: var(--button-control-text);
  }

  #pop-description {
    display: flex;
    align-items: center;
    height: 100%;

    hr {
      background-color: var(--color-primary);
      margin: .75rem;
    }
  }

  .pop-description-title {
    font-size: 1.6rem !important;
    text-align: center;
  }

  .pop-description-content {
    font-size: clamp(calc(0.8rem * 1.3), calc(1.4vw * 1.3), calc(12px * 1.3));
    height: auto !important;
    overflow: visible !important;
  }

  #pop-description>.popupCloseButton {
    position: fixed !important;
    top: 0;
    right: 0;
    opacity: 1 !important;
  }


}