/* RMPS application layer — additions on top of the original site styles */

/* Same layout as the reference site, which inlines this: style="padding:56px 0 60px" */
.hero.compact { padding: 56px 0 60px; }

/* Keep a two-column block's columns from overflowing (e.g. oversized partner logo) */
.two-col > * { min-width: 0; }
.hero .lead p { margin-bottom: 0; }
.hero .lead p + p { margin-top: 10px; }
.hero .lead a { color: #ffd968; }
.hero .kicker { max-width: 100%; }

.narrow { max-width: 820px; }
.section-head .intro { color: var(--muted); }
.section-head .intro p + p { margin-top: 12px; }

.prose p { margin-bottom: 14px; }
.prose > :last-child { margin-bottom: 0; }
.prose a { color: var(--teal-dark); }
.prose ul, .prose ol { margin: 0 0 14px 20px; }
.prose li { margin-bottom: 4px; }
.prose h2 { font-size: 22px; margin: 26px 0 10px; }
.prose h3 { font-size: 18px; margin: 20px 0 8px; }
.hero .prose a, .wirm-band .prose a, .cta-band .prose a { color: #ffd968; }
.hero .prose p { color: #e6edf3; }

.cta-band .intro p { margin-bottom: 0; }
.block .cta-inline { margin-top: 22px; }

.check-list a { color: var(--teal-dark); font-weight: 600; }

.level .foot .btn { padding: 10px 20px; font-size: 14px; }
.level-head .tag { white-space: nowrap; }

.event-card + .event-card { margin-top: 18px; }
.event-card .tag {
  display: inline-block; background: #1F7A3D; color: #fff; font-size: 12px;
  font-weight: 700; padding: 3px 10px; border-radius: 12px; margin-bottom: 8px;
  letter-spacing: .2px;
}
.event-card .event-summary { color: var(--muted); font-size: 15px; white-space: pre-line; }
.event-card .event-note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.event-card .event-note b { color: var(--navy); }
.seats-low { color: #B3261E; font-weight: 700; }
.seats-ok { color: var(--teal-dark); font-weight: 700; }
.seats-full { color: #B3261E; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }

.wirm-band .intro p { color: #cfdce7; margin-bottom: 12px; }
.wirm-band .intro p:last-child { margin-bottom: 0; }
.wirm-band .eyebrow.gold { color: #ffd968; }

/* Buttons keep their own colours — .wirm-band a would otherwise tint them gold */
.wirm-band .actions .btn-ghost { color: #fff; }
.wirm-band .actions .btn-ghost:hover { color: #fff; }
.wirm-band .actions .btn-light,
.wirm-band .actions .btn-light:hover { color: var(--navy); }

/* Forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; box-shadow: 0 10px 30px rgba(13, 33, 55, .06);
}
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 2px; }
.field label { font-weight: 600; font-size: 14px; color: var(--navy); }
.field label .req { color: #B3261E; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 124, 123, .14);
}
.field .error { color: #B3261E; font-size: 13px; }
.field .hint { color: var(--muted); font-size: 12.5px; }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox-field input { width: auto; margin-top: 3px; }
.form-actions { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-block { width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.alert {
  border-radius: 10px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 22px;
  border: 1px solid transparent;
}
.alert-success { background: #e8f5ee; border-color: #b9e2c9; color: #145c33; }
.alert-error { background: #fdecea; border-color: #f5c2bd; color: #8e1d15; }
.alert ul { margin: 6px 0 0 18px; }

/* Articles */
.article-card .article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }
.article-card .article-meta .cat { color: var(--teal-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 11.5px; }
.article-body { font-size: 16px; color: #2c3a47; }
.article-body > p:first-child { font-size: 17px; color: #3a4a59; }
.article-body h2, .article-body h3 { color: var(--navy); }
.article-body h2 { font-size: 25px; margin: 34px 0 12px; }
.article-body h3 { font-size: 19px; margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--teal); background: var(--bg-alt); padding: 16px 20px;
  border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--navy);
}
.article-body blockquote p { margin: 0; }
.article-body hr { margin: 34px 0; border: none; border-top: 1px solid #e3e3e3; }
.article-body .event-card { margin: 26px 0; }
.article-cover { margin: 0 0 28px; }
.article-cover img { display: block; width: 100%; height: auto; border-radius: 14px; }
.article-header { margin-bottom: 28px; }
.article-header h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.article-header .lead { color: var(--muted); font-size: 17px; }
.article-meta-line {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px;
  font-size: 13.5px; color: var(--muted);
}
.article-meta-line a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.article-meta-line .dot { color: rgba(255,255,255,.35); }
.hero .article-meta-line { color: #cfdce7; }
.hero .article-meta-line a { color: #ffd968; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.chip {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; text-decoration: none; color: var(--ink); font-size: 14px;
  background: #fff;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.chip.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.search-form { display: flex; gap: 8px; margin-left: auto; }
.search-form input {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit;
  font-size: 14px; min-width: 200px;
}
.search-form button {
  border: none; background: var(--navy); color: #fff; border-radius: 999px;
  padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}

.empty-state {
  background: var(--bg-alt); border: 1px dashed var(--line); border-radius: 12px;
  padding: 34px; text-align: center; color: var(--muted);
}

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; justify-content: center; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  text-decoration: none; font-size: 14px;
}
.pagination a:hover { border-color: var(--teal); color: var(--teal-dark); }
.pagination .current { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 700; }
.pagination .disabled { color: #b7c1ca; }
.pagination .ellipsis { border: none; background: transparent; }

/* Registration */
.step-note { background: var(--bg-alt); border-radius: 10px; padding: 16px 18px; font-size: 14px; color: var(--muted); }

.success-card { max-width: 640px; margin: 70px auto; text-align: center; }
.success-card .ref {
  font-family: 'Lora', serif; font-size: 26px; color: var(--navy); letter-spacing: 1px;
  background: var(--bg-alt); border: 1px dashed var(--line); border-radius: 10px;
  padding: 14px 18px; margin: 18px 0 8px; display: inline-block;
}
.success-card .ico-success {
  width: 62px; height: 62px; border-radius: 50%; background: #e8f5ee; color: #1F7A3D;
  display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 12px;
}

/* Footer signup line */
.footer-cta { margin-top: 8px; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .search-form { margin-left: 0; width: 100%; }
  .search-form input { flex: 1; min-width: 0; }
}
/* Four-step flow across full width */
.steps .step { padding: 20px 18px; }
.steps h3 { font-size: 15.5px; }
