/* ═══════════════════════════════════════════════════════════════
   Houngnibo – Culture Agenda Widget
   ═══════════════════════════════════════════════════════════════ */

.hgb-agenda {
	position: relative;
	background-color: #f7f3ea;
	border-top: 1px solid #d3c4b9;
	border-bottom: 1px solid #d3c4b9;
	padding-top: 5rem;
	padding-bottom: 5rem;
	font-family: "Montserrat", sans-serif;
	box-sizing: border-box;
}

.hgb-agenda__container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
	box-sizing: border-box;
}

/* Header */
.hgb-agenda__header {
	text-align: center;
	max-width: 680px;
	margin-inline: auto;
	margin-bottom: 4rem;
}

.hgb-agenda__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #825500;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.12em;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.hgb-agenda__title {
	font-family: "Montserrat Alternates", "Montserrat", sans-serif;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	line-height: 1.25;
	font-weight: 700;
	color: #321d08;
	margin: 0 0 1rem 0;
}

.hgb-agenda__divider-line {
	width: 4rem;
	height: 3px;
	background-color: #825500;
	margin-inline: auto;
	margin-bottom: 1rem;
	border-radius: 2px;
}

.hgb-agenda__desc {
	font-size: 14px;
	line-height: 1.6;
	color: #4f453d;
	margin: 0;
}

/* Events List */
.hgb-agenda__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Agenda Card */
.hgb-agenda__card {
	background-color: #ffffff;
	border: 1px solid #d3c4b9;
	border-radius: 12px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	transition: all 0.25s ease;
}

@media (min-width: 768px) {
	.hgb-agenda__card {
		flex-direction: row;
		align-items: center;
		padding: 1.5rem 2rem;
	}
}

.hgb-agenda__card:hover {
	border-color: #825500;
	box-shadow: 0 10px 25px -5px rgba(50, 29, 8, 0.08);
}

.hgb-agenda__card-left {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.hgb-agenda__card-left {
		align-items: center;
	}
}

/* Date Square */
.hgb-agenda__date-block {
	width: 5rem;
	height: 5rem;
	border-radius: 8px;
	background-color: #321d08;
	border: 1px solid rgba(130, 85, 0, 0.4);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-shrink: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hgb-agenda__date-day {
	font-family: "Montserrat Alternates", "Montserrat", sans-serif;
	font-size: 1.625rem;
	line-height: 1.1;
	font-weight: 700;
	color: #ffddb2;
}

.hgb-agenda__date-month {
	font-size: 9px;
	line-height: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fdba56;
	margin-top: 0.125rem;
	font-weight: 600;
}

/* Details */
.hgb-agenda__details {
	display: flex;
	flex-direction: column;
}

.hgb-agenda__meta-tags {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	flex-wrap: wrap;
	margin-bottom: 0.375rem;
}

.hgb-agenda__tag {
	padding: 0.2rem 0.625rem;
	border-radius: 4px;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.08em;
	font-weight: 700;
	text-transform: uppercase;
	background-color: #825500;
	color: #ffffff;
}

.hgb-agenda__meta-info {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 11px;
	line-height: 14px;
	color: #4f453d;
}

.hgb-agenda__meta-info .hgb-ms {
	font-size: 14px;
	color: #825500;
}

.hgb-agenda__event-title {
	font-family: "Montserrat Alternates", "Montserrat", sans-serif;
	font-size: 1.125rem;
	line-height: 1.35;
	font-weight: 700;
	color: #321d08;
	margin: 0.25rem 0 0.375rem 0;
}

.hgb-agenda__event-desc {
	font-size: 13px;
	line-height: 1.5;
	color: #4f453d;
	margin: 0;
	max-width: 650px;
}

/* Right Column (Status & Button) */
.hgb-agenda__card-right {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.75rem;
	flex-shrink: 0;
	padding-top: 1rem;
	border-top: 1px solid #d3c4b9;
}

@media (min-width: 768px) {
	.hgb-agenda__card-right {
		flex-direction: column;
		align-items: flex-end;
		justify-content: center;
		width: auto;
		padding-top: 0;
		border-top: none;
	}
}

/* Status Badges */
.hgb-agenda__status-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 11px;
	line-height: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.hgb-agenda__status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	display: inline-block;
}

/* Open status (green) */
.hgb-agenda__status-badge.is-open {
	background-color: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.hgb-agenda__status-badge.is-open .hgb-agenda__status-dot {
	background-color: #059669;
	animation: hgbPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Limited status (amber) */
.hgb-agenda__status-badge.is-limited {
	background-color: #fffbeb;
	color: #92400e;
	border: 1px solid #fde68a;
}

.hgb-agenda__status-badge.is-limited .hgb-agenda__status-dot {
	background-color: #d97706;
}

/* Closed status (gray) */
.hgb-agenda__status-badge.is-closed {
	background-color: #f3f4f6;
	color: #4b5563;
	border: 1px solid #e5e7eb;
}

.hgb-agenda__status-badge.is-closed .hgb-agenda__status-dot {
	background-color: #9ca3af;
}

@keyframes hgbPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

/* CTA Button */
.hgb-agenda__cta-btn {
	padding: 0.625rem 1.25rem;
	background-color: #321d08;
	color: #ffffff;
	border-radius: 8px;
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.hgb-agenda__cta-btn:hover {
	background-color: #825500;
	color: #ffffff;
	transform: translateY(-1px);
}

/* Download Link Wrap */
.hgb-agenda__download-wrap {
	margin-top: 2.5rem;
	text-align: center;
}

.hgb-agenda__download-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #825500;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.1em;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transition: text-decoration 0.2s ease;
}

.hgb-agenda__download-link:hover {
	text-decoration: underline;
}

.hgb-agenda__download-link .hgb-ms {
	font-size: 18px;
}
