/* Sidekick Plugin - TODO implementation */
footer#contact .k-footer__heading-link {
	color: inherit;
	text-decoration: none;
}

footer#contact .k-footer__heading-link:hover,
footer#contact .k-footer__heading-link:focus-visible,
footer#contact .k-footer__contact-page:hover,
footer#contact .k-footer__contact-page:focus-visible {
	text-decoration: underline;
}

footer#contact .k-footer__contact-page {
	color: inherit;
}

/* Sidekick Plugin - TODO implementation */
#leadership .k-quote-card__quote p {
	margin-top: 0;
	margin-bottom: 1em;
}

#leadership .k-quote-card__quote p:last-child {
	margin-bottom: 0;
}

/* Sidekick Plugin - TODO implementation */
#leadership .k-quote-card img.k-avatar {
	object-position: 50% 20%;
	display: block;
}

/* Sidekick Plugin - TODO implementation */
/* Sidekick Plugin - TODO implementation */
#leadership .k-grid--2 > .k-quote-card:nth-child(3) {
	grid-column: 1 / -1;
}

/* Sidekick: approved chat preview (begin). Rebuilt on every publish; edit the site through Sidekick, not here. */
/* TODO-8: Remove the "WHO WE ARE" menu item (link to https://kysdo.org/who-we-are/) from the primary */
ul.k-nav__list > li.menu-item:nth-of-type(1):not(#wpsk):not(#wpsk):not(#wpsk) { display: none; }

/* TODO-6: On the Executive Committee page (/executive-committee/), update only the third member card */
body.page-id-450 div.k-exco > div.wp-block-group__inner-container.is-layout-flow.wp-block-group-is-layout-flow > div.wp-block-group.k-exco__card:nth-of-type(3) div.wp-block-group__inner-container svg.k-avatar:not(#wpsk):not(#wpsk):not(#wpsk) { display: none; }
/* Sidekick: approved chat preview (end) */


/* Sidekick Plugin - TODO implementation */
/* Sidekick Plugin - TODO implementation */
.k-entry .k-exco { margin: 8px 0 0; }

.k-exco > .wp-block-group__inner-container,
.k-exco:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.k-exco__card {
	background: var(--white) !important;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: 0 1px 2px rgba(22, 35, 61, .04), 0 8px 24px rgba(22, 35, 61, .06);
	text-align: center;
	height: 100%;
}

.k-entry .k-exco__photo {
	width: 120px;
	height: 120px;
	margin: 0 auto 18px;
}

.k-entry .k-exco__photo img {
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 20%;
}

.k-exco__card .k-exco__avatar {
	display: block;
	width: 120px;
	height: 120px;
	margin: 0 auto 18px;
}

.k-entry h2.k-exco__name {
	font-size: 19px !important;
	line-height: 1.3;
	letter-spacing: -.01em;
	margin: 0 0 6px;
	color: var(--navy) !important;
}

.k-entry p.k-exco__role {
	font-size: 12px !important;
	line-height: 1.5;
	margin: 0 0 12px;
	color: var(--green) !important;
}

.k-entry p.k-exco__bio {
	font-size: 15px !important;
	line-height: 1.6;
	color: var(--muted) !important;
	margin: 0;
}

@media (max-width: 1024px) {
	.k-exco > .wp-block-group__inner-container,
	.k-exco:not(:has(> .wp-block-group__inner-container)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.k-exco > .wp-block-group__inner-container,
	.k-exco:not(:has(> .wp-block-group__inner-container)) {
		grid-template-columns: 1fr;
	}
}

/* Sidekick Plugin - TODO implementation */
/* Senior Management: responsibilities line on k-exco cards */
.k-entry p.k-exco__resp {
	font-size: 14px !important;
	line-height: 1.55;
	color: var(--navy) !important;
	margin: 0 0 10px;
}

.k-entry p.k-exco__resp strong {
	font-weight: 600;
	color: var(--navy) !important;
}

/* Sidekick Plugin - TODO implementation */
/* Primary nav: Leadership dropdown */
.k-nav__list .k-nav__submenu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

.k-nav__list .k-nav__item--parent.is-open > .k-nav__submenu {
	display: block;
}

.k-nav__list .k-nav__submenu a {
	display: block;
	color: var(--navy) !important;
	white-space: nowrap;
}

.k-nav__list .k-nav__submenu a:hover {
	color: var(--green) !important;
}

.k-nav__subtoggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: none !important;
	color: var(--navy) !important;
	cursor: pointer;
}

.k-nav__subtoggle:hover {
	color: var(--green) !important;
}

.k-nav__chevron {
	display: block;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .15s ease;
}

.k-nav__subtoggle[aria-expanded="true"] .k-nav__chevron {
	transform: translateY(2px) rotate(-135deg);
}

.k-nav__list .k-nav__item--parent a:focus-visible,
.k-nav__subtoggle:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 2px;
	border-radius: 4px;
}

.k-nav__list .k-nav__submenu a:focus-visible {
	outline-offset: -2px;
}

@media (min-width: 1025px) {
	.k-nav__list .k-nav__item--parent {
		position: relative;
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.k-nav__list .k-nav__submenu {
		position: absolute;
		top: calc(100% + 12px);
		left: -18px;
		z-index: 30;
		min-width: 230px;
		padding: 8px 0;
		background: var(--white) !important;
		border: 1px solid var(--line);
		border-radius: 10px;
		box-shadow: 0 1px 2px rgba(22, 35, 61, .06), 0 10px 28px rgba(22, 35, 61, .12);
	}

	/* Bridges the gap between the link and the panel so hover does not drop. */
	.k-nav__list .k-nav__submenu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -13px;
		height: 13px;
	}

	.k-nav__list .k-nav__item--parent:hover > .k-nav__submenu,
	.k-nav__list .k-nav__item--parent:focus-within > .k-nav__submenu {
		display: block;
	}

	.k-nav__list .k-nav__item--parent.is-dismissed > .k-nav__submenu {
		display: none;
	}

	.k-nav__list .k-nav__submenu a {
		padding: 10px 18px;
	}

	.k-nav__list .k-nav__submenu a:hover {
		background: var(--mint) !important;
	}
}

@media (max-width: 1024px) {
	.k-nav__list .k-nav__item--parent {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.k-nav__list .k-nav__item--parent > a {
		flex: 1 1 auto;
	}

	.k-nav__subtoggle {
		width: 44px;
		height: 44px;
	}

	.k-nav__list .k-nav__submenu {
		flex: 0 0 100%;
		padding: 0 0 4px 16px;
	}

	.k-nav__list .k-nav__submenu a {
		padding: 11px 2px;
	}
}

/* Sidekick Plugin - TODO implementation */
/* Homepage hero slider */
.k-hero__slider {
	position: relative;
	isolation: isolate;
	border-radius: var(--radius);
}

.k-hero__slides {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

/* Incoming slide fades in on top; the outgoing one stays opaque underneath until it finishes. */
.k-hero__slide {
	grid-area: 1 / 1;
	min-width: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0s linear .6s, visibility 0s linear .6s;
}

.k-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity .6s ease;
}

.k-hero__callout {
	z-index: 3;
}

.k-hero__slider .k-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: -22px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffff !important;
	color: #16233d !important;
	box-shadow: 0 2px 10px rgba(22, 35, 61, .25);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.k-hero__slider .k-hero__arrow:hover {
	background: #1f7a43 !important;
	color: #ffffff !important;
}

.k-hero__arrow--prev {
	left: 14px;
}

.k-hero__arrow--next {
	right: 14px;
}

.k-hero__arrow span {
	display: block;
	width: 10px;
	height: 10px;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
}

.k-hero__arrow--prev span {
	transform: translateX(2px) rotate(135deg);
}

.k-hero__arrow--next span {
	transform: translateX(-2px) rotate(-45deg);
}

.k-hero__dots {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 2;
	display: flex;
	gap: 2px;
}

.k-hero__slider .k-hero__dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: none !important;
	cursor: pointer;
}

.k-hero__dot::before {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 10px;
	height: 10px;
	border: 2px solid #16233d;
	border-radius: 5px;
	transition: width .2s ease, background-color .2s ease;
}

.k-hero__dot:hover::before {
	background: #16233d !important;
}

.k-hero__dot[aria-current="true"]::before {
	width: 20px;
	background: #1f7a43 !important;
	border-color: #1f7a43;
}

.k-hero__slider:focus-visible {
	outline: 3px solid #1f7a43;
	outline-offset: 3px;
}

.k-hero__slider .k-hero__arrow:focus-visible,
.k-hero__slider .k-hero__dot:focus-visible {
	outline: 3px solid #16233d;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 8px #ffffff;
}

/* Tablet and mobile: the callout covers the space below the image, so the dots sit on the photo. */
@media (max-width: 1024px) {
	.k-hero__dots {
		top: 12px;
		right: 12px;
		padding: 2px 6px;
		border-radius: 999px;
		background: rgba(22, 35, 61, .78) !important;
	}

	.k-hero__dot::before {
		border-color: #ffffff;
	}

	.k-hero__dot:hover::before {
		background: #ffffff !important;
	}

	.k-hero__dot[aria-current="true"]::before {
		background: #1f7a43 !important;
		border-color: #ffffff;
	}
}

@media (max-width: 680px) {
	.k-hero__slider .k-hero__arrow {
		display: none;
	}

	.k-hero__dots {
		top: auto;
		right: 50%;
		bottom: 12px;
		transform: translateX(50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.k-hero__slide,
	.k-hero__slide.is-active,
	.k-hero__dot::before,
	.k-hero__slider .k-hero__arrow {
		transition: none;
	}
}

/* Sidekick Plugin - TODO implementation */
/* Homepage hero carousel: text panels share one grid cell, so the column is as tall as the tallest slide */
.k-hero__panels {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.k-hero__panel {
	grid-area: 1 / 1;
	min-width: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease, visibility 0s linear .6s;
}

.k-hero__panel.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity .6s ease, visibility 0s linear 0s;
}

.k-hero__media .k-hero__callout {
	z-index: 3;
}

.k-hero__slider .k-hero__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0 0 0 4px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: none !important;
	color: #16233d !important;
	cursor: pointer;
	transition: color .2s ease;
}

.k-hero__slider .k-hero__toggle:hover {
	color: #1f7a43 !important;
}

/* Pause icon: two bars. */
.k-hero__toggle::before {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 10px;
	height: 11px;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

/* Play icon: a triangle, shown while paused. */
.k-hero__toggle[aria-pressed="true"]::before {
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid currentColor;
	border-right: 0;
	transform: translateX(1px);
}

.k-hero__slider .k-hero__toggle:focus-visible {
	outline: 3px solid #16233d;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 8px #ffffff;
}

@media (max-width: 1024px) {
	.k-hero__slider .k-hero__toggle,
	.k-hero__slider .k-hero__toggle:hover {
		color: #ffffff !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.k-hero__panel,
	.k-hero__panel.is-active,
	.k-hero__slider .k-hero__toggle {
		transition: none;
	}
}