/* Main Container */

/* Add these to your existing CSS */

.event-location a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-location a:hover {
    color: #3f51b5;
    text-decoration: underline;
}

#location-fields {
    margin-bottom: 15px;
    border-left: 3px solid #eee;
    padding-left: 12px;
}

/* Make the location URL field full width */
#location-fields .components-base-control {
    width: 100%;
}


.event-calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Event Card */
.event-card {
  
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: white;
    border:1px solid #A5B7BA;
}

.event-card-header {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    cursor: pointer;
}

.event-image {
    flex: 0 0 200px;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 50px;
}

.event-content {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
    position: relative;
}

.event-type-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.event-type-badge.inperson { background: #ffffff;
    color: #143f61;
    border: 1px solid #143f61;
    border-radius: 0;
    font-family: "Lato", Sans-serif;}
.event-type-badge.online { background: #ffffff;
    color: #143f61;
    border: 1px solid #143f61;
    border-radius: 0;
    font-family: "Lato", Sans-serif; }
.event-type-badge.hybrid {background: #ffffff;
    color: #143f61;
    border: 1px solid #143f61;
    border-radius: 0;
    font-family: "Lato", Sans-serif;}

.event-content h3 {
    margin: 0 0 15px 0;
    font-size: 36px;
    color: #333;
    font-family: "Lato", Sans-serif;
}

.event-meta {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.event-meta span {
    color: #666;
    font-size: 14px;
}

.event-meta i {
    margin-right: 5px;
    width: 16px;
    text-align: center;
}

/* Buttons */
.event-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
}

.btn-register, .btn-read-more, .btn-toggle-details {
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-register {
    background: #3f51b5;
    color: white;
}

.btn-register:hover {
    background: #303f9f;
}

.btn-read-more {
   color: #004062;
    background-color: #ffffff;
    transition-duration: 0.1s !important;
    padding: 8px 35px 8px 35px;
    border-style: none;
    border-radius: 2px 2px 2px 2px;
    text-decoration:none !important;
    transition: background 0.3s ease;
    border:1px solid #004062;
}

.btn-read-more:hover {
    color: #ffffff;
    background: #004062;
}
.btn-read-more:focus {
    color: #ffffff  !important;
    background: #004062 !important;
}
.btn-toggle-details {
    
    color: #666;
    font-size: 16px;
    padding: 5px 10px;
    margin-left: auto;
}
.btn-toggle-details:hover{
background-color: #722833 !important;
}
/* Event Details */
.event-card-details {
    padding: 0 30px 30px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    display: none;
}

.event-description {
    padding: 20px 0;
}

.btn-download-agenda {
   color: #ffffff;
    background-color: #004062;
    transition-duration: 0.1s !important;
    padding: 8px 35px 8px 35px;
    border-style: none;
    border-radius: 2px 2px 2px 2px;
    text-decoration:none !important;
    transition: background 0.3s ease;
}

.btn-download-agenda:hover {
     color: #ffffff;
    background: #772432;
}









/* Single Event Styles */
.event-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.event-header {
    margin-bottom: 40px;
    text-align: center;
}

.event-title {
    margin: 20px 0;
    font-size: 2.5rem;
    color: #333;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-featured-image {
    margin: 0 auto 30px;
    max-width: 800px;
}

.event-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.event-description {

    line-height: 1.6;
}

.event-registration {
    text-align: center;
    margin-top: 40px;
}

.btn-register {
   color: #ffffff;
    background-color: #004062;
    transition-duration: 0.1s !important;
    padding: 8px 35px 8px 35px;
    border-style: none;
    border-radius: 2px 2px 2px 2px;
    text-decoration:none !important;
    transition: background 0.3s ease;
}

.btn-register:hover {
    color: #ffffff;
    background: #772432;
}

/* Responsive */
@media (max-width: 768px) {
    .event-title {
        font-size: 2rem;
    }
    
    .event-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}





.event-share-buttons {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-share-buttons span {
    font-size: 14px;
    color: #666;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .event-card-header {
        flex-direction: column;
    }
    
    .event-image {
        flex: 0 0 auto;
        height: auto;
        max-height: 200px;
        margin-bottom: 15px;
    }
    
    .event-content {
        padding: 0;
    }
    
    .event-actions {
        justify-content: flex-start;
    }
    
    .btn-toggle-details {
        margin-left: 0;
    }
}