/*
Theme Name: CheerUp Child
Theme URI: http://theme-sphere.com/
Description: A child theme of CheerUp
Author: ThemeSphere
Author URI: http://theme-sphere.com
Template: cheerup
Version: 1.1
*/

:root {
    --app-page-max-width: 790px;
}

.optin_trigger {
    padding: 1.625rem 2.5rem;
    border-radius: 6px;
    font-size: 1.25rem;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
}

.m-auto {
    margin: 0 auto;
    display: block;
}

.optin_form {
    padding-top: 2rem;
}

.optin_form .optin_form_control input {
    width: 100%;
    height: 42px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.optin_form .optin_submit input {
    padding: 1.5rem 3.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.optin_form .optin_recaptcha {
    margin-bottom: 1.5rem;
}

.optin_form .optin_submit input:focus {
    outline: 1px dotted #f9b042;
}

.postid-2892 .featured .image-link #jarallax-container-0 div {
    background-position: 50% 8% !important;
}

ul.social-icons {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

time.post-date {
    display: none !important;
}

.fa-twitter:before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(/wp-content/uploads/2026/06/x-twitter-brands-solid-full.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


/* Layout */
.wrap {
    width: 100%;
    max-width: 1436px;
}

@media(max-width: 1536px) {
    .wrap {
        max-width: 100%;
        padding: 0 50px;
    }
}

@media(max-width: 1280px) {
    .wrap {
        padding: 0 35px;
    }
}

@media(max-width: 540px) {
    .wrap {
        padding: 0 25px;
    }
}

body.home .main.wrap>.ts-row,
body.archive .main.wrap>.ts-row,
body.search .main.wrap>.ts-row {
    display: flex;
    flex-direction: column-reverse;
    margin: 0;
}

body.home .main.wrap .main-content,
body.home .main.wrap .sidebar,
body.archive .main.wrap .main-content,
body.archive .main.wrap .sidebar,
body.search .main.wrap .main-content,
body.search .main.wrap .sidebar {
    width: 100%;
    padding: 0;
    margin: 0;
}

#search-3 {
    margin: 15px 0 10px;
}

ul.categories-list {
    margin-bottom: 80px;
}

ul.categories-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin-top: 0;
}

ul.categories-list li {
    padding: 0;
    border: none;
}

.list-post .post-title {
    font-size: 26px;
    max-width: 100%;
}

@media(max-width: 767px) {
    .list-post .post-title {
        font-size: 21px;
    }
}

.grid-post .image-link img {
    width: 100%;
}

/* Parent theme adds a 65px gap above the content wrap; remove it */
.main {
    margin-top: 0;
}

/* Header */
.main-head.nav-below {
    border-bottom: 1px solid #ebebeb;
}

.main-head.nav-below .title {
    padding: 25px 0;
}

.main-head.nav-below .title .logo-image {
    width: 230px;
    margin-bottom: -8px;
}

.navigation {
    position: sticky;
    top: 0;
}

.navigation .menu>li:first-child {
    margin-left: 0;
}

@media(min-width: 941px) {
    .main-head.nav-below .title {
        padding: 55px 0 10px;
    }
}

/* Home Page */
#homepage-banner .banner-image {
    height: 400px;
    background-color: #faf9dd;
    background-image: url(/wp-content/uploads/2026/06/Argo_oakacorn.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#homepage-banner .banner-caption {
    padding: 25px 25px 0;
}

#homepage-banner .banner-caption p {
    font-size: 28px;
    line-height: 1.5;
    color: #edab1f;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

@media(min-width: 541px) {
    #homepage-banner .banner-caption {
        padding: 25px 35px 0;
    }
}

.homepage-grid {
    max-width: 1436px;
    margin: auto;
}

@media(max-width: 1536px) {
    .homepage-grid {
        max-width: 100%;
        padding: 0 50px;
    }
}

@media(max-width: 1280px) {
    .homepage-grid {
        padding: 0 35px;
    }
}

@media(max-width: 540px) {
    .homepage-grid {
        padding: 0 25px;
    }
}

.homepage-grid .wpb_column {
    margin-bottom: 30px;
}

.homepage-grid .vc-gitem-zone-height-mode-auto:before {
    padding-top: 60%;
}

/* Blog Single */
.author-box .image img {
    width: 82px;
    border-color: #fff8f6;
}

.section-head .title {
    background: #fff8f6;
}

.comment-form {
    margin-bottom: 0;
}

/* Footer */
.footer-logo img {
    width: 190px;
}

.contrast .lower-footer .copyright {
    float: none;
    text-align: center;
    margin-right: 0;
    max-width: initial;
}

/* White footer text on the brand-colour background, dark hover */
.main-footer.contrast,
.main-footer.contrast .upper-footer,
.main-footer.contrast .upper-footer a,
.main-footer.contrast .lower-footer,
.main-footer.contrast .lower-footer .copyright,
.main-footer.contrast .lower-footer .copyright a {
    color: #fff;
}

.main-footer.contrast .upper-footer a:hover,
.main-footer.contrast .lower-footer a:hover,
.main-footer.contrast .lower-footer .copyright a:hover {
    color: #231f20;
}

/* App Page */
.app-page {
    --column-gap: 2em;
}

.app-page.wrap {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.app-page * {
    box-sizing: border-box;
}

.app-page .post-content>h2 {
    margin: 0 0 -5px;
    padding-top: 40px;
}

.app-page .wp-block-columns {
    justify-content: center;
    padding: 25px;
}

.app-page .wp-block-image {
    margin: 0;
}

.app-page .wp-block-image a,
.app-page .wp-block-image img {
    opacity: 1;
}

.app-page__banner .wp-block-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-page__banner .wp-block-heading {
    color: #fff;
}

.app-page__banner h1 {
    display: none;
}

.vergo-app-popup .app-page__banner-logo {
    margin-top: 30px;
}

.app-page__banner-logo img {
    width: 320px;
}

.app-page__banner h3 {
    text-align: center;
}

.app-page .app-page__read-more a {
    background: #fff;
    font-size: 12px;
    line-height: 35px;
    font-weight: 800;
    color: #000;
    padding: 2px 60px;
    border: 1px solid #e7e7e7;
}

.app-page .app-page__read-more a:hover {
    color: #fff;
    border-color: #000;
}

.app-page__banner .wp-block-column:last-child {
    flex-direction: column-reverse;
}

.app-page .app-page__banner-image {
    margin: 20px 0 0;
}

.app-page__banner-image img {
    width: 250px;
}

.app-page .app-page__banner-badge {
    width: 150px;
}

.app-page__features {
    row-gap: 25px;
}

.app-page__features+.app-page__features {
    padding-top: 0;
    margin-bottom: 15px;
}

.app-page__features h3 {
    margin: 15px 0;
}

.app-page__faq {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.app-page__faq h2 {
    margin: 0 0 35px;
}

.app-page__faq .schema-faq-section:not(:last-child) {
    margin-bottom: 25px;
}

.app-page__faq .schema-faq-section p {
    margin-bottom: 0;
}

.vergo-app-popup {
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(0 0 0 / 75%);
    z-index: 9999;
}

.vergo-app-popup.active {
    opacity: 1;
    visibility: visible;
}

.vergo-app-popup .popup-box {
    position: relative;
    top: 50%;
    left: 0;
    width: calc(100% - 50px);
    max-width: calc(var(--app-page-max-width) + 100px);
    height: 90vh;
    background: #fff8f6;
    border-radius: 20px;
    margin: auto;
    transform: translateY(-50%);
    overflow: hidden;
}

.vergo-app-popup .popup-load {
    height: 100%;
    overflow: auto;
    overscroll-behavior: none;
}

.vergo-app-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 15px;
    padding: 0;
    color: #fff;
    background: #edab1f;
    border-radius: 100%;
}

.vergo-app-popup .popup-close i {
    padding: 0 0 1px 2px;
}

@media (min-width: 541px) {
    .app-page .wp-block-columns {
        padding: 35px;
    }

    .vergo-app-popup .app-page__banner-logo {
        margin-top: 0;
    }

    .app-page__features {
        row-gap: 35px;
    }

    .app-page__features+.app-page__features {
        padding-top: 0;
        margin-bottom: 5px;
    }

    .vergo-app-popup .popup-box {
        width: calc(100% - 70px);
    }
}

@media (min-width: 782px) {
    .app-page .wp-block-columns .wp-block-column {
        max-width: calc((var(--app-page-max-width) - var(--column-gap)) / 2);
    }

    .app-page__banner.wp-block-columns {
        padding: 40px 35px;
    }

    .app-page__banner .wp-block-column {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .app-page__banner.wp-block-columns .wp-block-column:first-child {
        max-width: calc((var(--app-page-max-width) - var(--column-gap)) * .65);
    }

    .app-page__banner.wp-block-columns .wp-block-column:last-child {
        max-width: calc((var(--app-page-max-width) - var(--column-gap)) * .35);
    }

    .app-page__banner h3 {
        text-align: left;
    }

    .wp-block-buttons:has(> .app-page__read-more),
    .app-page .app-page__banner-badge {
        margin-top: auto;
    }

    .app-page__banner .wp-block-column:first-child {
        align-items: start;
    }

    .app-page__banner .wp-block-column:last-child {
        flex-direction: column;
    }

    .app-page .app-page__banner-image {
        margin: 0 0 20px;
    }

    .app-page__faq.wp-block-columns .wp-block-column {
        max-width: var(--app-page-max-width);
    }
}

@media (min-width: 1281px) {
    .vergo-app-popup .popup-box {
        width: calc(100% - 100px);
    }
}

/* Resources pages */
.resources-page .wp-block-image {
    margin: 0;
}

.resources-page .wp-block-image a:hover,
.resources-page .wp-block-image img:hover {
    opacity: 1;
}

.resources-page .wp-block-image+.wp-block-heading {
    margin: 60px 0 0;
}

.resources-page .pdf-img {
    margin-bottom: 35px;
}

.resources-page .pdf-img+.wp-block-file .wp-block-file__button {
    padding: 12px 19px;
    border: 1px solid #ddd;
    color: #555;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    border-radius: 0;
    margin-left: 20px;
}

.resources-page .pdf-img+.wp-block-file .wp-block-file__button:hover {
    background: #161616;
    border-color: #161616;
    color: #fff;
}

@media(min-width: 541px) {
    .resources-page .wp-block-image:not(.pdf-img) {
        width: 50%;
        margin: auto;
    }
}

/* Inter — self-hosted (variable woff2, replaces Google Fonts for privacy/GDPR) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------
   Site-wide typography — Inter everywhere
   Replaces the theme stack (Merriweather body, Poppins headings,
   Lato/Montserrat from the customizer). Icon elements and code are
   excluded; FontAwesome glyphs render via ::before/::after with
   their own font-family, so they are unaffected by this override.
   ------------------------------------------------------------------ */
body,
body *:not(i):not(.fa):not([class*="fa-"]):not([class*="eicon"]):not(code):not(pre):not(kbd) {
    font-family: 'Inter', Arial, sans-serif !important;
}

/* Beefed-up base: 14px → 15px baseline scales em/rem-sized text */
html {
    font-size: 15px;
}

/* Body copy slightly heavier than regular (Inter variable weight) */
body {
    font-weight: 450;
}

/* Post/page body copy: 14px → 16px, slightly heavier */
.post-content {
    font-size: 16px;
    font-weight: 450;
}

/* Headings: bold → extra-bold */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

/* Post/page titles (theme sets 600) → bolder */
.post-title,
.post-title-alt {
    font-weight: 700;
}

/* Homepage: let the banner sit flush to the footer (override .main bottom gap) */
body.home .main {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------
   Content components
   Reusable classes for page/post content. Apply in the Gutenberg
   editor via the block's "Additional CSS class(es)" field, so content
   stays client-editable while styling lives here.
   ------------------------------------------------------------------ */

/* .argo-prose — readable measure for long-form page content */
.argo-prose {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* .argo-callout — emphasized boxed note: red border, white bg, black text */
.argo-callout {
    border: 2px solid #c0392b;
    border-radius: 6px;
    background: #fff;
    padding: 22px 28px;
    margin: 35px 0;
}

.argo-callout p {
    color: #231f20;
    font-weight: 600;
    margin-bottom: 12px;
}

.argo-callout p:last-child {
    margin-bottom: 0;
}

/* .argo-callout--icon — yellow band, brand icon left, bold copy right.
   Lead words wrapped in <strong> in the editor render gold. */
.argo-callout.argo-callout--icon,
.argo-callout.argo-callout--centered {
    border: none;
    background: #f8f3ba;
    border-radius: 14px;
    padding: 50px;
    margin: 45px 0;
}

.argo-callout--icon>.wp-block-group__inner-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.argo-callout .argo-callout__icon {
    position: relative;
    flex: 0 0 190px;
    margin: 0;
}

.argo-callout .argo-callout__icon img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.argo-callout--icon p {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.5;
    color: #231f20;
    margin-bottom: 16px;
}

.argo-callout--icon p:last-child {
    margin-bottom: 0;
}

.argo-callout--icon p strong {
    color: #edab1f;
    font-weight: 800;
}

@media (max-width: 600px) {
    .argo-callout.argo-callout--icon {
        padding: 35px 30px;
    }

    .argo-callout--icon>.wp-block-group__inner-container {
        flex-direction: column;
        gap: 25px;
    }

    .argo-callout--icon .argo-callout__icon {
        flex: none;
        width: 150px;
    }
}

/* .argo-callout--centered — yellow band, icon(s) on top, centered copy */
.argo-callout.argo-callout--centered {
    text-align: center;
    padding: 55px 40px;
}

.argo-callout--centered .argo-callout__icon {
    width: 300px;
    max-width: 80%;
    margin: 0 auto 40px;
}

.argo-callout--centered .argo-callout__heading {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 620px;
    margin: 0 auto 20px;
}

.argo-callout--centered p {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.6;
    color: #231f20;
    max-width: 700px;
    margin: 0 auto;
}

/* .argo-wheel — Wheel of Influences band: heading, intro, diagram */
/* The Wheel page: the band's own heading serves as the title */
.page-id-66344 .the-page-title {
    display: none;
}

.page-id-66344 .argo-wheel {
    margin-top: 0;
}

.argo-wheel {
    background: #f8f3ba;
    text-align: center;
    padding: 65px 30px 70px;
    margin-top: 60px;
}

.argo-wheel .argo-wheel__heading {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 18px;
}

.argo-wheel .argo-wheel__intro {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 40px;
}

.argo-wheel .argo-wheel__diagram {
    margin: 0 auto;
    max-width: 880px;
}

.argo-wheel .argo-wheel__diagram img {
    width: 100%;
    height: auto;
}

/* .argo-resource-paper — Resource Kit research-paper covers are tall @4x
   exports; cap them so they don't render poster-sized */
.argo-resource-paper img {
    max-width: 480px;
    width: 100%;
    height: auto;
}

/* .argo-cols-2 — flow a long list into two columns (stacks on mobile) */
ul.argo-cols-2 {
    columns: 2;
    column-gap: 50px;
    max-width: 560px;
}

ul.argo-cols-2 li {
    break-inside: avoid;
}

@media (max-width: 540px) {
    ul.argo-cols-2 {
        columns: 1;
    }
}

/* Menopause cross-promo banner — [menopause_banner] shortcode */
.menopause-banner {
    background: #fff;
    font-family: 'Inter', Arial, sans-serif;
    /* Full-bleed: escape the 1436px content container to the viewport edges */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 45px 0 0;
    /* mobile: top breathing room (door stays bottom-flush) */
}

.menopause-banner__inner {
    max-width: 1436px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.menopause-banner__content {
    max-width: 520px;
    text-align: center;
}

/* Scoped with the parent class so the theme's h2 / content-link rules don't win */
.menopause-banner .menopause-banner__heading {
    color: #db356f;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 800;
    /* Inter ExtraBold */
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.menopause-banner .menopause-banner__heading strong {
    font-weight: 800;
}

.menopause-banner .menopause-banner__text {
    color: #231f20;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    /* Inter SemiBold */
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 22px;
}

.menopause-banner .menopause-banner__cta,
.menopause-banner .menopause-banner__cta:visited {
    display: inline-block;
    background: #161616;
    color: #fff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 35px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4px 44px;
    border: 1px solid #161616;
}

.menopause-banner .menopause-banner__cta:hover {
    background: #db356f;
    border-color: #db356f;
    color: #fff;
}

/* Door — image is pre-centered in the asset (door-centered.png). */
/* Mobile: show the full framed door, centered, sized to the band width. */
.menopause-banner__image {
    align-self: center;
    flex-shrink: 0;
    width: 320px;
    max-width: 82%;
}

.menopause-banner__image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1280px) {
    .menopause-banner__inner {
        padding: 0 35px;
        padding-top: 20px;
    }
}

@media (max-width: 540px) {
    .menopause-banner__inner {
        padding: 0 25px;
        padding-top: 20px;
    }
}

@media (min-width: 782px) {
    .menopause-banner__inner {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding-top: 20px;
    }

    .menopause-banner .menopause-banner__heading {
        font-size: 48px;
    }

    .menopause-banner .menopause-banner__text {
        font-size: 19px;
    }

    .menopause-banner {
        padding-top: 0;
    }

    /* desktop: no top gap */
    /* Desktop: crop to a fixed box, door flush to the bottom edge of the band */
    .menopause-banner__image {
        align-self: flex-end;
        width: 380px;
        max-width: none;
        height: 480px;
        overflow: hidden;
    }

    .menopause-banner__image img {
        height: 100%;
        object-fit: cover;
        object-position: center center;
        margin-left: 0;
        /* reset the mobile nudge on desktop */
    }
}