/* Compare slideshow (.cs): two slides, tabs as dots, arrows, optional autoplay. Brand: navy #021f56, primary #0360e0, accent #6ba6ff.
   Without script both slides simply stack and the controls stay hidden. Logical properties only; arrows mirror in RTL. */
.cs { --cs-navy: #021f56; --cs-on: #0360e0; --cs-acc: #6ba6ff; font-family: Inter, var(--sans, system-ui, sans-serif); min-width: 0; max-width: 100%; }
.cs-band { padding-block: 24px 40px; }
.cs-view, .cs-slide { min-width: 0; max-width: 100%; }
.cs-slide + .cs-slide { margin-top: 40px; }
.cs-bar { display: none; }
.cs.cs-js .cs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 20px; }
.cs.cs-js .cs-slide + .cs-slide { margin-top: 0; }
.cs.cs-js .cs-slide[hidden] { display: none; }
.cs-tabs { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cs-tab { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--line-strong, #c3cae0); border-radius: 999px; background: transparent; color: var(--ink, #0b1b3f); font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cs-tab:hover { border-color: var(--cs-on); }
.cs-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; border: 2px solid var(--cs-on); box-sizing: border-box; }
.cs-tab[aria-selected="true"] { background: var(--cs-on); border-color: var(--cs-on); color: #fff; }
.cs-tab[aria-selected="true"] .cs-dot { background: #fff; border-color: #fff; }
.cs-ctl { display: flex; gap: 8px; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line-strong, #c3cae0); border-radius: 50%; background: transparent; color: var(--ink, #0b1b3f); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cs-btn:hover { background: var(--cs-on); border-color: var(--cs-on); color: #fff; }
.cs-btn:disabled { opacity: .4; cursor: default; }
.cs-btn:disabled:hover { background: transparent; border-color: var(--line-strong, #c3cae0); color: var(--ink, #0b1b3f); }
html[dir="rtl"] .cs-prev svg, html[dir="rtl"] .cs-next svg { transform: scaleX(-1); }
.cs-tab:focus-visible, .cs-btn:focus-visible { outline: 3px solid var(--cs-acc); outline-offset: 2px; }
.cs-slide .sec-head { margin-bottom: 18px; }
.cs-draft { display: inline-block; margin-inline-start: 4px; padding: 1px 8px; border: 1px dashed var(--cs-on); border-radius: 999px; background: rgba(107, 166, 255, .16); color: var(--ink, #0b1b3f); font-size: 11.5px; font-weight: 600; line-height: 1.5; white-space: normal; vertical-align: middle; }
.cx .cs-draft { display: block; width: fit-content; margin: 6px 0 0; }
.cs-nc { color: var(--subtle, #8e9bb0); font-size: 13.5px; }
.cs-isdraft td.cx-own { font-style: normal; }
.cs-note { margin: 14px 0 0; color: var(--muted, #5b6783); font-size: 14px; line-height: 1.5; }
.cs-slide.cs-enter { animation: cs-in .35s ease both; }
.cs[data-dir="rtl"] .cs-slide.cs-enter { --cs-dx: -18px; }
@keyframes cs-in { from { opacity: 0; transform: translateX(var(--cs-dx, 18px)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cs-slide.cs-enter { animation: none; } .cs-tab, .cs-btn { transition: none; } }
@media (max-width: 640px) {
  .cs-tabs { flex: 1 1 100%; }
  .cs-tab { flex: 1 1 0; justify-content: center; padding: 8px 12px; font-size: 14px; text-align: center; }
  .cs-ctl { margin-inline-start: auto; }
}

/* tight vertical rhythm: no oversized padding after the removed blocks */
.v-compare .page-head { padding-block: 56px 16px; }
.v-compare .page-head + .cs-band, .v-compare .cs-band { padding-block: 16px 32px; }
.v-compare .close-wrap { padding-block: 0 48px; }
.v-compare .close { padding: 32px 24px; }
.v-compare .close h2 { margin: 0; line-height: 1.2; }
@media (min-width: 860px) { .v-compare .close { padding: 36px 48px; } }
@media (max-width: 720px) {
  .v-compare .page-head { padding-block: 40px 12px; }
  .v-compare .cs-band { padding-block: 12px 24px; }
  .v-compare .close-wrap { padding-block: 0 32px; }
}

.v-compare > .sr + .cs-band, .v-compare .cs-band:first-child { padding-block: 40px 32px; }
@media (max-width: 720px) { .v-compare > .sr + .cs-band { padding-block: 24px 24px; } }
