/* About-aligned content shell — inner pages & scroll section panels (72rem measure). */

body.corp.gal-about-page {
  --hub-gal-accent: var(--gal-about-hero-accent, var(--gal-sage));
}

body.fel-scroll-page,
body.fel-portal-page {
  --hub-gal-accent: var(--fel-galleria-accent, var(--gal-gold));
}

body.acc-scroll-page {
  --hub-gal-accent: var(--gal-deep-blue);
}

.hub-gal-content {
  width: 100%;
  max-width: 72rem;
}

.hub-gal-content--wide {
  max-width: 88rem;
}

.hub-gal-content--head {
  max-width: 72rem;
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.hub-gal-content--narrow {
  max-width: 42rem;
}

/* Page / section titles (About mission scale) */
.hub-gal-content > h1,
.hub-gal-page-title,
.hub-gal-section-title {
  margin: 0 0 1.35rem;
  font-family: inherit;
  font-size: clamp(2.35rem, 5.8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--gal-midnight);
}

.hub-gal-section-title {
  margin-bottom: 0.75rem;
}

/* Subheads within content */
.hub-gal-content > h2,
.hub-gal-content h2.hub-gal-subhead {
  margin: 2rem 0 0.75rem;
  font-family: inherit;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--gal-midnight);
}

/* Lead / intro */
.hub-gal-content > .acc-portal-lead,
.hub-gal-content > .acc-slide-lead,
.hub-gal-page-lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: clamp(1rem, 1.65vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--gal-slate);
}

.hub-gal-content > .corp-prose,
.hub-gal-content .fel-bullet-list,
.hub-gal-content .fel-ongoing-note,
.hub-gal-content .acc-faq-list {
  max-width: 42rem;
}

.hub-gal-content .fel-portal-hero {
  max-width: 56rem;
}

/* CTA rows */
.hub-gal-page-actions,
.hub-gal-content .acc-portal-actions,
.hub-gal-content .acc-section-register,
.hub-gal-content .fel-section-join {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: clamp(1.25rem, 2.5vh, 2rem) 0 0;
}

.hub-gal-content .acc-portal-actions {
  margin-bottom: 0;
}

/* Pill buttons (About hero actions) */
.hub-gal-pill,
.gal-about-hero-btn,
.fel-galleria-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}

.hub-gal-pill--primary,
.gal-about-hero-btn--primary,
.fel-galleria-hero-btn--primary {
  background: var(--hub-gal-accent, var(--gal-sage));
  border-color: var(--hub-gal-accent, var(--gal-sage));
  color: #fff;
}

body.corp a.hub-gal-pill--primary,
body.corp a.hub-gal-pill--primary:visited,
body.corp a.gal-about-hero-btn--primary,
body.corp a.gal-about-hero-btn--primary:visited,
body.corp a.fel-galleria-hero-btn--primary,
body.corp a.fel-galleria-hero-btn--primary:visited {
  color: #fff;
  background: var(--hub-gal-accent, var(--gal-sage));
  border-color: var(--hub-gal-accent, var(--gal-sage));
}

.hub-gal-pill--primary:hover,
.hub-gal-pill--primary:focus-visible,
.gal-about-hero-btn--primary:hover,
.gal-about-hero-btn--primary:focus-visible,
.fel-galleria-hero-btn--primary:hover,
.fel-galleria-hero-btn--primary:focus-visible,
body.corp a.hub-gal-pill--primary:hover,
body.corp a.hub-gal-pill--primary:focus-visible,
body.corp a.gal-about-hero-btn--primary:hover,
body.corp a.gal-about-hero-btn--primary:focus-visible,
body.corp a.fel-galleria-hero-btn--primary:hover,
body.corp a.fel-galleria-hero-btn--primary:focus-visible {
  background: color-mix(in srgb, var(--hub-gal-accent, var(--gal-sage)) 82%, #000);
  border-color: color-mix(in srgb, var(--hub-gal-accent, var(--gal-sage)) 82%, #000);
  color: #fff;
  outline: none;
}

.hub-gal-pill--secondary,
.gal-about-hero-btn--secondary,
.fel-galleria-hero-btn--secondary {
  background: #fff;
  border-color: color-mix(in srgb, var(--gal-midnight) 18%, transparent);
  color: var(--gal-midnight);
}

body.corp a.hub-gal-pill--secondary,
body.corp a.hub-gal-pill--secondary:visited,
body.corp a.gal-about-hero-btn--secondary,
body.corp a.gal-about-hero-btn--secondary:visited,
body.corp a.fel-galleria-hero-btn--secondary,
body.corp a.fel-galleria-hero-btn--secondary:visited {
  color: var(--gal-midnight);
  background: #fff;
  border-color: color-mix(in srgb, var(--gal-midnight) 18%, transparent);
}

.hub-gal-pill--secondary:hover,
.hub-gal-pill--secondary:focus-visible,
.gal-about-hero-btn--secondary:hover,
.gal-about-hero-btn--secondary:focus-visible,
.fel-galleria-hero-btn--secondary:hover,
.fel-galleria-hero-btn--secondary:focus-visible,
body.corp a.hub-gal-pill--secondary:hover,
body.corp a.hub-gal-pill--secondary:focus-visible,
body.corp a.gal-about-hero-btn--secondary:hover,
body.corp a.gal-about-hero-btn--secondary:focus-visible,
body.corp a.fel-galleria-hero-btn--secondary:hover,
body.corp a.fel-galleria-hero-btn--secondary:focus-visible {
  background: color-mix(in srgb, var(--gal-midnight) 6%, #fff);
  border-color: color-mix(in srgb, var(--gal-midnight) 18%, transparent);
  color: var(--gal-midnight);
  outline: none;
}

/* Nomination submit keeps prominent weight but pill shape */
.hub-gal-content .fel-nomination-form .hub-gal-pill--primary,
.hub-gal-content .acc-portal-actions button.hub-gal-pill--primary {
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Override legacy uppercase register buttons inside Galleria content */
.hub-gal-content a.corp-btn--register-prominent,
.hub-gal-content button.corp-btn--register-prominent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.hub-gal-content a.corp-btn--register-prominent {
  background: var(--hub-gal-accent, var(--gal-sage));
  border: 1px solid var(--hub-gal-accent, var(--gal-sage));
  color: #fff;
}

.hub-gal-content a.corp-btn--register-prominent:hover,
.hub-gal-content a.corp-btn--register-prominent:focus-visible {
  background: color-mix(in srgb, var(--hub-gal-accent, var(--gal-sage)) 82%, #000);
  border-color: color-mix(in srgb, var(--hub-gal-accent, var(--gal-sage)) 82%, #000);
  color: #fff;
}

/* Unified form controls (fees, nomination, accreditation tools) */
.hub-gal-form {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0 0;
}

.hub-gal-field {
  margin: 0;
}

.hub-gal-field label,
.hub-gal-form label,
.hub-gal-form .fel-nomination-label,
.hub-gal-form .fel-nomination-legend {
  display: block;
  margin: 0 0 0.4rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gal-midnight);
}

.hub-gal-field-hint,
.hub-gal-form .fel-nomination-hint {
  display: block;
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gal-slate);
}

.hub-gal-control,
.hub-gal-form .hub-gal-control,
.hub-gal-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.hub-gal-form select,
.hub-gal-form textarea,
.hub-gal-content .fel-nomination-input,
.hub-gal-content .fel-nomination-textarea {
  display: block;
  width: 100%;
  max-width: 28rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gal-midnight);
  background-color: #fff;
  border: 1px solid color-mix(in srgb, var(--gal-midnight) 18%, transparent);
  border-radius: 0.5rem;
}

.hub-gal-form input:not([type="radio"]):not([type="checkbox"]),
.hub-gal-form textarea,
.hub-gal-content .fel-nomination-input,
.hub-gal-content .fel-nomination-textarea {
  appearance: none;
}

.hub-gal-form textarea,
.hub-gal-content .fel-nomination-textarea {
  min-height: 10rem;
  resize: vertical;
}

.hub-gal-control:focus-visible,
.hub-gal-form input:focus-visible,
.hub-gal-form select:focus-visible,
.hub-gal-form textarea:focus-visible,
.hub-gal-content .fel-nomination-input:focus-visible,
.hub-gal-content .fel-nomination-textarea:focus-visible {
  outline: 3px solid var(--gal-focus);
  outline-offset: 2px;
  border-color: var(--gal-deep-blue);
}

.hub-gal-control:disabled,
.hub-gal-form input:disabled,
.hub-gal-form select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.hub-gal-form .fel-nomination-radio {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--gal-slate);
}
