/* Event Frontend Styles */

/* Events List */
.ih-events-list {
    margin: 20px 0;
}

.ih-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Event Card */
.ih-event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.ih-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Event Image */
.ih-event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ih-event-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.ih-event-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e6a500, #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ih-event-placeholder-icon {
    font-size: 48px;
    opacity: 0.8;
}

/* Event Categories */
.ih-event-categories {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #FFFFFF;
}

.ih-event-category {
    /* background: rgba(0, 0, 0, 0.8); */
    color: #e6a500;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Event Content */
.ih-event-content {
    padding: 20px;
    display: flex;
    gap: 15px;
}

.ih-event-date {
    flex-shrink: 0;
    text-align: center;
    background: linear-gradient(135deg, #e6a500, #ff8c00);
    color: white;
    border-radius: 8px;
    padding: 12px 8px;
    min-width: 60px;
}

.ih-event-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.ih-event-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.ih-event-details {
    flex: 1;
}

.ih-event-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.ih-event-title a {
    color: #1d2327;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ih-event-title a:hover {
    color: #e6a500;
}

/* Event Meta */
.ih-event-meta {
    margin-bottom: 12px;
}

.ih-event-meta > div {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
    color: #666;
}

.ih-event-icon {
    margin-right: 6px;
    font-size: 12px;
}

.ih-event-description {
    color: #666;
    line-height: 1.5;
    margin: 12px 0;
}

/* Event Actions */
.ih-event-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ih-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.ih-btn-primary {
    background: linear-gradient(135deg, #e6a500, #ff8c00);
    color: white;
}

.ih-btn-primary:hover {
    background: linear-gradient(135deg, #cc9400, #e67e00);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 165, 0, 0.3);
}

.ih-btn-secondary {
    background: transparent;
    color: #e6a500;
    border: 2px solid #e6a500;
}

.ih-btn-secondary:hover {
    background: #e6a500;
    color: white;
}

/* No Events */
.ih-no-events {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.ih-no-events-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.ih-no-events h3 {
    margin: 0 0 10px 0;
    color: #1d2327;
}

/* Upcoming Events Widget */
.ih-upcoming-events {
    
    padding: 25px;
    margin: 20px 0;
}

.ih-upcoming-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3d2817;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #3d2817, #e6a500);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ih-upcoming-description{
    text-align: center;
    color: #666;
    margin: 0 0 2rem 0;
}

.ih-upcoming-list {
    display: flex;
    gap: 15px;
}
.ih-upcoming-events-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.ih-upcoming-event-card{
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.ih-upcoming-event-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid #e6a500;
}

.ih-upcoming-event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ih-upcoming-image {
    flex-shrink: 0;
}

.ih-upcoming-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.ih-upcoming-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e6a500, #ff8c00);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ih-upcoming-content {
    padding: 0 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.ih-upcoming-card-title{
    margin: 0;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.ih-upcoming-card-title a{
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}



.ih-upcoming-title a {
    color: #1d2327;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ih-upcoming-title a:hover {
    color: #e6a500;
}

.ih-coming-event-date {
    background: linear-gradient(135deg, #FDB836, #F7A61B);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.ih-upcoming-date {
    font-weight: 600;
}
.ih-coming-event-day{
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}
.ih-coming-event-month{

    font-size: 1.2rem;
    text-transform: uppercase;
}

.ih-upcoming-category {
    background: #e6a500;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.ih-upcoming-footer {
    margin-top: 20px;
    text-align: center;
}

.ih-view-all-events {
    color: #e6a500;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.ih-view-all-events:hover {
    color: #cc9400;
}

.ih-no-upcoming {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Pagination */
.ih-events-pagination {
    text-align: center;
    margin-top: 40px;
}

.ih-events-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ih-events-pagination .page-numbers:hover,
.ih-events-pagination .page-numbers.current {
    background: #e6a500;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ih-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ih-event-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .ih-event-date {
        align-self: flex-start;
        min-width: auto;
        padding: 8px 12px;
    }
    
    .ih-event-day {
        font-size: 20px;
    }
    
    .ih-event-actions {
        flex-direction: column;
    }
    
    .ih-btn {
        text-align: center;
    }
    
    .ih-upcoming-event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .ih-upcoming-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ih-upcoming-events {
        padding: 20px 15px;
    }
    
    .ih-event-card {
        margin: 0 -10px;
    }
    
    .ih-events-grid {
        gap: 15px;
    }
}