.elementor-37065 .elementor-element.elementor-element-d20e7b0{padding:3rem 0rem 3rem 0rem;}.elementor-37065 .elementor-element.elementor-element-a9ea35e{text-align:center;}.elementor-37065 .elementor-element.elementor-element-8fd9a57 > .elementor-widget-container{margin:0rem 0rem 3rem 0rem;}.elementor-37065 .elementor-element.elementor-element-8fd9a57{text-align:center;}/* Start custom CSS for html, class: .elementor-element-1211ac2 *//* Main Page Container */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Center the container on the page */
    padding: 20px; /* Add padding for breathing room */
    display: contents;
}

/* Header Container */
.header-container {
    text-align: center;
    margin-bottom: 30px;
    font-family: "Fjalla One", Sans-serif;
    padding: 20px;
    max-width: 1000px;
}

/* Page Title */
.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: black;
    margin: 0;
}

/* Page Description */
.page-description {
    font-size: 16px;
    font-family: "Noto Sans JP";
    color: black;
    margin-top: 10px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-description {
        font-size: 0.9rem;
    }
}


/* Event Container Styling */
.event-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Event Card Styling */
.event-card {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #ffffff;
    position: relative; /* Allow the date circle to be positioned relative to the card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

/* Image Section */
.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Event Info */
.event-info {
    padding: 15px;
}

/* Event Date Circle Positioned Over the Title */
.event-date {
    background-color: #BD081C;
    color: white;
    font-size: .8rem;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 8%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans JP";
}

/* Event Title */
.event-title h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 40px; /* Space for the date circle above the title */
    color: #333;
    text-align: center;
    font-family: "Fjalla One", Sans-serif;
}

/* Instructor and Location Styling */
.event-instructor-location {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    text-align: center;
}

.event-instructor-location p{
    margin-bottom: 20px;
    margin-top: 20px;
}

.event-instructor-location i {
    color: #BD081C;
    margin-right: 8px;
}

/* Event Description */
.event-description p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
    text-align: center;
    font-family: "Noto Sans JP";
}

/* Button Styling */
.event-button {
    display: inline-block;
    font-family: "Noto Sans JP";
    margin-top: 15px;
    padding: 12px 2px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.event-button:hover {
    background-color: white;
    border: solid 1px black;
    color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* -- RESPONSIVE STYLES -- */

/* For Tablets and smaller screens (up to 1024px) */
@media (max-width: 1024px) {
    .event-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
        gap: 15px;
    }

    .event-card {
        max-width: 100%; /* Ensure cards don't overflow on smaller screens */
    }

    .event-date {
        top: 13px; /* Adjust position of the date circle slightly for smaller screens */
        width: 50px;
        height: 50px;
    }

    .event-title h2 {
        font-size: 1.3rem; /* Slightly smaller title for tablets */
    }

    .event-button {
        font-size: 0.9rem; /* Smaller button text */
    }
}

/* For Mobile screens (up to 768px) */
@media (max-width: 768px) {
    .event-container {
        grid-template-columns: 1fr; /* 1 card per row */
        gap: 10px;
    }

    .event-card {
        max-width: 100%; /* Ensure cards take up full width on mobile */
    }

    .event-date {
        top: 7px; /* Adjust date circle position for mobile */
        left: 4%;
        width: 50px;
        height: 50px;
    }

    .event-title h2 {
        font-size: 1.2rem; /* Smaller title text */
    }

    .event-button {
        font-size: 0.8rem; /* Smaller button text for mobile */
    }
}

/* For Extra Small Screens (up to 480px, like some mobile phones) */
@media (max-width: 480px) {
    .event-container {
        padding: 10px; /* Less padding for very small screens */
    }

    .event-date {
        top: 8px; /* Adjust the date circle further */
        left: 8%;
        width: 45px;
        height: 45px;
        font-size: .8rem; /* Slightly smaller font size for the date */
    }

    .event-title h2 {
        font-size: 1.1rem; /* Smaller title on very small screens */
    }

    .event-button {
        padding: 10px 20px; /* Slightly smaller button for compact mobile screens */
        font-size: 0.8rem;
    }
}/* End custom CSS */