/* Person card — Holiteam slider + article author */
.person-card {
  --pc-orange: #ffb019;
  --pc-bordeaux: #810b00;
  --pc-linkedin: #0a66c2;
  --pc-bg: #f7f7f7;
  --pc-text: #1a1a1a;
  --pc-muted: #4a4a4a;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.1rem;
  background: var(--pc-bg);
  border-radius: 18px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 14px 36px rgba(0, 0, 0, 0.16);
  text-align: left;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.person-card--slider {
  max-width: none;
  width: 100%;
  margin: 0;
}

.person-card--article {
  max-width: 420px;
  margin: 0 auto;
  height: auto;
}

.article-author-card {
  max-width: 900px;
  margin: 2.5rem auto 2rem;
}

.article-author-card__title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.person-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  min-height: 120px;
}

.person-card__portrait {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.person-card__photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  background: var(--pc-orange);
}

.person-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

/* Tampons clipés dans le coin haut-droit (suivent le border-radius de la card) */
.person-card__stamps {
  position: absolute;
  top: 0;
  right: 0;
  width: 170px;
  height: 150px;
  overflow: hidden;
  border-top-right-radius: 18px;
  z-index: 2;
  pointer-events: none;
  margin: 0;
}

.person-card__stamps-img {
  position: absolute;
  top: -1.1rem;
  right: -1.35rem;
  width: 200px;
  max-width: none;
  height: auto;
  display: block;
  opacity: 0.95;
}

.person-card__name {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--pc-text);
  text-transform: uppercase;
}

.person-card__name a {
  color: inherit;
  text-decoration: none;
}

.person-card__name a:hover {
  color: var(--pc-bordeaux);
}

.person-card__name a:focus-visible,
.person-card__linkedin:focus-visible {
  outline: 2px solid var(--pc-bordeaux);
  outline-offset: 2px;
  border-radius: 4px;
}

.person-card__job {
  display: inline-block;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.85rem;
  background: var(--pc-orange);
  color: #111;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  line-height: 1.3;
}

.person-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.person-card__bio {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--pc-muted);
  flex: 1 1 auto;
}

.person-card__bio p {
  margin: 0 0 0.65rem;
}

.person-card__bio p:last-child {
  margin-bottom: 0;
}

.person-card__divider {
  border: 0;
  height: 2px;
  margin: 1rem 0;
  background: linear-gradient(90deg, var(--pc-orange), var(--pc-bordeaux));
  border-radius: 2px;
}

.person-card__facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.person-card__facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--pc-text);
}

.person-card__facts li:last-child {
  margin-bottom: 0;
}

.person-card__fact-icon {
  flex-shrink: 0;
  line-height: 1.4;
}

.person-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.person-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem 0.4rem 0.85rem;
  background: var(--pc-linkedin);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.person-card__linkedin:hover {
  background: #084e96;
  transform: translateY(-1px);
  color: #fff !important;
}

.person-card__linkedin-label {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.person-card__linkedin-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
}

/* Holiteam yellow band + slider
   The yellow stripe is a fixed-height layer; cards may overflow it. */
.holiteam-band {
  --holiteam-band-height: 420px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: transparent;
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  overflow: visible;
}

.holiteam-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: var(--holiteam-band-height);
  background: linear-gradient(180deg, #ffc44a 0%, #ffb019 55%, #f0a40a 100%);
  z-index: 0;
  pointer-events: none;
}

.holiteam-band__inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.holiteam-band .holiteam-slider {
  padding: 0 3.75rem;
  overflow: hidden;
}

/* Coupe les bouts de cartes à gauche/droite ; laisse un peu d'air
   haut/bas pour les tampons et l'ombre */
.holiteam-band .slick-list {
  overflow: hidden !important;
  padding-top: 1.5rem !important;
  padding-right: 0 !important;
  padding-bottom: 2rem !important;
  padding-left: 0 !important;
  margin-top: -1.5rem;
  margin-bottom: -2rem;
}

.holiteam-band .slick-slide {
  padding: 0.85rem 0.85rem 1.25rem;
  height: auto !important;
  box-sizing: border-box;
  display: flex;
  float: none;
}

.holiteam-band .slick-track {
  display: flex !important;
  align-items: stretch;
}

.holiteam-band .slick-slide > div {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
}

.holiteam-band .slick-slide .person-card {
  min-height: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
}

.holiteam-band .slick-prev,
.holiteam-band .slick-next {
  z-index: 3;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.holiteam-band .slick-prev:hover,
.holiteam-band .slick-prev:focus,
.holiteam-band .slick-next:hover,
.holiteam-band .slick-next:focus {
  background: #810b00;
  box-shadow: 0 6px 18px rgba(129, 11, 0, 0.35);
  outline: none;
}

.holiteam-band .slick-prev {
  left: 0;
}

.holiteam-band .slick-next {
  right: 0;
}

.holiteam-band .slick-prev:before,
.holiteam-band .slick-next:before {
  color: #810b00;
  font-size: 26px;
  opacity: 1;
  line-height: 1;
}

.holiteam-band .slick-prev:hover:before,
.holiteam-band .slick-prev:focus:before,
.holiteam-band .slick-next:hover:before,
.holiteam-band .slick-next:focus:before {
  color: #fff;
  opacity: 1;
}

.holiteam-band .slick-prev.slick-disabled,
.holiteam-band .slick-next.slick-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 575.98px) {
  .person-card__stamps {
    top: 0;
    right: 0;
    width: 130px;
    height: 115px;
  }

  .person-card__stamps-img {
    top: -0.85rem;
    right: -1rem;
    width: 155px;
  }

  .holiteam-band .slick-list {
    padding-top: 1rem !important;
    padding-right: 0 !important;
    padding-bottom: 1.5rem !important;
    padding-left: 0 !important;
    margin-top: -1rem;
    margin-bottom: -1.5rem;
  }

  .holiteam-band .slick-slide {
    padding: 0.35rem 0.35rem 1rem;
  }

  .person-card__photo {
    width: 100px;
    height: 100px;
  }

  .person-card {
    max-width: 100%;
  }

  .holiteam-band {
    --holiteam-band-height: 240px;
    padding: 1.25rem 0;
  }

  .holiteam-band .holiteam-slider {
    padding: 0 2.75rem;
  }

  .holiteam-band .slick-prev,
  .holiteam-band .slick-next {
    width: 40px;
    height: 40px;
  }

  .holiteam-band .slick-prev:before,
  .holiteam-band .slick-next:before {
    font-size: 22px;
  }
}
