.page-header {
  background-image: url("/wp-content/themes/learning-divers-theme/assets/img/page-header-compressed.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  margin-bottom: -50px;
  padding-bottom: 20px;
  position: relative;
  z-index: 0;
}
@media screen and (min-width: 991.98px) {
  .page-header.has-custom-height {
    margin-bottom: var(--negative-margin, -50px);
    padding-bottom: calc(var(--negative-margin) * -1 - 30px);
  }
}
.page-header .page-header-wrapper {
  min-height: 280px;
}
.page-header .page-header-wrapper * {
  color: #ffffff;
}
@media screen and (min-width: 991.98px) {
  .page-header .page-header-wrapper {
    min-height: var(--min-desktop-height, 280px);
  }
}
@media screen and (max-width: 1199.98px) {
  .page-header .page-header-wrapper {
    flex-direction: column-reverse;
  }
}
.page-header .page-header-wrapper.text-start .description {
  margin-left: 0;
  margin-bottom: 30px;
}
.page-header .page-header-wrapper h1 span {
  background-color: rgba(219, 105, 242, 0.4901960784);
}
.page-header .page-header-wrapper h1.big {
  font-size: 52px;
}
@media screen and (max-width: 767.98px) {
  .page-header .page-header-wrapper h1.big {
    font-size: 36px;
  }
}
.page-header .page-header-wrapper p.description {
  margin: 0 auto;
  max-width: 750px;
  font-weight: 500;
}
.page-header.post {
  background-image: url("/wp-content/uploads/2025/02/post-header-bg.png");
  margin-bottom: 0;
}
.page-header.post .page-header-wrapper {
  min-height: 375px;
  padding-top: 115px;
}
@media screen and (max-width: 767.98px) {
  .page-header.post .page-header-wrapper {
    min-height: 305px;
  }
}
.page-header.post .page-header-wrapper h1 {
  max-width: 960px;
  font-size: 3.25rem;
  transform: translateY(20px);
}
@media screen and (max-width: 767.98px) {
  .page-header.post .page-header-wrapper h1 {
    font-size: 2.2rem;
  }
}
.page-header.post .page-header-wrapper .date,
.page-header.post .page-header-wrapper .author {
  width: 150px;
  display: flex;
  white-space: nowrap;
}
.page-header.margin {
  margin-bottom: -50px;
}
.page-header img.wave {
  height: 40px;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  background-size: cover;
}

.user-certificates {
  display: flex;
  gap: 5px;
}
.user-certificates img {
  width: 36px;
  height: 36px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}
@media screen and (max-width: 767.98px) {
  .user-certificates img {
    width: 26px;
    height: 26px;
  }
}
.user-certificates.smaller {
  gap: 3px;
}
.user-certificates.smaller img {
  width: 20px;
  height: 20px;
  transform: translateY(-2px);
}

.educator-item {
  width: 100%;
  background-color: #ffffff;
  outline: 3px solid #f4edf7;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 1199.98px) {
  .educator-item {
    flex-wrap: wrap;
  }
}
.educator-item img.thumbnail {
  min-width: 105px;
  max-width: 105px;
  height: 105px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.educator-item img.thumbnail.default {
  background-color: #2B2A6A22;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 10px;
}
.educator-item .basic-info {
  max-width: 275px;
}
@media screen and (max-width: 1199.98px) {
  .educator-item .basic-info {
    max-width: 100%;
  }
}
.educator-item .basic-info a {
  text-decoration: none;
}
.educator-item .basic-info a h2 {
  color: #2B2A6A;
  font-size: 20px;
  word-break: break-all;
}
.educator-item .basic-info .moto {
  font-size: 14px;
  max-width: min(310px, 100%);
  line-height: 1.4;
}
.educator-item .basic-info .location-and-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
}
@media screen and (max-width: 400px) {
  .educator-item .basic-info .location-and-rating {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
.educator-item .basic-info .location-and-rating .location {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 5px;
}
@media screen and (max-width: 400px) {
  .educator-item .basic-info .location-and-rating .location {
    gap: 9px;
  }
}
.educator-item .basic-info .location-and-rating .divider {
  width: 1px;
  height: 16px;
  background-color: lightgray;
}
@media screen and (max-width: 400px) {
  .educator-item .basic-info .location-and-rating .divider {
    display: none;
  }
}
.educator-item .basic-info .location-and-rating .review-rating {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.educator-item .basic-info .location-and-rating .review-rating svg {
  transform: translateY(1px);
}
.educator-item .basic-info .location-and-rating .review-rating .reviews-count {
  font-size: 14px;
  color: gray;
}
.educator-item .talents {
  min-width: 355px;
  max-width: 355px;
  padding: 5px 15px;
  border-radius: 10px;
  background-color: #413CA011;
  margin-left: auto;
  height: 105px;
  overflow-y: auto;
}
@media screen and (max-width: 1199.98px) {
  .educator-item .talents {
    display: none;
  }
}
.educator-item .talents .nav-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.educator-item .talents .nav-tabs .nav-link {
  padding: 5px 10px;
  background: none;
  border: 0;
  color: #2B2A6A;
  font-weight: 600;
  font-size: 14px;
}
.educator-item .talents .nav-tabs .nav-link.active {
  color: #DB69F2;
}
.educator-item .talents .tab-content .tab-pane ul {
  margin: 0;
  padding: 0;
  padding-top: 5px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
.educator-item .talents .tab-content .tab-pane ul li {
  padding: 4px 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 14px;
}
.educator-item .talents .tab-content span {
  font-size: 14px;
}
.educator-item a.btn {
  min-width: 0;
  padding: 5px 15px;
}
.educator-item a.btn svg {
  height: 12px;
  min-width: 10px;
  max-width: 10px;
}
@media screen and (max-width: 767.98px) {
  .educator-item a.btn {
    min-width: 105px;
  }
}

section.educator-list-with-filtration {
  position: relative;
  z-index: 5;
}
section.educator-list-with-filtration .filtration {
  padding: 30px 30px;
  background-color: #ffffff;
  border-radius: 10px;
}
section.educator-list-with-filtration .filtration #filtration {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
section.educator-list-with-filtration .filtration #filtration .accordion-button {
  border-bottom: 1px solid #2B2A6A22;
  padding-bottom: 5px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
}
section.educator-list-with-filtration .filtration #filtration .accordion-button.collapsed svg {
  transform: rotate(0);
}
section.educator-list-with-filtration .filtration #filtration .accordion-button svg {
  transform: rotate(-180deg);
  transition: 0.4s;
}
section.educator-list-with-filtration .filtration #filtration input#search-input {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #2B2A6A99;
  border-radius: 5px;
}
section.educator-list-with-filtration .filtration #filtration input#search-input::-moz-placeholder {
  color: #2B2A6A;
}
section.educator-list-with-filtration .filtration #filtration input#search-input::placeholder {
  color: #2B2A6A;
}
section.educator-list-with-filtration .filtration #filtration .accordion-collapse {
  max-height: 450px;
  overflow-y: auto;
}
section.educator-list-with-filtration .filtration #filtration .accordion-collapse h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
section.educator-list-with-filtration .filtration #filtration .accordion-collapse h4:not(:first-of-type) {
  margin-top: 16px;
}
section.educator-list-with-filtration .filtration #filtration .accordion-collapse label {
  display: inline-flex;
  gap: 6px;
}
section.educator-list-with-filtration .filtration #filtration .accordion-collapse label input[type=checkbox] {
  accent-color: #de54fa;
  border-radius: 5px;
}
section.educator-list-with-filtration .posts {
  position: relative;
}
section.educator-list-with-filtration .posts #posts-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  transform: translateY(3px);
}
section.educator-list-with-filtration .posts .loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 105%;
  height: 100%;
  z-index: 10;
  background-color: white;
  opacity: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
}
section.educator-list-with-filtration .posts .loading-overlay.hidden {
  display: none;
}
section.educator-list-with-filtration .posts .loading-overlay svg {
  background: none !important;
}
section.educator-list-with-filtration .posts .pagination {
  display: flex;
  padding: 0;
}
section.educator-list-with-filtration .posts .pagination .prev {
  transform: rotate(180deg);
}
section.educator-list-with-filtration .posts .pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 1.6rem 0 0;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s;
}
section.educator-list-with-filtration .posts .pagination .page-numbers[aria-current=page] {
  background-color: #2B2A6A;
  color: white;
  border-radius: 5px;
}
section.educator-list-with-filtration .posts .pagination .page-numbers:not(.dots):hover {
  background-color: #2B2A6A;
  color: white;
}
section.educator-list-with-filtration .posts .pagination a {
  border-radius: 5px;
}
section.educator-list-with-filtration .posts .no-posts-found {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 0 10px 0 #2B2A6A22;
}

.aside-become-educator {
  max-width: 252px;
  margin: 0 auto;
  text-align: center;
  margin-top: 40px;
}
@media screen and (max-width: 991.98px) {
  .aside-become-educator {
    margin-bottom: 40px;
  }
}
.aside-become-educator h3 {
  font-size: 18px;
}
.aside-become-educator h3 span {
  font-size: 18px;
  font-weight: bold;
  color: #2B2A6A;
}

.page-content {
  margin-top: 50px;
  padding: 30px;
}
@media screen and (max-width: 991.98px) {
  .page-content {
    margin-top: 0px;
    padding: 1.5rem;
  }
}
.page-content .box {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
}
@media screen and (max-width: 767.98px) {
  .page-content .box {
    padding: 15px;
  }
}
.page-content .box h2, .page-content .box h3, .page-content .box h4, .page-content .box h5 {
  margin-bottom: 20px;
}
.page-content .box p {
  margin-bottom: 16px;
}