/* 2024 site CSS */

body {
    font-family: 'IBM Plex Sans', sans-serif;
}


/* Header */

.site-header {
    padding: 0;
}

@media(min-width: 768px) {
    .site-header {
        padding: 10px 20px;
    }
}

.site-header,
.site-header a {
    color: #555;
    text-decoration: none;
}

.site-header a:hover,
.site-header a:focus {
    color: #444;
    text-decoration: underline;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    padding: 0;
    padding-bottom: 12px;
    max-width: 60%;
    white-space: break-spaces;
    font-size: 2rem;
}

@media(max-width: 767px) {
    .navbar-brand {
        font-size: 1.5rem;
        line-height: 1.2;
        padding-bottom: 2px;
    }
}

a.navbar-brand:hover,
a.navbar-brand:focus {
    color: #444;
    text-decoration: underline;
}

.navbar>.container-fluid {
    align-items: flex-start;
    position: relative;
}

.navbar-toggler {
    margin-top: 3px;
    margin-bottom: 4px;
    padding: 2px 5px;
    background-color: #111;
    border: 1px solid #bbb;
}

@media(max-width: 767px) {
    .navbar-nav {
        margin-top: 1rem;
        background-color: #aaa;
    }

    .navbar-nav .nav-link {
        padding: 5px 10px;
    }
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #555;
}

.navbar-collapse {
    flex-grow: initial;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    background-color: #bbb;
}

.header-right-nav {
    display: flex;
}

.header-right-nav-item {
    margin-left: 20px;
}


/* Footer */

.site-footer {
    background-color: #111;
    padding-top: 30px;
    padding-bottom: 50px;
}

.site-footer,
.site-footer a {
    color: #fff;
    text-decoration: none;
}


/* Home Page */

.home__hero {
    background-image: url(/img/palacetheatre/Palace-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    height: 500px;
    margin-bottom: 30px;
}

.home__hero img {
    max-width: 100%;
}

.home__event-grid-item {
    background-color: #f2f2f2;
}

@media(max-width: 767px) {
    .home__event-grid-item {
        margin-bottom: 30px;
    }
}

@media(min-width: 768px) {
    .home__event-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 30px 15px;
    }

    .home__event-grid-item {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media(min-width: 992px) {
    .home__event-grid {
        gap: 30px 15px;
    }

    .home__event-grid-item {
        flex: 1 1 calc(33.333333% - 10px);
        max-width: calc(33.333333% - 10px);
    }
}

.home__event-image img {
    width: 100%;
}

.home__event-info {
    padding: 20px;
}

.home__event-title {
    font-weight: 600;
}

.home__event-title a {
    color: #111;
    text-decoration: none;
}
