/* Классы импортированного WP-контента (.wp-*) в токенах ZI. */
.wp-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 1.5rem; }
.wp-col { min-width: 0; flex: 1 1 100%; }
@media (min-width: 768px) {
  .wp-col { min-width: 240px; flex: 1 1 0; }
  .wp-col-2 { flex: 1 1 16%; } .wp-col-3 { flex: 1 1 24%; } .wp-col-4 { flex: 1 1 30%; }
  .wp-col-5 { flex: 1 1 40%; } .wp-col-6 { flex: 1 1 46%; } .wp-col-7 { flex: 1 1 56%; }
  .wp-col-8 { flex: 2 1 58%; } .wp-col-9 { flex: 3 1 70%; } .wp-col-10 { flex: 5 1 80%; }
  .wp-col-11 { flex: 11 1 90%; } .wp-col-12 { flex: 1 1 100%; }
}
.wp-row.td-ss-row { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; margin-top: 0.5rem; }
@media (min-width: 1024px) {
  .wp-row.td-ss-row { grid-template-columns: minmax(0, 1fr) 19.5rem; }
  .wp-row.td-ss-row > .wp-col { flex: none; width: auto; min-width: 0; }
  .wp-row.td-ss-row > .wp-col-4 { position: sticky; top: 6.5rem; }
}
.wp-block { margin: 0 0 1.75rem; }
.wp-block-head {
  display: flex; align-items: stretch; justify-content: space-between; gap: 1rem;
  margin: 0 0 0.9rem; border-bottom: 3px solid #137db8;
}
.wp-block-title {
  margin: 0; padding: 0.42rem 0.9rem; background: #137db8; color: #fff;
  font-size: 0.78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3;
}
.wp-block-more {
  align-self: center; padding-right: 0.15rem; font-size: 0.8rem; font-weight: 700; color: #137db8; white-space: nowrap;
}
.wp-block-more:hover { color: #003b5d; text-decoration: none; }
.wp-cards { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 640px) { .wp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .wp-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wp-cards-hero { grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) {
  .wp-cards-hero { grid-template-columns: 1.45fr 1fr; grid-template-rows: repeat(3, minmax(0, auto)); }
  .wp-cards-hero .wp-card:first-child { grid-row: 1 / span 3; }
}
.wp-cards-featured { grid-template-columns: 1fr; gap: 0.85rem; }
@media (min-width: 768px) {
  .wp-cards-featured { grid-template-columns: 1.35fr 1fr; align-items: start; }
  .wp-cards-featured .wp-card:first-child { grid-row: 1 / span 4; }
}
.wp-cards-list { grid-template-columns: 1fr; gap: 0.65rem; }
.wp-card {
  overflow: hidden; border: 1px solid #e3eff6; border-radius: 0.7rem; background: #fff;
  box-shadow: 0 4px 14px rgba(19, 125, 184, 0.05); transition: transform .15s ease, box-shadow .15s ease;
}
.wp-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(19, 125, 184, 0.1); }
.wp-card a { display: block; color: inherit; text-decoration: none; height: 100%; }
.wp-card img, .wp-card-ph { display: block; width: 100%; height: 9.5rem; object-fit: cover; background: #f0f9ff; }
.wp-card-ph { min-height: 9.5rem; }
.wp-card-body { padding: 0.75rem 0.9rem 0.95rem; }
.wp-card-title { display: block; padding: 0; font-weight: 800; color: #003b5d; line-height: 1.35; font-size: 0.95rem; }
.wp-card-excerpt { margin: 0.45rem 0 0; font-size: 0.82rem; line-height: 1.45; color: #52778d; }
.wp-card-cta { display: inline-block; margin-top: 0.55rem; font-size: 0.78rem; font-weight: 800; color: #137db8; }
.wp-cards-hero .wp-card:first-child { height: 100%; }
.wp-cards-hero .wp-card:first-child a { display: flex; flex-direction: column; }
.wp-cards-hero .wp-card:first-child img, .wp-cards-hero .wp-card:first-child .wp-card-ph { flex: 1 1 auto; height: auto; min-height: 16rem; }
.wp-cards-hero .wp-card:first-child .wp-card-title { font-size: 1.2rem; }
.wp-cards-hero .wp-card:not(:first-child) img, .wp-cards-hero .wp-card:not(:first-child) .wp-card-ph { height: 7.5rem; }
.wp-cards-featured .wp-card:first-child img { height: 12.5rem; }
.wp-cards-featured .wp-card:not(:first-child) a,
.wp-cards-list .wp-card a {
  display: grid; grid-template-columns: 5.6rem 1fr; gap: 0.7rem; align-items: center; padding: 0.45rem;
}
.wp-cards-featured .wp-card:not(:first-child),
.wp-cards-list .wp-card { box-shadow: none; }
.wp-cards-featured .wp-card:not(:first-child) img,
.wp-cards-featured .wp-card:not(:first-child) .wp-card-ph,
.wp-cards-list .wp-card img,
.wp-cards-list .wp-card-ph { width: 5.6rem; height: 4.3rem; min-height: 0; border-radius: 0.4rem; }
.wp-cards-featured .wp-card:not(:first-child) .wp-card-body,
.wp-cards-list .wp-card-body { padding: 0; }
.wp-cards-featured .wp-card:not(:first-child) .wp-card-title,
.wp-cards-list .wp-card-title { font-size: 0.86rem; font-weight: 700; }
.wp-cards-featured .wp-card:not(:first-child) .wp-card-excerpt,
.wp-cards-featured .wp-card:not(:first-child) .wp-card-cta,
.wp-cards-list .wp-card-excerpt,
.wp-cards-list .wp-card-cta { display: none; }
.wp-slider { position: relative; margin: 0.25rem 0 1.75rem; border-radius: 1rem; overflow: hidden; background: #0f1720; }
.wp-slider-viewport { position: relative; min-height: 12rem; }
.wp-slider .wp-slide { margin: 0; display: none; position: relative; }
.wp-slider .wp-slide.is-active,
.wp-slider:not(.is-ready) .wp-slide:first-child { display: block; }
.wp-slider .wp-slide img { display: block; width: 100%; max-height: 26rem; object-fit: cover; margin: 0 auto; }
.wp-slider .wp-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 3.5rem 1.1rem 1.1rem;
  color: #fff; font-size: 0.95rem; font-weight: 700; line-height: 1.35;
  background: linear-gradient(transparent, rgba(15, 23, 32, .78));
}
.wp-slider-btn {
  position: absolute; top: 50%; z-index: 2; width: 2.4rem; height: 2.4rem; margin-top: -1.2rem;
  border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #003b5d;
  font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.wp-slider-prev { left: 0.7rem; }
.wp-slider-next { right: 0.7rem; }
.wp-slider-dots { position: absolute; left: 0; right: 0; bottom: 0.45rem; z-index: 2; display: flex; justify-content: center; gap: 0.35rem; pointer-events: none; }
.wp-slider-dots button {
  pointer-events: auto; width: 0.5rem; height: 0.5rem; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.wp-slider-dots button.is-active { background: #fff; }
.wp-slider:not(:has(.wp-slide:nth-child(2))) .wp-slider-btn,
.wp-slider:not(:has(.wp-slide:nth-child(2))) .wp-slider-dots { display: none; }
.wp-btn { display: inline-flex; align-items: center; min-height: 2.5rem; margin: 0.2rem 0.35rem 0.2rem 0; padding: 0.4rem 0.9rem; border: 1px solid #137db8; border-radius: 0.5rem; color: #137db8; font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.wp-btn:hover { background: #137db8; color: #fff; }
.wp-shablon { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.75rem 0 1.25rem; }
.wp-figure { margin: 1rem 0; }
.wp-figure img { max-width: 100%; height: auto; }
.wp-figure.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.wp-figure figcaption { margin-top: 0.4rem; font-size: 0.9rem; color: #52778d; }
.wp-video video { max-width: 100%; height: auto; }
.wp-embed { position: relative; margin: 1rem 0; padding-top: 56.25%; }
.wp-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-details { margin: 0.5rem 0; padding: 0.75rem 1rem; border: 1px solid #e3eff6; border-radius: 0.75rem; }
.wp-details summary { cursor: pointer; font-weight: 700; color: #003b5d; }
.wp-hr { margin: 1.5rem 0; border: 0; border-top: 1px solid #e3eff6; }
.wp-space { height: 1.25rem; }
.drug-letter { display: inline-flex; min-width: 2.25rem; min-height: 2.25rem; align-items: center; justify-content: center; padding: 0.35rem 0.5rem; border-radius: 0.5rem; font-weight: 800; color: #003b5d; }
.drug-letter:hover { background: #f0f9ff; color: #137db8; }
.drug-letter-empty { color: #94a3b8; font-weight: 600; }
.html_header_block { margin: 1.25rem 0 0.75rem; border-bottom: 3px solid #137db8; }
.html_header_block_txt { background: #137db8; color: #fff; width: 100%; text-align: center; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 0.45rem 0.75rem; }
@media (min-width: 768px) { .html_header_block_txt { width: 50%; } }
.html_header_block_big_red { display: block; margin-top: 11px; padding: 0.6rem 0.75rem; color: #fff; background: #d02055; text-align: center; font-size: clamp(1.1rem, 4vw, 1.55rem); font-weight: 800; box-sizing: border-box; text-decoration: none; border-radius: 0.35rem; }
.prose-cms a { color: #137db8; }
.prose-cms a:hover { text-decoration: underline; }
.portal-hub .wp-row { margin-top: 0; }
.portal-hub .wp-text { margin: 0; }
.article-main .wp-cards,
.article-main .wp-cards-hero { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .article-main .wp-cards,
  .article-main .wp-cards-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.article-main img,
.article-main iframe,
.article-main video { max-width: 100%; height: auto; }
.nav-new {
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  color: #ffd4e0;
  vertical-align: super;
}
.nav-new-dark { color: #d02055; }
.site-wrap {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .site-wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .site-wrap { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1280px) { .site-wrap { max-width: 90rem; } }
