/* Посадочные /ege/zadanie-N/ — premium hero и чипы вариантов */

.page--ege-task-landing .oge-seo-hub {
  max-width: 81rem;
}

.page--ege-task-landing .oge-seo-hub__hero {
  margin-bottom: 2.75rem;
}

.ege-task-landing__nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.25rem);
  margin-bottom: 1rem;
}

.ege-task-landing__nav-title {
  margin: 0;
  text-align: center;
}

.ege-task-landing__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 2px solid #93c5fd;
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 2px 10px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease,
    border-color 0.14s ease;
}

.ege-task-landing__arrow--next:not(.ege-task-landing__arrow--disabled) {
  border-color: #6ee7b7;
  background: linear-gradient(145deg, #10b981 0%, #059669 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 2px 10px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 0 16px rgba(5, 184, 125, 0.45);
}

.ege-task-landing__arrow-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.ege-task-landing__arrow:not(.ege-task-landing__arrow--disabled) .ege-task-landing__arrow-icon path {
  fill: #fff;
}

.ege-task-landing__arrow--prev:not(.ege-task-landing__arrow--disabled):hover {
  transform: translateX(-2px) scale(1.06);
  border-color: #bfdbfe;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 4px 16px rgba(37, 99, 235, 0.55),
    0 0 20px rgba(59, 130, 246, 0.4);
}

.ege-task-landing__arrow--next:not(.ege-task-landing__arrow--disabled):hover {
  transform: translateX(2px) scale(1.06);
  border-color: #a7f3d0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 4px 16px rgba(5, 184, 125, 0.55),
    0 0 20px rgba(16, 185, 129, 0.4);
}

.ege-task-landing__arrow:focus-visible {
  outline: 3px solid #fde047;
  outline-offset: 2px;
}

.ege-task-landing__arrow--disabled {
  pointer-events: none;
  border-color: #64748b;
  background: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.ege-task-landing__arrow--disabled .ege-task-landing__arrow-icon path {
  fill: #cbd5e1;
}

[data-theme="light"] .ege-task-landing__arrow--prev:not(.ege-task-landing__arrow--disabled) {
  border-color: #1d4ed8;
  background: linear-gradient(145deg, #60a5fa 0%, #3b82f6 100%);
}

[data-theme="light"] .ege-task-landing__arrow--next:not(.ege-task-landing__arrow--disabled) {
  border-color: #047857;
  background: linear-gradient(145deg, #34d399 0%, #059669 100%);
}

[data-theme="light"] .ege-task-landing__arrow--disabled {
  border-color: #94a3b8;
  background: #e2e8f0;
}

[data-theme="light"] .ege-task-landing__arrow--disabled .ege-task-landing__arrow-icon path {
  fill: #94a3b8;
}

@media (max-width: 520px) {
  .ege-task-landing__arrow {
    width: 2.35rem;
    height: 2.35rem;
  }

  .ege-task-landing__arrow-icon {
    width: 1.15rem;
    height: 1.15rem;
  }
}

.page--ege-task-landing .oge-seo-hub__title {
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  background: linear-gradient(
    118deg,
    #f8fafc 0%,
    #a7f3d0 38%,
    #6ee7b7 62%,
    #e2e8f0 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__title {
  background: linear-gradient(118deg, #0f172a 0%, #047857 45%, #065f46 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.page--ege-task-landing .oge-seo-hub__lead {
  max-width: 60rem;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.65;
  opacity: 0.9;
}

.page--ege-task-landing .oge-seo-hub__variants {
  max-width: 60rem;
  margin-top: 0.5rem;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background:
    linear-gradient(
      155deg,
      rgba(5, 150, 105, 0.14) 0%,
      rgba(15, 23, 42, 0.42) 42%,
      rgba(6, 78, 59, 0.1) 100%
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__variants {
  border-color: rgba(5, 150, 105, 0.35);
  background: linear-gradient(
    155deg,
    rgba(236, 253, 245, 0.95) 0%,
    rgba(255, 255, 255, 0.92) 55%,
    rgba(209, 250, 229, 0.75) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 14px 32px rgba(15, 23, 42, 0.08);
}

.page--ege-task-landing .oge-seo-hub__variants-lead {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.page--ege-task-landing .oge-seo-hub__variants-kind {
  opacity: 0.88;
  color: #6ee7b7;
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__variants-kind {
  color: #047857;
}

.page--ege-task-landing .oge-seo-hub__variants-chips {
  gap: 0.55rem;
}

.page--ege-task-landing .oge-seo-hub__variant-chip {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(110, 231, 183, 0.55);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #ecfdf5;
  background: linear-gradient(
    128deg,
    rgba(5, 150, 105, 0.72) 0%,
    rgba(16, 185, 129, 0.42) 48%,
    rgba(4, 120, 87, 0.58) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 18px rgba(5, 150, 105, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

.page--ege-task-landing .oge-seo-hub__variant-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 52%
  );
  pointer-events: none;
}

.page--ege-task-landing .oge-seo-hub__variant-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 243, 208, 0.9);
  background: linear-gradient(128deg, #059669 0%, #10b981 52%, #047857 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 10px 24px rgba(5, 150, 105, 0.38),
    0 0 20px rgba(52, 211, 153, 0.22);
  filter: brightness(1.04);
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__variant-chip {
  color: #064e3b;
  border-color: rgba(5, 150, 105, 0.45);
  background: linear-gradient(
    128deg,
    rgba(209, 250, 229, 0.95) 0%,
    rgba(167, 243, 208, 0.72) 50%,
    rgba(110, 231, 183, 0.55) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(5, 150, 105, 0.14);
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__variant-chip:hover {
  color: #fff;
  background: linear-gradient(128deg, #059669 0%, #10b981 52%, #047857 100%);
}

.page--ege-task-landing .oge-seo-hub__variant-chip--author {
  border-style: solid;
  border-color: rgba(167, 139, 250, 0.62);
  color: #f5f3ff;
  background: linear-gradient(
    128deg,
    rgba(109, 40, 217, 0.62) 0%,
    rgba(139, 92, 246, 0.42) 50%,
    rgba(91, 33, 182, 0.55) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 6px 18px rgba(109, 40, 217, 0.26);
}

.page--ege-task-landing .oge-seo-hub__variant-chip--author:hover {
  border-color: rgba(221, 214, 254, 0.9);
  background: linear-gradient(128deg, #7c3aed 0%, #a855f7 52%, #6d28d9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 10px 24px rgba(109, 40, 217, 0.34),
    0 0 20px rgba(167, 139, 250, 0.2);
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__variant-chip--author {
  color: #4c1d95;
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(
    128deg,
    rgba(237, 233, 254, 0.95) 0%,
    rgba(221, 214, 254, 0.75) 55%,
    rgba(196, 181, 253, 0.55) 100%
  );
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__variant-chip--author:hover {
  color: #fff;
}

.page--ege-task-landing .oge-seo-hub__cta--secondary {
  border-width: 1.5px;
  font-weight: 650;
  background: linear-gradient(
    128deg,
    rgba(5, 150, 105, 0.12) 0%,
    rgba(15, 23, 42, 0.2) 100%
  );
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}

.page--ege-task-landing .oge-seo-hub__cta--secondary:hover {
  background: linear-gradient(128deg, rgba(5, 150, 105, 0.22) 0%, rgba(4, 120, 87, 0.18) 100%);
  opacity: 1;
}

.page--ege-task-landing .oge-seo-hub__hero > .oge-seo-hub__cta {
  margin-top: 0.25rem;
  padding: 0.72rem 1.45rem;
  font-weight: 650;
  border: 1px solid rgba(110, 231, 183, 0.35);
  background: linear-gradient(128deg, #059669 0%, #10b981 48%, #047857 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 22px rgba(5, 150, 105, 0.32);
}

.page--ege-task-landing .oge-seo-hub__hero > .oge-seo-hub__cta:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 12px 28px rgba(5, 150, 105, 0.38);
}

.page--ege-task-landing .oge-seo-hub__section {
  padding: 1.1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .page--ege-task-landing .oge-seo-hub__section {
  background: rgba(248, 250, 252, 0.88);
  border-color: rgba(148, 163, 184, 0.22);
}

.page--ege-task-landing.page--home {
  padding-bottom: calc(var(--home-bottom-fixed-height) + 4.75rem);
}

@media (max-width: 768px) {
  .page--ege-task-landing.page--home {
    padding-bottom: calc(var(--home-bottom-fixed-height) + 3.85rem);
  }

  .page--ege-task-landing .oge-seo-hub__variant-chip {
    font-size: 0.84rem;
    padding: 0.45rem 0.8rem;
  }
}
