/* ==========================================================================
   Somachir — Congress Hero Widget
   ========================================================================== */

.smch-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0b1f3a;
}

/* --------------------------------------------------------------------------
   Background & Overlay
   -------------------------------------------------------------------------- */
.smch-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
}

/* Left-heavy gradient — content readable, right edge lighter */
.smch-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,  rgba(8,22,46,0.96) 0%, rgba(8,22,46,0.75) 55%, rgba(8,22,46,0.40) 100%),
    linear-gradient(to bottom, rgba(8,22,46,0.30) 0%, rgba(8,22,46,0.10) 60%, rgba(8,22,46,0.70) 100%);
}

/* --------------------------------------------------------------------------
   Inner — two columns
   -------------------------------------------------------------------------- */
.smch-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 180px 64px 120px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 80px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   LEFT — heading · sessions · CTA
   -------------------------------------------------------------------------- */
.smch-hero__left {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* Edition tag */
.smch-hero__edition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 6px 16px;
  width: fit-content;
}

/* Heading block */
.smch-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.smch-hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.2;
}

.smch-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  /* Subtle accent underline */
  position: relative;
  display: inline-block;
}

.smch-hero__title::after {
  content: '';
  display: block;
  height: 4px;
  width: 64px;
  background: var(--color-accent);
  margin-top: 30px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Sessions
   -------------------------------------------------------------------------- */


.smch-hero__sessions-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.smch-hero__sessions-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  flex-shrink: 0;
  display: inline-block;
}

.smch-hero__sessions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.smch-hero__sessions-list li {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  padding-left: 16px;
  position: relative;
}

.smch-hero__sessions-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

/* CTA */
.smch-hero__cta {
  align-self: flex-start;
  padding: 15px 52px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.4s cubic-bezier(0.16,1,0.3,1),
    color      0.4s cubic-bezier(0.16,1,0.3,1),
    border-color 0.4s cubic-bezier(0.16,1,0.3,1);
}

.smch-hero__cta:hover {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   RIGHT — circle · countdown · details
   -------------------------------------------------------------------------- */
.smch-hero__right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: stretch;
}

/* --------------------------------------------------------------------------
   Countdown — ticket
   -------------------------------------------------------------------------- */
.smch-hero__countdown {
  width: 100%;
}

.smch-hero__countdown-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.smch-hero__countdown-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.smch-hero__countdown-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.smch-hero__countdown-grid {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

/* ── Ticket card ── */
.smch-cd-ticket {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Top half — the number */
.smch-cd-ticket__top {
  background: rgba(255,255,255,0.12);
  border: none;
  padding: 14px 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Dashed tear line */
.smch-cd-ticket__top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
}

/* Bottom half — label */
.smch-cd-ticket__bottom {
  background: var(--color-accent);
  border: none;
  padding: 6px 6px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Notch circles — hidden */
.smch-cd-ticket__notch { display: none; }

/* Divider between tickets — thin vertical line */
.smch-cd-ticket + .smch-cd-sep + .smch-cd-ticket,
.smch-cd-sep + .smch-cd-ticket {
  border-left: none;
}

/* Number slot — clips the two sliding layers */
.smch-cd-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 1.4em;
  width: 100%;
}

/* Current and incoming value layers */
.smch-cd-num__cur,
.smch-cd-num__next {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Next starts hidden below */
.smch-cd-num__next {
  transform: translateY(100%);
  opacity: 0;
}

/* Label */
.smch-cd-lbl {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* Separator between tickets */
.smch-cd-sep {
  display: none;
}

/* --------------------------------------------------------------------------
   Details — date + location
   -------------------------------------------------------------------------- */
.smch-hero__details {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(27, 79, 138, 0.18);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 2px solid var(--color-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.25);
}

.smch-hero__detail-block {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.smch-hero__detail-block--location {
  border-left: 1px solid rgba(255,255,255,0.12);
}

/* Icon + label row */
.smch-hero__detail-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.smch-hero__detail-eyebrow svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: #fff;
}

/* Main value */
.smch-hero__detail-value {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  display: block;
}

/* Sub — city */
.smch-hero__detail-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .smch-hero__inner {
    grid-template-columns: 1fr 440px;
    gap: 56px;
    padding: 160px 48px 100px;
  }
}

@media (max-width: 1024px) {
  .smch-hero__inner {
    grid-template-columns: 1fr;
    padding: 160px 40px 80px;
    gap: 56px;
    align-items: start;
  }

  .smch-hero__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Stronger overlay so text is always readable */
  .smch-hero__overlay {
    background:
      linear-gradient(to bottom, rgba(8,22,46,0.92) 0%, rgba(8,22,46,0.78) 55%, rgba(8,22,46,0.92) 100%);
  }

  /* Main grid — single column, tight padding */
  .smch-hero__inner {
    padding: 130px 20px 48px;
    gap: 16px;
    align-items: start;
  }

  /* Left column */
  .smch-hero__left {
    gap: 28px;
  }

  /* Edition tag — compact */
  .smch-hero__edition {
    font-size: 8px;
    padding: 4px 10px;
    letter-spacing: 0.16em;
  }

  /* Heading block */
  .smch-hero__heading {
    gap: 6px;
  }

  .smch-hero__eyebrow {
    font-size: 18px;
    line-height: 1.4;
  }

  .smch-hero__title {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0.04em;
  }

  .smch-hero__title::after {
    width: 32px;
    height: 3px;
    margin-top: 16px;
    margin-bottom: 0;
  }

  /* Sessions */
  .smch-hero__sessions-label {
    font-size: 10px;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
  }

  .smch-hero__sessions-list {
    gap: 10px;
  }

  .smch-hero__sessions-list li {
    font-size: 13px;
    line-height: 1.6;
    padding-left: 12px;
  }

  .smch-hero__sessions-list li::before {
    top: 8px;
    width: 5px;
  }

  /* CTA — full width, comfortable tap target */
  .smch-hero__cta {
    align-self: stretch;
    text-align: center;
    padding: 13px 20px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  /* Right column */
  .smch-hero__right {
    gap: 12px;
    width: 100%;
  }

  /* Countdown label */
  .smch-hero__countdown-label {
    font-size: 7px;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
  }

  /* Countdown grid — equal columns */
  .smch-hero__countdown-grid {
    gap: 3px;
  }

  /* Ticket top */
  .smch-cd-ticket__top {
    padding: 10px 2px 8px;
  }

  /* Ticket bottom */
  .smch-cd-ticket__bottom {
    padding: 4px 2px 5px;
  }

  /* Numbers */
  .smch-cd-num {
    font-size: 22px;
    height: 1.25em;
  }

  /* Labels */
  .smch-cd-lbl {
    font-size: 6px;
    letter-spacing: 0.1em;
  }

  /* Details card — stack nicely */
  .smch-hero__details {
    grid-template-columns: 1fr 1fr;
  }

  .smch-hero__detail-block {
    padding: 12px 14px;
  }

  .smch-hero__detail-eyebrow {
    font-size: 8px;
    margin-bottom: 4px;
  }

  .smch-hero__detail-value {
    font-size: 11px;
  }

  .smch-hero__detail-sub {
    font-size: 9px;
    margin-top: 2px;
  }
}
