/* Advanced Cardiology – Divi-parity base styles for the Elementor rebuild.
   Append-only. Divi class names are kept on Elementor elements
   (containers = et_pb_section / et_pb_row / et_pb_column, widgets = et_pb_module + module class). */

/* ---------- icon font kept from the original theme ---------- */
@font-face{font-family:ETmodules;font-display:swap;src:url(/wp-content/uploads/advcardiology-assets/fonts/modules.woff) format("woff"),url(/wp-content/uploads/advcardiology-assets/fonts/modules.ttf) format("truetype");font-weight:400;font-style:normal}

/* ---------- global typography (Divi theme customizer values) ---------- */
body.advcardiology{font-family:'Roboto',Helvetica,Arial,Lucida,sans-serif;font-size:16px;line-height:1.8em;color:#666;font-weight:500;-webkit-font-smoothing:antialiased;background:#fff}
body.advcardiology h1,body.advcardiology h2,body.advcardiology h3,body.advcardiology h4,body.advcardiology h5,body.advcardiology h6{font-family:'Akshar',Helvetica,Arial,Lucida,sans-serif;color:#333;font-weight:700;line-height:1.2em;padding-bottom:10px;margin:0}
body.advcardiology h1{font-size:30px}
body.advcardiology h2{font-size:26px}
body.advcardiology h3{font-size:22px}
body.advcardiology h4{font-size:18px}
body.advcardiology h5{font-size:16px}
body.advcardiology h6{font-size:14px}
body.advcardiology p{padding-bottom:1em;margin:0}
body.advcardiology p:last-of-type{padding-bottom:0}
body.advcardiology a{color:#2cbfd9;text-decoration:none}
body.advcardiology ul,body.advcardiology ol{padding:0 0 23px 1em;margin:0;line-height:26px}
body.advcardiology ul{list-style:disc}
body.advcardiology ol{list-style:decimal}
body.advcardiology li{padding-bottom:0}
body.advcardiology strong{font-weight:700}
body.advcardiology blockquote{border-left:5px solid;margin:20px 0 30px;padding-left:20px}
body.advcardiology img{max-width:100%;height:auto}
body.advcardiology .elementor-widget-text-editor,body.advcardiology .elementor-widget-heading{line-height:inherit}
body.advcardiology .elementor-heading-title{padding-bottom:10px}

/* ---------- Divi layout defaults ---------- */
.e-con{--container-default-padding-top:0;--container-default-padding-bottom:0;--container-default-padding-left:0;--container-default-padding-right:0;--container-widget-flex-grow:0}
.et_pb_section.e-con{--container-default-padding-top:4%;--container-default-padding-bottom:4%;--container-default-padding-left:0;--container-default-padding-right:0;position:relative;background-color:#fff}
.et_pb_section.et_section_transparent.e-con{background-color:transparent}
.et_pb_row.e-con{--container-default-padding-top:2%;--container-default-padding-bottom:2%;--container-default-padding-left:0;--container-default-padding-right:0;position:relative}
.elementor .et_pb_row.et_pb_row_fullwidth{width:100%}
.elementor .et_pb_column{position:relative;min-height:1px}
.elementor .et_pb_row>.et_pb_column:last-child{margin-right:0}
/* module spacing per Divi gutter width (margin-bottom relative to column width) */
.elementor .et_pb_gutters3 .et_pb_column_4_4>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_24_24>.et_pb_module{margin-bottom:2.75%}
.elementor .et_pb_gutters3 .et_pb_column_3_4>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_18_24>.et_pb_module{margin-bottom:3.735%}
.elementor .et_pb_gutters3 .et_pb_column_2_3>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_16_24>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_3_5>.et_pb_module{margin-bottom:4.242%}
.elementor .et_pb_gutters3 .et_pb_column_1_2>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_12_24>.et_pb_module{margin-bottom:5.82%}
.elementor .et_pb_gutters3 .et_pb_column_1_3>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_8_24>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_2_5>.et_pb_module{margin-bottom:9.27%}
.elementor .et_pb_gutters3 .et_pb_column_1_4>.et_pb_module,.elementor .et_pb_gutters3 .et_flex_column_6_24>.et_pb_module{margin-bottom:13.174%}
.elementor .et_pb_gutters2 .et_pb_column_4_4>.et_pb_module{margin-bottom:3%}
.elementor .et_pb_gutters2 .et_pb_column_1_2>.et_pb_module{margin-bottom:6.186%}
.elementor .et_pb_gutters2 .et_pb_column_1_3>.et_pb_module{margin-bottom:9.574%}
.elementor .et_pb_gutters2 .et_pb_column_1_4>.et_pb_module{margin-bottom:13.187%}
.elementor .et_pb_gutters1 .et_pb_column>.et_pb_module{margin-bottom:0}
.elementor .et_pb_gutters4 .et_pb_column_4_4>.et_pb_module{margin-bottom:4%}
.elementor .et_pb_gutters4 .et_pb_column_1_2>.et_pb_module{margin-bottom:8.696%}
.elementor .et_pb_gutters4 .et_pb_column_1_3>.et_pb_module{margin-bottom:14.286%}
.elementor .et_pb_column>.et_pb_module:last-child{margin-bottom:0}
/* Divi 5 flex rows */
.elementor .et_pb_row.et_flex_row{align-items:stretch}

/* ---------- module defaults ---------- */
/* text */
.elementor .et_pb_text{word-wrap:break-word;line-height:1.8em}
.elementor .et_pb_text>:last-child{padding-bottom:0}
/* buttons (Divi default button shape) */
.elementor .et_pb_button .elementor-button{font-family:inherit;font-size:20px;font-weight:500;line-height:1.7em!important;padding:.3em 1em;border:2px solid;border-radius:3px;background:transparent;color:#2ea3f2;border-color:#2ea3f2;transition:all .2s;letter-spacing:0;text-decoration:none}
.elementor .et_pb_button .elementor-button:hover{padding:.3em 2em .3em .7em;border-color:transparent;background-color:rgba(0,0,0,.05)}
.elementor .et_pb_button .elementor-button .elementor-button-content-wrapper{display:inline}
.elementor .et_pb_button .elementor-button-icon{display:none}
/* blurb -> icon box */
.elementor .et_pb_blurb .elementor-icon-box-wrapper{align-items:flex-start}
.elementor .et_pb_blurb .elementor-icon-box-icon{margin-bottom:30px;line-height:1}
.elementor .et_pb_blurb.et_pb_blurb_position_left .elementor-icon-box-icon,.elementor .et_pb_blurb.et_pb_blurb_position_right .elementor-icon-box-icon{margin-bottom:0;margin-right:15px}
.elementor .et_pb_blurb .elementor-icon{display:inline-block;line-height:1;font-size:96px;color:#2ea3f2;text-align:center}
.elementor .et_pb_blurb .elementor-icon i{line-height:1}
.elementor .et_pb_blurb .elementor-icon-box-title{margin:0;padding-bottom:10px;font-size:18px}
.elementor .et_pb_blurb .elementor-icon-box-title a{color:inherit;text-decoration:none}
.elementor .et_pb_blurb .elementor-icon-box-description{margin:0}
.elementor .et_pb_blurb.et_pb_text_align_center .elementor-icon-box-content{text-align:center}
/* dividers */
.elementor .et_pb_divider{margin:0 0 30px}
.elementor .et_pb_divider .elementor-divider{padding:0;min-height:23px}
.elementor .et_pb_divider_position_top .elementor-divider{align-items:flex-start}
/* accordion / toggle (Divi look) */
.elementor .et_pb_accordion .elementor-accordion-item,.elementor .et_pb_toggle .elementor-toggle-item{border:1px solid #d9d9d9;background:#fff;margin-bottom:10px}
.elementor .et_pb_accordion .elementor-tab-title,.elementor .et_pb_toggle .elementor-tab-title{padding:20px;font-size:16px;font-weight:700;color:#333;background:#f4f4f4;border:0}
.elementor .et_pb_accordion .elementor-tab-title.elementor-active,.elementor .et_pb_toggle .elementor-tab-title.elementor-active{background:#fff;color:#333}
.elementor .et_pb_accordion .elementor-tab-content,.elementor .et_pb_toggle .elementor-tab-content{padding:0 20px 20px;border:0;font-size:inherit}
.elementor .et_pb_accordion .elementor-accordion-icon,.elementor .et_pb_toggle .elementor-toggle-icon{color:#333}
/* testimonial */
.elementor .et_pb_testimonial .elementor-testimonial-content{font-size:inherit;line-height:1.8em}
.elementor .et_pb_testimonial .elementor-testimonial-name{font-weight:700;color:#333}
/* blog grid */
.elementor .et_pb_blog .elementor-post__thumbnail img{width:100%}
.elementor .et_pb_blog .elementor-post__title{font-size:18px;line-height:1.3em;padding-bottom:5px}
.elementor .et_pb_blog .elementor-post__title a{color:#333}
.elementor .et_pb_blog .elementor-post__excerpt p{font-size:14px;line-height:1.7em;color:#666}
.elementor .et_pb_blog .elementor-post__read-more{font-weight:500;color:#2ea3f2;font-size:14px}
.elementor .et_pb_blog .elementor-post{background:#fff;border:1px solid #d8d8d8;padding:19px}
.elementor .et_pb_blog .elementor-pagination{text-align:center;padding-top:30px}

/* ---------- header / footer helpers ---------- */
.elementor-location-footer{font-family:'Roboto',Helvetica,Arial,Lucida,sans-serif}

/* ---------- utility ---------- */
.elementor .et_clickable{cursor:pointer}
.elementor .advmig-fallback{line-height:inherit}

/* ---------- responsive (Divi breakpoints: 980 tablet, 767 phone) ---------- */
@media (max-width:1024px){
  .et_pb_section.e-con{--container-default-padding-top:50px;--container-default-padding-bottom:50px}
  .et_pb_row.e-con{--container-default-padding-top:30px;--container-default-padding-bottom:30px}
  .elementor .et_pb_row>.et_pb_column{margin-right:0}
  .elementor .et_pb_row>.et_pb_column:not(:last-child){margin-bottom:30px}
  .elementor .et_pb_column>.et_pb_module{margin-bottom:30px}
  .elementor .et_pb_column>.et_pb_module:last-child{margin-bottom:0}
}
@media (max-width:767px){
  .et_pb_section.e-con{--container-default-padding-top:50px;--container-default-padding-bottom:50px}
  .et_pb_row.e-con{--container-default-padding-top:30px;--container-default-padding-bottom:30px}
  .elementor .et_pb_blurb .elementor-icon-box-wrapper{display:block}
  .elementor .et_pb_blurb .elementor-icon-box-icon{margin:0 0 30px}
}
