/* イベント関連のスタイル */

.events-shortcode {
    margin: 20px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.event-grid-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.event-grid-item .event-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.event-grid-item .event-content {
    padding: 15px;
}

.event-grid-item h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.event-grid-item h4 a {
    color: #333;
    text-decoration: none;
}

.event-grid-item h4 a:hover {
    color: #007cba;
}

.event-grid-item .event-date,
.event-grid-item .event-location {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0;
}

.event-grid-item .event-excerpt {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-list-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    align-items: center;
}

.event-date-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #007cba;
    color: white;
    padding: 10px;
    border-radius: 5px;
    min-width: 60px;
    margin-right: 15px;
}

.event-date-small .date-day {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
}

.event-date-small .date-month {
    font-size: 0.8em;
    line-height: 1;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.event-info h4 a {
    color: #333;
    text-decoration: none;
}

.event-info h4 a:hover {
    color: #007cba;
}

.event-info .event-time,
.event-info .event-location {
    font-size: 0.9em;
    color: #666;
    margin: 2px 0;
}

.event-more-link {
    text-align: center;
    margin-top: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #007cba;
    color: #007cba;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #007cba;
    color: white;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-list-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date-small {
        margin-right: 0;
        margin-bottom: 10px;
    }
} 