/* ==========================================================================
   SUNGRAPHIC EVENTS - FRONTEND STYLES
   ========================================================================== */

/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
.sg-icon {
    width: 1em;
    display: inline-block;
    font-size: inherit;
    overflow: visible;
    vertical-align: -0.125em;
}

.sg-icon--three-quarters {
    width: .75em;
    vertical-align: baseline;
}

.sg-events__title {
    margin-bottom: 15px;
}

/* ==========================================================================
   FILTER BAR COMPONENT
   ========================================================================== */
.sg-events-filter-bar {
    display: flex;
}

input[type=text].sg-events-filter-bar__search {
    width: 100%;
    display: block;
    max-width: 300px;
    font-size: 18px;
    margin-left: auto;
    padding: 10px;
}

/* ==========================================================================
   GROUP SELECT COMPONENT
   ========================================================================== */
.sg-events-group-select {
    display: flex;
    justify-content: center;
}

.sg-events-group-select__group-button {
    margin-right: 15px;
    display: block;
    font-size: 20px;
    padding: 15px 30px;
    text-decoration: none;
    transition: .2s color ease, .2s background-color ease;
    cursor: pointer;
}

.sg-events-group-select__group-button:last-child {
    margin-right: 15px;
}

/* Events */
.sg-events,
.sg-events * {
    box-sizing: border-box;
}

.sg-events {
    font-family: Helvetica Neue, Helvetica, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

.sg-events__inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

/* ==========================================================================
   GRID VIEW
   ========================================================================== */
.sg-events--grid {
    font-size: 18px;
    padding-left: 15px;
    padding-right: 15px;
}

.sg-events--grid .sg-events__inner {
    margin-left: -15px;
    margin-right: -15px;
}

.sg-events--grid .sg-events__event {
    width: 100%;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
}

.sg-events--grid .sg-events__event > article {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sg-events--grid .sg-events__event-featured-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sg-events--grid .sg-events__event-featured-image-wrapper::before {
    content: '';
    display: block;
    padding-top: 50%;
}

.sg-events--grid .sg-events__event-featured-image  {
    max-width: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.sg-events--grid .sg-events__event-details {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.sg-events--grid .sg-events__event-details > header {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sg-events--grid .sg-events__event-title {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.sg-events--grid .sg-events__event-title-link {
    text-decoration: none;
}

.sg-events--grid .sg-events__event-supporting-artists {
    font-size: 20px;
    margin: 0;
    font-weight: 400;
}

.sg-events--grid .sg-events__event-date {
    font-size: 24px;
    font-weight: 700;
}

.sg-events--grid .sg-events__event-venue {
    padding-top: 30px;
    margin-top: auto;
}

.sg-events--grid .sg-events__event-venue-name {
    font-weight: 700;
}

.sg-events--grid .sg-events__event-presented-by {
    font-size: 14px;
}

.sg-events--grid .sg-events__event-ticket-link {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    width: 100%;
    padding: 5px;
    transition: .2s color ease, .2s background-color ease;
}

/* ==========================================================================
   GRID VIEW - RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 768px) {
    .sg-events--grid .sg-events__event {
        width: calc(100% / 2 - 30px);
    }
}

@media (min-width: 960px) {
    .sg-events--grid .sg-events__event {
        width: calc(100% / 3 - 30px);
    }
}

/* ==========================================================================
   LIST VIEW
   ========================================================================== */
.sg-events--list .sg-events__event {
    width: 100%;
    margin-bottom: 30px;
}

.sg-events--list .sg-events__event > article {
    width: 100%;
    /* Allows the events to have the same height when in columns of 2 or more */
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sg-events--list .sg-events__event-date {
    width: 100%;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.sg-events--list .sg-events__event-day-of-week {
    font-size: 18px;
}

.sg-events--list .sg-events__event-month {
    font-size: 40px;
}

.sg-events--list .sg-events__event-day {
    font-size: 75px;
}

.sg-events--list .sg-events__event-year {
    font-size: 17px;
}

.sg-events--list .sg-events__event-featured-image-wrapper {
    /* Prevent element from shrinking when other elements grow too large */
    flex-shrink: 0;
    position: relative;
    width: calc(100% - 140px);
}

.sg-events--list .sg-events__event-featured-image-wrapper:before {
    padding-top: 100%;
    content: " ";
    display: block;
}

.sg-events--list .sg-events__event-featured-image-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sg-events--list .sg-events__event-featured-image {
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
    object-fit: cover;
    transition: opacity .2s ease;
}

.sg-events--list .sg-events__event-featured-image:hover,
.sg-events--list .sg-events__event-featured-image:focus {
    opacity: .7;
}

.sg-events--list .sg-events__event-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 20px;
}

.sg-events--list .sg-events__event-top-bar {
    font-size: 18px;
}

.sg-events--list .sg-events__event-title-link {
    font-size: 30px;
    text-transform: uppercase;
    display: block;
    color: inherit;
    text-decoration: none;
}

.sg-events--list .sg-events__event-supporting-artists {
    font-size: 20px;
    font-weight: 400;
}

.sg-events--list .sg-events__event-start {
    display: block;
    margin-bottom: 5px;
    font-size: 25px;
    margin-top: 15px;
}

.sg-events--list .sg-events__event-bottom-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.sg-events--list .sg-events__event-age-restriction {
    font-size: 12px;
    font-style: italic;
}

.sg-events--list .sg-events__event-ticket-link {
    display: block;
    font-size: 20px;
    width: 180px;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    transition: .2s color ease, .2s background-color ease;
}

/* ==========================================================================
   LIST VIEW - RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 768px) {
    .sg-events--list .sg-events__event {
        width: calc(50% - 7.5px);
        margin-right: 15px;
    }

    .sg-events--list .sg-events__event:nth-child(2n) {
        margin-right: 0;
    }

    .sg-events--list .sg-events__event-day-of-week {
        font-size: 22px;
    }

    .sg-events--list .sg-events__event-month {
        font-size: 44px;
        font-weight: 300;
    }

    .sg-events--list .sg-events__event-day {
        font-size: 85px;
        font-weight: 700;
    }

    .sg-events--list .sg-events__event-year {
        font-size: 17px;
    }
}

@media (min-width: 960px) {
    .sg-events--list .sg-events__event {
        width: 100%;
        margin-right: 0;
        flex-wrap: nowrap;
    }

    .sg-events--list .sg-events__event > article {
        flex-wrap: nowrap;
    }

    .sg-events--list .sg-events__event-featured-image-wrapper {
        width: 100%;
        max-width: 20%;
    }
}

/* ==========================================================================
   LIST-TWO VIEW
   ========================================================================== */
.sg-events--list-two .sg-events__event {
    width: 100%;
    margin-bottom: 30px;
}

.sg-events--list-two .sg-events__event > article {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.sg-events--list-two .sg-events__event-left-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sg-events--list-two .sg-events__event-featured-image-wrapper {
    /* Prevent element from shrinking when other elements grow too large */
    flex-shrink: 0;
    position: relative;
}

.sg-events--list-two .sg-events__event-featured-image-wrapper:before {
    padding-top: 100%;
    content: " ";
    display: block;
}

.sg-events--list-two .sg-events__event-featured-image-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sg-events--list-two .sg-events__event-featured-image {
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
    object-fit: cover;
    transition: opacity .2s ease;
}

.sg-events--list-two .sg-events__event-featured-image:hover,
.sg-events--list-two .sg-events__event-featured-image:focus {
    opacity: .7;
}

.sg-events--list-two .sg-events__event-date {
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 15px;
    text-align: center;
}

.sg-events--list-two .sg-events__event-details {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.sg-events--list-two .sg-events__event-top-bar {
    font-size: 16px;
}

.sg-events--list-two .sg-events__event-title-link {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.sg-events--list-two .sg-events__event-supporting-artists {
    font-size: 20px;
    font-weight: 400;
}

.sg-events--list-two .sg-events__event-time {
    margin-top: 15px;
    font-size: 16px;
}

.sg-events--list-two .sg-events__event-bottom-bar {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.sg-events--list-two .sg-events__event-ticket-link {
    display: block;
    font-size: 20px;
    width: 180px;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    transition: .2s color ease, .2s background-color ease;
    margin-top: 15px;
}

.sg-events--list-two .sg-events__event-age-restriction {
    font-size: 12px;
    font-style: italic;
}

/* ==========================================================================
   LIST-TWO VIEW - RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 768px) {
    .sg-events--list-two .sg-events__event {
        width: calc(50% - 7.5px);
        margin-right: 15px;
    }

    .sg-events--list-two .sg-events__event:nth-child(2n) {
        margin-right: 0;
    }
}

@media (min-width: 960px) {
    .sg-events--list-two .sg-events__event {
        width: 100%;
        margin-right: 0;
    }

    .sg-events--list-two .sg-events__event > article {
        flex-direction: row;
    }

    .sg-events--list-two .sg-events__event-left-bar {
        max-width: 30%;
    }

    .sg-events--list-two .sg-events__event-details {
        max-width: 70%;
    }

    .sg-events--list-two .sg-events__event-bottom-bar {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   LIST-SIMPLE VIEW
   ========================================================================== */
.sg-events--list-simple .sg-events__event {
    width: 100%;
    border-bottom: 1px solid;
    padding: 30px 15px;
}

.sg-events--list-simple .sg-events__event-date {
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.sg-events--list-simple .sg-events__event-title {
    font-size: 24px;
    font-weight: 700;
}

.sg-events--list-simple .sg-events__event-title-link {
    text-decoration: none;
}

/* ==========================================================================
   CALENDAR VIEW
   ========================================================================== */
.sg-events--calendar .sg-events--calendar__calendar {
    width: 100%;
}

.sg-events--calendar .sg-events__event {
    padding: 0 15px;
}

.sg-events--calendar .sg-events__event-title {
    font-size: 16px;
    font-weight: 700;
    white-space: normal;
    transition: .2s opacity ease;
}

.sg-events--calendar .sg-events__event:hover .sg-events__event-title {
    opacity: 0.7;
}

.sg-events--calendar .sg-events__event-time {
    font-size: 12px;
}

.sg-events--calendar .sg-events--calendar__calendar .fc-event:hover {
    background: transparent;
}

.sg-events--calendar .fc-toolbar-title {
    font-size: 24px;
}

.sg-events--calendar .fc-button {
    padding: 0.2em 0.325em;
}


/* ==========================================================================
   COLOR THEME / STYLING
   ========================================================================== */
input[type=text].sg-events-filter-bar__search {
    color: #353535;
    border: 1px solid #353535;
}

.sg-events-group-select__group-button {
    background-color: #353535;
    color: #FFFFFF;
}

.sg-events-group-select__group-button--is-active {
    background-color: #B74545;
    color: #FFFFFF;
}

.sg-events-group-select__group-button:hover,
.sg-events-group-select__group-button:focus {
    background-color: #6F6F6f;
    color: #FFFFFF;
}

.sg-events--list .sg-events__event-date,
.sg-events--list-two .sg-events__event-date {
    background-color: #353535;
    color: #FFFFFF;
}

.sg-events--list .sg-events__event-details,
.sg-events--grid .sg-events__event-details,
.sg-events--list-two .sg-events__event-details {
    background-color: #E4E4E4;
    color: #3C3C3C;
}

.sg-events--list .sg-events__event-title-link,
.sg-events--list-simple .sg-events__event-title-link {
    color: #353535;
}

.sg-events--list .sg-events__event-top-bar {
    color: #3C3C3C;
}

.sg-events--list .sg-events__event-age-restriction {
    color: #121212;
}

.sg-events--list .sg-events__event-ticket-link,
.sg-events--list-two .sg-events__event-ticket-link {
    background-color: #B74545;
    color: #FFFFFF;
}

.sg-events--list .sg-events__event-ticket-link:hover,
.sg-events--list .sg-events__event-ticket-link:focus,
.sg-events--list-two .sg-events__event-ticket-link:hover,
.sg-events--list-two .sg-events__event-ticket-link:focus {
    background-color: #6F6F6f;
    color: #FFFFFF;
}

.sg-events--grid .sg-events__event-date {
    color: #353535;
}

.sg-events--grid .sg-events__event-ticket-link {
    background-color: #B74545;
    color: #FFFFFF;
}

.sg-events--grid .sg-events__event-ticket-link:hover,
.sg-events--grid .sg-events__event-ticket-link:focus {
    background-color: #6F6F6f;
    color: #FFFFFF;
}

.sg-events--list-simple .sg-events__event-details {
    color: #353535;
}


/* Search */

.sg-events-search {
    width: 100%;
    font-size: 18px;
    color: #353535;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

.sg-events-search .sg-events-search__inner {
    border: 1px solid #353535;
    background: #FFFFFF;
    position: relative;
}

.sg-events-search .sg-events-search__input {
    width: 100%;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
    padding: 10px 50px 10px 10px;
    background: transparent;
}

.sg-events-search .sg-events-search__input:focus {
    outline: none;
}

.sg-events-search button.sg-events-search__submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    outline: none;
    padding: 0 0 0 10px;
    margin: 0;
    background: transparent !important;
}

/* ==========================================================================
   NO RESULTS VIEW
   ========================================================================== */
.sg-events--no-results {
    padding-left: 15px;
    padding-right: 15px;
}

/* ==========================================================================
   NO EVENTS VIEW
   ========================================================================== */
.sg-events--no-events {
    padding-left: 15px;
    padding-right: 15px;
}

/* ==========================================================================
   ERROR VIEW
   ========================================================================== */
.sg-events--error {
    padding-left: 15px;
    padding-right: 15px;
}

/* ==========================================================================
   SLIDER VIEW
   ========================================================================== */
.sg-events--slider {
    position: relative;
}

.sg-events--slider .sg-events--slider__viewport {
    overflow: hidden;
    width: 100%;
}

.sg-events--slider .sg-events--slider__container {
    display: flex;
}

.sg-events--slider .sg-events--slider__slide {
    flex: 0 0 100%;
    min-width: 0;
    margin-right: 15px;
}

.sg-events--slider .sg-events--slider__event {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 16:9 Aspect Ratio */
.sg-events--slider .sg-events--slider__image-container[data-aspect-ratio="16:9"]::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 9/16 = 0.5625 */
}

.sg-events--slider .sg-events--slider__background[data-aspect-ratio="16:9"]::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 9/16 = 0.5625 */
}

/* 4:3 Aspect Ratio */
.sg-events--slider .sg-events--slider__image-container[data-aspect-ratio="4:3"]::before {
    content: '';
    display: block;
    padding-top: 75%; /* 3/4 = 0.75 */
}

.sg-events--slider .sg-events--slider__background[data-aspect-ratio="4:3"]::before {
    content: '';
    display: block;
    padding-top: 75%; /* 3/4 = 0.75 */
}

/* 3:2 Aspect Ratio */
.sg-events--slider .sg-events--slider__image-container[data-aspect-ratio="3:2"]::before {
    content: '';
    display: block;
    padding-top: 66.67%; /* 2/3 = 0.6667 */
}

.sg-events--slider .sg-events--slider__background[data-aspect-ratio="3:2"]::before {
    content: '';
    display: block;
    padding-top: 66.67%; /* 2/3 = 0.6667 */
}

/* 1:1 Aspect Ratio */
.sg-events--slider .sg-events--slider__image-container[data-aspect-ratio="1:1"]::before {
    content: '';
    display: block;
    padding-top: 100%; /* 1/1 = 1 */
}

.sg-events--slider .sg-events--slider__background[data-aspect-ratio="1:1"]::before {
    content: '';
    display: block;
    padding-top: 100%; /* 1/1 = 1 */
}

/* 21:9 Aspect Ratio */
.sg-events--slider .sg-events--slider__image-container[data-aspect-ratio="21:9"]::before {
    content: '';
    display: block;
    padding-top: 42.86%; /* 9/21 = 0.4286 */
}

.sg-events--slider .sg-events--slider__background[data-aspect-ratio="21:9"]::before {
    content: '';
    display: block;
    padding-top: 42.86%; /* 9/21 = 0.4286 */
}

/* 2:1 Aspect Ratio */
.sg-events--slider .sg-events--slider__image-container[data-aspect-ratio="2:1"]::before {
    content: '';
    display: block;
    padding-top: 50%; /* 1/2 = 0.5 */
}

.sg-events--slider .sg-events--slider__background[data-aspect-ratio="2:1"]::before {
    content: '';
    display: block;
    padding-top: 50%; /* 1/2 = 0.5 */
}

/* 3:4 Aspect Ratio */
.sg-events--slider .sg-events--slider__image-container[data-aspect-ratio="3:4"]::before {
    content: '';
    display: block;
    padding-top: 133.33%; /* 4/3 = 1.3333 */
}

.sg-events--slider .sg-events--slider__background[data-aspect-ratio="3:4"]::before {
    content: '';
    display: block;
    padding-top: 133.33%; /* 4/3 = 1.3333 */
}

.sg-events--slider .sg-events--slider__image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sg-events--slider .sg-events--slider__image-container::before {
    content: '';
    display: block;
    height: 0;
}

.sg-events--slider .sg-events--slider__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px);
    transform: scale(1.1);
    z-index: 1;
}

.sg-events--slider .sg-events--slider__prev,
.sg-events--slider .sg-events--slider__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #E4E4E4;
    color: #E4E4E4;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    outline-offset: 0;
}

.sg-events--slider .sg-events--slider__prev:hover,
.sg-events--slider .sg-events--slider__next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.sg-events--slider .sg-events--slider__prev {
    left: 16px;
}

.sg-events--slider .sg-events--slider__next {
    right: 16px;
}

.sg-events--slider .sg-events--slider__prev:disabled,
.sg-events--slider .sg-events--slider__next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.sg-events--slider .sg-events--slider__prev:disabled:hover,
.sg-events--slider .sg-events--slider__next:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
}


.sg-events--slider .sg-events--slider__image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    outline: none !important;
    z-index: 2;
}

.sg-events--slider .sg-events--slider__image-container .sg-events__event-featured-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.sg-events--slider .sg-events--slider__image-container .sg-events__event-featured-image-link {
    background: none !important;
    color: transparent !important;
    outline: none !important;
    border: none !important;
}

.sg-events--slider .sg-events__event-details {
    padding: 20px;
    background: #353535;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.sg-events--slider .sg-events--slider__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   SLIDER VIEW - IMAGE POSITIONING & FIT
   ========================================================================== */

/* Image fit: contain */
.sg-events--slider .sg-events--slider__event[data-image-fit="contain"] .sg-events--slider__image-container img {
    object-fit: contain;
}

/* Image fit: cover (default) */
.sg-events--slider .sg-events--slider__event[data-image-fit="cover"] .sg-events--slider__image-container img {
    object-fit: cover;
}

/* Image positioning */
.sg-events--slider .sg-events--slider__event[data-image-position="center"] .sg-events--slider__image-container img {
    object-position: center center;
}

.sg-events--slider .sg-events--slider__event[data-image-position="top"] .sg-events--slider__image-container img {
    object-position: center top;
}

.sg-events--slider .sg-events--slider__event[data-image-position="bottom"] .sg-events--slider__image-container img {
    object-position: center bottom;
}

.sg-events--slider .sg-events--slider__event[data-image-position="left"] .sg-events--slider__image-container img {
    object-position: left center;
}

.sg-events--slider .sg-events--slider__event[data-image-position="right"] .sg-events--slider__image-container img {
    object-position: right center;
}

.sg-events--slider .sg-events--slider__event[data-image-position="top-left"] .sg-events--slider__image-container img {
    object-position: left top;
}

.sg-events--slider .sg-events--slider__event[data-image-position="top-right"] .sg-events--slider__image-container img {
    object-position: right top;
}

.sg-events--slider .sg-events--slider__event[data-image-position="bottom-left"] .sg-events--slider__image-container img {
    object-position: left bottom;
}

.sg-events--slider .sg-events--slider__event[data-image-position="bottom-right"] .sg-events--slider__image-container img {
    object-position: right bottom;
}


/* ==========================================================================
   LIST CONCERT VIEW
   All selectors are scoped to .sg-events--list-concert and use the
   .sg-lc-* prefix so this view's styles never bleed into other views,
   even when multiple views appear on the same page.
   ========================================================================== */

/* ---- Wrapper: full width, max 1400px ---- */
.sg-events--list-concert {
    width: 100%;
    max-width: 1400px;
}

/* ---- Column header row ---- */
.sg-events--list-concert .sg-lc-header {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 64px 120px;
    gap: 0 16px;
    padding: 0 20px 10px;
    border-bottom: 2px solid currentColor;
    opacity: 0.5;
}

.sg-events--list-concert .sg-lc-header__cell {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sg-events--list-concert .sg-lc-header__cell--age {
    text-align: center;
}

/* ---- Event rows ---- */
.sg-events--list-concert .sg-events__inner {
    flex-direction: column;
}

.sg-events--list-concert .sg-events__event {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sg-events--list-concert .sg-events__event:last-child {
    border-bottom: none;
}

/* ---- Alternating row stripe ---- */
.sg-events--list-concert .sg-events__event:nth-child(odd) .sg-lc-row {
    background-color: #ffffff;
}

.sg-events--list-concert .sg-events__event:nth-child(even) .sg-lc-row {
    background-color: #f7f7f7;
}

/* ---- Hover overrides stripe ---- */
.sg-events--list-concert .sg-events__event:hover .sg-lc-row {
    background-color: #ededee;
}

/* ---- Row layout: date | details(2fr) | venue(1fr) | age | tickets ---- */
.sg-events--list-concert .sg-lc-row {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 64px 120px;
    gap: 0 16px;
    align-items: center;
    padding: 14px 20px;
    transition: background-color 0.12s ease;
    text-decoration: none;
    color: inherit;
}

/* ---- Date cell ---- */
.sg-events--list-concert .sg-lc-row__date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    align-self: center;
}

.sg-events--list-concert .sg-lc-row__day-of-week {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.5;
}

.sg-events--list-concert .sg-lc-row__date-digits {
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ---- Details cell: 2fr gives it the most room ---- */
.sg-events--list-concert .sg-lc-row__details {
    min-width: 0;
    align-self: center;
}

.sg-events--list-concert .sg-lc-row__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}

.sg-events--list-concert .sg-lc-row__title-link {
    color: inherit;
    text-decoration: none;
}

.sg-events--list-concert .sg-lc-row__title-link:hover,
.sg-events--list-concert .sg-lc-row__title-link:focus {
    text-decoration: underline;
}

.sg-events--list-concert .sg-lc-row__supporting-artists {
    margin: 3px 0 0;
    font-size: 12px;
    opacity: 0.65;
    white-space: normal;
    word-break: break-word;
}

/* ---- Venue cell: 1fr ---- */
.sg-events--list-concert .sg-lc-row__venue {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    align-self: center;
}

.sg-events--list-concert .sg-lc-row__venue-name {
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-events--list-concert .sg-lc-row__venue-city {
    font-size: 11px;
    opacity: 0.55;
}

/* ---- Age badge: always vertically centered with the title ---- */
.sg-events--list-concert .sg-lc-row__age {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.sg-events--list-concert .sg-lc-row__age-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 3px 7px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    white-space: nowrap;
}

/* ---- Ticket link ---- */
.sg-events--list-concert .sg-lc-row__tickets {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
}

.sg-events--list-concert .sg-lc-row__ticket-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 6px 14px;
    border: 2px solid currentColor;
    border-radius: 3px;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.sg-events--list-concert .sg-lc-row__ticket-link:hover,
.sg-events--list-concert .sg-lc-row__ticket-link:focus {
    background-color: currentColor;
}

.sg-events--list-concert .sg-lc-row__ticket-link:hover span,
.sg-events--list-concert .sg-lc-row__ticket-link:focus span {
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE — list-concert
   Breakpoints:
   - >860px  : full 5-col desktop layout
   - 580-860 : drop venue city text, keep all columns including age
   - <580px  : 3-col mobile: date | (title+venue+age stacked) | tickets
   ========================================================================== */

/* ---- Tablet: tighten up, hide venue city sub-line ---- */
@media (max-width: 860px) {
    .sg-events--list-concert .sg-lc-header {
        grid-template-columns: 90px 2fr 1fr 56px 100px;
        gap: 0 12px;
        padding: 0 16px 10px;
    }

    .sg-events--list-concert .sg-lc-row {
        grid-template-columns: 90px 2fr 1fr 56px 100px;
        gap: 0 12px;
        padding: 12px 16px;
    }

    .sg-events--list-concert .sg-lc-row__venue-city {
        display: block;
    }
}

/* ---- Mobile: collapse to 3 cols, stack content vertically ---- */
@media (max-width: 580px) {
    .sg-events--list-concert .sg-lc-header {
        display: none;
    }

    /* 3 columns: date | middle | tickets */
    .sg-events--list-concert .sg-lc-row {
        grid-template-columns: 72px 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 0 12px;
        padding: 12px 14px;
        align-items: start;
    }

    /* Date: left column, spans all 3 rows, centered vertically */
    .sg-events--list-concert .sg-lc-row__date {
        grid-column: 1;
        grid-row: 1 / 4;
        align-self: center;
    }

    /* Row 1: artist title + supporting */
    .sg-events--list-concert .sg-lc-row__details {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }

    /* Row 2: venue name (no city on mobile) */
    .sg-events--list-concert .sg-lc-row__venue {
        grid-column: 2;
        grid-row: 2;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        margin-top: 3px;
        align-self: start;
    }

    .sg-events--list-concert .sg-lc-row__venue-name {
        font-size: 11px;
        opacity: 0.65;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sg-events--list-concert .sg-lc-row__venue-city {
        font-size: 10px;
        opacity: 0.5;
        display: block;
    }

    /* Row 3: age badge */
    .sg-events--list-concert .sg-lc-row__age {
        grid-column: 2;
        grid-row: 3;
        display: flex;
        justify-content: flex-start;
        margin-top: 4px;
        align-self: start;
    }

    .sg-events--list-concert .sg-lc-row__age-badge {
        font-size: 9px;
        padding: 2px 6px;
    }

    /* Tickets: right column, spans all 3 rows, centered vertically */
    .sg-events--list-concert .sg-lc-row__tickets {
        grid-column: 3;
        grid-row: 1 / 4;
        align-self: center;
    }

    .sg-events--list-concert .sg-lc-row__ticket-link {
        font-size: 10px;
        padding: 5px 10px;
        letter-spacing: 0.04em;
    }
}
