.footer {
    min-height: 70px;
}

.h-100p{
    height: 100%;
}

.bg-dark-light {
    background-color: #2A3236;
}

.flex-column-gap-1{
    column-gap: 0.25rem;
}
.flex-column-gap-2{
    column-gap: 0.5rem;
}
.flex-column-gap-3 {
    column-gap: 1rem;
}
.flex-column-gap-4 {
    column-gap: 1.5rem;
}
.flex-column-gap-5 {
    column-gap: 3rem;
}
.flex-row-gap-1 {
    row-gap: 0.25rem;
}
.flex-row-gap-2 {
    row-gap: 0.5rem;
}
.flex-row-gap-3 {
    row-gap: 1rem;
}
.flex-row-gap-4 {
    row-gap: 1.5rem;
}
.flex-column-gap-5 {
    row-gap: 3rem;    
}

@media (min-width: 992px) {
    .header {
        min-height: 70px !important;
    }

    .visually-hidden-lg {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}

@media (max-width:992px) {
    .visually-hidden-md {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}

@media (max-width:640px) {
    .bg-sm-primary {
        --bs-bg-opacity: 1;
        background-color: rgba(var(--bs-primary-rgb),var(--bs-bg-opacity)) !important;
    }

    .bg-sm-dark {
        --bs-bg-opacity: 1;
        background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity)) !important;
    }

    .text-sm-white {
        color: white !important;
    }

    .flex-sm-grow-2 {
        flex-grow: 2;
    }

    .visually-hidden-sm {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .w-sm-100 {
        width: 100% !important;
    }

    .fs-sm-4 {
        font-size: calc(1.275rem + .3vw) !important;
    }
}
@media only screen and (max-width: 600px) {
    /* 1. Force the main card to stack vertically */
    .card.horizontal {
        flex-direction: column;
    }

    /* 2. Restore the full width to the image and content sections */
    .card.horizontal .card-image,
    .card.horizontal .card-stacked {
        width: 100% !important;
        max-width: 100% !important;
        /* Remove Materialize's default margin that often appears on .card-image */
        margin: 0;
    }

    /* 3. Ensure the image itself scales correctly to the top of the card */
    .card.horizontal .card-image img {
        height: auto;
        width: 100%;
        max-height: 200px; /* Optional: limit the height of the image on mobile */
        object-fit: cover;
    }

    /* 4. Center the card-content text for a cleaner look on mobile */
    .card.horizontal .card-stacked .card-content {
        text-align: center;
    }
}