/* Light / dark theme support for section titles + post carousel */

/* ── Section Title ── */
body.voicey-theme-dark .pr-section-title:not(.has-custom-title-color) {
  --pr-section-title-color: #fff;
}

body.voicey-theme-dark .pr-section-title:not(.has-custom-border-color) {
  --pr-section-title-border: #a97ae6;
}

body.voicey-theme-dark .pr-section-title__heading {
  color: var(--pr-section-title-color) !important;
}

body.voicey-theme-dark .pr-section-title__line {
  background: var(--pr-section-title-border) !important;
}

/* ── Homepage / box_header section titles (LATEST, SERVE, etc.) ── */
body.voicey-theme-dark .box_header.voicey-divider-header,
body.voicey-theme-dark h3.box_header.voicey-divider-header,
body.voicey-theme-dark.home .box_header.voicey-divider-header,
body.voicey-theme-dark.home h3.box_header.voicey-divider-header,
body.voicey-theme-dark.home .vc_row.latest-header-row.main-headingClass .left_headings.wpb_column span.bold_heading,
body.voicey-theme-dark.home .vc_row.latest-header-row.main-headingClass .left_headings.wpb_column h3,
body.voicey-theme-dark.home .vc_row.latest-header-row.main-headingClass .left_headings.wpb_column .box_header {
  color: #fff !important;
  background: transparent !important;
}

body.voicey-theme-dark .vc_row.latest-header-row.main-headingClass,
body.voicey-theme-dark.home .vc_row.latest-header-row.main-headingClass {
  background-color: transparent !important;
}

body.voicey-theme-dark.home .vc_row.latest-header-row.main-headingClass .right_headings.wpb_column p,
body.voicey-theme-dark.home .vc_row.latest-header-row.main-headingClass .right_headings.wpb_column p a,
body.voicey-theme-dark.home .latest-more-link,
body.voicey-theme-dark.home .latest-more-link a,
body.voicey-theme-dark.home .voicey-latest-header h3,
body.voicey-theme-dark.home .voicey-latest-header a {
  color: #fff !important;
}

/* ── Post carousel (pr_post_carousel) ── */
body.voicey-theme-dark .horizontal_carousel_container li.post h5,
body.voicey-theme-dark .horizontal_carousel_container li.post h5 a,
body.voicey-theme-dark .vertical_carousel_container li.post .post_content h5 a,
body.voicey-theme-dark.home li.post h5,
body.voicey-theme-dark.home li.post h5 a,
body.voicey-theme-dark.home .horizontal_carousel_container li.post h5 a {
  color: #fff !important;
}

body.voicey-theme-dark ul.post_details.simple.category-above li.category,
body.voicey-theme-dark ul.post_details.simple.category-above li.category a,
body.voicey-theme-dark.home ul.post_details.simple.category-above li.category,
body.voicey-theme-dark.home ul.post_details.simple.category-above li.category a {
  color: #c9a8e8 !important;
}

body.voicey-theme-dark.home ul.post_details.custom-meta.simple li.author,
body.voicey-theme-dark.home ul.post_details.custom-meta.simple li.author .author-name,
body.voicey-theme-dark.home ul.post_details.custom-meta.simple li.date,
body.voicey-theme-dark.home ul.post_details.custom-meta.simple li.date .date-text,
body.voicey-theme-dark ul.post_details.simple li.date,
body.voicey-theme-dark ul.post_details.simple .date {
  color: #e0e0e0 !important;
}

/* Carousel nav arrows — use background-color only (keep arrow images) */
body.voicey-theme-dark .horizontal_carousel_container a.slider_control,
body.voicey-theme-dark .vc_col-sm-12 .horizontal_carousel_container a.slider_control,
body.voicey-theme-dark .horizontal_carousel_container.big a.slider_control,
body.voicey-theme-light .horizontal_carousel_container a.slider_control,
body.voicey-theme-light .vc_col-sm-12 .horizontal_carousel_container a.slider_control,
.horizontal_carousel_container a.slider_control,
.vc_col-sm-12 .horizontal_carousel_container a.slider_control {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  z-index: 5;
}

body.voicey-theme-dark .horizontal_carousel_container a.slider_control,
body.voicey-theme-dark .vc_col-sm-12 .horizontal_carousel_container a.slider_control,
body.voicey-theme-dark .horizontal_carousel_container.big a.slider_control {
  background-color: rgba(80, 80, 80, 0.9) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

body.voicey-theme-dark .horizontal_carousel_container a.slider_control:hover,
body.voicey-theme-dark .horizontal_carousel_container a.slider_control:focus-visible {
  background-color: rgba(169, 122, 230, 0.95) !important;
}

body.voicey-theme-light .horizontal_carousel_container a.slider_control,
body.voicey-theme-light .vc_col-sm-12 .horizontal_carousel_container a.slider_control {
  background-color: #c2bdfb !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Product slider (Swiper) nav */
body.voicey-theme-dark .pr-product-slider .swiper-button-next,
body.voicey-theme-dark .pr-product-slider .swiper-button-prev,
body.voicey-theme-dark .swiper.product-slider .swiper-button-next,
body.voicey-theme-dark .swiper.product-slider .swiper-button-prev {
  background-color: rgba(169, 122, 230, 0.92) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.voicey-theme-dark .pr-product-slider .swiper-button-next::after,
body.voicey-theme-dark .pr-product-slider .swiper-button-prev::after,
body.voicey-theme-dark .swiper.product-slider .swiper-button-next::after,
body.voicey-theme-dark .swiper.product-slider .swiper-button-prev::after {
  color: #fff !important;
  font-size: 18px !important;
}

body.voicey-theme-light .pr-product-slider .swiper-button-next,
body.voicey-theme-light .pr-product-slider .swiper-button-prev,
body.voicey-theme-light .swiper.product-slider .swiper-button-next,
body.voicey-theme-light .swiper.product-slider .swiper-button-prev {
  opacity: 1 !important;
  visibility: visible !important;
}

body.voicey-theme-light .pr-product-slider .swiper-button-next::after,
body.voicey-theme-light .pr-product-slider .swiper-button-prev::after,
body.voicey-theme-light .swiper.product-slider .swiper-button-next::after,
body.voicey-theme-light .swiper.product-slider .swiper-button-prev::after {
  color: #000 !important;
  font-size: 18px !important;
}

/* Light theme carousel stays as designed (black titles, purple cats) */
body.voicey-theme-light.home li.post h5,
body.voicey-theme-light.home li.post h5 a {
  color: #000;
}

body.voicey-theme-light .pr-section-title:not(.has-custom-title-color) {
  --pr-section-title-color: #000;
}
