/*
 * Idahoan K-12 Landing Page
 *
 * Scoped under .idk12 so nothing here can leak into the rest of the theme.
 * The host theme sets html { font-size: 18px }, so this file deliberately uses
 * px and clamp() rather than rem.
 */

.idk12 {
	/* Palette, sampled from the approved comp. */
	--idk12-navy: #023047;
	--idk12-navy-deep: #112f45;
	--idk12-red: #bf2222;
	--idk12-teal: #219ebc;
	--idk12-orange: #ff7d00;
	--idk12-yellow: #ffb703;
	--idk12-yellow-deep: #fcb614;
	--idk12-offwhite: #fbfafa;
	--idk12-blue-light: #e5fafc;
	--idk12-blue-deep: #c6ebf3;
	--idk12-white: #fff;

	/* Type. futura-pt and relation-one come from the theme's Adobe kit. */
	--idk12-sans: futura-pt, "Futura PT", "Century Gothic", "Trebuchet MS", sans-serif;
	--idk12-body: "Catamaran", futura-pt, "Segoe UI", sans-serif;
	--idk12-script: relation-one, "Segoe Script", "Brush Script MT", cursive;

	/* Layout. */
	--idk12-max: 1530px;
	--idk12-gutter: clamp(20px, 4vw, 64px);

	box-sizing: border-box;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	overflow-x: clip;
}

.idk12 *,
.idk12 *::before,
.idk12 *::after {
	box-sizing: inherit;
}

.idk12 img {
	max-width: 100%;
	height: auto;
}

.idk12 .idk12-container {
	width: 100%;
	max-width: var(--idk12-max);
	margin-inline: auto;
	padding-inline: var(--idk12-gutter);
}

.idk12 .idk12-section {
	position: relative;
}

.idk12 .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------------------------------------------------------------- Headings */

.idk12 .idk12-h2 {
	margin: 0 0 0.35em;
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(30px, 3.8vw, 64px);
	line-height: 1.1;
	text-align: center;
	letter-spacing: -0.01em;
}

.idk12 .idk12-h2--navy {
	color: var(--idk12-navy);
}

.idk12 .idk12-h2--red {
	color: var(--idk12-red);
}

.idk12 .idk12-eyebrow {
	margin: 0 0 0.2em;
	color: var(--idk12-red);
	font-family: var(--idk12-sans);
	font-weight: 300;
	font-size: clamp(22px, 2.4vw, 42px);
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

/* ----------------------------------------------------------------- Buttons */

.idk12 .idk12-button {
	display: inline-block;
	padding: clamp(12px, 1.1vw, 19px) clamp(28px, 2.6vw, 48px);
	border: 0;
	border-radius: 6px;
	background: var(--idk12-red);
	color: var(--idk12-white);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(16px, 1.35vw, 24px);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.idk12 a.idk12-button:hover,
.idk12 a.idk12-button:focus-visible {
	background: #a01c1c;
	color: var(--idk12-white);
	transform: translateY(-1px);
}

.idk12 :focus-visible {
	outline: 3px solid var(--idk12-teal);
	outline-offset: 3px;
}

/* ------------------------------------------------------------ Colour strip */

.idk12 .idk12-stripe {
	display: flex;
	height: clamp(16px, 2.7vw, 47px);
}

.idk12 .idk12-stripe span {
	flex: 1 1 33.333%;
}

.idk12 .idk12-stripe span:nth-child(1) {
	background: var(--idk12-teal);
}

.idk12 .idk12-stripe span:nth-child(2) {
	background: var(--idk12-orange);
}

.idk12 .idk12-stripe span:nth-child(3) {
	background: var(--idk12-yellow);
}

/* -------------------------------------------------------------------- Hero */

.idk12 .idk12-hero {
	position: relative;
	display: grid;
	isolation: isolate;
	min-height: clamp(280px, 32vw, 553px);
}

.idk12 .idk12-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 28% center;
}

.idk12 .idk12-hero__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	max-width: var(--idk12-max);
	margin-inline: auto;
	padding: clamp(24px, 4vw, 60px) var(--idk12-gutter);
}

.idk12 .idk12-hero__copy {
	flex: 0 1 clamp(320px, 52%, 760px);
	text-align: center;
}

.idk12 .idk12-hero__eyebrow {
	margin: 0;
	color: var(--idk12-red);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(52px, 8.7vw, 150px);
	line-height: 1;
	letter-spacing: 0.02em;
}

.idk12 .idk12-hero__headline {
	max-width: 12em;
	margin: clamp(4px, 0.8vw, 14px) auto 0;
	color: var(--idk12-navy);
	font-family: var(--idk12-script);
	font-weight: 400;
	font-size: clamp(22px, 3.4vw, 58px);
	line-height: 1.25;
	letter-spacing: 0;
}

/* ------------------------------------------------------------------- Intro */

.idk12 .idk12-intro {
	padding-block: clamp(36px, 5vw, 90px);
	background: var(--idk12-white);
}

.idk12 .idk12-intro__text {
	max-width: 1410px;
	margin: 0 auto;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(18px, 1.75vw, 31px);
	line-height: 1.35;
	text-align: center;
}

/* -------------------------------------------------------------- Challenges */

.idk12 .idk12-challenges {
	padding-block: clamp(40px, 4.5vw, 80px);
	background: var(--idk12-offwhite);
}

.idk12 .idk12-challenges__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 48px);
	margin: clamp(32px, 5vw, 90px) 0 0;
	padding: 0;
	list-style: none;
}

.idk12 .idk12-challenges__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(10px, 1.4vw, 24px);
	text-align: center;
}

.idk12 .idk12-challenges__icon img {
	width: clamp(64px, 8vw, 132px);
	height: auto;
}

.idk12 .idk12-challenges__label {
	color: var(--idk12-red);
	font-weight: 700;
	font-size: clamp(15px, 1.3vw, 23px);
	line-height: 1.25;
}

/* --------------------------------------------------------- Why choose band */

.idk12 .idk12-why {
	padding-block: clamp(44px, 5.5vw, 100px);
	background: var(--idk12-white);
}

.idk12 .idk12-why__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: clamp(16px, 2.7vw, 48px);
	margin: clamp(24px, 3vw, 52px) 0 0;
	padding: 0;
	list-style: none;
}

.idk12 .idk12-why__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/*
 * Icons sit on a shared baseline and keep the comp's relative sizes. Each image
 * carries --idk12-icon-h: its height in comp pixels, measured on the 1728px
 * artboard; 1vw at 1728px is 17.28px, so 0.05787vw per comp pixel reproduces the
 * artboard exactly at that width and scales fluidly either side of it.
 */
.idk12 .idk12-why__icon {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: clamp(74px, 7.8vw, 135px);
	margin-bottom: clamp(10px, 1.2vw, 20px);
}

.idk12 .idk12-why__icon img {
	width: auto;
	max-width: 100%;
	height: clamp(
		calc(var(--idk12-icon-h, 120) * 0.55px),
		calc(var(--idk12-icon-h, 120) * 0.05787vw),
		calc(var(--idk12-icon-h, 120) * 1px)
	);
	object-fit: contain;
}

.idk12 .idk12-why__title {
	margin: 0 0 0.65em;
	color: var(--idk12-teal);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(13px, 1.15vw, 20px);
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.idk12 .idk12-why__body {
	margin: 0;
	color: var(--idk12-navy);
	font-family: var(--idk12-body);
	font-size: clamp(12px, 0.95vw, 17px);
	line-height: 1.55;
}

/* ------------------------------------------------------------ Resource hub */

.idk12 .idk12-resources {
	padding-block: clamp(44px, 5.5vw, 96px) clamp(30px, 3vw, 54px);
	background: var(--idk12-offwhite);
}

.idk12 .idk12-resources__sub {
	max-width: 1622px;
	margin: 0 auto clamp(28px, 3.4vw, 60px);
	color: var(--idk12-red);
	font-family: var(--idk12-sans);
	font-weight: 400;
	font-size: clamp(15px, 1.45vw, 26px);
	line-height: 1.35;
	text-align: center;
}

/*
 * Flex rather than grid so a short last row centres instead of hanging off
 * the left edge.
 */
.idk12 .idk12-resources__grid {
	--idk12-res-cols: 6;
	--idk12-res-gap: clamp(12px, 2.1vw, 36px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(18px, 2.2vw, 38px) var(--idk12-res-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.idk12 .idk12-resources__item {
	flex: 0 0 calc((100% - (var(--idk12-res-cols) - 1) * var(--idk12-res-gap)) / var(--idk12-res-cols));
	min-width: 0;
}

.idk12 .idk12-resources__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--idk12-navy);
	text-decoration: none;
}

.idk12 .idk12-resources__thumb {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.idk12 .idk12-resources__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.idk12 .idk12-resources__link:hover .idk12-resources__thumb,
.idk12 .idk12-resources__link:focus-visible .idk12-resources__thumb {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(2, 48, 71, 0.18);
}

.idk12 .idk12-resources__label {
	font-weight: 700;
	font-size: clamp(12px, 1.05vw, 19px);
	line-height: 1.25;
	text-align: center;
}

.idk12 .idk12-resources__link:hover .idk12-resources__label {
	color: var(--idk12-red);
}

/* ------------------------------------------------------------- Bid-ready CTA */

.idk12 .idk12-bid {
	padding-block: clamp(20px, 2.5vw, 44px) clamp(48px, 6vw, 110px);
	background: var(--idk12-offwhite);
}

.idk12 .idk12-bid__inner {
	text-align: center;
}

.idk12 .idk12-bid__heading {
	margin: 0 0 0.2em;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(24px, 2.5vw, 42px);
	line-height: 1.2;
}

.idk12 .idk12-bid__sub {
	margin: 0 0 clamp(20px, 2.4vw, 42px);
	color: var(--idk12-navy);
	font-family: var(--idk12-body);
	font-size: clamp(15px, 1.35vw, 24px);
	line-height: 1.35;
}

/* ---------------------------------------------------------------- Carousel */

.idk12 .idk12-carousel {
	position: relative;
}

.idk12 .idk12-carousel__track {
	display: flex;
	--idk12-slide-gap: clamp(16px, 2vw, 36px);
	--idk12-per-view: 4;
	gap: var(--idk12-slide-gap);
	margin: 0;
	padding: 4px 0 12px;
	list-style: none;
	overflow-x: auto;
	scroll-behavior: smooth;
	/*
	 * start-aligned proximity snapping: mandatory + centre snapping fights the
	 * arrow paging, because a centred first slide has no reachable snap point at
	 * scrollLeft 0 and the browser snaps a programmatic page back to the start.
	 */
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.idk12 .idk12-carousel__track::-webkit-scrollbar {
	display: none;
}

.idk12 .idk12-carousel__slide {
	flex: 0 0 auto;
	flex-basis: calc((100% - (var(--idk12-per-view) - 1) * var(--idk12-slide-gap)) / var(--idk12-per-view));
	scroll-snap-align: start;
}

.idk12 .idk12-carousel__empty {
	margin: 24px 0 0;
	color: var(--idk12-navy);
	font-family: var(--idk12-body);
	text-align: center;
}

.idk12 .idk12-arrows {
	position: absolute;
	inset-inline: clamp(-56px, -3.2vw, -10px);
	top: 50%;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	transform: translateY(-50%);
}

.idk12 .idk12-arrow {
	display: grid;
	place-items: center;
	width: clamp(34px, 2.6vw, 46px);
	height: clamp(34px, 2.6vw, 46px);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--idk12-navy);
	cursor: pointer;
	pointer-events: auto;
	transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.idk12 .idk12-arrow svg {
	width: 60%;
	height: auto;
}

.idk12 .idk12-arrow:hover {
	color: var(--idk12-red);
}

.idk12 .idk12-arrow[disabled] {
	opacity: 0.25;
	cursor: default;
}

/* ---------------------------------------------------------------- Products */

.idk12 .idk12-products {
	padding-block: clamp(44px, 5.5vw, 96px);
	background: linear-gradient(160deg, var(--idk12-blue-light) 0%, var(--idk12-blue-deep) 100%);
}

.idk12 .idk12-products .idk12-carousel {
	margin-top: clamp(24px, 3vw, 52px);
}

/*
 * "safe" keeps the centring while the row fits, but falls back to start
 * alignment once it overflows - plain `center` would push the first slides past
 * scrollLeft 0 where they can never be scrolled back into view.
 */
.idk12 .idk12-products__track {
	justify-content: safe center;
}

.idk12 .idk12-products__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(12px, 1.4vw, 24px);
	height: 100%;
	color: var(--idk12-navy);
	text-decoration: none;
}

.idk12 .idk12-products__thumb {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: clamp(190px, 20.5vw, 356px);
	transition: transform 0.25s ease;
}

.idk12 .idk12-products__thumb img {
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

.idk12 .idk12-products__link:hover .idk12-products__thumb {
	transform: translateY(-6px);
}

.idk12 .idk12-products__title {
	font-weight: 700;
	font-size: clamp(12px, 1vw, 18px);
	line-height: 1.35;
	text-align: center;
}

.idk12 .idk12-products__link:hover .idk12-products__title {
	color: var(--idk12-red);
}

.idk12 .idk12-products__cta {
	margin: clamp(28px, 3.4vw, 60px) 0 0;
	text-align: center;
}

/* ----------------------------------------------------------------- Recipes */

.idk12 .idk12-recipes {
	padding-block: clamp(44px, 5.5vw, 96px);
	background: var(--idk12-offwhite);
}

.idk12 .idk12-select {
	position: relative;
	width: min(471px, 100%);
	margin: clamp(20px, 2.6vw, 46px) auto clamp(28px, 3.4vw, 58px);
}

.idk12 .idk12-select__input {
	width: 100%;
	/* Foundation sets a fixed select height and margin that crop the label. */
	height: auto;
	min-height: 0;
	margin: 0;
	padding: clamp(12px, 1.3vw, 22px) clamp(48px, 4vw, 68px) clamp(12px, 1.3vw, 22px) clamp(16px, 1.8vw, 32px);
	border: 0;
	border-radius: 8px;
	background: var(--idk12-navy);
	color: var(--idk12-white);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(15px, 1.2vw, 21px);
	line-height: 1.3;
	appearance: none;
	-webkit-appearance: none;
	background-image: none;
	box-shadow: none;
	text-overflow: ellipsis;
	cursor: pointer;
}

.idk12 .idk12-select__input option {
	color: var(--idk12-navy);
	background: var(--idk12-white);
}

.idk12 .idk12-select__chevron {
	position: absolute;
	top: 50%;
	right: clamp(14px, 1.6vw, 28px);
	width: clamp(20px, 1.6vw, 28px);
	color: var(--idk12-white);
	pointer-events: none;
	transform: translateY(-50%);
}

.idk12 .idk12-select__chevron svg {
	display: block;
	width: 100%;
	height: auto;
}

.idk12 .idk12-recipes__item[hidden] {
	display: none;
}

.idk12 .idk12-recipes__link {
	position: relative;
	display: block;
	padding-bottom: clamp(28px, 3vw, 52px);
	color: var(--idk12-navy);
	text-decoration: none;
}

.idk12 .idk12-recipes__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 349 / 357;
	background: #e7e7e7;
}

.idk12 .idk12-recipes__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.idk12 .idk12-recipes__link:hover .idk12-recipes__thumb img {
	transform: scale(1.05);
}

.idk12 .idk12-recipes__title {
	position: absolute;
	bottom: 0;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(140px, 57%, 201px);
	min-height: clamp(58px, 5.3vw, 91px);
	padding: 10px 12px;
	background: var(--idk12-white);
	box-shadow: 0 6px 14px rgba(2, 48, 71, 0.12);
	font-weight: 700;
	font-size: clamp(11px, 0.9vw, 16px);
	line-height: 1.2;
	text-align: center;
	transform: translateX(-50%);
}

.idk12 .idk12-recipes__link:hover .idk12-recipes__title {
	color: var(--idk12-red);
}

/* ------------------------------------------------------------- Recipe idea */

.idk12 .idk12-idea {
	padding-block: clamp(40px, 5vw, 92px);
	background-color: var(--idk12-blue-light);
	background-image: var(--idk12-idea-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.idk12 .idk12-idea__inner {
	display: grid;
	grid-template-columns: minmax(0, 621fr) minmax(0, 900fr);
	gap: clamp(24px, 3vw, 56px);
	align-items: start;
}

.idk12 .idk12-idea__form {
	padding: clamp(20px, 2.4vw, 42px);
	background: var(--idk12-offwhite);
	box-shadow: 0 10px 30px rgba(2, 48, 71, 0.1);
}

.idk12 .idk12-idea__copy {
	padding-top: clamp(0px, 1vw, 18px);
}

.idk12 .idk12-idea__heading {
	margin: 0;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(26px, 3.2vw, 56px);
	line-height: 1.15;
	text-align: center;
}

/* Placeholder shown until a Gravity Forms ID is set. */
.idk12 .idk12-idea__field {
	margin: 0 0 clamp(10px, 1.1vw, 18px);
	padding: clamp(12px, 1.1vw, 20px) clamp(12px, 1.2vw, 22px);
	background: var(--idk12-white);
	color: var(--idk12-navy);
	font-weight: 700;
	font-size: clamp(14px, 1.05vw, 19px);
}

.idk12 .idk12-idea__field--area {
	min-height: clamp(120px, 13vw, 240px);
}

.idk12 .idk12-idea__note {
	margin: 0 0 clamp(14px, 1.5vw, 24px);
	color: var(--idk12-red);
	font-family: var(--idk12-body);
	font-size: 14px;
	line-height: 1.4;
}

.idk12 .idk12-idea__note:empty {
	display: none;
}

.idk12 .idk12-idea__submit {
	cursor: default;
}

/* Gravity Forms embedded in the card. */
.idk12 .idk12-idea__form .gform_wrapper {
	margin: 0;
}

.idk12 .idk12-idea__form .gform_wrapper .gform_fields {
	row-gap: clamp(10px, 1.1vw, 18px);
}

.idk12 .idk12-idea__form .gform_wrapper .gfield_label {
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
}

.idk12 .idk12-idea__form .gform_wrapper input[type="text"],
.idk12 .idk12-idea__form .gform_wrapper input[type="email"],
.idk12 .idk12-idea__form .gform_wrapper textarea {
	width: 100%;
	padding: clamp(10px, 1vw, 18px) clamp(12px, 1.2vw, 22px);
	border: 1px solid #dcdcdc;
	border-radius: 0;
	background: var(--idk12-white);
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-size: clamp(14px, 1.05vw, 19px);
}

.idk12 .idk12-idea__form .gform_wrapper .gform_footer {
	margin: clamp(14px, 1.6vw, 26px) 0 0;
	padding: 0;
}

.idk12 .idk12-idea__form .gform_wrapper .gform_button {
	display: inline-block;
	padding: clamp(12px, 1.1vw, 19px) clamp(28px, 2.6vw, 48px);
	border: 0;
	border-radius: 6px;
	background: var(--idk12-red);
	color: var(--idk12-white);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(16px, 1.35vw, 24px);
	cursor: pointer;
}

.idk12 .idk12-idea__form .gform_wrapper .gform_button:hover {
	background: #a01c1c;
}

/* ------------------------------------------------------- The taste kids love */

.idk12 .idk12-taste {
	padding-block: clamp(36px, 4.5vw, 80px);
	background: var(--idk12-teal);
}

.idk12 .idk12-taste__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 56px);
	align-items: center;
}

.idk12 .idk12-taste__media img {
	display: block;
	width: 100%;
	max-width: 686px;
	height: auto;
}

.idk12 .idk12-taste__copy {
	color: var(--idk12-white);
}

.idk12 .idk12-taste__heading {
	margin: 0 0 0.15em;
	color: var(--idk12-white);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(26px, 3.1vw, 54px);
	line-height: 1.15;
}

.idk12 .idk12-taste__sub {
	margin: 0 0 clamp(14px, 1.6vw, 28px);
	font-family: var(--idk12-sans);
	font-weight: 300;
	font-size: clamp(17px, 1.9vw, 33px);
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.idk12 .idk12-taste__body {
	max-width: 620px;
	margin: 0;
	font-family: var(--idk12-body);
	font-size: clamp(13px, 1.05vw, 18px);
	line-height: 1.65;
}

/* ------------------------------------------------------------ Testimonials */

.idk12 .idk12-quotes {
	padding-block: clamp(48px, 6vw, 110px);
	background: var(--idk12-yellow);
}

.idk12 .idk12-quotes__carousel {
	margin-top: clamp(28px, 3.6vw, 64px);
	padding-inline: clamp(0px, 5vw, 96px);
}

.idk12 .idk12-quotes__mark {
	position: absolute;
	z-index: 1;
	width: clamp(40px, 4.2vw, 74px);
	color: var(--idk12-orange);
	line-height: 0;
	pointer-events: none;
}

.idk12 .idk12-quotes__mark svg {
	display: block;
	width: 100%;
	height: auto;
}

.idk12 .idk12-quotes__mark--open {
	top: 0;
	left: 0;
}

.idk12 .idk12-quotes__mark--close {
	right: 0;
	bottom: clamp(24px, 4vw, 80px);
	/* Same glyph, turned over to close the quote. */
	transform: rotate(180deg);
}

.idk12 .idk12-quotes__item {
	flex-basis: 100%;
	width: 100%;
	/* Slides share the tallest quote's height, so centre the shorter ones. */
	display: flex;
	align-items: center;
}

.idk12 .idk12-quotes__quote {
	max-width: 950px;
	margin: 0 auto;
	color: var(--idk12-navy);
	padding: 0px !important;
	border-left: 0px;
}

.idk12 .idk12-quotes__quote p {
	margin: 0 0 1.2em;
	color: var(--idk12-navy);
	font-size: clamp(18px, 1.15vw, 24px);
	line-height: 1.75;
}

.idk12 .idk12-quotes__author {
	font-family: var(--idk12-body);
	font-size: clamp(15px, 1.25vw, 22px);
	line-height: 1.4;
}

.idk12 .idk12-quotes__author strong {
	font-weight: 700;
}

.idk12 .idk12-quotes .idk12-arrows {
	position: static;
	justify-content: center;
	gap: clamp(24px, 3vw, 56px);
	margin-top: clamp(18px, 2.4vw, 40px);
	transform: none;
}

/* ------------------------------------------------------------------ Events */

.idk12 .idk12-events {
	padding-block: clamp(44px, 5vw, 90px);
	background-color: #3a2f24;
	background-image: var(--idk12-events-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.idk12 .idk12-events__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 780px);
	gap: clamp(24px, 3vw, 56px);
}

.idk12 .idk12-events__heading {
	max-width: 8em;
	margin: 0;
	color: var(--idk12-white);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(28px, 3.4vw, 58px);
	line-height: 1.15;
	text-align: center !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.idk12 .idk12-cal {
	padding: clamp(16px, 2vw, 34px) clamp(14px, 1.8vw, 30px);
	border-radius: 10px;
	background: var(--idk12-white);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.idk12 .idk12-cal__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 1.5vw, 24px);
	margin: 0 0 clamp(12px, 1.5vw, 26px);
}

.idk12 .idk12-cal__nav {
	flex: none;
}

.idk12 .idk12-cal__nav[hidden] {
	display: none;
}

.idk12 .idk12-cal__year {
	font-weight: 700;
}

.idk12 .idk12-cal__month {
	flex: 1 1 auto;
	margin: 0;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 300;
	font-size: clamp(20px, 1.9vw, 33px);
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.idk12 .idk12-cal__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.idk12 .idk12-cal__table th,
.idk12 .idk12-cal__table td {
	padding: 0;
	border: 0;
	background: none;
}

.idk12 .idk12-cal__table th {
	padding-bottom: clamp(6px, 0.8vw, 14px);
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 400;
	font-size: clamp(9px, 0.82vw, 15px);
	line-height: 1.2;
	text-align: center;
}

.idk12 .idk12-cal__table th abbr {
	text-decoration: none;
	border: 0;
}

.idk12 .idk12-cal__day,
.idk12 .idk12-cal__pad {
	height: clamp(34px, 3.6vw, 62px);
	text-align: center;
	vertical-align: middle;
}

/*
 * The highlight sits on the <time>, not the cell: table cells in a collapsed
 * table ignore border-radius. Multi-day events drop their inner margins and
 * corners so consecutive days join into one bar.
 */
.idk12 .idk12-cal__day time {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(28px, 3vw, 52px);
	margin: 3px;
	border-radius: 6px;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(13px, 1.25vw, 22px);
	line-height: 1;
}

.idk12 .idk12-cal__day.is-event time {
	border-radius: 0;
	background: var(--idk12-red);
	color: var(--idk12-white);
	cursor: help;
}

.idk12 .idk12-cal__day.is-event:not(.is-start) time {
	margin-left: 0;
}

.idk12 .idk12-cal__day.is-event:not(.is-end) time {
	margin-right: 0;
}

.idk12 .idk12-cal__day.is-event.is-start time,
.idk12 .idk12-cal__day.is-event:first-child time {
	margin-left: 3px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.idk12 .idk12-cal__day.is-event.is-end time,
.idk12 .idk12-cal__day.is-event:last-child time {
	margin-right: 3px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

.idk12 .idk12-cal__day.is-today time {
	box-shadow: inset 0 0 0 2px var(--idk12-red);
}

.idk12 .idk12-cal__day.is-event.is-today time {
	box-shadow: inset 0 0 0 2px var(--idk12-white);
}

.idk12 .idk12-cal__upcoming {
	margin-top: clamp(14px, 1.8vw, 28px);
	padding-top: clamp(12px, 1.5vw, 22px);
	border-top: 1px solid rgba(2, 48, 71, 0.15);
}

.idk12 .idk12-cal__upcoming-heading {
	margin: 0 0 8px;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(12px, 0.9vw, 16px);
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.idk12 .idk12-cal__list {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.idk12 .idk12-cal__list li[hidden] {
	display: none;
}

.idk12 .idk12-cal__list li {
	margin: 0;
	padding: 0;
}

.idk12 .idk12-cal__event {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 16px;
	width: 100%;
	margin: 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	box-shadow: none;
	color: var(--idk12-navy);
	font-family: var(--idk12-body);
	font-size: clamp(14px, 1vw, 18px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.idk12 .idk12-cal__event:hover,
.idk12 .idk12-cal__event:focus-visible {
	background: rgba(2, 48, 71, 0.06);
	color: var(--idk12-navy);
}

.idk12 .idk12-cal__when {
	flex: 0 0 auto;
	min-width: 11em;
	color: var(--idk12-red);
	font-family: var(--idk12-sans);
	font-weight: 700;
}

.idk12 .idk12-cal__what {
	flex: 1 1 12em;
	font-weight: 600;
}

.idk12 .idk12-events__linkedin {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 1vw, 18px);
	margin-top: clamp(16px, 2vw, 34px);
	color: var(--idk12-white);
	font-family: var(--idk12-body);
	font-size: clamp(13px, 1.1vw, 19px);
	text-decoration: none;
}

.idk12 .idk12-events__linkedin:hover .idk12-events__linkedin-text {
	text-decoration: underline;
}

.idk12 .idk12-events__linkedin-icon {
	display: grid;
	place-items: center;
	width: clamp(34px, 3.2vw, 56px);
	height: clamp(34px, 3.2vw, 56px);
	border-radius: 6px;
	background: var(--idk12-white);
	color: #0a66c2;
}

.idk12 .idk12-events__linkedin-icon svg {
	width: 62%;
	height: auto;
}

/* ----------------------------------------------------------------- Contact */

.idk12 .idk12-contact {
	padding-block: clamp(44px, 5.5vw, 96px);
	background: var(--idk12-offwhite);
}

.idk12 .idk12-contact__heading {
	margin-bottom: clamp(24px, 3vw, 52px);
	text-align: left;
}

.idk12 .idk12-contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 807fr) minmax(0, 472fr);
	gap: clamp(24px, 4vw, 80px);
	align-items: start;
}

.idk12 .idk12-contact__name {
	margin: 0 0 0.15em;
	color: var(--idk12-red);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(20px, 1.9vw, 33px);
	line-height: 1.2;
	text-transform: uppercase;
}

.idk12 .idk12-contact__title {
	margin: 0 0 0.35em;
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(14px, 1.15vw, 20px);
	line-height: 1.3;
	text-transform: uppercase;
}

.idk12 .idk12-contact__email {
	margin: 0 0 clamp(16px, 1.8vw, 30px);
}

.idk12 .idk12-contact__email a {
	color: var(--idk12-navy);
	font-family: var(--idk12-sans);
	font-weight: 700;
	font-size: clamp(13px, 1.05vw, 18px);
	text-decoration: underline;
	text-transform: uppercase;
}

.idk12 .idk12-contact__email a:hover {
	color: var(--idk12-red);
}

.idk12 .idk12-contact__bio p {
	margin: 0 0 1.3em;
	color: var(--idk12-navy);
	font-family: var(--idk12-body);
	font-size: clamp(13px, 1vw, 17px);
	line-height: 1.7;
}

.idk12 .idk12-contact__bio p:last-child {
	margin-bottom: 0;
}

.idk12 .idk12-contact__photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ------------------------------------------------------------ Breakpoints */

@media (max-width: 1100px) {
	.idk12 .idk12-carousel__track {
		--idk12-per-view: 3;
	}

	.idk12 .idk12-why__grid {
		grid-template-columns: repeat(3, 1fr);
		row-gap: clamp(28px, 4vw, 48px);
	}

	.idk12 .idk12-resources__grid {
		--idk12-res-cols: 3;
	}

	.idk12 .idk12-arrows {
		inset-inline: -6px;
	}
}

@media (max-width: 860px) {
	.idk12 .idk12-carousel__track {
		--idk12-per-view: 2;
	}

	.idk12 .idk12-hero__inner {
		justify-content: center;
	}

	.idk12 .idk12-hero__copy {
		flex-basis: 100%;
	}

	.idk12 .idk12-hero__bg {
		object-position: 35% center;
	}

	/*
	 * At desktop the headline sits on the clean countertop half of the photo.
	 * Once the image crops in there is no quiet area left, so lay a scrim over
	 * it to keep the navy-on-photo contrast usable.
	 */
	.idk12 .idk12-hero::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: rgba(255, 255, 255, 0.74);
	}

	.idk12 .idk12-challenges__grid {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 32px;
	}

	.idk12 .idk12-why__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.idk12 .idk12-idea__inner,
	.idk12 .idk12-taste__inner,
	.idk12 .idk12-events__inner,
	.idk12 .idk12-contact__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.idk12 .idk12-idea__copy {
		order: -1;
	}

	.idk12 .idk12-taste__media {
		order: 2;
	}

	.idk12 .idk12-taste__media img {
		margin-inline: auto;
		max-width: 520px;
	}

	.idk12 .idk12-events__heading {
		max-width: none;
		text-align: center;
	}

	.idk12 .idk12-contact__photo {
		max-width: 380px;
		margin-inline: auto;
	}

	.idk12 .idk12-quotes__carousel {
		padding-inline: 0;
	}

	.idk12 .idk12-quotes__mark {
		display: none;
	}
}

@media (max-width: 560px) {
	.idk12 .idk12-carousel__track {
		--idk12-per-view: 1;
	}

	.idk12 .idk12-why__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.idk12 .idk12-resources__grid {
		--idk12-res-cols: 2;
	}

	.idk12 .idk12-cal {
		padding: 14px 8px;
	}

	.idk12 .idk12-cal__day time {
		margin: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.idk12 .idk12-carousel__track {
		scroll-behavior: auto;
	}

	.idk12 *,
	.idk12 *::before,
	.idk12 *::after {
		transition-duration: 0.01ms !important;
	}
}
