/*
Theme Name: Synergies
Theme URI: https://synergies.example.com
Author: Synergies
Author URI: https://synergies.example.com
Description: Custom WordPress theme for Synergies - converted from HTML. All sections are dynamic. Uses ACF (free) and Customizer for options.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: synergies
*/

/* Base styles are in assets/css/style.css */

/* Blog listing: consistent image size (16:9 aspect ratio) */
.blog_item .blog_image_fixed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.blog_item .blog_image_fixed .blog_image_wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.blog_item .blog_image_fixed .blog_image_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Keep the Latest Articles cards and their action links in one alignment. */
.home .blog_section .latest_articles_row > [class*="col-"] {
  display: flex;
}

.home .blog_section .blog_item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.home .blog_section .blog_content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.home .blog_section .blog_content .btn-link {
  margin-top: auto;
  align-self: flex-start;
}

.contact_info_email .item_info {
  white-space: nowrap;
  word-break: normal;
}

.yuen_method_intro {
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f6fffb 55%, #e8f8f2 100%);
}

.yuen_method_intro .image_widget > img {
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(20, 72, 51, 0.16);
}

.yuen_levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.yuen_levels li {
  padding: 9px 12px;
  color: var(--bs-dark);
  font-weight: 600;
  background: #ffffff;
  border: 1px solid rgba(75, 154, 24, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(21, 75, 54, 0.07);
}

.yuen_levels i {
  margin-right: 6px;
  color: var(--bs-primary);
}

.yuen_energy_visual {
  overflow: hidden;
  min-height: 430px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(20, 72, 51, 0.13);
}

.yuen_energy_visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yuen_method_details_content {
  padding-left: 44px;
}

.yuen_section_label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--bs-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yuen_details_lead {
  padding: 16px 20px;
  color: var(--bs-dark);
  font-size: 19px;
  font-weight: 700;
  background: #ffffff;
  border-left: 4px solid var(--bs-primary);
  border-radius: 0 12px 12px 0;
}

.yuen_biography_section {
  background: #ffffff;
}

.yuen_energy_section {
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f4fff5 100%);
}

.yuen_energy_content {
  padding-right: 42px;
}

.yuen_energy_section_image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(20, 72, 51, 0.14);
}

.yuen_energy_section_image img {
  display: block;
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.yuen_simple_statement {
  display: inline-block;
  margin: 8px 0 0;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  background: var(--bs-primary);
  border-radius: 999px;
}

.yuen_biography_image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(20, 72, 51, 0.15);
}

.yuen_biography_image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.yuen_biography_section .about_content {
  padding-left: 38px;
}

@media (max-width: 991px) {
  .yuen_method_intro .about_content {
    margin-top: 45px;
  }

  .yuen_method_details_content {
    padding: 40px 0 0;
  }

  .yuen_biography_section .about_content {
    padding: 40px 0 0;
  }

  .yuen_energy_content {
    padding: 0 0 40px;
  }
}

@media (max-width: 575px) {
  .yuen_levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yuen_energy_visual {
    min-height: 280px;
  }
}

.services_booking_section {
  padding: 46px 0 34px;
  background-color: #e8ffe9;
}

.services_booking_intro {
  margin: 0 0 22px;
  color: #1f2c3a;
  font-size: 18px;
  line-height: 1.5;
}

.services_booking_cards {
  display: grid;
  grid-template-columns: minmax(260px, 365px);
  justify-content: center;
  gap: 48px;
  padding: 0 14px;
}

.services_booking_card {
  min-height: 165px;
  padding: 24px 32px 34px;
  border-radius: 8px;
  background-color: #ffffff;
  text-align: center;
}

.services_booking_card h3 {
  margin-bottom: 28px;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
}

.services_booking_price {
  margin-bottom: 18px;
  color: #5d4034;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.services_booking_button {
  min-height: 39px;
  padding: 0 22px;
  border-radius: 3px;
}

@media (min-width: 992px) {
  .site_header .main_menu_list {
    flex-wrap: nowrap;
  }

  .site_header .main_menu_list > li {
    white-space: nowrap;
  }

  .site_header .main_menu_list > li:not(:last-child) {
    margin-right: 4px;
  }

  .site_header .main_menu_list > li > a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 15px;
  }
}

.service_section.bg_primary_light .row > [class*="col-"] {
  display: flex;
}

.service_section.bg_primary_light .service_item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service_section.bg_primary_light .service_item .item_contact {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service_section.bg_primary_light .service_item p {
  flex: 1;
}

@media (max-width: 767px) {
  .services_booking_cards {
    grid-template-columns: 1fr;
    padding: 0;
  }
}

.complete-life-influences {
  margin: 46px 0 56px;
}

.complete-life-influences img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.testimonial_carousel .slick-track {
  display: flex;
}

.testimonial_carousel .slick-slide {
  height: auto;
}

.testimonial_carousel .slick-slide > div,
.testimonial_carousel .carousel_item {
  height: 100%;
}

.testimonial_item {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.testimonial_item .testimonial_preview {
  flex: 1;
  margin-bottom: 26px;
}

.testimonial_item .testimonial_readmore {
  align-self: flex-start;
  margin-top: auto;
}

.testimonial_details_content .rating_star {
  margin-bottom: 22px;
}

.testimonial_details_designation {
  margin-bottom: 30px;
  color: #4b5563;
  font-weight: 700;
}

.training_graduate_testimonials {
  overflow: hidden;
  background: linear-gradient(135deg, #f4fff6 0%, #e6f8ee 100%);
}

.training_testimonial_label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--bs-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training_testimonial_card {
  height: 100%;
  padding: 34px;
  background: #ffffff;
  border: 1px solid rgba(75, 154, 24, 0.15);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(20, 72, 51, 0.1);
}

.training_testimonial_featured {
  border-top: 5px solid var(--bs-primary);
}

.training_testimonial_header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.training_testimonial_avatar {
  display: inline-flex;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  background: var(--bs-primary);
  border-radius: 50%;
}

.training_testimonial_header h3 {
  margin: 0 0 2px;
  font-size: 22px;
}

.training_testimonial_header span {
  color: var(--bs-secondary-color);
  font-size: 14px;
}

.training_quote_icon {
  margin-left: auto;
  color: rgba(75, 154, 24, 0.18);
  font-size: 42px;
}

.training_testimonial_card .rating_star {
  margin-bottom: 20px;
}

.training_testimonial_text p {
  line-height: 1.75;
}

.training_testimonial_text p:last-child {
  margin-bottom: 0;
}

.training_testimonial_text blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  color: var(--bs-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  background: #f3faef;
  border-left: 4px solid var(--bs-primary);
  border-radius: 0 12px 12px 0;
}

@media (max-width: 575px) {
  .training_testimonial_card {
    padding: 24px 20px;
  }
}

.geetha-profile-inline {
  float: left;
  width: 220px;
  max-width: 42%;
  margin: 8px 30px 18px 0;
}

.geetha-profile-inline img {
  display: block;
  width: 100%;
  height: auto;
  border: 8px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(20, 44, 40, 0.16);
}

@media (max-width: 767px) {
  .geetha-profile-inline {
    float: none;
    width: 190px;
    max-width: 100%;
    margin: 0 auto 24px;
  }
}

.personal-consultation-inline-image {
  margin: 34px 0 38px;
}

.personal-consultation-inline-image img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
}

.personal-consultation-layout {
  max-width: 1040px;
  margin: 0 auto;
}

.personal-consultation-kicker {
  color: #151d2a;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px;
}

.personal-consultation-wave {
  width: 110px;
  height: 10px;
  margin-bottom: 44px;
  background: repeating-linear-gradient(
    135deg,
    #f4b444 0 8px,
    transparent 8px 14px
  );
  opacity: 0.7;
}

.personal-consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
}

.personal-consultation-grid-bottom {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  margin-top: 70px;
}

.personal-consultation-copy h3,
.personal-consultation-copy h4 {
  margin-bottom: 24px;
}

.personal-consultation-copy ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.personal-consultation-copy li {
  margin-bottom: 12px;
}

.personal-consultation-image {
  margin: 0;
}

.personal-consultation-image img {
  display: block;
  width: 100%;
  height: auto;
}

.personal-mentorship-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 54px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.personal-mentorship-image {
  margin: 0;
}

.personal-mentorship-image img {
  display: block;
  width: 100%;
  height: auto;
}

.personal-mentorship-cta {
  margin-top: 30px;
}

@media (max-width: 991px) {
  .personal-consultation-grid,
  .personal-consultation-grid-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .personal-consultation-grid-bottom .personal-consultation-image {
    order: 2;
  }

  .personal-mentorship-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.home_hero_summary {
  padding: 80px 0 0;
  background-color: #ffffff;
}

.home_hero_summary_counter {
  max-width: 1080px;
  margin: -24px auto;
}

.home_hero_summary_counter > li {
  width: 33.333%;
  padding: 24px;
}

.home_hero_summary_counter .counter_value {
  color: #0b4b24;
  font-size: 64px;
  line-height: 1;
}

.home_hero_summary_counter .counter_description {
  max-width: 230px;
  color: #465263;
  font-size: 28px;
  line-height: 1.25;
}

@media (max-width: 991px) {
  .home_hero_summary {
    padding-top: 55px;
  }

  .home_hero_summary_counter .counter_value {
    font-size: 46px;
  }

  .home_hero_summary_counter .counter_description {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .home_hero_summary_counter > li {
    width: 100%;
  }

  .home_hero_summary_counter .counter_description {
    max-width: 100%;
  }
}

/* Home hero portrait slides */
.hero_slide_2 .hero_image_wrap,
.hero_slide_3 .hero_image_wrap {
  max-width: 560px;
  margin-left: auto;
  padding: clamp(28px, 5vw, 56px);
  isolation: isolate;
}

.hero_slide_2 .hero_image_wrap:before,
.hero_slide_3 .hero_image_wrap:before {
  inset: 4%;
  width: auto;
  height: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.9), rgba(244, 247, 239, 0.35) 35%, transparent 68%),
    linear-gradient(135deg, #f6efe3, #d6eee8);
  box-shadow: 0 24px 70px rgba(45, 72, 68, 0.18);
}

.hero_slide_2 .hero_image_wrap:after,
.hero_slide_3 .hero_image_wrap:after {
  inset: auto 0 0 auto;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background-color: #c1e3de;
  filter: blur(2px);
}

.hero_slide_2 .hero_image_wrap img,
.hero_slide_3 .hero_image_wrap img {
  aspect-ratio: 1;
  width: 100%;
  border: 12px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 22px 60px rgba(20, 44, 40, 0.22);
}

.hero_slide_3 .hero_image_wrap img {
  object-position: center 45%;
}

@media (max-width: 991px) {
  .hero_slide_2 .hero_image_wrap,
  .hero_slide_3 .hero_image_wrap {
    margin-right: auto;
  }
}

.site_header .header_btns_group {
  align-items: center;
}

.site_header .header_booking_item {
  width: 100%;
  margin-bottom: 8px;
  text-align: right;
}

.site_header .header_hotline_item {
  width: 100%;
  text-align: right;
}

.site_header .btn_book_now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 18px;
  border-radius: 4px;
  background-color: var(--bs-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: var(--bs-transition);
}

.site_header .btn_book_now:hover {
  background-color: var(--bs-dark);
  color: #ffffff;
}

.site_header .btn_hotline {
  justify-content: flex-end;
}

@media (min-width: 992px) {
  .site_header .header_btns_group {
    flex-wrap: wrap;
  }

  .site_header .header_btns_group > li.header_booking_item,
  .site_header .header_btns_group > li.header_hotline_item {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .site_header .header_booking_item {
    display: none;
  }
}

/* Responsive WordPress overrides, excluding Appointment and booking plugin pages */
body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .page_content {
  overflow-x: hidden;
}

body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) img,
body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) iframe,
body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) video {
  max-width: 100%;
}

body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .wp-block-image img,
body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .entry-content img,
body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .page_content img {
  height: auto;
}

body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .entry-content table,
body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .page_content table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .gmap_canvas iframe,
body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .gmap_canvas.contact_map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .contact_info_email .item_info {
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .main_menu_list {
    gap: 0;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .main_menu_list > li:not(:last-child) {
    margin-right: 0;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .main_menu_list > li > a {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .container {
    max-width: 100%;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .row {
    position: relative;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .main_menu_inner {
    position: absolute;
    top: calc(100% + 14px);
    right: 12px;
    left: 12px;
    z-index: 99;
    padding: 14px 18px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(20, 44, 40, 0.16);
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .main_menu_list {
    display: block;
    width: 100%;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .main_menu_list > li {
    display: block;
    width: 100%;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_header .main_menu_list > li > a {
    display: block;
    padding: 10px 4px;
    font-size: 16px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .btn_hotline .btn_text {
    display: none;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .hero_content_wrap {
    padding-top: 42px;
    padding-bottom: 24px;
    text-align: center;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .btns_group {
    justify-content: center;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .hero_image_wrap {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .section_space_lg {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 767px) {
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .site_logo img {
    max-width: 150px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .heading_text,
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .section_heading_text {
    overflow-wrap: anywhere;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .btns_group {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .btns_group > li,
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .btns_group .btn {
    width: 100%;
    max-width: 280px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .home_hero_summary_counter > li {
    padding: 18px 12px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .service_item,
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .blog_item,
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .testimonial_item,
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .contact_info_list > li,
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .office_hour_list {
    padding-right: 20px;
    padding-left: 20px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .consultation_form {
    padding-right: 18px;
    padding-left: 18px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .gmap_canvas iframe,
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .gmap_canvas.contact_map iframe {
    min-height: 300px;
  }
}

@media (max-width: 575px) {
  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .container {
    --bs-gutter-x: 1.25rem;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .section_space_lg {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  body:not(.page-id-84):not(.page-id-166):not(.page-id-167):not(.page-id-168) .hero_section .hero_image_wrap {
    padding: 18px;
  }
}
