.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 7 / 3;
    background-color: #111;
}

.hero .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero .slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero .slideshow img.active {
    opacity: 1;
    z-index: 1;
}

.venue-description {
    font-family: 'Alike Angular', serif;
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: #faa400;
}

.venue-description h2 {
    color: #ec220c;
    margin-bottom: 20px;
    margin-top: 0px;
    font-size: 4rem;
}

.venue-description p {
    font-size: 1.4rem;
    line-height: 1.6;
}

.upcoming-events {
    padding: 40px 20px;
    background-color: #222;
    color: #faa400;
}

.upcoming-events h2 {
    font-family: 'Alike Angular', serif;
    color: #ec220c;
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: center;
    font-size: 4rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 600px;
    background-color: #1a1a1a;
    border-radius: 5px;
    border-color: white;
    overflow: hidden;
    text-align: center;
    color: #faa400;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
}

.event-image {
    width: calc(100% - 10px);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 5px;
    margin-top: 2.5px;
}

.event-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    padding: 10px;
}

.event-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 5px 0;
    color: #ec220c;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.event-title:hover {
    color: #b22222;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: #b22222;
}

.spacer {
    flex-grow: 0.5;
}

.event-datetime {
    font-size: 1rem;
    color: #faa400;
    margin: 10px 0;
    text-align: center;
    border-top: 1px solid #faa400;
    padding-top: 10px;
}

.event-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #1a1a1a;
    border-top: 1px solid #faa400;
}

.event-date-text {
    font-size: 1rem;
    color: #faa400;
    margin-top: 2px;
    text-align: center;
}

.event-time {
    font-size: 1rem;
    font-weight: bold;
    color: #faa400;
    margin-bottom: 2px;
    text-align: center;
}

.event-countdown {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #b6b1a0;
}

.event-countdown .clock-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.section-divider {
    width: 100%;
    margin: 0 auto 30px auto;
    display: block;
    line-height: 0;
}

.divider.barbed-wire img {
  width: 100%;
  height: auto;
  display: block;
  background-color: #222;
}

.events-grid a:hover,
.events-grid a:hover * {
    text-decoration: none;
}

.events-grid a:hover .event-title,
.events-grid a:focus .event-title {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: #b22222;
    color: #b22222;
}

.past-events {
    padding: 40px 20px;
    background-color: #111;
    color: #faa400;
    text-align: center;
}

.past-events h2 {
    color: #ec220c;
    font-family: 'Alike Angular', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.no-events-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    font-size: 1.4rem;
    color: #faa400;
}

.events-grid.no-events {
    display: block;
    padding: 0;
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .events-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .event-card {
        height: auto;
    }

    .event-title {
        font-size: 1rem;
    }

    .venue-description h2,
    .upcoming-events h2 {
        font-size: 2.5rem;
    }

    .venue-description p {
        font-size: 1.2rem;
    }

    .event-datetime,
    .event-time,
    .event-date-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .venue-description h2 {
        font-size: 1.6rem;
    }

    .venue-description h2, .upcoming-events h2 {
        font-size: 1.6rem;
    }
}