* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.faq-title-wrapper {
  padding-bottom: 16px;
}

.footer-left-wrapper {
  display: block;
}
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.filter-btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.filter-btn-active {
  background-color: var(--neutral--900) !important;
  color: #fff !important;
}

.jobs-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card-item {
  border: 1.5px solid var(--neutral--900);
  border-radius: 8px;
  padding: 24px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 2px 0 0 var(--neutral--900);
}

.job-card-item:hover {
  box-shadow: 0 4px 0 0 var(--neutral--900);
  transform: translateY(-2px);
}

.job-card-header {
  margin-bottom: 16px;
}

.job-company-badge {
  display: inline-block;
  background-color: var(--neutral--100);
  border: 1px solid var(--neutral--200);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral--700);
  margin-bottom: 12px;
}

.job-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--neutral--900);
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral--100);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--neutral--600);
}

.job-description {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--neutral--500);
  margin-bottom: 20px;
}

.job-card-footer {
  margin-top: auto;
}

.job-cta {
  display: inline-block;
  background-color: var(--neutral--900);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.job-cta:hover {
  background-color: var(--neutral--800);
}

.job-hidden {
  display: none !important;
}

.button-secondary-right-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 12px 16px 12px 24px;
  border: 1.5px solid var(--neutral--900);
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 4px 0 0 var(--neutral--900);
  color: var(--neutral--900);
  text-align: center;
  letter-spacing: -.02em;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: background-color .5s cubic-bezier(.6, .6, 0, 1), transform .3s ease, box-shadow .3s ease;
}

.button-secondary-right-icon:hover {
  background-color: var(--neutral--100);
  box-shadow: 0 6px 0 0 var(--neutral--900);
  transform: translateY(-2px);
}

.header-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.header-button-wrapper a {
  margin-left: 0 !important;
  opacity: 1 !important;
}

.header-button-wrapper .button-primary-right-icon,
.header-button-wrapper .button-secondary-right-icon {
  min-width: 260px;
  justify-content: space-between;
}

.target-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.target-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  height: 100%;
}

.target-card {
  border: 1.5px solid var(--neutral--900);
  border-radius: 10px;
  padding: 32px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  box-shadow: 0 4px 0 0 var(--neutral--900);
  cursor: pointer;
  width: 100%;
  min-height: 320px;
  justify-content: space-between;
}

.target-card:hover {
  background-color: var(--neutral--100);
  box-shadow: 0 8px 0 0 var(--neutral--900), 0 0 24px rgba(88, 42, 163, 0.15);
  transform: translateY(-6px) scale(1.02);
  border-color: var(--purple--light);
}

.target-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.target-card-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--neutral--900);
  border-radius: 999px;
  background-color: var(--neutral--100);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.target-card-title {
  letter-spacing: -.02em;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--neutral--900);
}

.target-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral--600);
  margin-bottom: 0;
  flex: 1;
}

.target-card-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--neutral--200);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.target-card-cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral--900);
  letter-spacing: -.02em;
}

.target-card-arrow {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--neutral--900);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform .3s ease, background-color .3s ease;
}

.target-card:hover .target-card-arrow {
  background-color: var(--purple--light);
  transform: translateX(2px);
}

.nav-cta-button {
  display: none;
  min-height: 40px;
  padding: 10px 24px;
  background-color: var(--purple--dark);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
  align-items: center;
}

.nav-cta-button:hover {
  background-color: #6b2fa0;
  box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.nav-cta-button.visible {
  display: inline-flex;
}

.hero-video-placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0d0d0d;
  cursor: pointer;
  overflow: hidden;
}

.hero-video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
}

.hero-video-poster,
.hero-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-video-poster {
  display: block;
  object-fit: cover;
}

.hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background-color .3s ease;
}

.hero-video-placeholder:hover .hero-video-play,
.hero-video-placeholder:focus-visible .hero-video-play {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(14, 14, 14, 0.84);
}

.hero-video-placeholder:focus-visible {
  outline: 3px solid var(--purple--light);
  outline-offset: 4px;
}

@media screen and (max-width: 1200px) {
  .target-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .header-button-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .header-button-wrapper .button-primary-right-icon,
  .header-button-wrapper .button-secondary-right-icon {
    width: 100%;
  }

  .target-cards-grid {
    grid-template-columns: 1fr;
  }

  .target-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .target-card-title {
    font-size: 22px;
  }
}

@media screen and (max-width: 991px) {
  .jobs-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .jobs-grid-container {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    font-size: 13px;
    padding: 6px 16px !important;
  }
}

/* Shared section CTA buttons */
.opportunities-cta-wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.opportunities-cta-wrapper a {
  min-width: 248px;
}

.opportunities-cta-primary {
  background-color: var(--purple--light) !important;
  color: var(--neutral--900) !important;
  border: 1.5px solid var(--neutral--900) !important;
  box-shadow: 0 4px 0 0 var(--neutral--900) !important;
}

.opportunities-cta-primary:hover {
  background-color: var(--purple--lighter) !important;
}

.opportunities-cta-secondary {
  background-color: #fff !important;
  color: var(--neutral--900) !important;
  border: 1.5px solid var(--neutral--900) !important;
  box-shadow: 0 4px 0 0 var(--neutral--900) !important;
}

.opportunities-cta-secondary:hover {
  background-color: var(--neutral--100) !important;
}

.opportunities-cta-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.opportunities-cta-overline {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: .6;
}

@media screen and (max-width: 767px) {
  .opportunities-cta-wrapper {
    gap: 12px;
    flex-direction: column;
  }

  .opportunities-cta-wrapper a {
    width: 100%;
    min-width: 0;
  }
}

    .filter-button { cursor: pointer; transition: all 0.3s; }
    .filter-button.active { background-color: var(--neutral--900); color: #fff; }
    .job-card { margin-bottom: 32px; }
    .hidden { display: none !important; }
    .form-container { 
      background: #fff; 
      padding: 64px; 
      border-radius: 8px; 
      border: 1.5px solid var(--neutral--900);
      box-shadow: 0 8px 0 0 var(--neutral--900);
      margin-top: 80px; 
    }
    .text-field-custom {
      border: 1.5px solid var(--neutral--900);
      border-radius: 4px;
      padding: 12px 16px;
      width: 100%;
      font-family: Inter, sans-serif;
      font-size: 16px;
    }
    .text-field-custom:focus {
      outline: none;
      background-color: var(--neutral--100);
    }
    .jobs-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
    }
    @media screen and (max-width: 767px) {
      .form-container { padding: 32px 20px; }
    }

.best-answers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 60px; }
.best-answer-card { border: 1.5px solid var(--neutral--900); border-radius: 8px; padding: 16px; background-color: #fff; display: flex; flex-direction: column; transition: all 0.3s ease; box-shadow: 0 2px 0 0 var(--neutral--900); height: 100%; }
.best-answer-card:hover { box-shadow: 0 4px 0 0 var(--neutral--900); transform: translateY(-2px); }
.best-answer-number { display: inline-block; background-color: var(--purple--lighter); border: 1px solid var(--purple--base); border-radius: 4px; padding: 4px 8px; font-size: 12px; font-weight: 600; color: var(--purple--dark); margin-bottom: 8px; }
.best-answer-title { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; color: var(--neutral--900); }
.best-answer-summary { font-size: 14px; line-height: 1.5; color: var(--neutral--600); flex: 1; }
.cta-pdf-wrapper { background-color: var(--purple--lighter); border: 1.5px solid var(--purple--base); border-radius: 8px; padding: 48px 40px; text-align: center; margin-bottom: 80px; }
.cta-pdf-title { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--neutral--900); }
.cta-pdf-text { font-size: 16px; line-height: 1.5; margin-bottom: 32px; color: var(--neutral--700); }
.button-pdf { display: inline-block; background-color: var(--neutral--900); color: #fff; padding: 14px 32px; border-radius: 4px; text-decoration: none; font-size: 16px; font-weight: 600; transition: all 0.3s ease; border: 1.5px solid var(--neutral--900); }
.button-pdf:hover { background-color: var(--purple--base); border-color: var(--purple--base); transform: translateY(-2px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: 14px; }
.breadcrumb a { color: var(--purple--base); text-decoration: none; }
.breadcrumb a:hover { color: var(--neutral--900); }
@media screen and (max-width: 991px) { .best-answers-grid { grid-template-columns: 1fr; } }
.category-icon-large { font-size: 64px; margin-bottom: 24px; display: block; }

/* Email Modal Styles */
.email-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); animation: fadeIn 0.3s ease; }
.email-modal.active { display: flex; align-items: center; justify-content: center; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content { background-color: white; padding: 48px; border-radius: 12px; max-width: 500px; width: 90%; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { float: right; font-size: 28px; font-weight: bold; color: var(--neutral--600); cursor: pointer; border: none; background: none; padding: 0; margin-top: -8px; }
.modal-close:hover { color: var(--neutral--900); }
.modal-title { font-size: 24px; font-weight: 700; color: var(--neutral--900); margin-bottom: 16px; margin-top: 0; }
.modal-text { font-size: 16px; line-height: 1.6; color: var(--neutral--600); margin-bottom: 32px; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-input { padding: 12px 16px; border: 1.5px solid var(--neutral--900); border-radius: 4px; font-size: 16px; font-family: inherit; transition: all 0.2s ease; }
.modal-input:focus { outline: none; border-color: var(--purple--base); box-shadow: 0 0 0 3px rgba(103, 87, 254, 0.1); }
.modal-button { padding: 14px 32px; background-color: var(--purple--base); color: white; border: none; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.modal-button:hover { background-color: var(--purple--dark); transform: translateY(-2px); }
.modal-button:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-success { color: var(--purple--base); font-size: 14px; margin-top: 12px; text-align: center; display: none; }

/* FAQ item open-state: scale + yellow background, animated by Webflow IX2 originally */
.faq-item {
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(.6, .6, 0, 1), background-color 0.4s cubic-bezier(.6, .6, 0, 1);
  position: relative;
  z-index: 1;
}
.faq-item.w--open {
  transform: scale3d(1.1, 1.1, 1) !important;
  background-color: rgb(251, 238, 157) !important;
  z-index: 901;
}
.faq-content {
  transition: height 0.3s ease, opacity 0.3s ease;
  height: auto;
}

/* FAQ icon swap: Webflow IX2 toggled opacity via inline style. Replicate via parent class. */
.faq-item:not(.w--open) .faq-minus { opacity: 0 !important; }
.faq-item.w--open .faq-plus { opacity: 0 !important; }
.faq-item.w--open .faq-minus { opacity: 1 !important; }

.jobs-grid {
  margin-top: 96px;
}

.contest-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #006EFF;
  color: #ffffff;
  font-family: var(--font-body, inherit);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.contest-sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.contest-sticky-bar-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.contest-sticky-bar-trophy {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
}
.contest-sticky-bar-text { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.contest-sticky-bar-sep { opacity: 0.7; }
.contest-sticky-bar-countdown {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 4px 10px;
}
.contest-countdown-compact {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.contest-sticky-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #006EFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.contest-sticky-bar-cta:hover {
  transform: translateY(-1px);
  background: #f3f6ff;
}
.contest-sticky-bar-close {
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.contest-sticky-bar-close:hover { opacity: 1; }

@media (max-width: 720px) {
  .contest-sticky-bar-inner { gap: 10px; padding: 8px 12px; }
  .contest-sticky-bar-text { font-size: 13px; }
  .contest-sticky-bar-sep, .contest-sticky-bar-countdown { display: none; }
  .contest-sticky-bar-cta { font-size: 13px; padding: 5px 10px; }
  height: 48px;
}

.contest-countdown {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
  font-variant-numeric: tabular-nums;
}
.contest-countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 16px 12px;
  background: var(--color-card, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
}
.contest-countdown-value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text, #0f1419);
}
.contest-countdown-label {
  font-size: 11px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted, #6b7280);
}
.contest-countdown-sep {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 16px;
  color: var(--color-text-muted, #6b7280);
}
.contest-countdown-expired {
  display: inline-block;
  padding: 12px 20px;
  background: #006EFF;
  color: #ffffff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.waitlist-form-closed {
  background: #fafaf5;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
}

.section-hero-contest { padding: 120px 0 80px; text-align: center; }

.title-wrapper-left { text-align: left; }
.contest-hero-title { margin: 16px auto 16px; max-width: 900px; }
.contest-hero-subtitle { max-width: 720px; margin: 0 auto 32px; }
.contest-hero-countdown { margin: 24px 0; }
.contest-hero-cta { display: inline-flex; gap: 12px; margin-top: 8px; }

.contest-how-grid,
.contest-editions-grid,
.contest-tiers-grid,
.contest-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.contest-how-card,
.contest-tier-card,
.contest-sponsor-card {
  background: var(--color-card, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contest-how-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
}
.contest-how-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contest-how-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contest-how-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  min-height: 47px;
}
.contest-how-step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #006EFF;
}
.contest-edition-year,
.contest-tier-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #006EFF;
}
.contest-edition-stat,
.contest-tier-price {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text, #0f1419);
}
.contest-sponsor-features {
  margin: 8px 0 0 0;
  padding-left: 18px;
  list-style: disc;
  font-size: 14px;
  color: var(--color-text, #0f1419);
}
.contest-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.section-waitlist { padding: 80px 0; }
.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.waitlist-bullets {
  margin: 16px 0 0 0;
  padding-left: 18px;
  list-style: disc;
  color: var(--color-text, #0f1419);
  font-size: 16px;
  line-height: 1.7;
}
.waitlist-form-wrapper { width: 100%; }
.waitlist-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 15px;
}
.waitlist-form-row .text-field-wrapper { margin-bottom: 0; }
.waitlist-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
.waitlist-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--color-text-muted, #6b7280);
  line-height: 1.5;
  margin: 8px 0 16px;
}
.waitlist-consent input[type="checkbox"] { margin-top: 3px; }
.waitlist-form-error {
  color: #b00020;
  font-size: 13px;
  margin-bottom: 8px;
}
.waitlist-form-success {
  background: var(--color-card, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
  padding: 32px;
  margin-top:42px;
}

@media (max-width: 720px) {
  .waitlist-grid { grid-template-columns: 1fr; gap: 32px; }
  .waitlist-form-row { grid-template-columns: 1fr; }
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 24px;
}
.partner-logo-cell {
  background: var(--color-card, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-placeholder {
  color: var(--color-text-muted, #6b7280);
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .partner-logos-grid { grid-template-columns: repeat(2, 1fr); }
}

.contest-section-label {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.contest-page {
  color: #0f1419;
}
.contest-page .section-small { padding: 32px 0 56px; }
.contest-page .contest-dark-section { padding: 32px 0; }

.contest-dark-section {
  background: transparent;
  color: #0f1419;
  padding: 40px 0;
}
.contest-dark-section .paragraph-large { color: #4b5563; }
.contest-dark-section .title-h1 { color: #0f1419; }

.contest-dark-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contest-dark-copy { display: flex; flex-direction: column; gap: 16px; }
.contest-dark-countdown .contest-countdown { justify-content: flex-end; margin: 0; }
.contest-dark-countdown .contest-countdown-cell {
  background: #ffffff;
  border-color: #e5e7eb;
}
.contest-dark-countdown .contest-countdown-value { color: #0f1419; }
.contest-dark-countdown .contest-countdown-label { color: #6b7280; }
.contest-dark-countdown .contest-countdown-sep { color: #9ca3af; }

.inline-block-fit {
  display: inline-block;
  width: fit-content;
}

.contest-badge-cyan {
  display: inline-block;
  background: transparent !important;
  color: #006EFF;
  border: 1px solid #006EFF;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  width: fit-content;
}
.contest-badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  color: #0f1419;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  width: fit-content;
}
.contest-badge-mini-icon { display: inline-flex; }

.contest-benchmark-card {
  background: #ffffff;
  color: #0f1419;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 16px 0;
}
.contest-benchmark-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.contest-benchmark-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: #6b7280;
}
.contest-benchmark-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.salary-benchmark-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.salary-benchmark-card {
  background: #fafaf5;
  border: 0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.salary-benchmark-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.salary-benchmark-ral {
  font-size: 28px;
  font-weight: 700;
  color: #0f1419;
  line-height: 1.1;
}
.salary-benchmark-note {
  font-size: 13px;
  color: #6b7280;
}

.contest-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contest-newsletter-copy { display: flex; flex-direction: column; gap: 16px; }
.contest-newsletter-inline { display: flex; flex-direction: column; gap: 12px; }
.contest-newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}
.contest-newsletter-input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #0f1419;
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.contest-newsletter-input::placeholder { color: #9ca3af; }
.contest-newsletter-submit {
  background: #006EFF;
  color: #ffffff;
  border: 0;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.contest-newsletter-submit:hover { background: #0058cc; }
.contest-newsletter-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contest-newsletter-meta { font-size: 12px; color: rgba(255,255,255,0.6); }
.contest-newsletter-error { font-size: 13px; color: #b00020; }
.contest-newsletter-done {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 20px;
  color: #065f46;
}

.contest-academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contest-academy-card {
  background: #0a1a2f;
  color: #ffffff;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
}
.contest-academy-card-highlight { background: #006EFF; }
.contest-academy-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  margin-bottom: 8px;
}
.contest-academy-card .title-h4 { color: #ffffff; margin: 0; }
.contest-academy-meta { font-size: 13px; color: rgba(255,255,255,0.7); }

.contest-partner-card {
  background: #ffffff;
  color: #0f1419;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 16px 0;
}
.contest-partner-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.contest-partner-head .title-h3 { margin: 0; }
.contest-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contest-partner-cell {
  background: #fafaf5;
  border: 0;
  border-radius: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contest-partner-name {
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.04em;
}

.contest-sponsor-dashed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
  color: #0f1419;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  flex-wrap: wrap;
  margin: 0 0 16px 0;
}
.contest-sponsor-copy { display: flex; flex-direction: column; gap: 8px; }
.contest-sponsor-badge { width: fit-content; }
.contest-sponsor-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #0f1419;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contest-sponsor-cta:hover { background: #f5f5f5; border-color: #94a3b8; }
.contest-sponsor-cta .arrow-icon { display: inline-block; transform: translateY(-1px); }

.contest-nota-tecnica {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  color: #0f1419;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 18px;
  margin: 8px 0 0 0;
}
.contest-nota-tecnica-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #dbeafe;
  color: #006EFF;
}
.contest-nota-tecnica-body { display: flex; flex-direction: column; gap: 4px; }
.contest-nota-tecnica-title { font-weight: 600; color: #0f1419; }
.contest-nota-tecnica-text { font-size: 14px; color: #4b5563; line-height: 1.5; margin: 0; }

@media (max-width: 720px) {
  .contest-dark-grid { grid-template-columns: 1fr; }
  .contest-dark-countdown .contest-countdown { justify-content: center; }
  .contest-newsletter-grid { grid-template-columns: 1fr; gap: 24px; }
  .salary-benchmark-cards { grid-template-columns: 1fr; }
  .contest-academy-grid { grid-template-columns: 1fr; }
  .contest-partner-grid { grid-template-columns: repeat(2, 1fr); }
}

.contest-hero-simple {
  padding: 56px 0 48px;
  text-align: center;
}
.contest-hero-simple .container-regular {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
.contest-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #0f1419;
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: -0.02em;
}
.contest-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #4b5563;
  margin: 0 auto;
  line-height: 1.4;
}
.contest-hero-buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.contest-hero-button-secondary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 40px;
  min-width: 160px;
  padding: 8px 24px;
  border: 1.5px solid var(--neutral--900);
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 4px 0 0 var(--neutral--900);
  color: var(--neutral--900);
  text-align: center;
  letter-spacing: -.02em;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.contest-hero-button-secondary:hover {
  background-color: #f5f5f5;
  box-shadow: 0 6px 0 0 var(--neutral--900);
  transform: translateY(-2px);
}
.contest-hero-button-secondary .arrow-icon {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}
@media (max-width: 720px) {
  .contest-hero-simple { padding: 48px 0 40px; }
  .contest-hero-buttons { flex-direction: column; width: 100%; }
  .contest-hero-buttons .button-primary-right-icon,
  .contest-hero-buttons .button-secondary-right-icon { width: 100%; }
}

.regolamento-page { background: #ffffff; color: #0f1419; }

.benchmark-page .benchmark-section,
.benchmark-page .benchmark-hero,
.benchmark-page .benchmark-final-cta {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.regolamento-page .eyebrow {
  font-size: 12px;
  color: #888780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.section-regolamento-hero {
  padding: 72px 0 56px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  text-align: center;
}
.section-regolamento-hero .container-regular {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  align-items: center;
}
.section-regolamento-hero .title-h1 { margin: 0 auto; }
.section-regolamento-hero .paragraph-large { margin: 0 auto; }
.section-regolamento-hero .regolamento-hero-tagline { margin: 0 auto; }
.section-regolamento-hero .regolamento-hero-subtitle {
  margin: 0 auto;
  max-width: 640px;
}
.section-regolamento-hero .eyebrow {
  margin: 0;
  align-self: flex-start;
  text-align: left;
}
.regolamento-hero-subtitle { max-width: 720px; }
.regolamento-cta-row {
  margin-top: 24px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}
.regolamento-cta-row .button-primary-right-icon { width: auto; }

.regolamento-hero-tagline {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.4;
  color: #444441;
  margin: 0 auto;
}
.regolamento-hero-subtitle {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.5;
  color: #444441;
  margin: 0 auto;
}

.regolamento-prose { max-width: 720px; margin-top: 24px; }
.regolamento-prose p { font-size: 16px; line-height: 1.7; color: #444441; margin-bottom: 16px; }
.regolamento-prose p:last-child { margin-bottom: 0; }

.regolamento-phases-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.regolamento-phase-block {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.regolamento-phase-label {
  font-size: 11px;
  color: #888780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 600;
}
.regolamento-phase-block-head h3 { margin: 0 0 12px 0; }
.regolamento-phase-meta { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.regolamento-phase-meta-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed #e8e8e3;
}
.regolamento-phase-meta-row:last-child { border-bottom: none; }
.regolamento-phase-meta-row dt { font-size: 13px; color: #888780; font-weight: 600; margin: 0; }
.regolamento-phase-meta-row dd { font-size: 14px; color: #444441; line-height: 1.5; margin: 0; }

.regolamento-pill-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.regolamento-pill-list li {
  display: inline-block;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #d3d1c7;
  border-radius: 999px;
  font-size: 14px;
  color: #0f1419;
  font-weight: 500;
}
.regolamento-margin-top-32 { margin-top: 32px; }

.regolamento-timeline-note {
  margin-top: 24px;
  font-size: 13px;
  color: #5f5e5a;
  max-width: 720px;
  line-height: 1.5;
  font-style: italic;
}

.regolamento-prize-or {
  font-size: 13px;
  color: #888780;
  font-style: italic;
  margin-bottom: 4px;
}
.regolamento-prize-alt {
  font-size: 14px;
  color: #444441;
  line-height: 1.5;
  margin-bottom: 12px;
}
.regolamento-prize-extras {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  font-size: 13px;
  color: #5f5e5a;
  line-height: 1.7;
}
.regolamento-prize-extras li::before { content: "+ "; color: #185fa5; font-weight: 600; }

.regolamento-prizes-extra {
  margin-top: 32px;
  max-width: 720px;
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 24px;
}
.regolamento-prizes-extra h3 { margin: 0 0 12px 0; }
.regolamento-prizes-extra p { font-size: 15px; line-height: 1.6; color: #444441; margin: 0 0 8px 0; }
.regolamento-prizes-extra-note { color: #888780 !important; font-size: 13px !important; font-style: italic; }

.section-regolamento-finale {
  background: #1a1a1a;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}
.regolamento-finale-inner { max-width: 720px; margin: 0 auto; }
.regolamento-finale-eyebrow {
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 24px;
}
.regolamento-finale-statements {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  text-align: center;
}
.regolamento-finale-statements li {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.4;
  color: #ffffff;
  font-weight: 400;
  margin: 12px 0;
}
.regolamento-finale-statements li strong {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  margin-right: 6px;
}
.regolamento-finale-pitch {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 24px;
}

@media (max-width: 720px) {
  .regolamento-phase-block { grid-template-columns: 1fr; }
  .regolamento-phase-meta-row { grid-template-columns: 1fr; gap: 4px; }
  .regolamento-finale-statements li { font-size: 20px; }
  .regolamento-finale-statements li strong { font-size: 28px; }
}

.regolamento-metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  background: #f3f3f0;
  border-top: 1px solid #e8e8e3;
  border-bottom: 1px solid #e8e8e3;
  border-radius: 12px;
}
.regolamento-metric { text-align: center; }
.regolamento-metric-num {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  color: #0f1419;
}
.regolamento-metric-label {
  font-size: 12px;
  color: #5f5e5a;
  line-height: 1.4;
}

.regolamento-phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.regolamento-phase-card {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}
.regolamento-phase-card:hover { border-color: #b4b2a9; transform: translateY(-2px); }
.regolamento-phase-label {
  font-size: 11px;
  color: #888780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 500;
}

.regolamento-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.regolamento-deliverable-card {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 20px;
}
.regolamento-deliverable-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }

.regolamento-badges-block { margin-top: 40px; }
.regolamento-badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.regolamento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
}
.regolamento-badge.badge-qualified { background: #ffffff; border: 1px solid #d3d1c7; color: #5f5e5a; }
.regolamento-badge.badge-top24     { background: #e6f1fb; color: #185fa5; }
.regolamento-badge.badge-top8      { background: #185fa5; color: #ffffff; }
.regolamento-badge.badge-champion  { background: #1a1a1a; color: #ffffff; }

.regolamento-forchi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.regolamento-checklist { list-style: none; padding: 0; margin: 12px 0 0 0; }
.regolamento-checklist li {
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: #444441;
  position: relative;
  line-height: 1.5;
}
.regolamento-checklist.yes li::before {
  content: "✓";
  color: #3b6d11;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 8px;
}
.regolamento-checklist.no li::before {
  content: "—";
  color: #888780;
  position: absolute;
  left: 0;
  top: 8px;
}

.regolamento-timeline { margin-top: 24px; max-width: 720px; }
.regolamento-timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e3;
}
.regolamento-timeline-item:last-child { border-bottom: none; }
.regolamento-timeline-date { font-size: 13px; color: #888780; font-weight: 600; }
.regolamento-timeline-content strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #0f1419; }
.regolamento-timeline-content span { font-size: 14px; color: #5f5e5a; line-height: 1.5; }

.regolamento-prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.regolamento-prize-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 24px;
}
.regolamento-prize-featured { border: 2px solid #185fa5; }
.regolamento-prize-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #185fa5;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.regolamento-prize-label {
  font-size: 11px;
  color: #888780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 8px;
}
.regolamento-prize-featured .regolamento-prize-label { display: none; }
.regolamento-prize-amount { font-size: 32px; font-weight: 600; margin: 8px 0 12px; color: #0f1419; }
.regolamento-prize-extras { font-size: 13px; color: #5f5e5a; line-height: 1.7; }
.regolamento-prizes-note {
  margin-top: 24px;
  font-size: 14px;
  color: #444441;
  max-width: 720px;
  line-height: 1.6;
}

.regolamento-faq-list { max-width: 720px; margin-top: 24px; }
.regolamento-faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #e8e8e3;
  cursor: pointer;
}
.regolamento-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #0f1419;
  list-style: none;
  cursor: pointer;
}
.regolamento-faq-item summary::-webkit-details-marker { display: none; }
.regolamento-faq-icon {
  font-size: 18px;
  color: #888780;
  transition: transform 0.2s ease;
  margin-left: 16px;
}
.regolamento-faq-item[open] .regolamento-faq-icon { transform: rotate(45deg); }
.regolamento-faq-a {
  margin-top: 10px;
  font-size: 15px;
  color: #5f5e5a;
  line-height: 1.6;
}
.regolamento-faq-a p { margin: 0 0 12px 0; }
.regolamento-faq-a p:last-child { margin-bottom: 0; }

.regolamento-cta-finale { text-align: center; padding: 80px 0; }
.regolamento-cta-finale .title-wrapper-center { text-align: center; }

.contest-page .regolamento-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  border: 1.5px solid var(--neutral--900);
  background: #ffffff;
  color: var(--neutral--900);
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.contest-page .regolamento-link-cta:hover {
  background: #f5f5f5;
  box-shadow: 0 6px 0 0 var(--neutral--900);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .regolamento-metrics-band { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 16px; }
  .regolamento-metric-num { font-size: 26px; }
  .regolamento-phases-grid { grid-template-columns: 1fr; }
  .regolamento-deliverables-grid { grid-template-columns: 1fr; }
  .regolamento-forchi-grid { grid-template-columns: 1fr; gap: 24px; }
  .regolamento-prizes-grid { grid-template-columns: 1fr; }
  .regolamento-timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .regolamento-timeline-date { color: #0f1419; }
}

.contest-editions-stack { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.contest-edition-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 28px;
}
.contest-edition-h3 { margin: 8px 0 12px; }
.contest-edition-block-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.contest-edition-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888780;
  margin-bottom: 12px;
}
.contest-edition-winners { display: flex; flex-direction: column; gap: 12px; }
.contest-edition-winner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fafaf5;
  border-radius: 8px;
}
.contest-edition-winner-link {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contest-edition-winner-link:hover {
  background: #f0f7ff;
  transform: translateY(-1px);
}
.contest-edition-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #006EFF;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.contest-edition-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contest-edition-winner-text { display: flex; flex-direction: column; gap: 2px; }
.contest-edition-winner-name { font-size: 15px; font-weight: 600; color: #0f1419; }
.contest-edition-winner-role { font-size: 12px; color: #5f5e5a; }
.contest-edition-winner-linkedin {
  font-size: 12px;
  color: #006EFF;
  font-weight: 500;
  margin-top: 2px;
}

@media (max-width: 720px) {
  .contest-edition-block { grid-template-columns: 1fr; }
  .contest-edition-block-body { grid-template-columns: 1fr; }
}

.contest-fit-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 880px;
}
.contest-fit-list li {
  position: relative;
  padding: 16px 20px 16px 44px;
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 10px;
  font-size: 15px;
  color: #444441;
  line-height: 1.5;
}
.contest-fit-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  width: 18px;
  height: 18px;
  background-color: #006EFF;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}
.contest-fit-list li strong { color: #0f1419; font-weight: 600; }

@media (max-width: 720px) {
  .contest-fit-list { grid-template-columns: 1fr; }
}

.contest-profiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}
.contest-profile-card {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
}
.contest-profile-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contest-profile-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contest-profile-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #006EFF;
  line-height: 1.3;
  min-height: 14px;
}
.contest-profile-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  min-height: 47px;
}

@media (max-width: 720px) {
  .contest-profiles-grid { grid-template-columns: 1fr; }
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.blog-list-card {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.blog-list-date {
  font-size: 12px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.blog-list-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}
.blog-list-preview {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
  flex: 1 1 auto;
}

.blog-post {
  max-width: 720px;
  margin: 0 auto;
}
.blog-post-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e3;
}
.blog-post-head h1 { margin: 0; font-size: 36px; line-height: 1.2; }
.blog-post-head .admin-pill { width: fit-content; }
.blog-post-head .blog-post-date {
  font-size: 13px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  margin-top: -4px;
}
.blog-post-preview {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.5;
  margin: 8px 0 0 0;
}
.blog-post-thumb {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 32px;
  display: block;
}
.blog-post-content {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
}
.blog-post-content img { max-width: 100%; height: auto; display: block; margin: 16px auto; }
.blog-post-content h1 { font-size: 28px; margin: 24px 0 12px; }
.blog-post-content h2 { font-size: 22px; margin: 24px 0 12px; }
.blog-post-content h3 { font-size: 18px; margin: 20px 0 8px; }
.blog-post-content p { margin: 0 0 16px; }
.blog-post-content a { color: #006EFF; text-decoration: underline; }
.blog-post-content table { max-width: 100%; border-collapse: collapse; margin: 16px 0; }
.blog-post-content td, .blog-post-content th { padding: 8px 12px; border: 1px solid #e8e8e3; }
.blog-post-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-post-foot .caption { font-size: 13px; color: #6b7280; word-break: break-all; }

/* =====================================================================
   Admin Panel — /admin/*
   ===================================================================== */
.admin-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  background: #fafafa;
}
.admin-sidebar {
  background: #ffffff;
  color: #0f1419;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #e8e8e3;
}
.admin-sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e3;
}
.admin-sidebar-brand strong { font-size: 16px; color: #0f1419; }
.admin-sidebar-brand .badge { background: #006EFF !important; width: fit-content; }
.admin-sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #454545;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-sidebar-link:hover { background: #f0f7ff; color: #006EFF; }
.admin-sidebar-logout { margin-top: auto; }
.admin-sidebar-logout button {
  width: 100%;
  background: transparent;
  border: 1px solid #d3d1c7;
  color: #6b6b6b;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  background-color: transparent;
}
.admin-sidebar-logout button:hover { background: #fafaf5; color: #0f1419; }
.admin-main { padding: 32px; max-width: 1400px; }

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-page-header h1 { margin: 0 0 4px 0; font-size: 28px; font-weight: 600; }
.admin-page-header p { margin: 0; color: #6b7280; font-size: 14px; }

.admin-card {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.admin-card h3 { margin: 0 0 16px 0; font-size: 16px; font-weight: 600; }

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.admin-stat-card {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 10px;
  padding: 16px;
  border-left: 3px solid #006EFF;
}
.admin-stat-value { font-size: 28px; font-weight: 700; line-height: 1; color: #0f1419; }
.admin-stat-label { font-size: 12px; color: #6b7280; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

.admin-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.admin-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 200px;
  padding-top: 8px;
}
.admin-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}
.admin-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #006EFF 0%, #4d8eff 100%);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  transition: height 0.4s ease;
}
.admin-bar-day { font-size: 10px; color: #6b7280; }
.admin-bar-count { font-size: 11px; font-weight: 600; color: #0f1419; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #e8e8e3;
  font-weight: 600;
  color: #6b7280;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #f0f0ec;
  vertical-align: middle;
}
.admin-table-wrap { overflow-x: auto; }
.admin-table .admin-num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table .admin-muted { color: #6b7280; }
.admin-table .admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-row-pending { opacity: 0.6; pointer-events: none; }

.admin-jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.admin-jobs-toolbar-actions { display: flex; gap: 12px; align-items: center; }
.admin-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 12px;
}
.admin-col-order { width: 70px; }
.admin-order-controls { display: flex; flex-direction: column; gap: 4px; }
.admin-order-btn {
  background: #f5f5f0;
  border: 1px solid #e8e8e3;
  border-radius: 4px;
  width: 26px;
  height: 22px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  color: #0f1419;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-order-btn:hover:not(:disabled) { background: #006EFF; color: #ffffff; border-color: #006EFF; }
.admin-order-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.admin-link {
  background: transparent;
  border: 0;
  color: #006EFF;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  text-decoration: underline;
}
.admin-link:hover { color: #0058cc; }
.admin-link-danger { color: #dc2626; }
.admin-link-danger:hover { color: #991b1b; }
.admin-link:disabled { color: #9ca3af; cursor: not-allowed; text-decoration: none; }

.admin-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-pill-active { background: #dcfce7; color: #166534; }
.admin-pill-paused { background: #fef3c7; color: #92400e; }
.admin-pill-closed { background: #f3f4f6; color: #4b5563; }

.admin-empty { color: #6b7280; font-size: 14px; margin: 0; text-align: center; padding: 24px 0; }

.admin-btn-primary {
  display: inline-flex;
  align-items: center;
  background: #006EFF;
  color: #ffffff;
  border: 0;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.admin-btn-primary:hover { background: #0058cc; }
.admin-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.admin-toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }

.admin-inline-form-tall { align-items: stretch; }
.admin-inline-form-tall input,
.admin-inline-form-tall select { flex: 1; min-width: 180px; }

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.admin-form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
.admin-form-grid label span { color: #6b7280; }
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  padding: 8px 10px;
  border: 1px solid #d3d1c7;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
}
.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus {
  outline: none;
  border-color: #006EFF;
}
.admin-form-full { grid-column: 1 / -1; }
.admin-form-actions { display: flex; gap: 12px; justify-content: flex-end; }

.admin-form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}

.admin-inline-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  background: #fafaf5;
  border-radius: 8px;
  flex-wrap: wrap;
}
.admin-inline-form input,
.admin-inline-form select {
  padding: 8px 10px;
  border: 1px solid #d3d1c7;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.admin-inline-form button {
  background: #006EFF;
  color: #ffffff;
  border: 0;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* Login */
.admin-login-page {
  min-height: 100vh;
  background: #fafaf5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login-card {
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.admin-login-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  text-align: center;
  align-items: center;
}
.admin-login-brand h1 { margin: 0; font-size: 24px; font-weight: 600; }
.admin-login-subtitle { color: #6b7280; font-size: 14px; margin: 0; }
.admin-login-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}
.admin-login-form { display: flex; flex-direction: column; gap: 14px; }
.admin-login-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
.admin-login-field input {
  padding: 10px 12px;
  border: 1px solid #d3d1c7;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.admin-login-field input:focus {
  outline: none;
  border-color: #006EFF;
}
.admin-login-submit {
  background: #006EFF;
  color: #ffffff;
  border: 0;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.admin-login-submit:hover { background: #0058cc; }

.sponsor-logos-section { padding: 64px 0; }
.sponsor-logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 32px auto 0;
  align-items: center;
}
.sponsor-logo-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e8e8e3;
  border-radius: 12px;
  padding: 32px 24px;
  min-height: 120px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sponsor-logo-cell:hover {
  transform: translateY(-2px);
  border-color: #d3d1c7;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.sponsor-logo-img {
  max-width: 200px;
  max-height: 64px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.sponsor-logo-img-baseloop {
  filter: invert(1);
}
.sponsor-logo-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f1419;
  letter-spacing: 0.01em;
}
.sponsor-logo-cell:hover .sponsor-logo-name { color: #006EFF; }
@media (max-width: 720px) {
  .sponsor-logos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .admin-main { padding: 16px; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

.contest-video-wrap {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 12px auto 0;
  padding-top: 56.25%;
  background: #0f1419;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e3;
}
.contest-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contest-annuncio-badge {
  margin-bottom: 0;
  width: fit-content;
}

/* ============================================================
   Contact form modal (post-submit)
   ============================================================ */
.contact-message-wrapper { align-items: flex-start; }
.contact-message {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
}
.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  animation: contact-fade-in 0.18s ease-out;
}
@keyframes contact-fade-in { from { opacity: 0; } to { opacity: 1; } }
.contact-modal {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(15, 20, 25, 0.25);
  outline: none;
}
.contact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  color: #6b7280;
}
.contact-modal-close:hover { background: #f5f5f0; color: #0f1419; }
.contact-modal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-modal-links li a {
  display: block;
  padding: 12px 14px;
  border: 1px solid #e8e8e3;
  border-radius: 8px;
  color: #0f1419;
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.contact-modal-links li a:hover {
  border-color: #006EFF;
  background: #f5f9ff;
}

/* ============================================================
   Admin — sidebar badge + inbox (mail-client style)
   ============================================================ */
.admin-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.admin-sidebar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #006EFF;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.admin-inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f0ec;
}
.admin-inbox {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  min-height: 480px;
  border: 1px solid #e8e8e3;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
.admin-inbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-right: 1px solid #e8e8e3;
  overflow-y: auto;
  max-height: 70vh;
}
.admin-inbox-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f0ec;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #6b7280;
  transition: background 0.12s;
}
.admin-inbox-item:hover { background: #fafaf6; }
.admin-inbox-item-selected { background: #f5f9ff; }
.admin-inbox-item-unread { color: #0f1419; font-weight: 600; }
.admin-inbox-item-unread .admin-inbox-item-preview { color: #0f1419; font-weight: 500; }
.admin-inbox-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.admin-inbox-item-name { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.admin-inbox-item-date { font-size: 11px; color: #9ca3af; font-weight: 400; }
.admin-inbox-item-email { font-size: 12px; color: #6b7280; font-weight: 400; }
.admin-inbox-item-preview {
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-inbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #006EFF;
  display: inline-block;
  flex-shrink: 0;
}
.admin-inbox-reader {
  padding: 24px;
  overflow-y: auto;
  max-height: 70vh;
}
.admin-inbox-reader-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0ec;
}
.admin-inbox-reader-head h3 { margin: 0; font-size: 18px; }
.admin-inbox-reader-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 16px;
}
.admin-inbox-reader-meta a { color: #006EFF; }
.admin-inbox-reader-message {
  font-size: 14px;
  line-height: 1.6;
  color: #0f1419;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.admin-inbox-reader-actions { margin-top: 20px; }

@media (max-width: 800px) {
  .admin-inbox { grid-template-columns: 1fr; }
  .admin-inbox-list { max-height: 320px; border-right: 0; border-bottom: 1px solid #e8e8e3; }
}