/* Event List Page Styles */
.event-list-page {
    font-family: 'UD Digi Kyokasho NP', sans-serif;
    background-color: white;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header Section */
.event-list-header {
    background-color: white;
    text-align: center;
    padding: 40px 20px 60px;
}

.event-list-title-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.event-list-intro-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
}

.event-list-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.event-list-description p {
    margin-bottom: 8px;
    position: relative;
}

.event-list-description p:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #EA616F 0px,
        #EA616F 4px,
        transparent 4px,
        transparent 8px
    );
}

.event-list-description p:after:last-child {
    height: 0px!important;
}

/* Courses Section */
.event-list-courses {
    background-color: #EA616F;
    padding: 60px 20px;
}

.event-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Course Container */
.course-container {
    margin-bottom: 80px;
}

.course-container:last-child {
    margin-bottom: 0;
}

/* Course Title */
.course-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.course-title-image {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Course Events Grid */
.course-events {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Event Card */
.event-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    background-image: url('../images/card_background.png');
    background-size: cover;
    background-position: center;
}

.event-card-inner {
    position: relative;
    z-index: 2;
}

/* Event Image */
.event-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Event Title and Subtitle */
.event-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.event-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Event Details */
.event-details {
    text-align: left;
    margin-bottom: 25px;
}

.event-location,
.event-date {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.4;
}

.event-location strong,
.event-date strong {
    color: #333;
}

/* Event Button */
.event-button {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 150px;
    height: 40px;
    border: none;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.event-button:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .event-list-header {
        padding: 30px 15px 40px;
    }
    
    .event-list-title-image {
        max-width: 300px;
        margin-bottom: 20px;
    }
    
    .event-list-intro-text {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .event-list-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .event-list-courses {
        padding: 40px 15px;
    }
    
    .course-container {
        margin-bottom: 60px;
    }
    
    .course-title-image {
        max-width: 250px;
    }
    
    .course-events {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }
    
    .event-card {
        padding: 25px;
    }
    
    .event-image {
        margin-bottom: 15px;
    }
    
    .event-title {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .event-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .event-details {
        margin-bottom: 20px;
    }
    
    .event-location,
    .event-date {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .event-button {
        width: 130px;
        height: 35px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .event-list-header {
        padding: 20px 10px 30px;
    }
    
    .event-list-title-image {
        max-width: 250px;
        margin-bottom: 15px;
    }
    
    .event-list-intro-text {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .event-list-description {
        font-size: 13px;
    }
    
    .event-list-courses {
        padding: 30px 10px;
    }
    
    .course-container {
        margin-bottom: 50px;
    }
    
    .course-title-image {
        max-width: 200px;
    }
    
    .course-events {
        gap: 25px;
        max-width: 350px;
    }
    
    .event-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .event-image {
        margin-bottom: 12px;
    }
    
    .event-title {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .event-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .event-details {
        margin-bottom: 15px;
    }
    
    .event-location,
    .event-date {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .event-button {
        width: 120px;
        height: 32px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .event-list-header {
        padding: 15px 8px 25px;
    }
    
    .event-list-title-image {
        max-width: 200px;
        margin-bottom: 12px;
    }
    
    .event-list-intro-text {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .event-list-description {
        font-size: 12px;
    }
    
    .event-list-courses {
        padding: 25px 8px;
    }
    
    .course-container {
        margin-bottom: 40px;
    }
    
    .course-title-image {
        max-width: 180px;
    }
    
    .course-events {
        gap: 20px;
        max-width: 300px;
    }
    
    .event-card {
        padding: 15px;
        border-radius: 10px;
    }
    
    .event-image {
        margin-bottom: 10px;
    }
    
    .event-title {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .event-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .event-details {
        margin-bottom: 12px;
    }
    
    .event-location,
    .event-date {
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .event-button {
        width: 100px;
        height: 28px;
        font-size: 10px;
    }
} 