/* Endorsement Packages Carousel */
.wc-endorsements-carousel { position: relative; }
.wc-endorsements-carousel .wc-endorsement-pkgs { overflow: hidden !important; padding-bottom: 14px !important; }
.wc-endorsements-carousel .swiper { overflow: hidden !important; }
.wc-endorsements-carousel .swiper-slide { padding-bottom: 10px; }
.wc-endorsements-carousel.no-arrows .swiper-button-prev,
.wc-endorsements-carousel.no-arrows .swiper-button-next,
.wc-endorsements-carousel.no-dots .swiper-pagination,
.wc-endorsements-carousel.no-dots .wc-pagination-outside { display: none !important; }
.wc-endorsements-carousel .swiper-slide { height: auto; }

/* --- Package Card Styling (Design Reference) --- */
.pkg-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #F6F6F6 0% 0% no-repeat padding-box; /* grey default per spec */
  border-radius: 12px;
  box-shadow: 0px 3px 6px #00000029; /* exact spec */
  padding: 0px 17px; /* interior padding */
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
  text-align: left;
  max-width: 286px; /* reduced additional 15% */
  width: 100%;
  height: 283px; /* reduced additional 15% */
  overflow: hidden;
}

.pkg-title {
  
  font-weight: 700;
  font-size: 23px;
  line-height: 30px;
  color: #261E67;
  margin: 36px 0 7px; /* reduced additional 15% */
  transition: color .25s ease;
}

.pkg-desc {
  
  font-size: 18px;
  line-height: 22px;
  color: #261E67;
  margin: 0 0; /* bottom spacing */
  transition: color .25s ease;
}

.pkg-bottom { margin-top: auto; margin-bottom: 22px; }
.pkg-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  
  text-align: left;
  margin-top: 0; /* handled by .pkg-bottom anchoring */
  white-space: nowrap; /* keep value + suffix on one line */
}

.pkg-price .value { font-size: 43px; line-height: 30px; font-weight: 700; color: #5DB3E7; transition: color .25s ease; }
.pkg-price .suffix { font-size: 20px; line-height: 30px; color: #4894DB; margin-left: 6px; transition: color .25s ease; }

.pkg-note {
  
  font-size: 13px;
  line-height: 13px;
  color: #2E9FE3;
  transition: color .25s ease;
}

.pkg-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px;}
.pkg-note { max-width: 214px; }
.pkg-cta { flex: 0 0 auto; }

.pkg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; height: 26px; background: #261E67 0% 0% no-repeat padding-box; color: #fff; border-radius: 22px; padding: 0px 12px 4px; font-weight: 600!important; font-size: 14px; line-height: 17px; text-decoration: none; box-shadow: 0px 3px 6px #00000029; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.pkg-btn:hover { background: #1D1650; color: #fff; }

.pkg-card:hover { background: linear-gradient(135deg, #0B6FCC 0%, #1F5EC0 45%, #0DA9E7 100%); box-shadow: 0 10px 20px rgba(0,0,0,.12); }

/* Hover state adjustments */
.pkg-card:hover .pkg-title,
.pkg-card:hover .pkg-desc,
.pkg-card:hover .pkg-note,
.pkg-card:hover .pkg-price,
.pkg-card:hover .pkg-price .value,
.pkg-card:hover .pkg-price .suffix,
.pkg-card:hover .pkg-footer,
.pkg-card:hover .pkg-footer * {
  color: #FFFFFF !important;
}

/* Navigation (styled to match Events widget) */
.wc-endorsements-carousel .swiper-button-prev,
.wc-endorsements-carousel .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  background: transparent; 
  color: #6b6b6b;
  border-radius: 999px;
}
.wc-endorsements-carousel .swiper-button-prev:after,
.wc-endorsements-carousel .swiper-button-next:after { font-size: 14px; }

/* Dots */
.wc-endorsements-carousel .swiper-pagination-bullet { width: 12px; height: 12px; opacity: 1; background: #d0d0d0; }
.wc-endorsements-carousel .swiper-pagination-bullet-active { background: #009FE3; }

/* Defensive: hide controls if data attributes say off (even if wrapper class cached) */
.wc-endorsements-carousel .wc-endorsement-pkgs[data-arrows="0"] .swiper-button-prev,
.wc-endorsements-carousel .wc-endorsement-pkgs[data-arrows="0"] .swiper-button-next { display: none !important; }
.wc-endorsements-carousel .wc-endorsement-pkgs[data-dots="0"] .swiper-pagination { display: none !important; }
/* Outside siblings */
.wc-endorsements-carousel .wc-endorsement-pkgs[data-arrows="0"] ~ .swiper-button-prev,
.wc-endorsements-carousel .wc-endorsement-pkgs[data-arrows="0"] ~ .swiper-button-next { display: none !important; }
.wc-endorsements-carousel .wc-endorsement-pkgs[data-dots="0"] ~ .wc-pagination-outside { display: none !important; }

/* Keep desktop font sizes across breakpoints (no mobile overrides) */
@media (max-width: 767px) {
  /* Allow full-width cards on small screens; keep fixed height for layout consistency */
  .wc-endorsements-carousel .pkg-card { max-width: 100%; }
}
.swiper-container-wrap-dots-outside .wc-endorsement-pkgs .swiper-pagination { display: none !important; }
.swiper-container-wrap-dots-inside .wc-pagination-outside { display: none !important; }
.swiper-container-wrap-arrows-outside .wc-endorsement-pkgs .swiper-button-prev,
.swiper-container-wrap-arrows-outside .wc-endorsement-pkgs .swiper-button-next { display: none !important; }
.swiper-container-wrap-arrows-inside .wc-nav-outside { display: none !important; }
/* Navigation Arrows & Dots Outside Positioning */
.swiper-container-wrap-arrows-outside .wc-nav-outside {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.swiper-container-wrap-arrows-outside .wc-nav-outside.swiper-button-prev { left: var(--wc-prev-left, -40px); }
.swiper-container-wrap-arrows-outside .wc-nav-outside.swiper-button-next { right: var(--wc-next-right, -40px); }

.swiper-container-wrap-dots-outside .wc-pagination-outside {
  position: static;
  margin-top: 24px;
  text-align: center;
}

/* give space for outside dots without showing extra slides */
.swiper-container-wrap-dots-outside .wc-endorsement-pkgs { padding-bottom: 24px !important; }
