.home-hero {
    overflow: hidden;
    margin-bottom: 40px;
}

.home-hero__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.home-hero__media {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.home-hero__media picture,
.home-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

/* notices / features section */

.home-notices {
    margin-bottom: 40px;
}

.home-notices__card {
    background-color: var(--bg-color);
    padding: 32px 36px;
    border-radius: 24px;
}

.home-notices__title {
    text-align: center;
    font-size: 2.4rem;
    color: var(--text-color);
    margin: 0 0 20px 0;
    font-weight: 700;
}

.home-notices__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-notices__link {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--white-color);
    padding: 8px 12px;
    border-radius: 20px;
    color: inherit;
}

.home-notices__info {
    display: flex;
    flex: 1 1 auto;
    gap: 4px;
}

.home-notices__text {
    flex: 1 1 auto;
    font-size: 1.6rem;
}

.home-notices__chev {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    align-self: center;
    font-size: 2.8rem;
}

.home-notices__chev svg {
    display: block;
    width: 16px;
    height: 16px;
}

.home-notices__cta {
    text-align: center;
    margin-top: 26px;
}

.home-notices__button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 9999px;
}

/* About / features section */
.home-about {
    margin-bottom: 40px;
}

.home-about__title {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    line-height: 4rem;
}

.home-about__intro {
    position: relative;
    top: 20px;
    object-fit: contain;
    margin: 0 auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-about__intro img {
    width: 240px;
    object-fit: contain;
}

.home-about__content {
    position: relative;
    background-color: var(--bg-color);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.home-about__lead {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 600;
    text-indent: 0;
    text-align: justify;
    word-break: break-word;
}

.home-about__cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.home-about__card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
    background-color: var(--white-color);
    border-radius: 24px;
    padding: 14px 80px;
}

.home-about__card img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.home-about__card-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-about__card-title {
    font-size: 2.6rem;
    color: var(--primary-color);
}

.home-about__card-text {
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: var(--text-color);
    font-weight: 400;
}

/* Testimonials (basic) — make avatar match home-about card image size */
.home-testimonials {
    margin-bottom: 40px;
}

.home-testimonials__title {
    font-size: 2.4rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    margin: 0 0 20px 0;
}

.home-testimonials__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial {
    display: flex;
    align-items: center;
    gap: 24px;
}

.testimonial__avatar img {
    width: 240px;
    height: 240px;
    object-fit: contain;
}

.testimonial__meta {
    font-size: 1.4rem;
    opacity: 0.8;
}

.testimonial__title {
    font-size: 2.4rem;
    color: var(--primary-color);
    padding-bottom: 20px;
}

.testimonial__text {
    font-size: 1.6rem;
    color: var(--text-color);
    text-indent: 0;
    padding-left: 0;
    margin: 0 auto;
    text-align: justify;
    word-break: break-word;
    line-height: 2.8rem;
}

/* ==========================================================
   Appended: mobile/tablet styles for .home-notices
   Placed at end of file per request to ensure these rules
   are applied after other home styles.
   ========================================================== */
@media (max-width: 768px) {
    .home-notices__card {
        width: 90%;
        padding: 20px 16px;
        margin: 0 auto;
        box-shadow: none;
    }

    .home-notices__title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .home-notices__list {
        gap: 10px;
    }

    .home-notices__link {
        display: flex;
        align-items: center;
        gap: 12px;
        background-color: var(--white-color);
        padding: 12px 12px;
        border-radius: 10px;
        color: inherit;
        box-shadow: none;
    }

    .home-notices__info {
        flex-direction: column;
        align-items: flex-start;
    }

    .pill-badge {
        padding: 6px 12px;
        font-size: 1.2rem;
    }

    .home-notices__text {
        font-size: 1.4rem;
    }

    .home-notices__chev {
        margin-left: auto;
        font-size: 1.6rem;
    }

    .home-notices__cta {
        margin-top: 14px;
    }

    .home-notices__button {
        display: block;
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 10px 18px;
    }

    /* home-about */

    .home-about {
        width: 90%;
        margin: 0 auto 40px auto;
    }

    .home-about__content {
        padding: 20px;
    }

    .home-about__title {
        font-size: 2rem;
        line-height: 2.8rem;
        margin-bottom: 0px;
    }

    .home-about__lead {
        font-size: 1.6rem;
        text-align: center;
    }

    .home-about__card {
        flex-direction: column;
        padding: 10px 20px;
        gap: 10px;
    }

    .home-about__card-body {
        gap: 10px;
    }

    .home-about__card-title {
        font-size: 1.6rem;
    }

    /* home-testimonials */

    .home-testimonials__title {
        font-size: 2rem;
    }

    .home-testimonials {
        width: 90%;
        margin: 0 auto 40px auto;
    }

    .testimonial {
        flex-direction: column;
        gap: 16px;
    }

    .testimonial__avatar img {
        width: 160px;
        height: 160px;
        object-fit: cover;
    }

    .testimonial__title {
        font-size: 1.6rem;
        padding: 8px 0;
    }

    .testimonial__text {
        font-size: 1.4rem;
    }
}