/*
Theme Name: PANAP Child
Theme URI: https://panap.net/
Description: Custom child theme for the PANAP WordPress theme.
Author: PANAP
Author URI: https://panap.net/
Template: panap
Version: 1.4.4
Text Domain: panap-child
*/

/* Add your custom styles below */
.main-nav > ul > li > a {
  position: relative;
  padding: 0px 0;
  transition: color 0.2s ease;
}
.slider-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgb(2 135 136 / 46%);
    padding: 10px 15px;
    border-radius: 99px;
}
div#panap-google-results-list {
    width: 80%;
    margin: auto;
    padding: 85px 0;
}

.main-nav > ul > li > a::after {
    content: "";
    position: absolute;
    bottom: -36px !important;
}

.main-nav .chevron {
  transition:
    transform 0.25s ease,
    color 0.2s ease;
  font-size: 10px;
  top: -1px;
  position: relative;
}
#single-videos-3388 .panap-video-single {
  padding: 40px 0 0;
  width: 52% !important;
  margin: auto;
  max-width: 80% !important;
  padding-top: 65px !important;
}
.logo img {
    height: 70px !important;
    width: auto;
}
#single-videos-3388 nav.navigation.post-navigation {
  padding-bottom: 138px !important;
}

#single-videos-3388 .container.panap-video-player {
  padding: 48px 24px !important;
}
.hero-bg::before {
  content: "";
  background: linear-gradient(
    149deg,
    rgba(2, 135, 136, 0.85) 16.69%,
    rgba(90, 47, 119, 0.85) 81.39%
  );
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.7;
  clip-path: polygon(0 0, 57% 0, 43% 100%, 0% 100%);
}

button.panap-filters-toggle.btn.btn-gradient-sm {
  display: none !important;
}
.panap-archive-layout {
  padding: 100px 22px 200px 22px !important;
}

.panap-resource-cover img {
  height: auto !important;
}

.panap-resource-body h1 {
  font-size: clamp(26px, 3.4vw, 30px) !important;
  margin-bottom: 20px;
  line-height: 38px !important;
}

.post-navigation {
  padding: 28px 0 0 0 !important;
}
nav.panap-breadcrumbs {
  padding-bottom: 15px !important;
}
.network-partner {
  margin-top: 64px;
}

.site-footer {
  padding: 145px 0 28px;
}

.panap-archive {
  padding: 100px 22px 200px 22px !important;
}
.panap-resource-single {
  padding: 70px 0 175px 0;
}

.resource-card h3 {
  font-size: 18px;
  line-height: 1.45;
  min-height: 56px;
  height: 25px;
  overflow: hidden;
  padding: 0 !important;
}
.resource-meta {
  color: var(--gray-500);
  font-size: 14px;
  padding: 0 !important;
}
.resource-card {
  padding: 0;
}
.resource-card .btn {
  align-self: flex-start;
  margin: 0 !important;
  width: 100%;
}
.resource-card .resource-cover {
  position: relative;
  overflow: visible !important;
  height: 220px !important;
  text-align: center;
  width: 100%;
  display: block;
  justify-content: center;
  border-radius: 0 !important;
}

.badge {
  position: absolute;
  bottom: -7px;
  left: 0px !important;
  background: #028788c7;
  color: #fff;
  font-size: 10px;
  padding: 10px;
  border-radius: 0;
  width: 100%;
  text-align: start;
  top: auto !important;
}
.resource-card .resource-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.resource-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
}

@media only screen and (max-width: 999px) {
  .hero-bg::before {
    content: "";
    background: linear-gradient(
      149deg,
      rgba(2, 135, 136, 0.85) 16.69%,
      rgba(90, 47, 119, 0.85) 81.39%
    );
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0% 40%);
  }
  #single-videos-3388 .panap-video-single {
    width: 92% !important;
    max-width: 100% !important;
  }
  .hero-inner {
    background: linear-gradient(
      149deg,
      rgba(2, 135, 136, 0.85) 16.69%,
      rgba(90, 47, 119, 0.85) 81.39%
    );
    padding: 39px 25px !important;
  }
  .panap-mobile-footer {
    display: none;
  }
}

/* "View more" button under the listing grids. */
[data-pagination] {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.panap-load-more.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 600px) {
  .panap-load-more {
    width: 100%;
    justify-content: center;
  }
}

/* Submenu icons chosen as images under Appearance → Menus. */
.mega-item-icon img,
.mobile-child-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
