/* ======================================
   AGENDA DETAIL PAGE STYLES
   ====================================== */

   .agenda-detail {
    position: relative;
    min-height: 100vh;
}

/* Location map in agenda detail */
.agenda-detail .location-map-container {
	margin: 40px 0;
}

/* Richtext content in floating box (for complaints, house-rules, etc) */
.floating-box-content-richtext {
	text-align: left;
	padding: 30px 0;
}

.floating-box-content-richtext h1,
.floating-box-content-richtext h2,
.floating-box-content-richtext h3,
.floating-box-content-richtext h4,
.floating-box-content-richtext h5,
.floating-box-content-richtext h6 {
	margin-top: 30px;
	margin-bottom: 20px;
	color: var(--white);
}

.floating-box-content-richtext h1:first-child,
.floating-box-content-richtext h2:first-child,
.floating-box-content-richtext h3:first-child,
.floating-box-content-richtext h4:first-child,
.floating-box-content-richtext h5:first-child,
.floating-box-content-richtext h6:first-child {
	margin-top: 0;
}

.floating-box-content-richtext p {
	margin-bottom: 20px;
	line-height: 1.8;
	color: var(--white);
}

.floating-box-content-richtext ul,
.floating-box-content-richtext ol {
	margin-bottom: 20px;
	padding-left: 30px;
	color: var(--white);
}

.floating-box-content-richtext li {
	margin-bottom: 10px;
	line-height: 1.6;
}

.floating-box-content-richtext a {
	color: var(--white);
	text-decoration: underline;
}

.floating-box-content-richtext a:hover {
	color: #ffffff;
}

.floating-box-content-richtext strong {
	font-weight: bold;
}

.floating-box-content-richtext em {
	font-style: italic;
}

.floating-box-content-richtext blockquote {
	border-left: 3px solid #730C0C;
	padding-left: 20px;
	margin: 20px 0;
	font-style: italic;
	color: var(--white);
}

.floating-box-content-richtext table {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
}

.floating-box-content-richtext table td,
.floating-box-content-richtext table th {
	padding: 10px;
	border: 1px solid #730C0C;
	color: var(--white);
}

.floating-box-content-richtext table th {
	background-color: #730C0C;
	font-weight: bold;
}

.agenda-detail::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../../img/overlay-full-page.jpg);
    background-size: contain;
    background-position: center 90%;
    background-repeat: no-repeat;
    filter: blur(13px);
    z-index: -1;
}

.agenda-detail-overlay {
    position: fixed;
    top: 200px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    cursor: pointer;
}

.agenda-detail .container {
    position: relative;
    z-index: 1;
}

.artist-detail .previous-shows-container .grid .grid-item.old-shows {
    opacity: 0.6;
}

.agenda-detail .floating-box {
    border: 2px solid #730C0C;
    padding: 10px;
    background: #330505;
    border-radius: 5px;
    position: relative;
    margin: 50px 0px;
    overflow: hidden;
}

.floating-box-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.floating-box-close-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.floating-box-close-btn .material-icons-outlined {
    color: #330505;
    font-size: 24px;
    font-weight: 700;
}
.agenda-detail .floating-box-content-top {
    height: 400px;
    position: relative;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.agenda-detail .floating-box-content-top-image {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #330505;
}

.agenda-detail .floating-box-content-top-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--floating-image);
    background-size: cover;
    background-position: center;
    filter: blur(38px);
    z-index: 0;
}

.agenda-detail .floating-box-content-top-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(181.06deg, rgba(0, 0, 0, 0) 50%, var(--black) 101.88%);
    pointer-events: none;
    z-index: 2;
}
.agenda-detail .floating-box-content-top img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    object-position: center;
    position: relative;
    z-index: 1;
}
.agenda-detail .floating-box-content-top-title {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10;
}

.agenda-detail .custom-pattern {
    content: "";
    width: calc(100% - 10%);
    height: 28px;
    border: 10px solid #E82626;
    display: block;
    border-top: 0px;
    z-index: 9;
    position: relative;
    margin-top: -19px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    left: 5%;
}
.agenda-detail .custom-pattern:before, .agenda-detail .custom-pattern:after {
    content: "";
    width: calc(5% + 18px);
    border: 10px solid #E82626;
    height: 59px;
    display: block;
    border-bottom: 0px;
    position: absolute;
    background: #330505;
    bottom: -2px;
}
.agenda-detail .custom-pattern:before {
    border-top-right-radius: 5px;
    border-left: 0px;
    left: calc(-5% - 18px);
}
.agenda-detail .custom-pattern:after {
    border-top-left-radius: 5px;
    border-right: 0px;
    right: calc(-5% - 18px);
}

.agenda-detail .floating-box-content-top-title h1 {
    text-align: center;
    padding: 0px 8%;
    font-size: 61px;
}

.agenda-detail .floating-box-custom-title {
    color: var(--white);
    font-size: 27px;
    margin-top: 30px;
    font-weight: 600;
}
.floating-box-genre {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    font-family: 'Crimson Pro', serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    margin-top: 35px;
    z-index: 1;
    font-size: 19px;
    line-height: 1;
}
.floating-box-date-time.musicgenre .floating-box-custom-title {
    margin-top: 0px;
}
.floating-box-genre::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 28px);
    height: calc(100% + 10px);
    background-image: url(../../images/title-textured-background-middle.png);
    background-size: auto 100%;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    z-index: -1;
    opacity: 1;
    filter: grayscale(1);
    opacity: 0.5;
}

.floating-box-content-main-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: start;
    width: 100%;
    margin-top: 40px;
    align-items: center;
}
.floating-box-content-main-program,
.floating-box-content-main-artists {
    text-align: start;
    width: fit-content;
    max-width: 420px;
    margin: 0 auto;
}
.agenda-detail .floating-box-date-time-time {
    font-size: 16px;
    margin-top: -10px;
    font-weight: 400;
    color: #d0d0c4;
    margin-bottom: 30px
}
.agenda-detail .text-highlight,
.agenda-detail .location-map-container {
    margin-left: 0px;
    margin-top: 0px;
    border-radius: 0px;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-bottom: -25px;
}
.agenda-detail .text-highlight {
    margin-bottom: -14px;
    margin-top: 30px;
}
.agenda-detail .text-highlight__text {
    font-size: 42px;
}
.agenda-detail .text-highlight__row:last-child {
    margin-top: -36px;
}

@media (max-width: 767px) {
    .agenda-detail .floating-box-content-top-title {
        position: absolute;
        bottom: 55px;
    }
    .agenda-detail .floating-box-content-top-title h1 {
        font-size: 42px;
    }
    .agenda-detail .floating-box-content-top img {
        object-fit: cover;
    }
    .floating-box-content-main-sections {
        margin-top: 30px;
    }
    .floating-box-content-main-sections .floating-box-custom-title {
        text-align: center;
    }
    .floating-box-content-main-artists {
        text-align: center;
    }
    .floating-box-content-main-artists-list {
        text-align: center;
    }
}
@media (min-width: 768px) {
    .floating-box-content-main-sections {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
    .floating-box-content-main-sections > * {
        flex: 1;
        width: auto;
        max-width: none;
        margin: 0;
    }
    .floating-box-content-main-program {
        flex: 1.2;
    }
    .floating-box-content-main-artists {
        flex: 0.8;
    }
}