/*
Theme Name: Warren Child
Theme URI: https://warren.qodeinteractive.com
Description: A child theme of Warren
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0.3
Text Domain: warren
Template: warren
*/

/* dec-sept20 global */

/* Programs "People come first" + About "background" — enlarge without clipping */
.elementor-element-5a53dd0 .qodef-m-subtitle,
.elementor-element-77397ba .qodef-m-subtitle,
body.page-id-9355 .qodef-section-title .qodef-m-subtitle,
body.page-id-4426 .qodef-section-title .qodef-m-subtitle {
  font-size: clamp(40px, 6vw, 72px) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.16em !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 10px 0 18px !important;
  display: block !important;
}
.elementor-element-5a53dd0 .qodef-section-title,
.elementor-element-77397ba .qodef-section-title {
  overflow: visible !important;
  height: auto !important;
}

/* Speaking accordion: keep +/- from cutting into the topic title */
.e-n-accordion-item-title {
  overflow: visible !important;
  align-items: flex-start !important;
  padding-right: 56px !important;
  min-height: auto !important;
}
.e-n-accordion-item-title-header {
  padding-right: 16px !important;
  max-width: calc(100% - 8px) !important;
}
.e-n-accordion-item-title-text {
  overflow: visible !important;
  white-space: normal !important;
  padding-right: 8px !important;
}
.e-n-accordion-item-title-icon {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  margin-top: 4px !important;
  overflow: visible !important;
}
.e-n-accordion-item-title-icon svg {
  width: 18px !important;
  height: 18px !important;
  overflow: visible !important;
}

/* Footer: stack on smaller screens so copy is not squeezed into a skinny column */
@media (max-width: 1024px) {
  #qodef-page-footer .qodef-grid,
  #qodef-page-footer .qodef-content-grid,
  .qodef-footer-top-area,
  .qodef-page-footer .qodef-grid {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
  }
  #qodef-page-footer .qodef-grid-item,
  .qodef-footer-top-area .qodef-grid-item,
  .qodef-page-footer .widget {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
  #qodef-page-footer p,
  .qodef-page-footer p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
}

/* Home / logo: keep the returning home control clickable */
.qodef-mobile-header-logo-link,
.qodef-header-logo-link {
  pointer-events: auto !important;
}
.menu-item-8256 a,
.menu-item-8448 a {
  pointer-events: auto !important;
}

/* HubSpot newsletter embed — Home Healthstyle + site-wide footer */
.dec-hs-newsletter {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.dec-hs-newsletter .hs-form-frame {
  min-height: 120px;
  width: 100%;
}
.dec-hs-newsletter .hs-form-frame iframe {
  display: block;
  max-width: 100%;
  width: 100% !important;
}
.qodef-content-bottom-custom .dec-hs-newsletter {
  max-width: 480px;
  margin: 16px 0 0;
}

/* What's New card: full genome image, readable white title, hover lift kept */
.elementor-element-8d287aa,
.elementor-element-8d287aa .elementor-widget-container,
.elementor-element-8d287aa .qodef-m-inner,
.elementor-element-8d287aa .qodef-m-image,
.elementor-element-3026718 {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
.elementor-element-8d287aa .qodef-m-inner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
.elementor-element-8d287aa .qodef-m-image::after {
  content: none !important;
  display: none !important;
}
.elementor-element-8d287aa .qodef-m-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.elementor-element-8d287aa .qodef-m-content {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  width: 100% !important;
  padding: 0 24px 6px !important;
  background: none !important;
  box-sizing: border-box;
}
.elementor-element-8d287aa .qodef-m-title {
  margin-top: 0 !important;
}
.elementor-element-8d287aa .qodef-m-title,
.elementor-element-8d287aa .qodef-m-title a,
.elementor-element-8d287aa .qodef-m-text {
  color: #fff !important;
  -webkit-text-stroke: 0.35px rgba(0, 0, 0, 0.35);
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.85),
    1px 1px 0 rgba(0, 0, 0, 0.65),
    -1px 1px 0 rgba(0, 0, 0, 0.65),
    1px -1px 0 rgba(0, 0, 0, 0.65),
    -1px -1px 0 rgba(0, 0, 0, 0.65);
}
.elementor-element-8d287aa .qodef-image-with-text:hover .qodef-m-title a {
  color: #f3e6c4 !important;
}

/* Flip cards: on touch devices, show the back copy without hover */
@media (hover: none) {
  .elementor-flip-box {
    height: auto !important;
  }
  .elementor-flip-box__layer {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .elementor-flip-box__layer--overlay {
    display: none !important;
  }
}

/* hide leftover arrow code on Media links */
.link1::after { content: none !important; }

/* HubSpot newsletter embed — Home Healthstyle + site-wide footer */
.dec-hs-newsletter {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: #ebe6f2;
  padding: 24px 24px 4px;
  box-sizing: border-box;
}
.dec-hs-heading {
  color: #2a1848 !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  margin: 0 0 4px !important;
  letter-spacing: 0 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
#qodef-page-content-bottom .dec-hs-heading,
.qodef-content-bottom-custom .dec-hs-heading {
  color: #2a1848 !important;
}
.dec-hs-form-clip {
  overflow: visible !important;
  height: auto !important;
}
.dec-hs-form-clip .hs-form-frame {
  margin-top: 0 !important;
}
.dec-hs-newsletter .hs-form-frame {
  min-height: 120px;
  width: 100%;
}
.dec-hs-newsletter .hs-form-frame iframe {
  display: block;
  max-width: 100%;
  width: 100% !important;
}
.qodef-content-bottom-custom .dec-hs-newsletter {
  max-width: 480px;
  margin: 0;
}
/* Press cards: same image crop + Read Article on one baseline */
.elementor-element-cfc7d4a .e-con-inner {
  align-items: stretch !important;
}
.elementor-element-cfc7d4a .e-con-inner > .e-con {
  display: flex !important;
  flex-direction: column !important;
}
.elementor-element-44eb4bf,
.elementor-element-228b54c {
  display: none !important;
}
.elementor-element-cfc7d4a .qodef-m-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.elementor-element-cfc7d4a .qodef-m-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.elementor-element-cfc7d4a .elementor-widget-text-editor {
  margin-top: auto !important;
}
/* dec-oct11 */
/* Speaking topic expanders */
.dec-topic-block{border-bottom:1px solid rgba(102,32,39,.18);padding:10px 0;}
.dec-topic-block summary{cursor:pointer;font-weight:600;letter-spacing:.12em;font-size:14px;color:#662027;list-style:none;}
.dec-topic-block summary::-webkit-details-marker{display:none;}
.dec-topic-block[open] summary{margin-bottom:8px;}
.dec-topic-block ol{margin:8px 0 8px 1.2em;}
/* Footer: give the bio column room; stack earlier so laptop does not squeeze it */
@media (max-width:1440px){
  #qodef-page-footer .qodef-grid,
  #qodef-page-footer .qodef-content-grid,
  .qodef-footer-top-area,
  .qodef-page-footer .qodef-grid{
    display:flex !important;flex-direction:column !important;width:100% !important;gap:24px !important;
  }
  #qodef-page-footer .qodef-grid-item,
  .qodef-footer-top-area .qodef-grid-item,
  .qodef-page-footer .widget{
    width:100% !important;max-width:100% !important;flex:1 1 auto !important;
    padding-left:20px !important;padding-right:20px !important;box-sizing:border-box !important;
  }
}
@media (min-width:1441px){
  #qodef-page-footer .qodef-grid-item p{max-width:38em;line-height:1.65;}
}
/* Home hero: keep copy left of the portrait on wide screens */
@media (min-width:1200px){
  .elementor-element-dd7236d .qodef-m-content-all{width:min(46%,520px) !important;max-width:520px !important;margin-left:0 !important;margin-right:auto !important;}
}
/* dec-oct11-footer-stack */
#qodef-page-footer-top-area-inner.qodef-layout-columns--3-predefined > .qodef-grid > .qodef-grid-inner,
#qodef-page-footer-top-area .qodef-grid.qodef-col-num--3 > .qodef-grid-inner,
#qodef-page-footer-top-area .qodef-grid,
#qodef-page-footer-top-area .qodef-grid-inner{
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  grid-template-columns:1fr !important;
  width:100% !important;
  max-width:100% !important;
  gap:28px !important;
}
#qodef-page-footer-top-area .qodef-grid-item,
#qodef-page-footer-top-area-inner .qodef-grid-item{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  flex:0 0 auto !important;
  grid-column:1 / -1 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
#qodef-page-footer-top-area .qodef-grid-item:not(:has(.widget)){
  display:none !important;
}
#qodef-page-footer-top-area .qodef-grid-item p,
#qodef-page-footer-top-area #block-47 p,
#qodef-page-footer-top-area .wp-block-paragraph{
  font-size:16px !important;
  line-height:1.65 !important;
  max-width:none !important;
  width:100% !important;
  white-space:normal !important;
}

/* dec-hiab-reg */
.elementor-element-64f5b20 .qodef-m-title sup {
  font-size: 50% !important;
  vertical-align: super !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

/* dec-hs-gap */
.dec-hs-heading,
#qodef-page-content-bottom .dec-hs-heading,
.qodef-content-bottom-custom .dec-hs-heading {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  min-height: 0 !important;
  padding: 0 0 8px !important;
  background: transparent !important;
}
.dec-hs-form-clip{overflow:visible!important;height:auto!important;}
.dec-hs-newsletter .hs-form-frame,.dec-hs-form-clip .hs-form-frame{margin-top:0!important;min-height:520px!important;height:auto!important;display:block!important;}

/* dec-speaking-form-gap */
.elementor-9541 .elementor-element-b3a48aa {
  margin-bottom: 56px !important;
}

/* dec-hs-form-restore */
.dec-hs-form-clip{overflow:visible!important;height:auto!important;min-height:0!important;}
.dec-hs-newsletter .hs-form-frame,.dec-hs-form-clip .hs-form-frame{margin-top:0!important;min-height:520px!important;height:auto!important;display:block!important;}


/* dec-mobile-20261023 */
@media (max-width: 880px) {
  .elementor-36 .elementor-element.elementor-element-dd7236d > .elementor-widget-container,
  .elementor-element-dd7236d > .elementor-widget-container {
    background-image: none !important;
    background-color: #fff !important;
    background-attachment: scroll !important;
    height: auto !important;
  }
  .elementor-element-dd7236d {
    height: auto !important;
    min-height: 0 !important;
  }
  .elementor-element-dd7236d .elementor-widget-container::before {
    content: "";
    display: block;
    width: 100%;
    height: 340px;
    margin: 0 0 8px;
    background-image: url(https://drelainechin.com/wp-content/uploads/2026/06/elanine-bg-4.png);
    background-position: 72% 8%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .elementor-element-dd7236d .qodef-m-content-all {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px !important;
    padding: 0 4px 8px !important;
    box-sizing: border-box !important;
  }
  .elementor-element-dd7236d .qodef-banner .qodef-m-title {
    font-size: 32px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }
  .elementor-element-dd7236d .qodef-banner.qodef-layout--link-button .qodef-m-text {
    font-size: 17px !important;
    line-height: 1.45 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #1a1a1a !important;
    text-shadow: none !important;
  }

  .elementor-element-8d287aa .qodef-m-content {
    position: static !important;
    padding: 14px 0 4px !important;
    background: none !important;
  }
  .elementor-element-8d287aa .qodef-m-title,
  .elementor-element-8d287aa .qodef-m-title a,
  .elementor-element-8d287aa .qodef-m-text {
    color: #1a1a1a !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    letter-spacing: 0.02em !important;
  }
  .elementor-element-8d287aa .qodef-m-title,
  .elementor-element-8d287aa .qodef-m-title a {
    font-size: 18px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.04em !important;
  }
  .elementor-element-0cd8ea4,
  .elementor-element-d5bebd8 {
    position: relative !important;
    z-index: 3 !important;
    margin-bottom: 4px !important;
  }
  .elementor-element-3026718 {
    overflow: hidden !important;
  }

  .qodef-addons-blog-slider {
    overflow: hidden !important;
    padding-bottom: 48px !important;
  }
  .qodef-addons-blog-slider .swiper-button-next,
  .qodef-addons-blog-slider .swiper-button-prev {
    top: auto !important;
    bottom: 0 !important;
    margin-top: 0 !important;
    width: 36px !important;
    height: 36px !important;
  }
  .qodef-addons-blog-slider .qodef-e-text {
    min-height: 0 !important;
    padding-right: 8px !important;
  }

  .elementor-element-5a53dd0 .qodef-m-subtitle,
  .elementor-element-77397ba .qodef-m-subtitle,
  body.page-id-9355 .qodef-section-title .qodef-m-subtitle,
  body.page-id-4426 .qodef-section-title .qodef-m-subtitle {
    font-size: clamp(28px, 8.5vw, 40px) !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
  }

  .elementor-flip-box {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 28px !important;
  }
  .elementor-flip-box__layer {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .elementor-flip-box__layer--overlay {
    display: none !important;
  }

  .qodef-content-bottom-custom {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 16px 16px 8px !important;
  }
  .qodef-content-bottom-custom .dec-hs-newsletter,
  .dec-hs-intro {
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 1 auto !important;
  }

  #qodef-page-wrapper,
  #qodef-page-inner,
  .elementor {
    overflow-x: clip !important;
    max-width: 100% !important;
  }

  .qodef-m-main-image,
  .qodef-m-main-image img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
  .elementor img {
    max-width: 100%;
  }
  #qodef-back-to-top {
    bottom: 72px !important;
  }
}
