/**
 * Events Template Styles
 * 
 * @package WordPress
 * @subpackage Gano Site
 * @since Gano Site 3.0.7
 */

/* Pagination Styles */
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default;
}

/* Event Item Styles */
.blog_medium .post.no_images {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.blog_medium .post.no_images:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post_date {
    flex-shrink: 0;
    text-align: center;
    margin-right: 1.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    min-width: 60px;
}

.post_date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.post_date .month {
    display: block;
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.post_content {
    flex: 1;
}

.post_meta h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.post_meta h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post_meta h2 a:hover {
    color: #337ab7;
}

.metaInfo {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.metaInfo span {
    margin-right: 1rem;
    display: inline-block;
}

.metaInfo i {
    margin-right: 0.5rem;
    color: #999;
}

.metaInfo a {
    color: #337ab7;
    text-decoration: none;
}

.metaInfo a:hover {
    text-decoration: underline;
}

/* Form Styles */
.nus-sidebar-nav {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

#datetime {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog_medium .post.no_images {
        flex-direction: column;
        text-align: center;
    }
    
    .post_date {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .metaInfo span {
        display: block;
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
}

/* No Results Message */
.no-events-message {
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.no-events-message ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.no-events-message li {
    color: #666;
    font-size: 1rem;
}

/* Loading State */
.events-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Error State */
.events-error {
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 1rem 0;
}