/* GoWatch TEST67 – cartes et fiches Team. Strictement limitées au module Team. */
.teams article.crtv-team-card {
  box-sizing:border-box; display:flex; flex-direction:column; align-items:center;
  min-height:315px; padding:24px 18px 20px; border:1px solid #e1e6ec;
  border-radius:16px; background:#fff; color:#243343;
  box-shadow:0 3px 15px rgba(25,41,53,.06); overflow:hidden;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.teams article.crtv-team-card:hover {
  transform:translateY(-2px); background:#fff; border-color:#d0dae2;
  box-shadow:0 8px 22px rgba(25,41,53,.12);
}
.teams article.crtv-team-card .image-holder,
.teams article.crtv-team-card .crtv-team-avatar-fallback {
  display:flex; align-items:center; justify-content:center;
  width:116px; height:116px; flex:none; margin:0 auto 16px;
  border-radius:50%; background-color:#e8edf1; background-position:center;
  background-size:cover; border:3px solid #fff; box-shadow:0 0 0 1px #d6e0e8;
}
.teams article.crtv-team-card .crtv-team-avatar-fallback {color:#778b9d; font-size:45px;}
.teams article.crtv-team-card header {width:100%; flex:1;}
.teams article.crtv-team-card .entry-title {font-size:17px; line-height:1.35; margin:0 0 8px; color:#203345;}
.teams article.crtv-team-card .entry-title::after {display:none;}
.teams article.crtv-team-card .position {font-size:13px; font-weight:650; font-style:normal; color:#a32040; margin:0 0 11px;}
.teams article.crtv-team-card .article-excerpt {font-size:13px; line-height:1.5; color:#57697a; margin:0 0 14px;}
.teams article.crtv-team-card:hover .entry-title {color:#203345;}
.teams article.crtv-team-card:hover .position {color:#a32040;}
.teams article.crtv-team-card:hover .article-excerpt {color:#57697a;}
.teams article.crtv-team-card .crtv-team-card-mainlink:focus-visible {outline:2px solid #b21b40; outline-offset:-3px; border-radius:16px;}
.crtv-team-socials {position:relative; z-index:3; margin:12px 0 0;}
.crtv-team-socials .crtv-team-social-list {list-style:none; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; margin:0; padding:0;}
.crtv-team-socials .crtv-team-social-list li {display:inline-flex; margin:0 !important; padding:0 !important;}
.crtv-team-socials .crtv-team-social-list li a {display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center; padding:0; border:1px solid #dce3e9; border-radius:50%; background:#f3f6f8 !important; color:#33495c !important; text-decoration:none; transition:background .15s ease, color .15s ease;}
.crtv-team-socials .crtv-team-social-list li a:hover {background:#ba1840 !important; color:white !important; border-color:#ba1840;}
.crtv-team-socials .crtv-team-social-list li a:focus-visible {outline:2px solid #b21b40; outline-offset:2px;}
.crtv-team-socials .crtv-team-social-list li a i {display:inline-block; margin:0; font-size:16px; width:auto; height:auto; line-height:1; background:transparent !important; color:inherit !important;}
.crtv-team-socials .crtv-team-social-list .crtv-team-x-icon {font:700 16px/1 Arial,sans-serif; color:inherit;}
.crtv-team-socials .crtv-tiktok-icon {display:block; width:17px; height:17px; object-fit:contain;}
.ts-team-single .team-general {padding-top:36px; padding-bottom:38px;}
.ts-team-single .member-content .member-name .post-title {font-size:clamp(27px,3vw,39px); line-height:1.2;}
.ts-team-single .member-content .position {font-style:normal; font-size:15px; font-weight:650; color:#a32040; margin-bottom:12px;}
.ts-team-single .member-content .author-short-description {font-size:16px; line-height:1.65; color:#405467;}
.ts-team-single .member-thumb img {border-radius:14px; max-width:100%; height:auto;}
.ts-team-single .member-content .crtv-team-socials .crtv-team-social-list {justify-content:flex-start;}
/* Dark mode – isolated from other archives, videos and magazine cards. */
html.crtv-theme-dark .teams article.crtv-team-card,
html.crtv-theme-dark .teams article.crtv-team-card:hover {background:#1b2b39; border-color:#3e5567; box-shadow:0 4px 17px rgba(0,0,0,.14);}
html.crtv-theme-dark .teams article.crtv-team-card .entry-title,
html.crtv-theme-dark .teams article.crtv-team-card:hover .entry-title {color:#f0f5f9;}
html.crtv-theme-dark .teams article.crtv-team-card .position,
html.crtv-theme-dark .teams article.crtv-team-card:hover .position {color:#f2a2b8;}
html.crtv-theme-dark .teams article.crtv-team-card .article-excerpt,
html.crtv-theme-dark .teams article.crtv-team-card:hover .article-excerpt {color:#c0d0dc;}
html.crtv-theme-dark .crtv-team-socials .crtv-team-social-list li a {background:#263e50 !important; border-color:#496174; color:#f0f4f8 !important;}
html.crtv-theme-dark .crtv-team-socials .crtv-team-social-list li a:hover {background:#ba1840 !important; border-color:#ba1840; color:white !important;}
html.crtv-theme-dark .ts-team-single .member-content .author-short-description,
html.crtv-theme-dark .ts-team-single .member-content .post-content {color:#e2edf4;}
html.crtv-theme-dark .ts-team-single .member-content .position {color:#f2a2b8;}
@media(max-width:767px){
 .teams article.crtv-team-card{min-height:0;padding:21px 15px;}
 .teams article.crtv-team-card .image-holder,.teams article.crtv-team-card .crtv-team-avatar-fallback{width:104px;height:104px;}
 .ts-team-single .team-general {padding-top:24px;}
 .ts-team-single .member-content .crtv-team-socials .crtv-team-social-list {justify-content:center;}
}

/* TEST68 : Retour vers la page contenant le bloc Équipe, fiche Team uniquement. */
.ts-team-single .crtv-team-return-container {
  position:fixed; left:22px; bottom:26px; z-index:110; width:auto;
  max-width:calc(100vw - 44px); margin:0; padding:0; pointer-events:none;
}
.ts-team-single .crtv-team-return {
  display:inline-flex; align-items:center; gap:9px; max-width:100%; pointer-events:auto;
  border:1px solid #294457; border-radius:25px; padding:10px 17px;
  background:#19364a; color:#fff !important; text-decoration:none !important;
  font-size:14px; font-weight:650; line-height:1.25;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.ts-team-single .crtv-team-return:hover,.ts-team-single .crtv-team-return:focus-visible {
  background:#b70b36; border-color:#b70b36; color:#fff !important;
}
.ts-team-single .crtv-team-return span[aria-hidden] {font-size:18px; line-height:1;}
html.crtv-theme-dark .ts-team-single .crtv-team-return {background:#25475f; border-color:#496879; color:#fff !important;}
html.crtv-theme-dark .ts-team-single .crtv-team-return:hover {background:#b70b36; border-color:#b70b36;}
@media(max-width:767px){
 .ts-team-single .crtv-team-return-container {left:15px; bottom:78px; max-width:calc(100vw - 30px);}
 .ts-team-single .crtv-team-return {font-size:13px; padding:10px 14px;}
}
