:root {
  color-scheme: light;
  --page: #f6f1e8;
  --paper: #fffdf8;
  --ink: #263027;
  --muted: #657164;
  --line: rgba(38, 48, 39, 0.14);
  --accent: #426f55;
  --accent-2: #8d6741;
  --soft: #e6eee3;
  --chip: #f0e2cc;
  --shadow: 0 16px 40px rgba(55, 45, 30, 0.12);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #161b18;
  --paper: #202720;
  --ink: #edf2ea;
  --muted: #b7c2b5;
  --line: rgba(237, 242, 234, 0.16);
  --accent: #9ac6a5;
  --accent-2: #d7b17d;
  --soft: #263329;
  --chip: #373024;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.emv-workshops-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 16px 30px;
}

.emv-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 8px 0 18px;
}

.emv-brand {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
}

.emv-topbar-actions,
.emv-hero-actions,
.emv-meta-pills,
.emv-tags,
.emv-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.emv-topbar-actions {
  justify-content: flex-end;
}

.emv-nav-link,
.emv-icon-btn,
.emv-primary-link,
.emv-secondary-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.emv-nav-link,
.emv-icon-btn {
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  padding: 8px 11px;
}

.emv-icon-btn {
  cursor: pointer;
}

.emv-page-header,
.emv-detail-hero {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.emv-page-header {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: end;
}

.emv-detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  align-items: stretch;
}

.emv-eyebrow,
.emv-card-kicker {
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  line-height: 1.25;
  letter-spacing: 0;
}

.emv-page-header p,
.emv-hero-subtitle,
.emv-workshop-card p,
.emv-mini-card p,
.emv-session-card p,
.emv-contact-card p,
.emv-section-head p,
.emv-muted {
  color: var(--muted);
}

.emv-hero-subtitle {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 17px;
}

.emv-search {
  display: grid;
}

.emv-search input {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  padding: 10px 14px;
}

.emv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.emv-card-grid,
.emv-feature-grid,
.emv-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.emv-workshop-card,
.emv-mini-card,
.emv-session-card,
.emv-contact-card,
.emv-boundary,
.emv-two-column > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.emv-workshop-card,
.emv-mini-card,
.emv-contact-card,
.emv-boundary,
.emv-two-column > div {
  padding: 18px;
}

.emv-workshop-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.emv-workshop-card h2 a {
  text-decoration: none;
}

.emv-primary-link,
.emv-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 9px 14px;
  font-weight: 720;
}

.emv-primary-link {
  background: var(--accent);
  color: var(--page);
  border-color: transparent;
}

.emv-secondary-link {
  background: transparent;
  color: var(--accent);
}

.emv-meta-pills {
  margin: 4px 0;
}

.emv-meta-pills span,
.emv-tags a,
.emv-chip-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  padding: 5px 9px;
}

.emv-meta-pills strong {
  color: var(--ink);
}

.emv-tags a {
  background: transparent;
  text-decoration: none;
}

.emv-tags a:hover,
.emv-tags a:focus-visible {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--soft);
}

.emv-section {
  padding-top: 30px;
}

.emv-workshop-social-preview {
  position: relative;
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.emv-workshop-social-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.emv-workshop-social-preview figcaption {
  position: absolute;
  left: clamp(20px, 5vw, 58px);
  bottom: clamp(20px, 5vw, 54px);
  display: grid;
  max-width: min(560px, 72%);
  gap: 8px;
  color: #fffdf0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.emv-workshop-social-preview figcaption span {
  color: #d8e5d0;
  font-size: clamp(12px, 2vw, 20px);
  font-weight: 780;
  text-transform: uppercase;
}

.emv-workshop-social-preview figcaption strong {
  font-size: clamp(30px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.emv-section-head {
  margin-bottom: 12px;
}

.emv-intro-section > p,
.emv-boundary p,
.emv-closing-note {
  max-width: 860px;
}

.emv-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emv-check-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 12px 14px;
}

.emv-session-list {
  display: grid;
  gap: 10px;
}

.emv-session-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.emv-session-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 780;
}

.emv-session-materials {
  margin-top: 10px;
}

.emv-resource-list {
  display: grid;
  gap: 8px;
}

.emv-resource-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 80%, var(--soft));
  padding: 9px 11px;
  text-decoration: none;
}

.emv-resource-list a:hover,
.emv-nav-link:hover,
.emv-icon-btn:hover,
.emv-secondary-link:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--soft);
}

.emv-resource-list span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.emv-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.emv-boundary {
  background: var(--soft);
}

.emv-boundary a,
.emv-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 680;
}

.emv-closing-note {
  margin: 28px 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.emv-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.cky-preference-center,
.cky-preference-content-wrapper,
.cky-preference-body-wrapper,
.cky-accordion-wrapper,
.cky-accordion,
.cky-accordion-item,
.cky-accordion-header-wrapper,
.cky-accordion-header,
.cky-accordion-header-des {
  max-width: calc(100vw - 24px) !important;
}

.cky-preference-center {
  left: 12px !important;
  right: 12px !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .emv-page-header,
  .emv-detail-hero,
  .emv-card-grid,
  .emv-feature-grid,
  .emv-two-column,
  .emv-check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .emv-workshops-shell {
    padding: 12px;
  }

  .emv-topbar {
    align-items: flex-start;
  }

  .emv-page-header,
  .emv-detail-hero {
    padding: 18px;
  }

  .emv-workshop-social-preview figcaption {
    max-width: 82%;
  }

  .emv-session-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }
}
