/* Elite Facilitator School uses the site's shared palette, type, header, footer, and buttons. */
.elite-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 48px;
  overflow-wrap: anywhere;
}

.elite-hero {
  padding-block: 120px 96px;
}

.elite-hero h1,
.elite-hero p {
  margin-inline: auto;
}

.elite-hero h1 {
  max-width: 850px;
}

.elite-hero .kicker {
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.elite-hero .elite-actions {
  justify-content: center;
}

.elite-section {
  padding-block: 100px;
}

.elite-section h2,
.elite-panel h1,
.elite-panel h2,
.elite-card h3 {
  font-family: var(--font-heading);
}

.elite-section h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.elite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}

.elite-card,
.elite-panel {
  background: var(--card);
  border: 1px solid rgba(75, 38, 63, .1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 40px);
}

#cohort-session-fields,
#cohort-session-fields fieldset {
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
}

#cohort-form {
  grid-template-columns: minmax(0, 1fr);
}

.elite-card h3 {
  margin-top: 0;
}

.elite-card p:last-child {
  margin-bottom: 0;
}

.elite-panel {
  max-width: 760px;
  margin-block: 48px;
}

.elite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
  text-decoration: none;
}

.elite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.elite-list {
  padding-left: 1.3rem;
}

.elite-list li {
  margin-bottom: .55rem;
}

.elite-muted,
.elite-small {
  color: var(--text-light);
}

.elite-small {
  font-size: .85rem;
}

.elite-note {
  border-left: 4px solid var(--secondary);
  padding: 14px 18px;
  background: var(--surface);
}

.elite-form {
  display: grid;
  gap: 20px;
}

.elite-form label {
  display: block;
  font-weight: 600;
}

.elite-form input:not([type="checkbox"]):not([type="radio"]),
.elite-form textarea,
.elite-form select {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #8e8073;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-main);
  font: inherit;
}

.elite-form textarea {
  min-height: 120px;
}

.elite-panel > label input[type="file"] {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #8e8073;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text-main);
}

.elite-form .choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}

.elite-form .choice input {
  flex: none;
  margin-top: 7px;
}

.elite-status {
  min-height: 1.5rem;
  font-weight: 600;
}

.elite-status.error { color: #a01d2b; }
.elite-status.success { color: #285e42; }
.elite-hidden { display: none !important; }

.elite-table-wrap { overflow-x: auto; }
.elite-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}
.elite-table th,
.elite-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(75, 38, 63, .16);
}
.elite-table th { background: var(--surface); }

.elite-table :is(input, select, textarea) {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid rgba(75, 38, 63, .3);
  border-radius: 10px;
  background: white;
  color: var(--text-main);
  font: inherit;
}

.elite-button:focus-visible,
.elite-form :is(input, textarea, select):focus-visible,
.elite-table :is(input, select, textarea, button):focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .elite-wrap { padding-inline: 20px; }
  .elite-hero { padding: 64px 24px 48px; }
  .elite-section { padding-block: 64px; }
  .elite-panel { margin-block: 24px; }
}

@media (max-width: 480px) {
  .elite-actions .elite-button { width: 100%; }
  .elite-hero { padding: 52px 16px 36px; }
  .elite-panel h1 { font-size: clamp(1.5rem, 9vw, 2.4rem); overflow-wrap: normal; }
  .elite-section h2 { font-size: clamp(1.3rem, 5vw, 1.85rem); }
  .elite-card,
  .elite-panel { padding: 24px; }
}

@media (max-width: 1100px) {
  .elite-table-wrap { overflow: visible; }
  .elite-table { display: block; min-width: 0; }
  .elite-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .elite-table tbody { display: grid; gap: 16px; }
  .elite-table tbody tr {
    display: block;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid rgba(75, 38, 63, .16);
    border-radius: 16px;
    background: var(--card);
  }
  .elite-table tbody td {
    display: block;
    min-width: 0;
    padding: 10px 0;
    border: 0;
    overflow-wrap: anywhere;
  }
  .elite-table tbody td + td { border-top: 1px solid rgba(75, 38, 63, .12); }
  .elite-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .elite-table tbody td :is(input, select, textarea, button) {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
  }
}

.elite-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
