/* ============================================================
   JSPM LATUR — tp.css
   Central Training, Placement & Corporate Relations Office
   All classes namespaced with tp- so they never clash
   with existing JSPM pages.
   ============================================================ */


/* ═══════════════════════════════════════════════════════════
   1. T&P SECTION HEADER
   Compact banner at the top of every T&P page.
═══════════════════════════════════════════════════════════ */

.tp-section-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark, #0f1c3a) 0%,
    var(--primary, #1a2e5e) 100%
  );
  border-bottom: 3px solid var(--accent, #c9a227);
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.tp-section-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.tp-section-header .tp-header-inner {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

/* Gold pill tag */
.tp-office-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(201, 162, 39, .14);
  border: 1px solid rgba(201, 162, 39, .32);
  color: var(--accent, #c9a227);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 30px;
  margin-bottom: .4rem;
}

.tp-office-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  color: #fff;
  font-size: clamp(.9rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .22rem;
}

.tp-office-subtitle {
  color: rgba(255, 255, 255, .52);
  font-size: .78rem;
  margin: 0;
  font-weight: 400;
}

/* Year badge (right side, hidden on small screens) */
.tp-header-badge {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}

.tp-header-year-label {
  text-align: right;
}

.tp-header-year-label small {
  display: block;
  font-size: .6rem;
  color: rgba(255, 255, 255, .4);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tp-header-year-label strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent, #c9a227);
  line-height: 1.1;
}

.tp-header-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(201, 162, 39, .13);
  border: 1px solid rgba(201, 162, 39, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #c9a227);
  font-size: 1.15rem;
}


/* ═══════════════════════════════════════════════════════════
   2. T&P WRAPPER  (sidebar + content flex container)
═══════════════════════════════════════════════════════════ */

.tp-wrapper {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 180px);
  background: var(--bg-page, #f4f6fb);
}


/* ═══════════════════════════════════════════════════════════
   3. SIDEBAR
═══════════════════════════════════════════════════════════ */

.tp-sidebar-col {
  width: 256px;
  min-width: 256px;
  flex-shrink: 0;
  position: sticky;
  top: 65px;                  /* clears the sticky navbar */
  height: calc(100vh - 65px);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg-card, #fff);
  border-right: 1px solid var(--border-color, #d5daea);
}

/* Thin custom scrollbar */
.tp-sidebar-col::-webkit-scrollbar        { width: 3px; }
.tp-sidebar-col::-webkit-scrollbar-track  { background: transparent; }
.tp-sidebar-col::-webkit-scrollbar-thumb  { background: var(--border-color, #d5daea); border-radius: 2px; }
.tp-sidebar-col::-webkit-scrollbar-thumb:hover { background: var(--accent, #c9a227); }
.tp-sidebar-col                           { scrollbar-width: thin; scrollbar-color: var(--border-color, #d5daea) transparent; }

/* ── Sidebar Brand ──────────────────── */
.tp-sidebar-brand {
  padding: 1rem 1.1rem .85rem;
  border-bottom: 1px solid var(--border-color, #d5daea);
}

.tp-sidebar-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary, #1a2e5e);
  line-height: 1.3;
}

/* Gold left-bar accent */
.tp-sidebar-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 20px;
  background: var(--accent, #c9a227);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Mobile toggle button ───────────── */
.tp-mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1.1rem;
  background: var(--bg-card, #fff);
  border: none;
  outline: none;
  border-bottom: 1px solid var(--border-color, #d5daea);
  cursor: pointer;
  color: var(--text-primary, #0f1c3a);
  font-weight: 600;
  font-size: .88rem;
  transition: background .18s ease;
  text-align: left;
}

.tp-mobile-toggle:hover  { background: var(--bg-section-alt, #f0f3fa); }
.tp-mobile-toggle:focus  { outline: 2px solid var(--accent, #c9a227); outline-offset: -2px; }

.tp-toggle-chevron {
  font-size: .72rem;
  color: var(--accent, #c9a227);
  transition: transform .25s ease;
  flex-shrink: 0;
}

.tp-mobile-toggle[aria-expanded="true"] .tp-toggle-chevron {
  transform: rotate(180deg);
}

/* ── Nav group + labels ─────────────── */
.tp-nav-group {
  padding: .65rem 0 .2rem;
}

.tp-nav-section-label {
  display: block;
  padding: 0 1.1rem .3rem;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted, #6b7a99);
}

/* ── Nav links ──────────────────────── */
.tp-nav-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .52rem 1.1rem .52rem 1.2rem;
  color: var(--text-secondary, #3d4f72);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.3;
  border-left: 3px solid transparent;
  margin: 1px 0;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.tp-nav-link i {
  width: 15px;
  text-align: center;
  font-size: .77rem;
  color: var(--text-muted, #6b7a99);
  flex-shrink: 0;
  transition: color .18s ease;
}

.tp-nav-link:hover {
  color: var(--primary, #1a2e5e);
  background: var(--bg-section-alt, #f0f3fa);
  border-left-color: rgba(201, 162, 39, .35);
  text-decoration: none;
}

.tp-nav-link:hover i { color: var(--accent, #c9a227); }

.tp-nav-link:focus-visible {
  outline: 2px solid var(--accent, #c9a227);
  outline-offset: -2px;
  border-radius: 4px;
}

/* Active state */
.tp-nav-link.active {
  color: var(--primary, #1a2e5e);
  background: rgba(201, 162, 39, .09);
  border-left-color: var(--accent, #c9a227);
  font-weight: 700;
}

.tp-nav-link.active i { color: var(--accent, #c9a227); }

/* Thin divider between groups */
.tp-nav-divider {
  height: 1px;
  background: var(--border-color, #d5daea);
  margin: .35rem 1.1rem;
}


/* ═══════════════════════════════════════════════════════════
   4. CONTENT AREA
═══════════════════════════════════════════════════════════ */

.tp-content-col {
  flex: 1;
  min-width: 0;
  padding: 2rem 2.5rem 3.5rem;
  background: var(--bg-page, #f4f6fb);
}

/* ── T&P breadcrumb ─────────────────── */
.tp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
  font-size: .76rem;
  color: var(--text-muted, #6b7a99);
  margin-bottom: 1.25rem;
}

.tp-breadcrumb a {
  color: var(--text-muted, #6b7a99);
  text-decoration: none;
  transition: color .18s;
}

.tp-breadcrumb a:hover    { color: var(--accent, #c9a227); }
.tp-breadcrumb .tp-bc-sep { color: var(--border-color, #d5daea); margin: 0 .1rem; }
.tp-breadcrumb .tp-bc-cur { color: var(--text-secondary, #3d4f72); font-weight: 600; }

/* ── Page banner (inside content) ──── */
.tp-page-banner {
  background: linear-gradient(
    130deg,
    var(--primary, #1a2e5e) 0%,
    var(--primary-light, #243d7a) 100%
  );
  border-radius: var(--border-radius-lg, 22px);
  padding: 2rem 2.25rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.tp-page-banner::after {
  content: '';
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  pointer-events: none;
}

.tp-page-banner h1,
.tp-page-banner h2 {
  font-family: var(--font-display, 'Playfair Display', serif);
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: .4rem;
  position: relative;
  z-index: 1;
}

.tp-page-banner p {
  color: rgba(255, 255, 255, .62);
  font-size: .88rem;
  margin: 0;
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.tp-page-banner .tp-banner-btns {
  margin-top: 1.25rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════
   5. SHARED PAGE COMPONENTS
═══════════════════════════════════════════════════════════ */

/* ── Stat cards ─────────────────────── */
.tp-stat-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d5daea);
  border-radius: var(--border-radius-md, 14px);
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tp-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tp-stat-num {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary, #1a2e5e);
  line-height: 1;
  margin-bottom: .3rem;
}

.tp-stat-label {
  font-size: .72rem;
  color: var(--text-muted, #6b7a99);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── Feature cards ──────────────────── */
.tp-feature-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d5daea);
  border-radius: var(--border-radius-md, 14px);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s ease;
  border-top: 3px solid transparent;
}

.tp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent, #c9a227);
}

.tp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 162, 39, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--accent, #c9a227);
  flex-shrink: 0;
}

.tp-feature-card h5 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary, #0f1c3a);
  margin-bottom: .5rem;
}

.tp-feature-card p {
  font-size: .85rem;
  color: var(--text-muted, #6b7a99);
  margin: 0;
  line-height: 1.7;
}

/* ── Training skill cards ───────────── */
.tp-skill-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d5daea);
  border-radius: var(--border-radius-sm, 8px);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}

.tp-skill-card:hover {
  border-color: var(--accent, #c9a227);
  box-shadow: 0 4px 16px rgba(201, 162, 39, .15);
  transform: translateX(3px);
}

.tp-skill-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary, #1a2e5e), var(--primary-light, #243d7a));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #c9a227);
  font-size: .85rem;
  flex-shrink: 0;
}

.tp-skill-card span {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-primary, #0f1c3a);
}

/* ── Vision / Mission cards ─────────── */
.tp-vm-card {
  border-radius: var(--border-radius-md, 14px);
  padding: 1.75rem;
  height: 100%;
}

.tp-vm-card.tp-vision {
  background: linear-gradient(135deg, var(--primary, #1a2e5e), var(--primary-light, #243d7a));
}

.tp-vm-card.tp-mission {
  background: rgba(201, 162, 39, .07);
  border: 2px solid rgba(201, 162, 39, .22);
}

.tp-vm-card.tp-objective {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d5daea);
  box-shadow: var(--shadow-sm);
}

.tp-vm-icon { font-size: 1.7rem; margin-bottom: .75rem; }

.tp-vm-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .7rem;
}

.tp-vm-card.tp-vision .tp-vm-title  { color: var(--accent, #c9a227); }
.tp-vm-card.tp-vision p             { color: rgba(255, 255, 255, .72); font-size: .88rem; margin: 0; line-height: 1.75; }
.tp-vm-card.tp-mission .tp-vm-title { color: var(--primary, #1a2e5e); }
.tp-vm-card.tp-mission p            { color: var(--text-secondary, #3d4f72); font-size: .88rem; margin: 0; line-height: 1.75; }
.tp-vm-card.tp-objective .tp-vm-title { color: var(--primary, #1a2e5e); }
.tp-vm-card.tp-objective p          { color: var(--text-secondary, #3d4f72); font-size: .88rem; margin: 0; line-height: 1.75; }

/* ── Accent bullet list ─────────────── */
.tp-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tp-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .45rem 0;
  font-size: .9rem;
  color: var(--text-secondary, #3d4f72);
  border-bottom: 1px solid var(--border-color, #d5daea);
  line-height: 1.5;
}

.tp-bullet-list li:last-child { border-bottom: none; }

.tp-bullet-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #c9a227);
  margin-top: .5rem;
  flex-shrink: 0;
}

/* ── TPO Profile card ───────────────── */
.tp-profile-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d5daea);
  border-radius: var(--border-radius-lg, 22px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tp-profile-header {
  background: linear-gradient(135deg, var(--primary-dark, #0f1c3a) 0%, var(--primary, #1a2e5e) 100%);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tp-avatar-wrap {
  flex-shrink: 0;
}

.tp-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--accent, #c9a227);
  background: var(--primary-light, #243d7a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #c9a227);
  font-size: 2.4rem;
}

.tp-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--accent, #c9a227);
  object-fit: cover;
}

.tp-profile-info {
  flex: 1;
  min-width: 0;
}

.tp-profile-name {
  font-family: var(--font-display, 'Playfair Display', serif);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .18rem;
  line-height: 1.3;
}

.tp-profile-role {
  color: var(--accent, #c9a227);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .12rem;
  letter-spacing: .01em;
}

.tp-profile-inst {
  color: rgba(255, 255, 255, .52);
  font-size: .78rem;
  margin-bottom: .65rem;
}

.tp-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tp-profile-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .8);
  font-size: .72rem;
  font-weight: 600;
  padding: .22rem .65rem;
  border-radius: 20px;
}

.tp-profile-tag i { font-size: .65rem; color: var(--accent, #c9a227); }

.tp-profile-body { padding: 1.75rem 2rem 2rem; }

.tp-profile-body blockquote {
  border-left: 3px solid var(--accent, #c9a227);
  padding: .75rem 1.1rem;
  margin: 0 0 1.25rem;
  background: var(--bg-section-alt, #f0f3fa);
  border-radius: 0 8px 8px 0;
  font-size: .9rem;
  color: var(--text-secondary, #3d4f72);
  line-height: 1.75;
  font-style: italic;
}

/* ── Institution cards (recruiter page) ─ */
.tp-inst-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d5daea);
  border-radius: var(--border-radius-md, 14px);
  padding: 1.4rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  border-top: 4px solid var(--primary, #1a2e5e);
  position: relative;
}

.tp-inst-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-top-color: var(--accent, #c9a227);
}

.tp-inst-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-section-alt, #f0f3fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary, #1a2e5e);
  margin-bottom: .85rem;
}

.tp-inst-card h5 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-primary, #0f1c3a);
  margin-bottom: .4rem;
  line-height: 1.35;
}

.tp-inst-seat-badge {
  display: inline-block;
  background: rgba(201, 162, 39, .12);
  color: var(--accent-dark, #a07d10);
  font-size: .68rem;
  font-weight: 800;
  padding: .18rem .6rem;
  border-radius: 20px;
  margin-bottom: .65rem;
  letter-spacing: .04em;
}

.tp-inst-programs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .5rem;
}

.tp-inst-prog-pill {
  font-size: .68rem;
  font-weight: 600;
  background: var(--bg-section-alt, #f0f3fa);
  color: var(--text-secondary, #3d4f72);
  padding: .15rem .5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color, #d5daea);
}

/* ── Event / drive cards ────────────── */
.tp-event-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #d5daea);
  border-radius: var(--border-radius-md, 14px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tp-event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tp-event-date-col {
  width: 72px;
  min-height: 100%;
  background: var(--primary, #1a2e5e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .75rem .5rem;
  flex-shrink: 0;
  text-align: center;
}

.tp-event-date-col .tp-eday  { font-size: 1.6rem; font-weight: 900; color: var(--accent, #c9a227); line-height: 1; }
.tp-event-date-col .tp-emon  { font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; margin-top: .1rem; }
.tp-event-date-col .tp-eyr   { font-size: .6rem; color: rgba(255,255,255,.4); }

.tp-event-body { padding: 1rem 1.25rem; flex: 1; }

.tp-event-body h5 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary, #0f1c3a);
  margin-bottom: .35rem;
  line-height: 1.4;
}

.tp-event-body p {
  font-size: .83rem;
  color: var(--text-muted, #6b7a99);
  margin: 0;
  line-height: 1.6;
}

.tp-event-footer {
  padding: .65rem 1.25rem;
  border-top: 1px solid var(--border-color, #d5daea);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ── Status pills ───────────────────── */
.tp-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 30px;
  letter-spacing: .04em;
}

.tp-pill-green   { background: rgba(22, 163, 74, .1);  color: #16a34a; }
.tp-pill-blue    { background: rgba(2, 132, 199, .1);  color: #0284c7; }
.tp-pill-orange  { background: rgba(217, 119, 6, .1);  color: #d97706; }
.tp-pill-gold    { background: rgba(201,162,39,.12);   color: var(--accent-dark, #a07d10); }
.tp-pill-navy    { background: var(--primary,.1);      color: #fff; background-color: var(--primary, #1a2e5e); }

/* ── CTA buttons (T&P specific) ─────── */
.tp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary, #1a2e5e);
  color: #fff !important;
  font-weight: 700;
  font-size: .88rem;
  padding: .62rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  border: 2px solid var(--primary, #1a2e5e);
  white-space: nowrap;
}

.tp-btn-primary:hover {
  background: var(--primary-light, #243d7a);
  border-color: var(--primary-light, #243d7a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 46, 94, .28);
  text-decoration: none;
}

.tp-btn-accent {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent, #c9a227);
  color: var(--primary-dark, #0f1c3a) !important;
  font-weight: 700;
  font-size: .88rem;
  padding: .62rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  border: 2px solid var(--accent, #c9a227);
  white-space: nowrap;
}

.tp-btn-accent:hover {
  background: var(--accent-dark, #a07d10);
  border-color: var(--accent-dark, #a07d10);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, .35);
  text-decoration: none;
}

.tp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--primary, #1a2e5e) !important;
  font-weight: 700;
  font-size: .88rem;
  padding: .6rem 1.35rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  border: 2px solid var(--primary, #1a2e5e);
  white-space: nowrap;
}

.tp-btn-outline:hover {
  background: var(--primary, #1a2e5e);
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none;
}

.tp-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
  font-size: .88rem;
  padding: .6rem 1.35rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  border: 2px solid rgba(255,255,255,.5);
  white-space: nowrap;
}

.tp-btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
  text-decoration: none;
}


/* ═══════════════════════════════════════════════════════════
   6. CAREER ECOSYSTEM VISUAL
   The signature flow diagram on the overview page.
═══════════════════════════════════════════════════════════ */

.tp-ecosystem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 1rem 0;
}

.tp-eco-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 340px;
}

.tp-eco-node {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--bg-card, #fff);
  border: 1.5px solid var(--border-color, #d5daea);
  border-radius: 12px;
  padding: .85rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  position: relative;
}

.tp-eco-node:hover {
  border-color: var(--accent, #c9a227);
  box-shadow: 0 4px 18px rgba(201, 162, 39, .18);
  transform: scale(1.02);
}

.tp-eco-node.tp-eco-highlight {
  background: linear-gradient(135deg, var(--primary, #1a2e5e), var(--primary-light, #243d7a));
  border-color: var(--primary, #1a2e5e);
}

.tp-eco-node.tp-eco-highlight .tp-eco-label,
.tp-eco-node.tp-eco-highlight .tp-eco-desc {
  color: #fff !important;
}

.tp-eco-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(201, 162, 39, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent, #c9a227);
  flex-shrink: 0;
}

.tp-eco-node.tp-eco-highlight .tp-eco-icon-box {
  background: rgba(201, 162, 39, .2);
}

.tp-eco-label {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-primary, #0f1c3a);
  margin: 0;
  line-height: 1;
}

.tp-eco-desc {
  font-size: .75rem;
  color: var(--text-muted, #6b7a99);
  margin: .18rem 0 0;
}

/* Arrow between steps */
.tp-eco-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: .35rem 0;
}

.tp-eco-arrow span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--accent, #c9a227);
  border-radius: 1px;
  opacity: .7;
}

.tp-eco-arrow i {
  color: var(--accent, #c9a227);
  font-size: .75rem;
}

/* ── Recruiter enquiry form ─────────── */
.tp-enquiry-form .form-control,
.tp-enquiry-form .form-select {
  border: 1.5px solid var(--border-color, #d5daea);
  border-radius: 10px;
  font-size: .88rem;
  padding: .65rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
  background: var(--bg-card, #fff);
  color: var(--text-primary, #0f1c3a);
}

.tp-enquiry-form .form-control:focus,
.tp-enquiry-form .form-select:focus {
  border-color: var(--accent, #c9a227);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .15);
  outline: none;
}

.tp-enquiry-form label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary, #3d4f72);
  margin-bottom: .3rem;
}

/* ── Countdown widget ───────────────── */
.tp-countdown {
  display: flex;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.tp-cd-box {
  text-align: center;
  min-width: 58px;
}

.tp-cd-num {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary, #1a2e5e);
  line-height: 1;
  display: block;
}

.tp-cd-label {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted, #6b7a99);
  margin-top: .2rem;
  display: block;
}

.tp-cd-sep {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent, #c9a227);
  margin-top: -.5rem;
  align-self: flex-start;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════════════
   7. RESPONSIVE OVERRIDES
═══════════════════════════════════════════════════════════ */

@media (max-width: 991px) {

  /* Sidebar becomes a full-width mobile nav */
  .tp-wrapper          { flex-direction: column; }

  .tp-sidebar-col {
    width: 100%;
    min-width: 0;
    position: static;
    height: auto;
    overflow: visible;
    border-right: none;
    border-bottom: 1px solid var(--border-color, #d5daea);
  }

  /* Show mobile toggle, hide desktop brand */
  .tp-sidebar-brand    { display: none; }
  .tp-mobile-toggle    { display: flex; }

  .tp-content-col { width: 100%; padding: 1.5rem 1rem 2.5rem; }

  .tp-page-banner { padding: 1.5rem; }
  .tp-profile-header { padding: 1.5rem; gap: 1rem; }
  .tp-profile-body { padding: 1.25rem; }
}

@media (min-width: 992px) {
  /* On desktop, hide the mobile toggle */
  .tp-mobile-toggle { display: none; }

  /* On desktop, the nav-collapse is always shown (no Bootstrap collapse behaviour) */
  .tp-sidebar-nav { display: block !important; }
}

@media (max-width: 576px) {
  .tp-content-col { padding: 1rem .75rem 2rem; }
  .tp-office-title { font-size: .88rem; }
  .tp-page-banner  { padding: 1.2rem; }
  .tp-page-banner h1, .tp-page-banner h2 { font-size: 1.15rem; }
  .tp-profile-header { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   8. PRINT — hide sidebar
═══════════════════════════════════════════════════════════ */
@media print {
  .tp-sidebar-col { display: none !important; }
  .tp-section-header { background: none !important; color: #000 !important; }
  .tp-content-col { padding: 0 !important; }
}
