/* Committees Landing template (template-committees-landing.php). Colors per the SGA visual style guide. */
.cl-section {
	--cl-blue: #005289;
	--cl-teal: #00948f;
	--cl-blue-dk: #003762;
	--cl-teal-dk: #006763;
	--cl-yellow: #ffde6c;
	--cl-offwhite: #f7f7f7;
	--cl-ink: #1a2230;
	--cl-ink-soft: #4a5568;
	--cl-border: #e4e7ec;
	padding-top: clamp(3.5rem, 8vw, 6rem);
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
	color: var(--cl-ink);
	font-size: 18px;
	line-height: 1.6;
}
.cl-section--alt {
	background: var(--cl-offwhite);
}
.cl-section--dark {
	background: var(--cl-teal-dk);
	color: #fff;
}
.cl-header {
	max-width: 62rem;
	margin-bottom: 2.5rem;
}
.cl-section .cl-eyebrow {
	margin: 0 0 8px;
	color: var(--cl-teal-dk);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
}
.cl-section .cl-h2 {
	margin: 0 0 16px;
	color: var(--cl-blue-dk);
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.01em;
}
.cl-section--dark .cl-h2 {
	color: #fff;
}
.cl-section .cl-lead,
.cl-section .cl-lead p {
	color: var(--cl-ink-soft);
	font-size: 18px;
	line-height: 1.6;
	max-width: 62ch;
}
.cl-section .cl-lead:empty {
	display: none;
}

/* Sections and committees directory */
.cl-sections {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}
.cl-card {
	background: #fff;
	border: 1px solid var(--cl-border);
	border-top: 4px solid var(--cl-teal);
	padding: clamp(1.5rem, 3vw, 2rem);
}
.cl-section .cl-card__title {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: normal;
}
.cl-card__title a {
	color: var(--cl-blue-dk);
}
.cl-section .cl-card__tagline {
	margin: 0 0 16px;
	color: var(--cl-ink-soft);
	font-size: 16px;
	line-height: 1.5;
}
.cl-card__list {
	list-style: none;
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--cl-border);
}
.cl-card__list li {
	padding: 6px 0;
	font-size: 17px;
	line-height: 1.4;
}
.cl-card__list a {
	color: var(--cl-blue);
}
.cl-card__list a:hover,
.cl-card__title a:hover {
	color: var(--cl-blue-dk);
	text-decoration: underline;
}

/* Finder */
.cl-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.cl-tabs[hidden] {
	display: none;
}
.cl-tab {
	padding: 12px 22px;
	border: 1px solid var(--cl-blue);
	border-radius: 2px;
	background: transparent;
	color: var(--cl-blue);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
}
.cl-tab[aria-selected="true"] {
	background: var(--cl-blue);
	color: #fff;
}
.cl-tab:focus-visible {
	outline: 3px solid var(--cl-yellow);
	outline-offset: 2px;
}
.cl-panel + .cl-panel {
	margin-top: 3rem;
}
.cl-tabs-ready .cl-panel + .cl-panel {
	margin-top: 0;
}
.cl-tabs-ready .cl-panel__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.cl-section .cl-panel__title {
	margin: 0 0 8px;
	color: var(--cl-blue-dk);
	font-size: 24px;
}
.cl-finder {
	margin: 24px 0 0;
}
.cl-finder__row {
	display: grid;
	grid-template-columns: minmax(200px, 300px) 1fr;
	gap: 8px 32px;
	padding: 16px 0;
	border-top: 1px solid var(--cl-border);
}
.cl-finder__row:last-child {
	border-bottom: 1px solid var(--cl-border);
}
.cl-finder dt {
	color: var(--cl-ink);
	font-weight: 700;
	line-height: 1.4;
}
.cl-finder dd {
	margin: 0;
}
.cl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cl-chip {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid #d3e3ee;
	border-radius: 2px;
	background: #eaf2f7;
	color: var(--cl-blue);
	font-size: 16px;
	line-height: 1.4;
}
.cl-chip:hover {
	background: var(--cl-blue);
	border-color: var(--cl-blue);
	color: #fff;
	text-decoration: none;
}

/* Participation */
.cl-part {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px 40px;
}
.cl-part__item {
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.cl-section .cl-part__label {
	margin: 0 0 8px;
	color: var(--cl-yellow);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: uppercase;
}
.cl-part__item p {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
	.cl-finder__row {
		grid-template-columns: 1fr;
	}
	.cl-sections {
		grid-template-columns: 1fr;
	}
}

/* Next step banner (full width, under participation) */
.cl-next {
	padding-top: clamp(3rem, 7vw, 5.5rem);
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
	background-color: #0b4f4b;
	background-position: center;
	background-size: cover;
	color: #fff;
}
.cl-next__btn {
	flex-shrink: 0;
	display: inline-block;
}
.cl-next__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px 56px;
}
.cl-next__copy {
	max-width: 52rem;
}
.cl-next .cl-next__eyebrow {
	margin: 0 0 12px;
	color: #ffde6c;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
}
.cl-next .cl-next__text {
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
@media (max-width: 767px) {
	.cl-next__inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.cl-next .cl-next__btn {
		width: 100%;
	}
}

/* Finder tab anchors (/committees/#finder-by-topic): land below the fixed site header */
#finder {
	position: relative;
}
.cl-anchor {
	position: absolute;
	top: 0;
	scroll-margin-top: 120px;
}
@media (max-width: 991px) {
	.cl-anchor {
		scroll-margin-top: 72px;
	}
}
