﻿/* ===== Home page layout + shared spacing/typography ===== */

.home-view .carousel-container {
    position: relative;
    width: 100%;
}

/* Global spacing/typography trims */
.home-view .section-tight {
    padding-block: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 992px) {
    .home-view .section-tight {
        padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
    }
}

.home-view .text-center > *:first-child {
    margin-top: 0;
}

.home-view .text-center > *:last-child {
    margin-bottom: 0;
}

.home-view h1,
.home-view h2,
.home-view h3 {
    margin-bottom: .75rem;
}

.home-view p {
    margin-bottom: .85rem;
}

/* Slim gutters on split rows (mobile) */
@media (max-width: 991.98px) {
    .home-view .split-section .row {
        --bs-gutter-y: 1.25rem;
        --bs-gutter-x: 1.25rem;
    }
}
