.mopd {
    --mopd-green: #0a4a3b;
    --mopd-green-dark: #07382e;
    --mopd-green-deep: #052d25;
    --mopd-cream: #f7f3ea;
    --mopd-sage: #edf2e5;
    --mopd-lime: #9dbb57;
    --mopd-ink: #123f35;
    --mopd-muted: #65746e;
    --mopd-line: #d5dfd5;
    --mopd-white: #fffdf8;
    background: var(--mopd-white);
    color: var(--mopd-ink);
    font-family: inherit;
    line-height: 1.55;
    max-width: 100%;
    overflow-x: clip;
}

body.mo-profile-directory-page .wp-block-post-title,
body.mo-profile-directory-page .entry-title,
body.mo-profile-directory-page .page-title {
    display: none !important;
}

body.mo-profile-directory-page .wp-block-post-content,
body.mo-profile-directory-page .entry-content,
body.mo-profile-directory-page main {
    max-width: none !important;
}

body.mo-profile-directory-page #wp--skip-link--target {
    margin-block-start: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.mo-profile-directory-page #wp--skip-link--target > .wp-block-group,
body.mo-profile-directory-page .wp-block-post-content,
body.mo-profile-directory-page .wp-block-post-content > .wp-block-shortcode {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mopd *,
.mopd *::before,
.mopd *::after {
    box-sizing: border-box;
}

.mopd img {
    display: block;
    max-width: 100%;
    height: auto;
}

.mopd figure {
    margin: 0;
}

.mopd a {
    color: inherit;
}

.mopd-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.mopd-kicker {
    display: block;
    color: var(--mopd-lime);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.mopd h1,
.mopd h2,
.mopd h3,
.mopd p {
    margin-top: 0;
}

.mopd h1,
.mopd h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: -.035em;
}

.mopd h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
}

.mopd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
}

.mopd-button {
    display: inline-flex;
    min-height: 50px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.mopd-button:hover,
.mopd-button:focus-visible {
    transform: translateY(-2px);
}

.mopd a.mopd-button--cream {
    background: var(--mopd-cream);
    color: var(--mopd-green-dark);
}

.mopd a.mopd-button--green {
    background: var(--mopd-green);
    color: #fff;
}

.mopd a.mopd-button--outline {
    border-color: var(--mopd-green);
    background: transparent;
    color: var(--mopd-green);
}

.mopd a.mopd-button--outline-light {
    border-color: rgba(255, 255, 255, .68);
    background: transparent;
    color: #fff;
}

.mopd a.mopd-text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--mopd-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-decoration: none;
}

.mopd-text-link span {
    font-size: 19px;
    transition: transform .2s ease;
}

.mopd-text-link:hover span,
.mopd-text-link:focus-visible span {
    transform: translateX(4px);
}

.mopd-hero {
    background:
        radial-gradient(circle at 18% 14%, rgba(157, 187, 87, .14), transparent 30%),
        linear-gradient(118deg, var(--mopd-green-deep), var(--mopd-green));
    color: var(--mopd-cream);
}

.mopd-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, .85fr);
    gap: clamp(46px, 7vw, 92px);
    align-items: center;
    padding-top: clamp(54px, 7vw, 90px);
    padding-bottom: clamp(54px, 7vw, 90px);
}

.mopd-hero__copy h1 {
    max-width: 720px;
    margin: 12px 0 22px;
    color: var(--mopd-cream);
    font-size: clamp(44px, 5.3vw, 72px);
    line-height: .99;
}

.mopd-hero__copy > p {
    max-width: 660px;
    margin-bottom: 30px;
    color: rgba(247, 243, 234, .84);
    font-size: clamp(17px, 1.8vw, 21px);
}

.mopd-hero__media {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 220px 220px 10px 10px;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 26px 64px rgba(2, 26, 21, .34);
}

.mopd-hero__media::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: inherit;
    content: '';
    pointer-events: none;
}

.mopd-hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.mopd-family-nav {
    border-top: 1px solid rgba(255, 255, 255, .13);
    background: rgba(5, 45, 37, .92);
}

.mopd-family-nav .mopd-shell {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mopd-family-nav a {
    display: flex;
    min-height: 76px;
    padding: 18px 24px;
    gap: 15px;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
}

.mopd-family-nav a:first-child {
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.mopd-family-nav a:hover,
.mopd-family-nav a:focus-visible {
    background: rgba(157, 187, 87, .13);
}

.mopd-family-nav span {
    color: var(--mopd-lime);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 400;
}

.mopd-family {
    padding: clamp(76px, 9vw, 126px) 0;
    scroll-margin-top: 90px;
}

.mopd-family--cream {
    background: var(--mopd-cream);
}

.mopd-family--sage {
    background: var(--mopd-sage);
}

.mopd-family__grid {
    display: grid;
    grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
    gap: clamp(44px, 7vw, 88px);
    align-items: center;
}

.mopd-family__grid--reverse .mopd-family__media {
    order: 2;
}

.mopd-family__media {
    overflow: hidden;
    border-radius: 8px;
    background: #ded8ca;
    box-shadow: 0 22px 48px rgba(26, 57, 47, .12);
}

.mopd-family__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .6s ease;
}

.mopd-family__media:hover img {
    transform: scale(1.015);
}

.mopd-family__content > h2 {
    max-width: 690px;
    margin-top: 10px;
}

.mopd-family__lead {
    max-width: 700px;
    margin-bottom: 26px;
    color: var(--mopd-muted);
    font-size: 17px;
}

.mopd-profile-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.mopd-profile-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mopd-profile-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mopd-profile-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--mopd-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .78);
}

.mopd-profile-card h3 {
    margin-bottom: 17px;
    color: var(--mopd-green-dark);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(21px, 2vw, 26px);
    line-height: 1.15;
}

.mopd-profile-card__best > span,
.mopd-profile-card dt {
    color: var(--mopd-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mopd-profile-card__best p {
    min-height: 62px;
    margin: 5px 0 18px;
    color: #4e5f58;
    font-size: 14px;
    line-height: 1.45;
}

.mopd-profile-card dl,
.mopd-profile-card dd {
    margin: 0;
}

.mopd-profile-card__link {
    display: none;
}

.mopd-profile-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--mopd-line);
}

.mopd-profile-card dl > div {
    min-width: 0;
}

.mopd-profile-card dd {
    margin-top: 4px;
    color: var(--mopd-green);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.mopd-comparison {
    padding: clamp(70px, 8vw, 106px) 0;
    background: var(--mopd-white);
}

.mopd-comparison__grid {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr);
    gap: clamp(40px, 6vw, 76px);
    align-items: center;
}

.mopd-comparison__copy h2 {
    margin-top: 10px;
}

.mopd-comparison__copy p {
    margin-bottom: 22px;
    color: var(--mopd-muted);
}

.mopd-comparison__media img {
    width: 100%;
    border-radius: 7px;
    box-shadow: 0 20px 46px rgba(26, 57, 47, .1);
}

.mopd-comparison__media figcaption {
    margin-top: 12px;
    color: var(--mopd-muted);
    font-size: 12px;
    line-height: 1.5;
}

.mopd-pricing {
    padding: clamp(76px, 9vw, 118px) 0;
    background: var(--mopd-sage);
    scroll-margin-top: 90px;
}

.mopd-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 34px;
}

.mopd-section-heading h2 {
    margin: 9px 0 0;
}

.mopd-section-heading > p {
    margin-bottom: 7px;
    color: var(--mopd-muted);
}

.mopd-table-wrap {
    overflow-x: auto;
    border: 1px solid #c8d3c9;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(26, 57, 47, .08);
    -webkit-overflow-scrolling: touch;
}

.mopd-table-wrap table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    border-collapse: collapse;
    table-layout: auto;
}

.mopd-table-wrap th,
.mopd-table-wrap td {
    padding: 18px 16px;
    border-right: 1px solid #d8e0d7;
    border-bottom: 1px solid #d8e0d7;
    text-align: center;
    vertical-align: middle;
}

.mopd-table-wrap tr > *:last-child {
    border-right: 0;
}

.mopd-table-wrap tbody tr:last-child > * {
    border-bottom: 0;
}

.mopd-table-wrap thead th {
    background: var(--mopd-green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mopd-table-wrap th:first-child {
    min-width: 245px;
    text-align: left;
}

.mopd-table-wrap tbody th {
    color: var(--mopd-green-dark);
    font-size: 15px;
    font-weight: 800;
}

.mopd-table-wrap tbody tr:nth-child(even) {
    background: #f4f7f0;
}

.mopd-table-wrap td {
    color: #294a41;
    font-size: 14px;
    font-weight: 700;
}

.mopd-table-wrap td a {
    color: var(--mopd-green);
    font-size: 12px;
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mopd-pricing__note {
    margin: 15px 0 0;
    color: var(--mopd-muted);
    font-size: 12px;
}

.mopd-swipe-hint {
    display: none;
}

.mopd-directory {
    padding: clamp(74px, 8vw, 108px) 0;
    background: var(--mopd-cream);
}

.mopd-directory__grid {
    display: grid;
    grid-template-columns: minmax(250px, .54fr) minmax(0, 1.46fr);
    gap: clamp(46px, 7vw, 90px);
    align-items: center;
}

.mopd-directory__preview {
    position: relative;
    justify-self: center;
    width: min(100%, 330px);
    padding: 13px;
    border: 1px solid var(--mopd-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(26, 57, 47, .14);
    text-decoration: none;
    transform: rotate(-1.2deg);
    transition: transform .2s ease;
}

.mopd-directory__preview:hover,
.mopd-directory__preview:focus-visible {
    transform: rotate(0deg) translateY(-3px);
}

.mopd-directory__preview img {
    width: 100%;
}

.mopd-directory__preview span {
    position: absolute;
    right: 24px;
    bottom: 24px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--mopd-green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.mopd-directory__copy h2 {
    max-width: 760px;
    margin-top: 10px;
}

.mopd-directory__copy > p {
    max-width: 720px;
    margin-bottom: 26px;
    color: var(--mopd-muted);
    font-size: 18px;
}

.mopd-directory__copy > small {
    display: block;
    max-width: 720px;
    margin-top: 17px;
    color: var(--mopd-muted);
    font-size: 12px;
}

.mopd-support {
    padding: clamp(70px, 8vw, 102px) 0;
    background: #fff;
}

.mopd-section-heading--compact {
    display: block;
}

.mopd-section-heading--compact h2 {
    margin-top: 9px;
}

.mopd-support__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--mopd-line);
    border-bottom: 1px solid var(--mopd-line);
}

.mopd-support__grid article {
    padding: 30px 24px;
    border-right: 1px solid var(--mopd-line);
}

.mopd-support__grid article:last-child {
    border-right: 0;
}

.mopd-support__grid article > span {
    color: var(--mopd-lime);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
}

.mopd-support__grid h3 {
    margin: 7px 0 14px;
    color: var(--mopd-green-dark);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
}

.mopd-support__grid p {
    margin: 0;
    color: var(--mopd-muted);
    font-size: 14px;
    line-height: 1.5;
}

.mopd-secondary {
    padding: clamp(62px, 7vw, 88px) 0;
    background: var(--mopd-sage);
}

.mopd-secondary__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mopd-secondary article {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid #d1dbd0;
    border-radius: 7px;
    background: rgba(255, 255, 255, .72);
}

.mopd-secondary h2 {
    margin: 9px 0 14px;
    font-size: clamp(28px, 3vw, 38px);
}

.mopd-secondary p {
    color: var(--mopd-muted);
}

.mopd-final-cta {
    padding: clamp(72px, 8vw, 104px) 0;
    background:
        radial-gradient(circle at 90% 20%, rgba(157, 187, 87, .16), transparent 28%),
        var(--mopd-green-deep);
    color: var(--mopd-cream);
}

.mopd-final-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
    gap: 56px;
    align-items: center;
}

.mopd-final-cta h2 {
    max-width: 760px;
    margin: 9px 0 16px;
    color: var(--mopd-cream);
}

.mopd-final-cta p {
    max-width: 740px;
    margin-bottom: 0;
    color: rgba(247, 243, 234, .8);
    font-size: 17px;
}

/* The page already ends with its own conversion CTA. Remove the global
   pre-footer CTA here so the two sample prompts do not compete, and join
   the remaining footer directly to the page without the theme's top gap. */
.mo-profile-directory-page .mo-footer-v3 {
    margin-top: 0 !important;
}

.mo-profile-directory-page .mo-footer-v3__cta {
    display: none !important;
}

@media (max-width: 1080px) {
    .mopd-profile-grid--3 {
        grid-template-columns: 1fr;
    }

    .mopd-profile-grid--3 .mopd-profile-card__best p {
        min-height: 0;
    }

    .mopd-support__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mopd-support__grid article:nth-child(2) {
        border-right: 0;
    }

    .mopd-support__grid article:nth-child(-n+2) {
        border-bottom: 1px solid var(--mopd-line);
    }
}

@media (max-width: 840px) {
    .mopd-hero__grid,
    .mopd-family__grid,
    .mopd-comparison__grid,
    .mopd-directory__grid,
    .mopd-final-cta__inner {
        grid-template-columns: 1fr;
    }

    .mopd-hero__media {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .mopd-family__grid--reverse .mopd-family__media {
        order: 0;
    }

    .mopd-family__media {
        width: min(100%, 700px);
        margin: 0 auto;
    }

    .mopd-section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mopd-directory__preview {
        width: min(76%, 330px);
    }

    .mopd-final-cta__inner {
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .mopd-shell {
        width: calc(100% - 36px);
    }

    .mopd-hero__grid {
        gap: 34px;
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .mopd-hero__copy h1 {
        font-size: clamp(36px, 10.8vw, 48px);
    }

    .mopd-hero__copy > p {
        font-size: 17px;
    }

    .mopd-hero__media {
        border-radius: 120px 120px 8px 8px;
    }

    .mopd-family-nav .mopd-shell {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .mopd-family-nav a,
    .mopd-family-nav a:first-child {
        min-height: 56px;
        padding: 12px 18px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .mopd-family-nav span {
        font-size: 19px;
    }

    .mopd-profile-grid--2,
    .mopd-profile-grid--3,
    .mopd-secondary__grid,
    .mopd-support__grid {
        grid-template-columns: 1fr;
    }

    .mopd-profile-card__best p {
        min-height: 0;
        margin: 4px 0 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mopd-profile-card dl {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-top: 12px;
    }

    .mopd-profile-card {
        padding: 18px;
    }

    .mopd-profile-card h3 {
        margin-bottom: 11px;
        font-size: 23px;
    }

    .mopd-profile-card__link {
        display: inline-flex;
        min-height: 44px;
        margin-top: 11px;
        align-items: center;
        gap: 8px;
        color: var(--mopd-green);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .07em;
        text-decoration: none;
    }

    .mopd-comparison__grid {
        gap: 28px;
    }

    .mopd-directory__preview {
        width: min(100%, 360px);
    }

    .mopd-directory__copy h2 {
        font-size: clamp(34px, 10vw, 42px);
    }

    .mopd-swipe-hint {
        display: flex;
        margin: -12px 0 12px;
        align-items: center;
        gap: 8px;
        color: var(--mopd-green);
        font-size: 13px;
        font-weight: 800;
    }

    .mopd-table-wrap table {
        min-width: 720px;
    }

    .mopd-table-wrap th,
    .mopd-table-wrap td {
        padding: 15px 13px;
        font-size: 13px;
    }

    .mopd-support__grid article,
    .mopd-support__grid article:nth-child(2) {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--mopd-line);
    }

    .mopd-support__grid article > span {
        grid-row: 1 / 3;
        align-self: start;
        font-size: 22px;
    }

    .mopd-support__grid h3 {
        margin: 0 0 4px;
        font-size: 21px;
    }

    .mopd-support__grid p {
        grid-column: 2;
    }

    .mopd-support__grid article:last-child {
        border-bottom: 0;
    }

    .mopd-actions .mopd-button {
        width: 100%;
    }

    .mopd-final-cta .mopd-actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mopd *,
    .mopd *::before,
    .mopd *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
