/*
    Theme Name: Medinexa
    Theme URI: http://themexriver.com/wp/medinexa
    Author: themexriver
    Author URI: http://themexriver.com/
    Description: Medinexa - Medicale WordPress Theme
    Version: 1.0
    Tested up to: 8.2
    Requires PHP: 8.0
    License: GNU General Public License v2 or later
    License URI: LICENSE
    Text Domain: medinexa
    Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* RNCH Google Reviews - restored blue-gradient design after Elementor Pro deactivation */
body .rnch-google-reviews-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 100px 24px 96px !important;
  background: linear-gradient(135deg, #eaf7ff 0%, #f8fbff 45%, #dcecff 100%) !important;
  overflow: hidden !important;
  color: #071a2f !important;
}

body .rnch-google-reviews-section > .e-con-inner,
body .rnch-google-reviews-section .elementor-widget-html,
body .rnch-google-reviews-section .elementor-widget-container,
body .rnch-google-reviews-section .elementor-shortcode {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .rnch-google-reviews-section .rnch-review-head {
  display: grid !important;
  grid-template-columns: 1.1fr .9fr !important;
  gap: 40px !important;
  align-items: end !important;
  max-width: 1200px !important;
  margin: 0 auto 42px !important;
}

body .rnch-google-reviews-section .rnch-review-title {
  transform: translate(60px, -24px) !important;
}

body .rnch-google-reviews-section .rnch-review-eyebrow {
  display: inline-flex !important;
  margin-bottom: 14px !important;
  padding: 10px 18px !important;
  border: 1px solid rgba(51, 104, 198, .35) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #3368c6 !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body .rnch-google-reviews-section .rnch-review-title h2 {
  margin: 0 !important;
  max-width: 620px !important;
  color: #071a2f !important;
  font-size: 50px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body .rnch-google-reviews-section .rnch-review-rating-box {
  justify-self: end !important;
  width: min(100%, 500px) !important;
  padding: 22px 26px !important;
  border-radius: 22px !important;
  background: #071f3b !important;
  color: #fff !important;
  box-shadow: 0 22px 60px rgba(7, 31, 59, .22) !important;
}

body .rnch-google-reviews-section .rnch-google-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body .rnch-google-reviews-section .rnch-google-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #4285f4 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  font-family: Arial, sans-serif !important;
}

body .rnch-google-reviews-section .rnch-rating-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 6px !important;
  color: #fff !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

body .rnch-google-reviews-section .rnch-stars {
  color: #ffc83d !important;
  letter-spacing: 2px !important;
  white-space: nowrap !important;
}

body .rnch-google-reviews-section .rnch-review-rating-box p {
  margin: 0 !important;
  color: #cbd9ec !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body .rnch-google-reviews-section .rnch-review-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  margin-top: 16px !important;
}

body .rnch-google-reviews-section .rnch-review-actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 0 !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  transition: transform .25s ease, background .25s ease !important;
}

body .rnch-google-reviews-section .rnch-review-actions a:first-child {
  border-color: #fff !important;
  background: #fff !important;
  color: #071f3b !important;
}

body .rnch-google-reviews-section .rnch-review-actions a:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, .12) !important;
}

body .rnch-google-reviews-section .rnch-review-actions a:first-child:hover {
  background: #f0f6ff !important;
}

body .rnch-google-reviews-section .elementor-widget-shortcode {
  max-width: none !important;
  margin: 0 -24px !important;
  padding: 0 24px 8px !important;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent) !important;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent) !important;
}

body .rnch-google-reviews-section .ti-widget,
body .rnch-google-reviews-section .ti-widget-container,
body .rnch-google-reviews-section .ti-reviews-container-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .rnch-google-reviews-section .ti-footer,
body .rnch-google-reviews-section .ti-controls,
body .rnch-google-reviews-section .ti-prev,
body .rnch-google-reviews-section .ti-next,
body .rnch-google-reviews-section .ti-controls-line,
body .rnch-google-reviews-section .ti-dots {
  display: none !important;
}

body .rnch-google-reviews-section .ti-reviews-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 22px !important;
  width: max-content !important;
  max-width: none !important;
  min-width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .rnch-google-reviews-section .ti-review-item {
  position: relative !important;
  overflow: hidden !important;
  flex: 0 0 370px !important;
  width: 370px !important;
  min-width: 370px !important;
  max-width: 370px !important;
  min-height: 320px !important;
  margin: 0 !important;
  padding: 30px !important;
  border: 1px solid rgba(51, 104, 198, .12) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 20px 65px rgba(38, 85, 153, .13) !important;
}

body .rnch-google-reviews-section .ti-review-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 6px !important;
  background: linear-gradient(90deg, #3368c6, #55c8e8) !important;
}

body .rnch-google-reviews-section .ti-inner {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body .rnch-google-reviews-section .ti-review-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 10px 0 20px !important;
}

body .rnch-google-reviews-section .ti-profile-img {
  width: 62px !important;
  height: 62px !important;
  flex: 0 0 62px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #3368c6 !important;
}

body .rnch-google-reviews-section .ti-name {
  color: #071a2f !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

body .rnch-google-reviews-section .ti-date {
  margin-top: 4px !important;
  color: #75849a !important;
  font-size: 14px !important;
}

body .rnch-google-reviews-section .ti-review-content,
body .rnch-google-reviews-section .ti-review-text-container {
  margin: 0 !important;
  color: #314157 !important;
  font-size: 17px !important;
  line-height: 1.68 !important;
}

body .rnch-google-reviews-section .ti-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  margin: 0 0 14px !important;
}

body .rnch-google-reviews-section .ti-platform-icon {
  position: absolute !important;
  right: 24px !important;
  top: 22px !important;
}

@media (max-width: 920px) {
  body .rnch-google-reviews-section {
    padding: 78px 16px 82px !important;
  }
  body .rnch-google-reviews-section .rnch-review-head {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  body .rnch-google-reviews-section .rnch-review-title {
    transform: none !important;
  }
  body .rnch-google-reviews-section .rnch-review-title h2 {
    font-size: 38px !important;
  }
  body .rnch-google-reviews-section .rnch-review-rating-box {
    justify-self: start !important;
  }
  body .rnch-google-reviews-section .rnch-review-actions {
    flex-wrap: wrap !important;
  }
  body .rnch-google-reviews-section .rnch-review-actions a {
    flex: 1 1 180px !important;
  }
  body .rnch-google-reviews-section .ti-review-item {
    flex-basis: 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
  }
}
