/* Frontend Styles for Featured Event Display */

/* Individual Shortcode Elements */
.featured-event-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.featured-event-date {
    color: #555;
    font-size: 16px;
}

.featured-event-distance {
    color: #555;
    font-size: 16px;
}

.featured-event-link {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.featured-event-link:hover {
    background: #005177;
    color: #fff;
    text-decoration: none;
}

.featured-event-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Complete Event Card */
.featured-event {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.featured-event-image {
    width: 100%;
    overflow: hidden;
}

.featured-event-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-event:hover .featured-event-image img {
    transform: scale(1.05);
}

.featured-event-content {
    padding: 25px;
}

.featured-event-title {
    margin: 0 0 20px 0;
    font-size: 28px;
    color: #333;
    font-weight: 700;
    line-height: 1.3;
}

.featured-event-date,
.featured-event-distance {
    margin-bottom: 12px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.featured-event-date strong,
.featured-event-distance strong {
    color: #333;
    font-weight: 600;
}

.featured-event-register {
    margin-top: 20px;
}

.featured-event-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.featured-event-button:hover {
    background: #005177;
    color: #fff;
    text-decoration: none;
}

.featured-event-button:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .featured-event-content {
        padding: 20px;
    }
    
    .featured-event-title {
        font-size: 24px;
    }
    
    .featured-event-date,
    .featured-event-distance {
        font-size: 14px;
    }
    
    .featured-event-button {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .featured-event-name {
        font-size: 20px;
    }
}

/* Alternative Layout Option (if needed) */
@media screen and (min-width: 768px) {
    .featured-event.featured-event-horizontal {
        display: flex;
    }
    
    .featured-event-horizontal .featured-event-image {
        width: 40%;
        flex-shrink: 0;
    }
    
    .featured-event-horizontal .featured-event-content {
        width: 60%;
    }
}
