/* Responsive adjustments for smaller screens */
@media (max-width: 767px) {

    .headline {
        font-size: 2em;
        max-height: 25vh;
    }

    .footer-nav .nav-link {
        padding: 0 10px;
        font-size: 0.9rem;
    }

    .footer-separator {
        width: 90%;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .box-runner {
        position: relative;
        margin-top: 100px;
        margin-bottom: 0;
        top: 0;
        left: 0;
        /* display: none; */
    }

    .brand-logo {
        width: 100px;
        height: 100%;
    }

    .event-card img {
        height: 100%;
    }

    .search-btn,
    .clear-search-btn {
        width: 100%;
    }
}

/* Responsive ordering: Mobile (small screens) reverse column order */
@media (max-width: 768px) {
    .top-menu{
        width: 100%;
    }
    .hero-banner {
        min-height: fit-content;
        max-height: 35vh;
    }

    .register-now {
        width: 67%;
    }

    .section-detail {
        order: 2;
        margin-top: 20px;
    }

    .section-register {
        order: 1;
    }

    .social-widget {
        right: 20px;
    }

    .social-toggle {
        width: 60px;
        height: 60px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-links {
        padding: 12px;
    }

    .map-responsive{
        /* padding-bottom: 50%; */
    }

}

/* Responsive adjustments for tablet screens */
@media (min-width: 769px) and (max-width: 991px) {

    .hero{
        min-height: fit-content;
    }
    .headline {
        font-size: 2.5em;
    }

    .footer-nav .nav-link {
        padding: 0 15px;
        font-size: 1rem;
    }

    .footer-separator {
        width: 95%;
    }

    .footer-copyright {
        font-size: 0.9rem;
    }

    .box-runner {
        margin-top: 50px;
        margin-bottom: 20px;
    }

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

    .event-card img {
        height: auto;
    }

    .search-btn,
    .clear-search-btn {
        width: auto;
    }

    .hero-banner {
        min-height: fit-content;
        max-height: 35vh;
    }

    .map-responsive{
        /* padding-bottom: 70%; */
    }
}

/* Responsive for Ipad Pro */
@media (min-width: 1024px) and (max-width: 1366px) {
.top-menu{
        width: 100%;
    }
    .hero{
        min-height: fit-content;
    }

    .hero-content{
        padding-top: 20px;
    }

    .headline {
        font-size: 2.8em;
    }

    .footer-nav .nav-link {
        padding: 0 20px;
        font-size: 1.1rem;
    }

    .box-runner {
        margin-top: 60px;
        margin-bottom: 30px;
    }

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

    .event-card img {
        height: auto;
    }

    .search-btn,
    .clear-search-btn {
        width: auto;
    }

    .hero-banner {
        min-height: fit-content;
        max-height: 40vh;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) and (orientation: portrait) {
    .hero {
        min-width: fit-content;
    }

    .hero-banner {
        height: 30vh;
    }

    .headline {
        font-size: 2.5em;
    }

    .footer-nav .nav-link {
        padding: 0 15px;
        font-size: 1rem;
    }

    .box-runner {
        margin-top: 40px;
        margin-bottom: 15px;
    }

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

    .event-card img {
        height: auto;
    }

    .search-btn,
    .clear-search-btn {
        width: auto;
    }
}

@media(min-width: 2444px) {
    .col-md-11 {
        width: 65%;
    }
}