.onecevent {
  --event-navy: #061638;
  --event-blue: #3569dc;
  --event-red: #ef2b1f;
  --event-yellow: #ffd91a;
  --event-ink: #07142f;
  --event-soft: #f3f7ff;
  color: var(--event-ink);
}

.onecevent * {
  box-sizing: border-box;
}

.onecevent__hero,
.onecevent__talk,
.onecevent__registration {
  border-radius: 28px;
}

.onecevent__hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  margin-bottom: 56px;
  padding: clamp(30px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(6, 22, 56, 0.98) 0%, rgba(6, 22, 56, 0.92) 48%, rgba(6, 22, 56, 0.28) 100%),
    url("/upload/events/1c-event-2026-11-27/preview-900x490.jpg") center / cover no-repeat;
  color: #f7fbff;
  box-shadow: 0 28px 80px rgba(6, 22, 56, 0.24);
}

.onecevent__hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.onecevent__eyebrow {
  margin-bottom: 16px;
  color: var(--event-yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.onecevent__hero h2,
.onecevent__hero p {
  color: inherit;
}

.onecevent__hero h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

.onecevent__hero p {
  max-width: 620px;
  color: rgba(247, 251, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

.onecevent__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.onecevent__fact {
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.onecevent__fact strong,
.onecevent__fact span {
  display: block;
}

.onecevent__fact strong {
  color: #fff;
  font-size: 16px;
}

.onecevent__fact span {
  margin-top: 4px;
  color: rgba(247, 251, 255, 0.68);
  font-size: 13px;
}

.onecevent__section {
  margin: 64px 0;
}

.onecevent__section > h2 {
  max-width: 900px;
  margin-bottom: 26px;
  color: #f7fbff;
}

.onecevent__intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.onecevent__intro-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(6, 22, 56, 0.1);
}

.onecevent__intro-card--accent {
  background: var(--event-yellow);
}

.onecevent__intro-card h3 {
  margin-top: 0;
}

.onecevent__intro-card p:last-child {
  margin-bottom: 0;
}

.onecevent__highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.onecevent__highlight {
  min-height: 142px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(6, 22, 56, 0.1);
}

.onecevent__highlight strong,
.onecevent__highlight span {
  display: block;
}

.onecevent__highlight strong {
  margin-bottom: 10px;
  color: var(--event-red);
  font-size: clamp(23px, 2.4vw, 28px);
  line-height: 1;
}

.onecevent__highlight span {
  color: var(--event-ink);
  font-size: 15px;
  line-height: 1.4;
}

.onecevent__program {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.onecevent__program-item {
  padding: 24px;
  border: 1px solid rgba(53, 105, 220, 0.14);
  border-radius: 20px;
  background: var(--event-soft);
}

.onecevent__program-item h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.onecevent__program-item p {
  margin: 0;
  color: #52617a;
  font-size: 15px;
  line-height: 1.5;
}

.onecevent__finale {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 22px;
}

.onecevent__finale-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 24px;
  background: linear-gradient(145deg, #8f100c, var(--event-red));
  color: #fff;
}

.onecevent__finale-card--music {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.36), transparent 38%),
    var(--event-yellow);
  color: var(--event-ink);
}

.onecevent__finale-card h3,
.onecevent__finale-card p {
  color: inherit;
}

.onecevent__finale-card h3 {
  margin: 0 0 12px;
}

.onecevent__finale-card p:last-child {
  margin-bottom: 0;
}

.onecevent__guest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.onecevent__guest {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(6, 22, 56, 0.11);
}

.onecevent__guest img {
  display: block;
  width: 100%;
  height: 300px;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

.onecevent__guest-info {
  padding: 21px 20px 24px;
  border-top: 5px solid var(--event-yellow);
}

.onecevent__guest h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.onecevent__guest p {
  margin: 0;
  color: #52617a;
  font-size: 14px;
  line-height: 1.5;
}

.onecevent__talks {
  display: grid;
  gap: 22px;
}

.onecevent__talk {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 58px rgba(6, 22, 56, 0.12);
}

.onecevent__talk-head {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: stretch;
  background: var(--event-navy);
  color: #fff;
}

.onecevent__time {
  display: grid;
  place-items: center;
  min-height: 128px;
  background: var(--event-red);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.onecevent__talk-title {
  padding: 24px 28px;
}

.onecevent__talk-title small {
  display: block;
  margin-bottom: 8px;
  color: var(--event-yellow);
  font-weight: 800;
}

.onecevent__talk-title h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.14;
}

.onecevent__talk-body {
  padding: clamp(26px, 4vw, 42px);
}

.onecevent__talk-body p:last-child,
.onecevent__talk-body ul:last-child {
  margin-bottom: 0;
}

.onecevent__speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.onecevent__speaker {
  overflow: hidden;
  border-radius: 22px;
  background: var(--event-soft);
}

.onecevent__speaker img {
  display: block;
  width: 100%;
  height: 260px;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

.onecevent__speaker-info {
  padding: 19px 18px 22px;
  border-top: 5px solid var(--event-red);
}

.onecevent__speaker h3 {
  margin: 0 0 7px;
  font-size: 21px;
}

.onecevent__speaker p {
  margin: 0;
  color: #52617a;
  font-size: 14px;
  line-height: 1.45;
}

.onecevent__registration {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.74), transparent 34%),
    var(--event-yellow);
}

.onecevent__registration h2 {
  margin-bottom: 12px;
  color: var(--event-ink);
}

.onecevent__registration p {
  max-width: 760px;
}

.onecevent__promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  max-width: 780px;
  margin: 24px 0 8px;
  padding: 16px 20px;
  border: 1px solid rgba(7, 20, 47, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 20, 47, 0.14);
}

.onecevent__promo-discount {
  color: var(--event-red);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.onecevent__promo-main {
  display: grid;
  gap: 5px;
  color: var(--event-ink);
  font-weight: 700;
}

.onecevent__promo-code {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--event-navy);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.onecevent__promo-note {
  margin-left: auto;
  color: #52617a;
  font-size: 14px;
  font-weight: 700;
}

.onecevent__cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--event-navy);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.onecevent__cta:hover {
  background: var(--event-red);
}

@media (max-width: 900px) {
  .onecevent__facts,
  .onecevent__speaker-grid,
  .onecevent__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onecevent__intro,
  .onecevent__finale {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .onecevent__hero,
  .onecevent__talk,
  .onecevent__registration {
    border-radius: 20px;
  }

  .onecevent__facts,
  .onecevent__speaker-grid,
  .onecevent__highlights,
  .onecevent__program,
  .onecevent__guest-grid {
    grid-template-columns: 1fr;
  }

  .onecevent__talk-head {
    grid-template-columns: 1fr;
  }

  .onecevent__time {
    min-height: 72px;
  }

  .onecevent__speaker {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .onecevent__speaker img {
    height: 100%;
    min-height: 150px;
  }

  .onecevent__speaker-info {
    border-top: 0;
    border-left: 5px solid var(--event-red);
  }

  .onecevent__guest {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .onecevent__guest img {
    height: 100%;
    min-height: 170px;
  }

  .onecevent__guest-info {
    border-top: 0;
    border-left: 5px solid var(--event-yellow);
  }

  .onecevent__promo {
    align-items: flex-start;
  }

  .onecevent__promo-note {
    width: 100%;
    margin-left: 0;
  }
}
