.elementor-kit-413{--e-global-color-primary:#3065B5;--e-global-color-secondary:#0392CE;--e-global-color-text:#787878;--e-global-color-accent:#3EB8D7;--e-global-color-cms_heading:#222222;--e-global-color-cms_pale_blue:#B5CBED;--e-global-color-cms_secondary:#646464;--e-global-color-cms_tertiary:#858585;--e-global-color-cms_bg_light:#FCFCFC;--e-global-color-cms_bg_muted:#F2F2F2;--e-global-color-cms_dark:#222222;--e-global-typography-primary-font-family:"Open Sans";--e-global-typography-primary-font-weight:300;--e-global-typography-secondary-font-family:"Open Sans";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Open Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Open Sans";--e-global-typography-accent-font-weight:300;color:#787878;font-family:"Open Sans", Sans-serif;font-size:15px;font-weight:400;line-height:1.7em;}.elementor-kit-413 button,.elementor-kit-413 input[type="button"],.elementor-kit-413 input[type="submit"],.elementor-kit-413 .elementor-button{background-color:#3065B5;font-family:"Open Sans", Sans-serif;font-size:18px;font-weight:600;color:#FFFFFF;border-radius:0px 0px 0px 0px;padding:14px 28px 14px 28px;}.elementor-kit-413 button:hover,.elementor-kit-413 button:focus,.elementor-kit-413 input[type="button"]:hover,.elementor-kit-413 input[type="button"]:focus,.elementor-kit-413 input[type="submit"]:hover,.elementor-kit-413 input[type="submit"]:focus,.elementor-kit-413 .elementor-button:hover,.elementor-kit-413 .elementor-button:focus{background-color:#0392CE;color:#FFFFFF;}.elementor-kit-413 e-page-transition{background-color:#FFBC7D;}.elementor-kit-413 a{color:#3065B5;}.elementor-kit-413 a:hover{color:#0392CE;}.elementor-kit-413 h1{color:#222222;font-family:"Open Sans", Sans-serif;font-weight:300;}.elementor-kit-413 h2{color:#222222;font-family:"Open Sans", Sans-serif;font-weight:300;}.elementor-kit-413 h3{color:#222222;font-family:"Open Sans", Sans-serif;font-weight:400;}.elementor-kit-413 h4{color:#222222;font-family:"Open Sans", Sans-serif;font-weight:400;}.elementor-kit-413 h5{color:#222222;font-family:"Open Sans", Sans-serif;font-weight:400;}.elementor-kit-413 h6{color:#222222;font-family:"Open Sans", Sans-serif;font-weight:600;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1240px;}.e-con{--container-max-width:1240px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ===== CMSmasters Medical Clinic look-and-feel override ===== */
:root {
  --cms-primary: #3065B5;
  --cms-primary-80: rgba(48, 101, 181, 0.8);
  --cms-secondary: #0392CE;
  --cms-accent: #3EB8D7;
  --cms-pale-blue: #B5CBED;
  --cms-heading: #222222;
  --cms-body: #787878;
  --cms-gray-2: #646464;
  --cms-gray-3: #858585;
  --cms-bg-light: #FCFCFC;
  --cms-bg-muted: #F2F2F2;
  --cms-dark: #222222;
}

body {
  color: var(--cms-body);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--cms-heading) !important;
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
  letter-spacing: 0;
}

a { color: var(--cms-primary); }
a:hover { color: var(--cms-secondary); }

/* Square-corner buttons with CMSmasters primary → secondary hover */
.elementor-button,
.elementor-widget-button .elementor-button,
input[type="submit"],
button[type="submit"] {
  background-color: var(--cms-primary) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  padding: 14px 28px !important;
  transition: background-color .25s ease, color .25s ease !important;
  border: none !important;
}
.elementor-button:hover,
.elementor-widget-button .elementor-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background-color: var(--cms-secondary) !important;
  color: #fff !important;
}

/* Links inside content */
.elementor-widget-text-editor a,
.elementor-widget-heading a { color: var(--cms-primary) !important; }

/* Section backgrounds alternating light/muted (cmsmasters pattern) */
.elementor-section.elementor-top-section:nth-child(even):not(.elementor-section-boxed):not([class*="bg-"]) {
  background-color: var(--cms-bg-light);
}

/* Icons and accents pick up brand blue */
.elementor-icon,
.elementor-icon-box-icon .elementor-icon,
.elementor-icon svg { color: var(--cms-primary) !important; fill: var(--cms-primary) !important; }
.elementor-icon-box-wrapper:hover .elementor-icon { color: var(--cms-secondary) !important; fill: var(--cms-secondary) !important; }

/* Headings sizing — closer to cmsmasters scale (they use small-ish headings) */
.elementor h1 { font-size: 44px; line-height: 1.15; font-weight: 700; }
.elementor h2 { font-size: 32px; line-height: 1.25; font-weight: 600; }
.elementor h3 { font-size: 24px; line-height: 1.3; font-weight: 600; }
.elementor h4 { font-size: 20px; line-height: 1.4; font-weight: 600; }

/* Hero overlays tinted with cmsmasters primary at 80% */
.elementor-section.has-cms-overlay::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--cms-primary-80);
  z-index: 1;
}

/* Signature cmsmasters 3-color footer bar (add class="cms-bar" to a section to get it) */
.cms-bar {
  height: 8px;
  background: linear-gradient(to right,
    var(--cms-accent) 0%, var(--cms-accent) 33.33%,
    var(--cms-secondary) 33.33%, var(--cms-secondary) 66.66%,
    var(--cms-primary) 66.66%, var(--cms-primary) 100%);
}

/* Contact info blocks — three-column card pattern from cmsmasters */
.cms-contact-boxes .elementor-icon-box-wrapper {
  padding: 28px 20px;
  background: #fff;
  border-right: 1px solid var(--cms-bg-muted);
}
.cms-contact-boxes .elementor-column:last-child .elementor-icon-box-wrapper {
  border-right: none;
}

/* Small UI details */
.elementor-widget-image-box figcaption,
.elementor-widget-icon-box .elementor-icon-box-title {
  color: var(--cms-heading) !important;
}

/* Forms — cmsmasters uses square inputs with light gray borders */
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], textarea, select,
.wpforms-field input, .wpforms-field textarea {
  border-radius: 0 !important;
  border: 1px solid #E6E6E6 !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  padding: 12px !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cms-primary) !important;
  outline: none !important;
}
/* ===== Astra header button + Gutenberg buttons (non-Elementor) ===== */
.ast-button-wrap .menu-link,
.ast-button-wrap a,
.menu-item.ast-button a.menu-link,
header .wp-block-button__link,
.wp-block-button__link,
button.wp-element-button,
a.wp-element-button {
  background-color: #3065B5 !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-weight: 600 !important;
  transition: background-color .25s ease !important;
}
.ast-button-wrap .menu-link:hover,
.ast-button-wrap a:hover,
header .wp-block-button__link:hover,
.wp-block-button__link:hover,
button.wp-element-button:hover {
  background-color: #0392CE !important;
  color: #fff !important;
}

/* Astra primary color used across the theme (header, underlines, accents) */
:root {
  --ast-global-color-0: #3065B5;
  --ast-global-color-1: #0392CE;
  --ast-global-color-2: #222222;
  --ast-global-color-3: #787878;
  --ast-global-color-4: #FFFFFF;
  --ast-global-color-5: #F2F2F2;
  --ast-global-color-8: #FCFCFC;
}
/* ===== CMSmasters LIGHT typography override ===== */
/* Menu / nav links — thin, not bold */
.main-header-menu .menu-link,
.ast-primary-menu-enabled .main-header-menu > .menu-item > .menu-link,
nav .menu-item > a,
.site-navigation a,
.elementor-nav-menu a,
.hfe-nav-menu a {
  font-weight: 400 !important;
  letter-spacing: 0.3px;
}

/* Brand / site title — keep slightly bolder but not heavy */
.site-title,
.site-title a,
.custom-logo-link + .site-title { font-weight: 600 !important; }

/* All headings — light/thin by default, cmsmasters style */
h1, .elementor h1, .elementor-widget-heading h1,
.elementor-heading-title.elementor-size-xxl,
.elementor-heading-title.elementor-size-xl,
.entry-title { font-weight: 300 !important; letter-spacing: -0.5px; }

h2, .elementor h2, .elementor-widget-heading h2 { font-weight: 300 !important; letter-spacing: -0.3px; }
h3, .elementor h3, .elementor-widget-heading h3 { font-weight: 400 !important; }
h4, .elementor h4, .elementor-widget-heading h4 { font-weight: 400 !important; }

/* Body paragraphs — regular but generous line-height for airy feel */
p, .elementor-widget-text-editor p {
  font-weight: 400;
  line-height: 1.75;
}

/* Form labels and misc text — slightly thinner */
label, .elementor-field-label, input::placeholder, textarea::placeholder {
  font-weight: 400 !important;
}

/* Signature cmsmasters H1 hero — thin and large */
.elementor-section.hero h1,
.hero-section h1,
.elementor-location-header + .elementor-section h1:first-of-type { font-weight: 300 !important; }

/* CMS HOME UTILITIES START */
.cms-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.cms-home-hero-section h1,
.cms-home-hero-section h2,
.cms-home-hero-section h3,
.cms-home-hero-section h4,
.cms-home-hero-section h5,
.cms-home-hero-section h6,
.cms-home-hero-section .elementor-heading-title,
.cms-home-hero-section .elementor-widget-text-editor,
.cms-home-hero-section .elementor-widget-text-editor p {
  color: #ffffff !important;
}
.cms-home-hero-section .cms-home-copy p {
  color: rgba(255, 255, 255, 0.88) !important;
}
.cms-home-hero-actions a {
  display: inline-block;
  padding: 14px 22px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.58);
  transition: all .2s ease;
}
.cms-home-hero-actions a:hover {
  background: #fff;
  border-color: #fff;
  color: #0392CE;
}
.cms-home-card-copy p:last-child,
.cms-home-copy p:last-child {
  margin-bottom: 0;
}
.cms-home-faq details {
  background: #fff;
  border: 1px solid #E8EFF7;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.cms-home-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  color: #222222;
  font-weight: 400;
}
.cms-home-faq summary::-webkit-details-marker {
  display: none;
}
.cms-home-faq details[open] {
  box-shadow: 0 18px 40px rgba(48, 101, 181, 0.10);
}
.cms-home-faq .cms-home-faq__answer {
  margin-top: 14px;
  color: #787878;
}
.cms-appointment-form .cms-appointment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.cms-appointment-form .cms-field--full,
.cms-appointment-form .cms-field--submit {
  grid-column: 1 / -1;
}
.cms-appointment-form input,
.cms-appointment-form select,
.cms-appointment-form textarea,
.cms-newsletter-form input[type="email"] {
  width: 100%;
  border: 1px solid #d7e3f1 !important;
  background: #fff;
  padding: 13px 14px !important;
  border-radius: 0 !important;
}
.cms-appointment-form textarea {
  min-height: 140px;
}
.cms-appointment-form .wpcf7-spinner,
.cms-newsletter-form .wpcf7-spinner {
  display: none;
}
.cms-newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cms-newsletter-form p {
  margin: 0;
  flex: 1;
}
.cms-newsletter-form p:last-child {
  flex: 0 0 auto;
}
.cms-newsletter-form input[type="submit"],
.cms-appointment-form input[type="submit"] {
  width: auto;
  min-width: 190px;
}
@media (min-width: 922px) {
  #ast-desktop-header .site-primary-header-wrap.ast-container {
    max-width: 1380px;
  }
  #ast-desktop-header .site-header-primary-section-right {
    flex-wrap: nowrap;
  }
  #primary-site-navigation-desktop .main-header-menu {
    flex-wrap: nowrap;
  }
  #primary-site-navigation-desktop .main-header-menu .menu-link {
    font-size: 15px;
    padding-left: 0.72em;
    padding-right: 0.72em;
    white-space: nowrap;
  }
  #ast-desktop-header .custom-logo-link img {
    max-width: 122px !important;
    width: 122px !important;
  }
  #ast-desktop-header .ast-header-button-1 .ast-custom-button,
  #ast-desktop-header .ast-header-button-1 .menu-link {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
}
@media (max-width: 1024px) {
  .cms-appointment-form .cms-appointment-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .cms-home-hero-actions,
  .cms-newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }
  .cms-newsletter-form p:last-child,
  .cms-newsletter-form input[type="submit"],
  .cms-appointment-form input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}
/* CMS HOME UTILITIES END */

/* CMS INNER PAGES UTILITIES START */
.cms-page-hero .elementor-heading-title,
.cms-page-hero .elementor-widget-text-editor,
.cms-page-hero .elementor-widget-text-editor p {
  color: #ffffff !important;
}
.cms-page-hero .cms-page-hero__eyebrow .elementor-heading-title {
  color: rgba(255,255,255,0.82) !important;
}
.cms-rich-text p:last-child,
.cms-rich-text ul:last-child,
.cms-rich-text ol:last-child {
  margin-bottom: 0;
}
.cms-rich-text ul,
.cms-rich-text ol {
  margin: 0 0 1.2em 1.2em;
}
.cms-rich-text p {
  margin: 0 0 1em;
}
.cms-rich-text h4 {
  margin: 0 0 10px;
}
.cms-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.cms-info-list__item {
  background: #fff;
  border: 1px solid #e8eff7;
  padding: 16px 18px;
}
.cms-info-list__label {
  display: block;
  color: #858585;
  font-size: 13px;
  margin-bottom: 4px;
}
.cms-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.cms-card {
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(33, 61, 109, 0.08);
}
.cms-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.cms-card a {
  color: #3065B5;
  font-weight: 600;
}
.cms-card p:last-child {
  margin-bottom: 0;
}
.cms-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cms-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cms-schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.cms-schedule-table th,
.cms-schedule-table td {
  border: 1px solid #e1eaf5;
  padding: 14px 16px;
  vertical-align: top;
}
.cms-schedule-table th {
  background: #f6f9fc;
  color: #222;
  font-weight: 600;
}
.cms-schedule-slot {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef3f9;
}
.cms-schedule-slot:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.cms-schedule-slot strong {
  display: block;
  color: #222;
}
.cms-schedule-slot span {
  display: block;
  color: #787878;
}
.cms-simple-form .wpcf7-form p {
  margin: 0 0 14px;
}
.cms-simple-form input,
.cms-simple-form select,
.cms-simple-form textarea {
  width: 100%;
}
.single-post .entry-header,
.single-post .entry-meta,
.single-post .comments-area,
.single-post .post-navigation,
.single-post .navigation.post-navigation,
.single-post .ast-single-related-posts-container,
.single-post .related-posts,
.single-post .post-thumb-img-content {
  display: none !important;
}
@media (max-width: 1024px) {
  .cms-card-grid,
  .cms-card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .cms-info-list,
  .cms-card-grid,
  .cms-card-grid--4,
  .cms-card-grid--2 {
    grid-template-columns: 1fr;
  }
}
/* CMS INNER PAGES UTILITIES END *//* End custom CSS */