﻿@media (max-width: 1199px) {
    .home-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 96px;
    }

    .navbar .nav-link::before {
        left: 0rem;
    }

    .grid.two-col {
        grid-template-columns: 1fr;
    }

    .home-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-news__image {
        height: 210px;
    }

    .home-news__body h3 {
        font-size: clamp(16px, 1vw, 18px);
    }

    .home-news__excerpt {
        font-size: 14px;
    }

    .home-announcements__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-announcements__image {
        height: 160px;
    }


    .home-virtual-tour__head h2 {
        font-size: clamp(22px, 3.4vw, 30px);
    }

    .home-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .home-stats__item {
        gap: 14px;
    }

    .home-stats__icon {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .home-stats__icon i {
        font-size: 30px;
    }

    .home-stats__value {
        font-size: clamp(25px, 5.5vw, 35px);
    }

    .home-directions__list {
        justify-content: center;
    }

    .home-directions__list > .home-directions__item {
        flex-basis: calc((100% - 25px) / 2);
        max-width: calc((100% - 25px) / 2);
    }

    .home-directions__item--photo {
        min-height: 210px;
    }

    .home-directions__item--photo h3 {
        font-size: 24px;
    }

    .home-directions__head p {
        font-size: 13px;
    }

    .news-list-directions__head p {
        font-size: 13px;
    }

    .news-list-card {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 14px;
    }

    .hero-fullscreen {
        margin-top: -30px;
        min-height: calc(100vh - 96px);
        background-position: 58% center;
    }

    .header .topbar {
        height: auto;
        min-height: 40px;
        padding: 8px 0;
    }

    .header .topbar .container {
        justify-content: space-between !important;
        min-height: 30px;
    }

    .header .topbar .contact-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .header .topbar .contact-info .ms-4 {
        margin-left: 0 !important;
    }

    .header .branding {
        min-height: 56px;
    }

    .header .branding .navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header .branding .container {
        min-height: 56px;
    }

    .brand-logo {
        height: 62px;
        width: auto;
        max-width: 160px;
    }

    .footer-16 {
        padding-top: 72px;
    }

    .footer-16 .footer-main {
        margin-bottom: 46px;
    }

    .footer-16 .brand-section .footer-brand-logo {
        height: 100px;
    }

    .footer-16 .footer-nav-wrapper {
        padding-left: 0;
        margin-top: 26px;
    }

    .footer-16 .footer-bottom .legal-links {
        justify-content: flex-start;
        margin-top: 18px;
        flex-wrap: wrap;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .home-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .home-stats__item {
        gap: 10px;
        padding: 2px 0;
        min-width: 0;
    }

    .home-stats__icon {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }

    .home-stats__icon i {
        font-size: 23px;
    }

    .home-stats__value {
        font-size: clamp(23px, 6vw, 31px);
    }

    .home-stats__label {
        font-size: 14px;
        line-height: 1.2;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 62px;
    }

    .header .branding {
        min-height: 62px;
    }

    .header .branding .navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header .branding .container {
        min-height: 62px;
    }

    .hero-fullscreen {
        min-height: calc(100vh - 62px);
        background-position: 64% center;
    }

    .home-directions__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-directions__head p {
        font-size: 12px;
    }

    .news-list-directions__head p {
        font-size: 12px;
    }

    .news-list-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .news-list-card__image {
        height: 200px;
    }

    .news-list-card__meta {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
    }


    .home-news__grid {
        grid-template-columns: 1fr;
    }

    .home-news__image {
        height: 180px;
    }

    .home-news__meta {
        font-size: 13px;
    }

    .home-news__body h3 {
        font-size: clamp(14px, 1vw, 16px);
    }

    .home-news__excerpt {
        font-size: 13px;
    }

    .home-announcements__grid {
        grid-template-columns: 1fr;
    }

    .home-announcements__image {
        height: 140px;
    }

    .home-virtual-tour {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .home-virtual-tour__head h2 {
        font-size: 21px;
    }

    .home-virtual-tour__frame,
    .video-container {
        padding: 8px;
    }

    .home-directions__list {
        justify-content: center;
    }

    .home-directions__list > .home-directions__item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .home-directions__item--photo {
        min-height: 200px;
    }

    .home-directions__item--photo h3 {
        font-size: 22px;
        line-height: 1.1;
    }

    .brand-logo {
        height: 52px;
        width: auto;
    }

    .footer-16 {
        padding-top: 44px;
    }

    .footer-16 .brand-section .logo .sitename {
        font-size: 26px;
    }

    .footer-16 .brand-section .brand-description {
        font-size: 15px;
    }

    .footer-16 .brand-section .footer-brand-logo {
        height: 88px;
    }

    .footer-16 .nav-column {
        margin-bottom: 24px;
    }

    .footer-16 .footer-bottom {
        text-align: center;
    }

    .footer-16 .footer-bottom .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .home-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-stats__item {
        gap: 8px;
        padding: 0;
    }

    .home-stats__icon {
        width: 44px;
        height: 44px;
        border-radius: 9px;
    }

    .home-stats__icon i {
        font-size: 19px;
    }

    .home-stats__value {
        font-size: clamp(20px, 6.8vw, 27px);
    }

    .home-stats__label {
        font-size: 12px;
        line-height: 1.2;
    }
}
