/* Loudouner Event Template */

.loudouner-event-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 20px 72px;
}

.loudouner-event-card {
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    padding: 46px 52px 42px;
}

.loudouner-event-header {
    margin-bottom: 28px;
}

.loudouner-event-kicker {
    color: #777;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.2;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.loudouner-event-title {
    margin-bottom: 0;
}

.loudouner-event-content {
    margin-top: 0;
}

.loudouner-event-content img {
    height: auto;
    max-width: 100%;
}

.loudouner-event-footer {
    border-top: 1px solid #e6e6e6;
    margin-top: 38px;
    padding-top: 24px;
}

.loudouner-event-back {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}

.loudouner-event-back:hover,
.loudouner-event-back:focus {
    text-decoration: underline;
}

@media only screen and (max-width: 700px) {
    .loudouner-event-page {
        padding: 32px 16px 52px;
    }

    .loudouner-event-card {
        padding: 30px 24px 28px;
    }
}

/* Event CPT hero controls (v1.2). */
.single-event .header-hero {
    overflow: hidden;
}

.single-event .loudouner-event-hero-heading {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    z-index: 3;
}

.single-event .loudouner-event-hero-heading-text {
    color: #fff;
    font-size: clamp(34px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    padding: 90px 24px 20px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

@media only screen and (max-width: 700px) {
    .single-event .loudouner-event-hero-heading-text {
        font-size: clamp(30px, 9vw, 44px);
        padding-top: 72px;
    }
}


/* Event footer navigation. */
.loudouner-event-footer-nav {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.loudouner-event-calendar {
    display: inline-block;
    font-weight: 600;
    margin-left: auto;
    text-align: right;
    text-decoration: none;
}

.loudouner-event-calendar:hover,
.loudouner-event-calendar:focus {
    text-decoration: underline;
}

@media only screen and (max-width: 520px) {
    .loudouner-event-footer-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .loudouner-event-calendar {
        margin-left: 0;
        text-align: left;
    }
}
