#fixed-home-site-header {
    position: relative;
    width: 100vw;
    height: 120px;
    left: 0;
    top: 0;
    z-index: 9;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hp-hero {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

#hpHeroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 5;
}

.hero-video-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-video-container .hero-video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-image-container:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

#heroLogo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    margin: 0 auto;
    z-index: 6;
    max-width: 700px;
}

.hero-logo-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-buttons-container {
    position: relative;
    z-index: 6;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

#heroLogo.animating {
    transition: all 0.1s linear;
}

body.hero-animating {
    overflow: hidden;
}

#primary {
    position: relative;
    z-index: 1;
    background-color: #000;
}

.hero-sentinel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
}

#fixed-home-site-header .site-logo,  #fixed-home-site-header .site-logo-text{
  height: 0%;
}

#fixed-home-site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark-green);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100px;
}

#fixed-home-site-header.scrolled .header-center {
  height: 100px;
  padding: 8px 0;
}

#fixed-home-site-header.scrolled .site-logo {
  height: 100%;
    transition: all 0.3s ease;
}

#fixed-home-site-header.scrolled .site-logo-text {
    opacity: 0;
    height: 0;
    transition: all 0.3s ease;
}

#fixed-home-site-header.scrolled .site-logo-icon {
    height: 100%;
}

/* Wrapper for the scrolling effect */
.infinite-scroll-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

/* Container that holds all items */
.infinite-scroll-container {
    display: inline-flex;
    align-items: center;
    gap: 40px; /* Space between text and icons */
    animation: scroll-left 20s linear infinite;
}

/* Duplicate for seamless loop */
.infinite-scroll-container::after {
    content: attr(data-text);
    display: inline-flex;
    align-items: center;
    gap: 40px;
    margin-left: 40px;
}

/* The scrolling animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Make text inline */
.infinite-scroll-container .elementor-widget-text-editor,
.infinite-scroll-container .elementor-widget-heading {
    display: inline-block;
    margin: 0 !important;
}

/* Style the diamond icons */
.infinite-scroll-container .elementor-widget-image {
    display: inline-block;
    width: 20px; /* Adjust size */
    margin: 0 !important;
}

.em-events-slider .e-con-inner {
    width: auto!important;
}

.em-event-title h3.elementor-heading-title {
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    font-family: "ivypresto-display", serif !important;
    color: #ffffff;
}

.em-event-date-time p.elementor-heading-title {
    font-family: "termina", sans-serif !important;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
}

.em-event-button a.elementor-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    cursor: pointer;
    font-family: "termina", sans-serif;
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 0;
    min-width: 200px;
}

.em-event-button a:hover {
    background-color: var(--dark-green);
    color: var(--gold);
}

.em-event-image {
    overflow: hidden;
}

.em-event-image img{
    width: 100%;
    max-width: 450px;
    max-height: 600px;
    aspect-ratio: 3 / 4;
    object-fit: cover; 
    display: block;
    transition: transform 0.4s ease;
}

.em-event-image a:hover img {
    transform: skew(-2deg, -2deg) scale(1.05);
}

.em-events-slider .elementor-swiper-button {
    padding: 10px;
    border-radius: 50%;
    border: 1px solid var(--gold)!important;
    position: relative;
    overflow: hidden;
}

.em-events-slider .elementor-swiper-button svg {
    height: 75px!important;
    width: 75px!important;
}

.em-events-slider .elementor-swiper-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height:100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(0deg, var(--gold), transparent, transparent, transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.em-events-slider .elementor-swiper-button:hover {
    border: none!important;
}

.em-events-slider .elementor-swiper-button:hover::before {
    opacity: 1;
    animation: rotateBorder 1.5s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.em-calendar .elementor-loop-container {
    width: 100%;
}

.em-calendar .e-loop-item {
    width: 100%;
    border-bottom: 1px solid var(--gold);
}

.em-calendar .e-con {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 20px;
    min-height: auto;
}

.em-calendar .e-con.e-flex>.e-con-inner{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 20px 0;
    height: auto;
    flex-grow: 0;
    flex-wrap: wrap;
}

.em-calendar .elementor-widget {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.em-calendar .elementor-widget-wrap {
    height: auto;
    min-height: auto;
}

.em-calendar .elementor-widget-heading {
    flex: 1 1 30%;
    min-width: 200px;
}

.em-calendar .elementor-widget-text-editor {
    flex: 0 0 120px;
    width: 120px;
}

.em-calendar .elementor-widget-button {
    flex: 0 0 120px;
    width: 120px;
}

.em-calendar .elementor-heading-title,
.em-calendar .elementor-widget-text-editor {
    margin: 0 !important;
}

.em-calendar .elementor-button {
    background: transparent!important;
    color: #FFF;
    padding: 0;
    border-radius: 0;
    font-family: "termina", sans-serif;
}

.em-calendar .elementor-button .elementor-button-text {
    font-family: "termina", sans-serif;
    text-transform: uppercase;
    font-size: 14px;
}

.em-calendar .elementor-widget-text-editor {
    font-family: "termina", sans-serif;
    color: #fff;
}

.em-calendar .elementor-heading-title a {
    font-family: "termina", sans-serif;
    color: #fff!important;
    font-family: "ivypresto-display", serif!important;
    letter-spacing: 1px;
    font-weight: 300!important;
}

.em-calendar .elementor-button:hover .elementor-button-text, .em-calendar .elementor-heading-title a:hover {
    color: var(--gold)!important;
    transition: all .3s ease;
}

.artist-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
}

.artist-grid-item {
    position: relative;
    width: calc(33.333% - 40px);
    max-width: 300px;
    margin-bottom: 60px; 
}

.artist-image-container {
    width: 100%;
    padding-bottom: 100%;
    transform: rotate(45deg);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.artist-image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 142%;
    height: 142%;
    object-fit: cover;
    transform: translate(-50%, -50%) rotate(-45deg);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.artist-grid-item a:hover .artist-image-container img {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.15);
}


.artist-name {
    text-align: center;
    margin-top: 25%;
    width: 100%;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.artist-grid-item a:hover .artist-name {
    color: var(--gold);
}

.homepage-hero.elementor-element {
    padding: 0 0 50px;
}

.homepage-hero .elementor-widget-html {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .artist-grid-item {
        width: calc(50% - 40px);
    }
}

@media screen and (min-width: 1024px) {
    .is-safari video {
        display: none!important;
    }
}

@media screen and (max-width: 920px) {
    .hero-buttons-container {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media screen and (max-width: 768px) {
    .homepage-hero.elementor-element {
        padding: 0 0 100px;
    }

    #fixed-home-site-header.scrolled .header-center {
        height: 80px;
    }

    .em-events-slider .elementor-swiper-button svg {
        height: 30px !important;
        width: 30px !important;
    }

    .em-calendar .e-con.e-flex>.e-con-inner{
        text-align: center;
    }
    .em-calendar .elementor-widget-wrap {
        height: auto;
        min-height: auto;
    }

    .em-calendar .elementor-widget-heading { 
        flex: unset;
        width: 100%; 
    }

    .em-calendar .elementor-widget-text-editor {
        flex: unset;
        width: 100%;
    }

    .em-calendar .elementor-widget-button {
        flex: unset;
        width: 100%;
        text-align: center;
    }

    .artist-grid-item {
        width: calc(50% - 40px);
    }
}

@media screen and (max-width: 450px) {
    .hero-buttons-container {
        flex-direction: column;
        margin-bottom: 120px;  
    }

    .artist-grid-item {
        width: calc(50% - 20px);
    }
    
    .artist-grid {
        gap: 20px;
    }
}