/* Pricing pages: modern selection cards and clean imported legacy tables. */
.inner-body .ex-table:has(.ex-pricing-scroll) {
  overflow: visible;
  border: 0;
  background: transparent;
  border-radius: 0;
  margin: 12px 0 32px;
}
.article-content .ex-pricing-info {
  background: #f7f9fb;
  border: 1px solid #e7ebf0;
  border-radius: 14px;
  padding: 24px 30px;
  margin: 0 0 22px;
  color: #354052;
  line-height: 1.7;
}
.article-content .ex-pricing-info p {
  margin: 0 0 12px;
  max-width: none;
}
.article-content .ex-pricing-info p:last-child { margin-bottom: 0; }
.article-content .ex-pricing-info p:first-child strong,
.article-content .ex-pricing-info p:first-child b {
  color: #202b3d;
  font-size: 19px;
  font-weight: 700;
}
.article-content .ex-pricing-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e2e6ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(37,42,52,.035);
}
.article-content .ex-pricing-scroll table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
}
.article-content .ex-pricing-scroll th,
.article-content .ex-pricing-scroll td {
  padding: 18px 20px;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  color: #283447;
  overflow-wrap: normal;
}
.article-content .ex-pricing-scroll thead th {
  background: #f2f5fa;
  font-weight: 700;
  color: #253146;
  white-space: normal;
  border-bottom: 1px solid #e4e8ef;
}
.article-content .ex-pricing-scroll tr:nth-child(even) td { background: #fafbfc; }
.article-content .ex-pricing-scroll tbody tr:hover td { background: #f1f6fc; }
.article-content .ex-pricing-scroll tbody tr:last-child td { border-bottom: 0; }
.article-content .ex-pricing-scroll td:first-child,
.article-content .ex-pricing-scroll th:first-child {
  min-width: 245px;
  width: 38%;
  text-align: left;
}
.article-content .ex-pricing-scroll td:first-child { font-weight: 600; }
.article-content .ex-pricing-scroll .ex-pricing-table--numeric th:not(:first-child),
.article-content .ex-pricing-scroll .ex-pricing-table--numeric td:not(:first-child) {
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.article-content .ex-pricing-scroll .ex-price-highlight { /* Defensive: don't style fractions as two prices. */
  padding: 0;
  margin: 0;
  color: inherit !important;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
}

/* Price index: 3 original text links become an editorial choice panel. */
.excurs-prices-index .inner-body .ex-prices-index-intro { padding: 0 0 18px !important; }
.excurs-prices-index .ex-prices-index-intro .ex-text {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  padding: 36px;
  border: 1px solid #e4e9f1;
  border-radius: 22px;
  background: linear-gradient(125deg,#f6f9fc 0%,#fff 80%);
}
.excurs-prices-index .ex-prices-index-intro .ex-text h2 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(25px,2.8vw,39px);
  line-height: 1.25;
  margin: 0 0 12px;
  color: #242f43;
  letter-spacing: -.025em;
}
.excurs-prices-index .ex-prices-index-intro .ex-text h2 img[width][height] {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px;
  max-width: 58px !important;
  max-height: 58px !important;
  margin: 0 !important;
  object-fit: contain;
}
.excurs-prices-index .ex-prices-index-intro .ex-prices-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 130px;
  margin: 0 !important;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(32,42,57,.04);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.excurs-prices-index .ex-prices-index-intro .ex-prices-option:hover {
  transform: translateY(-3px);
  border-color: var(--accent,#ed4457);
  box-shadow: 0 14px 28px rgba(32,42,57,.08);
}
.excurs-prices-index .ex-prices-index-intro .ex-prices-option a {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  flex: 1;
  padding: 24px 42px 24px 22px;
  color: #243149;
  text-decoration: none;
  line-height: 1.4;
  font-size: 16px;
  font-weight: 600;
}
.excurs-prices-index .ex-prices-index-intro .ex-prices-option a:after {
  content: '↗';
  position: absolute;
  right: 20px;
  bottom: 17px;
  color: var(--accent,#ed4457);
  font-size: 23px;
  line-height: 1;
}
.excurs-prices-index .ex-prices-index-intro .ex-prices-option a:hover { color: var(--accent,#ed4457); }
.excurs-prices-index .ex-prices-index-intro .ex-prices-tagline {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 14px 18px;
  border-left: 3px solid var(--accent,#ed4457);
  background: #fff3f5;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: #3f4b5e;
}
.excurs-prices-index .inner-body > .ex-prices-topic {
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  padding: 0 !important;
  margin: 5px 10px 19px 0;
}
.excurs-prices-index .ex-prices-topic .ex-text p {
  display: inline-flex;
  margin: 0 !important;
  padding: 9px 16px;
  border: 1px solid #e6e9ef;
  border-radius: 40px;
  background: #f8f9fb;
  font-size: 13px;
  line-height: 1.45;
  color: #576477;
}
.excurs-prices-index .ex-prices-topic .ex-text strong { font-weight: 600; }
.excurs-prices-index .inner-body > .ex-posts { padding-top: 12px !important; }

@media(max-width:920px) {
  .excurs-prices-index .ex-prices-index-intro .ex-text { grid-template-columns: 1fr 1fr; padding: 28px; }
  .excurs-prices-index .ex-prices-index-intro .ex-prices-option { min-height: 110px; }
}
@media(max-width:640px) {
  .excurs-prices-index .ex-prices-index-intro .ex-text { grid-template-columns: 1fr; gap: 12px; padding: 23px 18px; border-radius: 15px; }
  .excurs-prices-index .ex-prices-index-intro .ex-text h2 { gap: 12px; font-size: 26px; margin-bottom: 8px; }
  .excurs-prices-index .ex-prices-index-intro .ex-text h2 img[width][height] { width: 45px !important; height: 45px !important; min-width: 45px; max-width: 45px !important; max-height: 45px !important; }
  .excurs-prices-index .ex-prices-index-intro .ex-prices-option { min-height: 82px; }
  .excurs-prices-index .ex-prices-index-intro .ex-prices-option a { padding: 18px 45px 18px 17px; font-size: 15px; }
  .excurs-prices-index .ex-prices-index-intro .ex-prices-option a:after { right: 17px; bottom: 22px; }
  .excurs-prices-index .inner-body > .ex-prices-topic { margin-bottom: 10px; }
  .article-content .ex-pricing-info { padding: 19px 18px; margin-bottom: 14px; border-radius: 12px; font-size: 14px; }
  .article-content .ex-pricing-info p:first-child strong { font-size: 17px; }
  .article-content .ex-pricing-scroll { border-radius: 10px; }
  .article-content .ex-pricing-scroll table { min-width: 640px; font-size: 13px; }
  .article-content .ex-pricing-scroll td,
  .article-content .ex-pricing-scroll th { padding: 14px 15px; }
  .article-content .ex-pricing-scroll td:first-child,
  .article-content .ex-pricing-scroll th:first-child { min-width: 195px; }
}
@media(prefers-reduced-motion:reduce) {
  .excurs-prices-index .ex-prices-index-intro .ex-prices-option { transition: none; }
}
