* {
	box-sizing: border-box;
}
.nav-mobile-switch {
	width: auto;
}

#page-intro li {
	padding: 4px 4px;
}
#eligibility li {
	margin: 2%;
}

option.index-PRIVATE,
option.index-OUTOFSTATE {
	display: none;
}

/* Basic FAQ container styling */
.faq-item {
	margin-bottom: 1em;
	border: 1px solid #ddd;
	border-radius: 5px;
	transition: all 0.3s ease;
}

/* Styling for the summary/question part */
.faq-item summary {
	padding: 1em;
	cursor: pointer;
	list-style: none; /* Removes default arrow icon in some browsers */
	background-color: #f5f5f5;
	font-weight: bold;
	border-radius: 5px 5px 0 0; /* Rounded corners on top */
}

/* Styling when the details are open */
.faq-item[open] {
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.faq-item[open] summary {
	border-radius: 5px 5px 0 0; /* Re-emphasize the rounded corners on top when expanded */
}

/* Styling for the answer/content part */
.faq-item p {
	padding: 1em;
	margin: 0;
	border-top: 1px solid #ddd;
}

/* Add an arrow indicator for visual cue */
.faq-item summary .arrow {
	display: inline-block;
	margin-right: 10px;
	transition: transform 0.3s ease;
}

.faq-item[open] summary .arrow {
	transform: rotate(90deg); /* Rotate arrow when expanded */
}

.content {
	max-width: 980px;
	margin: 16px auto;
	padding: 20px;
	background-color: #fdfcf4;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

h2 {
	color: #036;
	margin-bottom: 15px;
	font-weight: bold;
}
.content h2:first-child {
	margin-top: 5px;
}

.content > p,
ul {
	/* line-height: 1.2; */
}

.content ul {
	margin-bottom: 15px;
}
.content li {
	margin-top: 10px;
	margin-left: 40px;
	line-height: 140%;
}

.faq p {
	font-size: medium;
}

.bio-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.instructor-bio-image {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	object-fit: cover;
	/* margin-bottom: 10px; */
}

.card-container {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.card {
	background-color: #f6fced;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	transition: 0.3s;
	/* width: 27.5vw; */
	width: 33.33vw;
	height: 100%;
	margin: 20px 1%;
	padding: 20px;
	text-align: center;
	border-radius: 5px;
	display: flex;
	justify-content: space-between;
	/* align-items: flex-start; */
	gap: 10px;
}

/* .card:nth-child(3) {
    width: 45vw; 
} */

.card > div,
.advisor-card > div {
	flex: 1 0;
	padding: 0 10px;
	display: flex;
	flex-direction: column;
	height: 100%;
	/* align-self: flex-start; */
}

.card:hover,
.advisor-card:hover {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card-title {
	min-height: 80px;
	font-weight: bold;
}

.card-description {
	height: 100px;
}
.card > div a {
	color: #fff;
	text-decoration: none;
}

.card-btn {
	margin-top: auto;
	display: inline-block;
	padding: 10px;
	background-color: #a1c25e;
	border-radius: 5px;
	align-self: center;
}
.card-btn:hover {
	background-color: #cbdda6;
	color: #fff;
}

.apply-btn {
	margin-top: 5px;
	display: inline-block;
	padding: 10px;
	background-color: #a1c25e;
	border-radius: 5px;
	align-self: center;
}
.apply-btn:hover {
	background-color: #cbdda6;
	color: #fff;
}

#assistant_teacher_cohort,
#lead_teacher_cohort,
#open_house_event {
	margin-bottom: 20px;
	/* background-color: #fffce4; */
}

#assistant_teacher_cohort h2,
#lead_teacher_cohort h2,
#open_house_event h2 {
	text-align: left;
}

.contact-info {
	margin-block: 20px;
}

#heckscher-heading {
	width: 100%;
	margin: 0px;
	background: url('../images/program/hero-HECKSCHER.jpg');
	background-position: center 10%;
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 3px solid #84a73f;
	height: 700px;
	display: flex;
	justify-content: center;
	align-items: end;
}

#apprenticeship-heading {
	width: 100%;
	margin: 0px;
	background: url('../images/program/hero_apprenticeship_home.png');
	background-position: center 50%; /* Changed from 10% to 30% to show more of the bottom */
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 3px solid #84a73f;
	height: 850px;
	display: flex;
	justify-content: center;
	align-items: end;
}

.heading-description {
	margin-bottom: 130px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 42%;
	position: relative;
	text-align: center;
	background-color: white;
	opacity: 0.9;
	padding: 1%;
	border-radius: 10px;
}
.heading-description-new {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
	text-align: center;
	background-color: #fcfbed;
	/* padding: 1%;
    border-radius: 10px; */
}

.logos {
	display: flex;
	justify-content: center;
	align-items: center;
}

.logos img {
	height: 50px;
	margin: 10px;
}

.application_custom_intro {
	display: flex;
}

.partner-grid {
	display: grid;
	grid-template-columns: repeat(
		auto-fill,
		minmax(200px, 1fr)
	); /* This makes the grid responsive */
	gap: 16px; /* Space between grid items */
	padding: 20px;
}

.partner-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease;
	display: flex; /* Flexbox to align content within the card */
	flex-direction: column; /* Stack items vertically */
	background-color: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.partner-card:hover {
	transform: scale(1.025);
}

.partner-card a {
	display: flex;
	flex-direction: column; /* Again, stack items vertically */
	align-items: center; /* Horizontally center items */
	/* padding: 10px; */
	text-decoration: none;
	color: inherit;
	height: 100%; /* Make sure the content takes up full height of the card */
}

.partner-card img {
	padding: 20px;
	width: auto; /* Or whatever size you find appropriate */
	height: 100px; /* Keep this same as width to maintain aspect ratio */
	aspect-ratio: auto; /* Ensure image doesn't get stretched */
	margin-bottom: 10px; /* Space between image and name */
}

.partner-name-bg {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-color: white;
	margin-bottom: 10px;
}

.partner-card span {
	/* height: 30px;       A fixed height ensures text aligns horizontally across cards */
	display: flex; /* Flexbox for vertical centering */
	align-items: center;
	justify-content: center;
	padding: 5px;
	text-align: center;
	/* color: white; */
	font-weight: bold;
	font-size: 90%;
}

@media screen and (max-width: 1607px) {
	.card-description {
		height: 120px;
	}
	.advisor-card .cta {
		/* padding: 5px 10px; */
		font-size: small;
		white-space: nowrap;
	}
}

@media screen and (max-width: 1464px) {
	.card-description {
		/* height: auto; */
		height: 130px;
	}
	.advisor-card {
		padding: 10px;
	}
	.advisor-card .cta {
		/* padding: 5px 10px; */
		font-size: small;
		white-space: nowrap;
	}
}

@media screen and (max-width: 1390px) {
	.card-description {
		font-size: 90%;
	}
	.card-btn {
		font-size: 90%;
	}
}

@media screen and (max-width: 1200px) {
	p {
		font-size: medium;
	}
	.card {
		width: 100%;
	}
	/* .card:nth-child(3) {
        width: 100%;
    } */
	.card-btn {
		margin-top: 10px;
	}
	.card-container {
		/* flex-direction: column; */
	}
	.advisor-container {
		flex-wrap: wrap;
		justify-content: center;
	}
	.advisor-card {
		width: 350px;
	}
	.advisor-card .cta {
		padding: 5px 10px;
	}
	.logos img {
		height: 35px;
		margin: 10px;
	}
	.card-title {
		/* min-height: 40px; */
	}
	.card-description {
		/* height: 60px; */
	}
	#assistant_teacher_cohort,
	#lead_teacher_cohort,
	#open_house_event {
		max-width: 90vw;
		margin-inline: auto;
	}
}

@media screen and (max-width: 1000px) {
	.card-description {
		/* height: 76px; */
		font-size: 85%;
	}
	#apply-top {
		width: 85%;
	}
}

@media screen and (max-width: 768px) {
	#blurb {
		font-size: 16px;
		margin-top: 16px;
		padding: 5px 0px;
	}
	.logos {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.content {
		padding: 12px;
	}
	#apply-top {
		width: 85%;
	}
	.card-container {
		flex-direction: column;
	}
	.card {
		width: 100%;
		height: 100%;
		margin-top: 8px;
		justify-content: space-between;
		flex-direction: column;
	}
	/* .card:nth-child(3) {
        width: 100%;
        align-items: center;
    } */
	.card > div {
		height: 100%;
		justify-content: center;
		align-items: center;
	}
	.card-description {
		font-size: 14px;
		height: auto;
		min-height: 50px;
	}
	.card-title {
		min-height: 25px;
	}
	.card-btn {
		margin-top: 10px;
	}
	.card-container {
		flex-direction: column;
		align-items: center;
	}
	.advisor-container {
		flex-direction: column;
		align-items: center;
		margin-top: 10px;
		flex-wrap: nowrap;
	}
	.advisor-container > * {
		flex-basis: 100%;
	}
	.advisor-card {
		min-width: 300px;
		align-items: center;
		justify-content: center;
		padding-inline: 15px;
		margin-block: 5px;
	}
	.advisor-card-content {
		font-size: 14px;
		margin-left: 10px;
	}
	.advisor-card-name {
		font-size: 16px;
	}
	section {
		margin-block: auto;
	}
	#heckscher-heading,
	#heckscher-subpage-heading {
		display: none;
		justify-content: center;
		align-items: center;
		height: 300px;
		/* background-color: white; */
		background-image: none;
	}
	.heading-description {
		width: 75%;
		left: 0;
		top: 0;
		position: relative;
		margin-bottom: 0px;
	}
	#heckscher-heading h1,
	#heckscher-subpage-heading h1 {
		font-size: 24px;
	}
	#assistant_teacher_cohort,
	#lead_teacher_cohort,
	#open_house_event {
		max-width: 90vw;
		margin-inline: auto;
	}
	h2 {
		font-size: 20px;
	}
	p {
		font-size: 16px;
	}
}
