/* =====================================================
   AGENDA KESEHATAN LANJUTAN
   Lebar konten disesuaikan agar lebih proporsional
===================================================== */

#sectionAgenda {
	padding: 55px 0;
	background: #f2fffb;
	font-family: inherit;
	box-sizing: border-box;
}

#sectionAgenda *,
#sectionAgenda *::before,
#sectionAgenda *::after {
	box-sizing: border-box;
}

/* =====================================================
   CONTAINER
   Batasi lebar agar tidak memenuhi seluruh layar
===================================================== */

#sectionAgenda .agenda-container {
	width: 100%;
	max-width: 1100px;
	padding: 0 20px;
	margin: 0 auto;
}

/* =====================================================
   HEADING
===================================================== */

#sectionAgenda .agenda-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

#sectionAgenda .agenda-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	color: #0ab7a3;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
}

#sectionAgenda .agenda-heading h2 {
	margin: 0 0 10px;
	color: #183b3b;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.3;
}

#sectionAgenda .agenda-heading h2 span {
	color: #0ab7a3;
}

#sectionAgenda .agenda-heading p {
	margin: 0;
	color: #687777;
	font-size: 14px;
	line-height: 1.7;
}

#sectionAgenda .agenda-all-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-shrink: 0;
	padding: 12px 18px;
	border-radius: 8px;
	background: #0ab7a3;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		transform 0.25s ease;
}

#sectionAgenda .agenda-all-link:hover {
	background: #078f80;
	color: #fff;
	transform: translateY(-2px);
}

/* =====================================================
   LAYOUT AGENDA
===================================================== */

#sectionAgenda .agenda-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
	gap: 20px;
	align-items: stretch;
}

/* =====================================================
   AGENDA UTAMA
===================================================== */

#sectionAgenda .agenda-feature {
	position: relative;
	min-width: 0;
	min-height: 440px;
	overflow: hidden;
	border-radius: 18px;
	background: #173c3b;
	box-shadow: 0 10px 30px rgba(22, 65, 61, 0.1);
}

#sectionAgenda .agenda-feature-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#sectionAgenda .agenda-feature-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
}

#sectionAgenda .agenda-feature:hover .agenda-feature-image img {
	transform: scale(1.04);
}

#sectionAgenda .agenda-image-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.02) 10%,
		rgba(0, 30, 29, 0.35) 45%,
		rgba(0, 30, 29, 0.92) 100%
	);
}

#sectionAgenda .agenda-feature-content {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 30px;
	color: #fff;
}

#sectionAgenda .agenda-label {
	display: inline-block;
	margin-bottom: 13px;
	padding: 7px 12px;
	border-radius: 6px;
	background: #0ab7a3;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

#sectionAgenda .agenda-feature-content h3 {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(23px, 2.5vw, 32px);
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

#sectionAgenda .agenda-date {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 13px;
	color: #fff;
	font-size: 13px;
}

#sectionAgenda .agenda-date i {
	color: #4ce0cc;
}

#sectionAgenda .agenda-description {
	display: -webkit-box;
	overflow: hidden;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	line-height: 1.8;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

#sectionAgenda .agenda-detail-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 15px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 8px;
	color: #fff;
	font-size: 13px;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease;
}

#sectionAgenda .agenda-detail-button:hover {
	border-color: #0ab7a3;
	background: #0ab7a3;
	color: #fff;
}

/* =====================================================
   PANEL DAFTAR AGENDA
===================================================== */

#sectionAgenda .agenda-list-panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 22px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(22, 65, 61, 0.07);
}

#sectionAgenda .agenda-list-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

#sectionAgenda .agenda-list-heading h3 {
	margin: 0;
	color: #183b3b;
	font-size: 20px;
	font-weight: 700;
}

#sectionAgenda .agenda-list-heading span {
	flex-shrink: 0;
	color: #71817f;
	font-size: 11px;
}

/* =====================================================
   ITEM AGENDA
===================================================== */

#sectionAgenda .agenda-list-item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 15px 0;
	border-bottom: 1px solid #edf2f1;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.25s ease;
}

#sectionAgenda .agenda-list-item:hover {
	color: #078f80;
}

#sectionAgenda .agenda-list-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 56px;
	min-height: 60px;
	border-radius: 10px;
	background: #e8faf6;
	color: #078f80;
}

#sectionAgenda .agenda-list-date strong {
	font-size: 22px;
	line-height: 1.2;
}

#sectionAgenda .agenda-list-date span {
	font-size: 11px;
	text-transform: uppercase;
}

#sectionAgenda .agenda-list-info {
	flex: 1;
	min-width: 0;
}

#sectionAgenda .agenda-list-info h4 {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 6px;
	color: #244442;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

#sectionAgenda .agenda-list-info p {
	margin: 0;
	color: #84918f;
	font-size: 11px;
}

#sectionAgenda .agenda-arrow {
	flex-shrink: 0;
	color: #0ab7a3;
	font-size: 12px;
}

#sectionAgenda .agenda-view-all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	color: #078f80;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

#sectionAgenda .agenda-view-all:hover {
	color: #056f65;
}

/* =====================================================
   EMPTY STATE
===================================================== */

#sectionAgenda .agenda-empty {
	padding: 45px 20px;
	border-radius: 18px;
	background: #fff;
	text-align: center;
	box-shadow: 0 8px 28px rgba(22, 65, 61, 0.06);
}

#sectionAgenda .agenda-empty > i {
	margin-bottom: 18px;
	color: #0ab7a3;
	font-size: 42px;
}

#sectionAgenda .agenda-empty h3 {
	color: #183b3b;
	font-size: 21px;
	font-weight: 700;
}

#sectionAgenda .agenda-empty p {
	margin-bottom: 0;
	color: #71817f;
	font-size: 13px;
	line-height: 1.7;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {
	#sectionAgenda {
		padding: 45px 0;
	}

	#sectionAgenda .agenda-container {
		max-width: 760px;
	}

	#sectionAgenda .agenda-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	#sectionAgenda .agenda-feature {
		min-height: 420px;
	}

	#sectionAgenda .agenda-list-panel {
		padding: 22px;
	}
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575px) {
	#sectionAgenda {
		padding: 38px 0;
	}

	#sectionAgenda .agenda-container {
		padding: 0 16px;
	}

	#sectionAgenda .agenda-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		margin-bottom: 22px;
	}

	#sectionAgenda .agenda-heading h2 {
		font-size: 27px;
	}

	#sectionAgenda .agenda-heading p {
		font-size: 13px;
	}

	#sectionAgenda .agenda-all-link {
		padding: 10px 14px;
		font-size: 13px;
	}

	#sectionAgenda .agenda-feature {
		min-height: 420px;
		border-radius: 14px;
	}

	#sectionAgenda .agenda-feature-content {
		padding: 20px;
	}

	#sectionAgenda .agenda-feature-content h3 {
		font-size: 23px;
	}

	#sectionAgenda .agenda-description {
		font-size: 12px;
		-webkit-line-clamp: 3;
	}

	#sectionAgenda .agenda-list-panel {
		padding: 17px;
		border-radius: 14px;
	}

	#sectionAgenda .agenda-list-heading h3 {
		font-size: 18px;
	}

	#sectionAgenda .agenda-list-item {
		gap: 10px;
		padding: 14px 0;
	}

	#sectionAgenda .agenda-list-date {
		width: 50px;
		min-height: 56px;
	}

	#sectionAgenda .agenda-list-date strong {
		font-size: 20px;
	}

	#sectionAgenda .agenda-list-info h4 {
		font-size: 12px;
	}

	#sectionAgenda .agenda-list-info p {
		font-size: 10px;
	}
}

/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
	#sectionAgenda *,
	#sectionAgenda *::before,
	#sectionAgenda *::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
