/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* @font-face {
  font-family: 'Matteo Bold';
  font-weight: 400;
  src: url('https://petdev.us/wp-content/themes/petsustainability_generatepress_child/fonts/Matteo-Bold.woff');
} */

:root {
  --dkBlue: #24295a;
  --ltBlue: #a8aac7;
  --medGreen: #a2af07;
  --ltGreen: #bec767;
  --orange: #ee7f4b;
  --dkOrange: #d25525;
  --accessOrange: #d25525;
}

.margin-adjust {
  margin-top: -1px;
}

#main {
  margin-top: -1px;
}

.page-hero {
  position: relative;
}

#menu-item-24251 {
  background-color: var(--orange);
  border-radius: 35px;
  /* color: #fff; */
}

#menu-item-24251 a {
  line-height: 45px;
  /* color: #fff; */
  font-weight: 600;
}

.bz .facetwp-checkbox {
  background-position-y: 5px;
}

/* .custom-shape-divider-bottom-1756915075 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 0;
}

.custom-shape-divider-bottom-1756915075 svg {
  position: relative;
  display: block;
  width: calc(126% + 1.3px);
  height: 421px;
  transform: rotateY(180deg);
  left: -20%;
}

.custom-shape-divider-bottom-1756915075 .shape-fill {
  fill: #ffffff;
} */

.home-hero h2,
.home-hero h3 {
  color: #fff;
}

.home-hero h2 {
  font-size: 5.5rem;
  line-height: 1.1;
}

.home-hero h3 {
  margin-bottom: 3rem;
}

.home-hero .inside-page-hero {
  padding-bottom: 100px;
  margin-top: -1px;
}

.header-button {
  background: var(--orange);
  border-radius: 45px;
  display: inline-block;
  font-family: 'Varela Round', sans-serif;
  padding: 1rem 4rem;
  font-size: 1.3rem;
  text-align: center;
  font-weight: 700;
  position: relative;
  z-index: 2;
  color: var(--dkBlue);
}

.header-info {
  z-index: 2;
  position: relative;
}

.header-overlay {
  /* background-image: url(https://petdev.us/wp-content/uploads/2025/09/header-bg-2.webp); */
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  min-height: 500px;
  z-index: 1;
}

.pages-hero .header-overlay {
  /* background-image: url(https://petdev.us/wp-content/uploads/2025/09/header-bg-pages.webp); */
  background-position: 50%;
}

.header-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 547px;
  background-image: url(https://petdev.us/wp-content/uploads/2025/09/blue-bottom.webp);
  background-color: #fff;
  background-repeat: no-repeat;
  z-index: 0;
}

.header-bottom-gray {
  background-color: #f8f8f8;
}

.psc-gallery img {
  border-radius: 20px;
}

.kb-advanced-slider {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.kb-splide .splide__arrow--prev {
  left: -42px !important;
}

.kb-splide .splide__arrow--next {
  right: -42px !important;
}

.inside-top-bar {
  padding-left: 0;
  padding-right: 0;
}

.site-header {
  padding: 20px 40px;
}

.inside-header {
  background-color: #fff;
  border-radius: 15px;
}

.kb-button:hover {
  transform: scale(1.07);
}

input[type='button'],
button {
  border-radius: 35px;
}

.current_page_item a {
  position: relative;
}

.current_page_item > a:after {
  content: '';
  position: absolute;
  width: calc(100% - 40px);
  height: 1px;
  background: var(--dkOrange);
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
}

.home .entry-header,
.page-id-24442 .entry-header {
  position: absolute;
  left: -9999px;
}

.home .wp-block-kadence-posts .entry-header,
.page-id-24442 .wp-block-kadence-posts .entry-header {
  position: relative;
  left: initial;
}

.ps-icon {
  border-radius: 50%;
  background: #f7f9ff;
  color: var(--dkBlue);
  font-size: 30px;
  padding: 10px;
  width: 75px;
  height: 75px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.home .kt-testimonial-text-wrap,
.page-id-24442 .kt-testimonial-text-wrap {
  min-height: 400px;
}

.home .blog-feed,
.page-id-24442 .blog-feed,
.home .blog-feed,
.page-id-24115 .blog-feed {
  margin-bottom: 40px !important;
}

.home .kb-post-list-item,
.page-id-24442 .kb-post-list-item,
.home .kb-post-list-item,
.page-id-24115 .kb-post-list-item {
  /* background-color: #b5bedb; */
  border-radius: 20px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
}

.home .kb-post-list-item .entry-content-wrap,
.page-id-24442 .kb-post-list-item .entry-content-wrap,
.home .kb-post-list-item .entry-content-wrap,
.page-id-24115 .kb-post-list-item .entry-content-wrap {
  padding: 2rem !important;
}

.home .wp-block-kadence-posts article,
.page-id-24442 .wp-block-kadence-posts article,
.home .wp-block-kadence-posts article,
.page-id-24115 .wp-block-kadence-posts article {
  border-radius: 20px;
}

.home .wp-block-kadence-posts .loop-entry .post-thumbnail img,
.page-id-24442 .wp-block-kadence-posts .loop-entry .post-thumbnail img,
.home .wp-block-kadence-posts .loop-entry .post-thumbnail img,
.page-id-24115 .wp-block-kadence-posts .loop-entry .post-thumbnail img {
  border-radius: 12px 12px 0 0;
}

/* .home .wp-block-kadence-posts .loop-entry .entry-title {
  font-family: 'Matteo Bold';
} */

/* .donate-row {
  position: relative;
}

.donate-img {
  position: absolute;
  bottom: -130px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  max-width: 100%;
} */

.psc-testimonials h3 {
  /* font-family: 'Matteo Bold' !important; */
  font-size: 2rem !important;
}

.wp-block-kadence-posts a.post-more-link {
  text-transform: capitalize !important;
  font-size: 18px !important;
}

.home .kb-progress-bar-container svg,
.page-id-24442 .kb-progress-bar-container svg {
  height: 100px;
}

#psc-grid-gallery .kb-gallery-ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 75px;
  grid-row-gap: 10px;
  margin: 0;
}

#psc-grid-gallery .kadence-blocks-gallery-item {
  padding: 0;
  width: 100%;
}

#psc-membership-page-gallery .kb-gallery-ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 85px;
  grid-row-gap: 10px;
  margin: 0;
}

#psc-membership-page-gallery .kadence-blocks-gallery-item {
  padding: 0;
  width: 100%;
  align-self: center;
}

.page-id-24120 h2 a {
  color: var(--dkBlue);
}

.accredited-image {
  display: inline-block;
}

/* #psc-membership-page-gallery img {
  padding: 10px;
  background: #fff;
} */

.bz-footer-div {
  background: #0f1337;
  color: #fff;
  text-align: center;
  padding: 65px 20px 0 20px;
  font-size: 2rem;
}

#footer-widgets {
  margin-top: -1px;
}

/* Wrapper & image */
.circular {
  position: relative;
  display: inline-block;
  border-radius: 50%;
}

.circular.adjusted .circle-border {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 98%;
  height: 98%;
}

.circular img {
  display: block;
  border-radius: 50%;
}

/* SVG overlay */
.circular .circle-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circular .circle-border svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* start at top (12 o'clock) */
}
.circular .circle-border circle {
  fill: none;
  stroke: var(--dkBlue); /* <-- border color */
  stroke-width: 3; /* <-- border thickness */
  transition: stroke-dashoffset 1.1s ease 0.2s; /* <-- animation timing */
}

.circular.circular-white .circle-border circle {
  stroke: #fff;
}

/* When in view, the dash offset goes to 0 (fully drawn) */
.circular.in-view .circle-border circle {
  stroke-dashoffset: 0 !important;
}

.wp-singular .gb-looper-1d086b35 .gb-loop-item:first-child {
  display: none;
}

.proof-stat-section .kt-progress-label-inside {
  width: 80%;
  margin-top: -10px;
}

.proof-stat-section .kt-progress-label-inside span {
  font-weight: 700 !important;
}

/* .wp-singular
  .gb-looper-1d086b35
  .gb-loop-item:nth-child(2)
  .mem-data-accredited {
  position: relative;
}

.wp-singular
  .gb-looper-1d086b35
  .gb-loop-item:nth-child(2)
  .is-accredited:after {
  content: '';
  background-image: url('https://petdev.us/wp-content/uploads/2025/10/psc-accredited.webp');
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  position: absolute;
  right: -59px;
  top: -9px;
} */

p.mem-data-accredited > span {
  position: relative;
  padding-left: 50px;
}

.is-accredited span:before {
  content: '';
  background-image: url('https://petdev.us/wp-content/uploads/2026/01/check.webp');
  background-repeat: no-repeat;
  background-size: contain;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  top: -9px;
}

.facetwp-facet.facetwp-type-reset {
  margin-bottom: 0;
}

.facetwp-input-wrap,
.facetwp-facet input.facetwp-search,
.facetwp-facet input.facetwp-location {
  max-width: 100%;
  min-width: initial !important;
}

.gb-looper-db7b0588 {
  margin-bottom: 30px;
}

.facetwp-facet-psc_member_pagination {
  text-align: center;
}

.bz .psc-countup .kb-count-up-number,
.bz .psc-countup .kb-count-up-title {
  font-weight: 700;
}

#callout-row {
  margin-right: -100px;
}

#callout-row-2 {
  margin-left: -130px;
}

/* .tk-description {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
} */

/* .psd-primary-packaging {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 10px;
  font-weight: 700;
} */

/* .bz .psc-quote-row > .kt-row-column-wrap {
  margin-right: initial;
} */

/* Outer container with class "accredited-query" */
.accredited-query {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Inner div wrapper that contains all items */
.accredited-query > div {
  display: flex;
  width: max-content;
  animation: scroll 230s linear infinite;
  gap: 20px; /* Spacing between images */
}

/* Individual items - each takes up 1/5 of viewport minus gaps */
.accredited-query .gb-loop-item {
  flex-shrink: 0;
  width: calc(
    (100vw - 120px) / 5
  ); /* 5 items visible, accounting for gaps + padding */
  max-width: 350px; /* Prevent items from getting too large on wide screens */
  min-width: 200px; /* Prevent items from getting too small */
}

/* Make images responsive within their containers */
.accredited-query .gb-loop-item img {
  width: 200px;
  height: 200px;
  display: block;
  object-fit: contain;
}

/* Pause animation on hover (optional) */
.accredited-query > div:hover {
  animation-play-state: paused;
}

/* Keyframe animation for continuous scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*responsive=======================*/
@media only screen and (max-width: 1675px) {
  .psc-gallery .kb-slide-item {
    margin-right: 100px !important;
    width: calc(20% - 80px) !important;
  }

  #callout-row {
    margin-right: 0;
  }

  #callout-row-2 {
    margin-left: 0;
  }
}

@media only screen and (max-width: 1600px) {
  #home-consideration-row > .kt-row-column-wrap {
    min-height: 1100px;
  }

  #membership-partner-row .kt-row-column-wrap {
    max-width: 1200px;
  }

  #membership-partner-row {
    background-position-x: 19%;
  }
}

@media only screen and (max-width: 1450px) {
  .psc-countup-seciton .kt-inside-inner-col {
    width: 230px;
    min-height: 230px !important;
    margin: 0 auto;
  }

  .bz .psc-countup .kb-count-up-number {
    font-size: 40px;
  }

  .bz .psc-countup .kb-count-up-title {
    font-size: 22px;
  }

  #membership-partner-row .kt-row-column-wrap {
    max-width: 1000px;
  }
}

@media only screen and (max-width: 1425px) {
  .inside-top-bar {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media only screen and (max-width: 1350px) {
  .kt-row-has-bg.mobile-padding > .kt-row-column-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }

  .psc-gallery .kb-slide-item {
    margin-right: 80px !important;
    width: calc(33.3% - 60px) !important;
  }

  #callout-row {
    background-position: 100% 0;
  }

  #callout-row-2 {
    background-position: 0 0;
  }

  .inside-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .main-navigation .main-nav ul li a {
    padding-left: 5px;
  }

  .main-navigation .main-nav ul #menu-item-24251 a {
    padding-left: 20px;
  }

  .nav-float-right .header-widget {
    margin-left: 5px;
  }
}

@media only screen and (max-width: 1300px) {
  #home-consideration-row > .kt-row-column-wrap {
    padding-top: 100px !important;
  }
}

@media only screen and (max-width: 1242px) {
  #home-consideration-row > .kt-row-column-wrap {
    min-height: 1250px;
  }

  #callout-row {
    margin-bottom: -219px;
  }

  #callout-row > .kt-row-column-wrap {
    padding-left: 60px;
  }

  #callout-row-2 > .kt-row-column-wrap {
    padding-right: 60px;
  }
}

@media only screen and (max-width: 1200px) {
  .kb-search {
    justify-content: flex-end;
  }

  .site-header .header-widget {
    margin-top: 0;
  }

  .has-inline-mobile-toggle .header-widget,
  .has-inline-mobile-toggle #site-navigation {
    flex-basis: initial;
  }

  .nav-float-right #site-navigation {
    margin-left: initial;
  }

  .pages-hero .header-overlay {
    background-position-x: 70%;
  }

  #psc-grid-gallery .kb-gallery-ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .psc-testimonials .kb-splide .splide__slide {
    width: 100% !important;
  }

  .accredited-query .gb-loop-item {
    width: calc((100vw - 80px) / 4); /* Show 4 items on medium screens */
  }
}

@media only screen and (max-width: 1172px) {
  .psc-countup-seciton .kt-inside-inner-col {
    width: 200px;
    min-height: 200px !important;
    margin: 0 auto;
  }

  .bz .psc-countup .kb-count-up-number {
    font-size: 30px;
  }

  .bz .psc-countup .kb-count-up-title {
    font-size: 20px;
  }
}

@media only screen and (max-width: 1024px) {
  .inside-footer-widgets {
    flex-direction: column;
    max-width: 225px;
    margin: 0 auto !important;
  }

  .inside-footer-widgets > div:not(:last-child) {
    margin-bottom: 60px;
  }

  .home-hero h2 {
    font-size: 5rem;
  }

  #home-consideration-row > .kt-row-column-wrap {
    min-height: 1100px;
  }

  .psc-countup-seciton .kt-inside-inner-col {
    width: 306px;
    min-height: 306px !important;
    margin: 0 auto;
  }

  .bz .psc-countup .kb-count-up-number {
    font-size: 50px;
  }

  .bz .psc-countup .kb-count-up-title {
    font-size: 24px;
  }

  #callout-row {
    background-position: 80% 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  #callout-row-2 {
    background-position: 15% 0;
  }

  #callout-row,
  #callout-row-2 {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
  }

  #callout-row > .kt-row-column-wrap,
  #callout-row-2 > .kt-row-column-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }

  #callout-row.callout-row-accred > .kt-row-column-wrap {
    padding-top: 300px;
  }
}

@media only screen and (max-width: 840px) {
  .donate-img {
    width: 600px;
    bottom: -99px;
  }
}

@media only screen and (max-width: 768px) {
  .page-hero {
    padding-top: calc(20px + 250px);
  }
  .psc-gallery .kb-slide-item {
    margin-right: 60px !important;
    width: calc(33.3% - 40px) !important;
  }

  #home-consideration-row > .kt-row-column-wrap {
    min-height: 1000px;
  }

  #psc-grid-gallery .kb-gallery-ul {
    grid-template-columns: repeat(3, 1fr);
  }

  #psc-membership-page-gallery .kb-gallery-ul {
    grid-template-columns: repeat(2, 1fr);
  }

  #callout-row > .kt-row-column-wrap,
  #callout-row-2 > .kt-row-column-wrap {
    padding-top: 250px;
  }

  .accredited-query .gb-loop-item {
    width: calc((100vw - 60px) / 3); /* Show 3 items on tablets */
  }
}

@media only screen and (max-width: 767px) {
  .header-button {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 640px) {
  .page-hero {
    padding-top: calc(20px + 180px);
  }

  .donate-img {
    width: 350px;
    bottom: -59px;
  }

  .site-header .header-image {
    width: 200px;
  }

  .site-header {
    padding: 20px 20px;
  }

  .home-hero h2 {
    font-size: 4rem;
  }

  .home-hero h3 {
    font-size: 2rem;
  }

  .pages-hero .header-overlay {
    background-position-x: 75%;
  }
}

@media only screen and (max-width: 528px) {
  #home-consideration-row > .kt-row-column-wrap {
    min-height: 1100px;
  }

  .psc-gallery .kb-slide-item {
    margin-right: 60px !important;
    width: calc(100% + 0px) !important;
  }

  .kb-splide .splide__arrow--prev {
    left: -32px !important;
  }

  .kb-splide .splide__arrow--next {
    right: -32px !important;
  }

  #psc-grid-gallery .kb-gallery-ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .accredited-query .gb-loop-item {
    width: calc((100vw - 40px) / 2); /* Show 2 items on mobile */
  }
}

@media only screen and (max-width: 430px) {
  .home .kt-testimonial-text-wrap,
  .page-id-24442 .kt-testimonial-text-wrap {
    min-height: 685px;
  }

  .home-hero h2 {
    font-size: 3rem;
  }
}
