/*
Theme Name: Praesto Pro Preview
Description: Editable WordPress conversion of the Praesto Pro public website.
Version: 1.0.0
Text Domain: praesto-preview
*/

.praesto-service-card {
    flex: 1 1 240px !important;
    min-width: 0;
    max-width: 100%;
}

[data-praesto-section-background="custom"] [data-praesto-original-background] {
    display: none !important;
}

.wp-site-blocks,
.praesto-content-shell {
    display: contents;
}

.praesto-content-shell.is-layout-flow > * + * {
    margin-block-start: 0;
}

main.praesto-content-shell {
    display: block;
    flex: none;
    min-width: 0;
}

#main-body :is(a, button, summary):focus-visible {
    outline: 3px solid #111827;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #fff;
}

.praesto-footer-addresses {
    display: grid;
    gap: .6rem;
    margin-top: 1.25rem;
}

.praesto-footer-address {
    font-style: normal;
    line-height: 1.6;
}

#support-models {
    scroll-margin-top: calc(var(--praesto-header-height) + 1rem);
}

.praesto-home-hero {
    min-height: 0 !important;
}

.praesto-home-hero .container {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.praesto-home-process img {
    object-fit: contain !important;
}

.praesto-home-onboarding {
    clip-path: none !important;
    padding-bottom: 0 !important;
}

.praesto-home-onboarding > svg {
    display: none;
}

.praesto-home-faq {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

:is(.praesto-home-onboarding, .praesto-home-faq) > .container {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.praesto-faq-item {
    width: 100%;
    max-width: 56rem;
    border-bottom: 1px solid #ffffff4d;
}

.praesto-faq-item summary {
    padding: 1.25rem .25rem;
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    font-weight: 600;
    cursor: pointer;
}

.praesto-faq-item p {
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.praesto-faq-item[open] {
    padding-bottom: 1rem;
}

#praesto-main > section:has(> [id="67eefd72a42c10d1ccba1f1c"]) {
    background-color: #d7e5eb;
}

@media (max-width: 767px) {
    .praesto-home-support .flex-wrap { gap: 2rem !important; }
}

@media (min-width: 1024px) {
    .praesto-home-hero .container {
        padding-top: 4rem !important;
        padding-bottom: 5rem !important;
    }

    :is(.praesto-home-onboarding, .praesto-home-faq) > .container {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #main-body { scroll-behavior: auto !important; }
}

#main-body {
    --praesto-header-height: 157px;
}

@media (max-width: 1023px) {
    #main-body { --praesto-header-height: 88px; }
}

#main-body [data-combine-with-header="true"] {
    margin-top: calc(-1 * var(--praesto-header-height)) !important;
    padding-top: var(--praesto-header-height) !important;
}

#website-header.praesto-over-hero {
    background-color: transparent !important;
    box-shadow: none;
}

[hidden] {
    display: none !important;
}

#website-header li:has(> [data-praesto-menu]) {
    position: relative;
}

.praesto-dropdown {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 12px 24px #1118271a;
    color: #111827;
    min-width: 15rem;
    position: absolute;
    padding: .5rem 0;
    top: 100%;
    z-index: 20;
}

.praesto-dropdown a,
.praesto-mobile-nav > li > a {
    display: block;
    padding: .55rem .9rem;
}

.praesto-dropdown a:hover,
.praesto-dropdown a:focus-visible {
    background: #f3f4f6;
}

.praesto-footer-dropdown {
    top: auto;
    bottom: 100%;
    z-index: 30;
}

.praesto-mobile-nav {
    background: #fff;
    color: #111827;
    padding: .5rem 1rem 1rem;
}

.praesto-mobile-nav .praesto-dropdown {
    box-shadow: none;
    position: static;
}

@media (min-width: 1024px) {
    .praesto-mobile-nav { display: none; }
}

.praesto-form-status:not(:empty) {
    margin: 1rem 0;
    padding: .75rem 1rem;
    border: 1px solid #b6c8df;
    background: #f1f7fe;
    border-radius: .375rem;
    color: #173452;
}

.praesto-more-posts {
    max-width: 75rem;
    margin: 0 auto 3rem;
    padding: 1rem 1.5rem;
}

.praesto-more-posts a {
    display: inline-block;
    text-decoration: underline;
    padding: .35rem 0;
}

.praesto-legal-index {
    width: min(100% - 3rem, 75rem);
    margin: 4rem auto;
}

.praesto-legal-index h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.praesto-legal-index ul {
    list-style: disc inside;
}

.praesto-legal-index a {
    display: inline-block;
    text-decoration: underline;
    padding: .35rem 0;
}

.praesto-embedded {
    width: min(100% - 3rem, 60rem);
    margin: 2rem auto 4rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid #e1e7ee;
    border-radius: .5rem;
    background: #fff;
    color: #173452;
}

.praesto-policy :is(h1, h2, h3) {
    margin: 1.5rem 0 .75rem;
    font-weight: 700;
}

.praesto-policy h1 { font-size: 2rem; }
.praesto-policy h2 { font-size: 1.5rem; }
.praesto-policy p, .praesto-policy ul { margin: .75rem 0; }
.praesto-policy ul { list-style: disc outside; padding-left: 1.5rem; }
.praesto-policy a, .praesto-calendar-link a { text-decoration: underline; }
.praesto-calendar-link { margin: 1rem auto 3rem; text-align: center; }

.praesto-embedded-form label {
    display: block;
    margin: .85rem 0;
}

.praesto-embedded-form :is(input:not([type=checkbox], [type=radio], [type=submit], [type=hidden]), select, textarea) {
    display: block;
    width: 100%;
    padding: .5rem;
    border: 1px solid #9cacc1;
    border-radius: .3rem;
}

.praesto-embedded-form :is(button[type=submit], input[type=submit]) {
    background: #153552;
    color: white;
    padding: .65rem 1.25rem;
    border-radius: .3rem;
    margin-top: .75rem;
}

#main-body:has(.praesto-embedded-form) #website-footer {
    margin-top: 0 !important;
}
