/* Legacy Shared Styles
 * Base Webflow-era classes reused across legacy PHP templates and
 * flexible-content pages (legal, press, contact, amy-portfield, etc.)
 */

/* ── Layout ── */
.section {
    padding: 60px 0;
}

.section.is-grey {
    background-color: #faf8f4;
    margin-top: 0;
    padding-top: 50px;
    padding-bottom: 100px;
}

.flex-wrap-1 {
    justify-content: space-evenly;
    padding-bottom: 0;
    display: flex;
    position: relative;
}

.top-center-content {
    text-align: center;
    flex-direction: column;
    align-items: center;
    display: flex;
}

/* ── Legal Pages ── */
.legal-pg-hero {
    padding-bottom: 0;
}

.legal-date-wrap {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.legal-date-text {
    color: #666;
    font-size: 14px;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    padding: 20px 0;
}

.legal-nav-link {
    color: #383d3d;
    text-align: center;
    background-color: #f0f0ef;
    border-radius: 64px;
    padding: 11px 21px;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s, color 0.3s;
}

.legal-nav-link:hover {
    color: inherit;
}

.legal-nav-link.w--current {
    background-color: #068181;
    color: #fff;
}

.legal-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.legal-article-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-article-content h2,
.legal-article-content h3 {
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.legal-article-content p {
    margin-bottom: 1em;
}

.legal-article-content ul,
.legal-article-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.legal-article-content a {
    color: #038181;
    text-decoration: underline;
}

.legal-article-content a:hover {
    color: #026161;
}

/* ── Form Elements ── */
.w-input,
.w-select {
    color: #333;
    background-color: #fff;
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.42857;
    display: block;
}

.input-field {
    border: 1px solid #dde0e2;
    border-radius: 5px;
    height: 52px;
    padding: 11px 22px;
}

.w-button {
    color: #fff;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    display: inline-block;
}

.form-submit-btn {
    background-color: #028181;
    text-align: center;
    border-radius: 4px;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 16px;
    line-height: 16px;
}

.form-submit-btn:hover {
    background-color: #026161;
}

/* ── Form Feedback ── */
.w-form-done {
    text-align: center;
    background-color: #ddd;
    padding: 20px;
    display: none;
}

.w-form-fail {
    background-color: #ffdede;
    margin-top: 10px;
    padding: 10px;
    display: none;
}

/* ── Responsive Video (Webflow embed pattern) ── */
.w-video {
    position: relative;
    width: 100%;
}

.w-video iframe,
.w-embed iframe,
.embedly-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Responsive ── */
@media screen and (max-width: 768px) {
    .section {
        padding: 40px 15px;
    }

    .flex-wrap-1 {
        flex-direction: column;
        align-items: center;
    }

    .input-field {
        margin-bottom: 15px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .legal-nav {
        gap: 16px;
    }
}
