/* ===========================================================================
   WellspringCBD — Single blog post template
   Loaded only on singular 'post' pages (wellspring-single.php).
   Scoped under .wss_*; reuses the site container (.ct-container) and the
   warm-serif / pine / green tokens already in wellspring-blog.css.
   =========================================================================== */

.wsc_single {
    --wss-pine: #192c27;
    --wss-green: #62b414;
    --wss-sand: #ffffff;
    --wss-border: #e3dcce;
    --wss-slate: #434f58;
}

/* ---------------------------------------------------------------- HERO    */
.wss_hero {
    position: relative;
    overflow: hidden;
    background: #101c19;
    color: #ffffff;
    padding: clamp(34px, 5vw, 60px) 24px clamp(40px, 5vw, 64px);
}
.wss_hero_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.wss_hero_scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(60% 90% at 88% 8%, rgba(98,180,20,0.20) 0%, rgba(98,180,20,0) 60%),
        radial-gradient(50% 70% at 6% 96%, rgba(207,224,216,0.12) 0%, rgba(207,224,216,0) 55%),
        linear-gradient(to right, rgba(16,28,25,0.95) 0%, rgba(16,28,25,0.86) 42%, rgba(16,28,25,0.60) 72%, rgba(16,28,25,0.44) 100%),
        linear-gradient(to top, rgba(16,28,25,0.72) 0%, rgba(16,28,25,0.18) 55%, rgba(16,28,25,0.35) 100%);
}
.wss_hero_inner {
    position: relative;
    z-index: 2;
}
.wss_crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: #9fb4aa;
    margin-bottom: 18px;
}
.wss_crumbs a { text-decoration: none; color: #d9e4dd; }
.wss_crumbs a:hover { color: #ffffff; }
.wss_crumb_sep { opacity: 0.55; }
.wss_pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #eef4ef;
    margin-bottom: 16px;
}
.wss_pill_dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wss-green); }
.wss_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wss-green);
    margin-bottom: 12px;
}
.wss_eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--wss-green);
    border-radius: 2px;
}
.wss_h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px;
    max-width: 900px;
    letter-spacing: -0.005em;
}
.wss_meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 14px;
    color: #b9cfc5;
    border-top: 1px solid rgba(255,255,255,0.16);
    padding-top: 20px;
}
.wss_meta_author { display: inline-flex; align-items: center; gap: 10px; }
.wss_avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #62b414, #8be036);
    color: #11201c;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    border: 2px solid rgba(255,255,255,0.28);
    flex: none;
}
.wss_avatar_img { object-fit: cover; }
.wss_meta_link { color: #ffffff; font-weight: 700; }
.wss_meta_sep { opacity: 0.4; }
.wss_meta_item { display: inline-flex; align-items: center; gap: 6px; }

/* ---------------------------------------------------------------- BODY    */
.wss_body {
    padding-top: clamp(28px, 4vw, 44px);
    padding-bottom: 8px;
}
.wss_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: clamp(24px, 3.5vw, 48px);
    align-items: start;
}
.wss_article { min-width: 0; }
.wss_dropcap .wss_content > p:first-of-type::first-letter {
    float: left;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 66px;
    line-height: 0.82;
    font-weight: 400;
    padding: 4px 9px 0 0;
    color: var(--wss-pine);
}
.wss_content { color: var(--wss-slate); font-size: 17px; line-height: 1.75; }
.wss_content p { margin: 0 0 1.25em; }
.wss_content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(24px, 2.6vw, 30px);
    color: var(--wss-pine);
    line-height: 1.25;
    margin: 2em 0 0.75em;
    scroll-margin-top: 24px;
}
.wss_content h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--wss-pine);
    margin: 1.5em 0 0.6em;
}
.wss_content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}
.wss_content blockquote {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-style: italic;
    color: var(--wss-pine);
    border-left: 4px solid var(--wss-green);
    background: linear-gradient(180deg, #ffffff 0%, #f7f5ed 100%);
    border-radius: 0 16px 16px 0;
    padding: 22px 26px;
    margin: 2em 0;
}
.wss_content .wp-block-pullquote { border-left-width: 6px; }

/* ---------------------------------------------------------------- ToC      */
.wss_toc_card {
    position: sticky;
    top: 20px;
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(25,44,39,0.08);
    padding: 18px 18px 16px;
}

/* Mobile-only ToC chrome (floating button + overlay + sheet) is hidden by
   default so it never leaks into the desktop grid; the mobile media query
   below turns it on. */
.wss_fab,
.wss_overlay,
.wss_sheet {
    display: none;
}
.wss_toc_label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wss-pine);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.wss_toc_label svg { width: 15px; height: 15px; stroke: var(--wss-green); }
.wss_toc_list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.wss_toc_list li { margin: 0; }
.wss_toc_list a {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--wss-slate);
    text-decoration: none;
    padding: 6px 9px;
    border-radius: 9px;
    transition: background 0.15s ease, color 0.15s ease;
}
.wss_toc_list a:hover { background: #f4f6f5; color: var(--wss-pine); }
.wss_toc_list a.wss_toc_on { background: #f4f6f5; color: var(--wss-pine); font-weight: 700; }
.wss_toc_num {
    font-size: 11px;
    font-weight: 800;
    color: var(--wss-green);
    flex: none;
}

/* ---------------------------------------------------------------- AUTHOR   */
.wss_author {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(25,44,39,0.07);
    padding: 22px;
    margin: 2.5em 0 0;
}
.wss_author_avatar {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25423a, #192c27);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    border: 3px solid #dbe8c9;
}
.wss_author_avatar_img { object-fit: cover; }
.wss_author_role {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wss-green);
    margin-bottom: 3px;
}
.wss_author h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    color: var(--wss-pine);
    margin: 0 0 6px;
    font-weight: 400;
}
.wss_author p { margin: 0 0 10px; font-size: 14px; color: var(--wss-slate); }
.wss_author_ids { display: flex; flex-wrap: wrap; gap: 6px; }
.wss_author_ids span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--wss-pine);
    background: #f4f6f5;
    border: 1px solid #cbd8cf;
    border-radius: 999px;
    padding: 3px 11px;
}

/* ---------------------------------------------------------------- RELATED  */
.wss_related { padding-top: 3.5em; padding-bottom: 1em; }
.wss_related_head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--wss-border);
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.wss_related_head h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--wss-pine);
    margin: 0;
}
.wss_all_link {
    font-size: 13px;
    font-weight: 700;
    color: #529810;
    text-decoration: none;
}
.wss_all_link:hover { color: var(--wss-pine); }
.wss_rgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.wss_rcard {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wss_rcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(25,44,39,0.12); }
.wss_rcard_media {
    position: relative;
    height: 128px;
    background: linear-gradient(135deg, #25423a 0%, #192c27 60%, #11201c 100%);
    overflow: hidden;
}
.wss_rcard_media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wss_rcard_pill {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.94);
    color: var(--wss-pine);
    padding: 3px 10px;
    border-radius: 999px;
}
.wss_rcard_body { padding: 13px 15px 15px; }
.wss_rcard_body h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.32;
    color: var(--wss-pine);
    margin: 0 0 8px;
}
.wss_rcard_meta { font-size: 11.5px; color: #7a8a80; }

/* ---------------------------------------------------------------- COMMENTS */
.wss_comments {
    padding-top: 3em;
    padding-bottom: 1em;
}
.wss_comments_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--wss-border);
    padding-bottom: 12px;
    margin-bottom: 22px;
}
.wss_comments_head h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--wss-pine);
    margin: 0;
}
.wss_comments_btn {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    background: var(--wss-pine);
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 8px 20px rgba(25,44,39,0.22);
}
.wss_comments_btn svg { width: 18px; height: 18px; }
.wss_comments_btn:hover { background: #25423a; }

/* Desktop: the form renders inline as a card (sheet wrapper is inert). */
.wss_comments_sheet {
    position: static;
    transform: none;
    max-height: none;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
.wss_comments_sheet .wss_sheet_handle,
.wss_comments_sheet .wss_sheet_close { display: none !important; }
.wss_comments_sheet_title { display: none; }
.wss_comments_overlay { display: none; }

/* Inline comments layout (desktop) — compact card, name+email side by side */
.wss_comment_form {
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 16px;
    padding: 16px 18px 18px;
    margin-bottom: 24px;
}
.wss_comment_title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    color: var(--wss-pine);
    margin: 0 0 4px;
}
.wss_comment_notes {
    font-size: 12.5px;
    color: #7a8a80;
    margin: 0 0 10px;
}
/* Name + Email share one row on larger screens (Website field removed). */
.wss_comment_form .comment-form-author,
.wss_comment_form .comment-form-email,
.wss_comment_form .comment-form-field-input-author,
.wss_comment_form .comment-form-field-input-email {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 6px);
    margin: 0 4px 0 0;
    box-sizing: border-box;
}
.wss_comment_field label,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--wss-pine);
}
.wss_comment_form input[type="text"],
.wss_comment_form input[type="email"],
.wss_comment_form input[type="url"],
.wss_comment_form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--wss-border);
    border-radius: 10px;
    padding: 9px 12px;
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: var(--wss-slate);
    background: #ffffff;
    margin-top: 4px;
}
.wss_comment_form textarea { resize: vertical; }
.wss_comment_form input:focus,
.wss_comment_form textarea:focus {
    outline: none;
    border-color: var(--wss-green);
    box-shadow: 0 0 0 3px rgba(98,180,20,0.22);
}
.wss_comment_form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--wss-slate);
    margin: 0 0 10px;
}
.wss_comment_form .comment-form-cookies-consent input { width: auto; margin: 0; }
.wss_comment_submit,
#comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    background: var(--wss-green, #62b414) !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 14.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 8px 20px rgba(98,180,20,0.30) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.wss_comment_submit:hover,
#comment-submit:hover {
    background: #529810 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 26px rgba(98, 180, 20, 0.45) !important;
}
.wss_comment_submit:active,
#comment-submit:active {
    transform: translateY(0) scale(0.98) !important;
}
.wss_comment_list .comment { margin-bottom: 18px; }
.wss_comment_list .comment-body {
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 14px;
    padding: 16px 18px;
}
.wss_comment_list .comment-author { font-weight: 700; color: var(--wss-pine); }
.wss_comment_list .comment-metadata { font-size: 12px; color: #7a8a80; margin: 2px 0 8px; }
.wss_comment_list .comment-metadata a { color: #7a8a80; text-decoration: none; }
.wss_comment_list .comment-content { color: var(--wss-slate); font-size: 14.5px; line-height: 1.7; }
.wss_comment_list .children { margin-left: 0; list-style: none; padding-left: 24px; }
.wss_comment_list .comment-reply-link,
.wss_comment_list .reply a {
    font-size: 12.5px;
    font-weight: 700;
    color: #529810;
    text-decoration: none;
}
.wss_comments_login_note,
.wss_comments_closed {
    font-size: 13.5px;
    color: var(--wss-slate);
    background: #ffffff;
    border: 1px dashed var(--wss-border);
    border-radius: 12px;
    padding: 14px 16px;
}

/* ---------------------------------------------------------------- PROMO    */
.wss_promo { padding-top: 2.5em; padding-bottom: 60px; }
.wss_promo_card {
    background: radial-gradient(130% 140% at 50% -20%, #25423a 0%, #192c27 55%, #101c19 100%);
    border-radius: 20px;
    color: #ffffff;
    padding: clamp(28px, 4vw, 40px) clamp(22px, 3.5vw, 34px);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.wss_promo_card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 100% at 50% -30%, rgba(98,180,20,0.28) 0%, rgba(98,180,20,0) 60%),
        radial-gradient(50% 80% at 100% 100%, rgba(207,224,216,0.10) 0%, rgba(207,224,216,0) 50%);
    pointer-events: none;
}
.wss_promo_card_inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.wss_promo_eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wss-green);
    margin-bottom: 8px;
}
.wss_promo_card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 8px;
}
.wss_promo_card p {
    font-size: 14.5px;
    color: #cfe0d8;
    margin: 0 auto 22px;
    max-width: 520px;
}
.wss_promo_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 30px;
    background: var(--wss-green, #62b414) !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 8px 20px rgba(98,180,20,0.34) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.wss_promo_cta:hover {
    background: #529810 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(98,180,20,0.48) !important;
}
.wss_promo_cta:active {
    transform: translateY(0) scale(0.98) !important;
}
.wss_promo_form_wrap .fluentform { text-align: left; }
.wss_promo_form_wrap .ff-el-input--label { display: none !important; }
.wss_promo_form_wrap .ff-el-input--content { margin: 0 !important; }
.wss_promo_form_wrap .ff-btn-submit {
    width: 100%;
    min-height: 52px;
    background: var(--wss-green, #62b414) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    box-shadow: 0 8px 20px rgba(98, 180, 20, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.wss_promo_form_wrap .ff-btn-submit:hover {
    background: #529810 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(98, 180, 20, 0.48) !important;
}
.wss_promo_form_wrap .ff-btn-submit:active {
    transform: translateY(0) scale(0.98) !important;
}
.wss_promo_form_wrap .ff-el-form-control {
    border-radius: 12px !important;
    border: 1.5px solid rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.96) !important;
    min-height: 46px;
}
.wss_promo_trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin-top: 18px;
    font-size: 12px;
    color: #b9cfc5;
}

/* ---------------------------------------------------------------- TABLET   */
@media (max-width: 1023px) {
    .wss_h1 { max-width: none; }
    .wss_grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; }
    .wss_rgrid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- MOBILE &
   ToC floating button + bottom sheet (wellspring-single.js)           */
/* ===========================================================================
   GENERIC PAGE template (wellspring-single.php → wellspring_render_page_template)
   Same hero/promo shell as the post, but styled to read as a page.
   =========================================================================== */

.wspt_hero {
    background: #192c27 !important;
    background: linear-gradient(135deg, #192c27 0%, #101c18 100%) !important;
    padding: clamp(38px, 5.5vw, 64px) 24px clamp(42px, 6vw, 68px) !important;
    position: relative !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.wspt_hero::after {
    content: "" !important;
    position: absolute !important;
    top: -80px !important;
    right: -60px !important;
    width: 360px !important;
    height: 360px !important;
    background: radial-gradient(circle, rgba(98, 180, 20, 0.22) 0%, transparent 68%) !important;
    pointer-events: none !important;
}

.wspt_hero_inner {
    max-width: 960px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.wspt .wss_crumbs {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    font-size: 12.5px !important;
    color: #9fb4aa !important;
    margin-bottom: 18px !important;
}

.wspt .wss_crumbs a {
    color: #d9e4dd !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.wspt .wss_crumbs a:hover {
    color: #62b414 !important;
}

.wspt .wss_crumb_sep {
    opacity: 0.55 !important;
    color: #7b9487 !important;
    font-size: 11px !important;
}

.wspt .wss_crumb_current {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Emerald glowing pill badge matching /lab-results/ */
.wspt .wss_pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(98, 180, 20, 0.16) !important;
    color: #a4f056 !important;
    border: 1px solid rgba(98, 180, 20, 0.42) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

.wspt .wss_pill_dot {
    display: none !important;
}

.wspt_h1 {
    font-family: var(--theme-heading-font-family, 'Segoe UI', Arial, sans-serif) !important;
    font-size: clamp(2rem, 4.4vw, 2.85rem) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    margin: 0 !important;
    max-width: none !important;
}

.wspt_body {
    max-width: 900px;
    margin: 0 auto;
    background: var(--wss-sand);
    border-radius: 0 0 22px 22px;
}
.wspt_content {
    padding: 36px 30px 18px;
    color: var(--wss-slate);
    font-size: 16.5px;
    line-height: 1.8;
}
.wspt_content p { margin: 0 0 1.2em; }
.wspt_content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 26px;
    color: var(--wss-pine);
    line-height: 1.25;
    margin: 1.8em 0 0.7em;
    scroll-margin-top: 24px;
}
.wspt_content h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--wss-pine);
    margin: 1.4em 0 0.6em;
}
.wspt_content img { max-width: 100%; height: auto; border-radius: 16px; }
.wspt_content blockquote {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-style: italic;
    color: var(--wss-pine);
    border-left: 4px solid var(--wss-green);
    background: linear-gradient(180deg, #ffffff 0%, #f7f5ed 100%);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin: 1.6em 0;
}
.wspt_content ul,
.wspt_content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.wspt_content li { margin-bottom: 0.4em; }

/* Tables: clean on desktop, scroll on mobile */
.wspt_content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.4em 0 1.6em;
    font-size: 14.5px;
}
.wspt_content th,
.wspt_content td {
    padding: 11px 14px;
    text-align: left;
    border-bottom: 1px solid var(--wss-border);
}
.wspt_content th {
    background: var(--wss-pine);
    color: #ffffff;
    font-weight: 800;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wspt_content tr:last-child td { border-bottom: none; }

/* Optional ToC for long pages */
.wspt_toc {
    max-width: 900px;
    margin: 0 auto;
    padding: 4px 30px 12px;
}
.wspt_toc_label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wss-green);
    margin-bottom: 8px;
}
.wspt_toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.wspt_toc li { margin: 0; }
.wspt_toc a {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--wss-pine);
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 999px;
    padding: 5px 14px;
    text-decoration: none;
}
.wspt_toc a:hover { background: #f4f6f5; color: #529810; border-color: #cbd8cf; }

/* Explore more */
.wspt_explore { padding-top: 3em; padding-bottom: 1em; }
.wspt_explore_head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--wss-border);
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.wspt_explore_head h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--wss-pine);
    margin: 0;
}
.wspt_explore_head span { font-size: 13px; font-weight: 700; color: #529810; }
.wspt_egrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.wspt_ecard {
    display: block;
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wspt_ecard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(25,44,39,0.12); }
.wspt_ecard_icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 12px;
}
.wspt_ecard h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--wss-pine);
    line-height: 1.3;
    margin: 0 0 6px;
}
.wspt_ecard p { margin: 0; font-size: 12.5px; color: #7a8a80; }

/* Contact page FluentForm (#8) — on-brand, matching promo/comment forms */
.wspt_content form#fluentform_8 {
    background: #ffffff;
    border: 1px solid var(--wss-border);
    border-radius: 16px;
    padding: 24px 22px 22px;
    margin-top: 8px;
}
.wspt_content form#fluentform_8 .ff-el-input--label label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wss-pine) !important;
}
.wspt_content form#fluentform_8 .ff-t-container {
    gap: 12px;
}
.wspt_content form#fluentform_8 .ff-el-form-control {
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px !important;
    border: 1.5px solid var(--wss-border) !important;
    background: #ffffff !important;
    color: var(--wss-slate) !important;
    min-height: 48px;
    padding: 10px 14px;
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    box-shadow: none !important;
}
.wspt_content form#fluentform_8 textarea.ff-el-form-control { height: auto; min-height: 130px; }
.wspt_content form#fluentform_8 .ff-el-form-control:focus {
    border-color: var(--wss-green) !important;
    box-shadow: 0 0 0 3px rgba(98,180,20,0.22) !important;
    outline: none;
}
.wspt_content form#fluentform_8 .ff_t_c p {
    font-size: 12.5px;
    color: var(--wss-slate);
    line-height: 1.6;
}
.wspt_content form#fluentform_8 .ff_t_c a { color: #529810; }
.wspt_content form#fluentform_8 .ff-el-hcaptcha { margin-bottom: 6px; }
.wspt_content form#fluentform_8 button.ff-btn.ff-btn-submit.ff-btn-lg.ff_btn_no_style,
.wspt_content form#fluentform_8 button.ff-btn-submit {
    width: 100%;
    min-height: 52px;
    background: var(--wss-green, #62b414) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0 24px !important;
    cursor: pointer;
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 20px rgba(98, 180, 20, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.wspt_content form#fluentform_8 button.ff-btn.ff-btn-submit.ff-btn-lg.ff_btn_no_style:hover,
.wspt_content form#fluentform_8 button.ff-btn-submit:hover {
    background: #529810 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(98, 180, 20, 0.48) !important;
}
.wspt_content form#fluentform_8 button.ff-btn-submit:active {
    transform: translateY(0) scale(0.98) !important;
}

@media (max-width: 689px) {
    .wss_hero { padding: 26px 18px 34px; }
    .wss_body .ct-container, .wss_related, .wss_promo { padding-inline: 18px; }
    .wspt_content { padding: 26px 18px 14px; }
    .wspt_content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .wspt_toc { padding-inline: 18px; }
    .wspt_egrid { grid-template-columns: 1fr; }

    /* Mobile: single-column article — kill the ToC's 2-col grid entirely,
       and float the ToC as a fixed button instead of a rail. */
    .wss_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .wss_article { width: 100%; }
    .wss_toc_card { display: none; }

    /* Keep-width content tables scroll horizontally instead of squeezing */
    .wss_content table,
    .wss_content .wp-block-table table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .wss_fab {
        display: flex;
        position: fixed;
        right: 14px;
        bottom: 16px;
        z-index: 60;
        align-items: center;
        gap: 8px;
        background: var(--wss-pine);
        color: #ffffff;
        border: 1.5px solid rgba(255,255,255,0.35);
        border-radius: 999px;
        padding: 12px 16px;
        box-shadow: 0 12px 30px rgba(8,18,14,0.40), 0 0 0 4px rgba(98,180,20,0.22);
        cursor: pointer;
        font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 13px;
        font-weight: 800;
        -webkit-tap-highlight-color: transparent;
    }
    .wss_fab svg { width: 19px; height: 19px; stroke: var(--wss-green); flex: none; }
    .wss_fab_badge {
        position: absolute;
        top: -6px;
        right: -4px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--wss-green);
        color: #ffffff;
        font-size: 11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(98,180,20,0.4);
    }

    .wss_overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(16,28,25,0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }
    .wss_overlay.wss_show { opacity: 1; pointer-events: auto; }
    .wss_sheet {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 71;
        background: #fbf9f4;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -14px 44px rgba(8,18,14,0.32);
        transform: translateY(105%);
        transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .wss_sheet.wss_show { transform: translateY(0); }
    .wss_sheet_handle {
        width: 44px;
        height: 5px;
        border-radius: 999px;
        background: #d5cdba;
        margin: 10px auto 2px;
    }
    .wss_sheet_head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px 8px;
    }
    .wss_sheet_title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--wss-pine);
    }
    .wss_sheet_title svg { width: 16px; height: 16px; stroke: var(--wss-green); }
    .wss_sheet_close {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid var(--wss-border);
        color: var(--wss-pine);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 16px;
        line-height: 1;
    }
    .wss_sheet_list {
        padding: 0 20px 22px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        max-height: 52vh;
        overflow-y: auto;
    }
    .wss_sheet_list a {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        padding: 12px;
        border-radius: 12px;
        font-size: 14.5px;
        line-height: 1.4;
        color: var(--wss-slate);
        -webkit-tap-highlight-color: transparent;
    }
    .wss_sheet_list a.wss_on { background: #ffffff; color: var(--wss-pine); font-weight: 700; border: 1px solid var(--wss-border); }
    .wss_sheet_list .wss_toc_num {
        flex: none;
        width: 26px;
        height: 26px;
        border-radius: 8px;
        background: #ffffff;
        border: 1px solid var(--wss-border);
        color: var(--wss-green);
        font-size: 11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .wss_sheet_list a.wss_on .wss_toc_num { background: var(--wss-green); color: #ffffff; border-color: var(--wss-green); }
    .wss_sheet_foot { padding: 0 20px 18px; }
    .wss_sheet_foot small { display: block; text-align: center; font-size: 11px; color: #7a8a80; }

    /* Promo */
    .wss_rgrid { grid-template-columns: 1fr; }
    .wss_promo_card h3 { font-size: 24px; }

    /* Comments: on mobile the form lives in an off-canvas sheet,
       triggered by the "Leave a comment" button in the head row. */
    .wss_comments_btn { display: inline-flex; }
    .wss_comments_head { justify-content: space-between; align-items: center; }
    .wss_comments_head h3 { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
    .wss_comments_head { border-bottom: 1px solid var(--wss-border); padding-bottom: 12px; }

    .wss_comments_sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 81;
        background: #fbf9f4;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -14px 44px rgba(8,18,14,0.32);
        transform: translateY(105%);
        transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
        max-height: 82vh;
        overflow-y: auto;
    }
    .wss_comments_sheet.wss_open { transform: translateY(0); }
    .wss_comments_sheet_title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 20px 4px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--wss-pine);
    }
    .wss_comments_sheet .wss_comment_form {
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 8px 20px 26px;
        background: #fbf9f4;
        margin-bottom: 0;
    }
    .wss_comments_overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(16,28,25,0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }
    .wss_comments_overlay.wss_show { opacity: 1; pointer-events: auto; }
    .wss_comment_list .children { padding-left: 14px; }
    .wss_comments_sheet .comment-form-author,
    .wss_comments_sheet .comment-form-email,
    .wss_comments_sheet .comment-form-field-input-author,
    .wss_comments_sheet .comment-form-field-input-email {
        display: block;
        width: 100%;
        margin: 0;
    }
}