/* Univers Fascia: targeted visual and responsive refinements. */
/* Footer: one visual system for alignment, spacing and breakpoints. */
#top #footer {
    padding: clamp(34px, 5vw, 66px) 24px !important;
}

#top #footer > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: stretch;
    width: min(1240px, 100%);
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(34px, 4vw, 52px) !important;
    border-radius: 26px;
    box-sizing: border-box;
}

#top #footer > .container > .flex_column,
#top #footer > .container > .flex_column.av_one_third {
    float: none;
    display: flex;
    width: auto;
    min-width: 0;
    margin: 0;
}

#top #footer .widget {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}

#top #footer .widgettitle {
    margin: 0 0 20px;
    padding: 0 0 13px;
    border-bottom: 1px solid rgba(205, 232, 170, .28);
    color: rgba(255, 255, 255, .94);
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .055em;
    text-transform: uppercase;
}

#top #footer .textwidget {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    color: rgba(255, 255, 255, .82);
}

#top #footer .textwidget p {
    margin: 0 0 16px;
    line-height: 1.65;
}

#top #footer .textwidget a:not(.avia-button) {
    overflow-wrap: anywhere;
}

#top #footer .flex_column:nth-child(2) .textwidget > p:last-child,
#top #footer .flex_column:nth-child(3) .textwidget > p:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    margin-bottom: 0;
}

#top #footer iframe {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 168px;
    margin: 0 0 18px;
    border: 0 !important;
    border-radius: 14px;
}

#top #footer .textwidget .avia-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 210px;
    min-width: 0;
    min-height: 50px;
    margin: 0 !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-sizing: border-box;
    background: #e5f6ce !important;
    color: #30451c !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none !important;
}

#top #footer .textwidget .avia-button br {
    display: none;
}

#top #footer .textwidget .avia-button:hover,
#top #footer .textwidget .avia-button:focus-visible {
    background: #fff !important;
    color: #30451c !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18) !important;
    transform: translateY(-1px);
}

#top #footer .textwidget .avia-button:focus-visible {
    outline: 3px solid rgba(229, 246, 206, .45) !important;
    outline-offset: 4px;
}

#top #footer .seperator {
    display: none;
}

@media only screen and (max-width: 1024px) {
    #top #footer > .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    #top #footer > .container > .flex_column:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    #top #footer > .container > .flex_column:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    #top #footer .flex_column:nth-child(2) .textwidget > p:last-child {
        width: min(560px, 100%);
    }
}

@media only screen and (max-width: 640px) {
    #top .uf-video-global__launcher {
        left: 8px !important;
        bottom: 12px !important;
    }

    #top .uf-fascia-info__launcher {
        left: 8px !important;
        bottom: 62px !important;
        width: auto !important;
        min-width: 104px;
        padding: 7px 12px !important;
        justify-content: flex-start !important;
    }

    #top .uf-fascia-info__launcher-label {
        position: static !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: nowrap !important;
        font-size: 0;
    }

    #top .uf-fascia-info__launcher-label::after {
        content: "Fascias";
        font-size: 13px;
    }

    #top #footer {
        padding: 26px 16px !important;
    }

    #top #footer > .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        width: 100%;
        padding: 28px 22px !important;
        border-radius: 20px !important;
    }

    #top #footer > .container > .flex_column,
    #top #footer > .container > .flex_column:nth-child(2),
    #top #footer > .container > .flex_column:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
        padding: 0 0 28px;
    }

    #top #footer > .container > .flex_column + .flex_column {
        padding-top: 28px;
        border-top: 1px solid rgba(205, 232, 170, .2);
    }

    #top #footer > .container > .flex_column:last-child {
        padding-bottom: 0;
    }

    #top #footer .widgettitle {
        margin-bottom: 16px;
        padding-bottom: 11px;
        font-size: 21px !important;
    }

    #top #footer iframe {
        min-height: 190px;
    }

    #top #footer .textwidget .avia-button {
        width: 100%;
        min-height: 52px;
    }
}

#top .uf-page-intro {
    padding: clamp(54px, 7vw, 100px) 24px;
    background: linear-gradient(135deg, #f7faef 0%, #eef5df 100%);
    border-bottom: 1px solid #dfe9cb;
}

#top .uf-page-intro__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

#top .uf-page-intro__eyebrow,
#top .uf-article-share__eyebrow {
    margin: 0 0 14px;
    color: #5f7e26;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#top .uf-page-intro h1 {
    max-width: 920px;
    margin: 0 0 20px;
    color: #30451c;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-transform: none;
}

#top .uf-page-intro p:not(.uf-page-intro__eyebrow) {
    max-width: 760px;
    margin: 0;
    color: #425035;
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.6;
}

#top .uf-page-intro__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 28px;
    padding: 12px 22px;
    border: 2px solid #30451c;
    border-radius: 999px;
    background: #30451c;
    color: #fff;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

#top .uf-page-intro__button:hover,
#top .uf-page-intro__button:focus-visible {
    background: #5f7e26;
    border-color: #5f7e26;
    color: #fff;
}

/* Blog: create breathing room between its new introduction and the article grid. */
#top.page-id-259 #av-sc-masonry-entries-1 {
    border-top: 0;
}

#top.page-id-259 #av-masonry-1 .av-masonry-entry-title {
    text-transform: none;
}

/* Massage Fasciarmonie: keep the legacy Elementor text in a readable editorial card. */
#top.page-id-778 .uf-massage-intro {
    background: linear-gradient(135deg, #fff8ef 0%, #f2f6e7 100%);
}

#top.page-id-778 .elementor-778 {
    width: min(920px, calc(100% - 48px));
    margin: clamp(38px, 6vw, 78px) auto;
}

#top.page-id-778 .elementor-widget-text-editor {
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid #e2ead3;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(48, 69, 28, .07);
}

#top.page-id-778 .elementor-widget-text-editor p {
    font-size: 19px;
    line-height: 1.75;
}

/* The Biodanza article becomes a comfortable reading width on every screen. */
#top.postid-1381 .template-single-blog {
    width: min(980px, calc(100% - 48px));
}

#top.postid-1381 .post-entry-1381 .blog-meta {
    display: none;
}

#top.postid-1381 .post-entry-1381 .entry-content-wrapper.standard-content {
    width: min(820px, 100%);
    margin: 0 auto;
}

#top.postid-1381 .post-entry-1381 .entry-content,
#top.postid-1381 .post-entry-1381 .entry-content p {
    text-align: left;
}

#top.postid-1381 .post-entry-1381 .post-title {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.15;
}

#top .uf-article-share {
    margin: 52px 0 16px;
    padding: clamp(26px, 5vw, 44px);
    border: 1px solid #e4d8cc;
    border-radius: 22px;
    background: #fff8ef;
}

#top .uf-article-share h2 {
    margin: 0 0 14px;
    color: #32231e;
    font-size: clamp(30px, 3vw, 40px);
    text-transform: none;
}

#top .uf-article-share__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

#top .uf-article-share__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 2px solid #803719;
    border-radius: 8px;
    background: #803719;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

#top .uf-article-share__actions a:last-child {
    background: transparent;
    color: #803719;
}

#top.postid-1381 .av-share-box {
    display: none;
}

@media only screen and (max-width: 767px) {
    #top .uf-page-intro {
        padding: 40px 22px;
    }

    #top .uf-page-intro h1 {
        font-size: clamp(38px, 12vw, 48px);
        overflow-wrap: normal;
        word-break: normal;
    }

    #top.page-id-778 .elementor-778 {
        width: calc(100% - 32px);
        margin: 24px auto 38px;
    }

    #top.page-id-778 .elementor-widget-text-editor {
        padding: 26px 22px;
        border-radius: 18px;
    }

    #top.page-id-778 .elementor-widget-text-editor p {
        font-size: 17px;
        line-height: 1.65;
    }

    /* Enfold keeps equal-height columns in a flex table on this page. */
    #top.page-id-253 .flex_column_table,
    #top.page-id-253 .flex_column_table_cell {
        display: block !important;
        width: 100% !important;
    }

    #top.page-id-253 .flex_column_table .av-flex-placeholder {
        display: none !important;
    }

    #top.page-id-253 .flex_column_table .av-special-heading-tag {
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    #top.page-id-253 .flex_column_table .flex_column {
        box-sizing: border-box;
        margin: 0 0 20px !important;
        padding: 28px 24px !important;
    }

    #top.page-id-253 .flex_column_table > .flex_column > .av-special-heading:first-child .av-special-heading-tag {
        font-size: 32px !important;
        line-height: 1.12 !important;
    }

    #top.page-id-255 .avia_textblock a,
    #top.page-id-143 #footer a,
    #top.page-id-257 #footer a {
        overflow-wrap: anywhere;
    }

    #top.postid-1381 .template-single-blog {
        width: calc(100% - 32px);
    }

    #top.postid-1381 .post-entry-1381 .post-title {
        font-size: 38px;
        line-height: 1.16;
        overflow-wrap: normal;
        word-break: normal;
    }

    #top.postid-1381 .post-entry-1381 .entry-content,
    #top.postid-1381 .post-entry-1381 .entry-content p {
        font-size: 17px;
        line-height: 1.65;
    }

    #top .uf-article-share__actions {
        flex-direction: column;
    }

    #top .uf-article-share__actions a {
        width: 100%;
        box-sizing: border-box;
    }
}
