
  :root{
    --teal:#25B1B4;
    --teal-dark:#1C9092;
    --ink:#122B29;
    --ink-soft:#4B6462;
    --bg:#EBEBE9;
    --white:#FFFFFF;
    --mint:#D8EEEC;
    --line:#DBDBD8;
    --footer-bg:#0E211F;
    --gold:#DFA84B;
    --radius-lg:28px;
    --radius-md:20px;
    --shadow: 0 24px 60px -24px rgba(15,40,38,0.22);
  }
  
  html{scroll-behavior:smooth;}
  body{
    font-family:'DM Sans', sans-serif;
    color:var(--ink-soft);
    background:var(--white);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  .shen-home h1,.shen-home h2,.shen-home h3,.shen-home .display{
    font-family:'Fraunces', serif;
    font-weight:600;
    letter-spacing:-0.01em;
    color:var(--ink);
  }
  .shen-home a{color:inherit; text-decoration:none;}
  .shen-home img{max-width:100%; display:block;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  .shen-home ul{list-style:none; margin:0; padding:0;}

  .eyebrow{
    font-family:'DM Sans', sans-serif;
    font-weight:700;
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--teal-dark);
    display:block;
    margin-bottom:14px;
  }

  .btn{
    font-family:'DM Sans', sans-serif;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    border:none;
    border-radius:999px;
    padding:15px 26px;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    display:inline-flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
  }
  .btn-primary{ background:var(--teal); color:var(--ink); }
  .btn-primary:hover{ background:var(--teal-dark); color:var(--white); transform:translateY(-2px); }
  .btn-white{ background:var(--white); color:var(--ink); box-shadow:0 6px 18px -8px rgba(15,40,38,0.25); }
  .btn-white:hover{ transform:translateY(-2px); box-shadow:0 10px 22px -8px rgba(15,40,38,0.3); }
  .btn-outline{ background:transparent; color:var(--ink); border:1.5px solid rgba(18,43,41,0.35); }
  .btn-outline:hover{ border-color:var(--ink); }
  .btn-outline-light{ background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,0.4); }
  .btn-outline-light:hover{ border-color:var(--white); }

  /* HEADER */
  .shen-site-header{
    position:sticky; top:0; z-index:50;
    background:rgba(235,235,233,0.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .shen-nav{ display:flex; align-items:center; justify-content:space-between; padding:20px 0; }
  .shen-logo{ font-family:'Fraunces', serif; font-weight:600; font-size:23px; color:var(--ink); }
  .shen-nav-links{ display:flex; align-items:center; gap:36px; font-weight:500; font-size:15px; color:var(--ink); }
  .shen-site-header .shen-nav-links,
  .shen-site-header .shen-nav-links > li{ list-style:none !important; margin:0; padding:0; }
  .shen-site-header .shen-nav-links > li::marker,
  .shen-site-header .shen-nav-links > li::before{ content:none !important; display:none !important; }
  .shen-nav-links a:hover{ color:var(--teal-dark); }
  .shen-nav-right{ display:flex; align-items:center; gap:22px; }
  .shen-nav-phone{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:14.5px; color:var(--ink); }
  .shen-nav-toggle{ display:none; background:none; border:none; padding:8px; }
  .shen-nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; border-radius:2px;}

  /* HERO */
  .hero{ background:var(--bg); padding:80px 0 96px; }
  .hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:60px; align-items:center; }
  .badge{
    display:inline-flex; align-items:center; gap:8px;
    background:var(--mint); color:var(--teal-dark);
    font-weight:600; font-size:13.5px;
    padding:9px 18px 9px 14px; border-radius:999px;
    margin-bottom:26px;
  }
  .hero h1{ font-size:clamp(38px,4.6vw,54px); line-height:1.12; margin-bottom:24px; }
  .hero p.sub{ font-size:17px; color:var(--ink-soft); max-width:480px; margin-bottom:32px; }
  .hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:32px; }
  .hero-trust{ display:flex; gap:28px; flex-wrap:wrap; font-size:14px; color:var(--ink-soft); }
  .hero-trust span{ display:flex; align-items:center; gap:8px; }
  .hero-photo{
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow);
    aspect-ratio:4/3.1;
    background:linear-gradient(150deg,#D9EEEC,#C7E4E1);
    display:flex; align-items:center; justify-content:center;
    color:var(--teal-dark); font-weight:600; font-size:14px; text-align:center; padding:24px;
  }

  /* SECTIONS GENERIC */
  .section{ padding:104px 0; }
  .section-head{ max-width:640px; margin:0 auto 52px; text-align:center; }
  .section-head h2{ font-size:clamp(28px,3.2vw,38px); margin-bottom:14px; }
  .section-head p{ font-size:16.5px; }
  .section-head.left{ margin:0 0 40px; text-align:left; }

  /* SERVICES */
  .services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-bottom:44px; }
  .service-card{ background:var(--bg); border-radius:var(--radius-md); padding:30px 26px; transition:transform .2s ease; }
  .service-card:hover{ transform:translateY(-4px); }
  .service-icon{
    width:48px; height:48px; border-radius:14px;
    background:var(--mint); color:var(--teal-dark);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:20px;
  }
  .service-card h3{ font-size:19px; margin-bottom:10px; line-height:1.25; }
  .service-card p{ font-size:14px; margin-bottom:16px; }
  .service-link{ font-weight:600; font-size:14px; color:var(--teal-dark); display:inline-flex; align-items:center; gap:4px; }
  .services-cta{ text-align:center; }

  /* WHY US */
  .why-section{ background:var(--bg); }
  .why-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:center; }
  .why-photo-wrap{ position:relative; }
  .why-photo{
    border-radius:var(--radius-lg);
    aspect-ratio:4/5;
    background:linear-gradient(150deg,#DDEEEC,#C9E1DE);
    display:flex; align-items:center; justify-content:center;
    color:var(--teal-dark); font-weight:600; font-size:14px; text-align:center; padding:24px;
  }
  .why-copy p.lead{ font-size:16.5px; margin-bottom:36px; max-width:520px; }
  .why-list{ display:flex; flex-direction:column; gap:26px; }
  .why-item{ display:flex; gap:16px; align-items:flex-start; }
  .why-num{
    flex:none; width:32px; height:32px; border-radius:50%;
    background:var(--teal); color:var(--white);
    display:flex; align-items:center; justify-content:center;
    font-size:14px; margin-top:2px;
  }
  .why-item h3{ font-size:17px; margin-bottom:6px; }
  .why-item p{ font-size:14.5px; }

  /* DOCTOR */
  .doctor-section{ background:var(--bg); text-align:center; padding-top:0; }
  .doctor-section .section-head p{ max-width:700px; margin:0 auto; }
  .doctor-stats{max-width:760px;margin:-20px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
  .doctor-stat{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);padding:24px 18px;box-shadow:0 10px 30px -24px rgba(15,40,38,.28);}
  .doctor-stat strong{display:block;font-family:'Fraunces',serif;font-size:32px;line-height:1;color:var(--teal-dark);margin-bottom:8px;}
  .doctor-stat span{font-size:13.5px;font-weight:600;color:var(--ink-soft);}

  /* GOOGLE REVIEWS */
  .testi-section{ background:linear-gradient(180deg,var(--bg) 0%,#f7f7f5 100%); }
  .reviews-head{margin-bottom:34px;}
  .reviews-head p{max-width:560px;margin:0 auto;}
  .reviews-shell{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow);}
  .reviews-shell-head{display:flex;align-items:center;gap:12px;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid var(--line);color:var(--ink);}
  .reviews-shell-head strong{display:block;font-size:15px;line-height:1.2;}
  .reviews-shell-head span:not(.reviews-google-mark){display:block;font-size:12.5px;color:var(--ink-soft);margin-top:3px;}
  .reviews-google-mark{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--bg);font-family:'DM Sans',sans-serif;font-size:20px;font-weight:700;color:var(--teal-dark);}

  .testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .testi-card{ background:var(--white); border-radius:var(--radius-md); padding:28px; box-shadow:0 10px 30px -18px rgba(15,40,38,0.18); }
  .testi-card p{ font-size:14.5px; margin-bottom:18px; }
  .testi-name{ font-weight:700; font-size:14px; color:var(--ink); }

  /* APPOINTMENT FORM */
  .appt-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:flex-start; }
  .appt-copy h2{ font-size:clamp(26px,3vw,34px); margin-bottom:18px; }
  .appt-copy p.lead{ font-size:16px; margin-bottom:28px; max-width:420px; }
  .appt-meta{ display:flex; flex-direction:column; gap:14px; font-size:14.5px; }
  .appt-meta span{ display:flex; align-items:center; gap:10px; }
  .appt-meta a{ color:var(--teal-dark); font-weight:600; }

  .form-card{ background:var(--bg); border-radius:var(--radius-lg); padding:36px; }
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
  .field{ display:flex; flex-direction:column; gap:8px; }
  .field.full{ grid-column:1 / -1; }
  .field label{ font-size:13.5px; font-weight:600; color:var(--ink); display:flex; align-items:center; gap:6px; }
  .field input, .field select, .field textarea{
    font-family:'DM Sans', sans-serif;
    font-size:14.5px;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid var(--line);
    background:var(--white);
    color:var(--ink);
  }
  .field textarea{ resize:vertical; min-height:90px; }
  .form-disclaimer{ font-size:12.5px; color:var(--ink-soft); margin-top:12px; }

  /* CTA BANNER */
  .cta-banner{ background:var(--teal); padding:80px 0; text-align:center; }
  .cta-banner h2{ color:var(--ink); font-size:clamp(26px,3.4vw,38px); margin-bottom:14px; }
  .cta-banner p{ color:rgba(18,43,41,0.75); font-size:16px; margin-bottom:32px; }
  .cta-banner-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

  /* FOOTER */
  .shen-site-footer{ background:var(--footer-bg); color:rgba(255,255,255,0.7); padding:64px 0 28px; }
  .footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:48px; padding-bottom:40px; }
  .shen-site-footer .shen-logo{ color:var(--white); margin-bottom:16px; display:block; }
  .shen-site-footer p{ font-size:14px; line-height:1.7; }
  .shen-site-footer h4{ color:var(--teal); font-size:12.5px; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:18px; font-family:'DM Sans',sans-serif; font-weight:700; }
  .footer-line{ display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; font-size:14.5px; color:rgba(255,255,255,0.85); }
  .footer-row{ display:flex; justify-content:space-between; font-size:14.5px; color:rgba(255,255,255,0.85); margin-bottom:10px; gap:12px; }
  .footer-bottom{ border-top:1px solid rgba(255,255,255,0.12); padding-top:22px; text-align:center; font-size:13px; color:rgba(255,255,255,0.45); }

  .shen-home svg{ display:block; }

  @media (max-width: 980px){
    .shen-nav-links{ display:none; }
    .shen-nav-toggle{ display:block; }
    .hero-grid, .why-grid, .appt-grid{ grid-template-columns:1fr; }
    .why-photo-wrap{ order:-1; }
    .services-grid{ grid-template-columns:repeat(2,1fr); }
    .testi-grid{ grid-template-columns:1fr; }
    .doctor-stats{grid-template-columns:1fr;}
    .footer-grid{ grid-template-columns:1fr; gap:32px; }
    .form-row{ grid-template-columns:1fr; }
  }
  @media (max-width: 560px){
    .services-grid{ grid-template-columns:1fr; }
    .hero-cta{ flex-direction:column; align-items:flex-start; }
    .cta-banner-actions{ flex-direction:column; align-items:center; }
  }

.shen-home, .shen-home *{box-sizing:border-box;}
.shen-site-header{width:100%;}
.shen-logo-image{max-height:52px;width:auto;}
.hero-photo.has-image,.why-photo.has-image{padding:0;overflow:hidden;background:none;}
.hero-photo.has-image img,.why-photo.has-image img{width:100%;height:100%;object-fit:cover;}
.service-icon.has-image{overflow:hidden;padding:8px;}
.service-icon.has-image img{width:100%;height:100%;object-fit:contain;}
.shen-nav-toggle{cursor:pointer;}
@media(max-width:980px){.shen-nav-links.is-open{display:flex;position:absolute;top:100%;left:0;right:0;background:var(--bg);flex-direction:column;padding:20px 32px;border-bottom:1px solid #DBDBD8;gap:18px;z-index:60}.shen-nav{position:relative}}
.shen-home .custom-form-shortcode input,.shen-home .custom-form-shortcode select,.shen-home .custom-form-shortcode textarea{max-width:100%;}
.shen-home .custom-form-shortcode .wpforms-container{margin:0;}

/* Trustindex Google Reviews */
.trustindex-reviews{width:100%;min-height:80px;}
.trustindex-reviews .ti-widget{margin:0 auto!important;max-width:100%!important;}
.trustindex-reviews [class*="ti-widget"]{font-family:'DM Sans',sans-serif!important;}
@media(max-width:560px){.reviews-shell{padding:20px 14px;border-radius:20px;}.reviews-shell-head{padding-left:4px;padding-right:4px;}}


/* Contact Form 7 — Shen Dental appointment form */
.shen-home .custom-form-shortcode .wpcf7{margin:0;}
.shen-home .custom-form-shortcode .wpcf7-form{display:block;}
.shen-home .custom-form-shortcode .shen-cf7-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.shen-home .custom-form-shortcode .shen-cf7-field{display:flex;flex-direction:column;gap:8px;min-width:0;}
.shen-home .custom-form-shortcode .shen-cf7-field.shen-cf7-full{grid-column:1/-1;}
.shen-home .custom-form-shortcode .shen-cf7-label{display:block;font-size:13.5px;font-weight:600;color:var(--ink);margin-bottom:8px;}
.shen-home .custom-form-shortcode .shen-cf7-help{display:block;font-size:12.5px;color:var(--ink-soft);font-weight:400;margin-top:3px;}
.shen-home .custom-form-shortcode .wpcf7-form-control-wrap{display:block;width:100%;}
.shen-home .custom-form-shortcode input[type="text"],
.shen-home .custom-form-shortcode input[type="email"],
.shen-home .custom-form-shortcode input[type="tel"],
.shen-home .custom-form-shortcode select,
.shen-home .custom-form-shortcode textarea{
  width:100%;font-family:'DM Sans',sans-serif;font-size:14.5px;line-height:1.45;padding:13px 14px;border-radius:12px;border:1px solid var(--line);background:var(--white);color:var(--ink);box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease;
}
.shen-home .custom-form-shortcode textarea{min-height:120px;resize:vertical;}
.shen-home .custom-form-shortcode input:focus,
.shen-home .custom-form-shortcode select:focus,
.shen-home .custom-form-shortcode textarea:focus{outline:none;border-color:var(--teal-dark);box-shadow:0 0 0 3px rgba(37,177,180,.13);}
.shen-home .custom-form-shortcode .wpcf7-radio{display:flex;flex-wrap:wrap;gap:9px 16px;margin-top:2px;}
.shen-home .custom-form-shortcode .wpcf7-list-item{margin:0;}
.shen-home .custom-form-shortcode .wpcf7-list-item label{display:inline-flex;align-items:center;gap:7px;font-size:14px;color:var(--ink-soft);cursor:pointer;}
.shen-home .custom-form-shortcode input[type="radio"],.shen-home .custom-form-shortcode input[type="checkbox"]{accent-color:var(--teal-dark);width:16px;height:16px;}
.shen-home .custom-form-shortcode .wpcf7-submit{font-family:'DM Sans',sans-serif;font-weight:600;font-size:15px;border:0;border-radius:999px;padding:15px 26px;background:var(--teal);color:var(--ink);cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease;}
.shen-home .custom-form-shortcode .wpcf7-submit:hover{background:var(--teal-dark);color:var(--white);transform:translateY(-2px);}
.shen-home .custom-form-shortcode .wpcf7-spinner{vertical-align:middle;}
.shen-home .custom-form-shortcode .wpcf7-not-valid-tip{font-size:12.5px;margin-top:6px;}
.shen-home .custom-form-shortcode .wpcf7-response-output{margin:18px 0 0!important;padding:12px 14px!important;border-radius:12px;font-size:13.5px;}
.shen-home .custom-form-shortcode .shen-cf7-consent{font-size:12.5px;line-height:1.55;color:var(--ink-soft);margin:2px 0 18px;}
@media(max-width:680px){.shen-home .custom-form-shortcode .shen-cf7-row{grid-template-columns:1fr;}.shen-home .custom-form-shortcode .shen-cf7-field.shen-cf7-full{grid-column:auto;}}


/* v1.2.3: keep custom navigation colors consistent after a link has been visited.
   Astra's global a:visited rule must not turn Shen Dental navigation links blue/purple. */
.shen-site-header .shen-nav-links a,
.shen-site-header .shen-nav-links a:link,
.shen-site-header .shen-nav-links a:visited {
    color: var(--ink) !important;
    text-decoration: none;
}
.shen-site-header .shen-nav-links a:hover,
.shen-site-header .shen-nav-links a:focus,
.shen-site-header .shen-nav-links a.active,
.shen-site-header .shen-nav-links a.active:visited {
    color: var(--teal-dark) !important;
}
.shen-site-header .shen-nav-phone,
.shen-site-header .shen-nav-phone:visited {
    color: var(--ink) !important;
}


/* v1.2.5 Appointment form refinement: more compact, calmer, and easier to scan. */
.shen-home .custom-form-shortcode .form-card,
.shen-home .form-card{padding:30px 32px}
.shen-home .custom-form-shortcode .shen-cf7-row{gap:14px 16px;margin-bottom:14px}
.shen-home .custom-form-shortcode .shen-cf7-field{gap:5px}
.shen-home .custom-form-shortcode .shen-cf7-label{font-size:13px;margin-bottom:5px}
.shen-home .custom-form-shortcode .shen-cf7-help{font-size:11.75px;line-height:1.4;margin-top:2px}
.shen-home .custom-form-shortcode input[type="text"],
.shen-home .custom-form-shortcode input[type="email"],
.shen-home .custom-form-shortcode input[type="tel"],
.shen-home .custom-form-shortcode select{
    min-height:46px;
    padding:10px 13px;
    border-radius:12px;
}
.shen-home .custom-form-shortcode textarea{
    min-height:86px;
    max-height:130px;
    padding:11px 13px;
    border-radius:12px;
}
.shen-home .custom-form-shortcode .wpcf7-radio{
    gap:7px 8px;
    margin-top:0;
}
.shen-home .custom-form-shortcode .wpcf7-list-item label{
    background:#fff;
    border:1px solid #dbe2df;
    border-radius:999px;
    padding:7px 10px;
    font-size:12.75px;
    line-height:1.2;
}
.shen-home .custom-form-shortcode .wpcf7-list-item label:has(input:checked){
    border-color:var(--teal-dark);
    background:var(--mint);
    color:var(--ink);
}
.shen-home .custom-form-shortcode input[type="radio"],
.shen-home .custom-form-shortcode input[type="checkbox"]{width:14px;height:14px}
.shen-home .custom-form-shortcode .shen-cf7-consent{
    background:rgba(255,255,255,.62);
    border:1px solid #dde4e1;
    border-radius:12px;
    padding:10px 12px;
    margin:2px 0 13px;
    font-size:11.75px;
    line-height:1.45;
}
.shen-home .custom-form-shortcode .wpcf7-submit{
    width:100%;
    padding:13px 22px;
}
@media(max-width:680px){
  .shen-home .custom-form-shortcode .form-card,
  .shen-home .form-card{padding:25px 20px}
  .shen-home .custom-form-shortcode .shen-cf7-row{margin-bottom:12px}
}


/* v1.2.10 — Appointment form organization
   Keeps existing CF7 markup/fields, but makes the form feel shorter and more structured. */

.shen-home .appt-grid{
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
    gap:54px;
}

.shen-home .form-card{
    padding:28px;
}

.shen-home .custom-form-shortcode .wpcf7-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px 16px;
    align-items:start;
}

/* Let existing rows/fields participate cleanly inside the two-column shell. */
.shen-home .custom-form-shortcode .shen-cf7-row{
    display:contents;
    margin:0;
}

.shen-home .custom-form-shortcode .shen-cf7-field{
    min-width:0;
    gap:5px;
    margin:0;
}

.shen-home .custom-form-shortcode .shen-cf7-field.shen-cf7-full{
    grid-column:1/-1;
}

/* Long/select-heavy questions can sit comfortably side-by-side. */
.shen-home .custom-form-shortcode select{
    width:100%;
}

/* Compact visual rhythm. */
.shen-home .custom-form-shortcode .shen-cf7-label{
    margin:0 0 4px;
    line-height:1.3;
}

.shen-home .custom-form-shortcode input[type="text"],
.shen-home .custom-form-shortcode input[type="email"],
.shen-home .custom-form-shortcode input[type="tel"],
.shen-home .custom-form-shortcode select{
    min-height:44px;
    padding:9px 12px;
}

.shen-home .custom-form-shortcode textarea{
    min-height:76px;
    max-height:110px;
}

.shen-home .custom-form-shortcode .wpcf7-radio{
    min-height:44px;
    align-items:center;
    gap:7px;
}

.shen-home .custom-form-shortcode .wpcf7-list-item label{
    padding:6px 9px;
    font-size:12.5px;
}

.shen-home .custom-form-shortcode .shen-cf7-consent,
.shen-home .custom-form-shortcode .wpcf7-response-output,
.shen-home .custom-form-shortcode .wpcf7-submit,
.shen-home .custom-form-shortcode > p:last-of-type{
    grid-column:1/-1;
}

.shen-home .custom-form-shortcode .shen-cf7-consent{
    margin:0;
    padding:9px 11px;
}

.shen-home .custom-form-shortcode .wpcf7-submit{
    margin-top:2px;
    min-height:46px;
}

/* Some CF7 forms wrap controls in <p>; allow those wrappers to lay out nicely too. */
.shen-home .custom-form-shortcode .wpcf7-form > p{
    margin:0;
    min-width:0;
}
.shen-home .custom-form-shortcode .wpcf7-form > p:has(textarea),
.shen-home .custom-form-shortcode .wpcf7-form > p:has(.wpcf7-acceptance),
.shen-home .custom-form-shortcode .wpcf7-form > p:has(.wpcf7-submit),
.shen-home .custom-form-shortcode .wpcf7-form > p:last-of-type{
    grid-column:1/-1;
}

/* Keep validation messages from stretching the layout. */
.shen-home .custom-form-shortcode .wpcf7-not-valid-tip{
    margin-top:4px;
    line-height:1.3;
}

@media(max-width:900px){
    .shen-home .appt-grid{
        grid-template-columns:1fr;
        gap:34px;
    }
}

@media(max-width:680px){
    .shen-home .custom-form-shortcode .wpcf7-form{
        grid-template-columns:1fr;
        gap:12px;
    }
    .shen-home .custom-form-shortcode .shen-cf7-field.shen-cf7-full,
    .shen-home .custom-form-shortcode .shen-cf7-consent,
    .shen-home .custom-form-shortcode .wpcf7-response-output,
    .shen-home .custom-form-shortcode .wpcf7-submit,
    .shen-home .custom-form-shortcode .wpcf7-form > p{
        grid-column:1;
    }
    .shen-home .form-card{
        padding:24px 20px;
    }
}

/* v1.2.40 — Generic page navigation uses direct links (no list markup), preventing list markers. */
.shen-generic-page .shen-site-header .shen-nav-links > a {
  display: inline-flex;
  align-items: center;
}
.shen-site-footer .footer-bottom .shen-footer-privacy {
  color: inherit;
  text-decoration: none;
}
.shen-site-footer .footer-bottom .shen-footer-privacy:hover,
.shen-site-footer .footer-bottom .shen-footer-privacy:focus {
  text-decoration: underline;
}
.shen-site-footer .footer-bottom .shen-footer-separator {
  margin: 0 .45em;
}

/* Contact Us — v1.2.45 */
.shen-contact-page main{background:#fff;color:#122B29}.shen-contact-hero{padding:88px 0 78px;background:#EBEBE9}.shen-contact-narrow{max-width:800px}.shen-contact-hero h1{font-family:"Fraunces",serif;font-size:clamp(44px,6vw,68px);line-height:1.04;letter-spacing:-.035em;margin:12px 0 18px;color:#122B29}.shen-contact-hero p{font-size:19px;line-height:1.7;color:#4B6462;max-width:680px}.shen-contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.shen-contact-secondary{background:transparent!important;border:1px solid #1C9092!important;color:#1C9092!important}.shen-contact-info{padding:68px 0}.shen-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.shen-contact-card{padding:30px;border:1px solid rgba(18,43,41,.12);border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(18,43,41,.05)}.shen-contact-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#D8EEEC;color:#1C9092;margin-bottom:20px}.shen-contact-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shen-contact-card h2{font-family:"Fraunces",serif;font-size:27px;margin:0 0 12px}.shen-contact-card p{color:#4B6462;line-height:1.65}.shen-contact-card .small{font-size:14px}.shen-contact-card a,.shen-contact-page .appt-copy a{color:#1C9092;font-weight:600}.shen-contact-location{padding:72px 0;background:#D8EEEC}.shen-contact-location-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:54px;align-items:center}.shen-contact-location h2{font-family:"Fraunces",serif;font-size:clamp(34px,4vw,48px);line-height:1.08;margin:10px 0 16px}.shen-contact-location p{font-size:17px;line-height:1.7;color:#4B6462}.shen-contact-map{overflow:hidden;border-radius:20px;box-shadow:0 16px 36px rgba(18,43,41,.12)}.shen-contact-map iframe{display:block;width:100%;height:370px;border:0}@media(max-width:900px){.shen-contact-grid,.shen-contact-location-grid{grid-template-columns:1fr}}@media(max-width:640px){.shen-contact-hero{padding:62px 0 56px}.shen-contact-info,.shen-contact-location{padding:52px 0}.shen-contact-card{padding:24px}.shen-contact-map iframe{height:300px}}


/* v1.2.48 — responsive header + mobile hardening */
@media (min-width: 1121px){
  .shen-site-header .wrap{max-width:1440px;padding-left:32px;padding-right:32px}
  .shen-site-header .shen-nav{gap:22px;min-height:84px}
  .shen-site-header .shen-logo{flex:0 0 auto}
  .shen-site-header .shen-logo-image{width:190px;max-width:190px;height:auto}
  .shen-site-header .shen-nav-links{display:flex;align-items:center;gap:25px;flex:1;justify-content:center;min-width:0}
  .shen-site-header .shen-nav-links a{white-space:nowrap;font-size:15px;line-height:1.2}
  .shen-site-header .shen-nav-right{display:flex;align-items:center;gap:18px;flex:0 0 auto}
  .shen-site-header .shen-nav-phone{white-space:nowrap;font-size:15px}
  .shen-site-header .shen-nav-right .btn{white-space:nowrap;padding-left:25px;padding-right:25px}
}
@media (min-width:1121px) and (max-width:1280px){
  .shen-site-header .wrap{padding-left:22px;padding-right:22px}
  .shen-site-header .shen-logo-image{width:168px;max-width:168px}
  .shen-site-header .shen-nav{gap:15px}
  .shen-site-header .shen-nav-links{gap:17px}
  .shen-site-header .shen-nav-links a,.shen-site-header .shen-nav-phone{font-size:14px}
  .shen-site-header .shen-nav-right{gap:12px}
  .shen-site-header .shen-nav-right .btn{padding-left:20px;padding-right:20px}
}
/* Switch to the compact menu before the desktop header becomes crowded. */
@media (max-width:1120px){
  .shen-site-header .shen-nav{min-height:76px}
  .shen-site-header .shen-logo-image{width:180px;max-width:48vw;height:auto}
  .shen-site-header .shen-nav-links,
  .shen-site-header .shen-nav-phone{display:none}
  .shen-site-header .shen-nav-toggle{display:flex!important}
  .shen-site-header .shen-nav-right{margin-left:auto;gap:12px}
  .shen-site-header .shen-nav-right .btn{white-space:nowrap}
  .shen-site-header .shen-nav.is-open .shen-nav-links,
  .shen-site-header .shen-nav.open .shen-nav-links,
  .shen-site-header .shen-nav-links.is-open,
  .shen-site-header .shen-nav-links.open{
    display:flex;position:absolute;left:0;right:0;top:100%;z-index:1000;
    flex-direction:column;align-items:stretch;gap:0;padding:12px 22px 20px;
    background:#fff;border-top:1px solid rgba(18,43,41,.08);
    box-shadow:0 14px 30px rgba(18,43,41,.10)
  }
  .shen-site-header .shen-nav.is-open .shen-nav-links a,
  .shen-site-header .shen-nav.open .shen-nav-links a,
  .shen-site-header .shen-nav-links.is-open a,
  .shen-site-header .shen-nav-links.open a{
    display:block;padding:12px 0;white-space:normal
  }
}
@media (max-width:640px){
  .shen-site-header .wrap{padding-left:18px;padding-right:18px}
  .shen-site-header .shen-nav{min-height:70px;gap:10px}
  .shen-site-header .shen-logo-image{width:150px;max-width:46vw}
  .shen-site-header .shen-nav-right{gap:8px}
  .shen-site-header .shen-nav-right .btn{padding:10px 14px;font-size:13px}
  .shen-site-header .shen-nav-toggle{width:40px;height:40px}
  body{overflow-x:hidden}
  img,svg,video,iframe{max-width:100%}
  .wrap{width:100%;max-width:100%;padding-left:18px;padding-right:18px}
  h1,h2,h3{overflow-wrap:break-word}
  .btn{max-width:100%}
}
@media (max-width:420px){
  .shen-site-header .shen-logo-image{width:132px;max-width:42vw}
  .shen-site-header .shen-nav-right .btn{padding:9px 11px;font-size:12px}
}


/* v1.2.51 — preserve v1.2.49 desktop; mobile uses tap-to-call */
.shen-mobile-call{display:none!important}
@media (max-width:1120px){
  .shen-site-header .shen-nav-right > .btn-primary:not(.shen-mobile-call){display:none!important}
  .shen-site-header .shen-mobile-call{
    display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
    white-space:nowrap;text-decoration:none
  }
  .shen-site-header .shen-mobile-call svg{
    width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto
  }
}
@media (max-width:640px){
  .shen-site-header .shen-mobile-call{padding:10px 12px!important;font-size:13px!important}
}
@media (max-width:430px){
  .shen-site-header .shen-mobile-call{padding:9px 10px!important;font-size:12px!important;gap:5px}
  .shen-site-header .shen-mobile-call svg{width:14px;height:14px}
}
@media (max-width:370px){
  .shen-site-header .shen-mobile-call span{font-size:0}
  .shen-site-header .shen-mobile-call span:after{content:"Call";font-size:12px}
}


/* v1.2.53 — Resources page */
.shen-resources-main{background:#EBEBE9;color:#122B29}
.shen-resources-hero{padding:88px 0 54px;background:#D8EEEC}
.shen-resources-hero .shen-container,.shen-resources-section .shen-container{width:min(1120px,calc(100% - 40px));margin:0 auto}
.shen-resources-hero h1{font-family:"Fraunces",serif;font-size:clamp(42px,6vw,68px);line-height:1.04;margin:8px 0 18px;color:#122B29}
.shen-resources-intro{max-width:760px;font-size:18px;line-height:1.7;color:#4B6462;margin:0}
.shen-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:700;color:#1C9092;margin:0}
.shen-resources-section{padding:64px 0 84px}
.shen-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.shen-resource-card{display:grid;grid-template-columns:52px 1fr;gap:18px;padding:28px;background:#fff;border:1px solid rgba(18,43,41,.09);border-radius:18px;text-decoration:none!important;color:#122B29!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.shen-resource-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(18,43,41,.08);border-color:rgba(37,177,180,.4)}
.shen-resource-number{font-family:"Fraunces",serif;font-size:25px;color:#25B1B4}
.shen-resource-card h2{font-family:"Fraunces",serif;font-size:24px;line-height:1.2;margin:0 0 10px;color:#122B29}
.shen-resource-card p{font-size:15px;line-height:1.65;color:#4B6462;margin:0 0 16px}
.shen-resource-link{font-weight:700;font-size:14px;color:#1C9092}
.shen-resources-note{margin-top:28px;padding:20px 22px;background:#D8EEEC;border-radius:14px;color:#4B6462;line-height:1.6}
.shen-image-credit{font-size:13px;line-height:1.6;color:#4B6462;margin:22px 0 0}
@media(max-width:760px){
 .shen-resources-hero{padding:60px 0 38px}
 .shen-resources-section{padding:40px 0 60px}
 .shen-resource-grid{grid-template-columns:1fr}
 .shen-resource-card{grid-template-columns:42px 1fr;padding:22px;gap:12px}
}

/* v1.2.54 — Resources link on Patient Information */
.shen-patient-resources-link{padding:8px 0 38px;background:#EBEBE9}
.shen-patient-resources-link .shen-container{width:min(1120px,calc(100% - 40px));margin:0 auto}
.shen-patient-resource-card{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 32px;background:#D8EEEC;border-radius:18px;text-decoration:none!important;color:#122B29!important;border:1px solid rgba(18,43,41,.06);transition:transform .2s ease,box-shadow .2s ease}
.shen-patient-resource-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(18,43,41,.08)}
.shen-patient-resource-card h2{font-family:"Fraunces",serif;font-size:27px;line-height:1.2;margin:5px 0 8px;color:#122B29}
.shen-patient-resource-card p:not(.shen-eyebrow){margin:0;max-width:720px;color:#4B6462;line-height:1.6}
.shen-patient-resource-arrow{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:#25B1B4;color:#fff;font-size:24px}
@media(max-width:640px){.shen-patient-resource-card{padding:22px;gap:16px}.shen-patient-resource-card h2{font-size:23px}.shen-patient-resource-arrow{width:40px;height:40px;flex-basis:40px}}

/* v1.2.55 — WordPress-edited Resources content */
.shen-resources-editor-content .shen-container{font-size:16px;line-height:1.7;color:#4B6462}
.shen-resources-editor-content h2,.shen-resources-editor-content h3{font-family:"Fraunces",serif;color:#122B29}
.shen-resources-editor-content a{color:#1C9092}

/* v1.2.56 — editable custom-page content shell */
.shen-editor-content{padding:56px 0 72px;background:#EBEBE9;color:#4B6462}
.shen-editor-content .shen-container{width:min(1120px,calc(100% - 40px));margin:0 auto;font-size:16px;line-height:1.7}
.shen-editor-content h1,.shen-editor-content h2,.shen-editor-content h3{font-family:"Fraunces",serif;color:#122B29}
.shen-editor-content a{color:#1C9092}
.shen-editor-content img{max-width:100%;height:auto}
