.single-event-main {
    padding-bottom: 20px;
}

.event-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    color: var(--color-light-yellow-klu);
}

/* Gutenberg Editor Styling for standard text blocks in single event context */
.editor-styles-wrapper .event-detail-description {
    background-image: url('../images/div-bg-grain.webp');
    background-size: cover;
    padding: 20px;
}

.editor-styles-wrapper .event-detail-description p {
    margin-bottom: 1.5em;
}

.editor-styles-wrapper .event-detail-description h2, 
.editor-styles-wrapper .event-detail-description h3, 
.editor-styles-wrapper .event-detail-description h4 {
    color: var(--color-light-yellow-klu);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-family: var(--font-serif);
}

.event-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-main);
    margin: 0 40px 30px 40px;
    padding: 10px 20px;
    background-image: url('../images/div-bg-grain.webp');
    background-size: contain;
}

.event-type-label, .event-day-label {
    font-size: 1.2rem;
    font-weight: normal;
    text-transform: lowercase;
    margin-bottom: 5px;
}

.event-date-large, .event-time-large {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
}

.header-right {
    text-align: right;
}

.event-detail-content-wrapper {
    padding: 0 40px;
    position: relative;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.3);*/
}

.event-detail-content-inner {
    display: flex;
    align-items: flex-start;
}

.event-detail-image {
    flex: 0 0 45%;
}

.event-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.event-detail-text {
    background-image: url('../images/div-bg-grain.webp');
    background-size: contain;
    background-position: center;
    padding: 10px 30px 40px 30px;
    flex: 1;
}

.event-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2.8rem);
    color: var(--color-light-yellow-klu);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.event-detail-price {
    font-family: var(--font-main);
    font-size: 1.2rem;
    color: var(--color-orange-klu);
    margin-top: -10px;
    margin-bottom: 25px;
    text-transform: lowercase;
}

.event-detail-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.event-detail-description p {
    margin-bottom: 1.5em;
}

.event-detail-description h2, 
.event-detail-description h3, 
.event-detail-description h4 {
    color: var(--color-light-yellow-klu);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-family: var(--font-serif);
}

.event-detail-description ul, 
.event-detail-description ol {
    margin-bottom: 1.5em;
    padding-left: 20px;
}

.event-detail-description li {
    margin-bottom: 0.5em;
}

.event-detail-description a {
    color: var(--color-orange-klu);
    text-decoration: underline;
}

.event-detail-description a:hover {
    color: var(--color-light-yellow-klu);
}

.event-detail-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.presale-button {
    position: relative;
    display: inline-block;
    padding: 10px 25px;
    color: var(--color-dark-grey-klu);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.2rem;
    z-index: 1;
    transform: translateY(-50px);
}

.presale-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background-image: url('../images/button-bg-yellow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0.9;
}

.presale-button:hover::before {
    transform: translate(-50%, -50%) scale(1.05);
    transition: transform 0.2s ease;
}

@media (max-width: 768px) {
    .event-detail-description {
        font-size: 0.9rem;
    }
}
