/* Shared mz-page components — buttons, related cards, slots grid */

:root {
  --ez-brand: #0273f5;
  --ez-cyan: #04ffff;
  --ez-line: rgba(148, 180, 220, 0.22);
  --ez-muted: #b8c6d8;
}

html[data-theme="light"] {
  --ez-muted: #3d4a5c;
  --ez-line: #cfd8e3;
}

.mz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mz-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.mz-btn--primary {
  color: #041018;
  background: linear-gradient(135deg, var(--ez-cyan), #5ad4ff 40%, var(--ez-brand));
  box-shadow: 0 10px 32px rgba(2, 115, 245, 0.4);
}

.mz-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ez-line);
}

.mz-btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.mz-mobile-cta .mz-btn {
  flex: 1;
  min-height: 46px;
  font-size: 0.92rem;
}

/* Читайте также — card grid */
.mz-related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 8px;
}

@media (min-width: 640px) {
  .mz-related {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mz-related__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--ez-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: #e8eef7;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mz-related__card:hover {
  transform: translateY(-2px);
  border-color: rgba(4, 255, 255, 0.45);
  color: #fff;
}

.mz-related__title {
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

.mz-related__desc {
  color: var(--ez-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.mz-related__card:hover .mz-related__desc {
  color: #b8c8dc;
}

/* Похожие слоты — top-10 pages */
.mz-related-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

@media (min-width: 640px) {
  .mz-related-slots {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mz-related-slots .mz-related__card {
  padding: 0;
  overflow: hidden;
}

.mz-related-slots .mz-slot-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, rgba(2, 115, 245, 0.35), rgba(4, 255, 255, 0.08));
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  overflow: hidden;
  position: relative;
}

.mz-related-slots .mz-slot-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mz-slot-poster {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(2, 115, 245, 0.4), rgba(8, 16, 28, 0.95));
}

.mz-slot-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mz-slot-poster--placeholder {
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
}

.mz-slot-poster--placeholder span {
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.mz-related-slots .mz-related__body {
  padding: 12px 14px;
}

.mz-hero__art {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(260px, 38vw);
  max-height: 80%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.75;
  filter: drop-shadow(0 12px 40px rgba(2, 115, 245, 0.28));
  z-index: 0;
}

@media (max-width: 720px) {
  .mz-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 8px;
  }

  .mz-hero__art {
    width: min(150px, 42vw);
    right: -10%;
    top: 12px;
    transform: none;
    opacity: 0.28;
    max-height: 45%;
  }

  .mz-hero > :not(.mz-hero__art):not(.mz-hero__glow) {
    position: relative;
    z-index: 2;
    max-width: 100%;
  }

  .mz-hero h1,
  .mz-hero .mz-answer,
  .mz-hero .mz-hero__lead,
  .mz-hero .mz-status,
  .mz-hero .mz-cta,
  .mz-hero .mz-chips {
    padding-right: 0;
    max-width: 100%;
  }
}

@keyframes ez-pulse-cta {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(2, 115, 245, 0.32);
  }
  50% {
    transform: scale(1.008);
    box-shadow: 0 10px 28px rgba(4, 255, 255, 0.26);
  }
}

.mz-btn--primary.ez-pulse-cta,
.ez-pulse-cta.mz-btn--primary {
  animation: ez-pulse-cta 3s ease-in-out infinite;
}

.mz-btn--primary.ez-pulse-cta:hover,
.ez-pulse-cta.mz-btn--primary:hover {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .mz-btn--primary.ez-pulse-cta,
  .ez-pulse-cta.mz-btn--primary {
    animation: none !important;
  }
}

/* ── Sticky footer layout (mz pages) ── */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Match homepage content width (~1200px). !important beats inline 920px. */
.mz-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
}

.ez-site-footer {
  margin-top: auto;
}

/* ── Footer trust strip (mz pages) ── */
.mz-footer {
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}

.mz-footer__note {
  margin: 12px 0 0;
  color: #6d7f96;
  font-size: 0.82rem;
}

.ez-footer-trust {
  width: 100%;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--ez-line);
  margin-bottom: 4px;
}

.ez-footer-trust--compact {
  padding-bottom: 12px;
}

.ez-footer-trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
  align-items: center;
}

.ez-footer-trust__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--ez-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ez-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.ez-footer-trust__pill--ok {
  color: #7dffb0;
  border-color: rgba(57, 185, 111, 0.35);
}

.ez-footer-trust__pill--link {
  text-decoration: none;
  color: var(--ez-cyan);
}

.ez-footer-trust__pill--link:hover {
  color: #fff;
}

.ez-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #39b96f;
  box-shadow: 0 0 0 0 rgba(57, 185, 111, 0.5);
  animation: ez-dot-pulse 2s ease-out infinite;
}

@keyframes ez-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(57, 185, 111, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(57, 185, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 185, 111, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ez-status__dot {
    animation: none;
  }
}

/* ── Unified site footer (compact partner) ── */
.ez-site-footer__grid {
  display: grid;
  gap: 20px 24px;
  align-items: start;
  text-align: left;
  margin-top: 16px;
}

.ez-site-footer__grid--compact {
  grid-template-columns: 1fr 1fr;
}

.ez-site-footer__col .ez-footer-col__title {
  margin: 0 0 10px;
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

/* ── Footer nav groups (compact partner pages) ── */
.ez-footer-nav-wrap {
  border: none;
  margin: 0;
  padding: 0;
}

.ez-footer-col--nav {
  border-top: 1px solid var(--ez-line);
  padding-top: 16px;
}

.ez-footer-nav-wrap__summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.ez-footer-nav-wrap__summary::-webkit-details-marker {
  display: none;
}

.ez-footer-nav-wrap__summary::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 2px;
  transition: transform 0.15s ease;
  color: var(--ez-muted);
}

.ez-footer-nav-wrap[open] .ez-footer-nav-wrap__summary::before {
  transform: rotate(90deg);
}

.ez-footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 4px;
}

.ez-footer-nav-groups--compact {
  grid-template-columns: repeat(2, 1fr);
}

.ez-footer-nav-group {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--ez-line);
  background: rgba(255, 255, 255, 0.03);
}

.ez-footer-nav-group__title {
  margin: 0 0 8px;
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.ez-footer-nav-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ez-footer-nav-group__link {
  display: block;
  padding: 3px 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ez-muted);
  text-decoration: none;
}

.ez-footer-nav-group__link:hover {
  color: var(--ez-cyan);
}

.ez-site-footer__disclaimer {
  margin: 0 0 10px;
  color: var(--ez-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ez-site-footer__legal {
  margin: 8px 0 0;
  color: var(--ez-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.ez-site-footer__legal a {
  color: var(--ez-cyan);
}

.ez-site-footer .ez-footer-legal-details {
  margin-top: 4px;
}

.ez-site-footer .ez-footer-legal-details__summary {
  cursor: pointer;
  color: var(--ez-muted);
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.ez-site-footer .ez-footer-legal-details__summary::-webkit-details-marker {
  display: none;
}

.ez-site-footer .ez-footer-legal-details__summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.15s ease;
}

.ez-site-footer .ez-footer-legal-details[open] .ez-footer-legal-details__summary::before {
  transform: rotate(90deg);
}

.ez-site-footer .ez-footer-legal-details[open] .ez-footer-legal-details__summary {
  margin-bottom: 6px;
  color: #fff;
}

@media (max-width: 720px) {
  .ez-site-footer__grid--compact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ez-footer-nav-groups,
  .ez-footer-nav-groups--compact {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ez-footer-nav-wrap[open] .ez-footer-nav-wrap__summary {
    margin-bottom: 10px;
    color: #fff;
  }
}

@media (min-width: 721px) {
  .ez-footer-nav-wrap__summary {
    pointer-events: none;
    cursor: default;
  }

  .ez-footer-nav-wrap__summary::before {
    display: none;
  }
}

/* ── Compact sticky nav (mz pages, 20260904pass) ── */
.mz-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  margin: 0 0 8px;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.96) 60%, rgba(5, 10, 18, 0.7));
  backdrop-filter: blur(10px);
}

.mz-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 180, 220, 0.12);
}

.mz-nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ez-muted, #93a4bc);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.mz-nav__links a:hover {
  color: #fff;
  background: rgba(2, 115, 245, 0.22);
}

/* FAQ titles — no purple (shared override for mz + hero FAQ) */
.mz-faq > h2,
.mz-section.mz-faq > h2,
.ez-faq-title {
  color: #fff;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #fff;
}

.mz-faq summary,
.ez-hero-faq summary {
  color: #fff;
  background: transparent !important;
  background-image: none !important;
}

.mz-faq summary::before,
.ez-hero-faq summary::before {
  content: none !important;
  display: none !important;
}

html[data-theme="light"] .mz-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 60%, rgba(255, 255, 255, 0.75));
  border-bottom: 1px solid #dde3e9;
}

html[data-theme="light"] .mz-nav__links {
  background: #f0f4f8;
  border-color: #dde3e9;
}

html[data-theme="light"] .mz-nav__links a {
  color: #3d4a5c;
}

html[data-theme="light"] .mz-nav__links a:hover {
  color: #0273f5;
  background: rgba(2, 115, 245, 0.1);
}

html[data-theme="light"] .mz-faq > h2,
html[data-theme="light"] .mz-faq summary,
html[data-theme="light"] .ez-faq-title {
  color: #1a2233;
  -webkit-text-fill-color: #1a2233;
}

/* Sticky header inside mz-wrap (styles primarily in site-skin.css) */
.ez-mz-page .ez-sticky-header {
  margin-left: 0;
  margin-right: 0;
  margin-top: 8px;
}

.ez-mz-page .mz-wrap {
  padding-top: 0;
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mz-mobile-cta {
    z-index: 60;
  }

  details,
  summary,
  .mz-faq summary,
  .mz-btn,
  a.mz-card {
    scroll-margin-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Guides-style news board (/novosti/) — dark site atmosphere ── */
.ez-guide-card[hidden] {
  display: none !important;
}

.ez-guides-board {
  margin: 16px 0 28px;
  padding: 12px 0 8px;
  border-radius: 0;
  background: transparent;
  color: #e8eef7;
  box-shadow: none;
}

.ez-guides-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: #6d7f96;
}

.ez-guides-crumbs a {
  color: #93a4bc;
  text-decoration: none;
}

.ez-guides-crumbs a:hover {
  color: #04ffff;
}

.ez-guides-head {
  margin: 0 0 22px;
}

.ez-guides-head h1 {
  margin: 0 0 10px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}

.ez-guides-head p {
  margin: 0;
  max-width: 62ch;
  color: #93a4bc;
  font-size: 1.02rem;
  line-height: 1.5;
}

.ez-guides-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.ez-guides-filter {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 180, 220, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #e8eef7;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ez-guides-filter:hover {
  border-color: rgba(4, 255, 255, 0.45);
  color: #04ffff;
}

.ez-guides-filter.is-active {
  color: #041018;
  border-color: transparent;
  background: linear-gradient(135deg, #04ffff, #0273f5);
}

.ez-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
}

.ez-guide-card {
  margin: 0;
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 180, 220, 0.14);
  background: linear-gradient(165deg, rgba(14, 26, 44, 0.92), rgba(7, 14, 24, 0.88));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ez-guide-card:hover {
  border-color: rgba(4, 255, 255, 0.35);
  transform: translateY(-2px);
}

.ez-guide-card--lg {
  grid-column: span 2;
}

.ez-guide-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ez-guide-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  background: #0a1422;
  margin-bottom: 12px;
}

.ez-guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ez-guide-card__link:hover .ez-guide-card__media img {
  transform: scale(1.04);
}

.ez-guide-card__media--mirror {
  background: linear-gradient(135deg, #0273f5, #04ffff 60%, #0a1422);
}

.ez-guide-card__media--promo,
.ez-guide-card__media--promo2 {
  background: linear-gradient(135deg, #16325c, #0273f5);
}

.ez-guide-card__media--cash {
  background: linear-gradient(135deg, #0d3b2c, #39b96f);
}

.ez-guide-card__media--mobile {
  background: linear-gradient(135deg, #1a1040, #0273f5);
}

.ez-guide-card__media--access,
.ez-guide-card__media--safe,
.ez-guide-card__media--list {
  background: linear-gradient(135deg, #101820, #2a4a6a);
}

.ez-guide-card__media--sport {
  background: linear-gradient(135deg, #1a1020, #a61b2b 55%, #0a1422);
}

.ez-guide-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ez-guide-card__meta time {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6d7f96;
}

.ez-guide-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #0273f5;
}

.ez-guide-card__title {
  margin: 0 0 8px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #fff;
}

.ez-guide-card--lg .ez-guide-card__title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.ez-guide-card__lead {
  margin: 0;
  color: #93a4bc;
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ez-guide-card--lg .ez-guide-card__lead {
  font-size: 0.98rem;
  -webkit-line-clamp: 3;
}

.ez-guide-card__link:hover .ez-guide-card__title {
  color: #04ffff;
}

.ez-guides-empty {
  margin: 12px 0 0;
  color: #93a4bc;
  font-size: 0.95rem;
}

.ez-guides-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 180, 220, 0.14);
}

.ez-guides-board .mz-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 180, 220, 0.22);
}

.ez-guides-board .mz-btn--ghost:hover {
  color: #fff;
  border-color: rgba(4, 255, 255, 0.45);
  background: rgba(2, 115, 245, 0.22);
}

.ez-guides-page .ez-site-footer,
.ez-guides-page .mz-footer {
  color: #93a4bc;
}

.ez-guides-page .ez-site-footer a {
  color: #04ffff;
}

@media (max-width: 960px) {
  .ez-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ez-guide-card--lg {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .ez-guides-board {
    margin-top: 12px;
    padding: 8px 0 4px;
  }

  .ez-guides-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ez-guide-card--lg {
    grid-column: auto;
  }

  .ez-guides-filter {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.84rem;
  }
}

/* ── Long-form news articles (/novosti/<slug>/) — BK-style layout ── */
.ez-article {
  width: min(100%, 760px);
  margin: 8px auto 36px;
  padding: 0 0 12px;
}

.ez-article-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: #6d7f96;
}

.ez-article-crumbs a {
  color: #93a4bc;
  text-decoration: none;
}

.ez-article-crumbs a:hover {
  color: #04ffff;
}

.ez-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: #6d7f96;
}

.ez-article-meta__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #041018;
  background: linear-gradient(135deg, #04ffff, #0273f5);
}

.ez-article-meta time,
.ez-article-meta__read {
  font-weight: 600;
}

.ez-article-meta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(148, 180, 220, 0.45);
}

.ez-article__title {
  margin: 0 0 14px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
}

.ez-article__lead {
  margin: 0 0 22px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #b8c8dc;
  max-width: 62ch;
}

.ez-article-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  border-radius: 18px;
  border: 1px solid rgba(148, 180, 220, 0.16);
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #0a1422, #123056 55%, #071018);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.ez-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.ez-article-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 18, 0.78));
  pointer-events: none;
}

.ez-article-hero--mirror {
  background: linear-gradient(135deg, #0273f5, #04ffff 55%, #0a1422);
}

.ez-article-hero--bonus {
  background: linear-gradient(135deg, #16325c, #0273f5 50%, #0a1422);
}

.ez-article-hero--login {
  background: linear-gradient(135deg, #101820, #2a4a6a 50%, #071018);
}

.ez-article-hero--app {
  background: linear-gradient(135deg, #1a1040, #0273f5 55%, #071018);
}

.ez-article-hero--cash {
  background: linear-gradient(135deg, #0d3b2c, #39b96f 45%, #071018);
}

.ez-article-toc {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(148, 180, 220, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.ez-article-toc__label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04ffff;
}

.ez-article-toc ol {
  margin: 0;
  padding-left: 1.15em;
  color: #93a4bc;
}

.ez-article-toc li {
  margin: 0 0 6px;
}

.ez-article-toc a {
  color: #c5d4e8;
  text-decoration: none;
}

.ez-article-toc a:hover {
  color: #04ffff;
}

.ez-article-body {
  color: #93a4bc;
  font-size: 1.02rem;
  line-height: 1.65;
}

.ez-article-body > p {
  margin: 0 0 16px;
  max-width: 64ch;
}

.ez-article-body h2 {
  margin: 32px 0 12px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  letter-spacing: -0.03em;
  color: #fff;
  scroll-margin-top: 88px;
}

.ez-article-body h3 {
  margin: 22px 0 10px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: #e8eef7;
  scroll-margin-top: 88px;
}

.ez-article-body ul,
.ez-article-body ol {
  margin: 0 0 18px;
  padding-left: 1.2em;
  max-width: 62ch;
}

.ez-article-body li {
  margin: 0 0 8px;
}

.ez-article-callout {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(4, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(2, 115, 245, 0.16), rgba(4, 255, 255, 0.06));
  color: #cfe0f4;
}

.ez-article-callout strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
}

.ez-article-callout--warn {
  border-color: rgba(255, 180, 70, 0.35);
  background: linear-gradient(135deg, rgba(180, 110, 20, 0.18), rgba(255, 180, 70, 0.05));
}

.ez-article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 180, 220, 0.18);
  background: linear-gradient(165deg, rgba(14, 26, 44, 0.95), rgba(7, 14, 24, 0.9));
}

.ez-article-cta__text {
  flex: 1 1 220px;
  margin: 0;
  color: #b8c8dc;
  font-size: 0.95rem;
}

.ez-article-cta__text strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.05rem;
}

.ez-article-cta .mz-btn {
  flex: 0 0 auto;
  align-self: center;
}

.ez-article-faq {
  margin: 28px 0 8px;
}

.ez-article-faq details {
  margin: 0 0 10px;
  border-bottom: 1px solid rgba(148, 180, 220, 0.14);
  padding: 2px 0 12px;
}

.ez-article-faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 12px 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ez-article-faq summary::-webkit-details-marker {
  display: none;
}

.ez-article-faq summary::after {
  content: "+";
  color: #04ffff;
  font-size: 1.25rem;
  line-height: 1;
}

.ez-article-faq details[open] summary::after {
  content: "−";
}

.ez-article-faq p {
  margin: 0;
  color: #93a4bc;
  max-width: 62ch;
}

.ez-article-related {
  margin: 36px 0 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 180, 220, 0.14);
}

.ez-article-related h2 {
  margin: 0 0 14px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.ez-article-back {
  margin: 24px 0 0;
  font-size: 0.95rem;
}

.ez-article-back a {
  color: #93a4bc;
  text-decoration: none;
}

.ez-article-back a:hover {
  color: #04ffff;
}

@media (max-width: 720px) {
  .ez-article {
    margin-top: 4px;
  }

  .ez-article__lead {
    font-size: 1.02rem;
  }

  .ez-article-hero {
    border-radius: 14px;
    margin-bottom: 22px;
  }

  .ez-article-cta {
    padding: 14px;
  }

  .ez-article-body h2 {
    scroll-margin-top: 120px;
  }
}

/* ===== Ставки на спорт (/stavki-na-sport/) ===== */
.ez-sport-page .mz-hero {
  isolation: isolate;
}

.ez-sport-pitch {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(340px, 48vw);
  height: min(220px, 32vw);
  border: 1px solid rgba(4, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(2, 115, 245, 0.18), rgba(8, 16, 28, 0.2)),
    repeating-linear-gradient(
      90deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.03) 18px 19px
    );
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  animation: ez-sport-pitch-float 9s ease-in-out infinite alternate;
}

.ez-sport-pitch__line {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(4, 255, 255, 0.35);
  transform: translateX(-50%);
}

.ez-sport-pitch__circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(4, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@keyframes ez-sport-pitch-float {
  from { transform: translateY(0) rotate(-2deg); opacity: 0.75; }
  to { transform: translateY(10px) rotate(1deg); opacity: 0.95; }
}

.ez-sport-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 4px;
}

.ez-sport-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 180, 220, 0.16);
  background:
    linear-gradient(165deg, rgba(15, 28, 48, 0.95), rgba(7, 14, 24, 0.98));
  text-decoration: none;
  color: #e8eef7;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ez-sport-tile::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 255, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.ez-sport-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(4, 255, 255, 0.42);
  box-shadow: 0 14px 36px rgba(2, 115, 245, 0.22);
  color: #fff;
}

.ez-sport-tile strong {
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.ez-sport-tile > span:last-child {
  color: #93a4bc;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 22ch;
  position: relative;
  z-index: 1;
}

.ez-sport-tile__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(4, 255, 255, 0.85), rgba(2, 115, 245, 0.95));
  box-shadow: 0 8px 20px rgba(2, 115, 245, 0.28);
}

.ez-sport-tile--foot .ez-sport-tile__mark {
  clip-path: circle(46% at 50% 50%);
}

.ez-sport-tile--hockey .ez-sport-tile__mark {
  border-radius: 40% 40% 20% 20%;
  background: linear-gradient(135deg, #7ad7ff, #0273f5);
}

.ez-sport-tile--tennis .ez-sport-tile__mark {
  border-radius: 50%;
  background: linear-gradient(135deg, #b8ff6a, #39b96f);
}

.ez-sport-tile--basket .ez-sport-tile__mark {
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb347, #0273f5);
}

.ez-sport-tile--esport .ez-sport-tile__mark {
  border-radius: 8px;
  background: linear-gradient(135deg, #04ffff, #0a4d8c);
}

.ez-sport-tile--more .ez-sport-tile__mark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 180, 220, 0.28);
  box-shadow: none;
}

.ez-sport-tile--more .ez-sport-tile__mark::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #04ffff;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.ez-sport-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ez-sport-mode {
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 180, 220, 0.16);
  background: linear-gradient(160deg, rgba(12, 22, 38, 0.95), rgba(6, 12, 22, 0.98));
}

.ez-sport-mode h3 {
  margin: 0 0 8px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.ez-sport-mode > p {
  margin: 0 0 12px;
  color: #93a4bc;
  max-width: none;
}

.ez-sport-mode ul {
  margin: 0;
  padding-left: 1.1em;
  color: #b8c6d8;
}

.ez-sport-mode li {
  margin: 0 0 6px;
}

.ez-sport-mode__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #041018;
  background: linear-gradient(135deg, #04ffff, #5ad4ff);
}

.ez-sport-mode__badge--live {
  color: #fff;
  background: linear-gradient(135deg, #e23b4a, #0273f5);
}

.ez-sport-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: ez-sport-live-pulse 1.6s ease-out infinite;
}

@keyframes ez-sport-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.ez-sport-mode--live {
  border-color: rgba(226, 59, 74, 0.28);
  background:
    linear-gradient(160deg, rgba(226, 59, 74, 0.12), transparent 45%),
    linear-gradient(160deg, rgba(12, 22, 38, 0.95), rgba(6, 12, 22, 0.98));
}

.ez-sport-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(4, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(2, 115, 245, 0.2), rgba(4, 255, 255, 0.06));
}

.ez-sport-cta-bar strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.ez-sport-cta-bar span {
  color: #93a4bc;
  font-size: 0.92rem;
}

.ez-sport-popular {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ez-sport-popular article {
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 180, 220, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.ez-sport-popular h3 {
  margin: 0 0 8px;
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.ez-sport-popular p {
  margin: 0;
  color: #93a4bc;
  font-size: 0.95rem;
}

.ez-sport-bonus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(4, 255, 255, 0.35);
  background: rgba(2, 115, 245, 0.1);
}

.ez-sport-bonus__code {
  font-family: "Syne", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #041018;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #04ffff, #5ad4ff 50%, #0273f5);
}

.ez-sport-bonus__text {
  flex: 1 1 200px;
}

.ez-sport-bonus__text strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
}

.ez-sport-bonus__text span {
  color: #93a4bc;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .ez-sport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ez-sport-pitch {
    opacity: 0.35;
    right: -18%;
    top: 0;
  }

  .ez-sport-grid,
  .ez-sport-modes,
  .ez-sport-popular {
    grid-template-columns: 1fr;
  }

  .ez-sport-cta-bar {
    align-items: stretch;
  }

  .ez-sport-cta-bar .mz-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ez-sport-pitch,
  .ez-sport-live-dot {
    animation: none !important;
  }
}
