/* EventDetails default skin.
   Change colors, spacing, typography, and card styles here to affect the whole site. */

:root {
  --ed-navy: #0f2f59;
  --ed-blue: #1d5fa8;
  --ed-sky: #eaf5ff;
  --ed-green: #83bf35;
  --ed-green-dark: #5b8f1d;
  --ed-teal: #1f8aa7;
  --ed-gold: #f0b94f;
  --ed-cream: #fffaf2;
  --ed-paper: #ffffff;
  --ed-ink: #1d2733;
  --ed-muted: #5f6f80;
  --ed-line: rgba(15, 47, 89, 0.12);
  --ed-shadow: 0 24px 65px rgba(15, 47, 89, 0.14);
  --ed-radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ed-ink);
  background:
    radial-gradient(circle at top left, rgba(131,191,53,.16), transparent 28rem),
    radial-gradient(circle at top right, rgba(29,95,168,.12), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, var(--ed-cream) 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.ed-wrap {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

/* Top navigation */
.ed-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.ed-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ed-navy);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.ed-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--ed-blue), var(--ed-green));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(29,95,168,.24);
  font-size: 1.1rem;
  font-weight: 900;
}

.ed-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ed-muted);
}

.ed-nav a {
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 700;
}

.ed-nav a:hover {
  background: rgba(255,255,255,.8);
  color: var(--ed-navy);
}

.ed-nav-cta {
  background: linear-gradient(135deg, var(--ed-blue), var(--ed-teal));
  color: #fff !important;
  border-radius: 999px;
  padding: 9px 14px !important;
  box-shadow: 0 10px 22px rgba(29,95,168,.18);
}

.ed-mobile-menu-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ed-mobile-menu-button {
  display: none;
  cursor: pointer;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  color: var(--ed-navy);
  background: rgba(255,255,255,.8);
  box-shadow: 0 8px 22px rgba(15,47,89,.08);
}

/* Homepage/base sections */
.ed-hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: center;
  padding: 26px 0 70px;
}

.ed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ed-blue);
  background: rgba(29,95,168,.08);
  border: 1px solid rgba(29,95,168,.12);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: 16px;
}

.ed-h1 {
  margin: 0;
  color: var(--ed-navy);
  font-size: clamp(3rem, 6.7vw, 5.6rem);
  line-height: .94;
  letter-spacing: -0.075em;
}

.ed-slogan {
  margin-top: 22px;
  color: var(--ed-green-dark);
  font-weight: 900;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.ed-lead {
  margin: 20px 0 0;
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--ed-muted);
  max-width: 620px;
}

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

.ed-admin-actions {
  margin: 18px 0 24px;
}

.ed-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 21px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
}

.ed-btn-primary {
  background: linear-gradient(135deg, var(--ed-blue), var(--ed-teal));
  color: #fff;
  box-shadow: 0 18px 35px rgba(29,95,168,.25);
}

.ed-btn-secondary {
  background: rgba(255,255,255,.84);
  color: var(--ed-navy);
  border-color: var(--ed-line);
}

.ed-hero-note {
  margin-top: 18px;
  color: var(--ed-muted);
  font-size: .97rem;
  line-height: 1.65;
  max-width: 620px;
}

.ed-hero-card,
.ed-card,
.ed-sign-card,
.ed-event-box {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow);
  overflow: hidden;
}

.ed-hero-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  background: linear-gradient(135deg, var(--ed-navy), var(--ed-blue));
  color: #fff;
  padding: 16px 18px;
}

.ed-hero-caption strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.ed-hero-caption span {
  color: rgba(255,255,255,.78);
  font-size: .94rem;
  line-height: 1.45;
}

.ed-mini-url {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  white-space: nowrap;
  font-size: .9rem;
}

.ed-band {
  background: linear-gradient(135deg, var(--ed-navy), var(--ed-blue));
  color: #fff;
  margin: 18px 0 0;
  padding: 20px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.ed-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
  text-align: center;
}

.ed-band-item {
  font-weight: 900;
  letter-spacing: -.03em;
  font-size: clamp(1.08rem, 2.3vw, 1.45rem);
}

.ed-band-item span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: 0;
}

.ed-section {
  padding: 58px 0;
}

.ed-section-title {
  margin: 0 0 14px;
  text-align: center;
  color: var(--ed-navy);
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.ed-section-intro {
  margin: 0 auto 30px;
  color: var(--ed-muted);
  text-align: center;
  max-width: 780px;
  font-size: 1.1rem;
  line-height: 1.65;
}

.ed-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ed-cards-four {
  grid-template-columns: repeat(4, 1fr);
}

.ed-card {
  padding: 24px;
}

.ed-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(131,191,53,.14);
  color: var(--ed-green-dark);
  font-size: 1.45rem;
  margin-bottom: 14px;
  font-weight: 900;
}

.ed-card h3,
.ed-sign-card h3 {
  margin: 0 0 10px;
  color: var(--ed-navy);
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.ed-card p,
.ed-sign-card p {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.58;
}

.ed-sign-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.ed-sign-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.ed-sign-card-body {
  padding: 18px 18px 20px;
}

.ed-example-box {
  background: linear-gradient(135deg, #143767, #0f2f59);
  color: #fff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--ed-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.ed-example-box h2 {
  text-align: left;
  color: #fff;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.ed-example-box p {
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}

.ed-links-demo {
  display: grid;
  gap: 10px;
}

.ed-demo-link {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 13px 15px;
  font-weight: 900;
  color: #fff;
  word-break: break-word;
}

.ed-demo-link span { color: var(--ed-gold); }

.ed-notice {
  margin: 40px auto 0;
  max-width: 860px;
  background: rgba(240,185,79,.16);
  border: 1px solid rgba(240,185,79,.35);
  border-radius: 22px;
  padding: 20px;
  color: #694b0f;
  line-height: 1.62;
  text-align: center;
  font-weight: 700;
}

.ed-footer {
  padding: 36px 0 46px;
  color: var(--ed-muted);
  text-align: center;
  border-top: 1px solid var(--ed-line);
  margin-top: 26px;
  font-size: .95rem;
}

/* Public campaign page */
.ed-event-main {
  padding: 24px 0 60px;
}

.ed-event-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}

.ed-event-box {
  padding: 26px;
}

.ed-event-title {
  margin: 0;
  color: var(--ed-navy);
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.ed-event-subtitle {
  font-size: 1.3rem;
  color: var(--ed-green-dark);
  font-weight: 900;
  margin: 16px 0 0;
}

.ed-detail-list {
  display: grid;
  gap: 12px;
}

.ed-detail {
  padding: 13px 14px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid var(--ed-line);
}

.ed-label {
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--ed-muted);
  letter-spacing: .04em;
}

.ed-value {
  font-weight: 900;
  color: var(--ed-navy);
  margin-top: 3px;
}

/* Forms */
.ed-form input,
.ed-form textarea,
.ed-form select {
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  margin: 6px 0 12px;
  background: #fff;
}

.ed-form label {
  font-weight: 800;
  color: var(--ed-navy);
}

.ed-check {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  color: var(--ed-muted);
  font-weight: 700;
}

.ed-check input {
  width: auto;
  margin: 0;
}

.ed-submit {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ed-blue), var(--ed-teal));
  color: white;
  font-weight: 900;
  padding: 13px 18px;
  font-size: 1rem;
  cursor: pointer;
}

/* Admin / account tables */
.ed-admin-table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.ed-admin-table th,
.ed-admin-table td {
  border: 1px solid #dde5ee;
  padding: 9px;
  text-align: left;
  vertical-align: top;
}

.ed-admin-table th {
  background: var(--ed-navy);
  color: white;
}

.ed-admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ed-admin-form-wide {
  grid-column: 1 / -1;
}

.ed-small-muted {
  color: var(--ed-muted);
  font-size: .92rem;
  line-height: 1.45;
}

.ed-admin-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(29,95,168,.08);
  color: var(--ed-blue);
  font-size: .84rem;
  font-weight: 900;
}

.ed-admin-pill-off {
  background: rgba(95,111,128,.12);
  color: var(--ed-muted);
}

.ed-admin-message {
  background: rgba(131,191,53,.14);
  border: 1px solid rgba(131,191,53,.35);
  color: #3f6812;
  padding: 14px 16px;
  border-radius: 16px;
  margin: 16px 0;
  font-weight: 800;
}

.ed-admin-error {
  background: rgba(204,49,49,.10);
  border: 1px solid rgba(204,49,49,.25);
  color: #8a1f1f;
}

/* Public user account pages */
.ed-auth-box {
  max-width: 620px;
  margin: 28px auto;
}

.ed-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  align-items: center;
}

.ed-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

/* QR tracking */
.ed-qr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.ed-qr-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--ed-line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(15,47,89,.08);
}

.ed-qr-img-wrap {
  background: white;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  padding: 12px;
}

.ed-qr-body h3 {
  margin: 0 0 12px;
  color: var(--ed-navy);
  font-size: 1.25rem;
}

.ed-copy-box {
  background: #f7fbff;
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  padding: 11px 12px;
  font-weight: 900;
  color: var(--ed-navy);
  word-break: break-all;
  margin: 6px 0 14px;
}

/* Account menu */
.ed-account-menu-wrap,
.ed-admin-menu-wrap {
  margin: 18px 0 24px;
}

.ed-account-menu,
.ed-admin-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  padding: 8px;
}

.ed-account-menu-link,
.ed-admin-menu-link {
  text-decoration: none;
  color: var(--ed-muted);
  font-weight: 900;
  border-radius: 999px;
  padding: 9px 13px;
}

.ed-account-menu-link:hover,
.ed-admin-menu-link:hover {
  color: var(--ed-navy);
  background: rgba(15,47,89,.06);
}

.ed-account-menu-active {
  background: linear-gradient(135deg, var(--ed-blue), var(--ed-teal));
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(29,95,168,.18);
}

.ed-admin-menu-active {
  background: linear-gradient(135deg, #243b63, var(--ed-blue));
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(36,59,99,.18);
}

/* Responsive */
@media (max-width: 980px) {
  .ed-hero,
  .ed-event-grid,
  .ed-example-box {
    grid-template-columns: 1fr;
  }

  .ed-cards,
  .ed-cards-four,
  .ed-sign-gallery {
    grid-template-columns: 1fr;
  }

  .ed-lead,
  .ed-hero-note {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .ed-admin-form-grid {
    grid-template-columns: 1fr;
  }

  .ed-admin-form-wide {
    grid-column: auto;
  }

  .ed-admin-table {
    display: block;
    overflow-x: auto;
  }

  .ed-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ed-topbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .ed-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .ed-mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ed-nav {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--ed-line);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(15,47,89,.12);
  }

  .ed-mobile-menu-check:checked ~ .ed-nav {
    display: flex;
  }

  .ed-nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .ed-nav a:hover {
    background: rgba(15,47,89,.06);
  }

  .ed-nav-cta {
    border-radius: 12px;
  }

  .ed-band-grid {
    grid-template-columns: 1fr;
  }

  .ed-hero-caption {
    grid-template-columns: 1fr;
  }

  .ed-qr-card {
    grid-template-columns: 1fr;
  }

  .ed-qr-img-wrap {
    max-width: 260px;
  }
}

@media (max-width: 620px) {
  .ed-account-menu,
  .ed-admin-menu {
    border-radius: 18px;
  }

  .ed-account-menu-link,
  .ed-admin-menu-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .ed-wrap {
    width: min(100% - 24px, 1180px);
  }

  .ed-topbar {
    padding-top: 16px;
  }

  .ed-hero {
    padding-bottom: 50px;
  }

  .ed-actions {
    flex-direction: column;
  }

  .ed-btn {
    width: 100%;
  }
}
