/* -------------------- GLOBAL -------------------- */

.event_public_nav { margin-top: 25px; }
.event_public_nav a {
    display: inline-block;
    color: #000000;
    background: #ffa428;
    border: solid 1px #ffa428;
    border-radius: 5px;
    padding: 8px 22px;
    margin: 0 5px -10px 0;
    text-decoration: none;
    font-weight: 400;
}

.event_public_nav a:hover{
    display: inline-block;
    color: #ffa428;
    background: #00000000;
    border: solid 1px #ffa428;
}

.red    { color: #ff0000; }
.green  { color: #0bd300; }
.blue   { color: #0070d3; }
.black  { color: #000000; }

/* -------------------- VIEW -------------------- */

.event_view_container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 30px;
}

.event_view_card {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px #e4e4e4;
    overflow: hidden;
}

.event_view_image img {
    display: block;
    width: 100%;
    height: auto;
}

.event_view_content {
    padding: 35px;
}

.event_view_animated_title {
    display: inline-block;
    color: transparent;
    background: linear-gradient(45deg, #f18f09 0%, #5d5d5d 25%, #5d5d5d 50%, #5d5d5d 75%, #f18f09 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: event_view_title_gradient 4s linear infinite;
}

@keyframes event_view_title_gradient {
    0% {
        background-position: 200% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.event_view_meta {
    color: #e88600;
    font-size: 18px;
    font-weight: 400;
    margin-top: 14px;
    margin-bottom: 10px;
    line-height: 150%;
}

.event_view_section {
    margin-top: 25px;
}

.event_view_section h2 {
    color: #262626;
    margin-bottom: 10px;
}

.event_view_icon {
    display: inline-block;
    width: 24px;
    margin: 0 8px -3px 0;
}

.event_view_icon img {
    display: block;
    width: 21px;
}

.event_view_tickets {
    margin: 0;
    padding-left: 20px;
}

.event_view_map {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 8px;
    margin-top: 15px;
}

.event_view_header_image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.event_view_header_image img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.event_view_header_image {
    width: calc(100% + 70px);
    /* aspect-ratio: 16 / 9; */
    aspect-ratio: 16 / 8;
    overflow: hidden;
    margin: -35px -35px 25px -35px;
}

.event_view_header_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event_view_date {
    display: block;
    font-size: 24px;
    font-weight: 600;
}

.event_view_time {
    display: block;
}

.event_view_presenter {
    color: #2196F3;
}

.event_view_rich_text {
    line-height: 150%;
    color: #5d5d5d;
}

@media screen and (max-width: 760px) {
    
    .event_view_content { padding: 25px; }

    .event_view_header_image {
        width: calc(100% + 50px);
        margin: -25px -25px 25px -25px;
    }
    
}

@media screen and (max-width: 650px) {
    
    .event_view_container { padding: 0 10px; }
    
}

@media screen and (max-width: 500px) {
    
    .event_view_container { padding: 0 20px; }
    
}

@media screen and (max-width: 450px) {
    
    .event_view_container { padding: 0 0; }
    
}

/* -------------------- CALENDAR -------------------- */

.event_calendar_container {
    max-width: 1250px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 60px;
    margin: 0 auto;
}

.event_calendar_month {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px #e4e4e4;
    overflow: hidden;
}

.event_calendar_month h2 {
    color: #ffffff;
    background: #df8100;
    margin: 0;
    padding: 8px;
    text-align: center;
}

.event_calendar_grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #dedede;
}

.event_calendar_weekday,
.event_calendar_day {
    background: #ffffff;
    min-height: 82px;
    min-width: 0;
    padding: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.event_calendar_weekday {
    min-height: auto;
    color: #ffffff;
    background: #404040;
    text-align: center;
    font-weight: 700;
}

.event_calendar_day_number {
    color: #5d5d5d;
    font-weight: 500;
    margin-bottom: 5px;
}

.event_calendar_day.has_event {
    background: #fff4e4;
}

.event_calendar_day.is_today {
    outline: 3px solid #03A9F4;
    outline-offset: -3px;
}

.event_calendar_event {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff !important;
    background: #f18f09;
    border-radius: 4px;
    padding: 5px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event_calendar_month_events {
    display: none;
}

.event_calendar_month_event {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    color: #262626;
    border-top: solid 1px #dedede;
    padding: 10px 12px;
    /* text-decoration: underline !important; */
    font-size: 13px;
}

.event_calendar_month_event:hover {
    text-decoration: none;
}

.event_calendar_month_event_date {
    color: #df8100;
    font-weight: 700;
}

.event_calendar_month_event_title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event_calendar_empty {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

@media screen and (max-width: 760px) {
    .event_calendar_container { grid-template-columns: 1fr; padding: 0 20px; }
    .event_calendar_day { min-height: 68px; padding: 5px; }
    .event_calendar_event { font-size: 11px; }
}

@media screen and (max-width: 550px) {
    .event_calendar_day {
        min-height: 44px;
    }

    .event_calendar_event {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        padding: 0;
        margin-top: 3px;
        overflow: hidden;
        text-indent: -999px;
    }

    .event_calendar_month_events {
        display: block;
    }
}

/* -------------------- LIST -------------------- */

.event_public_list {
    grid-template-columns: 1fr;
    max-width: 950px;
    gap: 25px;
}

.event_public_card_link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.event_public_card_link:hover {
    text-decoration: none;
}

.event_public_empty {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

@media screen and (max-width: 760px) {
    .event_public_list { padding: 0 20px; }
}
