/* Release article: shared article shell + the established nouveautés phone treatment. */
.article-head > .back,
.article-head > .category,
.article-head > .release-date {
  display: table;
}

.article-head > .back { margin-bottom: 14px; }
.article-head > .category { margin: 0 0 12px; }
.article-head > .release-date { margin: 0 0 16px; }
.article-head > h1 { margin-top: 0; }

.release-shot {
  margin: 28px 0 36px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f0f0ee;
  text-align: center;
}

.release-shot .phone-shell {
  width: min(360px, 78vw);
  padding: 7px;
  border-radius: 34px;
}

.release-shot .phone-screen {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 28px;
}

.release-shot .phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
  box-shadow: none;
}

.release-shot figcaption {
  max-width: 430px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.article-faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.article-faq summary {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.article-faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.comparison-table-wrap {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 3%);
}

.app-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.app-comparison th,
.app-comparison td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.app-comparison thead th {
  background: #f5f5f3;
  color: #555;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.app-comparison tbody tr:last-child th,
.app-comparison tbody tr:last-child td { border-bottom: 0; }
.app-comparison tbody th { width: 150px; color: var(--ink); font-size: 15px; }
.app-comparison td { color: #454a50; }
.app-comparison a,
.source-note a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.source-note { margin-top: 12px !important; color: var(--muted) !important; font-size: 13px !important; line-height: 1.55 !important; }

/* Keep sidebar navigation and related links readable even if the viewport is narrow. */
.sidebar .toc,
.sidebar .method-list { display: grid; gap: 10px; }
.sidebar .toc a,
.sidebar .method-list a { color: #37404b; text-decoration: none; overflow-wrap: anywhere; }
.sidebar .toc a:hover,
.sidebar .method-list a:hover { color: var(--green); }

@media (max-width: 700px) {
  .release-shot { margin: 24px 0 30px; padding: 14px; border-radius: 18px; }
  .release-shot .phone-shell { width: min(360px, 82vw); }
  .app-comparison { display: block; }
  .app-comparison thead { display: none; }
  .app-comparison tbody { display: grid; }
  .app-comparison tr { display: block; padding: 4px 15px; border-bottom: 1px solid var(--line); }
  .app-comparison tbody tr:last-child { border-bottom: 0; }
  .app-comparison th,
  .app-comparison td { display: block; width: auto; padding: 10px 0; border: 0; }
  .app-comparison tbody th { padding-top: 14px; font-size: 16px; }
  .app-comparison td { padding-top: 5px; }
  .app-comparison td::before {
    display: block;
    margin-bottom: 3px;
    color: #747980;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    content: attr(data-label);
  }
}
