/*
 * 長岡京スイーツ&ブレッド — イベントカード CSS
 * 対象ショートコード: [current_events]
 */

/* =============================================
   グリッドレイアウト
   ============================================= */
.current-events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 8px 0 32px;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* =============================================
   カード本体
   ============================================= */
.event-card {
    background: #FFFDF9;
    border: 1px solid #E8DDD0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(120, 80, 40, 0.12);
}

/* =============================================
   サムネイル画像
   ============================================= */
.event-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* =============================================
   カードコンテンツ
   ============================================= */
.event-card-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

/* =============================================
   イベントタイプバッジ
   ============================================= */
.event-type-tag {
    display: inline-block;
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #7A4F2A;
    background: #F5ECD7;
    border: 1px solid #D4A96A;
    border-radius: 4px;
    padding: 4px 10px;
    width: fit-content;
}

/* =============================================
   タイトル
   ============================================= */
.event-card-content h3 {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.event-card-content h3 a {
    color: #FFF8EE !important;
    text-decoration: none;
    transition: color 0.2s;
}

.event-card-content h3 a:hover {
    color: #F5DEB3 !important;
}

/* =============================================
   区切り線
   ============================================= */
.event-card-content hr {
    border: none;
    border-top: 1px solid #EDE0D0;
    margin: 2px 0;
}

/* =============================================
   メタ情報（日付・価格・定員）
   ============================================= */
.event-date,
.event-price,
.event-capacity {
    font-size: 13px;
    color: #6B5040;
    margin: 0;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

/* アイコン（絵文字） */
.event-date::before {
    content: '📅';
    margin-right: 5px;
    font-size: 13px;
}

.event-price::before {
    content: '💴';
    margin-right: 5px;
    font-size: 13px;
}

.event-capacity::before {
    content: '👥';
    margin-right: 5px;
    font-size: 13px;
}

/* =============================================
   予約ボタン
   ============================================= */
.btn-booking-small {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    background: #7A4F2A;
    color: #FFF8EE;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: background 0.2s ease, transform 0.15s ease;
    border: none;
    cursor: pointer;
}

.btn-booking-small:hover {
    background: #5C3718;
    color: #FFF8EE;
    transform: scale(1.02);
}

/* =============================================
   イベントなし時のメッセージ
   ============================================= */
.no-events-message {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
    color: #8A7060;
    font-size: 14px;
    padding: 32px 24px;
    text-align: center;
    border: 1px dashed #D4BFA0;
    border-radius: 8px;
    background: #FFFDF9;
}

/* =============================================
   レスポンシブ対応
   ============================================= */
@media (max-width: 600px) {
    .current-events-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-card-content {
        padding: 16px 20px 20px;
    }
}

/* =============================================
   イベントタイプ別イラスト
   ============================================= */
.event-illustration-wrap {
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
}

.event-illustration {
    width: 72px;
    height: 72px;
    display: block;
}