body:has(.de-page) {
    background-color: #fff;
    height: auto;
}

.de-page {
    --de-navy: #00577D;
    --de-navy-dark: #00425f;
    --de-green: #2D8A56;
    --de-green-hover: #247448;
    --de-text: #2b2b2b;
    --de-sage: #E3EBE7;
    --de-border: #a9b7bd;
    color: var(--de-text);
}

.de-page h1,
.de-page h2,
.de-page h3,
.de-page h4 {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--de-navy);
    font-weight: 500;
    padding: 0;
}

.de-page p,
.de-page label,
.de-page input,
.de-page textarea {
    font-family: Cambria, Georgia, serif;
}

.de-page p {
    max-width: none;
    text-align: inherit;
}

.de-profile-section {
    background: #fff;
    text-align: center;
    padding: 2.5rem 0 2rem;
}

.de-page-title {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin: 0 auto 1.5rem;
    max-width: 1000px;
}

.de-profile-photo {
    width: 145px;
    height: 145px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--de-sage);
    display: flex;
    align-items: center;
    justify-content: center;
}

.de-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.de-profile-photo span {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 3rem;
    color: var(--de-navy);
    font-weight: 600;
    line-height: 1;
}

.de-profile-name {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--de-navy);
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 0.2rem;
}

.de-profile-role {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--de-navy);
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.de-profile-copy {
    max-width: 1050px;
    margin: 0 auto;
}

.de-profile-copy p {
    font-size: 1.4em;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.de-contact-options {
    max-width: 850px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.de-contact-options.is-single {
    grid-template-columns: 1fr;
    max-width: 420px;
}

.de-contact-option {
    text-align: center;
}

.de-contact-option a {
    display: inline-block;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--de-navy);
    font-size: 1.3rem;
    line-height: 1.3;
    text-decoration: underline;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.de-contact-option a:hover {
    color: var(--de-green);
}

.de-contact-option p {
    font-size: 1.1em;
    line-height: 1.4;
    margin: 0;
}

.de-form-section {
    background: var(--de-sage);
    padding: 2.5rem 0 3rem;
}

.de-form-inner {
    max-width: 900px;
    margin: 0 auto;
}

.de-form-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.de-form-heading h2 {
    color: var(--de-green);
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin: 0 0 0.4rem;
}

.de-form-heading p {
    font-size: 1.2em;
    line-height: 1.4;
    margin: 0.35rem 0;
}

.de-required {
    font-weight: 700;
    font-style: italic;
}

.de-contact-form {
    width: 100%;
}

.de-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 3rem;
}

.de-form-group {
    min-width: 0;
}

.de-form-group label {
    display: block;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--de-navy);
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0 0 0.35rem;
    font-weight: 500;
}

.de-form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--de-border);
    border-radius: 7px;
    background: #fff;
    color: var(--de-text);
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 1rem;
    line-height: 1.4;
    box-sizing: border-box;
    outline: none;
}

.de-form-control:focus {
    border-color: var(--de-navy);
    box-shadow: 0 0 0 3px rgba(0, 87, 125, 0.10);
}

.de-form-note {
    display: flex;
    align-items: center;
    padding-top: 1.55rem;
    font-size: 1em;
    font-style: italic;
    line-height: 1.4;
}

.de-message-group {
    margin-top: 1.1rem;
}

.de-message-group textarea {
    height: 175px;
    resize: vertical;
}

.de-submit-wrap {
    margin-top: 1.75rem;
    text-align: center;
}

.de-submit {
    width: min(760px, 100%);
    border: 0;
    border-radius: 12px;
    background: var(--de-green);
    color: #fff;
    padding: 1rem 1.5rem;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.de-submit:hover {
    background: var(--de-green-hover);
}

.de-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.ec-edit .input {
    margin-bottom: 1rem;
}

.ec-edit input[type="text"],
.ec-edit input[type="url"],
.ec-edit textarea,
.ec-edit input[type="file"] {
    display: block;
    width: 100%;
    max-width: 640px;
}

.ec-edit textarea {
    min-height: 160px;
}

#forvideos .ec-profiles,
#forvideos .ec-edit {
    margin-bottom: 0;
    padding-bottom: 0;
}

#forvideos .ec-profiles h1,
#forvideos .ec-edit h1,
#forvideos .ec-edit h2 {
    color: #12253d;
    text-align: left;
    background: transparent;
}

#forvideos .ec-profiles table.table tbody td:first-child {
    width: auto;
    max-width: none;
    padding: 0.5rem;
}

.ec-edit .ec-publish {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
}

.ec-edit .ec-publish input[type="checkbox"] {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    flex: 0 0 auto;
}

.ec-edit .ec-publish label {
    display: inline;
    width: auto;
    margin: 0;
}

.ec-edit-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 0.75rem;
}

@media (max-width: 767px) {
    .de-profile-section {
        padding: 2rem 0;
    }

    .de-profile-copy p {
        font-size: 1.25em;
    }

    .de-contact-options,
    .de-form-grid {
        grid-template-columns: 1fr;
    }

    .de-contact-options {
        gap: 1.5rem;
    }

    .de-form-section {
        padding: 2rem 0;
    }

    .de-form-grid {
        gap: 1rem;
    }

    .de-form-note {
        padding-top: 0;
    }

    .de-profile-photo {
        width: 130px;
        height: 130px;
    }
}
