.brandlink{display:flex;align-items:center;gap:.7rem}.brandlink img{width:46px}.brandlink small{display:block;color:#f5c65e;letter-spacing:.3em}
.app-wrap:has(.tsc-hero,.tsc-dashboard){max-width:none;width:100%;padding:0}
.tsc-hero{position:relative;isolation:isolate;min-height:540px;padding:clamp(1rem,4vw,4rem);display:grid;align-content:center;background:#08192e;color:white}
.tsc-hero>img{position:absolute;right:0;top:0;width:60%;height:100%;object-fit:cover;z-index:-2}
.tsc-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08192e 28%,transparent 70%);z-index:-1}
.tsc-hero>div{max-width:min(48%,650px)}.tsc-hero h1,.tsc-member h1{margin:0;font:700 clamp(1.65rem,4.6vw,4.5rem)/1 Georgia,serif;color:white}.tsc-hero em{display:block;color:#f4c660;font-style:normal}.tsc-hero p{font-size:1.25rem}.tsc-hero li{margin:.45rem 0}.tsc-hero .outline{border-color:white;color:white}
.tsc-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem;padding:1rem}.tsc-quick a,.tsc-member-card,.tsc-panel{background:white;border:1px solid #d9e1ed;border-radius:1rem;padding:1rem;color:#122442}.tsc-quick a{display:flex;gap:.5rem;align-items:center;justify-content:space-between}.tsc-quick img{width:2rem}
.tsc-dashboard{display:grid;grid-template-columns:240px minmax(0,1fr);background:#f4f6fa}.tsc-dashboard aside{background:#0b203a;padding:.8rem}.tsc-dashboard aside a{display:flex;justify-content:space-between;color:white;padding:.8rem}.tsc-dashboard aside a[aria-current]{background:#f4c660;color:#102040;border-radius:.5rem}.tsc-member>header{background:linear-gradient(90deg,#0b2443 20%,transparent),#0b2443 url('assets/espace-ville.jpg') right center/auto 100% no-repeat;color:white;padding:2rem 1.5rem 3rem}.tsc-member-card{position:relative;margin:-1rem 1rem 0;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.tsc-member-card .member-avatar{width:72px;height:72px}.tsc-member-card strong{color:#805304}.tsc-dashboard .tsc-quick{grid-template-columns:repeat(4,minmax(0,1fr))}.tsc-panel{margin:1rem}.tsc-auth.login-first .grid2>:nth-child(2){order:-1}
@media(max-width:760px){.tsc-hero{min-height:0;display:flex;flex-direction:column}.tsc-hero:after{display:none}.tsc-hero>img{order:1;position:static;width:100%;height:auto;aspect-ratio:1.7;object-fit:cover}.tsc-hero>div{max-width:none;display:contents}.tsc-hero .actions08{order:2;display:grid;margin-top:1rem;text-align:center}.tsc-hero+.tsc-quick{display:flex;overflow:auto}.tsc-hero+.tsc-quick a{min-width:8rem}.tsc-dashboard{display:block}.tsc-dashboard aside{display:none}.tsc-dashboard .tsc-quick{grid-template-columns:1fr}.tsc-member-card{background:#102847;color:white;border-color:#f4c660}.tsc-member-card h2{color:white}.tsc-member-card strong{color:#f4c660}}
/* Les deux colonnes gardent le texte en dehors du portrait. */
.tsc-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "copy portrait"; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.tsc-hero::after { display: none; }
.tsc-hero > div { display: block; grid-area: copy; min-width: 0; max-width: none; padding: clamp(1rem, 3vw, 3rem); border: 1px solid #b58e4b; border-radius: 1rem; background: #101f36; }
.tsc-hero h1 { font-size: clamp(1.5rem, 3.3vw, 3.5rem); overflow-wrap: anywhere; }
.tsc-hero > img { grid-area: portrait; position: static; z-index: auto; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 1rem; }
.tsc-hero .actions08 > .btn08:not(.outline) { background: #f4c660; border-color: #f4c660; color: #102040; }
.tsc-hero .actions08 > .btn08.outline, .tsc-hero .actions08 > .btn08.outline:visited { background: #132943; border-color: #f1f5ff; color: #fff; }
.tsc-hero .actions08 > .btn08.outline:hover, .tsc-hero .actions08 > .btn08.outline:focus-visible { background: #283f5d; color: #fff; }
@media (max-width: 760px) {
  .tsc-hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "portrait"; }
  .tsc-hero h1 { font-size: clamp(1.5rem, 6vw, 2.75rem); }
}
/* Portrait sobre et toutes les destinations disponibles sans balayage. */
.tsc-hero > img {
  aspect-ratio: auto;
  max-height: 610px;
  justify-self: center;
  filter: saturate(.88);
}
@media (max-width: 760px) {
  .sitebar .barinner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
    padding: .75rem;
  }
  .sitebar .nav {
    order: 3;
    display: flex;
    flex: 0 0 100%;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    min-width: 0;
    gap: .35rem;
    overflow: visible;
    padding: 0;
  }
  .sitebar .nav a {
    flex: 0 1 auto;
    white-space: normal;
    text-align: center;
    padding: .45rem .6rem;
  }
  .tsc-hero > img { max-height: 350px; }
  .tsc-hero + .tsc-quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    overflow: visible;
    padding: .75rem;
  }
  .tsc-hero + .tsc-quick a {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    min-width: 0;
    padding: .65rem .35rem;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .tsc-hero + .tsc-quick a:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 16rem);
  }
}
.tsc-dashboard { grid-template-columns: clamp(185px, 19vw, 250px) minmax(0, 1fr); min-height: 70vh; }
.tsc-dashboard aside a { align-items: center; gap: .5rem; }
.tsc-member { min-width: 0; padding-bottom: 1.5rem; }
.tsc-member > header { padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 2.25rem; }
.tsc-member h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.tsc-member-card { align-items: center; gap: 1rem; }
.member-identity { flex: 1 1 15rem; min-width: 0; overflow-wrap: anywhere; }
.member-identity h2, .member-identity p { margin: 0 0 .35rem; }
.member-meta, .member-badges { display: flex; flex-wrap: wrap; gap: .35rem .75rem; }
.member-badges { margin-top: .4rem; }
.tsc-dashboard .tsc-quick { grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); }
.tsc-dashboard .tsc-quick a { min-width: 0; overflow-wrap: anywhere; }
.member-count { padding: .05rem .45rem; border-radius: 1rem; background: #f4c660; color: #102040; font-weight: 700; }
.member-columns { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; margin: 0 1rem; }
.member-columns > .tsc-panel { margin: 0; min-width: 0; }
.member-panel-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.member-panel-heading h2 { margin: 0; }
.member-applications { padding: 0; list-style: none; }
.member-applications li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .35rem .75rem; padding: .55rem 0; border-bottom: 1px solid #d9e1ed; overflow-wrap: anywhere; }
.member-publish, .member-detail { display: grid; gap: .65rem; }
.member-publish .btn08 { text-align: center; white-space: normal; }
.member-detail { margin: 1rem; overflow-wrap: anywhere; }
.member-detail > a { justify-self: start; }
.member-cv-text { white-space: pre-wrap; }
#member-heading, #trainer-workspace, #project-workspace { scroll-margin-top: 8rem; }

@media (max-width: 760px) {
  .tsc-dashboard .tsc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .tsc-dashboard .tsc-quick a { padding: .75rem .55rem; }
  .tsc-member-card .btn08.outline { background: #102847; color: white; border-color: #f4c660; }
  .tsc-member-card .btn08.outline:hover, .tsc-member-card .btn08.outline:focus-visible { background: #29486c; color: white; }
  .member-identity { flex-basis: 9rem; }
  .member-columns { grid-template-columns: minmax(0, 1fr); }
}

.job-excerpt,
.job-description {
  overflow-wrap: anywhere;
}
.job-description {
  white-space: pre-wrap;
}
.job-details summary {
  cursor: pointer;
  font-weight: 700;
}
.job-details .job-less,
.job-details[open] .job-more {
  display: none;
}
.job-details[open] .job-less {
  display: inline;
}
.ambassador-announcement {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.ambassador-page img {
  display: block;
  width: min(100%, 38rem);
  height: auto;
}

.auth-single {
  max-width: 38rem;
  margin-inline: auto;
}
.auth-single > .actions08 {
  justify-content: space-between;
  margin-bottom: 1rem;
}
.auth-choices .cardbox > a {
  width: 100%;
  text-align: center;
}

.header-profile{display:inline-flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:center;font-weight:700;color:#173249}.header-profile .tsc-badge{margin:0}.job-alert-match{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid #e4edf1}.job-alert-match:last-child{border-bottom:0}.job-alert-match.unread{border-left:4px solid #16a79b;padding-left:.8rem;background:#f2fbfa}.job-alert-match p{margin:.25rem 0}.job-alert-match .btn08{flex:none}@media(max-width:600px){.job-alert-match{align-items:flex-start;flex-direction:column}.header-profile{max-width:100%}}
/* Identity icons and job alert shortcut */
.tsc-badge{display:inline-flex;align-items:center;gap:.28rem;vertical-align:middle}
.badge-icon{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;flex:0 0 1rem}
.badge-icon svg{width:100%;height:100%;fill:currentColor}
.badge-founder{background:#fff2c6;color:#805500;border-color:#d7ad3c}
.badge-admin{background:#e5efff;color:#1e4f9a;border-color:#93b7f2}
.badge-premium{background:#f1e7ff;color:#6b35a7;border-color:#c7a5ef}
.badge-verified,.badge-verified-alternative{background:#e1f5ed;color:#176b4b;border-color:#81c9aa}
.member-top-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.header-profile .tsc-badge{white-space:nowrap}
@media(max-width:600px){.member-top-actions{width:100%}.member-top-actions .btn08{flex:1;text-align:center}}

/* Identity icons and job alert shortcut */
.tsc-badge{display:inline-flex;align-items:center;gap:.28rem;vertical-align:middle}
.badge-icon{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;flex:0 0 1rem}
.badge-icon svg{width:100%;height:100%;fill:currentColor}
.badge-founder{background:#fff2c6;color:#805500;border-color:#d7ad3c}
.badge-admin{background:#e5efff;color:#1e4f9a;border-color:#93b7f2}
.badge-premium{background:#f1e7ff;color:#6b35a7;border-color:#c7a5ef}
.badge-verified,.badge-verified-alternative{background:#e1f5ed;color:#176b4b;border-color:#81c9aa}
.member-top-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.header-profile .tsc-badge{white-space:nowrap}
@media(max-width:600px){.member-top-actions{width:100%}.member-top-actions .btn08{flex:1;text-align:center}}

/* High-contrast account name on the dark navigation bar */
.sitebar .header-profile>span:first-child{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.45)}

