/* Perseus Epic Page Style */

.perseus-epic-banner-section {
  padding-top: 170px;
  padding-bottom: 87px;
}

.perseus-epic-gallery-image img {
  width: 100%;
  max-width: 100%;
  height: 500px;
  border-radius: 15px;
  object-fit: cover;
}

.perseus-epic-first-div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 0;
  margin-bottom: 20px;
}

.perseus-epic-div-text {
  width: 100%;
  max-width: 35%;
}

.perseus-epic-gallery {
  width: 100%;
  max-width: 59.5%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 0;
}

.perseus-epic-gallery-image {
  width: 100%;
  max-width: 32%;
}

.perseus-epic-second-div {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 0;
}

.perseus-epic-second-div .perseus-epic-gallery-image {
  max-width: 19%;
}

.perseus-epic-div-text h1 {
  color: #000 !important;
  margin-bottom: 30px;
}

.perseus-epic-div-text p {
  margin-bottom: 0;
  color: #273440 !important;
  letter-spacing: 0 !important;
  /*     line-height: 105%; */
  line-height: 1.1;
}

.perseus-epic-about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 17px;
}

.perseus-epic-about-content {
  width: 100%;
  max-width: 36%;
}

.perseus-epic-about-gallery {
  width: 100%;
  max-width: 60%;
}

.perseus-epic-about-content h2 {
  color: #000;
  margin-bottom: 84px;
  max-width: 600px;
}

.perseus-epic-about-content p {
  color: #273440;
}

.perseus-epic-about-gallery {
  width: 100%;
  max-width: 60%;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 17px 0;
}

.perseus-epic-about-gallery .perseus-epic-gallery-image {
  width: 100%;
  max-width: 31.5%;
}

.unsung-heroes-program {
  background: #273440;
  padding: 268px 0 268px;
  position: relative;
}

.unsung-heroes-program h2 {
  margin-bottom: 128px;
}

/* Feedback Update */

.perseus-epic-gallery .perseus-epic-gallery-image:nth-child(4),
.perseus-epic-gallery .perseus-epic-gallery-image:nth-child(5) {
  display: none !important;
}

.perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(1) {
  max-width: 100% !important;
}

.perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(1) img {
  height: 100% !important;
}

.perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(5),
.perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(6),
.perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(7),
.perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(8) {
  display: none;
}

.perseus-epic-about-iframe {
  width: 100%;
}

.perseus-epic-about-iframe iframe {
  border-radius: 15px;
}

.iframe-video-section iframe {
  width: 100%;
}

/* Media Queries */

@media only screen and (min-width: 1710px) and (max-width: 1920px) {
  .page-template-perseus-epic .container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 113px;
    padding-right: 77px;
  }
  #wrapper-footer .column.extra-padding.col-md-12 {
    padding: 0 !important;
  }
  .perseus-epic-div-text {
    max-width: 40%;
  }
  .perseus-epic-div-text p {
    max-width: 635px;
    font-size: 32px;
  }
  .perseus-epic-about-content p {
    font-size: 32px !important;
  }
  .custom-heading-style-peseus-epic h1,
  .custom-heading-style-peseus-epic h2,
  footer h2 {
    font-size: 65px !important;
  }
  .unsung-heroes-program p {
    font-size: 36px;
    /*     line-height: 105% !important; */
    line-height: 1.1;
    font-weight: 400 !important;
    max-width: 1685px;
  }
  .page-template-perseus-epic .footer-widget-area-1 h2 {
    max-width: 849px !important;
  }
  .footer-widget-area-1 h2 {
    max-width: 849px !important;
  }
}


@media only screen and (min-width: 1921px) {
  .page-template-perseus-epic .container {
    max-width: 1724px;
    max-width: 1167px;
    margin-left: auto;
    margin-right: auto;
  }
}


@media only screen and (max-width: 1709px) {
  .perseus-epic-gallery-image img {
    height: 300px;
  }
  .perseus-epic-about-content h2 {
    margin-bottom: 30px;
  }
  .unsung-heroes-program h2 {
    margin-bottom: 60px;
  }
  .unsung-heroes-program {
    padding: 120px 0 120px;
  }
}


@media only screen and (min-width: 1400px) {
  .perseus-epic-about-content h2 {
    max-width: 90%;
  }
}


@media only screen and (max-width: 1024px) {
  .perseus-epic-gallery-image img {
    height: 260px;
  }
  .page-template-perseus-epic h1,
  h2 {
    font-size: 44px;
  }
  .perseus-epic-banner-section {
    padding-top: 160px;
    padding-bottom: 60px;
  }
  .unsung-heroes-program {
    padding: 90px 0 60px;
  }
  .unsung-heroes-program h2 {
    margin-bottom: 30px;
  }
}


@media only screen and (max-width: 880px) {
  .perseus-epic-div-text {
    max-width: 75%;
  }
  .perseus-epic-gallery {
    max-width: 100%;
  }
  .perseus-epic-about-content {
    max-width: 100%;
  }
  .perseus-epic-about-gallery {
    max-width: 100%;
  }
  .perseus-epic-second-div {
    width: 100%;
    justify-content: flex-start;
    gap: 17px 12px;
  }
  .perseus-epic-first-div {
    margin-bottom: 17px;
  }
  .perseus-epic-second-div .perseus-epic-gallery-image {
    max-width: 32%;
  }
}

@media only screen and (max-width: 767px) {
  .perseus-epic-banner-section {
    padding-top: 123px;
    padding-bottom: 47px;
  }
  .page-template-perseus-epic h1,
  h2 {
    font-size: 36px;
    text-align: center;
    text-align: left !important;
   }
  .perseus-epic-div-text {
    max-width: 100%;
  }
  .perseus-epic-div-text p {
    font-size: 14px;
    text-align: center;
    max-width: 283px;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .perseus-epic-gallery {
    gap: 7px 0;
  }
  .perseus-epic-gallery .perseus-epic-gallery-image:last-child {
    display: none;
  }
  .perseus-epic-second-div {
    display: none;
  }
  .perseus-epic-gallery-image {
    max-width: 48%;
  }
  .page-template-perseus-epic .container {
    max-width: 100%;
    padding-left: 45px;
    padding-right: 41px;
  }
  .perseus-epic-about-content p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 35px;
  }
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-last-child(-n+2) {
    display: none;
  }
  .perseus-epic-about-gallery .perseus-epic-gallery-image {
    width: 100%;
    max-width: 48%;
  }
  .perseus-epic-about-gallery {
    gap: 8px 0;
  }
  .unsung-heroes-program p {
    text-align: center;
    margin: 0;
    font-size: 14px;
  }
  .page-template-perseus-epic footer .container {
    padding: 0 !important;
  }
  .perseus-epic-gallery-image img {
    height: 230px;
  }
  .page-template-perseus-epic header .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .perseus-epic-gallery .perseus-epic-gallery-image:nth-child(1),
  .perseus-epic-gallery .perseus-epic-gallery-image:nth-child(2),
  .perseus-epic-gallery .perseus-epic-gallery-image:nth-child(3) {
    display: none !important;
  }
  .perseus-epic-gallery .perseus-epic-gallery-image:nth-child(4),
  .perseus-epic-gallery .perseus-epic-gallery-image:nth-child(5) {
    display: block !important;
  }
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(1),
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(2),
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(3),
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(4) {
    display: none;
  }
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(5),
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(6),
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(7),
  .perseus-epic-about-gallery .perseus-epic-gallery-image:nth-child(8) {
    display: block;
  }
  .single-post iframe {
    width: 100%;
    height: 100%;
  }
}


@media only screen and (max-width: 350px) {
  .page-template-perseus-epic .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}


.our-team-cards-wrapper .cards-wrapper {
  justify-content: start;
}
