/* PAGE: ETUDES */
.tvp-etudes-page {
  --tvp-etudes-surface: #ffffff;
  --tvp-etudes-surface-muted: #f6f9fc;
  --tvp-etudes-border: #d9e3ef;
  --tvp-etudes-border-strong: #c1d0e0;
  --tvp-etudes-text: #1f2937;
  --tvp-etudes-text-muted: #526174;
  --tvp-etudes-title: #0f172a;
  --tvp-etudes-accent: #c61f2f;
  --tvp-etudes-accent-dark: #9f1725;
  --tvp-etudes-link: #0f5fbf;
  --tvp-etudes-focus: #0f6fdb;
  --tvp-etudes-media-bg: #e4ebf3;
  --tvp-etudes-shadow: 0 1px 4px rgb(15 23 42 / 0.08);
  --tvp-etudes-shadow-hover: 0 10px 22px rgb(15 23 42 / 0.15);
  --tvp-etudes-success-bg: #eef8f3;
  --tvp-etudes-success-border: #c9e7d8;
  --tvp-etudes-success-text: #176b43;
  --tvp-etudes-admin-chip-bg: #fff1f3;
  --tvp-etudes-admin-chip-border: #f3c7cf;
  --tvp-etudes-admin-chip-text: #9f2030;
  --tvp-etudes-meta-pill-bg: #f7faff;
  --tvp-etudes-meta-pill-bg-soft: #eef4ff;
  --tvp-etudes-meta-pill-border: #d5e0ee;
  --tvp-etudes-meta-pill-text: #30455f;
  --tvp-etudes-meta-pill-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  --tvp-etudes-meta-pill-hover-bg: #ffffff;
  --tvp-etudes-meta-pill-hover-border: #b9c9dc;
  --tvp-etudes-table-head: #f0f4f9;
  --tvp-etudes-table-stripe: rgb(31 41 55 / 0.045);

  color: var(--tvp-etudes-text);
  margin-top: 1rem;
  min-width: 0;
}

.tvp-etudes-breadcrumb {
  box-sizing: border-box;
  margin: 0 0 1.1rem;
  width: 100%;
}

.tvp-etudes-breadcrumb ol,
.tvp-etudes-breadcrumb.breadcrumb {
  min-height: 2.4rem;
  padding-block: 0.52rem;
}

.tvp-etudes-breadcrumb-home a {
  padding-inline: 0.34rem;
}

.tvp-etudes-breadcrumb .breadcrumb-item[aria-current="page"] {
  max-width: 32rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tvp-etudes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.82rem;
  align-items: start;
}

.tvp-etudes-layout-main,
.tvp-etudes-layout-side {
  min-width: 0;
}

.tvp-etudes-layout-side-sticky {
  position: static;
}

.tvp-etudes-inline-slot {
  width: min(100%, 300px);
  margin: 1.35rem auto 1.55rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tvp-etudes-inline-slot > * {
  max-width: 100%;
}

.tvp-etudes-layout-side .tvp-etudes-inline-slot {
  margin-top: 0;
}

.tvp-etudes-index-title {
  margin-top: 0;
}

.tvp-etudes-intro {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}

.tvp-etudes-eyebrow {
  width: max-content;
  margin: 0;
  border: 1px solid #f2c6cc;
  border-radius: 999px;
  background: #fff4f5;
  color: var(--tvp-etudes-accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  padding: 0.38rem 0.72rem;
}

.tvp-etudes-lead {
  margin: 0;
  color: var(--tvp-etudes-text-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.tvp-etudes-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tvp-etudes-border);
  border-radius: 8px;
  background: var(--tvp-etudes-surface);
  box-shadow: var(--tvp-etudes-shadow);
}

.tvp-etudes-card-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tvp-etudes-card-link:hover {
  color: inherit;
}

.tvp-etudes-card.is-clickable:hover {
  border-color: var(--tvp-etudes-border-strong);
  box-shadow: var(--tvp-etudes-shadow-hover);
  transform: translateY(-1px);
}

.tvp-etudes-card {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tvp-etudes-card-media {
  position: relative;
  overflow: hidden;
  background: var(--tvp-etudes-media-bg);
  aspect-ratio: 16 / 9;
}

.tvp-etudes-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--tvp-etudes-media-bg);
  transition: transform 0.22s ease;
}

.tvp-etudes-card-image.is-blurred {
  filter: blur(14px);
  transform: scale(1.08);
}

.tvp-etudes-card.is-clickable:hover .tvp-etudes-card-image {
  transform: scale(1.02);
}

.tvp-etudes-card.is-clickable:hover .tvp-etudes-card-image.is-blurred {
  transform: scale(1.1);
}

.tvp-etudes-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  gap: 0.46rem;
  padding: 0.76rem;
}

.tvp-etudes-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
  margin-bottom: 0.2rem;
}

.tvp-etudes-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  border: 1px solid #d4e1f0;
  border-radius: 999px;
  background: #f6faff;
  color: #30455f;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  padding: 0.26rem 0.58rem;
}

.tvp-etudes-pill--muted {
  border-color: #ebc5cc;
  background: #fff5f6;
  color: var(--tvp-etudes-accent-dark);
}

.tvp-etudes-pill--hits {
  border-color: #f1aeb5;
  background: #fff5f6;
  color: var(--tvp-etudes-accent-dark);
}

.tvp-etudes-card-title {
  margin: 0;
  color: var(--tvp-etudes-title);
  font-weight: 800;
  letter-spacing: 0;
}

.tvp-etudes-card-title {
  font-size: 1.08rem;
  line-height: 1.18;
}

.tvp-etudes-card-chapo {
  margin: 0.25rem 0 0;
  color: var(--tvp-etudes-text-muted);
  font-size: 0.92rem;
  line-height: 1.46;
}

.tvp-etudes-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  align-self: flex-end;
  margin-top: auto;
  border-radius: 0;
  background: transparent;
  color: var(--tvp-etudes-accent);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.35rem 0 0;
}

.tvp-etudes-card.is-clickable .tvp-etudes-card-cta::after {
  content: "→";
  margin-left: 0.36rem;
  transform: translateY(-0.01rem);
}

.tvp-etudes-card.is-disabled .tvp-etudes-card-cta {
  border: 0;
  background: transparent;
  color: var(--tvp-etudes-text-muted);
}

.tvp-etudes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
  margin: 0.85rem 0 0;
}

.tvp-etudes-admin-drafts {
  margin: 1.3rem 0 0;
  border: 1px solid #f1aeb5;
  border-left: 5px solid #dc3545;
  border-radius: 8px;
  background: #fff5f6;
  color: #5f121a;
  box-shadow: var(--tvp-etudes-shadow);
  padding: 1rem;
}

.tvp-etudes-admin-drafts__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.tvp-etudes-admin-drafts__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  border-radius: 999px;
  background: #dc3545;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.28rem 0.58rem;
}

.tvp-etudes-admin-drafts h2 {
  margin: 0;
  color: #7f1721;
  font-size: 1.08rem;
  line-height: 1.2;
}

.tvp-etudes-admin-drafts p {
  margin: 0.34rem 0 0;
  color: #7d2932;
  line-height: 1.45;
}

.tvp-etudes-grid--drafts {
  margin-top: 0;
}

.tvp-etudes-back-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 2rem;
  margin: 0 0 0.8rem;
  border: 1px solid #f0c0c8;
  border-radius: 999px;
  background: #fff4f5;
  color: var(--tvp-etudes-accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  padding: 0.42rem 0.78rem;
}

.tvp-etudes-back-link:hover {
  border-color: #e797a3;
  color: var(--tvp-etudes-accent-dark);
  background: #ffe9ec;
}

.tvp-etudes-back-link:focus-visible,
.tvp-etudes-card-link:focus-visible,
.tvp-etudes-footer-cta:focus-visible {
  outline: 2px solid var(--tvp-etudes-focus);
  outline-offset: 2px;
}

.tvp-etudes-article {
  max-width: 100%;
  min-width: 0;
}

.tvp-etudes-article-body {
  max-width: 78ch;
  color: var(--tvp-etudes-text);
}

.tvp-etudes-article-title {
  margin: 0 0 0.85rem;
  color: var(--tvp-etudes-title);
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.tvp-etudes-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.46rem;
  margin: 0.82rem 0 1rem;
  color: var(--tvp-etudes-text-muted);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.3;
}

.tvp-etudes-detail-meta > span:not(.tvp-etudes-admin-link),
.tvp-etudes-detail-meta > a:not(.tvp-etudes-admin-link) {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.92rem;
  border: 1px solid var(--tvp-etudes-meta-pill-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--tvp-etudes-meta-pill-bg) 0%, var(--tvp-etudes-meta-pill-bg-soft) 100%);
  color: var(--tvp-etudes-meta-pill-text);
  box-shadow: var(--tvp-etudes-meta-pill-shadow);
  text-decoration: none;
  padding: 0.24rem 0.68rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.tvp-etudes-detail-meta > a:not(.tvp-etudes-admin-link):hover {
  border-color: var(--tvp-etudes-meta-pill-hover-border);
  background: var(--tvp-etudes-meta-pill-hover-bg);
  color: var(--tvp-etudes-title);
  transform: translateY(-1px);
}

.tvp-etudes-detail-meta time {
  color: var(--tvp-etudes-title);
}

.tvp-etudes-meta-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.tvp-etudes-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  white-space: nowrap;
  font-weight: inherit;
  color: inherit;
}

.tvp-etudes-detail-meta > .tvp-etudes-admin-link,
.tvp-etudes-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.92rem;
  height: 1.92rem;
  border: 1px solid var(--tvp-etudes-admin-chip-border);
  border-radius: 999px;
  background: var(--tvp-etudes-admin-chip-bg);
  color: var(--tvp-etudes-admin-chip-text) !important;
  text-decoration: none;
  padding: 0;
}

.tvp-etudes-detail-meta > .tvp-etudes-admin-link--hits,
.tvp-etudes-admin-link--hits {
  justify-content: flex-start;
  width: auto;
  height: auto;
  min-height: 1.92rem;
  gap: 0.3rem;
  color: var(--tvp-etudes-admin-chip-text) !important;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.1;
  white-space: nowrap;
  padding: 0.18rem 0.62rem;
}

.tvp-etudes-admin-link--hits .tvp-etudes-meta-icon {
  font-size: 0.9rem;
}

.tvp-etudes-admin-link--hits span {
  display: inline-block;
}

.tvp-etudes-article-lead {
  margin: 0 0 1rem;
  color: var(--tvp-etudes-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.tvp-etudes-article-body h2 {
  margin: 1.65rem 0 0.65rem;
  border-left: 4px solid var(--tvp-etudes-accent);
  color: var(--tvp-etudes-title);
  font-size: 1.42rem;
  line-height: 1.2;
  padding-left: 0.72rem;
}

.tvp-etudes-article-body h3 {
  margin: 1.15rem 0 0.45rem;
  color: var(--tvp-etudes-title);
  font-size: 1.02rem;
  font-weight: 800;
}

.tvp-etudes-article-body p,
.tvp-etudes-article-body li {
  color: var(--tvp-etudes-text);
  line-height: 1.62;
}

.tvp-etudes-article-body p {
  margin: 0 0 0.88rem;
}

.tvp-etudes-article-body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.tvp-etudes-article-body a {
  color: var(--tvp-etudes-link);
  font-weight: 650;
}

.tvp-etudes-article-body hr {
  margin: 1.4rem 0;
  border: 0;
  border-top: 1px solid var(--tvp-etudes-border);
}

.tvp-etudes-chart-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: min(60vh, 520px);
  min-height: 320px;
  margin: 1.2rem 0;
  border: 1px solid var(--tvp-etudes-border);
  border-radius: 8px;
  background: var(--tvp-etudes-surface);
  box-shadow: var(--tvp-etudes-shadow);
  padding: 0.9rem;
}

.tvp-etudes-noel-chart {
  max-width: 100%;
  min-height: 360px;
  height: min(58vh, 560px);
}

.tvp-etudes-prime-chart {
  max-width: 100%;
}

.tvp-etudes-figure {
  margin: 1.15rem 0;
  overflow: hidden;
  border: 1px solid var(--tvp-etudes-border);
  border-radius: 8px;
  background: var(--tvp-etudes-surface);
  box-shadow: var(--tvp-etudes-shadow);
}

.tvp-etudes-figure-image {
  display: block;
  width: 100%;
  height: auto;
}

.tvp-etudes-hero-figure .tvp-etudes-figure-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tvp-etudes-portrait-figure {
  max-width: 760px;
}

.tvp-etudes-figure-credit {
  border-top: 1px solid var(--tvp-etudes-border);
  color: var(--tvp-etudes-text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 0.55rem 0.75rem;
}

.concept-box {
  margin: 1rem 0;
  border: 1px solid var(--tvp-etudes-success-border);
  border-radius: 8px;
  background: var(--tvp-etudes-success-bg);
  color: var(--tvp-etudes-text);
  padding: 0.85rem;
}

.concept-title {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--tvp-etudes-success-text);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.concept-box--definition {
  border-color: #c7d8f4;
  background: #f2f7ff;
}

.concept-box--definition .concept-title {
  color: #1d4f91;
}

.tvp-etudes-admin-cache-warning {
  border: 2px solid #dc2626;
  border-left: 8px solid #b91c1c;
  background: #fef2f2;
  color: #7f1d1d;
  box-shadow: 0 8px 18px rgb(127 29 29 / 0.16);
  padding: 1rem;
}

.tvp-etudes-admin-cache-warning .concept-title {
  margin-bottom: 0.5rem;
  color: #991b1b;
  font-size: 0.86rem;
}

.tvp-etudes-admin-cache-warning p {
  margin: 0 0 0.8rem;
  color: #7f1d1d;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.tvp-etudes-admin-cache-warning pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  background: #ffffff;
  color: #450a0a;
  padding: 0.78rem;
  font-size: 0.92rem;
}

.tvp-etudes-admin-cache-warning code {
  color: inherit;
  font-weight: 800;
}

.tvp-etudes-article-body table {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
  border: 1px solid var(--tvp-etudes-border);
  border-radius: 8px;
  background: var(--tvp-etudes-surface);
  box-shadow: var(--tvp-etudes-shadow);
  overflow: hidden;
}

.tvp-etudes-page .table-responsive {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: 1.2rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.tvp-etudes-page .table-responsive > table {
  min-width: 100%;
  margin: 0;
}

.tvp-etudes-article-body th,
.tvp-etudes-article-body td {
  border: 1px solid var(--tvp-etudes-border);
  padding: 0.55rem 0.62rem;
  text-align: center;
  vertical-align: middle;
}

.tvp-etudes-article-body th {
  background: var(--tvp-etudes-table-head);
  color: var(--tvp-etudes-title);
  font-size: 0.8rem;
}

.tvp-etudes-article-body tr:nth-child(even) {
  background: var(--tvp-etudes-table-stripe);
}

.etude-noel .highlight-oct {
  background: #fff0f2;
  font-weight: 800;
}

.etude-noel .highlight-jul {
  background: #eef8f3;
  font-weight: 800;
}

.tvp-etudes-article-body td.tvp-etudes-future-cell {
  color: var(--tvp-etudes-text-muted);
  font-weight: 650;
}

.tvp-etudes-raw-data {
  height: 500px;
  max-width: 100%;
  margin: 1rem 0;
  overflow: auto;
  border: 1px solid var(--tvp-etudes-border);
  border-radius: 8px;
  background: var(--tvp-etudes-surface-muted);
  color: var(--tvp-etudes-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  padding: 0.9rem;
}

.tvp-etudes-raw-data code {
  white-space: pre;
}

.tvp-etudes-film-thumb {
  max-width: 100px;
}

.tvp-etudes-chain-logo {
  max-width: 30px;
  max-height: 30px;
}

.tvp-etudes-ranking-table .tvp-etudes-channel-cell {
  min-width: 11rem;
  text-align: left;
}

.etude-prime-time .tvp-etudes-ranking-table td:nth-child(2),
.etude-prime-time .tvp-etudes-ranking-table th:nth-child(2) {
  text-align: center;
}

.etude-prime-time .tvp-etudes-ranking-table .tvp-etudes-channel-cell {
  text-align: left;
}

.tvp-etudes-prime-global-table th,
.tvp-etudes-prime-global-table td {
  white-space: nowrap;
}

.tvp-etudes-prime-neighbor-block {
  margin-top: 1.4rem;
}

.tvp-etudes-prime-neighbor-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.tvp-etudes-prime-neighbor-card {
  border: 1px solid var(--tvp-etudes-border);
  border-radius: 8px;
  background: var(--tvp-etudes-surface);
  box-shadow: var(--tvp-etudes-shadow);
  padding: 0.85rem 1rem;
}

.tvp-etudes-prime-neighbor-card span,
.tvp-etudes-prime-neighbor-card small {
  display: block;
  color: var(--tvp-etudes-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tvp-etudes-prime-neighbor-card strong {
  display: block;
  margin: 0.15rem 0;
  color: var(--tvp-etudes-title);
  font-size: 1.55rem;
  line-height: 1.1;
}

@media (max-width: 480px) {
  .tvp-etudes-prime-neighbor-kpis {
    grid-template-columns: 1fr;
  }
}

.tvp-etudes-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.tvp-etudes-channel-link:hover {
  color: var(--tvp-etudes-link);
  text-decoration: none;
}

.tvp-etudes-channel-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.625rem;
  width: 1.625rem;
  height: 1.625rem;
}

.tvp-etudes-channel-logo {
  display: block;
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
}

.tvp-etudes-article-body.etude-acteur-vu,
.tvp-etudes-article-body.etude-noel,
.tvp-etudes-article-body.etude-prime-time,
.tvp-etudes-article-body.etude-vacances-tv {
  max-width: 1080px;
}

.tvp-etudes-vacances-chart {
  max-width: 100%;
  height: min(58vh, 500px);
}

.tvp-etudes-vacances-year-table th,
.tvp-etudes-vacances-year-table td,
.tvp-etudes-vacances-channel-table th,
.tvp-etudes-vacances-channel-table td {
  white-space: nowrap;
}

.tvp-etudes-vacances-year-table tr.is-exception {
  background: #fff8e8;
}

.tvp-etudes-method-note {
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--tvp-etudes-border);
  color: var(--tvp-etudes-text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  padding-top: 0.85rem;
}

.tvp-etudes-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.15rem 0;
}

.tvp-etudes-kpi {
  min-width: 0;
  border: 1px solid var(--tvp-etudes-border);
  border-radius: 8px;
  background: var(--tvp-etudes-surface);
  box-shadow: var(--tvp-etudes-shadow);
  padding: 0.8rem;
}

.tvp-etudes-kpi-label {
  display: block;
  margin-bottom: 0.24rem;
  color: var(--tvp-etudes-text-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.tvp-etudes-kpi strong {
  display: block;
  color: var(--tvp-etudes-title);
  font-size: 1.08rem;
  line-height: 1.2;
}

.tvp-etudes-ranking-table td:nth-child(2),
.tvp-etudes-ranking-table th:nth-child(2) {
  text-align: left;
}

.tvp-etudes-vacances-year-table td:nth-child(2),
.tvp-etudes-vacances-year-table th:nth-child(2),
.tvp-etudes-vacances-channel-table td:nth-child(2),
.tvp-etudes-vacances-channel-table th:nth-child(2) {
  text-align: center;
}

.tvp-etudes-monthly-table td:nth-child(2),
.tvp-etudes-monthly-table th:nth-child(2) {
  text-align: center;
}

.tvp-etudes-rank {
  color: var(--tvp-etudes-accent-dark);
  font-weight: 850;
}

.tvp-etudes-duration {
  display: inline-block;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tvp-etudes-data-export {
  display: grid;
  gap: 0.7rem;
  margin: 1.45rem 0 0;
  border: 1px solid var(--tvp-etudes-border);
  border-left: 4px solid var(--tvp-etudes-accent);
  border-radius: 8px;
  background: var(--tvp-etudes-surface-muted);
  padding: 0.95rem;
}

.tvp-etudes-data-export h2 {
  margin: 0 0 0.35rem;
  border-left: 0;
  font-size: 1.08rem;
  padding-left: 0;
}

.tvp-etudes-data-export p {
  font-size: 1rem;
}

.tvp-etudes-data-export-note {
  color: var(--tvp-etudes-text-muted);
}

.tvp-etudes-data-export-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid #efb7bd;
  border-radius: 999px;
  background: #fff7f8;
  color: var(--tvp-etudes-accent-dark);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  padding: 0.58rem 0.82rem;
}

.tvp-etudes-data-export code {
  width: max-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.tvp-etudes-person-cell {
  display: flex;
  min-width: 12rem;
  align-items: center;
  gap: 0.58rem;
  text-align: left;
}

.tvp-etudes-person-photo {
  flex: 0 0 auto;
  width: 42px;
  height: 56px;
  border-radius: 6px;
  background: var(--tvp-etudes-media-bg);
  object-fit: cover;
}

.tvp-etudes-sql-details {
  margin: 1.3rem 0 0;
  border: 1px solid #efb7bd;
  border-left: 4px solid var(--tvp-etudes-accent);
  border-radius: 8px;
  background: #fff7f8;
  padding: 0.9rem;
}

.tvp-etudes-sql-details summary {
  cursor: pointer;
  color: var(--tvp-etudes-accent-dark);
  font-weight: 850;
}

.tvp-etudes-sql-details pre {
  max-height: 360px;
  margin: 0.8rem 0 0;
  overflow: auto;
  border: 1px solid #f1c6ca;
  border-radius: 8px;
  background: #ffffff;
  color: #3b0f15;
  padding: 0.8rem;
}

.tvp-etudes-footer-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 24rem);
  gap: 1rem 1.35rem;
  align-items: center;
  margin: 1.35rem 0 0;
  border: 1px solid var(--tvp-etudes-border);
  border-left: 4px solid var(--tvp-etudes-accent);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--tvp-etudes-surface) 0%, var(--tvp-etudes-surface-muted) 100%);
  color: var(--tvp-etudes-text);
  box-shadow: var(--tvp-etudes-shadow);
  padding: 1rem 1.1rem;
}

.tvp-etudes-footer-note h2 {
  margin: 0 0 0.48rem;
  color: var(--tvp-etudes-title);
  font-size: 1.18rem;
  line-height: 1.2;
}

.tvp-etudes-footer-note p {
  max-width: 72ch;
  margin: 0.48rem 0 0;
  color: var(--tvp-etudes-text);
  line-height: 1.5;
}

.tvp-etudes-footer-action {
  display: grid;
  gap: 0.72rem;
  justify-items: start;
  border-left: 1px solid var(--tvp-etudes-border);
  padding-left: 1.15rem;
}

.tvp-etudes-footer-note-strong {
  max-width: 28ch !important;
  margin-top: 0 !important;
  color: var(--tvp-etudes-title) !important;
  font-weight: 800;
  line-height: 1.35 !important;
}

.tvp-etudes-page a.tvp-etudes-footer-cta,
.tvp-etudes-page a.tvp-etudes-footer-cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.28rem;
  border-radius: 999px;
  background: var(--tvp-etudes-accent);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  padding: 0.55rem 1rem;
}

.tvp-etudes-page a.tvp-etudes-footer-cta:hover,
.tvp-etudes-page a.tvp-etudes-footer-cta:focus-visible {
  background: var(--tvp-etudes-accent-dark);
  color: #ffffff;
}

.tvp-etudes-admin-ideas {
  margin: 1.35rem 0 0;
  border: 1px solid #f1aeb5;
  border-left: 4px solid #dc3545;
  border-radius: 8px;
  background: #fff5f6;
  color: #5f121a;
  box-shadow: var(--tvp-etudes-shadow);
  padding: 1rem;
}

.tvp-etudes-admin-ideas__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.tvp-etudes-admin-ideas__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  border-radius: 999px;
  background: #dc3545;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.28rem 0.58rem;
}

.tvp-etudes-admin-ideas h2 {
  margin: 0;
  color: #7f1721;
  font-size: 1.08rem;
  line-height: 1.2;
}

.tvp-etudes-admin-ideas p {
  max-width: 92ch;
  margin: 0.34rem 0 0;
  color: #7d2932;
  line-height: 1.45;
}

.tvp-etudes-admin-ideas code {
  color: inherit;
}

.tvp-etudes-admin-ideas__table-wrap {
  border: 1px solid #f1aeb5;
  border-radius: 8px;
  background: #ffffff;
  overflow: auto;
}

.tvp-etudes-admin-ideas__table {
  min-width: 72rem;
  margin: 0;
  color: #471017;
  vertical-align: top;
}

.tvp-etudes-admin-ideas__table th {
  border-color: #f1aeb5;
  background: #f8d7da;
  color: #681821;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.tvp-etudes-admin-ideas__table td {
  border-color: #f3c3c8;
  background: transparent;
}

.tvp-etudes-admin-ideas__index {
  width: 2.6rem;
  color: #8f1f2c;
  font-weight: 800;
  text-align: right;
}

.tvp-etudes-admin-ideas__title {
  width: 18rem;
  font-weight: 800;
}

.tvp-etudes-admin-ideas__angle {
  width: 26rem;
  color: #63313a;
  line-height: 1.45;
}

.tvp-etudes-admin-ideas__sql {
  min-width: 28rem;
}

.tvp-etudes-admin-ideas__sql details {
  min-width: 0;
}

.tvp-etudes-admin-ideas__sql summary {
  cursor: pointer;
  color: #9f1725;
  font-weight: 800;
}

.tvp-etudes-admin-ideas__sql pre {
  max-height: 22rem;
  margin: 0.55rem 0 0;
  border: 1px solid #f1aeb5;
  border-radius: 6px;
  background: #fff8f8;
  color: #421016;
  font-size: 0.76rem;
  line-height: 1.45;
  overflow: auto;
  padding: 0.72rem;
  white-space: pre;
}

html[data-theme="dark"] .tvp-etudes-page,
html.dark .tvp-etudes-page,
body.dark-mode .tvp-etudes-page,
body.dark-theme .tvp-etudes-page {
  --tvp-etudes-surface: #172333;
  --tvp-etudes-surface-muted: #1e2d3f;
  --tvp-etudes-border: #33465d;
  --tvp-etudes-border-strong: #49627f;
  --tvp-etudes-text: #dbe6f3;
  --tvp-etudes-text-muted: #a9b9cc;
  --tvp-etudes-title: #f1f6fc;
  --tvp-etudes-link: #9cc9ff;
  --tvp-etudes-media-bg: #243447;
  --tvp-etudes-shadow: 0 1px 4px rgb(2 6 23 / 0.35);
  --tvp-etudes-shadow-hover: 0 12px 26px rgb(2 6 23 / 0.52);
  --tvp-etudes-success-bg: #173628;
  --tvp-etudes-success-border: #2f6f51;
  --tvp-etudes-success-text: #91e4b9;
  --tvp-etudes-table-head: #223348;
  --tvp-etudes-table-stripe: rgb(219 230 243 / 0.05);
}

html[data-theme="dark"] .tvp-etudes-vacances-year-table tr.is-exception,
html.dark .tvp-etudes-vacances-year-table tr.is-exception,
body.dark-mode .tvp-etudes-vacances-year-table tr.is-exception,
body.dark-theme .tvp-etudes-vacances-year-table tr.is-exception {
  background: #3b321f;
}

html[data-theme="dark"] .tvp-etudes-eyebrow,
html.dark .tvp-etudes-eyebrow,
body.dark-mode .tvp-etudes-eyebrow,
body.dark-theme .tvp-etudes-eyebrow,
html[data-theme="dark"] .tvp-etudes-pill--muted,
html.dark .tvp-etudes-pill--muted,
body.dark-mode .tvp-etudes-pill--muted,
body.dark-theme .tvp-etudes-pill--muted,
html[data-theme="dark"] .tvp-etudes-back-link,
html.dark .tvp-etudes-back-link,
body.dark-mode .tvp-etudes-back-link,
body.dark-theme .tvp-etudes-back-link {
  border-color: #743845;
  background: #3a1e28;
  color: #ffbcc7;
}

html[data-theme="dark"] .tvp-etudes-pill,
html.dark .tvp-etudes-pill,
body.dark-mode .tvp-etudes-pill,
body.dark-theme .tvp-etudes-pill {
  border-color: #3c536d;
  background: #20334a;
  color: #d2e2f5;
}

html[data-theme="dark"] .tvp-etudes-pill--hits,
html.dark .tvp-etudes-pill--hits,
body.dark-mode .tvp-etudes-pill--hits,
body.dark-theme .tvp-etudes-pill--hits {
  border-color: #f87171;
  background: #7f1d2d;
  color: #ffe4e8;
}

html[data-theme="dark"] .tvp-etudes-detail-meta > span:not(.tvp-etudes-admin-link),
html[data-theme="dark"] .tvp-etudes-detail-meta > a:not(.tvp-etudes-admin-link),
html.dark .tvp-etudes-detail-meta > span:not(.tvp-etudes-admin-link),
html.dark .tvp-etudes-detail-meta > a:not(.tvp-etudes-admin-link),
body.dark-mode .tvp-etudes-detail-meta > span:not(.tvp-etudes-admin-link),
body.dark-mode .tvp-etudes-detail-meta > a:not(.tvp-etudes-admin-link),
body.dark-theme .tvp-etudes-detail-meta > span:not(.tvp-etudes-admin-link),
body.dark-theme .tvp-etudes-detail-meta > a:not(.tvp-etudes-admin-link) {
  border-color: #3c536d;
  background: linear-gradient(180deg, #20334a 0%, #1b2b40 100%);
  color: #d2e2f5;
}

html[data-theme="dark"] .tvp-etudes-detail-meta time,
html.dark .tvp-etudes-detail-meta time,
body.dark-mode .tvp-etudes-detail-meta time,
body.dark-theme .tvp-etudes-detail-meta time {
  color: #f8fafc;
}

html[data-theme="dark"] .tvp-etudes-admin-link,
html.dark .tvp-etudes-admin-link,
body.dark-mode .tvp-etudes-admin-link,
body.dark-theme .tvp-etudes-admin-link {
  border-color: #f87171;
  background: #7f1d2d;
  color: #ffe4e8 !important;
}

html[data-theme="dark"] .tvp-etudes-article-body .tvp-etudes-data-export-link,
html.dark .tvp-etudes-article-body .tvp-etudes-data-export-link,
body.dark-mode .tvp-etudes-article-body .tvp-etudes-data-export-link,
body.dark-theme .tvp-etudes-article-body .tvp-etudes-data-export-link {
  border-color: #9f5360;
  background: #3a1e28;
  color: #ffe4e8;
}

html[data-theme="dark"] .tvp-etudes-article-body .tvp-etudes-data-export-link:hover,
html[data-theme="dark"] .tvp-etudes-article-body .tvp-etudes-data-export-link:focus-visible,
html.dark .tvp-etudes-article-body .tvp-etudes-data-export-link:hover,
html.dark .tvp-etudes-article-body .tvp-etudes-data-export-link:focus-visible,
body.dark-mode .tvp-etudes-article-body .tvp-etudes-data-export-link:hover,
body.dark-mode .tvp-etudes-article-body .tvp-etudes-data-export-link:focus-visible,
body.dark-theme .tvp-etudes-article-body .tvp-etudes-data-export-link:hover,
body.dark-theme .tvp-etudes-article-body .tvp-etudes-data-export-link:focus-visible {
  border-color: #f87171;
  background: #572534;
  color: #ffffff;
}

html[data-theme="dark"] .tvp-etudes-back-link:hover,
html.dark .tvp-etudes-back-link:hover,
body.dark-mode .tvp-etudes-back-link:hover,
body.dark-theme .tvp-etudes-back-link:hover {
  border-color: #91505d;
  background: #4a2631;
  color: #ffd1d8;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas,
html.dark .tvp-etudes-admin-ideas,
body.dark-mode .tvp-etudes-admin-ideas,
body.dark-theme .tvp-etudes-admin-ideas,
html[data-theme="dark"] .tvp-etudes-admin-drafts,
html.dark .tvp-etudes-admin-drafts,
body.dark-mode .tvp-etudes-admin-drafts,
body.dark-theme .tvp-etudes-admin-drafts {
  border-color: #7f1d2d;
  background: #2d1118;
  color: #ffe4e8;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas h2,
html.dark .tvp-etudes-admin-ideas h2,
body.dark-mode .tvp-etudes-admin-ideas h2,
body.dark-theme .tvp-etudes-admin-ideas h2,
html[data-theme="dark"] .tvp-etudes-admin-drafts h2,
html.dark .tvp-etudes-admin-drafts h2,
body.dark-mode .tvp-etudes-admin-drafts h2,
body.dark-theme .tvp-etudes-admin-drafts h2,
html[data-theme="dark"] .tvp-etudes-admin-ideas__sql summary,
html.dark .tvp-etudes-admin-ideas__sql summary,
body.dark-mode .tvp-etudes-admin-ideas__sql summary,
body.dark-theme .tvp-etudes-admin-ideas__sql summary {
  color: #ffb3bd;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas p,
html.dark .tvp-etudes-admin-ideas p,
body.dark-mode .tvp-etudes-admin-ideas p,
body.dark-theme .tvp-etudes-admin-ideas p,
html[data-theme="dark"] .tvp-etudes-admin-drafts p,
html.dark .tvp-etudes-admin-drafts p,
body.dark-mode .tvp-etudes-admin-drafts p,
body.dark-theme .tvp-etudes-admin-drafts p,
html[data-theme="dark"] .tvp-etudes-admin-ideas__angle,
html.dark .tvp-etudes-admin-ideas__angle,
body.dark-mode .tvp-etudes-admin-ideas__angle,
body.dark-theme .tvp-etudes-admin-ideas__angle {
  color: #ffd1d8;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas__table-wrap,
html.dark .tvp-etudes-admin-ideas__table-wrap,
body.dark-mode .tvp-etudes-admin-ideas__table-wrap,
body.dark-theme .tvp-etudes-admin-ideas__table-wrap {
  border-color: #7f1d2d;
  background: #1b0d12;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas__table,
html.dark .tvp-etudes-admin-ideas__table,
body.dark-mode .tvp-etudes-admin-ideas__table,
body.dark-theme .tvp-etudes-admin-ideas__table {
  color: #ffe4e8;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas__table th,
html.dark .tvp-etudes-admin-ideas__table th,
body.dark-mode .tvp-etudes-admin-ideas__table th,
body.dark-theme .tvp-etudes-admin-ideas__table th {
  border-color: #7f1d2d;
  background: #4a1721;
  color: #ffdce1;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas__table td,
html.dark .tvp-etudes-admin-ideas__table td,
body.dark-mode .tvp-etudes-admin-ideas__table td,
body.dark-theme .tvp-etudes-admin-ideas__table td {
  border-color: #6f1f2b;
}

html[data-theme="dark"] .tvp-etudes-admin-ideas__sql pre,
html.dark .tvp-etudes-admin-ideas__sql pre,
body.dark-mode .tvp-etudes-admin-ideas__sql pre,
body.dark-theme .tvp-etudes-admin-ideas__sql pre {
  border-color: #7f1d2d;
  background: #17090d;
  color: #ffe7ea;
}

html[data-theme="dark"] .tvp-etudes-sql-details,
html.dark .tvp-etudes-sql-details,
body.dark-mode .tvp-etudes-sql-details,
body.dark-theme .tvp-etudes-sql-details {
  border-color: #7f1d2d;
  background: #2d1118;
  color: #ffe4e8;
}

html[data-theme="dark"] .tvp-etudes-sql-details summary,
html.dark .tvp-etudes-sql-details summary,
body.dark-mode .tvp-etudes-sql-details summary,
body.dark-theme .tvp-etudes-sql-details summary {
  color: #ffb3bd;
}

html[data-theme="dark"] .tvp-etudes-sql-details pre,
html.dark .tvp-etudes-sql-details pre,
body.dark-mode .tvp-etudes-sql-details pre,
body.dark-theme .tvp-etudes-sql-details pre {
  border-color: #7f1d2d;
  background: #17090d;
  color: #ffe7ea;
}

html[data-theme="dark"] .tvp-etudes-admin-cache-warning,
html.dark .tvp-etudes-admin-cache-warning,
body.dark-mode .tvp-etudes-admin-cache-warning,
body.dark-theme .tvp-etudes-admin-cache-warning {
  border-color: #ef4444;
  border-left-color: #dc2626;
  background: #2d1118;
  color: #ffe4e8;
}

html[data-theme="dark"] .tvp-etudes-admin-cache-warning .concept-title,
html.dark .tvp-etudes-admin-cache-warning .concept-title,
body.dark-mode .tvp-etudes-admin-cache-warning .concept-title,
body.dark-theme .tvp-etudes-admin-cache-warning .concept-title,
html[data-theme="dark"] .tvp-etudes-admin-cache-warning p,
html.dark .tvp-etudes-admin-cache-warning p,
body.dark-mode .tvp-etudes-admin-cache-warning p,
body.dark-theme .tvp-etudes-admin-cache-warning p {
  color: #fecaca;
}

html[data-theme="dark"] .tvp-etudes-admin-cache-warning pre,
html.dark .tvp-etudes-admin-cache-warning pre,
body.dark-mode .tvp-etudes-admin-cache-warning pre,
body.dark-theme .tvp-etudes-admin-cache-warning pre {
  border-color: #7f1d2d;
  background: #17090d;
  color: #ffe7ea;
}

html[data-theme="dark"] .concept-box--definition,
html.dark .concept-box--definition,
body.dark-mode .concept-box--definition,
body.dark-theme .concept-box--definition {
  border-color: #315c99;
  background: #11233d;
}

html[data-theme="dark"] .concept-box--definition .concept-title,
html.dark .concept-box--definition .concept-title,
body.dark-mode .concept-box--definition .concept-title,
body.dark-theme .concept-box--definition .concept-title {
  color: #93c5fd;
}

html[data-theme="dark"] .etude-noel .highlight-oct,
html.dark .etude-noel .highlight-oct,
body.dark-mode .etude-noel .highlight-oct,
body.dark-theme .etude-noel .highlight-oct {
  background: #4b2530;
}

html[data-theme="dark"] .etude-noel .highlight-jul,
html.dark .etude-noel .highlight-jul,
body.dark-mode .etude-noel .highlight-jul,
body.dark-theme .etude-noel .highlight-jul {
  background: #173628;
}

@media (max-width: 575.98px) {
  .tvp-etudes-detail-meta {
    margin-top: 0.64rem;
    gap: 0.3rem;
    font-size: 0.76rem;
  }

  .tvp-etudes-detail-meta > span:not(.tvp-etudes-admin-link),
  .tvp-etudes-detail-meta > a:not(.tvp-etudes-admin-link) {
    min-height: 1.72rem;
    padding: 0.14rem 0.48rem;
  }

  .tvp-etudes-admin-link {
    width: 1.72rem;
    height: 1.72rem;
  }

  .tvp-etudes-admin-link--hits {
    width: auto;
    height: auto;
    min-height: 1.72rem;
  }
}

@media (max-width: 767.98px) {
  .tvp-etudes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tvp-etudes-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tvp-etudes-chart-container {
    min-height: 280px;
    height: 52vh;
    padding: 0.65rem;
  }

  .tvp-etudes-article-body table {
    display: table;
    white-space: nowrap;
  }

  .tvp-etudes-page .table-responsive > table {
    width: max-content;
    min-width: 48rem;
  }

  .tvp-etudes-page .table-responsive > table th,
  .tvp-etudes-page .table-responsive > table td {
    white-space: nowrap;
  }

  .tvp-etudes-footer-note {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.9rem;
  }

  .tvp-etudes-footer-action {
    border-top: 1px solid var(--tvp-etudes-border);
    border-left: 0;
    padding-top: 0.85rem;
    padding-left: 0;
  }

  .tvp-etudes-footer-note-strong {
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  .tvp-etudes-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  .tvp-etudes-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
  }

  .tvp-etudes-page--detail .tvp-etudes-layout {
    grid-template-columns: minmax(0, 78ch) 300px;
    justify-content: start;
    gap: 1rem;
    align-items: start;
  }

  .tvp-etudes-page--detail.tvp-etudes-study--acteur-le-plus-vu .tvp-etudes-layout,
  .tvp-etudes-page--detail.tvp-etudes-study--films-noel .tvp-etudes-layout,
  .tvp-etudes-page--detail.tvp-etudes-study--debut-prime-time .tvp-etudes-layout,
  .tvp-etudes-page--detail.tvp-etudes-study--top-films .tvp-etudes-layout,
  .tvp-etudes-page--detail.tvp-etudes-study--films-ete .tvp-etudes-layout,
  .tvp-etudes-page--detail.tvp-etudes-study--tele-part-en-vacances .tvp-etudes-layout,
  .tvp-etudes-page--detail.tvp-etudes-study--types-films .tvp-etudes-layout,
  .tvp-etudes-page--detail.tvp-etudes-study--presence .tvp-etudes-layout {
    grid-template-columns: minmax(0, 1080px) 300px;
  }

  .tvp-etudes-layout.is-no-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .tvp-etudes-page--detail .tvp-etudes-layout.is-no-side {
    grid-template-columns: minmax(0, 78ch);
  }

  .tvp-etudes-page--detail.tvp-etudes-study--acteur-le-plus-vu .tvp-etudes-layout.is-no-side,
  .tvp-etudes-page--detail.tvp-etudes-study--films-noel .tvp-etudes-layout.is-no-side,
  .tvp-etudes-page--detail.tvp-etudes-study--debut-prime-time .tvp-etudes-layout.is-no-side,
  .tvp-etudes-page--detail.tvp-etudes-study--top-films .tvp-etudes-layout.is-no-side,
  .tvp-etudes-page--detail.tvp-etudes-study--films-ete .tvp-etudes-layout.is-no-side,
  .tvp-etudes-page--detail.tvp-etudes-study--tele-part-en-vacances .tvp-etudes-layout.is-no-side,
  .tvp-etudes-page--detail.tvp-etudes-study--types-films .tvp-etudes-layout.is-no-side,
  .tvp-etudes-page--detail.tvp-etudes-study--presence .tvp-etudes-layout.is-no-side {
    grid-template-columns: minmax(0, 1080px);
  }

  .tvp-etudes-layout-side {
    align-self: stretch;
  }

  .tvp-etudes-layout-side-sticky {
    width: 100%;
  }

  .tvp-etudes-layout-side .tvp-etudes-inline-slot {
    margin: 0 0 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .tvp-etudes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
