h1 em,
h2 em,
h3 em {
    font-style: italic;
    color: #4E2442;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* Header dropdown — scoped to the .wwm-nav class set on the Nav Menu widget.
   Elementor exposes no control for dropdown container padding, item radius or
   min-width, and its own rules are more specific, hence !important. */
.wwm-nav .elementor-nav-menu--dropdown {
    padding: 8px !important;
    min-width: 240px;
}

.wwm-nav .elementor-nav-menu--dropdown a {
    border-radius: 8px !important;
    text-align: left;
    justify-content: flex-start;
}

/* FAQ — the design draws each question as its own card (.faq details).
   Elementor's Accordion is one stacked list with shared borders and no
   control for per-item radius or spacing, so it is rebuilt here. */
.wwm-faq .elementor-accordion-item {
    border: 1px solid #E8DDDA;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.wwm-faq .elementor-accordion-item+.elementor-accordion-item {
    border-top: 1px solid #E8DDDA;
}

.wwm-faq .elementor-accordion-item:last-child {
    margin-bottom: 0;
}

.wwm-faq .elementor-tab-content {
    border-top: 0;
}

/* FAQ toggle — the design uses the text characters "+" and "−" in DM Sans,
   not an icon font. Hide Elementor's glyph and draw the character instead. */
.wwm-faq .elementor-accordion-icon i,
.wwm-faq .elementor-accordion-icon svg {
    display: none;
}

.wwm-faq .elementor-accordion-icon-closed::after,
.wwm-faq .elementor-accordion-icon-opened::after {
    font-family: "DM Sans", sans-serif;
    font-size: 22px;
    line-height: 1;
    color: #4E2442;
}

.wwm-faq .elementor-accordion-icon-closed::after {
    content: "+";
}

.wwm-faq .elementor-accordion-icon-opened::after {
    content: "\2212";
}

/* Mobile drawer (.mnav) — Elementor's toggle is icon-only and its dropdown has
   no per-item styling, so the design's "Menu" pill, indented child rows and
   full-width button are set here. */
.wwm-mnav {
    flex: 0 0 auto;
    margin-left: auto;
    width: max-content;
}

.wwm-mnav .elementor-menu-toggle {
    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    width: max-content;
    background: transparent;
    border: 1px solid #E8DDDA;
    border-radius: 99px;
    padding: 10px 14px;
}

.wwm-mnav .elementor-menu-toggle i,
.wwm-mnav .elementor-menu-toggle svg {
    display: none;
}

.wwm-mnav .elementor-menu-toggle::after {
    content: "Menu";
    font: 600 13px/1 "DM Sans", sans-serif;
    color: #2B1F27;
}

.wwm-mnav .elementor-nav-menu--dropdown {
    min-height: calc(100vh - 110px);
    background: #FAF7F3;
    border: 0;
    box-shadow: none;
    padding: 12px 24px 20px !important;
    border-top: 1px solid #E8DDDA;
    border-bottom: 1px solid #E8DDDA;
    border-radius: 0 !important;
}

.wwm-mnav .elementor-nav-menu--dropdown a.elementor-item {
    border-bottom: 1px solid #E8DDDA;
    border-radius: 0 !important;
}

.wwm-mnav .elementor-nav-menu--dropdown .sub a.elementor-item {
    padding-left: 16px;
    font-size: 15px;
    color: #6F626A;
}

.wwm-mnav .elementor-nav-menu--dropdown .mnav-btn a.elementor-item {
    margin-top: 16px;
    justify-content: center;
    background: #4E2442;
    color: #FFFFFF;
    border-bottom: 0;
    border-radius: 99px !important;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 24px;
}

/* Header dropdown — vertical gap between items */
.wwm-nav .elementor-nav-menu--dropdown li {
    margin-bottom: 4px;
}

.wwm-nav .elementor-nav-menu--dropdown li:last-child {
    margin-bottom: 0;
}

/* sticky header — blur behind the row Elementor pins (design: backdrop-filter:blur(10px)) */
.wwm-head {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* FAQ answer — design: .faq details div{display:grid;gap:10px;padding-bottom:20px} and a{color:inherit} */
/* slideToggle animates height only, never padding — a padding-bottom here pops
   in instantly and the panel jerks. Carry the 20px as a margin on the content
   instead, so it sits inside the animated height. */
.wwm-faq .elementor-tab-content {
    padding-bottom: 0 !important;
}

.wwm-faq .elementor-tab-content>*:last-child {
    padding-bottom: 20px;
}

.wwm-faq .elementor-tab-content p {
    display: grid;
    gap: 10px;
    margin: 0;
}

.wwm-faq .elementor-tab-content a {
    color: inherit;
    text-decoration: underline;
}

/* Visit-us map — fills the plum panel; row has overflow:hidden so corners stay rounded */
.wwm-map {
    flex: 1 1 auto;
    display: flex;
}

.wwm-map .elementor-widget-container,
.wwm-map .elementor-custom-embed {
    width: 100%;
    height: 100%;
}

.wwm-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    border: 0;
}

/* ──────────────────────────────────────────────────────────────
   Single post article body — scoped to the .wwm-article class set
   on the Post Content widget. Elementor exposes no controls for the
   HTML that widget renders, so it is styled here.
   ────────────────────────────────────────────────────────────── */
.wwm-article {
    max-width: 720px;
    margin-inline: auto;
    font: 400 17.5px/1.65 "DM Sans", sans-serif;
    color: #2B1F27;
}

/* Headings */
.wwm-article h1,
.wwm-article h2,
.wwm-article h3,
.wwm-article h4 {
    font-family: "Newsreader", Georgia, serif;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #2B1F27;
}

.wwm-article h2 {
    font-size: 29px;
    line-height: 1.15;
    margin: 42px 0 20px;
}

.wwm-article h3 {
    font-size: 23px;
    line-height: 1.2;
    margin: 26px 0 20px;
}

.wwm-article h4 {
    font-size: 21px;
    line-height: 1.25;
    margin: 20px 0 12px;
}

.wwm-article h2 em,
.wwm-article h3 em {
    font-style: italic;
    color: #4E2442;
}

/* Block rhythm — the design spaces article blocks 20px apart */
.wwm-article p,
.wwm-article ul,
.wwm-article ol,
.wwm-article figure,
.wwm-article blockquote,
.wwm-article .wp-block-quote {
    margin: 0 0 20px;
}

.wwm-article p:empty {
    display: none;
    margin: 0;
}

.wwm-article>*:first-child {
    margin-top: 0;
}

.wwm-article>*:last-child {
    margin-bottom: 0;
}

/* Lede — first paragraph */
.wwm-article>p:first-of-type {
    font-size: 20px;
    color: #6F626A;
    max-width: 60ch;
}

.wwm-article ul,
.wwm-article ol {
    padding-left: 22px;
    display: grid;
    gap: 6px;
}

.wwm-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.wwm-article figure {
    margin-inline: 0;
}

/* Body links — the design keeps them in the text colour at 600 */
.wwm-article a:not(.wp-block-button__link) {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #E8DDDA;
}

.wwm-article a:not(.wp-block-button__link):hover {
    color: #4E2442;
    border-bottom-color: #4E2442;
}

/* WordPress button blocks inside the content */
.wwm-article .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 44px;
}

.wwm-article .wp-block-buttons+h2,
.wwm-article .wp-block-buttons+h3 {
    margin-top: 0;
}

.wwm-article .wp-block-button__link,
.wwm-article .wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font: 600 14px/1 "DM Sans", sans-serif;
    padding: 14px 24px;
    border-radius: 99px;
    text-decoration: none;
    background: #4E2442;
    border: 1px solid #4E2442;
    color: #FFFFFF !important;
    line-height: 1.4em;
}

.wwm-article .wp-block-button__link:hover {
    background: #6B3A5D;
    border-color: #6B3A5D;
}

/* Callout / pull quote */
.wwm-article blockquote,
.wwm-article .wp-block-quote {
    background: #F1E3E8;
    border: 0;
    border-radius: 12px;
    padding: 22px 24px;
}

/* ──────────────────────────────────────────────────────────────
   FAQ accordion — built from the article's FAQ headings by the
   Custom Code snippet, so there is no Elementor element to style.
   Named .wwm-article-faq to stay clear of .wwm-faq, which styles
   the native Elementor Accordion elsewhere on the site.
   ────────────────────────────────────────────────────────────── */
.wwm-article .wwm-article-faq-title {
    text-align: center;
}

.wwm-article .wwm-article-faq {
    display: grid;
    gap: 10px;
    max-width: 860px;
    width: 100%;
    margin: 0 auto 20px;
}

.wwm-article .wwm-article-faq details {
    background: #FFFFFF;
    border: 1px solid #E8DDDA;
    border-radius: 12px;
    padding: 0 22px;
}

.wwm-article .wwm-article-faq summary {
    cursor: pointer;
    list-style: none;
    margin: 0;
    padding: 20px 0;
    transition: padding-bottom .26s cubic-bezier(.4, 0, .2, 1);
    font: 400 20px/1.3 "Newsreader", Georgia, serif;
    letter-spacing: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.wwm-article .wwm-article-faq summary::-webkit-details-marker {
    display: none;
}

.wwm-article .wwm-article-faq summary::after {
    content: "+";
    font-family: "DM Sans", sans-serif;
    font-size: 22px;
    line-height: 1;
    color: #4E2442;
    flex: none;
}

.wwm-article .wwm-article-faq details[open] summary::after {
    content: "\2212";
}

.wwm-article .wwm-article-faq details[open] summary {
    padding-bottom: 10px;
}

.wwm-article .wwm-article-faq details>div {
    margin: 0;
    padding: 0 0 20px;
    font-size: 15px;
    color: #6F626A;
    display: grid;
    gap: 10px;
}

.wwm-article .wwm-article-faq details>div p {
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────
   Site Map inventory table — real <table> in an HTML widget on
   /site-map/, scoped to .wwm-sitemap. Values taken from the design
   (.tbl-wrap / table / th / td / .tag). Stacks into cards on phones.
   ────────────────────────────────────────────────────────────── */
.wwm-sitemap {
    overflow-x: auto;
    border: 1px solid #E8DDDA;
    border-radius: 12px;
    background: #FFFFFF;
}

.wwm-sitemap table {
    border-collapse: collapse;
    width: 100%;
    min-width: 620px;
    font: 400 14.5px/1.6 "DM Sans", sans-serif;
    color: #2B1F27;
}

.wwm-sitemap th,
.wwm-sitemap td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #E8DDDA;
    vertical-align: top;
}

.wwm-sitemap th {
    font: 600 11px/1.2 "DM Sans", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6F626A;
    background: #F5EDEA;
    white-space: nowrap;
}

.wwm-sitemap table td,
.wwm-sitemap table th {
    border: 0;
}

.wwm-sitemap tr:last-child td {
    border-bottom: 0;
}

.wwm-sitemap td.u,
.wwm-sitemap td.n {
    color: #6F626A;
}

.wwm-sitemap td a {
    color: inherit;
}

/* Elementor's reset.css zebra-stripes and hover-tints every table —
   the design has flat rows, so clear those here. */
.wwm-sitemap table tbody>tr:nth-child(odd)>td,
.wwm-sitemap table tbody>tr:nth-child(odd)>th,
.wwm-sitemap table tbody>tr:nth-child(even)>td,
.wwm-sitemap table tbody>tr:nth-child(even)>th,
.wwm-sitemap table tbody tr:hover>td,
.wwm-sitemap table tbody tr:hover>th {
    background-color: transparent;
}

.wwm-sitemap table caption+thead tr:first-child td,
.wwm-sitemap table caption+thead tr:first-child th,
.wwm-sitemap table colgroup+thead tr:first-child td,
.wwm-sitemap table colgroup+thead tr:first-child th,
.wwm-sitemap table thead:first-child tr:first-child td,
.wwm-sitemap table thead:first-child tr:first-child th {
    border-block-start: 0;
}

/* Action tag */
.wwm-sitemap .tag {
    display: inline-block;
    font: 600 10px/1 "DM Sans", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 9px;
    border-radius: 99px;
    background: #F1E3E8;
    color: #4E2442;
    white-space: nowrap;
}

.wwm-sitemap .tag.merge {
    background: #EDE3D6;
    color: #6A4A2E;
}

.wwm-sitemap .tag.noindex {
    background: #E8DDDA;
    color: #6F626A;
}

/* Mobile Menu */
.wwm-mnav .elementor-nav-menu--dropdown li.wwm-mnav-book {
    text-align: left;
    margin: 10px 0 6px;
}

.wwm-mnav .elementor-nav-menu--dropdown li.wwm-mnav-book>a.elementor-item {
    display: inline-block;
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-d0a662a);
    fill: var(--e-global-color-d0a662a);
    border-bottom: 0;
    border-radius: 99px !important;
    padding: 12px 20px;
    font-family: var(--e-global-typography-t63c130-font-family), Sans-serif;
    font-size: var(--e-global-typography-t63c130-font-size);
    font-weight: var(--e-global-typography-t63c130-font-weight);
    line-height: var(--e-global-typography-t63c130-line-height);
}

.wwm-mnav .elementor-nav-menu--dropdown li.wwm-mnav-book>a.elementor-item:hover,
.wwm-mnav .elementor-nav-menu--dropdown li.wwm-mnav-book>a.elementor-item:focus,
.wwm-mnav .elementor-nav-menu--dropdown li.wwm-mnav-book>a.elementor-item.highlighted {
    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-d0a662a);
}

body.single-post h1,
body.single-post h2,
body.single-post h3,
body.single-post h4 {
    text-wrap: wrap;
}

/* Women's Wellness - BMI eligibility calculator.
   Loaded by the [wwm_bmi] shortcode in functions.php. */

.wwm-bmi {
    display: grid;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid #E8DDDA;
    border-radius: 16px;
    padding: 24px
}

/* An author display rule beats the UA's [hidden]{display:none}, so the
   inactive unit row must be hidden explicitly. */
.wwm-bmi [hidden] {
    display: none !important;
}

.wwm-bmi h3 {
    font: 300 27px/1.2 "Newsreader", Georgia, serif;
    letter-spacing: -.01em;
    color: #2B1F27;
    margin: 0
}

.wwm-bmi-head {
    display: grid;
    gap: 10px
}

.wwm-bmi-eyebrow {
    font: 600 11px/1.2 "DM Sans", sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #6F626A
}

.wwm-bmi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.wwm-bmi-row--two {
    grid-template-columns: repeat(2, 1fr)
}

.wwm-bmi label {
    display: grid;
    gap: 6px;
    font: 400 13px/1.4 "DM Sans", sans-serif;
    color: #6F626A
}

.wwm-bmi input[type=number] {
    font: 500 18px "DM Sans", sans-serif;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #E8DDDA;
    background: #FAF7F3;
    color: #2B1F27;
    width: 100%;
    box-sizing: border-box
}

.wwm-bmi-units {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid #E8DDDA;
    border-radius: 99px;
    background: #FAF7F3
}

.wwm-bmi-units label {
    display: block;
    margin: 0;
    cursor: pointer
}

.wwm-bmi-units input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0
}

.wwm-bmi-units span {
    display: block;
    padding: 8px 16px;
    border-radius: 99px;
    font: 600 13px/1 "DM Sans", sans-serif;
    color: #6F626A;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease
}

.wwm-bmi-units input:checked+span {
    background: #4E2442;
    color: #FFFFFF
}

.wwm-bmi-units input:focus-visible+span {
    outline: 2px solid #4E2442;
    outline-offset: 2px
}

.wwm-bmi-scale {
    position: relative;
    padding-bottom: 20px
}

.wwm-bmi-bands {
    display: flex;
    height: 10px;
    border-radius: 99px;
    overflow: hidden
}

.wwm-bmi-bands .is-under {
    width: 14%;
    background: #D9CBD4
}

.wwm-bmi-bands .is-healthy {
    width: 26%;
    background: #9BBE9E
}

.wwm-bmi-bands .is-over {
    width: 20%;
    background: #E0B36A
}

.wwm-bmi-bands .is-obese {
    width: 40%;
    background: #C2766F
}

.wwm-bmi-marker {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 18px;
    margin-left: -2px;
    border-radius: 99px;
    background: #2B1F27;
    box-shadow: 0 0 0 2px #FFFFFF;
    transition: left .25s cubic-bezier(.4, 0, .2, 1)
}

.wwm-bmi-ticks {
    position: relative;
    height: 14px;
    margin-top: 6px
}

.wwm-bmi-ticks span {
    position: absolute;
    transform: translateX(-50%);
    font: 500 11px/1 "DM Sans", sans-serif;
    color: #6F626A
}

.wwm-bmi-ticks span:first-child {
    transform: none
}

.wwm-bmi-ticks span:last-child {
    transform: translateX(-100%)
}

.wwm-bmi-out {
    background: #F1E3E8;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.wwm-bmi-out-fig {
    display: grid;
    gap: 6px
}

.wwm-bmi-val {
    font: 300 40px/1 "Newsreader", Georgia, serif;
    letter-spacing: -.02em;
    color: #2B1F27
}

.wwm-bmi-out p {
    margin: 0;
    max-width: 40ch;
    font: 400 14px/1.5 "DM Sans", sans-serif;
    color: #6F626A
}

.wwm-bmi-cat {
    justify-self: start;
    padding: 4px 10px;
    border-radius: 99px;
    font: 600 11px/1.4 "DM Sans", sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #FFFFFF;
    color: #6F626A;
    white-space: nowrap;
}

.wwm-bmi-cat:empty {
    display: none
}

.wwm-bmi-cat.is-under {
    color: #6B5B66
}

.wwm-bmi-cat.is-healthy {
    color: #3F6B45
}

.wwm-bmi-cat.is-over {
    color: #8A6020
}

.wwm-bmi-cat.is-obese {
    color: #8E3B33
}

.wwm-bmi-range {
    margin: 0;
    font: 500 13px/1.5 "DM Sans", sans-serif;
    color: #2B1F27
}

.wwm-bmi-range:empty {
    display: none
}

.wwm-bmi-note {
    margin: 0;
    font: 400 13px/1.5 "DM Sans", sans-serif;
    color: #6F626A
}

.footer-ms a {
    color: #D9CBD3;
}



/* =========================================
   Responsive — media queries
   ========================================= */


@media (max-width: 767px) {

    /* Phones — stack each row into a labelled card */
    .wwm-sitemap {
        overflow-x: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 10px;
    }

    .wwm-sitemap table {
        min-width: 0;
    }

    .wwm-sitemap thead {
        display: none;
    }

    .wwm-sitemap table,
    .wwm-sitemap tbody,
    .wwm-sitemap tr,
    .wwm-sitemap td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .wwm-sitemap table,
    .wwm-sitemap tbody {
        padding-inline: 0;
    }

    .wwm-sitemap tr {
        border: 1px solid #E8DDDA;
        border-radius: 12px;
        background: #FFFFFF;
        margin-bottom: 10px;
    }

    .wwm-sitemap tbody td {
        border-bottom: 0;
    }

    .wwm-sitemap tbody td:empty {
        display: none;
    }

    .wwm-sitemap tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font: 600 10px/1.2 "DM Sans", sans-serif;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #6F626A;
    }

    .wwm-sitemap td[data-label="Page"] {
        font-weight: 600;
    }
	
	.footer-mobile-ms {
		display: none;
	}
}

@media (max-width: 560px) {

    /* Phones */
    .wwm-article {
        font-size: 16.5px;
    }

    .wwm-article h2 {
        font-size: 26px;
        margin: 34px 0 16px;
    }

    .wwm-article h3 {
        font-size: 20px;
        margin: 22px 0 16px;
    }

    .wwm-article .wp-block-buttons {
        margin: 26px 0 34px;
    }

    .wwm-bmi {
        padding: 20px
    }

    .wwm-bmi-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .wwm-bmi-out {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }

    .wwm-bmi-units {
        display: flex;
        width: 100%
    }

    .wwm-bmi-units label {
        flex: 1 1 0
    }

    .wwm-bmi-units span {
        text-align: center;
        padding: 8px 10px
    }
}


/* Narrow phones (320px) */
@media (max-width: 380px) {
    .wwm-bmi {
        padding: 16px;
        gap: 14px;
    }

    .wwm-bmi h3 {
        font-size: 24px;
    }

    .wwm-bmi-val {
        font-size: 34px;
    }

    .wwm-bmi input[type=number] {
        font-size: 16px;
        padding: 10px 12px;
    }

    .wwm-bmi-units span {
        padding: 8px 4px;
        font-size: 11.5px;
        letter-spacing: 0;
    }

    .wwm-bmi-out {
        padding: 16px;
    }

    .wwm-bmi-ticks span {
        font-size: 10px;
    }
}