/* Palette: edit these values to match your Color Studio selection. */
:root {
 --rmc-hero-start:#113c42; --rmc-hero-end:#216c70; --rmc-headline:#cfd8d9;
 --rmc-hero-text:#e5f0ef; --rmc-cream:#f7f5ee; --rmc-surface:#fff;
 --rmc-heading:#143c42; --rmc-ink:#20383b; --rmc-teal:#267c7c;
 --rmc-gold:#d7a95e; --rmc-band:#e8f0ed;
 --rmc-header:#333; --rmc-header-link:#f7f5ee; --rmc-footer:#333; --rmc-footer-text:#eee;
}
body {background:var(--rmc-cream);color:var(--rmc-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
.wp-site-blocks{padding-block:0}.wp-site-blocks>header,.wp-site-blocks>footer,.rmc-main{margin-block:0}
.rmc-main {padding-block:0;min-height:45vh}
.rmc-main>.wp-block-post-title{padding:35px 24px 0}
.rmc-header,.rmc-footer{margin:0!important}
.rmc-header{background:var(--rmc-header);padding:12px 24px;box-shadow:0 8px 16px #0000000d}
.rmc-header-inner{max-width:1110px;margin:0 auto!important;display:flex;align-items:center;gap:24px;min-height:62px}
.rmc-brand{display:block;flex:0 0 auto;line-height:0}.rmc-brand img{width:250px;height:auto;max-width:100%}
.rmc-social{display:flex;gap:10px;align-items:center;margin:0 0 0 24px!important;flex:0 0 auto}
.rmc-social a{display:inline-flex}.rmc-social img{width:30px;height:30px;display:block}
.rmc-navigation{margin:0 0 0 auto!important;color:var(--rmc-header-link);font-size:14px;font-weight:500}
.rmc-navigation .wp-block-navigation-item__content{text-decoration:none;padding:8px 0}
.rmc-navigation .wp-block-navigation__container{gap:20px}.rmc-navigation a:hover,.rmc-navigation a:focus-visible{color:var(--rmc-gold)}
.rmc-navigation .wp-block-navigation__responsive-container.is-menu-open{background:var(--rmc-header);color:var(--rmc-header-link);padding:32px}
.rmc-navigation .wp-block-navigation__submenu-container{background:var(--rmc-header);color:var(--rmc-header-link)}
.rmc-footer{background:var(--rmc-footer);color:var(--rmc-footer-text);padding:20px 24px;font-size:14px}
.rmc-footer-inner{max-width:1110px;margin:auto!important;line-height:1.7}.rmc-footer a{color:inherit}.rmc-footer a:hover{color:var(--rmc-gold)}
.rmc-wellness,.rmc-wellness *{box-sizing:border-box}.rmc-wellness{font-family:Arial,Helvetica,sans-serif;line-height:1.55;color:var(--rmc-ink);margin:0!important;max-width:none!important}
.rmc-wellness>*,.rmc-wellness .wp-block-group{margin-block-start:0}.rmc-wellness a{color:inherit}
.rmc-wellness .rmc-wrap{max-width:1150px;margin-inline:auto!important;padding-inline:24px}
.rmc-wellness h1,.rmc-wellness h2,.rmc-wellness h3{font-family:Georgia,serif;line-height:1.12;font-weight:600;color:var(--rmc-heading);padding:0;letter-spacing:normal}
.rmc-wellness h1{font-size:clamp(39px,5vw,66px);margin:20px 0}.rmc-wellness h2{font-size:clamp(29px,3.3vw,43px);margin:0 0 16px}.rmc-wellness h3{font-size:24px;margin:8px 0 12px}
.rmc-wellness p{margin:0 0 18px}.rmc-wellness .rmc-eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;color:var(--rmc-teal);margin-bottom:16px}
.rmc-hero{background:linear-gradient(120deg,var(--rmc-hero-start),var(--rmc-hero-end));padding:76px 0 84px;color:var(--rmc-hero-text)}
.rmc-hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:56px;align-items:center}
.rmc-hero .rmc-hero-intro h1{color:var(--rmc-headline)}.rmc-hero-intro>p{font-size:19px;color:var(--rmc-hero-text)}.rmc-hero-intro>.rmc-eyebrow{font-size:12px;color:#f4d8a9}.rmc-hero-intro>.rmc-note{font-size:13px}
.rmc-form-card{background:var(--rmc-surface);color:var(--rmc-ink);border-radius:18px;padding:34px;box-shadow:0 22px 55px #082b3055;scroll-margin-top:24px;min-width:0}
.rmc-form-card h2{font-size:31px}.rmc-form-card>p{font-size:15px}.rmc-form-card>.rmc-eyebrow{font-size:12px}
.rmc-section{background:var(--rmc-cream);padding:75px 0}.rmc-center{text-align:center;max-width:760px;margin:0 auto 35px!important}
.rmc-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rmc-card{background:var(--rmc-surface);border:1px solid #e5e8e4;border-radius:14px;padding:30px}.rmc-card p:last-child{margin-bottom:0}.rmc-number{color:var(--rmc-teal);font-weight:700;letter-spacing:.12em;font-size:13px}
.rmc-band{background:var(--rmc-band);padding:65px 0}.rmc-band-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:65px;align-items:center}.rmc-about-card{background:var(--rmc-surface);border-left:5px solid var(--rmc-gold);border-radius:8px;padding:30px}
.rmc-wellness .wp-block-button__link,.rmc-form-card .wpcf7-submit{background:var(--rmc-gold);color:var(--rmc-ink);border:0;border-radius:9px;padding:15px 22px;font:800 16px/1.4 Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer;box-shadow:none}
.rmc-wellness .wp-block-button__link:hover,.rmc-form-card .wpcf7-submit:hover{filter:brightness(.95)}
/* Contact Form 7: scoped to this card; never hide validation or response messages. */
.rmc-form-card .wpcf7{margin:0}.rmc-form-card .wpcf7-form p{margin:0 0 14px;font-size:14px;color:var(--rmc-ink)}
.rmc-form-card .rmc-cf7-fields>label,.rmc-form-card .rmc-cf7-fields>p>label{display:block;font-size:14px;font-weight:700;margin:14px 0 6px}
.rmc-form-card .wpcf7-form-control-wrap{display:block;margin-top:6px}
.rmc-form-card input[type=text],.rmc-form-card input[type=email],.rmc-form-card input[type=tel],.rmc-form-card select,.rmc-form-card textarea{display:block;width:100%;max-width:100%;padding:13px 14px;background:#fff;color:#18393c;border:1px solid #bbc9c6;border-radius:8px;font:16px/1.4 Arial,Helvetica,sans-serif;box-shadow:none}
.rmc-form-card input:focus-visible,.rmc-form-card select:focus-visible,.rmc-form-card textarea:focus-visible{outline:3px solid #b2e1d9;outline-offset:2px}
.rmc-form-card .wpcf7-list-item{margin:0}.rmc-form-card .rmc-consent{margin:14px 0}.rmc-form-card .rmc-consent p{margin:0}
.rmc-form-card .rmc-consent label{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4;font-weight:400;margin:0}
.rmc-form-card .rmc-consent input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--rmc-teal)}
.rmc-form-card .rmc-consent .wpcf7-form-control-wrap{margin:0}
.rmc-form-card .wpcf7-submit{width:100%;margin-top:18px;white-space:normal}.rmc-form-card .wpcf7-submit:disabled{opacity:.6;cursor:not-allowed}
.rmc-form-card .wpcf7-spinner{display:block;margin:8px auto 0}.rmc-form-card .wpcf7-spinner:not(.is-active){height:0;margin-block:0}
.rmc-form-card .wpcf7-form.submitting .wpcf7-spinner{height:24px;margin:8px auto}
.rmc-form-card .wpcf7-not-valid-tip{display:block;color:#a12525;font-size:13px;font-weight:400;margin-top:5px}.rmc-form-card [aria-invalid=true]{border-color:#a12525}
.rmc-form-card .wpcf7 form .wpcf7-response-output{margin:16px 0 0;padding:12px 14px;border-radius:8px;font-size:14px;line-height:1.5;color:var(--rmc-ink);background:#fff8e7;overflow-wrap:anywhere}
.rmc-form-card .wpcf7 form.sent .wpcf7-response-output{background:#e6f5ec;border-color:#5d9e75;color:#184b32}.rmc-form-card .wpcf7 form.failed .wpcf7-response-output,.rmc-form-card .wpcf7 form.aborted .wpcf7-response-output{background:#fff0ee;color:#8d2525;border-color:#a12525}
.rmc-form-card .wpcf7-form .rmc-privacy{font-size:12px;margin-top:12px;line-height:1.5}.rmc-privacy a{text-decoration:underline}
.rmc-header a:focus-visible,.rmc-footer a:focus-visible,.rmc-wellness a:focus-visible,.rmc-wellness button:focus-visible{outline:3px solid var(--rmc-gold);outline-offset:4px}
@media(max-width:900px){.rmc-hero-grid,.rmc-band-grid{grid-template-columns:1fr;gap:30px}.rmc-cards{grid-template-columns:1fr}.rmc-hero{padding:50px 0}.rmc-section{padding:52px 0}.rmc-form-card{padding:24px}.rmc-header-inner{gap:16px}.rmc-social{margin-left:0!important}}
@media(max-width:599px){.rmc-header{padding-inline:20px}.rmc-header-inner{gap:14px}.rmc-brand img{width:200px}.rmc-social{gap:8px}.rmc-social img{width:25px;height:25px}.rmc-navigation{margin-left:auto!important}.rmc-wellness .rmc-wrap{padding-inline:20px}.rmc-band{padding:48px 0}.rmc-footer{font-size:12px}}
@media(max-width:390px){.rmc-brand img{width:170px}.rmc-header-inner{gap:10px}.rmc-social{gap:6px}}
/* Topic cards: hover color and full-card links */
.rmc-card {
  position: relative;
  transition: background-color 0.2s ease;
}

.rmc-card:hover,
.rmc-card:focus-within {
  background-color: var(--rmc-band);
}

.rmc-card .rmc-card-link {
  color: inherit;
  text-decoration: none;
}

.rmc-card .rmc-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}

.rmc-card .rmc-card-link:focus-visible {
  outline: none;
}

.rmc-card .rmc-card-link:focus-visible::after {
  outline: 3px solid var(--rmc-teal);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .rmc-card {
    transition: none;
  }
}
