/* Wakō-an – Page agenda (The Events Calendar, vues Liste et Mois) */

.tribe-common,
.tribe-events {
	--tec-font-family-sans-serif: 'Poppins', Arial, sans-serif;
	--tec-font-family-base: 'Poppins', Arial, sans-serif;
	--tec-color-text-primary: #292d27;
	--tec-color-text-primary-light: #4a4a40;
	--tec-color-text-secondary: #625f56;
	--tec-color-text-events-title: #303b33;
	--tec-color-text-event-title: #303b33;
	--tec-color-text-event-date: #6f5536;
	--tec-color-text-secondary-event-date: #625f56;
	--tec-color-icon-primary: #6f5536;
	--tec-color-icon-active: #303b33;
	--tec-color-event-icon: #6f5536;
	--tec-color-accent-primary: #424d41;
	--tec-color-accent-primary-hover: #303b33;
	--tec-color-accent-primary-active: #303b33;
	--tec-color-accent-primary-background: rgba(150, 121, 86, 0.08);
	--tec-color-button-primary: #424d41;
	--tec-color-button-primary-hover: #303b33;
	--tec-color-button-primary-active: #303b33;
	--tec-color-button-primary-background: rgba(66, 77, 65, 0.08);
	--tec-color-link-primary: #303b33;
	--tec-color-link-accent: #6f5536;
	--tec-color-link-accent-hover: #424d41;
	--tec-color-border-default: #d9d2c7;
	--tec-color-border-secondary: #e0d8cb;
	--tec-color-border-tertiary: #ece5db;
	--tec-color-border-hover: #967956;
	--tec-color-border-active: #424d41;
	--tec-color-background: #ffffff;
	--tec-color-background-events: transparent;
	--tec-color-background-secondary: #fbfaf7;
	--tec-color-background-secondary-hover: #f3f0e9;
	--tec-color-background-primary-multiday: rgba(150, 121, 86, 0.18);
	--tec-color-box-shadow: rgba(41, 45, 39, 0.06);
}

.tribe-events .tribe-common-l-container,
.tribe-common-l-container.tribe-events-l-container {
	max-width: 1080px;
	padding-top: 24px;
	padding-bottom: 88px;
	font-family: 'Poppins', Arial, sans-serif;
}

/* En-tête */
.wako-agenda__intro {
	text-align: center;
	max-width: 640px;
	margin: 24px auto 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	font-family: 'Poppins', Arial, sans-serif;
}
.wako-agenda__eyebrow {
	font-size: 11px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: #6f5536;
}
.tribe-events-before-html .wako-agenda__title {
	margin: 0;
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 500;
	font-size: 40px;
	line-height: 1.15;
	color: #303b33;
}
.wako-agenda__lead {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	color: #4a4a40;
}

/* Barre de recherche et choix de la vue */
.tribe-events .tribe-events-c-events-bar {
	border: 1px solid #d9d2c7;
	border-radius: 0;
	box-shadow: none;
	background: #fbfaf7;
}
.tribe-events .tribe-events-c-search__input-control input,
.tribe-events .tribe-common-form-control-text__input {
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 300;
}
.tribe-events .tribe-events-c-search__button,
.tribe-common .tribe-common-c-btn {
	border-radius: 0;
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 12px;
}
.tribe-events .tribe-events-c-view-selector__list-item-text {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 13px;
	letter-spacing: 0.04em;
}
.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link::after {
	background-color: #967956;
	height: 2px;
}

/* Navigation (aujourd'hui, mois, flèches) */
.tribe-common .tribe-common-c-btn-border-small,
.tribe-events .tribe-events-c-top-bar__today-button {
	border-radius: 0;
	border-color: #d9d2c7;
	background: transparent;
	color: #4a4a40;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.tribe-events .tribe-events-c-top-bar__datepicker-button,
.tribe-events .tribe-events-c-top-bar__datepicker-time {
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 500;
	color: #303b33;
}

/* Liste : séparateur de mois */
.tribe-events .tribe-events-calendar-list__month-separator {
	margin-top: 40px;
}
.tribe-events .tribe-events-calendar-list__month-separator::after {
	background-color: #d9d2c7;
}
.tribe-events .tribe-events-calendar-list__month-separator-text {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #6f5536;
	background: #f3f0e9;
}

/* Liste : un événement = une carte */
.tribe-events .tribe-events-calendar-list__event-row {
	margin-top: 24px;
	margin-bottom: 0;
	align-items: stretch;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
	width: 64px;
	height: 72px;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #967956;
	color: #ffffff;
	text-align: center;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
	color: #ffffff;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-daynum {
	color: #ffffff;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.1;
}
.tribe-events .tribe-events-calendar-list__event {
	background: #ffffff;
	border: 1px solid #d9d2c7;
	padding: 24px;
	margin: 0;
	transition: border-color 0.2s ease;
}
.tribe-events .tribe-events-calendar-list__event:hover {
	border-color: #967956;
}
.tribe-events .tribe-events-calendar-list__event-featured-image {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
	border-radius: 0;
}
.tribe-events .tribe-events-calendar-list__event-datetime {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #6f5536;
}
.tribe-events .tribe-events-calendar-list__event-title {
	margin: 6px 0 8px;
}
.tribe-events .tribe-events-calendar-list__event-title-link {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	color: #303b33;
	border-bottom: 0;
}
.tribe-events .tribe-events-calendar-list__event-title-link:hover,
.tribe-events .tribe-events-calendar-list__event-title-link:focus {
	color: #6f5536;
	border-bottom: 0;
}
.tribe-events .tribe-events-calendar-list__event-venue {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 13px;
	font-weight: 300;
	color: #625f56;
}
.tribe-events .tribe-events-calendar-list__event-venue-title {
	font-weight: 500;
	color: #4a4a40;
}
.tribe-events .tribe-events-calendar-list__event-description {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: #3d3d35;
	margin-top: 12px;
}

/* Réserver / prix / places restantes */
.tribe-events .tribe-events-c-small-cta {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	font-family: 'Poppins', Arial, sans-serif;
}
.tribe-events .tribe-events-c-small-cta__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	background: #424d41;
	color: #fbfaf7;
	border: 0;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}
.tribe-events .tribe-events-c-small-cta__link:hover,
.tribe-events .tribe-events-c-small-cta__link:focus {
	background: #303b33;
	color: #fbfaf7;
	border: 0;
}
.tribe-events .tribe-events-c-small-cta__price {
	font-size: 16px;
	font-weight: 500;
	color: #303b33;
}
.tribe-events .tribe-events-c-small-cta__stock {
	font-size: 13px;
	font-weight: 400;
	color: #6f5536;
}
.tribe-events .tribe-events-c-small-cta__sold-out {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #625f56;
}

/* Pagination (événements précédents / suivants) */
.tribe-events .tribe-events-c-nav {
	margin-top: 40px;
	border-top: 1px solid #d9d2c7;
}
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6f5536;
}

/* Lien d'abonnement au calendrier */
.tribe-events .tribe-events-c-subscribe-dropdown__button {
	border-radius: 0;
	border-color: #d9d2c7;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 12px;
}

/* Vue Mois */
.tribe-events .tribe-events-calendar-month {
	margin-top: 8px;
}
.tribe-events .tribe-events-calendar-month__header {
	border: 0;
}
.tribe-events .tribe-events-calendar-month__header-column {
	padding: 0 0 10px;
	border: 0;
}
.tribe-events .tribe-events-calendar-month__header-column::before,
.tribe-events .tribe-events-calendar-month__header-column::after {
	display: none;
}
.tribe-events .tribe-events-calendar-month__header-column-title {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6f5536;
	text-align: left;
	padding-left: 12px;
}
.tribe-events .tribe-events-calendar-month__body {
	background: #ffffff;
	border: 1px solid #d9d2c7;
}
.tribe-events .tribe-events-calendar-month__week {
	border-top: 1px solid #ece5db;
}
.tribe-events .tribe-events-calendar-month__week:first-child {
	border-top: 0;
}
.tribe-events .tribe-events-calendar-month__day {
	background: #ffffff;
	border-left: 1px solid #ece5db;
}
.tribe-events .tribe-events-calendar-month__day:first-child {
	border-left: 0;
}
.tribe-events .tribe-events-calendar-month__day--past,
.tribe-events .tribe-events-calendar-month__day--other-month {
	background: #fbfaf7;
}
.tribe-events .tribe-events-calendar-month__day-cell--desktop {
	padding: 10px 10px 12px;
}
.tribe-events .tribe-events-calendar-month__day-date {
	margin: 0 0 8px;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	color: #303b33;
}
.tribe-events .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day-date-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #303b33;
	text-decoration: none;
}
.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date-link,
.tribe-events .tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date-daynum {
	color: #a39885;
}
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum {
	background: #967956;
	color: #ffffff;
	font-weight: 500;
}
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
	color: #ffffff;
	font-weight: 500;
}

/* Événement dans une case du mois */
.tribe-events .tribe-events-calendar-month__events {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.tribe-events .tribe-events-calendar-month__calendar-event {
	margin: 0;
	padding: 7px 9px;
	background: #f3f0e9;
	border: 1px solid #e0d8cb;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tribe-events .tribe-events-calendar-month__calendar-event:hover {
	background: #ece5db;
	border-color: #967956;
}
.tribe-events .tribe-events-calendar-month__calendar-event-datetime {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 11px;
	font-weight: 400;
	color: #6f5536;
	margin-bottom: 2px;
}
.tribe-events .tribe-events-calendar-month__calendar-event-title {
	margin: 0;
}
.tribe-events .tribe-events-calendar-month__calendar-event-title-link {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: #303b33;
	border-bottom: 0;
}
.tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link:focus {
	color: #6f5536;
	border-bottom: 0;
}
.tribe-events .tribe-events-calendar-month__more-events-link {
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: #6f5536;
}

/* Infobulle au survol d'un événement */
.tooltipster-base.tribe-events-tooltip-theme,
.tribe-events-tooltip-theme .tooltipster-box {
	border-radius: 0 !important;
	border: 1px solid #d9d2c7 !important;
	box-shadow: 0 12px 32px rgba(41, 45, 39, 0.10) !important;
	background: #ffffff !important;
}
.tribe-events .tribe-events-calendar-month__calendar-event-tooltip,
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip {
	font-family: 'Poppins', Arial, sans-serif;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-featured-image {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 0;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-datetime {
	font-size: 12px;
	color: #6f5536;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-title-link {
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 500;
	color: #303b33;
	border-bottom: 0;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-description {
	font-weight: 300;
	color: #3d3d35;
}
.tribe-events-tooltip-theme .tribe-events-c-small-cta__link {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	background: #424d41;
	color: #fbfaf7 !important;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border: 0;
}
.tribe-events-tooltip-theme .tribe-events-c-small-cta__price {
	font-weight: 500;
	color: #303b33;
}

/* Vue Mois sur mobile : pastilles et liste du jour choisi */
.tribe-events .tribe-events-calendar-month__day-cell--mobile {
	border-radius: 0;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
.tribe-events .tribe-events-calendar-month__day-cell--selected:focus {
	background-color: #424d41;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum {
	color: #ffffff;
	background: transparent;
}
.tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
	background-color: #967956;
}
.tribe-events .tribe-events-calendar-month-mobile-events {
	background: transparent;
}
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day {
	background: #ffffff;
	border: 1px solid #d9d2c7;
	border-top: 0;
	padding: 16px;
}
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link {
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 500;
	color: #303b33;
	border-bottom: 0;
}
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
	font-size: 12px;
	color: #6f5536;
}
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day-separator {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6f5536;
}

/* Mobile */
@media (max-width: 767px) {
	.tribe-events-before-html .wako-agenda__title { font-size: 30px; }
	.wako-agenda__intro { margin: 8px auto 32px; }
	.tribe-events .tribe-events-calendar-list__event { padding: 18px; }
	.tribe-events .tribe-events-calendar-list__event-title-link { font-size: 20px; }
	.tribe-events .tribe-events-calendar-list__event-date-tag-datetime { width: 52px; height: 60px; }
	.tribe-events .tribe-events-calendar-list__event-date-tag-daynum { font-size: 20px; }
}

/* Correctifs */
.tribe-events-before-html .wako-agenda__intro {
	margin: 24px auto 48px !important;
}
.tribe-events .tribe-events-c-search__button,
.tribe-events button.tribe-events-c-search__button {
	background-color: #424d41 !important;
	color: #fbfaf7 !important;
}
.tribe-events .tribe-events-c-search__button:hover,
.tribe-events .tribe-events-c-search__button:focus {
	background-color: #303b33 !important;
}
@media (max-width: 767px) {
	.tribe-events-before-html .wako-agenda__intro { margin: 8px auto 32px !important; }
}

/* Vue Mois : ajustements */
.tribe-events .tribe-events-calendar-month__header-column {
	border-top: 0 !important;
}
@media (min-width: 768px) {
	.tribe-events .tribe-events-calendar-month__day {
		min-height: 120px !important;
	}
}
.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date-link,
.tribe-events .tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date-daynum {
	color: #8a7f6c;
}
@media (min-width: 768px) {
	.tribe-events .tribe-events-calendar-month__header-column-title span[aria-hidden="true"] {
		display: none;
	}
	.tribe-events .tribe-events-calendar-month__header-column-title .screen-reader-text {
		position: static !important;
		width: auto !important;
		height: auto !important;
		clip: auto !important;
		clip-path: none !important;
		margin: 0 !important;
		overflow: visible !important;
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	.tribe-events .tribe-events-calendar-month__day {
		min-height: 0 !important;
	}
	.tribe-events .tribe-events-calendar-month__day-cell--mobile {
		height: 52px;
		padding: 6px 0;
	}
}
