/*
Theme Name: 感覚ミュージアムオリジナルテーマ-アーカイブ実装テスト
Theme URI: https://example.com/
Author: Unigraphic
Author URI: https://example.com/
Description: 感覚ミュージアム向けの Bootstrap ベース WordPress テーマ（保守性重視 v2）
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kankaku-thema
*/

/*
 * この style.css は 2 つの役割に絞っています。
 * 1) テーマ情報ヘッダー（WordPress がテーマとして認識するために必要）
 * 2) Bootstrap だけでは足りないサイト固有の最小調整
 *
 * ページ単位の大きな見た目調整は、後で専用 CSS に分離しても構いません。
 */



.page-header {
    margin-bottom: 2rem;
}

.entry-meta {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.875rem;
}

.entry-content > *:last-child,
.entry-summary > *:last-child,
.page-content > *:last-child {
    margin-bottom: 0;
}

.card-title a {
    color: inherit;
}

.card-title a:hover,
.card-title a:focus {
    text-decoration: underline;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    text-decoration: none;
    color: inherit;
}

.pagination .page-numbers.current {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.not-found {
    max-width: 720px;
}

/* =================================
BLOCK-04 : イベント新着 / Event cards
================================= */


.top-event-card__status--scheduled {
    background: #e7f1ff;
    color: #0d6efd;
}

.top-event-card__status--ongoing {
    background: #e8f7ec;
    color: #198754;
}

.top-event-card__status--open {
    background: #e8f7ec;
    color: #198754;
}

.top-event-card__status--closed {
    background: #f1f3f5;
    color: #6c757d;
}

.top-event-card__status--finished {
    background: #f1f3f5;
    color: #6c757d;
}

.top-event-card__status--report {
    background: #fff3cd;
    color: #997404;
}

.top-event-card__category {
    font-size: 0.9rem;
    font-weight: 700;
    color: #495057;
}

.top-event-card__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.top-event-card__title a {
    color: inherit;
    text-decoration: none;
}

.top-event-card__title a:hover,
.top-event-card__title a:focus {
    text-decoration: underline;
}

/* =================================
Event Archive / Taxonomy　　削除OK
================================= */
/*
.archive-event-page__title {
    margin: 0;
}

.archive-event-page__title-en {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.archive-event-page__title-ja {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #6c757d;
}

.archive-event-page__empty {
    color: #6c757d;
}

.archive-event-page__filter-btn.is-active,
.archive-event-page__filter-btn.is-active:hover,
.archive-event-page__filter-btn.is-active:focus {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}
*/




.event-single__body {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.event-single__thumbnail {
	width: 40%;
	flex-shrink: 0;
}

.event-single__content {
	width: 60%;
}

.event-single__image {
	display: block;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 767px) {
	.event-single__body {
		display: block;
	}

	.event-single__thumbnail,
	.event-single__content {
		width: 100%;
	}

	.event-single__thumbnail {
		margin-bottom: 24px;
	}
}

/* =================================
Single Event
================================= */



.event-single__thumbnail {
    width: 100%;
}

.event-single__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
}

.event-single__content {
    min-width: 0;
    font-size: 1rem;
    line-height: 1.9;
}

.event-single__content > *:first-child {
    margin-top: 0;
}

.event-single__content > *:last-child {
    margin-bottom: 0;
}

.event-single__form-button-wrap,
.event-single__back-wrap {
    margin-top: 40px;
}

.event-single__form-button,
.event-single__back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 24px;
    border: 1px solid #212529;
    border-radius: 999px;
    color: #212529;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    background: #fff;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.event-single__form-button:hover,
.event-single__form-button:focus,
.event-single__back-button:hover,
.event-single__back-button:focus {
    background: #212529;
    border-color: #212529;
    color: #fff;
    text-decoration: none;
}


@media (max-width: 991.98px) {
    .event-single__body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 767.98px) {
    .event-single__header {
        margin-bottom: 24px;
    }

    .event-single__form-button,
    .event-single__back-button {
        width: 100%;
    }

    .event-single__form-button-wrap,
    .event-single__back-wrap {
        margin-top: 32px;
    }
}

/* =========================================
Museum Business Calendar
-----------------------------------------
トップページの本日表示 [mbcal_today] と
月間カレンダー [mbcal_monthly_calendar] 用の専用スタイル。
他要素への影響を避けるため、#mbcal-today / #mbcal-calendar-area で限定しています。
========================================= */


/* ================================
月間カレンダー全体
================================ */
/*
#mbcal-calendar-area {
    width: 100%;
    margin: 0;
}

#mbcal-calendar-area .mbcal-calendar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0 0 14px;
}

#mbcal-calendar-area .mbcal-calendar-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

#mbcal-calendar-area .mbcal-nav-prev,
#mbcal-calendar-area .mbcal-nav-next {
    display: inline-block;
    min-width: 1.5em;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
    cursor: pointer;
    color: inherit;
}
*/

/* テーブル罫線なし */
/*
#mbcal-calendar-area .mbcal-calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

#mbcal-calendar-area th,
#mbcal-calendar-area td {
    border: 0;
}

#mbcal-calendar-area th {
    padding: 10px 6px;
    text-align: center;
    font-weight: 700;
    line-height: 1.4;
}

#mbcal-calendar-area td {
    vertical-align: top;
    padding: 8px 8px 10px;
    height: 92px;
    background: #fff;
}

#mbcal-calendar-area .mbcal-empty {
    background: transparent;
}
*/
/* 各日セル */
/*
#mbcal-calendar-area .mbcal-day {
    position: relative;
}

#mbcal-calendar-area .mbcal-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    border-radius: 9999px;
    color: #222;
    background: transparent;
}
*/
