.bp-series-cast,
.bp-series-platforms,
.bp-series-facts,
.bp-series-header-meta,
.bp-series-vote,
.bp-series-comments,
.bp-home-grid,
.bp-home-grid__empty {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  color: #eaf5fb;
  font-family: Montserrat, Arial, sans-serif;
}

.bp-series-cast *,
.bp-series-platforms *,
.bp-series-facts *,
.bp-series-header-meta *,
.bp-series-vote *,
.bp-series-comments * { box-sizing: border-box; }
.bp-home-grid * { box-sizing: border-box; }
.bp-vote-icon { display: block !important; width: 30px; height: 30px; flex: 0 0 auto; margin: 0 !important; padding: 0 !important; background-position: center; background-repeat: no-repeat; background-size: contain; vertical-align: middle; visibility: visible !important; opacity: 1 !important; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .34)); }
.bp-vote-icon.is-hidden { display: none !important; }

.bp-home-grid {
  display: grid;
  /* Une carte isolée conserve le même gabarit qu'une carte au milieu de six.
     Cela évite qu'une rubrique peu remplie transforme son affiche en bannière. */
  grid-template-columns: repeat(auto-fill, minmax(190px, 285px));
  justify-content: center;
  gap: 17px;
}
.bp-home-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 154, 91, .38);
  border-radius: 16px;
  background: linear-gradient(155deg, #29313a 0%, #1b2026 78%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .23);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bp-home-card:hover { transform: translateY(-4px); border-color: rgba(199, 168, 103, .72); box-shadow: 0 19px 38px rgba(0, 0, 0, .32); }
.bp-home-card__poster { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; background: #15191e; text-decoration: none; }
.bp-home-card__poster::after { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(13, 16, 20, .88)); content: ""; }
.bp-home-card__poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bp-home-card:hover .bp-home-card__poster img { transform: scale(1.035); }
.bp-home-card__poster-empty { display: grid; width: 100%; height: 100%; place-items: center; color: #c7a867; font-size: 1.15rem; font-weight: 850; letter-spacing: .08em; text-align: center; }
.bp-home-card__temperature { position: absolute; z-index: 2; right: 11px; bottom: 10px; display: flex; min-height: 36px; align-items: center; gap: 5px; padding: 4px 9px 4px 5px; border: 1px solid rgba(199, 168, 103, .72); border-radius: 999px; background: rgba(17, 21, 26, .94); color: #fff !important; line-height: 1 !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .32); backdrop-filter: blur(7px); }
.bp-home-card__temperature .bp-home-card__temperature-icon { width: 25px; height: 25px; }
.bp-home-card__temperature small { color: #d7bc7d !important; font-size: .51rem; font-weight: 850; letter-spacing: .07em; line-height: 1; text-transform: uppercase; }
.bp-home-card__temperature strong { color: #fff !important; font-size: .96rem !important; font-weight: 900; line-height: 1 !important; }
.bp-home-card__body { display: grid; gap: 7px; padding: 13px 13px 12px; }
.bp-home-card__meta { min-height: 1.2em; margin: 0 !important; overflow: hidden; color: #c7a867 !important; font-size: .64rem; font-weight: 750; letter-spacing: .045em; line-height: 1.3; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.bp-home-card h3 { min-height: 2.45em; margin: 0 !important; font-size: .9rem; line-height: 1.24; }
.bp-home-card h3 a { display: -webkit-box; overflow: hidden; color: #fff !important; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bp-home-card__actions { display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.bp-home-card__vote { display: inline-flex !important; width: 38px; height: 36px; align-items: center !important; justify-content: center !important; padding: 0 !important; line-height: 0 !important; place-items: center; border: 1px solid rgba(229, 29, 42, .72); border-radius: 9px; background: rgba(20, 24, 29, .78); cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.bp-home-card__vote .bp-vote-icon { width: 31px; height: 31px; }
.bp-home-card__vote:hover { transform: translateY(-2px); }
.bp-home-card__vote--hot.is-active { background: #e51d2a; box-shadow: 0 0 15px rgba(229, 29, 42, .34); }
.bp-home-card__vote--cold { border-color: rgba(111, 198, 232, .7); }
.bp-home-card__vote--cold.is-active { background: #367f9e; box-shadow: 0 0 15px rgba(111, 198, 232, .28); }
.bp-home-card__vote:disabled { cursor: wait; opacity: .55; }
.bp-home-card__actions .bp-series-vote__count { margin-left: auto; color: #9fb0bc !important; font-size: .62rem; white-space: nowrap; }
.bp-home-card__message { min-height: 1em; margin: 0 !important; color: #8fd7b1 !important; font-size: .6rem; line-height: 1.25; }
.bp-home-card__message.is-error { color: #ff8790 !important; }
.bp-home-card.is-loading { opacity: .72; }
.bp-home-grid__empty { display: grid; min-height: 120px; margin: 0 !important; place-items: center; border: 1px dashed rgba(184, 154, 91, .38); border-radius: 14px; color: #a9b7be !important; text-align: center; }

/* Dans un conteneur Flexbox Elementor, le widget Code court doit occuper toute
   la ligne au lieu de se réduire à la largeur intrinsèque de la première carte. */
.elementor-widget-shortcode:has(.bp-series-cast),
.elementor-widget-shortcode:has(.bp-series-platforms),
.elementor-widget-shortcode:has(.bp-series-facts),
.elementor-widget-shortcode:has(.bp-series-header-meta),
.elementor-widget-shortcode:has(.bp-series-vote),
.elementor-widget-shortcode:has(.bp-series-card-vote),
.elementor-widget-shortcode:has(.bp-series-comments),
.elementor-widget-shortcode:has(.bp-home-grid),
.elementor-widget-shortcode:has(.bp-home-grid__empty) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}

.bp-series-cast {
  display: grid;
  /* Des cartes volontairement compactes : sur un grand écran elles ne
     s'étirent plus pour remplir toute la ligne. */
  grid-template-columns: repeat(auto-fill, minmax(120px, var(--bp-cast-card-width, 180px)));
	justify-content: center;
	gap: var(--bp-cast-gap, 16px);
}

.bp-series-cast__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 154, 91, 0.34);
  border-radius: 16px;
  background: linear-gradient(155deg, #29313a 0%, #1c2127 72%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bp-series-cast__card::after {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #80632f, #d5bb78 48%, #80632f);
  content: "";
}

.bp-series-cast__card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 168, 103, 0.72);
  box-shadow: 0 17px 34px rgba(0, 0, 0, 0.3);
}

.bp-series-cast__card img,
.bp-series-cast__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: var(--bp-cast-ratio, 3 / 4);
  object-fit: cover;
  object-position: 50% 18%;
  background: #17191d;
}

.bp-series-cast__placeholder { display: grid; place-items: center; color: #6fc6e8; }
.bp-series-cast__card div:last-child { display: grid; gap: 4px; min-height: 70px; padding: 11px 12px 13px; }
.bp-series-cast__card strong { overflow: hidden; color: #fff !important; font-size: .82rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.bp-series-cast__card span { display: -webkit-box; overflow: hidden; color: #8ed9f5 !important; font-size: .7rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.bp-series-platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.bp-series-platforms__offer {
  display: grid;
  gap: 3px;
  min-width: 155px;
  padding: 11px 14px;
  border: 1px solid rgba(111, 198, 232, 0.28);
  border-radius: 12px;
  background: rgba(34, 39, 46, 0.9);
}
.bp-series-platforms__offer a,
.bp-series-platforms__offer strong { color: #fff !important; font-size: .86rem; font-weight: 800; text-decoration: none; }
.bp-series-platforms__offer > span {
  color: #78cfee !important;
  font-size: .82rem;
  font-weight: 600;
}
.bp-streaming-attribution { margin: 8px 0 0 !important; color: #95a2aa !important; font-size: .65rem; line-height: 1.4; }
.bp-streaming-attribution a { color: #b89a5b !important; }

.bp-series-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 11px; margin: 10px 0 18px; }
.bp-series-facts div {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(184, 154, 91, .3);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(43, 51, 61, .96), rgba(29, 34, 40, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.bp-series-facts dt { margin: 0 !important; color: #78cfee !important; font-size: .67rem; font-weight: 800; letter-spacing: .055em; line-height: 1.2; text-transform: uppercase; }
.bp-series-facts dd { margin: 6px 0 0 !important; color: #fff !important; font-size: .94rem; font-weight: 750; line-height: 1.25; }

.bp-series-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px !important;
  color: #c7a867 !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}
.bp-series-header-meta strong { color: inherit !important; font: inherit; }
.bp-series-header-meta span { color: #e51d2a; }

.bp-series-vote {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(320px, 1.28fr) 126px;
  grid-template-rows: auto auto auto auto;
  gap: 7px 26px;
  width: min(100%, 1160px);
  min-height: 0;
  margin: 22px auto 0;
  padding: 20px 22px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(184, 154, 91, .55);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 10%, rgba(111, 198, 232, .11), transparent 36%),
    linear-gradient(145deg, rgba(43, 51, 61, .98), rgba(27, 32, 38, .98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .035);
}

/* Neutralise aussi l'ancien liseré si Elementor ou un cache conserve encore
   la règle ::before d'une version précédente du module. */
.bp-series-vote::before,
.bp-series-vote::after {
  display: none !important;
  content: none !important;
}

.bp-series-vote__content { position: relative; z-index: 2; display: contents; }
.bp-series-vote__eyebrow {
  grid-column: 1 / 3;
  grid-row: 1;
  align-self: end;
  margin: 0 0 3px !important;
  padding: 0;
  color: #c7a867 !important;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.bp-series-vote__score-row { grid-column: 1; grid-row: 2 / 4; display: flex; align-items: center; gap: 13px; margin: 0; padding: 4px 18px 4px 0; border-right: 1px solid rgba(184, 154, 91, .24); }
.bp-series-vote__temperature { color: #fff !important; font-size: clamp(2.15rem, 4vw, 2.75rem); font-weight: 850; letter-spacing: -.045em; line-height: .95; }
.bp-series-vote__score-row > div { display: grid; gap: 3px; }
.bp-series-vote__count { color: #eaf5fb; font-size: .82rem; font-weight: 750; }
.bp-series-vote__score-row small { color: #9fb0bc; font-size: .67rem; }
.bp-series-vote__score-row small b { color: #d9e6ed; }
.bp-series-vote__buttons { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-content: center; gap: 8px; padding: 0; }
.bp-series-vote button { appearance: none; font-family: inherit; cursor: pointer; }
.bp-series-vote button:disabled { cursor: wait; opacity: .6; }
.bp-series-vote__button {
	display: inline-flex !important;
  min-height: 40px;
	align-items: center !important;
	justify-content: center !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-size: .78rem;
  font-weight: 800;
	line-height: 1 !important;
	white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.bp-series-vote .bp-series-vote__button,
.bp-series-vote .bp-series-vote__button:hover,
.bp-series-vote .bp-series-vote__button:focus,
.bp-series-vote .bp-series-vote__button.is-active,
.bp-series-vote .bp-series-vote__button span {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.bp-series-vote__button:hover { transform: translateY(-2px); }
.bp-series-vote__button .bp-vote-icon { width: 29px; height: 29px; margin: -5px 0 !important; }
.bp-series-vote__button > span:not(.bp-vote-icon) { display: inline-block !important; width: auto !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
.bp-series-vote__button--hot { background: rgba(229, 29, 42, .8); border-color: rgba(255, 79, 89, .42); }
.bp-series-vote__button--cold { background: rgba(55, 113, 139, .72); border-color: rgba(111, 198, 232, .42); }
.bp-series-vote__button--hot.is-active { background: #e51d2a; box-shadow: 0 0 18px rgba(229, 29, 42, .38); }
.bp-series-vote__button--cold.is-active { background: #367f9e; box-shadow: 0 0 18px rgba(111, 198, 232, .3); }
.bp-series-vote__later {
  grid-column: 2; grid-row: 3; align-self: start; justify-self: start;
  margin: 0;
	min-height: 42px;
	padding: 8px 15px !important;
	border: 1px solid rgba(199, 168, 103, .72) !important;
	border-radius: 999px !important;
	background: linear-gradient(145deg, rgba(49, 55, 62, .96), rgba(22, 27, 32, .96)) !important;
	color: #e3c77f !important;
	-webkit-text-fill-color: #e3c77f !important;
	font-size: .73rem;
	font-weight: 800;
	line-height: 1 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 7px 16px rgba(0, 0, 0, .2);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.bp-series-vote .bp-series-vote__later { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex-direction: row !important; flex-wrap: nowrap !important; white-space: nowrap; }
.bp-series-vote__later:hover,
.bp-series-vote__later.is-active { transform: translateY(-2px); border-color: #e0bd68 !important; background: linear-gradient(145deg, rgba(77, 65, 39, .92), rgba(31, 31, 29, .98)) !important; color: #ffe4a0 !important; -webkit-text-fill-color: #ffe4a0 !important; box-shadow: 0 0 19px rgba(199, 168, 103, .2); }
.bp-series-vote__later > span:first-child { display: inline-grid !important; width: 22px !important; height: 22px !important; margin: 0 7px 0 0 !important; padding: 0 !important; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .9rem; line-height: 1 !important; }
.bp-series-vote__later > span:last-child { display: inline-block !important; width: auto !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
.bp-series-vote__message { grid-column: 1 / 3; grid-row: 4; min-height: 1em; margin: 1px 0 0 !important; color: #8fd7b1 !important; font-size: .66rem; }
.bp-series-vote__message.is-error { color: #ff8790 !important; }
.bp-series-vote__mascot { grid-column: 3; grid-row: 1 / 5; position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0; }
.bp-series-vote__mascot img { display: block; width: auto; max-width: 100%; height: min(var(--bp-mascot-height, 118px), 118px) !important; max-height: 118px; object-fit: contain; object-position: center; filter: drop-shadow(0 10px 13px rgba(0, 0, 0, .34)); }
.bp-series-vote.is-loading { opacity: .88; }

/* Module autonome pour une carte Elementor : aucune largeur ni position
   imposée afin que le Loop Item reste entièrement réglable dans Elementor. */
.bp-series-card-vote {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.bp-series-card-vote__temperature {
	display: inline-flex;
  flex: 0 0 auto;
	align-items: center;
	gap: 3px;
  font-size: 1.18rem;
  line-height: 1;
}
.bp-series-card-vote__temperature .bp-series-card-vote__score-icon { width: 25px; height: 25px; }
.bp-series-card-vote__actions { display: flex; gap: 5px; }
.bp-series-card-vote__button {
	display: inline-flex !important;
  min-width: 30px;
  min-height: 28px;
	align-items: center !important;
	justify-content: center !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(184, 154, 91, .38);
  border-radius: 8px;
  background: rgba(24, 29, 34, .76);
  color: #fff;
  font: inherit;
  font-size: .68rem;
	line-height: 0 !important;
  cursor: pointer;
}
.bp-series-card-vote__button .bp-vote-icon { width: 27px; height: 27px; margin: -2px; }
.bp-series-card-vote__button > span:not(.bp-vote-icon) { display: inline-block !important; width: auto !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; white-space: nowrap; }
.bp-series-card-vote__button--hot.is-active { border-color: #e51d2a; background: #e51d2a; }
.bp-series-card-vote__button--cold.is-active { border-color: #4d9cbd; background: #367f9e; }
.bp-series-card-vote__button.is-active .bp-vote-icon { display: block !important; visibility: visible !important; opacity: 1 !important; }
.bp-series-card-vote__count { font-size: .64rem; white-space: nowrap; }
.bp-series-card-vote__message { display: none; }
.bp-series-card-vote.is-loading { opacity: .65; }

.bp-series-comments { width: min(100%, var(--bp-comments-max-width, 1260px)); margin: 42px auto 0; }
.bp-series-comments--no-header { margin-top: 0; }
.bp-series-comments__heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid rgba(184, 154, 91, .38); }
.bp-series-comments__heading p { margin: 0 0 4px !important; color: #c7a867 !important; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bp-series-comments__heading h2 { margin: 0 !important; color: #fff !important; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.1; }
.bp-series-comments__heading > span { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(184, 154, 91, .34); border-radius: 999px; color: #d9c28e; font-size: .72rem; font-weight: 750; }
.bp-series-comments__form { display: grid; gap: 12px; margin-bottom: 22px; padding: 20px; border: 1px solid rgba(184, 154, 91, .42); border-radius: 16px; background: linear-gradient(145deg, rgba(43, 51, 61, .96), rgba(28, 33, 39, .96)); box-shadow: 0 15px 30px rgba(0, 0, 0, .18); }
.bp-series-comments__form-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bp-series-comments__form-title strong { color: #fff; font-size: .95rem; }
.bp-series-comments__form-title small { color: #9fb0bc; font-size: .68rem; }
.bp-series-comments__form textarea { width: 100%; min-height: var(--bp-comments-textarea-height, 105px); resize: vertical; padding: 13px 14px; border: 1px solid rgba(111, 198, 232, .24); border-radius: 10px; outline: none; background: #181d22; color: #fff; font: inherit; font-size: .83rem; line-height: 1.55; }
.bp-series-comments__form textarea:focus { border-color: rgba(199, 168, 103, .78); box-shadow: 0 0 0 3px rgba(184, 154, 91, .1); }
.bp-series-comments__form-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bp-series-comments__form-footer p { margin: 0 !important; color: #8fd7b1 !important; font-size: .7rem; }
.bp-series-comments__form-footer p.is-error { color: #ff8790 !important; }
.bp-series-comments__form button,
.bp-series-comments__login a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid #e51d2a; border-radius: 9px; background: #e51d2a; color: #fff !important; font-family: inherit; font-size: .76rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.bp-series-comments__form button:disabled { cursor: wait; opacity: .6; }
.bp-series-comments__login { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; padding: 17px 19px; border: 1px solid rgba(184, 154, 91, .36); border-radius: 13px; background: rgba(35, 42, 50, .72); }
.bp-series-comments__login p { margin: 0 !important; color: #dce8ee !important; font-size: .82rem; }
.bp-series-comments__list { display: grid; gap: 11px; }
.bp-series-comments__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 13px; padding: 16px; border: 1px solid rgba(184, 154, 91, .24); border-radius: 13px; background: rgba(35, 42, 50, .82); }
.bp-series-comments__avatar img { display: block; width: 52px; height: 52px; border: 1px solid rgba(199, 168, 103, .45); border-radius: 50%; object-fit: cover; }
.bp-series-comments__body { min-width: 0; }
.bp-series-comments__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bp-series-comments__meta strong { color: #fff; font-size: .82rem; }
.bp-series-comments__meta time { margin-left: auto; color: #82939e; font-size: .64rem; }
.bp-series-comments__vote { display: inline-flex; min-height: 25px; align-items: center; gap: 3px; padding: 2px 7px 2px 3px; border-radius: 999px; font-size: .6rem; font-weight: 800; }
.bp-series-comments__vote .bp-vote-icon { width: 22px; height: 22px; }
.bp-series-comments__vote--hot { background: rgba(229, 29, 42, .14); color: #ff747d; }
.bp-series-comments__vote--cold { background: rgba(111, 198, 232, .13); color: #8ed9f5; }
.bp-series-comments__text p { margin: 8px 0 0 !important; color: #d8e2e7 !important; font-size: .78rem; line-height: 1.58; }
.bp-series-comments__empty { display: grid; min-height: 88px; place-items: center; align-content: center; gap: 5px; border: 1px dashed rgba(184, 154, 91, .32); border-radius: 13px; color: #c7a867; text-align: center; }
.bp-series-comments__empty span { font-size: 1.25rem; }
.bp-series-comments__empty p { margin: 0 !important; color: #a9b7be !important; font-size: .78rem; }

@media (max-width: 760px) {
  .bp-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bp-series-cast { grid-template-columns: repeat(2, minmax(0, 170px)); gap: 12px; }
  .bp-series-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-series-vote { grid-template-columns: minmax(0, 1fr) 96px; grid-template-rows: auto auto auto auto auto; gap: 7px 14px; min-height: 0; padding: 18px 16px; }
  .bp-series-vote__eyebrow { grid-column: 1; padding: 0; }
  .bp-series-vote__score-row { grid-column: 1; grid-row: 2; padding: 2px 0 7px; border-right: 0; }
  .bp-series-vote__buttons { grid-column: 1; grid-row: 3; padding: 0; }
  .bp-series-vote__later { grid-column: 1; grid-row: 4; margin: 0; }
  .bp-series-vote__message { grid-column: 1 / 3; grid-row: 5; }
  .bp-series-vote__mascot { grid-column: 2; grid-row: 1 / 5; }
  .bp-series-vote__mascot img { height: min(var(--bp-mascot-height, 105px), 105px) !important; max-height: 105px; }
  .bp-series-comments__form-title,
  .bp-series-comments__form-footer,
  .bp-series-comments__login { align-items: stretch; flex-direction: column; }
  .bp-series-comments__form button,
  .bp-series-comments__login a { width: 100%; }
  .bp-series-platforms__offer { width: 100%; }

  /* Bandeau de vote compact pour les Loop Cards affichées deux par ligne.
     La température conserve une vraie présence visuelle, tandis que les deux
     actions restent côte à côte sans déborder de la carte. */
  .bp-series-card-vote {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "temperature"
      "actions"
      "count";
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: stretch;
    justify-items: center;
    gap: 5px;
    padding: 7px 6px;
    overflow: hidden;
    border: 1px solid rgba(184, 154, 91, .3);
    border-radius: 11px;
    background:
      radial-gradient(circle at 16% 0%, rgba(199, 168, 103, .12), transparent 48%),
      linear-gradient(145deg, rgba(32, 39, 46, .96), rgba(20, 25, 30, .98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 5px 14px rgba(0, 0, 0, .16);
  }
  .bp-series-card-vote__temperature {
    grid-area: temperature;
    justify-self: center;
    min-width: 0;
    gap: 2px;
    padding: 3px 6px 3px 4px;
    border: 1px solid rgba(199, 168, 103, .22);
    border-radius: 999px;
    background: rgba(9, 13, 17, .5);
    font-size: .9rem;
    font-weight: 850;
    white-space: nowrap;
  }
  .bp-series-card-vote__temperature::before {
    content: "Température";
    margin-right: 3px;
    color: #c7a867;
    font-size: .45rem;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
  }
  .bp-series-card-vote__temperature .bp-series-card-vote__score-icon {
    width: 19px;
    height: 19px;
  }
  .bp-series-card-vote__actions {
    grid-area: actions;
    display: flex;
    min-width: 0;
    justify-content: center;
    gap: 6px;
  }
  .bp-series-card-vote__button {
    width: 36px;
    min-width: 36px;
    height: 35px;
    min-height: 35px;
    flex: 0 0 36px;
    padding: 4px;
    border-radius: 9px;
  }
  .bp-series-card-vote__button .bp-vote-icon {
    width: 25px;
    height: 25px;
    margin: 0;
  }
  .bp-series-card-vote__count {
    grid-area: count;
    justify-self: center;
    width: 100%;
    color: #b9c7ce;
    font-size: .59rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .bp-home-grid { gap: 9px; }
  .bp-home-card { border-radius: 12px; }
  .bp-home-card__body { padding: 10px; }
  .bp-home-card__meta { font-size: .56rem; }
  .bp-home-card h3 { font-size: .78rem; }
  .bp-home-card__vote { width: 34px; height: 32px; }
  .bp-home-card__vote .bp-vote-icon { width: 28px; height: 28px; }
  .bp-home-card__actions .bp-series-vote__count { display: none; }
  .bp-series-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bp-series-cast__card div:last-child { min-height: 64px; padding: 9px 10px 11px; }
  .bp-series-facts { grid-template-columns: 1fr; }
  .bp-series-vote { grid-template-columns: minmax(0, 1fr) 72px; min-height: 0; padding: 15px 13px; border-radius: 14px; }
  .bp-series-vote__eyebrow { padding-left: 0; font-size: .64rem; }
  .bp-series-vote__score-row { padding-left: 0; }
  .bp-series-vote__buttons { gap: 6px; padding-left: 0; }
  .bp-series-vote__later { margin-left: 0; font-size: .64rem; }
  .bp-series-vote__score-row { gap: 10px; }
  .bp-series-vote__button { gap: 4px; padding: 8px 9px; font-size: .7rem; }
  .bp-series-vote__button .bp-vote-icon { width: 25px; height: 25px; }
  .bp-series-vote__mascot img { height: min(var(--bp-mascot-height, 82px), 82px) !important; max-height: 82px; }
  .bp-series-comments { margin-top: 30px; }
  .bp-series-comments__heading { align-items: start; flex-direction: column; }
  .bp-series-comments__form { padding: 15px; }
  .bp-series-comments__item { grid-template-columns: 42px minmax(0, 1fr); padding: 13px; }
  .bp-series-comments__avatar img { width: 42px; height: 42px; }
  .bp-series-comments__meta time { width: 100%; margin-left: 0; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .bp-series-cast { grid-template-columns: repeat(3, minmax(0, 190px)); }
  .bp-series-vote { grid-template-columns: minmax(175px, .72fr) minmax(270px, 1.28fr) 105px; column-gap: 18px; }
  .bp-series-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Recherche détaillée et liens de navigation des fiches. */
.bp-series-search,
.bp-series-search * { box-sizing: border-box; }
.bp-series-search {
  width: 100%;
  color: #eaf5fb;
  font-family: Montserrat, Arial, sans-serif;
}
.bp-series-search__panel {
  border: 1px solid rgba(184, 154, 91, .42);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(34, 42, 50, .98), rgba(20, 25, 30, .98));
  box-shadow: 0 13px 30px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.bp-series-search__panel > summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 12px 18px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.bp-series-search__panel > summary::-webkit-details-marker,
.bp-series-search__more > summary::-webkit-details-marker { display: none; }
.bp-series-search__panel > summary > span:nth-child(2) { display: grid; gap: 2px; }
.bp-series-search__panel > summary strong { color: #fff; font-size: .92rem; }
.bp-series-search__panel > summary small { color: #96a8b2; font-size: .64rem; font-weight: 600; }
.bp-series-search__glass { position: relative; width: 34px; height: 34px; border: 1px solid rgba(111, 198, 232, .28); border-radius: 50%; background: rgba(111, 198, 232, .07); }
.bp-series-search__glass::before { position: absolute; top: 9px; left: 9px; width: 9px; height: 9px; border: 2px solid #6fc6e8; border-radius: 50%; content: ""; }
.bp-series-search__glass::after { position: absolute; top: 20px; left: 20px; width: 7px; height: 2px; border-radius: 2px; background: #6fc6e8; content: ""; transform: rotate(45deg); transform-origin: left center; }
.bp-series-search__toggle { color: #c7a867; font-size: 1.1rem; transition: transform .18s ease; }
.bp-series-search__panel[open] > summary .bp-series-search__toggle { transform: rotate(180deg); }
.bp-series-search__body { display: grid; gap: 14px; padding: 2px 18px 17px; border-top: 1px solid rgba(255, 255, 255, .07); }
.bp-series-search__main { display: grid; grid-template-columns: minmax(180px, 1.3fr) minmax(180px, 1.3fr) minmax(150px, .8fr) auto; align-items: end; gap: 10px; padding-top: 14px; }
.bp-series-search label { display: grid; gap: 6px; color: #d4e1e7; font-size: .66rem; font-weight: 750; }
.bp-series-search input[type="search"],
.bp-series-search select {
  width: 100%;
  min-height: 41px;
  padding: 8px 10px;
  border: 1px solid rgba(111, 198, 232, .25);
  border-radius: 9px;
  outline: none;
  background: #151a1f;
  color: #fff;
  font: inherit;
}
.bp-series-search input:focus,
.bp-series-search select:focus { border-color: #c7a867; box-shadow: 0 0 0 3px rgba(199, 168, 103, .1); }
.bp-series-search__main > button {
  min-height: 41px;
  padding: 9px 17px;
  border: 1px solid #e51d2a;
  border-radius: 9px;
  background: #e51d2a;
  color: #fff;
  font: inherit;
  font-size: .7rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}
.bp-series-search__main > button:hover { background: #f02634; }
.bp-series-search__more { border-top: 1px solid rgba(255, 255, 255, .07); }
.bp-series-search__more > summary { display: flex; align-items: center; gap: 8px; padding: 12px 2px 2px; color: #c7a867; font-size: .7rem; font-weight: 800; cursor: pointer; list-style: none; }
.bp-series-search__more > summary::before { content: "+"; display: inline-grid; width: 19px; height: 19px; place-items: center; border: 1px solid rgba(199, 168, 103, .35); border-radius: 50%; }
.bp-series-search__more[open] > summary::before { content: "−"; }
.bp-series-search__more > summary span { color: #84959f; font-size: .58rem; font-weight: 600; }
.bp-series-search__advanced-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 12px; padding: 14px 0 5px; }
.bp-series-search--catalog .bp-series-search__advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp-series-search fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bp-series-search__filter-card { padding: 15px !important; border: 1px solid rgba(111, 198, 232, .16) !important; border-radius: 12px !important; background: rgba(12, 17, 21, .42); }
.bp-series-search legend { padding: 0 5px; color: #fff; font-size: .73rem; font-weight: 850; }
.bp-series-search__hint { min-height: 28px; margin: 0 0 11px !important; color: #8799a3 !important; font-size: .57rem; font-weight: 600; line-height: 1.4; }
.bp-series-search__choices { display: grid; gap: 6px 12px; }
.bp-series-search__choices--checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp-series-search__choices label { display: block; min-width: 0; cursor: pointer; }
.bp-series-search__choices input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bp-series-search__choices--checks span {
  position: relative;
  display: flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 5px 4px 25px;
  border-radius: 6px;
  color: #dcecf2 !important;
  font-size: .59rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background .16s ease, color .16s ease;
}
.bp-series-search__choices--checks span::before { position: absolute; left: 4px; width: 14px; height: 14px; border: 1px solid rgba(111, 198, 232, .42); border-radius: 4px; background: #13191e; content: ""; }
.bp-series-search__choices--checks span::after { position: absolute; top: 8px; left: 8px; width: 6px; height: 3px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; content: ""; opacity: 0; transform: rotate(-45deg); }
.bp-series-search__choices--checks label:hover span { background: rgba(111, 198, 232, .06); }
.bp-series-search__choices--checks input:checked + span { background: rgba(229, 29, 42, .13); color: #fff !important; }
.bp-series-search__choices--checks input:checked + span::before { border-color: #e51d2a; background: #e51d2a; }
.bp-series-search__choices--checks input:checked + span::after { opacity: 1; }
.bp-series-search__choices input:focus-visible + span { outline: 2px solid #6fc6e8; outline-offset: 2px; }
.bp-series-search__selects { display: grid; gap: 12px; }
.bp-series-search__selects label { gap: 5px; }
.bp-series-genre-links a { display: inline-flex; min-height: 29px; align-items: center; padding: 5px 9px; border: 1px solid rgba(111, 198, 232, .25); border-radius: 999px; background: rgba(111, 198, 232, .05); color: #dcecf2 !important; font-size: .61rem; font-weight: 750; text-decoration: none !important; transition: .16s ease; }
.bp-series-search__clear { display: flex; justify-content: flex-end; }
.bp-series-search__clear a { color: #9fb0b9 !important; font-size: .62rem; font-weight: 700; text-decoration: none; }
.bp-series-search-title { margin: 0 0 18px !important; color: #fff !important; font-family: Montserrat, Arial, sans-serif; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.15; }
.bp-series-search-title strong { color: #c7a867; }
.bp-series-genre-links { display: flex; flex-wrap: wrap; gap: 8px; font-family: Montserrat, Arial, sans-serif; }
.bp-series-genre-links a:hover,
.bp-series-genre-links a:focus-visible { border-color: #c7a867; background: rgba(199, 168, 103, .12); outline: none; }

/* Catalogue Séries : genres visibles et mascotte du genre sélectionné. */
.bp-series-genre-nav { max-width: 1440px; margin: 0 auto 24px; padding: 0 24px; font-family: Montserrat, Arial, sans-serif; }
.bp-series-genre-nav__label { display: block; margin-bottom: 12px; color: #f3f6f8; font-size: 1.2rem; font-weight: 800; }
.bp-series-genre-nav__links { display: flex; flex-wrap: wrap; gap: 9px; }
.bp-series-genre-nav__links a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid rgba(83, 197, 240, .28); border-radius: 999px; background: #202931; color: #e4edf2; font-size: .9rem; font-weight: 700; line-height: 1.25; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.bp-series-genre-nav__links a:hover, .bp-series-genre-nav__links a:focus-visible { border-color: #73c8e9; background: #2b3d49; color: #fff; outline: none; }
.bp-series-genre-nav__links a.is-active { border-color: #c6a159; background: #3a3325; color: #f7ddb0; }
.bp-series-mascot { display: block; width: min(100%, 260px); height: auto; margin: 0 auto; }
@media (max-width: 560px) {
  .bp-series-genre-nav { padding: 0 16px; }
  .bp-series-genre-nav__label { font-size: 1.05rem; }
  .bp-series-genre-nav__links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
  .bp-series-genre-nav__links a { flex: 0 0 auto; min-height: 40px; }
  .bp-series-mascot { width: min(100%, 220px); }
}

@media (max-width: 900px) {
  .bp-series-search__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-series-search__main > button { width: 100%; }
  .bp-series-search__advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-series-search__filter-card--selects { grid-column: 1 / -1; }
  .bp-series-search__selects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .bp-series-search__panel > summary { min-height: 58px; padding: 10px 12px; }
  .bp-series-search__body { padding: 2px 12px 14px; }
  .bp-series-search__main { grid-template-columns: 1fr; }
  .bp-series-search__advanced-grid { grid-template-columns: 1fr; }
  .bp-series-search__filter-card--selects { grid-column: auto; }
  .bp-series-search__selects { grid-template-columns: 1fr; }
  .bp-series-search__more > summary { align-items: flex-start; flex-wrap: wrap; }
  .bp-series-search__more > summary span { width: 100%; padding-left: 27px; }
}

/* Page SEO « Meilleures séries du moment ». La classe bp-best-series-page
   doit être appliquée au conteneur principal Elementor de cette seule page. */
.bp-best-series-intro {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(199, 168, 103, .42);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31, 40, 48, .98), rgba(21, 27, 33, .98));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .2);
}
.bp-best-series-intro__eyebrow { margin: 0 0 8px; color: #d7b766; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bp-best-series-intro h2 { margin: 0 0 14px; color: #fff; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.15; }
.bp-best-series-intro > p:not(.bp-best-series-intro__eyebrow):not(.bp-best-series-intro__updated) { max-width: 940px; margin: 8px 0; color: #c7d1d8; font-size: clamp(.96rem, 1.2vw, 1.06rem); line-height: 1.7; }
.bp-best-series-intro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 23px; }
.bp-best-series-intro__facts span { display: grid; gap: 3px; padding: 13px 15px; border: 1px solid rgba(83, 197, 240, .25); border-radius: 11px; background: rgba(12, 19, 24, .48); }
.bp-best-series-intro__facts strong { color: #fff; font-size: .94rem; }
.bp-best-series-intro__facts small { color: #83cce8; font-size: .72rem; }
.bp-best-series-intro__updated { margin: 14px 0 0; color: #8797a1; font-size: .72rem; }
.bp-series-rank { display: none; }
.bp-best-series-page .e-loop-item { position: relative; }
.bp-best-series-page .bp-series-rank {
  position: absolute;
  z-index: 12;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-width: 43px;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 227, 154, .72);
  border-radius: 999px;
  background: rgba(17, 22, 27, .94);
  color: #f1cc70;
  font-size: .91rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .38);
  backdrop-filter: blur(7px);
}
.bp-best-series-page .elementor-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 38px; }
.bp-best-series-page .elementor-pagination .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; margin: 0; padding: 8px 12px; border: 1px solid #3d5664; border-radius: 10px; background: #182128; color: #dce7ec; font-weight: 800; text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.bp-best-series-page .elementor-pagination a.page-numbers:hover { border-color: #d7b766; color: #fff; transform: translateY(-1px); }
.bp-best-series-page .elementor-pagination .page-numbers.current { border-color: #e72535; background: #e72535; color: #fff; }
.bp-best-series-page .elementor-pagination .prev,
.bp-best-series-page .elementor-pagination .next { min-width: 108px; }
@media (max-width: 620px) {
  .bp-best-series-intro { margin-bottom: 24px; padding: 20px 17px; border-radius: 14px; }
  .bp-best-series-intro__facts { grid-template-columns: 1fr; gap: 8px; }
  .bp-best-series-page .bp-series-rank { top: 8px; left: 8px; min-width: 36px; min-height: 36px; font-size: .79rem; }
  .bp-best-series-page .elementor-pagination { gap: 6px; margin-top: 28px; }
  .bp-best-series-page .elementor-pagination .page-numbers { min-width: 38px; min-height: 38px; padding: 6px 9px; }
  .bp-best-series-page .elementor-pagination .prev,
  .bp-best-series-page .elementor-pagination .next { min-width: 94px; }
}

.bp-tvmaze-attribution{font-size:12px;line-height:1.6;color:inherit;opacity:.85}.bp-tvmaze-attribution a{text-decoration:underline;color:inherit}.bp-series-contributor{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.4}.bp-series-contributor img{width:36px!important;height:36px!important;object-fit:contain;flex:0 0 36px}

/* Keep score row stable when zero has no icon. */
.bp-series-card-vote__temperature{min-height:25px}.bp-series-progression{color:#6FC6E8;font-size:13px;line-height:1.5}@media(max-width:767px){.bp-series-card-vote__temperature{min-height:27px}}
