/**
 * Job Shadowing page.
 */

.ych-job-page {
	overflow: clip;
	background: var(--ych-bg-primary);
	color: var(--ych-text-primary);
}

.ych-job-page,
.ych-job-page *,
.ych-job-page *::before,
.ych-job-page *::after {
	box-sizing: border-box;
}

.ych-job-page :where(h1, h2, h3, p, figure) {
	margin-block-start: 0;
}

.ych-job-page :where(h1, h2, h3) {
	color: var(--ych-text-primary);
	text-wrap: balance;
}

.ych-job-page p {
	color: var(--ych-text-secondary);
}

.ych-job-eyebrow {
	margin-block-end: 1rem;
	color: var(--ych-accent-blue) !important;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ych-job-hero {
	position: relative;
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
	background:
		radial-gradient(circle at 85% 14%, rgba(154, 114, 208, 0.17), transparent 28rem),
		linear-gradient(155deg, #0b1829 0%, var(--ych-bg-primary) 68%, #0c1728 100%);
}

.ych-job-hero__grid {
	display: grid;
	min-height: min(31rem, calc(100svh - 8rem));
	grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.72fr);
	align-items: center;
	gap: clamp(2.5rem, 5vw, 5rem);
}

.ych-job-hero__content {
	max-width: 48rem;
}

.ych-job-breadcrumb {
	margin-block-end: clamp(2rem, 3vw, 3rem);
}

.ych-job-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ych-text-muted);
	font-size: 0.75rem;
	font-weight: 700;
}

.ych-job-breadcrumb li + li::before {
	content: "/";
	margin-inline-end: 0.625rem;
	color: var(--ych-border-strong);
}

.ych-job-breadcrumb a {
	color: var(--ych-text-secondary);
	text-decoration: none;
	transition: color var(--ych-transition);
}

.ych-job-breadcrumb a:hover {
	color: var(--ych-text-primary);
}

.ych-job-hero h1 {
	max-width: 11ch;
	margin-block-end: 1.5rem;
	font-size: clamp(3rem, 5vw, 4.5rem);
	letter-spacing: -0.055em;
	line-height: 0.92;
}

.ych-job-hero__lead {
	max-width: 42rem;
	margin-block-end: 0;
	color: rgba(244, 246, 251, 0.82) !important;
	font-size: clamp(1.05rem, 1.5vw, 1.22rem);
	line-height: 1.72;
}

.ych-job-button {
	display: inline-flex;
	min-height: 3.5rem;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-block-start: 2rem;
	padding: 0.9rem 1.5rem;
	border: 0.125rem solid transparent;
	border-radius: var(--ych-radius-button);
	background: var(--ych-accent-gradient);
	box-shadow: var(--ych-shadow-small);
	color: var(--ych-bg-primary);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: box-shadow var(--ych-transition), transform var(--ych-transition);
}

.ych-job-button:hover {
	box-shadow: var(--ych-shadow-medium);
	color: var(--ych-bg-primary);
	transform: translateY(-0.125rem);
}

.ych-job-hero__panel {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border: 0.0625rem solid var(--ych-border-strong);
	border-radius: 2rem;
	background:
		radial-gradient(circle at 100% 0%, rgba(154, 114, 208, 0.18), transparent 18rem),
		rgba(16, 32, 51, 0.84);
	box-shadow: var(--ych-shadow-large);
}

.ych-job-hero__panel-label,
.ych-job-hero__fields {
	grid-column: 1 / -1;
}

.ych-job-hero__panel-label {
	margin-block-end: 1rem;
	color: var(--ych-text-muted) !important;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.ych-job-hero__stat {
	min-width: 0;
	padding: 1.25rem;
	border: 0.0625rem solid var(--ych-border);
	border-radius: 1.2rem;
	background: rgba(9, 19, 34, 0.64);
}

.ych-job-hero__stat strong,
.ych-job-hero__stat span {
	display: block;
}

.ych-job-hero__stat strong {
	background: var(--ych-accent-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(2.6rem, 5vw, 4rem);
	letter-spacing: -0.055em;
	line-height: 1;
}

.ych-job-hero__stat span {
	margin-block-start: 0.65rem;
	color: var(--ych-text-secondary);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.4;
}

.ych-job-hero__fields {
	margin: 0;
	padding-block-start: 1rem;
	border-block-start: 0.0625rem solid var(--ych-border);
	color: var(--ych-text-secondary) !important;
	font-size: 0.82rem;
	line-height: 1.7;
}

.ych-job-directory {
	padding-block: clamp(4rem, 6vw, 6rem);
	background:
		radial-gradient(circle at 5% 18%, rgba(120, 169, 228, 0.08), transparent 26rem),
		var(--ych-bg-primary);
	scroll-margin-top: 6rem;
}

.ych-job-directory__intro {
	max-width: 56rem;
	margin-block-end: clamp(2.5rem, 4vw, 4rem);
}

.ych-job-directory__intro h2,
.ych-job-cta h2 {
	margin-block-end: 1.25rem;
	font-size: var(--ych-type-h2);
	letter-spacing: -0.045em;
	line-height: 1;
}

.ych-job-directory__intro > p:last-child {
	max-width: 48rem;
	margin-block-end: 0;
	font-size: 1.05rem;
	line-height: 1.75;
}

.ych-job-region + .ych-job-region {
	margin-block-start: clamp(3rem, 5vw, 5rem);
}

.ych-job-region__header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: end;
	gap: 1.25rem;
	margin-block-end: 1.5rem;
	padding-block-end: 1.25rem;
	border-block-end: 0.0625rem solid var(--ych-border-strong);
}

.ych-job-region__header > span {
	color: var(--ych-accent-blue);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.ych-job-region__header h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.035em;
	line-height: 1;
}

.ych-job-region__header p {
	margin: 0;
	color: var(--ych-text-muted);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.ych-job-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ych-job-card {
	display: grid;
	min-width: 0;
	grid-template-columns: minmax(10rem, 0.36fr) minmax(0, 0.64fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border: 0.0625rem solid var(--ych-border-strong);
	border-radius: 1.5rem;
	background: linear-gradient(155deg, rgba(20, 38, 58, 0.96), rgba(13, 25, 41, 0.98));
	box-shadow: var(--ych-shadow-small);
	transition: border-color var(--ych-transition), box-shadow var(--ych-transition), transform var(--ych-transition);
}

.ych-job-card:hover {
	border-color: rgba(120, 169, 228, 0.4);
	box-shadow: var(--ych-shadow-medium);
	transform: translateY(-0.2rem);
}

.ych-job-card__logo {
	display: grid;
	min-height: 10rem;
	place-items: center;
	align-self: stretch;
	padding: 1rem;
	border-radius: 1rem;
	background: #dce5ef;
}

.ych-job-card__logo img {
	display: block;
	width: 100%;
	max-width: 13rem;
	max-height: 8rem;
	object-fit: contain;
}

.ych-job-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.ych-job-card h3 {
	margin-block-end: 0.75rem;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.ych-job-card p {
	margin-block-end: 1.5rem;
	font-size: 0.9rem;
	line-height: 1.68;
}

.ych-job-card a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-block-start: auto;
	color: var(--ych-accent-blue);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
	text-underline-offset: 0.2em;
}

.ych-job-cta {
	padding-block: clamp(4rem, 6vw, 5.5rem);
	background: var(--ych-bg-secondary);
}

.ych-job-cta__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 2.5rem;
	padding: clamp(2rem, 4vw, 3.5rem);
	border: 0.0625rem solid var(--ych-border-strong);
	border-radius: 2rem;
	background:
		radial-gradient(circle at 95% 5%, rgba(154, 114, 208, 0.22), transparent 24rem),
		linear-gradient(145deg, #102238, #0d1929);
	box-shadow: var(--ych-shadow-large);
}

.ych-job-cta h2 {
	max-width: 18ch;
}

.ych-job-cta__panel p:not(.ych-job-eyebrow) {
	max-width: 42rem;
	margin-block-end: 0;
	font-size: 1.02rem;
	line-height: 1.7;
}

.ych-job-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ych-job-cta__actions .ych-job-button {
	margin: 0;
}

.ych-job-button--secondary {
	border-color: var(--ych-border-strong);
	background: rgba(16, 32, 51, 0.78);
	color: var(--ych-text-primary);
}

.ych-job-button--secondary:hover {
	color: var(--ych-text-primary);
}

.ych-job-page :where(a, button):focus-visible {
	outline: 0.1875rem solid var(--ych-focus);
	outline-offset: 0.2rem;
}

.ych-scaffold-page--job-shadowing .site-footer {
	margin-block-start: 0;
}

@media (max-width: 74rem) {
	.ych-job-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 62rem) {
	.ych-job-hero__grid,
	.ych-job-cta__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.ych-job-hero__panel {
		max-width: 46rem;
	}
}

@media (max-width: 42rem) {
	.ych-job-hero {
		padding-block: 3.5rem 4.5rem;
	}

	.ych-job-hero__grid {
		min-height: 0;
		gap: 2.75rem;
	}

	.ych-job-hero h1 {
		font-size: clamp(3.2rem, 15vw, 4.8rem);
	}

	.ych-job-hero__panel {
		grid-template-columns: minmax(0, 1fr);
		border-radius: 1.4rem;
	}

	.ych-job-hero__panel-label,
	.ych-job-hero__fields {
		grid-column: 1;
	}

	.ych-job-region__header {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.ych-job-region__header p {
		grid-column: 2;
	}

	.ych-job-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.ych-job-card__logo {
		min-height: 8.5rem;
	}

	.ych-job-button,
	.ych-job-cta__actions,
	.ych-job-cta__actions .ych-job-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ych-job-page *,
	.ych-job-page *::before,
	.ych-job-page *::after {
		scroll-behavior: auto;
		transition-duration: 0.01ms;
		animation-duration: 0.01ms;
	}
}

@media (forced-colors: active) {
	.ych-job-button,
	.ych-job-card {
		border-color: ButtonText;
	}
}


/* JOB SHADOWING — PREMIUM BANNER AND LAYOUT POLISH */
body.ych-route--job-shadowing .ych-job-hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  padding-block: 68px !important;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(4, 17, 31, 0.97) 0%, rgba(4, 17, 31, 0.87) 46%, rgba(4, 17, 31, 0.46) 74%, rgba(4, 17, 31, 0.62) 100%),
    linear-gradient(180deg, rgba(5, 18, 33, 0.08) 54%, #071526 100%),
    url("https://youthconnecthub.net/wp-content/uploads/2026/07/shutterstock_Job-shadow-1-2048x1365-1.jpg") !important;
  background-position: center, center, center 43% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body.ych-route--job-shadowing .ych-job-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 28%, rgba(132, 185, 255, 0.13), transparent 28%),
    linear-gradient(120deg, transparent 56%, rgba(183, 137, 246, 0.08));
}

body.ych-route--job-shadowing .ych-job-hero__grid {
  position: relative;
  z-index: 1;
  min-height: 484px;
  align-items: center !important;
  gap: clamp(38px, 6vw, 76px) !important;
}

body.ych-route--job-shadowing .ych-job-hero__content {
  align-self: center;
  max-width: 620px;
}

body.ych-route--job-shadowing .ych-job-hero__content h1 {
  max-width: 12ch;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.36);
}

body.ych-route--job-shadowing .ych-job-hero__lead {
  max-width: 38rem;
  color: rgba(244, 248, 255, 0.92) !important;
}

body.ych-route--job-shadowing .ych-job-hero__panel {
  align-self: center;
  max-width: 450px;
  padding: clamp(26px, 3vw, 38px) !important;
  border: 1px solid rgba(171, 205, 242, 0.28) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, rgba(9, 27, 46, 0.86), rgba(12, 34, 56, 0.72)) !important;
  box-shadow: 0 24px 70px rgba(0, 8, 20, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.ych-route--job-shadowing .ych-job-hero__stat {
  border-color: rgba(150, 194, 238, 0.18) !important;
  background: rgba(6, 22, 39, 0.56) !important;
}

body.ych-route--job-shadowing .ych-job-directory {
  padding-block: 72px 86px !important;
}

body.ych-route--job-shadowing .ych-job-directory__intro {
  width: 100%;
  max-width: 980px !important;
  margin-bottom: 38px !important;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(132, 185, 255, 0.2);
}

body.ych-route--job-shadowing .ych-job-directory__intro h2 {
  margin-bottom: 16px !important;
  text-wrap: balance;
}

body.ych-route--job-shadowing .ych-job-directory__intro p {
  max-width: 880px;
  margin-bottom: 0 !important;
}

body.ych-route--job-shadowing .ych-job-region {
  margin-top: 0 !important;
  margin-bottom: 38px !important;
}

body.ych-route--job-shadowing .ych-job-region:last-child {
  margin-bottom: 0 !important;
}

body.ych-route--job-shadowing .ych-job-region__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

body.ych-route--job-shadowing .ych-job-region__header h2 {
  position: relative;
  min-height: 36px;
  margin: 0 !important;
  padding: 0 0 0 60px !important;
  border: 0 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.05 !important;
}

body.ych-route--job-shadowing .ych-job-region__header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 44px;
  height: 28px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background:
    linear-gradient(to right, #d71920 0 27%, transparent 27% 100%),
    linear-gradient(to bottom, #009a49 0 33.333%, #ffffff 33.333% 66.666%, #000000 66.666% 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

body.ych-route--job-shadowing .ych-job-region__header p {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 8px 12px;
  border: 1px solid rgba(132, 185, 255, 0.24);
  border-radius: 999px;
  background: rgba(26, 50, 76, 0.64);
  color: rgba(230, 240, 252, 0.82) !important;
}

body.ych-route--job-shadowing .ych-job-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 20px !important;
  align-items: stretch;
}

body.ych-route--job-shadowing .ych-job-card {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 22px !important;
  min-width: 0;
  height: 100%;
  padding: 22px !important;
  border-color: rgba(132, 185, 255, 0.24) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(20, 43, 67, 0.94), rgba(12, 30, 49, 0.98)) !important;
  box-shadow: 0 14px 38px rgba(0, 8, 22, 0.15);
}

body.ych-route--job-shadowing .ych-job-card__logo {
  display: grid;
  min-height: 172px !important;
  place-items: center;
  padding: 16px !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, #edf3fa, #dce7f4) !important;
}

body.ych-route--job-shadowing .ych-job-card__logo img {
  width: 100%;
  max-width: 126px;
  max-height: 92px;
  object-fit: contain;
  object-position: center;
}

body.ych-route--job-shadowing .ych-job-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

body.ych-route--job-shadowing .ych-job-card__body h3 {
  margin-bottom: 12px !important;
  font-size: clamp(1.28rem, 2vw, 1.55rem) !important;
  line-height: 1.18 !important;
  text-wrap: balance;
}

body.ych-route--job-shadowing .ych-job-card__body p {
  margin-bottom: 16px !important;
}

body.ych-route--job-shadowing .ych-job-card__body a {
  margin-top: auto;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

body.ych-route--job-shadowing .ych-job-grid > .ych-job-card:only-child {
  grid-column: 1 / -1;
  max-width: 760px;
}

body.ych-route--job-shadowing .ych-job-cta {
  padding-block: 68px !important;
}

body.ych-route--job-shadowing .ych-job-cta__panel {
  align-items: center;
  border-color: rgba(132, 185, 255, 0.22) !important;
  box-shadow: 0 22px 60px rgba(0, 8, 22, 0.18);
}

@media (max-width: 900px) {
  body.ych-route--job-shadowing .ych-job-hero {
    min-height: 0;
    padding-block: 56px !important;
    background-image:
      linear-gradient(180deg, rgba(4, 17, 31, 0.64) 0%, rgba(4, 17, 31, 0.9) 58%, #071526 100%),
      url("https://youthconnecthub.net/wp-content/uploads/2026/07/shutterstock_Job-shadow-1-2048x1365-1.jpg") !important;
    background-position: center, 54% center !important;
  }

  body.ych-route--job-shadowing .ych-job-hero__grid {
    min-height: 0;
    gap: 28px !important;
  }

  body.ych-route--job-shadowing .ych-job-hero__content,
  body.ych-route--job-shadowing .ych-job-hero__panel {
    max-width: none;
  }

  body.ych-route--job-shadowing .ych-job-card {
    grid-template-columns: 132px minmax(0, 1fr) !important;
  }
}

@media (max-width: 767px) {
  body.ych-route--job-shadowing .ych-job-hero {
    padding-block: 42px 48px !important;
    background-position: center, 58% center !important;
  }

  body.ych-route--job-shadowing .ych-job-hero__grid {
    gap: 22px !important;
  }

  body.ych-route--job-shadowing .ych-job-hero__panel {
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }

  body.ych-route--job-shadowing .ych-job-directory {
    padding-block: 52px 62px !important;
  }

  body.ych-route--job-shadowing .ych-job-directory__intro {
    margin-bottom: 30px !important;
    padding-bottom: 24px;
  }

  body.ych-route--job-shadowing .ych-job-region {
    margin-bottom: 32px !important;
  }

  body.ych-route--job-shadowing .ych-job-region__header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px !important;
  }

  body.ych-route--job-shadowing .ych-job-region__header h2 {
    min-height: 32px;
    padding-left: 52px !important;
    font-size: clamp(1.8rem, 10vw, 2.45rem) !important;
  }

  body.ych-route--job-shadowing .ych-job-region__header h2::before {
    width: 38px;
    height: 24px;
  }

  body.ych-route--job-shadowing .ych-job-region__header p {
    padding: 6px 9px;
    font-size: 0.68rem !important;
  }

  body.ych-route--job-shadowing .ych-job-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.ych-route--job-shadowing .ych-job-grid > .ych-job-card:only-child {
    max-width: none;
  }

  body.ych-route--job-shadowing .ych-job-card {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 18px !important;
  }

  body.ych-route--job-shadowing .ych-job-card__logo {
    min-height: 132px !important;
  }

  body.ych-route--job-shadowing .ych-job-card__logo img {
    max-width: 150px;
    max-height: 76px;
  }

  body.ych-route--job-shadowing .ych-job-cta {
    padding-block: 50px !important;
  }
}


/* JOB SHADOWING — MOBILE LOCATION HEADER REFINEMENT */
@media (max-width: 767px) {
  body.ych-route--job-shadowing .ych-job-region__header {
    flex-direction: column;
    align-items: flex-start;
  }

  body.ych-route--job-shadowing .ych-job-region__header h2 {
    width: 100%;
    white-space: normal;
  }

  body.ych-route--job-shadowing .ych-job-region__header p {
    margin-left: 52px !important;
  }
}
