/* Homepage Styles */

.about-div {
    width: 100%;
    height: 40rem;
    margin: 0 0 var(--section-gap) 0;
    display: flex;
    align-items: center;
    background: var(--light-green);
}

.about-image-div {
    width: 60%;
    height: 100%;
}

.about-text-div {
    width: 40%;
    height: 100%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* top-steps removed — kept about section original */

.about-text-paragraph {
    text-align: center;
    margin: 0;
    color: var(--light-beige);
}

.about-text-paragraph {
    font-size: 1rem;
}

.about-text-header {
    text-align: center;
    margin: 0 0 .5rem 0;
    padding-bottom: .5rem;
    color: var(--light-beige);
    border-bottom: solid .5px var(--light-beige);
}

.about-text-header {
    font-size: 1.5rem;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Instruction cards below the about section */
.instructions-section {
    max-width: 80rem;
    margin: 0 auto var(--section-gap) auto;
    padding: 0 1rem 0 1rem;
    text-align: left;
}

.instructions-header {
    margin: 0 0 1rem 0;
    color: var(--dark-green);
    text-align: center;
}

.instructions-header { font-size: 1.5rem; }

.instructions-cards {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: stretch;
}

.instruction-card {
    flex: 1 1 0;
    background: transparent;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-top {
    background: var(--light-green);
    color: var(--light-beige);
    padding: 1rem;
    font-weight: 700;
}

.card-bottom {
    background: var(--beige);
    color: var(--green);
    padding: 1rem;
    line-height: 1.5rem;
}

.instruction-card {
    /* ensure all cards match the tallest card in the row */
    align-self: stretch;
}

.card-top {
    flex: 0 0 auto;
}

.card-bottom {
    /* expand bottoms so cards are visually equal height */
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
}

/* Pricing table styles (moved from homepage template inline styles) */
.pricing-table {
    flex: 1 1 0;
    color: var(--light-green);
    background: var(--beige);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.pricing-wrapper {
    max-width: 880px;
    margin: 0 auto var(--section-gap) auto;
    padding: 0 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead {
    background: var(--light-green);
    color: var(--light-beige);
}

.pricing-table thead th {
    color: var(--light-beige);
    padding: 1rem;
    text-align: left;
    font-weight: 700;
}

.pricing-table th,
.pricing-table td {
    padding: .5rem .75rem;
    text-align: left;
    border-bottom: 1px solid var(--dark-beige);
}

/* Remove the bottom border from the last row so there's no separator after final entry */
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody td {
    background: var(--beige);
    color: var(--dark-green);
}

.pricing-retention {
    white-space: pre-line;
    color: var(--dark-green);
}

/* Spacer to ensure visible space below pricing table */
.pricing-spacer { height: 5rem; width: 100%; }

@media (max-width: 800px) {
    .instructions-cards {
        flex-direction: column;
    }

    .instruction-card {
        flex: auto;
        width: 100%;
        margin-bottom: 1rem;
    }

    .about-div {
        flex-direction: column;
        height: auto;
    }

    .about-image-div,
    .about-text-div {
        width: 100%;
    }

    .about-image-div {
        height: 20rem;
    }

    .about-text-div {
        padding: 2rem 1.5rem;
    }

    .pricing-wrapper {
        flex-direction: column;
    }

    .pricing-table {
        flex: auto;
        width: 100%;
        margin-bottom: 1rem;
    }
}

.card-bottom {
    font-size: 1rem;
}
