.aem-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.aem-filter select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
    background-color: white;
}

.aem-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.aem-event-card {
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
    margin-bottom: 0px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.aem-event-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.aem-event-header {
    padding: 0.5rem 1.5rem;
    background: var(--event-color, #000);
    color: var(--event-text-color, #fff);
	margin-bottom:20px !important;
}

.aem-event-date-time {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
}

.aem-event-date-time:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.aem-event-date {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 0px;
}

.aem-event-time {
    font-size: 17px;
    margin-bottom: 0px;
}

.aem-event-locations {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding-top: 0px;
    border-top: none;
}

.aem-event-locations .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.aem-event-image {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.aem-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aem-event-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.aem-event-title {
    margin: 0px;
    font-size: 21px !important;
    line-height: 1.4;
    color: #000;
    font-weight: bold !important;
}

.aem-event-excerpt {
    margin-top: 0px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Special tags */
.aem-event-tag {
    position: absolute;
    top: 15px;
    right: -35px;
    background: #e74c3c;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
}

/* Event label ribbon */
.aem-event-label {
    position: absolute;
    right: -35px;
    background: #D93D03;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 999;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.aem-event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.aem-event-card-link:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: inherit;
    z-index: 999999;
}

.aem-event-card-link:hover .aem-event-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media screen and (max-width: 782px) {
    .aem-filters {
        flex-direction: column;
        gap: 10px;
    }

    .aem-filter select {
        width: 100%;
    }

    .aem-events-grid {
        grid-template-columns: 1fr;
    }

    .aem-event-label {
        font-size: 0.7em;
        padding: 4px 30px;
        right: -30px;
        top: 12px;
    }
}

.aem-single-event {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 13px !important;
    margin-top: 100px;
    position: relative;
    z-index: 1;
}

.aem-event-main {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.aem-event-main .aem-event-title {
    font-size: 45px !important;
    margin-bottom: 1em !important;
    font-weight: 400 !important;
    color: #fff;
}

.aem-event-featured-image {
    margin-bottom: 30px;
    width: 100%;
}

.aem-event-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.aem-event-content {
    margin-top: 30px;
    line-height: 1.6;
    color: #fff;
}

.aem-event-content p {
    margin-bottom: 1.5em;
}
.aem-event-card .aem-event-content {
    margin-top: 0px;
    line-height: 1.6;
    color: #fff;
    padding-bottom: 0px;
}

.aem-event-sidebar {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 30px;
}

.aem-event-prices {
    margin-bottom: 40px;
}

.aem-event-prices h3 {
    font-size: 20px !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}

.aem-event-price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.aem-event-location {
    margin-top: 40px;
}

.aem-event-location h3,
.aem-event-organizer h3,
.aem-event-dates h3 {
    font-size: 20px !important;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
}

.aem-location-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.aem-location-name,
.aem-organizer-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.aem-location-address {
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
}

.aem-event-organizer {
    margin-top: 40px;
}

.aem-event-share {
    margin-top: 40px;
}

.aem-event-share h3 {
    font-size: 20px !important;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
}

.aem-share-buttons {
    display: flex;
    gap: 10px;
}

.aem-share-button {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.aem-share-button:hover {
    background: rgba(255,255,255,0.2);
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .aem-single-event {
        grid-template-columns: 1fr;
    }

    .aem-event-main {
        padding-right: 0;
    }

    .aem-event-title {
        font-size: 2em;
    }
} 