.eco-ivf-calculator-page > .page-content,
.eco-ivf-calculator-page .eco-ivf-calculator {
    overflow: visible;
}

.eco-ivf-calculator {
    padding: 88px 0 140px;
}

.eco-ivf-calculator__layout {
    align-items: start;
    display: grid;
    gap: 56px 7.5%;
    grid-template-columns: minmax(250px, .58fr) minmax(0, 1.42fr);
}

.eco-ivf-calculator__intro {
    position: sticky;
    top: 120px;
}

.eco-ivf-calculator__eyebrow {
    color: var(--color--7);
    margin-bottom: 24px;
}

.eco-ivf-calculator__intro h2,
.eco-ivf-calculator__tool-title {
    color: var(--base--text-color);
    font-family: var(--family--1);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.08;
}

.eco-ivf-calculator__intro-text {
    color: rgba(var(--color--7-rgb), .72);
    font-family: var(--family--1);
    font-size: 1rem;
    line-height: 1.55;
    margin-top: 28px;
}

.eco-ivf-calculator__intro-text p + p {
    margin-top: 1rem;
}

.eco-ivf-calculator__intro-text strong {
    color: var(--base--text-color);
    font-weight: 700;
}

.eco-ivf-calculator__tool {
    min-width: 0;
}

.eco-ivf-calculator__tool-title {
    margin-bottom: 42px;
    max-width: 740px;
}

.eco-ivf-calculator__fields {
    border-top: 1px solid rgba(var(--color--7-rgb), .14);
    counter-reset: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eco-ivf-calculator__field {
    align-items: center;
    border-bottom: 1px solid rgba(var(--color--7-rgb), .14);
    display: grid;
    gap: 20px;
    grid-template-columns: 42px minmax(180px, .8fr) minmax(230px, 1.2fr);
    min-height: 112px;
    padding: 20px 0;
}

.eco-ivf-calculator__number {
    color: var(--color--5);
    font-family: var(--family--2);
    font-size: .8125rem;
}

.eco-ivf-calculator__field label {
    color: var(--base--text-color);
    font-family: var(--family--1);
    font-size: 1.125rem;
    line-height: 1.3;
}

.eco-ivf-calculator__select-wrap {
    position: relative;
}

.eco-ivf-calculator__select-wrap::after {
    border-bottom: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: "";
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 20px;
    top: calc(50% - 6px);
    transform: rotate(45deg);
    width: 8px;
}

.eco-ivf-calculator__field select {
    appearance: none;
    background: #fff;
    border: 1px solid rgba(var(--color--7-rgb), .18);
    border-radius: 8px;
    color: var(--base--text-color);
    cursor: pointer;
    display: block;
    font-family: var(--family--1);
    font-size: 1rem;
    height: 58px;
    line-height: 1.2;
    padding: 0 48px 0 18px;
    transition: border-color .25s ease, box-shadow .25s ease;
    width: 100%;
}

.eco-ivf-calculator__field select:focus-visible {
    border-color: var(--color--5);
    box-shadow: 0 0 0 3px rgba(72, 215, 235, .18);
    outline: none;
}

.eco-ivf-calculator__result {
    align-items: center;
    background: var(--color--6);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-top: 42px;
    min-height: 176px;
    padding: 30px 36px;
}

.eco-ivf-calculator__result-copy {
    display: grid;
    gap: 8px;
}

.eco-ivf-calculator__result-copy span,
.eco-ivf-calculator__result-copy small {
    color: rgba(var(--color--7-rgb), .7);
    font-family: var(--family--1);
    font-size: .9375rem;
}

.eco-ivf-calculator__result-copy strong {
    color: var(--base--text-color);
    font-family: var(--family--1);
    font-size: 3.75rem;
    font-weight: 400;
    line-height: 1;
}

.eco-ivf-calculator__reset {
    border: 1px solid rgba(var(--color--7-rgb), .24);
    border-radius: 8px;
    color: var(--base--text-color);
    cursor: pointer;
    font-family: var(--family--2);
    font-size: .8125rem;
    min-height: 48px;
    padding: 12px 18px;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease;
}

.eco-ivf-calculator__reset:hover,
.eco-ivf-calculator__reset:focus-visible {
    background: var(--base--text-color);
    color: #fff;
}

.eco-ivf-calculator__disclaimer {
    color: rgba(var(--color--7-rgb), .58);
    font-family: var(--family--1);
    font-size: .875rem;
    line-height: 1.5;
    margin-top: 18px;
    max-width: 760px;
}

.eco-ivf-calculator__extra {
    grid-column: 2;
    margin-top: 28px;
}

@media (max-width: 1024px) {
    .eco-ivf-calculator {
        padding: 68px 0 100px;
    }

    .eco-ivf-calculator__layout {
        gap: 48px;
        grid-template-columns: 1fr;
    }

    .eco-ivf-calculator__intro {
        position: static;
    }

    .eco-ivf-calculator__extra {
        grid-column: 1;
    }
}

@media (max-width: 680px) {
    .eco-ivf-calculator {
        padding: 52px 0 76px;
    }

    .eco-ivf-calculator__intro h2,
    .eco-ivf-calculator__tool-title {
        font-size: 2rem;
    }

    .eco-ivf-calculator__tool-title {
        margin-bottom: 30px;
    }

    .eco-ivf-calculator__field {
        gap: 10px 14px;
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 18px 0 22px;
    }

    .eco-ivf-calculator__field label,
    .eco-ivf-calculator__select-wrap {
        grid-column: 2;
    }

    .eco-ivf-calculator__number {
        grid-row: 1 / span 2;
        padding-top: 4px;
    }

    .eco-ivf-calculator__result {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        padding: 26px 22px;
    }

    .eco-ivf-calculator__result-copy strong {
        font-size: 3rem;
    }
}
