/*
 * College Internships -- Social Enterprise Leadership Internship landing page
 * (Redesign Genie task 785).
 *
 * Loads on /college-internships/ only, after Elementor's kit stylesheet,
 * via SSB_Site_Design. Every rule is scoped under
 * body.ssb-design-page-college-internships so nothing leaks to other
 * pages. The page markup is built from
 * assets/site-design/pages/college-internships.page.json. See
 * assets/site-design/README.md.
 *
 * Colours, type hierarchy and image placement reproduce the business's own
 * design export (docs/design-references/task-785-inspiration-14). Deep
 * Southside Blooms purple for headings and primary actions, a lime accent
 * from the pay badge, soft lavender and sage panels, dark farm greens for
 * the hero and closing call to action. Photographs are cropped from the
 * same reference into pages/college-internships/.
 *
 * The header and footer come from global Elementor templates and are left
 * alone here; only the page body is styled.
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap");

body.ssb-design-page-college-internships {
	--ci-purple: #7e2f9e;
	--ci-purple-deep: #500f67;
	--ci-purple-darker: #3b0b4f;
	--ci-lavender: #ece1f0;
	--ci-lavender-line: #d9c6e4;
	--ci-sage: #eaf1d7;
	--ci-sage-line: #cfe0a9;
	--ci-lime: #c1d978;
	--ci-lime-deep: #9ec441;
	--ci-paper: var(--ssb-color-white, #fbfdf9);
	--ci-page: #fbfdf9;
	--ci-ink: #1f2430;
	--ci-muted: #4a4a52;
	--ci-white: var(--ssb-color-white, #ffffff);
	--ci-hero-a: #203312;
	--ci-hero-b: #2e1340;
	--ci-cta-overlay: rgba(28, 44, 14, 0.72);
	--ci-head-font: "Poppins", "Inter", "Helvetica Neue", Arial, sans-serif;
	--ci-body-font: "Inter", "Helvetica Neue", Arial, sans-serif;
	--ci-radius: var(--ssb-radius-md, 10px);
	--ci-radius-lg: 18px;
	--ci-shadow: 0 16px 40px rgba(59, 11, 79, 0.12);
	background-color: var(--ci-page);
	color: var(--ci-ink);
	font-family: var(--ci-body-font);
}

/* ============================== Shared type ============================== */
body.ssb-design-page-college-internships .ssb-ci-h2 .elementor-heading-title {
	font-family: var(--ci-head-font);
	font-weight: 800;
	color: var(--ci-purple-deep);
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 10px;
}

body.ssb-design-page-college-internships .ssb-ci-lead p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--ci-muted);
	max-width: 760px;
	margin: 0 auto;
}

body.ssb-design-page-college-internships .ssb-ci-body p {
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--ci-ink);
	margin: 0 0 16px;
}

body.ssb-design-page-college-internships .ssb-ci-body p:last-child {
	margin-bottom: 0;
}

/* ================================ Buttons ================================ */
body.ssb-design-page-college-internships .ssb-ci-btn .elementor-button {
	font-family: var(--ci-head-font);
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: 0.01em;
	border-radius: var(--ssb-radius-pill, 999px);
	padding: 16px 30px;
	border: 2px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.ssb-design-page-college-internships .ssb-ci-btn--primary .elementor-button {
	background-color: var(--ci-purple);
	color: var(--ci-white);
}

body.ssb-design-page-college-internships .ssb-ci-btn--primary .elementor-button:hover,
body.ssb-design-page-college-internships .ssb-ci-btn--primary .elementor-button:focus-visible {
	background-color: var(--ci-purple-deep);
	color: var(--ci-white);
	transform: translateY(-1px);
}

body.ssb-design-page-college-internships .ssb-ci-btn--ghost .elementor-button {
	background-color: transparent;
	color: var(--ci-white);
	border-color: rgba(255, 255, 255, 0.85);
}

body.ssb-design-page-college-internships .ssb-ci-btn--ghost .elementor-button:hover,
body.ssb-design-page-college-internships .ssb-ci-btn--ghost .elementor-button:focus-visible {
	background-color: var(--ci-white);
	color: var(--ci-purple-deep);
	border-color: var(--ci-white);
	transform: translateY(-1px);
}

body.ssb-design-page-college-internships .ssb-ci-btn .elementor-button:focus-visible {
	outline: 3px solid var(--ci-lime);
	outline-offset: 3px;
}

/* ================================= Hero ================================== */
body.ssb-design-page-college-internships .ssb-ci-hero {
	background: linear-gradient(120deg, var(--ci-hero-a) 0%, var(--ci-hero-b) 100%);
	scroll-margin-top: 120px;
}

body.ssb-design-page-college-internships .ssb-ci-hero,
body.ssb-design-page-college-internships .ssb-ci-hero > .e-con-inner {
	align-items: center;
	gap: 48px;
}

body.ssb-design-page-college-internships .ssb-ci-hero-copy {
	flex: 1 1 52%;
	gap: 14px;
}

body.ssb-design-page-college-internships .ssb-ci-hero-media {
	flex: 1 1 48%;
}

body.ssb-design-page-college-internships .ssb-ci-kicker p {
	display: inline-block;
	margin: 0;
	padding: 0 0 8px;
	border-bottom: 4px solid var(--ci-lime);
	color: var(--ci-lime);
	font-family: var(--ci-head-font);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.ssb-design-page-college-internships .ssb-ci-hero-title .elementor-heading-title {
	font-family: var(--ci-head-font);
	font-weight: 800;
	color: var(--ci-white);
	font-size: clamp(2.3rem, 5vw, 3.7rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 4px 0 6px;
}

body.ssb-design-page-college-internships .ssb-ci-hero-tag p {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	font-weight: 600;
	color: var(--ci-white);
}

body.ssb-design-page-college-internships .ssb-ci-hero-sub p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
	max-width: 540px;
}

body.ssb-design-page-college-internships .ssb-ci-hero-actions,
body.ssb-design-page-college-internships .ssb-ci-hero-actions > .e-con-inner {
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

body.ssb-design-page-college-internships .ssb-ci-hero-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ci-radius-lg);
	box-shadow: var(--ci-shadow);
}

/* ========================= What You'll Experience ======================== */
body.ssb-design-page-college-internships .ssb-ci-experience {
	background-color: var(--ci-page);
	scroll-margin-top: 120px;
}

body.ssb-design-page-college-internships .ssb-ci-cards,
body.ssb-design-page-college-internships .ssb-ci-cards > .e-con-inner {
	gap: 26px;
	align-items: stretch;
}

body.ssb-design-page-college-internships .ssb-ci-card {
	flex: 1 1 0;
	background-color: var(--ci-white);
	border: 1px solid var(--ci-lavender-line);
	border-radius: var(--ci-radius-lg);
	box-shadow: var(--ci-shadow);
	overflow: hidden;
}

body.ssb-design-page-college-internships .ssb-ci-card-img img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

body.ssb-design-page-college-internships .ssb-ci-card-box {
	padding: 0 22px 28px;
}

/* Lift the icon circle so it straddles the photo edge, as in the reference. */
body.ssb-design-page-college-internships .ssb-ci-card-box .elementor-icon-box-icon {
	margin-top: -34px;
	margin-bottom: 14px;
}

body.ssb-design-page-college-internships .ssb-ci-card-box .elementor-icon {
	width: 62px;
	height: 62px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--ci-lavender);
	border: 4px solid var(--ci-white);
	border-radius: 50%;
	color: var(--ci-purple);
	fill: var(--ci-purple);
	font-size: 24px;
}

body.ssb-design-page-college-internships .ssb-ci-card-box .elementor-icon svg {
	width: 24px;
	height: 24px;
	fill: var(--ci-purple);
}

body.ssb-design-page-college-internships .ssb-ci-card-box .elementor-icon-box-title {
	font-family: var(--ci-head-font);
	font-weight: 700;
	font-size: 1.22rem;
	line-height: 1.2;
	color: var(--ci-purple-deep);
	margin: 0 0 10px;
}

body.ssb-design-page-college-internships .ssb-ci-card-box .elementor-icon-box-description {
	text-align: left;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ci-muted);
	margin: 0;
}

/* =========================== Leadership banner =========================== */
body.ssb-design-page-college-internships .ssb-ci-leadership,
body.ssb-design-page-college-internships .ssb-ci-leadership > .e-con-inner {
	align-items: stretch;
	gap: 0;
}

body.ssb-design-page-college-internships .ssb-ci-leadership-media {
	flex: 1 1 45%;
}

/* The photo fills the whole media column, however tall the copy panel
 * beside it grows: the column stretches to the row, the image widget is
 * pinned to it and the photo covers it. */
body.ssb-design-page-college-internships .ssb-ci-leadership-media {
	position: relative;
	align-self: stretch;
	min-height: 320px;
}

body.ssb-design-page-college-internships .ssb-ci-leadership-media > .e-con-inner {
	position: static;
}

body.ssb-design-page-college-internships .ssb-ci-leadership-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

body.ssb-design-page-college-internships .ssb-ci-leadership-img .elementor-widget-container,
body.ssb-design-page-college-internships .ssb-ci-leadership-img .elementor-image {
	height: 100%;
}

body.ssb-design-page-college-internships .ssb-ci-leadership-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.ssb-design-page-college-internships .ssb-ci-leadership-copy {
	flex: 1 1 55%;
	background-color: var(--ci-lavender);
	justify-content: center;
}

/* ===================== Details + Who Should Apply ======================== */
body.ssb-design-page-college-internships .ssb-ci-twocol,
body.ssb-design-page-college-internships .ssb-ci-twocol > .e-con-inner {
	align-items: stretch;
	gap: 40px;
}

body.ssb-design-page-college-internships .ssb-ci-details {
	flex: 1 1 45%;
	background-color: var(--ci-sage);
	border-radius: var(--ci-radius-lg);
}

body.ssb-design-page-college-internships .ssb-ci-apply {
	flex: 1 1 55%;
	justify-content: center;
}

body.ssb-design-page-college-internships .ssb-ci-detail-list .elementor-icon-list-items {
	display: flex;
	flex-direction: column;
	gap: 0;
}

body.ssb-design-page-college-internships .ssb-ci-detail-list .elementor-icon-list-item {
	padding: 14px 0;
	border-bottom: 1px solid var(--ci-sage-line);
}

body.ssb-design-page-college-internships .ssb-ci-detail-list .elementor-icon-list-item:last-child {
	border-bottom: 0;
}

body.ssb-design-page-college-internships .ssb-ci-detail-list .elementor-icon-list-icon i,
body.ssb-design-page-college-internships .ssb-ci-detail-list .elementor-icon-list-icon svg {
	color: var(--ci-purple);
	fill: var(--ci-purple);
	font-size: 20px;
}

body.ssb-design-page-college-internships .ssb-ci-detail-list .elementor-icon-list-text {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ci-ink);
}

body.ssb-design-page-college-internships .ssb-ci-quote p {
	margin: 20px 0 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--ci-lime-deep);
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--ci-muted);
}

/* ================================ CTA band =============================== */
body.ssb-design-page-college-internships .ssb-ci-cta {
	background-image: linear-gradient(var(--ci-cta-overlay), var(--ci-cta-overlay)), url("college-internships/cta-bloom.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	scroll-margin-top: 120px;
}

body.ssb-design-page-college-internships .ssb-ci-cta-title .elementor-heading-title {
	font-family: var(--ci-head-font);
	font-weight: 800;
	color: var(--ci-white);
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	line-height: 1.15;
	margin: 0 0 12px;
}

body.ssb-design-page-college-internships .ssb-ci-cta-sub p {
	margin: 0 auto 26px;
	max-width: 640px;
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
}

/* =============================== Tagline bar ============================== */
body.ssb-design-page-college-internships .ssb-ci-tagline {
	background-color: var(--ci-purple-darker);
}

body.ssb-design-page-college-internships .ssb-ci-tagline-text p {
	margin: 0;
	font-style: italic;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.92);
}

/* ================================= Mobile ================================ */
@media (max-width: 1024px) {
	body.ssb-design-page-college-internships .ssb-ci-card-box .elementor-icon-box-description {
		font-size: 0.96rem;
	}
}

@media (max-width: 880px) {
	/* Elementor drives the row direction through --flex-direction on the
	   element's own selector, so flip the variable as well as the property. */
	body.ssb-design-page-college-internships .ssb-ci-hero,
	body.ssb-design-page-college-internships .ssb-ci-hero > .e-con-inner,
	body.ssb-design-page-college-internships .ssb-ci-cards,
	body.ssb-design-page-college-internships .ssb-ci-cards > .e-con-inner,
	body.ssb-design-page-college-internships .ssb-ci-leadership,
	body.ssb-design-page-college-internships .ssb-ci-leadership > .e-con-inner,
	body.ssb-design-page-college-internships .ssb-ci-twocol,
	body.ssb-design-page-college-internships .ssb-ci-twocol > .e-con-inner {
		--flex-direction: column;
		flex-direction: column !important;
	}

	body.ssb-design-page-college-internships .ssb-ci-hero-copy,
	body.ssb-design-page-college-internships .ssb-ci-hero-media,
	body.ssb-design-page-college-internships .ssb-ci-card,
	body.ssb-design-page-college-internships .ssb-ci-leadership-media,
	body.ssb-design-page-college-internships .ssb-ci-leadership-copy,
	body.ssb-design-page-college-internships .ssb-ci-details,
	body.ssb-design-page-college-internships .ssb-ci-apply {
		flex-basis: auto;
		width: 100%;
	}

	body.ssb-design-page-college-internships .ssb-ci-leadership-copy {
		padding: 40px 24px;
	}

	body.ssb-design-page-college-internships .ssb-ci-leadership-media {
		min-height: 240px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ssb-design-page-college-internships .ssb-ci-btn .elementor-button {
		transition: none;
	}

	body.ssb-design-page-college-internships .ssb-ci-btn .elementor-button:hover {
		transform: none;
	}
}
