.aem-single-event {
    max-width: 1200px;
    margin: 0 auto;
}

.aem-event-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    padding: 10px;
    background-color: #fff;
}

.aem-calendar-leaf {
    min-width: 106px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aem-calendar-month {
    background-color: #ee922c;
    color: white;
    padding: 0.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.aem-calendar-day {
    background-color: white;
    color: #333;
    padding: 1rem;
    font-size: 2.5rem;
    font-weight: bold;
}

.aem-event-header-content {
    flex: 1;
}

.aem-event-header-content h1 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    color: #333;
}

.aem-event-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.125rem !important;
}

.aem-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    margin-bottom: 0;
}

.aem-meta-item .dashicons {
    color: #ee922c;
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
}

.aem-event-image {
    margin: 2rem 0;
    overflow: hidden;
    display:flex;
    justify-content:center;
}

.aem-event-image img {
    max-width:900px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.aem-event-content {
    line-height: 1.6;
}

.aem-event-content p {
    margin-bottom: 1.5rem;
}

.aem-event-content h1,
.aem-event-content h2,
.aem-event-content h3,
.aem-event-content h4,
.aem-event-content h5,
.aem-event-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.aem-event-content ul,
.aem-event-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.aem-event-content li {
    margin-bottom: 0.5rem;
}

.aem-event-footer {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.aem-footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.aem-footer-main-info,
.aem-footer-location-info {
    flex: 1;
    min-width: 300px;
}

.aem-footer-location-info {
    border-left: 1px solid #e0e0e0;
    padding-left: 2rem;
}

.aem-footer-location-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.aem-footer-meta-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: baseline;
}

.aem-footer-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.aem-footer-meta-item:first-child {
    padding-top: 0;
}

.aem-footer-meta-label {
    font-weight: 600;
    color: #333;
    min-width: 120px;
    margin-right: 1rem;
}

.aem-footer-meta-value {
    color: #666;
}

.aem-footer-meta-value a {
    color: #0073aa;
    text-decoration: none;
}

.aem-footer-meta-value a:hover {
    color: #00a0d2;
    text-decoration: underline;
}

/* Package Price Info Styles */
.aem-package-price-info {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e0e0e0;
}

.aem-package-price-info h3 {
    color: #333;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.aem-package-price-info .price {
    font-size: 1.5rem;
    color: #ee922c;
    font-weight: bold;
    margin: 0.5rem 0;
}

.aem-package-price-info .price-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.aem-package-price-info .price-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.aem-package-price-info .price-note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

.aem-package-price-info .price-info {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.aem-package-price-info .price-info p {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.aem-package-price-info .price-info p:last-child {
    margin-bottom: 0;
}

.aem-package-price-info .price-info strong {
    color: #333;
}

.aem-package-price-info .price-info a {
    color: #ee922c;
    text-decoration: none;
}

.aem-package-price-info .price-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .aem-event-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .aem-event-meta {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .aem-meta-item {
        flex-direction: row;
        align-items: center;
    }

    .aem-footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .aem-footer-location-info {
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .aem-footer-meta-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .aem-footer-meta-label {
        min-width: auto;
        margin-right: 0;
    }

    .aem-event-header-content h1 {
        font-size: 1.5rem;
        text-align: center;
    }
}