.home-section {
    padding-bottom: 56px;
    scroll-margin-top: 24px;
}
.home-section > .wrap > h2 {
    margin-bottom: 16px;
    color: #0e2aa5;
}
.home-section-subtitle {
    max-width: 820px;
    margin-bottom: 28px;
    color: #50596e;
    font-size: 20px;
    line-height: 1.5;
}
.home-card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-accents .home-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.home-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 28px;
    border: 1px solid #dce0ee;
    border-radius: 10px;
    overflow-wrap: anywhere;
}
.home-accents .home-card {
    padding: 20px;
    border-color: transparent;
    background: #f5f6fb;
}
.home-card h3 {
    margin-bottom: 16px;
    color: #0e2aa5;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}
.home-accents .home-card h3 {
    font-size: 20px;
}
.home-card p {
    flex: 1;
    color: #50596e;
    font-size: 18px;
    line-height: 1.5;
}
.home-card-link,
.home-directions-link a {
    color: #0e2aa5;
    font-size: 18px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.home-card-link {
    margin-top: 24px;
}
.home-card-link:hover,
.home-directions-link a:hover {
    color: #4f71ef;
}
.home-card-link:focus-visible,
.home-directions-link a:focus-visible,
.home-section button:focus-visible {
    outline: 3px solid #0e2aa5 !important;
    outline-offset: 5px;
}
.home-section .banner button:focus-visible {
    outline-color: #fff !important;
}
.home-directions-link {
    margin: 28px 0 32px;
}
/* Swiper gives pagination 100% width; account for its existing left offset. */
@media (min-width: 768px) {
    .index-page-slider .list .slider-dots {
        width: calc(100% - 106px);
    }
}
@media (max-width: 1023px) {
    .home-card-grid,
    .home-accents .home-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .home-section {
        padding-bottom: 40px;
    }
    .home-section-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }
    .home-card-grid,
    .home-accents .home-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .home-card {
        padding: 24px 20px;
    }
}
