/* =========================================================
   CDC Modern Styles  -  main stylesheet
   Edit freely. Colors and fonts come from the variables
   below (also editable in Appearance > CDC Modern Styles).
   The header and main menu are intentionally NOT styled here.
   Sections:
     0. Variables        5. Images (arch frames)
     1. Base type        6. Testimonials
     2. Content text     7. Tables, forms, misc
     3. Separators       8. Inner-page title text
     4. Buttons          9. Footer      10. "Did You Know?" cards
   ========================================================= */

:root{
  /* fallbacks - the plugin settings override these */
  --cdc-primary:#520a7f;
  --cdc-primary-rgb:82,10,127;
  --cdc-deep:#2f0450;
  --cdc-lilac:#e7c8ff;
  --cdc-mist:#dff5fb;
  --cdc-blush:#fbf1f7;
  --cdc-ink:#2c2433;
  --cdc-muted:#5f566b;
  --cdc-script:'Pinyon Script',cursive;
  --cdc-script-weight:400;
  --cdc-serif:'Cormorant Garamond',Georgia,serif;
  --cdc-sans:'Jost','Helvetica Neue',Arial,sans-serif;

  --cdc-radius:14px;
  --cdc-arch-ratio:4/5;          /* shape of the arched photos */
  --cdc-arch-max:460px;          /* max width of arched photos */
}

/* ---------- 1. Base type (content + footer only) ---------- */
body .mkdf-content,
body .mkdf-page-footer{
  font-family:var(--cdc-sans);
  -webkit-font-smoothing:antialiased;
}
body .mkdf-content p,
body .mkdf-content li,
body .mkdf-content .wpb_text_column{
  font-family:var(--cdc-sans);
  color:var(--cdc-ink);
  line-height:1.75;
}
/* the home page intro paragraphs carry inline grey + 18px; soften & make readable */
body .mkdf-content p[style*="6c6c6c"]{
  color:var(--cdc-muted)!important;
  line-height:1.8!important;
}

body .mkdf-content h1,
body .mkdf-content h2,
body .mkdf-content h3,
body .mkdf-content h4,
body .mkdf-content h5,
body .mkdf-content h6{
  color:var(--cdc-deep);
  text-transform:none;
  letter-spacing:0;
  margin-top:0;
}
/* H1 = the cursive script */
body .mkdf-content h1{
  font-family:var(--cdc-script);
  font-weight:var(--cdc-script-weight);
  font-size:clamp(46px,6.2vw,80px);
  line-height:1.08;
  color:var(--cdc-primary);
}
/* H2-H4 = refined serif, so long headings stay readable */
body .mkdf-content h2{
  font-family:var(--cdc-serif);
  font-weight:600;
  font-size:clamp(34px,4.2vw,52px);
  line-height:1.12;
  margin-bottom:.5em;
}
body .mkdf-content h3{
  font-family:var(--cdc-serif);
  font-weight:600;
  font-size:clamp(26px,2.8vw,34px);
  line-height:1.2;
  margin-bottom:.45em;
}
body .mkdf-content h4,
body .mkdf-content h5,
body .mkdf-content h6{
  font-family:var(--cdc-serif);
  font-weight:600;
  font-size:clamp(20px,2vw,24px);
}

/* anything the old theme set in Gwendolyn inline switches to the new script font */
body [style*="Gwendolyn"]{
  font-family:var(--cdc-script)!important;
  font-weight:var(--cdc-script-weight)!important;
}

/* the little "welcome to" line above the home H1 */
body .mkdf-content .mkdf-custom-font-holder[style*="Arial"]{
  font-family:var(--cdc-serif)!important;
  font-style:italic!important;
  font-weight:500!important;
  color:var(--cdc-muted)!important;
  letter-spacing:.02em;
}

/* ---------- 2. Content text, links, lists ---------- */
body .mkdf-content .wpb_text_column strong{color:var(--cdc-deep);font-weight:600;}

body .mkdf-content .wpb_text_column a:not(.mkdf-btn){
  color:var(--cdc-primary);
  text-decoration:underline;
  text-decoration-color:rgba(var(--cdc-primary-rgb),.3);
  text-underline-offset:.2em;
  transition:color .2s ease,text-decoration-color .2s ease;
}
body .mkdf-content .wpb_text_column a:not(.mkdf-btn):hover{
  color:var(--cdc-deep);
  text-decoration-color:currentColor;
}
/* class titles on the home page are links: keep them looking like headings */
body .mkdf-content .wpb_text_column h2 a,
body .mkdf-content .wpb_text_column h3 a{
  color:inherit;text-decoration:none;
}
body .mkdf-content .wpb_text_column h3 a:hover{
  color:var(--cdc-primary);
  text-decoration:underline;
  text-decoration-color:var(--cdc-lilac);
  text-decoration-thickness:2px;
}

/* regular bullet lists */
body .mkdf-content .wpb_text_column ul:not(.pcheck){padding-left:1.2em;}
body .mkdf-content .wpb_text_column ul:not(.pcheck) li::marker{color:var(--cdc-primary);}

/* checkmark list  (<ul class="pcheck">)  - circle badge + scroll reveal */
body .mkdf-content ul.pcheck{list-style:none!important;margin:0 0 1em!important;padding:0!important;}
body .mkdf-content ul.pcheck li{
  list-style:none!important;
  position:relative;
  padding:0 0 0 40px;
  margin:0 0 14px;
  opacity:1;
  animation:none;
}
body .mkdf-content ul.pcheck li::before{
  content:"\2713";
  position:absolute;left:0;top:.15em;
  width:26px;height:26px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--cdc-lilac);
  color:var(--cdc-primary)!important;
  font-size:14px!important;font-weight:700;line-height:1;
}
/* one orchestrated moment: each check rises in as it scrolls into view (modern browsers only) */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    body .mkdf-content ul.pcheck li{
      opacity:0;
      animation:cdc-rise linear both;
      animation-delay:0s;
      animation-timeline:view();
      animation-range:entry 5% entry 55%;
    }
  }
}
@keyframes cdc-rise{
  from{opacity:0;transform:translateX(24px);}
  to{opacity:1;transform:translateX(0);}
}

/* ---------- 3. Separators (the thin line under headings) ---------- */
body .mkdf-content .mkdf-separator-holder .mkdf-separator{
  border-color:var(--cdc-lilac)!important;
  position:relative;
  overflow:visible;
}
body .mkdf-content .mkdf-separator-holder .mkdf-separator::after{
  content:"";
  position:absolute;left:50%;top:-4px;
  width:7px;height:7px;
  background:var(--cdc-primary);
  transform:translateX(-50%) rotate(45deg);
}

/* ---------- 4. Buttons ---------- */
body .mkdf-btn.mkdf-btn-solid,
body .mkdf-content input[type="submit"],
body .mkdf-content button[type="submit"],
body .mkdf-content .wpcf7-submit{
  background-color:var(--cdc-primary)!important;
  border:1.5px solid var(--cdc-primary)!important;
  color:#fff!important;
  border-radius:999px!important;
  font-family:var(--cdc-sans)!important;
  font-weight:500;
  letter-spacing:.06em;
  padding:14px 34px!important;
  box-shadow:0 8px 20px -10px rgba(var(--cdc-primary-rgb),.55);
  transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
  cursor:pointer;
}
body .mkdf-btn.mkdf-btn-solid:hover,
body .mkdf-content input[type="submit"]:hover,
body .mkdf-content button[type="submit"]:hover,
body .mkdf-content .wpcf7-submit:hover{
  background-color:var(--cdc-deep)!important;
  border-color:var(--cdc-deep)!important;
  color:#fff!important;
  box-shadow:0 10px 24px -10px rgba(var(--cdc-primary-rgb),.7);
}
body .mkdf-btn.mkdf-btn-outline{
  border-radius:999px!important;
  border-color:var(--cdc-primary)!important;
  color:var(--cdc-primary)!important;
}
body .mkdf-btn.mkdf-btn-outline:hover{
  background-color:var(--cdc-primary)!important;
  color:#fff!important;
}

/* visible keyboard focus everywhere in content + footer */
body .mkdf-content a:focus-visible,
body .mkdf-content button:focus-visible,
body .mkdf-content input:focus-visible,
body .mkdf-content textarea:focus-visible,
body .mkdf-content select:focus-visible,
body .mkdf-page-footer a:focus-visible{
  outline:3px solid var(--cdc-lilac);
  outline-offset:3px;
}

/* ---------- 5. Images: arched "ballet studio window" frames ----------
   Applies to photos sitting beside text. To keep a photo rectangular,
   add  cdc-no-arch  in that image's "Extra class name" in WPBakery.   */
body .mkdf-content .vc_row-o-equal-height .wpb_single_image:not(.cdc-no-arch) .vc_single_image-wrapper,
body .mkdf-content .vc_row-o-equal-height .wpb_single_image:not(.cdc-no-arch) .vc_figure{
  display:block;width:100%;
}
body .mkdf-content .vc_row-o-equal-height .wpb_single_image:not(.cdc-no-arch) img{
  display:block;
  width:100%;
  max-width:var(--cdc-arch-max);
  margin:0 auto;
  aspect-ratio:var(--cdc-arch-ratio);
  height:auto;
  object-fit:cover;
  object-position:center 25%;
  border-radius:50% 50% 24px 24px / 40% 40% 24px 24px;
  outline:1.5px solid var(--cdc-lilac);
  outline-offset:12px;
  transition:outline-color .25s ease;
}
body .mkdf-content .vc_row-o-equal-height .wpb_single_image:not(.cdc-no-arch) a:hover img{
  outline-color:var(--cdc-primary);
}
@media (max-width:767px){
  body .mkdf-content .vc_row-o-equal-height .wpb_single_image:not(.cdc-no-arch) img{
    max-width:min(340px,86%);
    outline-offset:9px;
  }
}

/* ---------- 6. Testimonials ---------- */
body .mkdf-testimonials-holder{
  background:var(--cdc-blush)!important;
  background-image:none!important;
  border-radius:32px;
  padding:clamp(28px,4vw,56px) clamp(16px,4vw,48px);
  overflow:hidden;
}
body .mkdf-testimonials-holder .mkdf-testimonials-heading{
  display:block;
  font-family:var(--cdc-script);
  font-weight:var(--cdc-script-weight);
  font-size:clamp(42px,5.6vw,68px);
  line-height:1.1;
  color:var(--cdc-primary);
  margin-bottom:.35em;
}
body .mkdf-testimonials-holder .mkdf-testimonial-text{
  font-family:var(--cdc-serif);
  font-style:italic;
  font-weight:500;
  font-size:clamp(21px,2.3vw,27px);
  line-height:1.45;
  color:var(--cdc-ink);
  text-transform:none;
  letter-spacing:0;
}
body .mkdf-testimonials-holder .mkdf-testimonials-author-name{
  font-family:var(--cdc-sans);
  font-weight:500;
  font-size:15px;
  letter-spacing:.08em;
  text-transform:none;
  color:var(--cdc-primary);
}
body .mkdf-testimonials-holder .owl-nav a,
body .mkdf-testimonials-holder .owl-nav .owl-prev,
body .mkdf-testimonials-holder .owl-nav .owl-next{
  color:var(--cdc-primary)!important;
}
body .mkdf-testimonials-holder .owl-dots .owl-dot span{
  background:var(--cdc-lilac)!important;
  border-color:var(--cdc-lilac)!important;
}
body .mkdf-testimonials-holder .owl-dots .owl-dot.active span{
  background:var(--cdc-primary)!important;
  border-color:var(--cdc-primary)!important;
}

/* ---------- 7. Tables, forms, quotes, misc ---------- */
body .mkdf-content ::selection,
body .mkdf-page-footer ::selection{background:var(--cdc-lilac);color:var(--cdc-deep);}

body .mkdf-content .wpb_text_column table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid rgba(var(--cdc-primary-rgb),.15);
  border-radius:var(--cdc-radius);
  overflow:hidden;
  font-family:var(--cdc-sans);
  font-size:16px;
}
body .mkdf-content .wpb_text_column table th{
  background:var(--cdc-primary);
  color:#fff;
  font-weight:500;
  letter-spacing:.04em;
  text-align:left;
  padding:14px 16px;
  border:0;
}
body .mkdf-content .wpb_text_column table td{
  padding:12px 16px;
  border:0;
  border-bottom:1px solid rgba(var(--cdc-primary-rgb),.1);
  color:var(--cdc-ink);
}
body .mkdf-content .wpb_text_column table tbody tr:nth-child(even) td{background:var(--cdc-blush);}
body .mkdf-content .wpb_text_column table tbody tr:last-child td{border-bottom:0;}
@media (max-width:767px){
  body .mkdf-content .wpb_text_column table{display:block;overflow-x:auto;}
}

body .mkdf-content blockquote{
  margin:1.5em 0;
  padding:.2em 0 .2em 1.4em;
  border-left:3px solid var(--cdc-lilac);
  font-family:var(--cdc-serif);
  font-style:italic;
  font-size:1.35em;
  line-height:1.5;
  color:var(--cdc-deep);
}

body .mkdf-content input[type="text"],
body .mkdf-content input[type="email"],
body .mkdf-content input[type="tel"],
body .mkdf-content input[type="url"],
body .mkdf-content input[type="number"],
body .mkdf-content input[type="password"],
body .mkdf-content input[type="date"],
body .mkdf-content textarea,
body .mkdf-content select{
  width:100%;
  background:#fff;
  border:1px solid rgba(var(--cdc-primary-rgb),.25);
  border-radius:12px;
  padding:13px 16px;
  font-family:var(--cdc-sans);
  font-size:16px;
  color:var(--cdc-ink);
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}
body .mkdf-content input[type="text"]:focus,
body .mkdf-content input[type="email"]:focus,
body .mkdf-content input[type="tel"]:focus,
body .mkdf-content input[type="url"]:focus,
body .mkdf-content input[type="number"]:focus,
body .mkdf-content input[type="password"]:focus,
body .mkdf-content input[type="date"]:focus,
body .mkdf-content textarea:focus,
body .mkdf-content select:focus{
  outline:0;
  border-color:var(--cdc-primary);
  box-shadow:0 0 0 3px rgba(var(--cdc-primary-rgb),.18);
}

/* ---------- 8. Inner-page title banner (text only; the image sizing stays in Additional CSS) ---------- */
body .mkdf-title-holder h1,
body .mkdf-title-holder .mkdf-page-title{
  font-family:var(--cdc-script)!important;
  font-weight:var(--cdc-script-weight)!important;
  font-size:clamp(46px,6vw,84px)!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:#fff!important;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
body .mkdf-title-holder .mkdf-breadcrumbs,
body .mkdf-title-holder .mkdf-breadcrumbs a{
  font-family:var(--cdc-sans);
  letter-spacing:.06em;
  text-transform:none;
}

/* ---------- 9. Footer ---------- */
body .mkdf-page-footer{
  /* big shallow arch along the top edge, echoing the photo frames */
  border-radius:50% 50% 0 0 / 70px 70px 0 0;
  overflow:hidden;
}
body .mkdf-page-footer .mkdf-footer-top-holder{
  background:linear-gradient(165deg,var(--cdc-primary) 0%,var(--cdc-deep) 100%)!important;
  padding-top:clamp(56px,7vw,96px);
  padding-bottom:clamp(24px,3vw,40px);
}
body .mkdf-page-footer .mkdf-footer-top-holder .mkdf-footer-top-inner{padding-bottom:0;}
body .mkdf-page-footer .mkdf-widget-title,
body .mkdf-page-footer .mkdf-widget-title-holder h4{
  font-family:var(--cdc-script)!important;
  font-weight:var(--cdc-script-weight)!important;
  font-size:clamp(36px,3.6vw,48px)!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--cdc-lilac)!important;
  margin:0 0 .5em;
}
body .mkdf-page-footer .textwidget,
body .mkdf-page-footer .textwidget p{
  font-family:var(--cdc-sans);
  font-size:16px;
  line-height:1.75;
  color:rgba(255,255,255,.88);
}
body .mkdf-page-footer .textwidget p strong{color:#fff;font-weight:600;}
body .mkdf-page-footer .mkdf-column-content{padding-left:20px;padding-right:20px;}
body .mkdf-page-footer .mkdf-footer-top-holder .mkdf-separator-holder{display:none;}

/* links list */
body .mkdf-page-footer .widget_nav_menu ul{list-style:none;margin:0;padding:0;}
body .mkdf-page-footer .widget_nav_menu li{margin:0;padding:0;}
body .mkdf-page-footer .widget_nav_menu li a{
  display:inline-block;
  padding:6px 0;
  font-family:var(--cdc-sans);
  font-size:16px;
  color:rgba(255,255,255,.88);
  text-decoration:none;
  background-image:linear-gradient(var(--cdc-lilac),var(--cdc-lilac));
  background-repeat:no-repeat;
  background-position:0 100%;
  background-size:0 1px;
  transition:color .2s ease,background-size .25s ease;
}
body .mkdf-page-footer .widget_nav_menu li a:hover,
body .mkdf-page-footer .widget_nav_menu li.current-menu-item a{
  color:var(--cdc-lilac);
  background-size:100% 1px;
}

/* phone + facebook */
body .mkdf-page-footer .mkdf-icon-widget-holder{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--cdc-sans);
  margin-top:10px;
}
body .mkdf-page-footer .mkdf-social-icon-widget-holder{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;margin-top:14px!important;
  border:1.5px solid rgba(231,200,255,.55);
  border-radius:50%;
  transition:background-color .2s ease,border-color .2s ease;
}
body .mkdf-page-footer .mkdf-social-icon-widget-holder:hover{
  background:rgba(231,200,255,.15);
  border-color:var(--cdc-lilac);
}

/* copyright bar */
body .mkdf-page-footer .mkdf-footer-bottom-holder{
  background:var(--cdc-deep)!important;
  border-top:1px solid rgba(231,200,255,.18)!important;
}
body .mkdf-page-footer .mkdf-footer-bottom-holder p,
body .mkdf-page-footer .mkdf-footer-bottom-holder .textwidget{
  font-family:var(--cdc-sans);
  font-size:14px;
  color:rgba(255,255,255,.7);
  margin:0;
}
body .mkdf-page-footer .mkdf-footer-bottom-holder a{
  color:var(--cdc-lilac);
  text-decoration:none;
}
body .mkdf-page-footer .mkdf-footer-bottom-holder a:hover{text-decoration:underline;}

@media (max-width:767px){
  body .mkdf-page-footer{border-radius:50% 50% 0 0 / 36px 36px 0 0;}
  body .mkdf-page-footer .mkdf-column-content{margin-bottom:28px;}
}

/* ---------- 10. "Did You Know?" fact cards (Benefits page) ----------
   Targets the two fact rows on /benefits/. To reuse on any other page, add
   the class  cdc-facts  to a WPBakery ROW whose columns have a background color, or see 10b to put it on a single column. */
body .mkdf-content :is(.vc_custom_1700000000020,.vc_custom_1700000000060,.cdc-facts) > .vc_col-has-fill{
  padding-left:12px;
  padding-right:12px;
  padding-bottom:24px;
}
body .mkdf-content :is(.vc_custom_1700000000020,.vc_custom_1700000000060,.cdc-facts) > .vc_col-has-fill > .vc_column-inner{
  position:relative;
  height:100%;
  padding:84px clamp(24px,2.6vw,38px) 44px!important;
  background:linear-gradient(180deg,#fff 0%,var(--cdc-blush) 100%)!important;
  border:1px solid rgba(var(--cdc-primary-rgb),.14);
  /* shallow arch on top: same shape language as the photos and footer */
  border-radius:50% 50% 24px 24px / 80px 80px 24px 24px;
  text-align:center;
  box-shadow:0 18px 36px -26px rgba(var(--cdc-primary-rgb),.45);
}
/* small diamond at the crown of each arch */
body .mkdf-content :is(.vc_custom_1700000000020,.vc_custom_1700000000060,.cdc-facts) > .vc_col-has-fill > .vc_column-inner::before{
  content:"";
  position:absolute;left:50%;top:44px;
  width:9px;height:9px;
  background:var(--cdc-primary);
  box-shadow:0 0 0 6px var(--cdc-lilac);
  transform:translateX(-50%) rotate(45deg);
}
body .mkdf-content :is(.vc_custom_1700000000020,.vc_custom_1700000000060,.cdc-facts) > .vc_col-has-fill p{
  margin:0;
  font-family:var(--cdc-serif);
  font-weight:500;
  font-size:clamp(20px,1.7vw,23px);
  line-height:1.5;
  color:var(--cdc-ink);
}
@media (max-width:767px){
  body .mkdf-content :is(.vc_custom_1700000000020,.vc_custom_1700000000060,.cdc-facts) > .vc_col-has-fill > .vc_column-inner{
    border-radius:50% 50% 24px 24px / 56px 56px 24px 24px;
    padding-top:68px!important;
  }
  body .mkdf-content :is(.vc_custom_1700000000020,.vc_custom_1700000000060,.cdc-facts) > .vc_col-has-fill > .vc_column-inner::before{top:34px;}
}

/* ---------- 10b. Fact card on a single column ----------
   Put  cdc-facts  directly on a column's "Extra class name" to turn just that
   column into an arched card (e.g. the text column on /dancewear/). */
body .mkdf-content .cdc-facts.vc_column_container{
  padding-left:12px;
  padding-right:12px;
  padding-bottom:24px;
}
body .mkdf-content .cdc-facts.vc_column_container > .vc_column-inner{
  position:relative;
  height:100%;
  padding:84px clamp(24px,2.6vw,38px) 44px!important;
  background:linear-gradient(180deg,#fff 0%,var(--cdc-blush) 100%)!important;
  border:1px solid rgba(var(--cdc-primary-rgb),.14);
  border-radius:50% 50% 24px 24px / 80px 80px 24px 24px;
  text-align:center;
  box-shadow:0 18px 36px -26px rgba(var(--cdc-primary-rgb),.45);
}
body .mkdf-content .cdc-facts.vc_column_container > .vc_column-inner::before{
  content:"";
  position:absolute;left:50%;top:44px;
  width:9px;height:9px;
  background:var(--cdc-primary);
  box-shadow:0 0 0 6px var(--cdc-lilac);
  transform:translateX(-50%) rotate(45deg);
}
body .mkdf-content .cdc-facts.vc_column_container h2{
  font-size:clamp(30px,3.2vw,42px);
  margin-bottom:.4em;
}
body .mkdf-content .cdc-facts.vc_column_container p{
  font-family:var(--cdc-serif);
  font-weight:500;
  font-size:clamp(20px,1.7vw,23px);
  line-height:1.5;
  color:var(--cdc-ink);
  margin:0 0 1em;
}
body .mkdf-content .cdc-facts.vc_column_container p:last-child{margin-bottom:0;}
@media (max-width:767px){
  body .mkdf-content .cdc-facts.vc_column_container > .vc_column-inner{
    border-radius:50% 50% 24px 24px / 56px 56px 24px 24px;
    padding-top:68px!important;
  }
  body .mkdf-content .cdc-facts.vc_column_container > .vc_column-inner::before{top:34px;}
}

/* ---------- 11. Anchor links: stop the sticky header covering the target ----------
   Any element with an id inside the page content stops this far below the top
   of the screen when reached through a #link. Raise --cdc-anchor-offset if the
   header still touches the title; lower it for less gap. */
:root{--cdc-anchor-offset:150px;}
body .mkdf-content [id]{scroll-margin-top:var(--cdc-anchor-offset);}
body.admin-bar .mkdf-content [id]{scroll-margin-top:calc(var(--cdc-anchor-offset) + 32px);}
@media (max-width:1024px){
  :root{--cdc-anchor-offset:110px;}   /* mobile header is shorter */
}
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth;}
}
