/* ══════════════════════════════════════════════════
   APPRENTICESHIPS PAGE
   Supplemental styles — base styles come from jobboard.css
══════════════════════════════════════════════════ */

/* ── HERO ── */
.app-hero {
  padding: 80px 0 68px;
  background: linear-gradient(180deg, #081a36 0%, var(--navy-deep, #06101e) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden;
}
.app-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 20% 50%, rgba(37,99,200,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 40%, rgba(184,135,44,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.app-hero__inner { position: relative; max-width: 720px; }
.app-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #4a7de0;
  background: rgba(74,125,224,0.08); border: 1px solid rgba(74,125,224,0.18);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 22px;
}
.app-hero__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4a7de0;
  animation: appdot 2s ease-in-out infinite;
}
@keyframes appdot { 0%,100%{opacity:1} 50%{opacity:0.35} }
.app-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5.5vw, 62px); font-weight: 800;
  line-height: 1.03; letter-spacing: 0.01em;
  color: #e8eef8; margin-bottom: 18px;
}
.app-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #4a9eff 0%, #6ec6ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.app-hero__sub {
  font-size: 16px; line-height: 1.7; color: #7a96bc;
  max-width: 560px; margin-bottom: 28px;
}
.app-hero__stats {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 32px; flex-wrap: wrap;
}
.app-hero__stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0 20px;
}
.app-hero__stat:first-child { padding-left: 0; }
.app-hero__stat strong { font-size: 22px; font-weight: 800; color: #e8eef8; }
.app-hero__stat span   { font-size: 12px; color: #7a96bc; }
.app-hero__stat-div {
  width: 1px; height: 32px; background: rgba(255,255,255,0.1);
}
.app-hero__cta { text-decoration: none; display: inline-flex; }

/* ── SHARED SECTION STYLES ── */
.app-section { padding: 72px 0; }
.app-section--alt { background: rgba(9,21,38,0.5); }
.app-section__head {
  max-width: 640px; margin-bottom: 44px;
}
.app-section__head p {
  font-size: 15px; color: #7a96bc; line-height: 1.7; margin-top: 10px;
}
.app-section__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #4a7de0; margin-bottom: 10px;
}
.app-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 3.5vw, 36px); font-weight: 800;
  color: #e8eef8; letter-spacing: 0.01em;
}

/* ── HOW IT WORKS ── */
.app-how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 36px;
}
.app-how-card {
  background: #101f38; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.app-how-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(74,125,224,0.1); border: 1px solid rgba(74,125,224,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #4a7de0; flex-shrink: 0;
}
.app-how-card h3 {
  font-size: 14px; font-weight: 700; color: #e8eef8;
}
.app-how-card p {
  font-size: 13px; color: #7a96bc; line-height: 1.6;
}

/* Red Seal callout */
.app-redseal {
  display: flex; align-items: flex-start; gap: 18px;
  background: rgba(184,135,44,0.05);
  border: 1px solid rgba(184,135,44,0.2);
  border-radius: 12px; padding: 22px 24px;
}
.app-redseal__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #d4a849;
}
.app-redseal__text strong {
  font-size: 14px; font-weight: 700; color: #d4a849; display: block; margin-bottom: 6px;
}
.app-redseal__text p {
  font-size: 13.5px; color: #7a96bc; line-height: 1.65;
}

/* ── STEPS ── */
.app-steps {
  display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid rgba(74,125,224,0.2);
  margin-left: 22px; padding-left: 0;
}
.app-step {
  display: flex; gap: 22px; padding: 0 0 36px 32px;
  position: relative;
}
.app-step:last-child { padding-bottom: 0; }
.app-step__num {
  position: absolute; left: -18px; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: #0d1d35; border: 2px solid #2563c8;
  color: #4a7de0; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-step__body { padding-top: 4px; }
.app-step__body h3 {
  font-size: 15px; font-weight: 700; color: #e8eef8; margin-bottom: 6px;
}
.app-step__body p {
  font-size: 13.5px; color: #7a96bc; line-height: 1.65;
}
.app-step__link {
  display: inline-block; margin-top: 8px;
  font-size: 13px; font-weight: 600; color: #4a7de0;
  text-decoration: none;
}
.app-step__link:hover { text-decoration: underline; }

/* ── PROVINCIAL AUTHORITIES ── */
.app-prov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px; margin-bottom: 14px;
}
.app-prov-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #101f38; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 16px 18px;
  text-decoration: none; color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.app-prov-card:hover {
  border-color: rgba(74,125,224,0.35);
  background: rgba(74,125,224,0.05);
}
.app-prov-card--todo {
  border-style: dashed;
  border-color: rgba(255,255,255,0.1);
}
.app-prov-card__abbr {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800; color: #4a7de0;
  letter-spacing: 0.04em;
}
.app-prov-card--todo .app-prov-card__abbr { color: #3d5475; }
.app-prov-card__name {
  font-size: 13px; font-weight: 600; color: #e8eef8;
}
.app-prov-card--todo .app-prov-card__name { color: #7a96bc; }
.app-prov-card__full {
  font-size: 11.5px; color: #3d5475;
}
.app-prov-note {
  font-size: 12px; color: #3d5475; margin-top: 4px;
}

/* ── FAQ ── */
.app-faq {
  display: flex; flex-direction: column; gap: 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.app-faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #101f38;
}
.app-faq__item:last-child { border-bottom: none; }
.app-faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  font-size: 14px; font-weight: 600; color: #e8eef8;
  user-select: none;
  transition: background 0.15s ease;
}
.app-faq__q::-webkit-details-marker { display: none; }
.app-faq__q::after {
  content: '+'; font-size: 20px; font-weight: 300;
  color: #3d5475; flex-shrink: 0; margin-left: 16px;
  transition: transform 0.2s ease;
}
.app-faq__item[open] .app-faq__q::after {
  content: '−';
}
.app-faq__item[open] .app-faq__q { background: rgba(74,125,224,0.06); }
.app-faq__q:hover { background: rgba(255,255,255,0.03); }
.app-faq__a {
  padding: 0 22px 18px;
  font-size: 13.5px; color: #7a96bc; line-height: 1.7;
}
.app-faq__a p { margin-bottom: 8px; }
.app-faq__a p:last-child { margin-bottom: 0; }
.app-faq__a ul {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.app-faq__a ul li {
  padding-left: 16px; position: relative;
}
.app-faq__a ul li::before {
  content: '–'; position: absolute; left: 0; color: #3d5475;
}
.app-faq__a strong { color: #e8eef8; font-weight: 600; }

/* ── LISTINGS FILTERS ── */
.app-filters { margin-bottom: 20px; }
.app-filter-row {
  display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
}
.app-filter-group {
  display: flex; flex-direction: column; gap: 6px;
}
.app-filter-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #3d5475;
}
.app-filter-select {
  background: #101f38; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: #e8eef8;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 500;
  padding: 9px 14px; cursor: pointer; min-width: 160px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233d5475' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 30px;
  transition: border-color 0.18s ease;
}
.app-filter-select:hover, .app-filter-select:focus {
  border-color: rgba(74,125,224,0.4); outline: none;
}
.app-filter-clear {
  background: transparent; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: #7a96bc;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
  padding: 9px 16px; cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
  align-self: flex-end;
}
.app-filter-clear:hover { border-color: rgba(255,255,255,0.22); color: #e8eef8; }

.app-listings-count {
  font-size: 13px; color: #7a96bc; margin-bottom: 16px;
}
.app-listings-count strong { color: #e8eef8; font-weight: 700; }

.app-jobs-list { display: flex; flex-direction: column; gap: 10px; }

/* ── SPONSOR NOTICE ── */
.jcard__sponsor-notice {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 10px 0 2px;
  padding: 10px 14px;
  background: rgba(45,208,122,0.06);
  border: 1px solid rgba(45,208,122,0.18);
  border-radius: 8px;
  color: #2dd07a;
  font-size: 12.5px; font-weight: 600; line-height: 1.5;
}
.jcard__sponsor-notice svg { flex-shrink: 0; margin-top: 1px; }

/* ── EMPTY STATE ── */
.app-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 60px 20px; text-align: center;
  color: #3d5475;
}
.app-empty h3 { font-size: 17px; font-weight: 700; color: #7a96bc; }
.app-empty p  { font-size: 14px; color: #3d5475; max-width: 340px; line-height: 1.6; }

/* ── EMPLOYER CTA ── */
.app-employer-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 36px; padding: 22px 24px;
  background: rgba(37,99,200,0.06);
  border: 1px dashed rgba(37,99,200,0.25);
  border-radius: 12px;
}
.app-employer-cta p {
  font-size: 14px; color: #7a96bc;
}
.app-employer-cta a { text-decoration: none; }

/* ── SPONSOR NOTICE (job board rebuild) ── */
/* Shown on a job card when the employer has confirmed they're a registered
   apprenticeship sponsor — reassures the applicant this is a real, official
   apprenticeship placement, not just a job with "apprentice" in the title. */
.jcard__sponsor-notice {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; line-height: 1.5; color: #3a7a4a;
  background: rgba(58,122,74,0.07); border: 1px solid rgba(58,122,74,0.18);
  border-radius: 8px; padding: 9px 12px; margin: 4px 0 14px;
}
.jcard__sponsor-notice svg { flex-shrink: 0; margin-top: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .app-how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .app-hero { padding: 56px 0 48px; }
  .app-how-grid { grid-template-columns: 1fr; }
  .app-filter-row { flex-direction: column; align-items: stretch; }
  .app-filter-select { min-width: unset; width: 100%; }
  .app-prov-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .app-employer-cta { flex-direction: column; align-items: flex-start; }
  .app-hero__stats { gap: 16px; flex-direction: column; align-items: flex-start; }
  .app-hero__stat-div { display: none; }
}
