/* ═══════════════════════════════════════════════════════════
   ToP Training — pages.css
   Styles for Learning Paths, Certification, For Organizations,
   and About interior pages.
   Version: 1.0.0
═══════════════════════════════════════════════════════════ */

/* ─── PAGE HERO ──────────────────────────────────────────── */
.top-page-hero {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
}
.top-page-hero--navy { background: var(--top-navy); }
.top-page-hero--gold { background: linear-gradient(135deg, var(--top-navy) 0%, #3a2800 100%); }

.top-page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(224,90,30,.2) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 5% 85%, rgba(58,95,160,.15) 0%, transparent 55%);
}
.top-page-hero--gold::before {
  background: radial-gradient(ellipse 55% 70% at 80% 50%, rgba(200,146,42,.25) 0%, transparent 60%);
}

.top-page-hero__inner {
  max-width: var(--top-section-max); margin: 0 auto;
  padding: 0 60px; position: relative; z-index: 5;
  max-width: 860px;
}
.top-page-hero__title {
  font-family: var(--top-serif);
  font-size: 56px; color: #fff; line-height: 1.05;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.top-page-hero__title em { color: var(--top-orange); font-style: italic; }
.top-page-hero__sub {
  font-size: 18px; font-weight: 300;
  color: rgba(255,255,255,.65); line-height: 1.75;
  margin-bottom: 36px; max-width: 640px;
}
.top-page-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Path jump nav (Learning Paths page) */
.top-path-jumpnav {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px;
}
.top-path-jumpnav__btn {
  padding: 9px 18px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: all .14s; border: 2px solid transparent;
  letter-spacing: .03em;
}
.top-path-jumpnav__btn--orange { background: rgba(224,90,30,.15); color: var(--top-orange); border-color: rgba(224,90,30,.3); }
.top-path-jumpnav__btn--blue   { background: rgba(58,95,160,.15);  color: #7fa8e0;            border-color: rgba(58,95,160,.3); }
.top-path-jumpnav__btn--gold   { background: rgba(200,146,42,.15); color: var(--top-gold-lt); border-color: rgba(200,146,42,.3); }
.top-path-jumpnav__btn--navy   { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.2); }
.top-path-jumpnav__btn:hover   { opacity: .8; transform: translateY(-1px); }

/* ─── START HERE BANNER ──────────────────────────────────── */
.top-start-here-banner {
  background: linear-gradient(90deg, var(--top-orange) 0%, var(--top-orange-lt) 100%);
  padding: 20px 0;
}
.top-start-here-banner__inner {
  max-width: var(--top-section-max); margin: 0 auto;
  padding: 0 60px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.top-start-here-banner__badge { font-size: 24px; flex-shrink: 0; }
.top-start-here-banner__copy  { flex: 1; font-size: 14px; color: #fff; line-height: 1.6; }
.top-start-here-banner__copy strong { font-weight: 800; }

/* ─── PATH SECTIONS ──────────────────────────────────────── */
.top-path-section { padding: 72px 0; border-top: 1px solid var(--top-warm-gray); }
.top-path-section--alt { background: var(--top-linen); border-color: transparent; }
.top-path-section--dark { background: var(--top-navy); }

.top-path-section__inner {
  max-width: var(--top-section-max); margin: 0 auto; padding: 0 60px;
}

.top-path-section__header {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.top-path-section__header--light .top-path-section__title { color: #fff; }
.top-path-section__header--light .top-path-section__tagline { color: rgba(255,255,255,.6); }

.top-path-section__num {
  font-family: var(--top-serif); font-size: 14px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--top-mist); padding-top: 4px; flex-shrink: 0;
}
.top-path-section__num--light { color: rgba(255,255,255,.4); }
.top-path-section__icon { font-size: 36px; flex-shrink: 0; }
.top-path-section__title {
  font-family: var(--top-serif); font-size: 36px;
  color: var(--top-navy); line-height: 1.1; margin-bottom: 6px;
}
.top-path-section__title--light { color: #fff; }
.top-path-section__tagline { font-size: 15px; font-weight: 300; color: var(--top-mist); line-height: 1.6; }
.top-path-section__tagline--light { color: rgba(255,255,255,.6); }

.top-path-section__prereq-badge {
  margin-left: auto; padding: 8px 16px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; white-space: nowrap; flex-shrink: 0;
  background: rgba(224,90,30,.1); color: var(--top-orange);
  border: 1px solid rgba(224,90,30,.2);
}
.top-path-section__prereq-badge--blue { background: rgba(58,95,160,.1); color: var(--top-blue); border-color: rgba(58,95,160,.2); }
.top-path-section__prereq-badge--gold { background: rgba(200,146,42,.12); color: var(--top-gold); border-color: rgba(200,146,42,.25); }
.top-path-section__prereq-badge--dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }

/* Path body layouts */
.top-path-section__body { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.top-path-section__body--grid { grid-template-columns: 1fr; }
.top-path-section__body--ctf  { grid-template-columns: 1fr 340px; gap: 48px; }
.top-path-section__body--trainer { grid-template-columns: 1fr 300px; gap: 48px; }

.top-path-section__who {
  background: var(--top-white); border-radius: var(--top-r-lg);
  padding: 24px; box-shadow: var(--top-sh); align-self: start;
}
.top-path-section__who h3 { font-family: var(--top-serif); font-size: 16px; color: var(--top-navy); margin-bottom: 14px; }
.top-path-section__who li {
  font-size: 13px; color: var(--top-mist); padding: 6px 0;
  border-bottom: 1px solid var(--top-warm-gray);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
}
.top-path-section__who li::before { content: '✓'; color: var(--top-green); flex-shrink: 0; font-weight: 700; }
.top-path-section__who li:last-child { border-bottom: none; }

.top-path-section__courses { display: flex; flex-direction: column; gap: 16px; }

/* Path course cards */
.top-path-course-card {
  background: var(--top-white); border-radius: var(--top-r-lg);
  padding: 22px; box-shadow: var(--top-sh);
  border-left: 4px solid var(--top-orange);
  transition: transform .14s, box-shadow .14s;
  position: relative;
}
.top-path-course-card:hover { transform: translateX(4px); box-shadow: var(--top-sh-lg); }
.top-path-course-card--practitioner { border-left-color: var(--top-blue); }
.top-path-course-card--required { border-left-color: var(--top-orange); border-left-width: 6px; }

.top-path-course-card__step {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--top-orange); margin-bottom: 6px;
}
.top-path-course-card__step--blue { color: var(--top-blue); }
.top-path-course-card__required-flag {
  position: absolute; top: 16px; right: 16px;
  background: var(--top-orange); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
}
.top-path-course-card__title { font-family: var(--top-serif); font-size: 17px; color: var(--top-navy); margin-bottom: 8px; line-height: 1.2; }
.top-path-course-card__desc  { font-size: 13px; color: var(--top-mist); line-height: 1.65; margin-bottom: 14px; }
.top-path-course-card__foot  { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.top-path-course-card__cta   { margin-left: auto; }

/* Path filter (Path 2) */
.top-path-filter {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px; padding: 16px 20px;
  background: var(--top-white); border-radius: var(--top-r-lg);
  box-shadow: var(--top-sh);
}
.top-path-filter__label {
  font-size: 12px; font-weight: 700; color: var(--top-mist);
  text-transform: uppercase; letter-spacing: .1em; flex-shrink: 0;
}
.top-path-filter__tab {
  padding: 7px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--top-warm-gray);
  background: transparent; color: var(--top-mist);
  cursor: pointer; transition: all .14s;
}
.top-path-filter__tab.active,
.top-path-filter__tab:hover { background: var(--top-blue); color: #fff; border-color: var(--top-blue); }

.top-path-section__body--grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.top-path-course-card.is-hidden { display: none; }

/* ─── CTF STEPS ──────────────────────────────────────────── */
.top-ctf-steps { }
.top-ctf-steps__title { font-family: var(--top-serif); font-size: 22px; color: var(--top-navy); margin-bottom: 32px; }
.top-ctf-step {
  display: flex; gap: 20px; margin-bottom: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--top-warm-gray);
  position: relative;
}
.top-ctf-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.top-ctf-step__dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--top-warm-gray); background: var(--top-white);
  flex-shrink: 0; margin-top: 4px;
  box-shadow: 0 0 0 3px var(--top-white), 0 0 0 5px var(--top-warm-gray);
}
.top-ctf-step__dot--active { background: var(--top-orange); border-color: var(--top-orange); box-shadow: 0 0 0 3px var(--top-white), 0 0 0 5px var(--top-orange); }
.top-ctf-step__label { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--top-mist); margin-bottom: 4px; }
.top-ctf-step__title { font-family: var(--top-serif); font-size: 17px; color: var(--top-navy); margin-bottom: 6px; }
.top-ctf-step__desc  { font-size: 13px; color: var(--top-mist); line-height: 1.65; margin-bottom: 10px; }
.top-ctf-step__tags  { display: flex; gap: 6px; flex-wrap: wrap; }

/* CTF Action Panel */
.top-ctf-panel {
  background: var(--top-navy); border-radius: var(--top-r-lg);
  padding: 32px; box-shadow: var(--top-sh-lg); align-self: start;
}
.top-ctf-panel__icon  { font-size: 36px; margin-bottom: 12px; }
.top-ctf-panel__title { font-family: var(--top-serif); font-size: 22px; color: #fff; margin-bottom: 10px; }
.top-ctf-panel__body  { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }
.top-ctf-checklist    { margin-bottom: 24px; }
.top-ctf-checklist li {
  font-size: 13px; color: rgba(255,255,255,.75);
  padding: 10px 14px; border-radius: 8px;
  background: rgba(255,255,255,.06); margin-bottom: 8px;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.4;
}
.top-ctf-checklist li::before { content: '□'; color: var(--top-gold); flex-shrink: 0; font-size: 16px; }
.top-ctf-panel__note { font-size: 12px; color: rgba(255,255,255,.4); text-align: center; margin-top: 16px; line-height: 1.6; }
.top-ctf-panel__note a { color: rgba(255,255,255,.6); text-decoration: underline; }

/* ─── CTF TIERS ──────────────────────────────────────────── */
.top-ctf-pathway-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.top-ctf-tier { border-radius: var(--top-r-lg); overflow: hidden; box-shadow: var(--top-sh); display: flex; flex-direction: column; }
.top-ctf-tier__header { padding: 28px 24px 20px; }
.top-ctf-tier--orange .top-ctf-tier__header { background: var(--top-orange); }
.top-ctf-tier--gold   .top-ctf-tier__header { background: var(--top-gold); }
.top-ctf-tier--blue   .top-ctf-tier__header { background: var(--top-blue); }
.top-ctf-tier--navy   .top-ctf-tier__header { background: var(--top-navy); }
.top-ctf-tier__num    { font-family: var(--top-serif); font-size: 52px; color: rgba(255,255,255,.15); line-height: 1; margin-bottom: 8px; }
.top-ctf-tier__label  { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.top-ctf-tier__title  { font-family: var(--top-serif); font-size: 16px; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.top-ctf-tier__desc   { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.65; }
.top-ctf-tier__list   { list-style: none; padding: 20px 24px; background: var(--top-white); flex: 1; }
.top-ctf-tier__list li {
  font-size: 12px; color: var(--top-slate); padding: 8px 0;
  border-bottom: 1px solid var(--top-warm-gray);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
}
.top-ctf-tier__list li::before { content: '→'; flex-shrink: 0; }
.top-ctf-tier--orange .top-ctf-tier__list li::before { color: var(--top-orange); }
.top-ctf-tier--gold   .top-ctf-tier__list li::before { color: var(--top-gold); }
.top-ctf-tier--blue   .top-ctf-tier__list li::before { color: var(--top-blue); }
.top-ctf-tier--navy   .top-ctf-tier__list li::before { color: var(--top-navy); }
.top-ctf-tier__list li:last-child { border-bottom: none; }
.top-ctf-tier__cta {
  display: block; padding: 14px 20px; text-align: center;
  font-size: 13px; font-weight: 700; text-decoration: none;
  background: var(--top-linen); color: var(--top-navy);
  transition: all .14s;
}
.top-ctf-tier__cta:hover { background: var(--top-warm-gray); }
.top-ctf-tier--navy .top-ctf-tier__cta { background: var(--top-orange); color: #fff; }
.top-ctf-tier--navy .top-ctf-tier__cta:hover { background: var(--top-orange-lt); }

/* CTF Intro grid */
.top-ctf-intro-grid   { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.top-ctf-intro__copy p { font-size: 15px; color: var(--top-mist); line-height: 1.8; margin-bottom: 16px; }
.top-ctf-intro__stats  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.top-ctf-stat { background: var(--top-white); border-radius: var(--top-r-lg); padding: 24px; text-align: center; box-shadow: var(--top-sh); }
.top-ctf-stat__n { font-family: var(--top-serif); font-size: 36px; color: var(--top-navy); line-height: 1; margin-bottom: 6px; }
.top-ctf-stat__l { font-size: 11px; font-weight: 600; color: var(--top-mist); letter-spacing: .06em; line-height: 1.4; }
.top-ctf-network-callout { grid-column: 1 / -1; background: var(--top-navy); border-radius: var(--top-r-lg); padding: 24px; }
.top-ctf-network-callout__title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--top-orange); margin-bottom: 8px; }
.top-ctf-network-callout p { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 16px; }

/* CTF core course grid */
.top-ctf-core-grid { display: flex; gap: 24px; flex-wrap: wrap; }

/* ─── TRAINER STEPS ──────────────────────────────────────── */
.top-trainer-steps { display: flex; flex-direction: column; gap: 20px; }
.top-trainer-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,255,255,.06); border-radius: var(--top-r-lg);
  padding: 24px; border: 1px solid rgba(255,255,255,.1);
}
.top-trainer-step--highlight {
  background: rgba(224,90,30,.12); border-color: rgba(224,90,30,.3);
}
.top-trainer-step__num {
  font-family: var(--top-serif); font-size: 28px;
  color: rgba(255,255,255,.2); flex-shrink: 0; line-height: 1; width: 36px; text-align: center;
}
.top-trainer-step__icon { font-size: 24px; flex-shrink: 0; }
.top-trainer-step__title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.top-trainer-step__desc  { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 12px; }
.top-trainer-step__network { display: flex; gap: 10px; flex-wrap: wrap; }

.top-trainer-panel {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--top-r-lg); padding: 32px; align-self: start;
}
.top-trainer-panel__title { font-family: var(--top-serif); font-size: 20px; color: #fff; margin-bottom: 12px; }
.top-trainer-panel__body  { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }
.top-trainer-panel__note  { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.65; padding: 12px; background: rgba(224,90,30,.1); border-radius: var(--top-r); margin-bottom: 20px; }
.top-trainer-panel__note strong { color: var(--top-orange); }

/* ─── FOR ORGANIZATIONS ──────────────────────────────────── */
.top-orgs-value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.top-orgs-value-card { background: var(--top-white); border-radius: var(--top-r-lg); padding: 28px; box-shadow: var(--top-sh); }
.top-orgs-value-card__icon  { font-size: 32px; margin-bottom: 14px; }
.top-orgs-value-card__title { font-size: 15px; font-weight: 700; color: var(--top-navy); margin-bottom: 8px; }
.top-orgs-value-card__desc  { font-size: 13px; color: var(--top-mist); line-height: 1.65; }

.top-orgs-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.top-orgs-option-card {
  background: var(--top-white); border-radius: var(--top-r-lg);
  padding: 36px; box-shadow: var(--top-sh);
  border: 2px solid var(--top-warm-gray);
  position: relative;
}
.top-orgs-option-card--primary { border-color: var(--top-orange); }
.top-orgs-option-card__badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--top-orange); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 4px;
}
.top-orgs-option-card__icon  { font-size: 36px; margin-bottom: 14px; }
.top-orgs-option-card__title { font-family: var(--top-serif); font-size: 22px; color: var(--top-navy); margin-bottom: 10px; }
.top-orgs-option-card__desc  { font-size: 14px; color: var(--top-mist); line-height: 1.75; margin-bottom: 20px; }
.top-orgs-option-card__features { margin-bottom: 28px; }
.top-orgs-option-card__features li {
  font-size: 13px; color: var(--top-slate); padding: 8px 0;
  border-bottom: 1px solid var(--top-warm-gray);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.4;
}
.top-orgs-option-card__features li::before { content: '✓'; color: var(--top-green); font-weight: 700; flex-shrink: 0; }
.top-orgs-option-card__features li:last-child { border-bottom: none; }

.top-sectors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.top-sector-card  { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--top-r-lg); padding: 24px; transition: background .14s; }
.top-sector-card:hover { background: rgba(255,255,255,.1); }
.top-sector-card__icon { font-size: 28px; margin-bottom: 10px; }
.top-sector-card__name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.top-sector-card__desc { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.65; }

.top-orgs-contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.top-orgs-contact-form { background: var(--top-white); border-radius: var(--top-r-lg); padding: 36px; box-shadow: var(--top-sh); }
.top-form-placeholder { font-size: 13px; color: var(--top-mist); line-height: 1.7; }
.top-orgs-sidebar-card { background: var(--top-white); border-radius: var(--top-r-lg); padding: 24px; box-shadow: var(--top-sh); margin-bottom: 20px; }
.top-orgs-sidebar-card h3 { font-family: var(--top-serif); font-size: 18px; color: var(--top-navy); margin-bottom: 14px; }
.top-orgs-sidebar-card li { font-size: 13px; color: var(--top-mist); padding: 7px 0; border-bottom: 1px solid var(--top-warm-gray); display: flex; gap: 8px; line-height: 1.4; }
.top-orgs-sidebar-card li::before { content: '✓'; color: var(--top-green); font-weight: 700; flex-shrink: 0; }
.top-orgs-sidebar-card li:last-child { border-bottom: none; }
.top-orgs-contact-item { margin-bottom: 12px; }
.top-orgs-contact-item__label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--top-mist); display: block; margin-bottom: 2px; }
.top-orgs-contact-item a { font-size: 14px; color: var(--top-orange); font-weight: 600; }

/* ─── ABOUT PAGE ─────────────────────────────────────────── */
.top-about-intro-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.top-about-intro__copy p { font-size: 15px; color: var(--top-mist); line-height: 1.8; margin-bottom: 16px; }
.top-about-intro__panel { display: flex; flex-direction: column; gap: 0; background: var(--top-white); border-radius: var(--top-r-lg); box-shadow: var(--top-sh); overflow: hidden; }
.top-about-fact { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--top-warm-gray); }
.top-about-fact:last-child { border-bottom: none; }
.top-about-fact__icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.top-about-fact__label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--top-mist); margin-bottom: 2px; }
.top-about-fact__val   { font-size: 13px; color: var(--top-slate); line-height: 1.5; }

/* History timeline */
.top-history-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.top-history-timeline { }
.top-history-event {
  display: flex; gap: 24px; margin-bottom: 0;
  padding-bottom: 32px; position: relative;
}
.top-history-event::before {
  content: ''; position: absolute; left: 52px; top: 28px; bottom: 0;
  width: 2px; background: var(--top-warm-gray);
}
.top-history-event:last-child::before { display: none; }
.top-history-event:last-child { padding-bottom: 0; }
.top-history-event__era {
  flex-shrink: 0; width: 88px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 12px; border-radius: 20px; text-align: center; height: fit-content;
}
.top-history-event__era--green  { background: rgba(45,125,69,.12);  color: var(--top-green); }
.top-history-event__era--blue   { background: rgba(58,95,160,.1);   color: var(--top-blue); }
.top-history-event__era--orange { background: rgba(224,90,30,.1);   color: var(--top-orange); }
.top-history-event__era--navy   { background: rgba(26,39,68,.08);   color: var(--top-navy); }
.top-history-event__title { font-family: var(--top-serif); font-size: 18px; color: var(--top-navy); margin-bottom: 8px; line-height: 1.2; }
.top-history-event__desc  { font-size: 13px; color: var(--top-mist); line-height: 1.7; }

.top-history-sidebar { }
.top-ica-acknowledgment {
  background: var(--top-white); border-radius: var(--top-r-lg);
  padding: 28px; box-shadow: var(--top-sh);
}
.top-ica-acknowledgment h3  { font-family: var(--top-serif); font-size: 18px; color: var(--top-navy); margin-bottom: 10px; }
.top-ica-acknowledgment p   { font-size: 13px; color: var(--top-mist); line-height: 1.7; margin-bottom: 16px; }

/* Trainer section */
.top-about-trainers-grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start; }
.top-trainer-quality-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--top-slate); font-weight: 500;
  padding: 10px 0; border-bottom: 1px solid var(--top-warm-gray);
}
.top-trainer-quality-badge:last-of-type { border-bottom: none; }
.top-trainer-quality-badge__check { color: var(--top-green); font-weight: 700; font-size: 16px; }
.top-trainer-image-placeholder {
  height: 300px; border-radius: var(--top-r-lg);
  border: 2px dashed var(--top-warm-gray);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: var(--top-mist); gap: 8px;
  font-size: 13px;
}
.top-trainer-image-slot { border-radius: var(--top-r-lg); overflow: hidden; }
.top-trainer-image-slot__img { width: 100%; height: 100%; object-fit: cover; }

/* Relationships grid */
.top-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.top-rel-card {
  background: rgba(255,255,255,.06); border-radius: var(--top-r-lg);
  padding: 28px; border: 1px solid rgba(255,255,255,.1);
  border-left: 4px solid rgba(255,255,255,.2);
}
.top-rel-card--orange { border-left-color: var(--top-orange); }
.top-rel-card--green  { border-left-color: var(--top-green); }
.top-rel-card--gold   { border-left-color: var(--top-gold); }
.top-rel-card--blue   { border-left-color: var(--top-blue); }
.top-rel-card__header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.top-rel-card__icon   { font-size: 24px; flex-shrink: 0; }
.top-rel-card__name   { font-size: 16px; font-weight: 700; color: #fff; }
.top-rel-card__role   { font-size: 11px; color: rgba(255,255,255,.45); font-weight: 500; }
.top-rel-card__desc   { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 14px; }
.top-rel-card__link   { font-size: 12px; font-weight: 700; color: var(--top-orange); }

/* ─── RESPONSIVE — INTERIOR PAGES ───────────────────────── */
@media (max-width: 1100px) {
  .top-ctf-pathway-grid          { grid-template-columns: 1fr 1fr; }
  .top-about-intro-grid,
  .top-ctf-intro-grid,
  .top-history-grid,
  .top-about-trainers-grid       { grid-template-columns: 1fr; }
  .top-orgs-options-grid         { grid-template-columns: 1fr; }
  .top-orgs-contact-grid         { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .top-page-hero__inner          { padding: 0 32px; }
  .top-page-hero__title          { font-size: 40px; }
  .top-path-section__inner       { padding: 0 32px; }
  .top-path-section__body        { grid-template-columns: 1fr; }
  .top-path-section__body--grid  { grid-template-columns: 1fr 1fr; }
  .top-path-section__body--ctf   { grid-template-columns: 1fr; }
  .top-path-section__body--trainer { grid-template-columns: 1fr; }
  .top-orgs-value-grid           { grid-template-columns: 1fr 1fr; }
  .top-sectors-grid              { grid-template-columns: 1fr 1fr; }
  .top-rel-grid                  { grid-template-columns: 1fr; }
  .top-ctf-intro__stats          { grid-template-columns: 1fr 1fr; }
  .top-start-here-banner__inner  { padding: 0 32px; }
}

@media (max-width: 680px) {
  .top-page-hero__title          { font-size: 32px; }
  .top-page-hero__btns           { flex-direction: column; }
  .top-path-jumpnav              { gap: 8px; }
  .top-ctf-pathway-grid          { grid-template-columns: 1fr; }
  .top-path-section__body--grid  { grid-template-columns: 1fr; }
  .top-orgs-value-grid           { grid-template-columns: 1fr; }
  .top-sectors-grid              { grid-template-columns: 1fr; }
  .top-history-event             { flex-direction: column; gap: 12px; }
  .top-history-event::before     { display: none; }
  .top-history-event__era        { width: auto; align-self: flex-start; }
  .top-path-filter               { flex-wrap: wrap; }
  .top-ctf-core-grid             { flex-direction: column; }
}
