/* Event Frontend Styles */

/* Tabs */
.id-event-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
}

.id-event-tabs a {
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.id-event-tabs a.active,
.id-event-tabs a:hover {
    color: #f97d13;
    /* Theme Orange */
    border-bottom-color: #f97d13;
}

/* Grid */
.id-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Card */
.id-event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.id-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.id-event-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.id-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.id-event-card:hover .id-event-image img {
    transform: scale(1.05);
}

.id-event-content {
    padding: 25px;
}

.id-event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.id-event-date-badge span {
    display: block;
    font-size: 1.2em;
    color: #f97d13;
}

.id-event-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    line-height: 1.3;
}

.id-event-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.id-event-content h3 a:hover {
    color: #f97d13;
}

.id-event-meta {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.id-event-meta p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.id-event-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #f97d13;
    color: #fff !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.id-event-btn:hover {
    background: #333;
}

/* Single Event */
.id-single-event-header {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 200px 0;
    color: #fff;
    margin-bottom: 50px;
}

.id-single-event-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.id-single-event-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.id-single-event-header h1 {
    color: #fff !important;
    /* Force white text */
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.id-single-event-header .id-breadcrumb-wrapper {
    margin-top: 15px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
}

/* Breadcrumb Styling */
.id-single-event-header .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
    color: #fff !important;
    display: inline-block;
    /* Inline */
}

.id-single-event-header .woocommerce-breadcrumb a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
}

.id-single-event-header .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* Hide the last item (current page title) in breadcrumb */
.id-single-event-header .woocommerce-breadcrumb span:last-child,
.id-single-event-header .woocommerce-breadcrumb li:last-child {
    display: none;
}

.id-event-details-box {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    line-height: 1.8;
    /* Increased line height */
}

.id-event-details-box div {
    margin-bottom: 5px;
    /* Add space between lines */
}

.id-event-details-box h2 {
    margin-top: 0;
    border-bottom: 2px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.5em;
    /* Ensure good size */
}