:root {
  --page-bg: #f2faef;
  --surface: #ffffff;
  --mint-soft: #edf8e8;
  --mint-mid: #d8efcf;
  --mint-strong: #9dce95;
  --text: #1f2a24;
  --muted: #5f7067;
  --nav-bg: #f8fcf6;
  --nav-border: #d5e8d0;
  --brand: #2f7d3d;
  --brand-dark: #245f2f;
  --accent-date: #2a6f38;
  --disabled: #8c959f;
}

html {
  scrollbar-gutter: stable;
}

body {
  background:
    radial-gradient(circle at 10% -10%, #e4f5dc 0%, transparent 45%),
    radial-gradient(circle at 90% 110%, #edf9e9 0%, transparent 35%),
    var(--page-bg);
  color: var(--text);
}

.container-lg.markdown-body {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0.8rem 1.1rem 2rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 6px 16px rgba(47, 125, 61, 0.05);
  position: sticky;
  top: 0;
  z-index: 99;
}

.hero-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(47, 125, 61, 0.1);
  background: transparent !important;
}

.hero-brand {
  display: block;
  background: transparent !important;
}

.hero-brand img {
  height: 96px;
  width: auto;
  display: block;
  background: transparent !important;
}

.hero-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(47, 125, 61, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, outline 0.2s ease;
}

.hero-nav a:hover {
  background: #f5faf2;
  border-color: #b0d6a8;
}

.hero-nav a:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
  background: #f5faf2;
}

.hero-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.site-brand {
  background: transparent !important;
}

.site-brand img {
  height: 80px;
  width: auto;
  display: block;
  background: transparent !important;
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  background: var(--nav-bg);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, outline 0.2s ease;
}

.site-nav a:hover {
  background: #eef8ea;
  border-color: #cce3c6;
}

.site-nav a:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
  background: #eef8ea;
  border-color: #cce3c6;
}

.site-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.markdown-body > hr {
  display: none;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  font-family: "Avenir Next", "Nunito Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  letter-spacing: -0.01em;
}

.markdown-body p,
.markdown-body li,
.markdown-body blockquote,
.markdown-body a,
.markdown-body span {
  color: var(--text);
}

.content-section p {
  margin-bottom: 0.5rem;
}

.content-section ul,
.content-section ol {
  margin-bottom: 0.6rem;
}

.markdown-body h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.7rem;
}

.markdown-body ul li {
  margin-bottom: 0.22rem;
}

.markdown-body a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.markdown-body .btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, outline 0.2s ease;
}

.markdown-body .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(36, 95, 47, 0.18);
}

.markdown-body .btn:focus-visible {
  outline: 2.5px solid #1f2a24;
  outline-offset: 2px;
}

.markdown-body .btn-primary {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.markdown-body .btn-primary:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.markdown-body .btn-primary:focus-visible {
  outline: 2.5px solid #1f2a24;
  outline-offset: 2px;
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.hero-panel {
  background: linear-gradient(135deg, #e7f6df 0%, #d9efcf 100%);
  border: none;
  box-shadow: 0 14px 32px rgba(47, 125, 61, 0.12);
  padding: 1.8rem 1.2rem !important;
  margin-bottom: 0.8rem !important;
  border-radius: 16px;
}

.hero-panel h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  margin-top: 0;
  letter-spacing: -0.02em;
}

.hero-panel p {
  color: var(--text);
}

.hero-panel .f3 {
  font-size: 1.15rem;
  color: var(--brand-dark);
  font-weight: 600;
  margin: 0.75rem 0 0.9rem;
  letter-spacing: 0.01em;
}

.hero-panel .f4 {
  font-size: 0.95rem;
  color: #385246;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.workshop-date {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  background: rgba(47, 125, 61, 0.12);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.is-disabled-btn {
  display: inline-block;
  font-size: 1.125rem;
  padding: 0.75rem 1.25rem;
  background: var(--disabled) !important;
  border-color: var(--disabled) !important;
  color: #ffffff !important;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none !important;
}

.is-disabled-btn:hover,
.is-disabled-btn:focus {
  background: var(--disabled) !important;
  border-color: var(--disabled) !important;
  color: #ffffff !important;
}

.submission-note {
  color: var(--muted);
  font-style: italic;
}

.quick-links {
  text-align: center;
  margin: 0.7rem auto 1rem;
  padding: 1.15rem 1.1rem;
  max-width: 960px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(36, 95, 47, 0.06);
  color: #446154;
}

.quick-links a {
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, outline 0.2s ease;
}

.quick-links a:hover {
  color: var(--brand);
}

.quick-links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.quick-links p {
  margin: 0;
  line-height: 1.5;
}

.content-section {
  border: none;
  border-radius: 14px;
  margin: 0.85rem 0;
  padding: 1.15rem 1.1rem 1rem;
  box-shadow: 0 6px 16px rgba(32, 72, 42, 0.05);
}

.content-section h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.section-green {
  background: linear-gradient(140deg, #edf8e8 0%, #e3f3db 100%);
}

.section-white {
  background: #ffffff;
}

.markdown-body blockquote {
  border-left: none;
  background: #f7fbf4;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.organizer-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d8ead1;
  border-radius: 12px;
  padding: 0.8rem 0.8rem 0.7rem;
  box-shadow: 0 4px 12px rgba(28, 78, 43, 0.06);
  transition: outline 0.2s ease;
}

.organizer-card:focus-within {
  outline: 2px solid rgba(47, 125, 61, 0.3);
}

.organizer-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2e5f3a;
  background: linear-gradient(145deg, #f6fcf3 0%, #ddefd6 100%);
  border: 1px solid #cde3c6;
  margin-bottom: 0.6rem;
}

.organizer-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.organizer-card p {
  margin: 0.22rem 0 0;
  color: #4f6558;
  font-size: 0.93rem;
  line-height: 1.4;
}

.organizer-card img.organizer-photo {
  object-fit: cover;
  padding: 0;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0.7rem;
  }

  .site-brand img {
    height: 72px;
  }

  .hero-nav-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
  }

  .hero-brand img {
    height: 80px;
  }

  .hero-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .workshop-date {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-panel {
    padding: 1.4rem 0.95rem !important;
  }

  .hero-panel h1 {
    font-size: 2rem;
  }

  .hero-panel .f3 {
    font-size: 1rem;
  }

  .hero-panel .f4 {
    font-size: 0.9rem;
  }

  .content-section {
    padding: 0.95rem 0.85rem 0.85rem;
    margin: 0.7rem 0;
  }

  .quick-links {
    padding: 0.95rem 0.8rem;
    margin: 0.6rem auto 0.8rem;
  }

  .organizers-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}
