:root {
  /* Palette sampled from the Golden Olive Oil Award logo:
     olive-green banner/ring, gold lettering & droplet, leaf green,
     ivory background and warm wood/terracotta (bread & board). */
  --olive: #6f7f3e;          /* olive leaves */
  --olive-dark: #515f2b;     /* banner green */
  --olive-deep: #36431b;     /* outer ring / dark text */
  --terracotta: #b56a3a;     /* warm wood / clay accent */
  --terracotta-dark: #94542b;
  --cream: #f4efe1;          /* logo ivory background */
  --cream-2: #ebe2cd;
  --sand: #dccdab;
  --ink: #2e2a22;
  --ink-soft: #5c5648;
  --gold: #c8a23c;           /* "GOLDEN" lettering & rings */
  --gold-light: #e6cd86;
  --white: #fffdf6;
  --shadow: 0 8px 28px rgba(54, 67, 27, 0.13);
  --radius: 14px;
  --maxw: 1140px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("/img/pattern-olive.svg");
  background-size: 300px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 0.4em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--olive-deep); }
h3 { font-size: 1.2rem; }
a { color: var(--terracotta-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-weight: 700; color: var(--olive-deep); text-decoration: none; font-size: 1.1rem; }
.brand .leaf { font-size: 1.4rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.96rem; }
.nav a:hover { color: var(--terracotta-dark); }
.lang-switch { display: flex; gap: 0.25rem; margin-left: 0.5rem; }
.lang-switch button {
  border: 1px solid var(--sand); background: transparent; color: var(--ink-soft);
  padding: 0.2rem 0.5rem; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: 600;
}
.lang-switch button.active { background: var(--olive); color: var(--white); border-color: var(--olive); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--olive-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: none; border-radius: 999px;
  padding: 0.7rem 1.5rem; font-size: 0.98rem; font-weight: 600; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-secondary { background: transparent; color: var(--cream); border: 2px solid var(--cream); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-olive { background: var(--olive); color: var(--white); }
.btn-olive:hover { background: var(--olive-dark); }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--cream); text-align: center;
  background-color: #36431b;
  background-image:
    linear-gradient(rgba(53,61,28,0.55), rgba(53,61,28,0.75)),
    url("/img/home.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center center;
  background-size: cover, cover;
  padding: clamp(4rem, 12vw, 8rem) 0;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.85rem; color: var(--gold-light); margin-bottom: 1rem; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 0.3em; text-shadow: 0 2px 18px rgba(0,0,0,0.3); }
.hero .tagline { font-size: clamp(1.1rem, 2.4vw, 1.5rem); max-width: 720px; margin: 0 auto 1.5rem; opacity: 0.95; }
.hero .dates { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); margin-bottom: 0.4rem; }
.hero .prekick { font-size: 0.98rem; opacity: 0.9; margin-bottom: 2rem; }
.hero .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Themes ---------- */
.themes {
  background-color: var(--cream-2);
  background-image: url("/img/pattern-olive.svg");
  background-size: 260px;
}
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.theme-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem;
  box-shadow: var(--shadow); border-top: 5px solid var(--olive); text-align: center;
}
.theme-card .num { font-family: var(--serif); font-size: 2.2rem; color: var(--terracotta); display: block; margin-bottom: 0.3rem; }
.theme-card p { color: var(--ink-soft); margin: 0; }

/* ---------- Program ---------- */
.day-tabs { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.day-tab {
  background: var(--white); border: 1px solid var(--sand); border-radius: 12px;
  padding: 0.7rem 1.1rem; cursor: pointer; text-align: center; min-width: 140px;
  transition: all 0.15s ease;
}
.day-tab .d-date { font-family: var(--serif); font-weight: 700; color: var(--olive-deep); display: block; }
.day-tab .d-theme { font-size: 0.82rem; color: var(--ink-soft); }
.day-tab.active { background: var(--olive); border-color: var(--olive); }
.day-tab.active .d-date, .day-tab.active .d-theme { color: var(--white); }

.day-intro { text-align: center; max-width: 680px; margin: 0 auto 2rem; color: var(--ink-soft); }
.day-intro .day-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--olive-deep); }
.day-intro .day-motto { color: var(--terracotta-dark); font-style: italic; font-size: 1.05rem; }
.day-intro .day-intro-text { font-style: italic; display: inline-block; margin-top: 0.5rem; }
.availability.open { color: var(--olive-dark); }

.activity-list { display: grid; gap: 1.1rem; max-width: 860px; margin: 0 auto; }
.activity {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem; display: grid; grid-template-columns: 90px 1fr auto;
  gap: 1.2rem; align-items: center;
}
.activity.highlight { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffdf4, var(--white)); }
.activity .time-col { text-align: center; }
.activity .time { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--terracotta-dark); }
.activity .dur { font-size: 0.78rem; color: var(--ink-soft); }
.activity .body h3 { margin-bottom: 0.25rem; }
.activity .meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.activity .meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.activity .desc { font-size: 0.92rem; color: var(--ink-soft); margin: 0; white-space: pre-line; }
.activity .details-link { display: inline-block; margin-top: 0.4rem; font-size: 0.85rem; font-weight: 600; }
.activity .action-col { text-align: right; min-width: 140px; }
.activity .availability { font-size: 0.8rem; margin-bottom: 0.5rem; color: var(--olive-dark); font-weight: 600; }
.activity .availability.low { color: var(--terracotta-dark); }
.activity .availability.out { color: #999; }
.badge-gold { display: inline-block; background: var(--gold); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.price-tag { font-weight: 700; color: var(--olive-deep); }

/* ---------- Award ---------- */
.award {
  background-color: #283012;
  background-image:
    url("/img/pattern-olive-gold.svg"),
    linear-gradient(rgba(36,43,21,0.92), rgba(28,33,16,0.95)),
    radial-gradient(circle at 70% 30%, #43501f, #283012);
  background-size: 220px, cover, cover;
  color: var(--cream);
}
.award h2 { color: var(--gold-light); }
.award .lead { font-size: 1.2rem; max-width: 720px; margin: 0 auto 1rem; text-align: center; }
.award .body-text { max-width: 720px; margin: 0 auto 1.5rem; text-align: center; opacity: 0.9; }
.award .deadline { text-align: center; color: var(--gold-light); font-weight: 600; margin-bottom: 2rem; }
.award-logo {
  display: block; width: clamp(200px, 30vw, 300px); height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

/* ---------- Masterclass page ---------- */
.mc-hero {
  color: var(--cream); text-align: center;
  background-color: #36431b;
  background-image:
    linear-gradient(rgba(53,61,28,0.62), rgba(53,61,28,0.80)),
    url("/img/home.jpg");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center, center center;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.mc-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.3em; text-shadow: 0 2px 18px rgba(0,0,0,0.3); }
.mc-hero .eyebrow { letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.85rem; color: var(--gold-light); margin-bottom: 1rem; }
.mc-hero .tagline { font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.5rem); max-width: 720px; margin: 0 auto; }
.container-narrow { max-width: 760px; }
.container-narrow h2 { text-align: center; margin-bottom: 1.5rem; }
.container-narrow .body-text { margin-bottom: 1.1rem; color: var(--ink-soft); }
.container-narrow .body-text.lead-line {
  font-family: var(--serif); font-size: 1.15rem; color: var(--olive-deep); text-align: center;
  margin: 1.8rem 0;
}
.mc-takehome { background-color: var(--cream-2); background-image: url("/img/pattern-olive.svg"); background-size: 260px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.check-list li {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--olive);
  padding: 0.9rem 1.1rem 0.9rem 2.8rem; position: relative; color: var(--ink);
}
.check-list li::before {
  content: "✔"; position: absolute; left: 1rem; top: 0.9rem;
  color: var(--olive); font-weight: 700;
}
.info-list {
  display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem; margin: 0 0 1.5rem;
}
.info-list dt { font-weight: 700; color: var(--olive-deep); }
.info-list dd { margin: 0; color: var(--ink-soft); }
.container-narrow .limited { font-weight: 600; color: var(--terracotta-dark); text-align: center; }
.container-narrow .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.8rem 0; }
.btn-secondary-dark { background: transparent; color: var(--olive-deep); border: 2px solid var(--olive); }
.btn-secondary-dark:hover { background: rgba(122, 138, 74, 0.12); }
.mc-closing {
  font-family: var(--serif); font-style: italic; text-align: center;
  color: var(--olive-deep); font-size: 1.1rem; margin: 0;
}
@media (max-width: 520px) {
  .info-list { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .info-list dd { margin-bottom: 0.7rem; }
}

/* ---------- Team & sponsor pages ---------- */
.page-hero {
  color: var(--cream); text-align: center;
  background-color: #36431b;
  background-image:
    linear-gradient(rgba(53,61,28,0.62), rgba(53,61,28,0.80)),
    url("/img/home.jpg");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center, center center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.3em; text-shadow: 0 2px 18px rgba(0,0,0,0.3); }
.page-hero .eyebrow { letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.85rem; color: var(--gold-light); margin-bottom: 1rem; }
.page-hero .tagline { font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.5rem); max-width: 720px; margin: 0 auto; }
.page-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; color: var(--ink-soft); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 300px)); gap: 1.5rem; justify-content: center; }
.team-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem; text-align: center;
}
.team-card h3 { margin-bottom: 0.2rem; color: var(--olive-deep); }
.team-card .role { color: var(--terracotta-dark); font-weight: 600; font-size: 0.9rem; margin: 0 0 0.6rem; }
.team-card .bio { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.team-card .links { font-size: 0.85rem; margin: 0.7rem 0 0; }
.team-photo {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 0.9rem; display: block; border: 3px solid var(--cream-2);
}
.team-photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--olive); color: var(--white);
  font-family: var(--serif); font-size: 2rem; letter-spacing: 0.05em;
}

.volunteer { background-color: var(--cream-2); background-image: url("/img/pattern-olive.svg"); background-size: 260px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.4rem 1rem; }
.check-grid .check { align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; }
.check-grid .check input { margin-top: 0.25rem; }

.tier-head {
  text-align: center; font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin: 2rem 0 1rem;
}
.tier-head.tier-gold { color: var(--gold); }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin: 0 auto 1rem; }
.sponsor-grid.tier-gold { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sponsor-link { text-decoration: none; }
.sponsor-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.3rem; text-align: center; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
}
.sponsor-card img { max-width: 100%; max-height: 90px; object-fit: contain; }
.sponsor-card .sponsor-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--olive-deep); }
.sponsor-card p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.sponsor-grid.tier-gold .sponsor-card { border: 2px solid var(--gold); }
.sponsor-empty { text-align: center; color: var(--ink-soft); }

.packages { background-color: var(--cream-2); background-image: url("/img/pattern-olive.svg"); background-size: 260px; }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.package-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.5rem 1.3rem; border-top: 5px solid var(--olive);
}
.package-card.tier-gold { border-top-color: var(--gold); }
.package-card.tier-silver { border-top-color: #b9b7ad; }
.package-card.tier-bronze { border-top-color: var(--terracotta); }
.package-card h3 { color: var(--olive-deep); margin-bottom: 0.3rem; }
.package-card .amount { font-family: var(--serif); font-size: 1.5rem; color: var(--terracotta-dark); margin: 0 0 0.6rem; }
.package-card .benefits { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Forms ---------- */
.card-form {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2rem; max-width: 640px; margin: 0 auto; color: var(--ink);
}
.card-form h3 { color: var(--olive-deep); margin-bottom: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.2rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--sand); border-radius: 9px; padding: 0.6rem 0.75rem;
  font-size: 0.95rem; font-family: inherit; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--olive); border-color: var(--olive); background: var(--white); }
.field textarea { resize: vertical; min-height: 80px; }
.field-hint { margin: 0 0 0.1rem; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.form-msg { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 9px; font-size: 0.92rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e6efd9; color: var(--olive-dark); border: 1px solid var(--olive); }
.form-msg.err { background: #f7e2da; color: var(--terracotta-dark); border: 1px solid var(--terracotta); }

/* ---------- Contact ---------- */
.contact {
  background-color: var(--cream-2);
  background-image: url("/img/pattern-olive.svg");
  background-size: 260px;
}
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; max-width: 860px; margin: 0 auto; text-align: center; }
.contact-item .ic { font-size: 1.8rem; }
.contact-item .ic svg { display: inline-block; vertical-align: middle; }
.contact-item h3 { font-size: 1rem; margin: 0.4rem 0 0.2rem; }
.contact-item p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-deep); color: var(--cream); text-align: center; padding: 2rem 0; font-size: 0.9rem; }
.site-footer a { color: var(--gold-light); }
.site-footer p { margin: 0.2rem 0; }
.site-footer .credit { font-size: 0.8rem; opacity: 0.7; letter-spacing: 0.02em; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(46,42,34,0.6); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius); max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 2rem; position: relative;
}
.modal .close-x { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink-soft); }
.modal h3 { color: var(--olive-deep); }
.modal .activity-summary { background: var(--cream-2); border-radius: 9px; padding: 0.8rem 1rem; margin-bottom: 1.2rem; font-size: 0.9rem; }
.modal .activity-summary strong { color: var(--olive-deep); }

/* ---------- Admin ---------- */
.admin-body { background: var(--cream); }
.admin-login { max-width: 380px; margin: 6rem auto; }
.admin-wrap { max-width: 1100px; margin: 2rem auto; padding: 0 1.25rem; }
.admin-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-tabs button { background: var(--white); border: 1px solid var(--sand); padding: 0.5rem 1rem; border-radius: 9px; cursor: pointer; font-weight: 600; }
.admin-tabs button.active { background: var(--olive); color: #fff; border-color: var(--olive); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
table.data { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 0.9rem; }
table.data th, table.data td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--cream-2); }
table.data th { background: var(--olive); color: #fff; font-weight: 600; }
table.data tr:hover td { background: var(--cream); }
.stat-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.stat { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.5rem; flex: 1; min-width: 160px; }
.stat .n { font-family: var(--serif); font-size: 2rem; color: var(--terracotta-dark); }
.stat .l { font-size: 0.85rem; color: var(--ink-soft); }
.pill { padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.pill.received { background: #e3e0d3; color: #555; }
.pill.shortlisted { background: #d9e7c5; color: var(--olive-dark); }
.pill.winner { background: var(--gold); color: #fff; }
.pill.rejected { background: #f0d6cc; color: var(--terracotta-dark); }
.pill.new { background: #e3e0d3; color: #555; }
.pill.contacted { background: #e6dfc2; color: var(--terracotta-dark); }
.pill.confirmed { background: #d9e7c5; color: var(--olive-dark); }
.pill.declined { background: #f0d6cc; color: var(--terracotta-dark); }
.link-btn { background: none; border: none; color: var(--terracotta-dark); cursor: pointer; font-size: 0.85rem; text-decoration: underline; padding: 0; }

/* ---------- Programme editor (admin) ---------- */
.editor-actions { margin-top: 1.2rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.btn-ghost { background: transparent; border: 1px solid var(--sand); color: var(--ink-soft); }
.btn-ghost:hover { background: var(--cream-2); }
.raw-json { margin-top: 1.5rem; border-top: 1px dashed var(--sand); padding-top: 1rem; }
.raw-json summary { cursor: pointer; font-weight: 600; color: var(--terracotta-dark); }

.editor-locations,
.editor-day {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; margin-bottom: 1.2rem; box-shadow: var(--shadow);
}
.editor-day { border-left: 5px solid var(--olive); }
.editor-section-title { font-family: var(--serif); color: var(--olive-deep); margin: 0 0 0.9rem; font-size: 1.15rem; }
.editor-row-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }

.ml-group { margin-bottom: 0.9rem; }
.ml-label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.3rem; }
.ml-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.ml-inputs input, .ml-inputs textarea {
  border: 1px solid var(--sand); border-radius: 8px; padding: 0.5rem 0.6rem;
  font-size: 0.9rem; font-family: inherit; background: var(--cream); color: var(--ink); width: 100%;
}
.ml-inputs textarea { resize: vertical; min-height: 60px; }
.ml-inputs input:focus, .ml-inputs textarea:focus { outline: 2px solid var(--olive); border-color: var(--olive); background: var(--white); }

.editor-activity { border: 1px solid var(--cream-2); border-radius: 10px; margin-bottom: 0.8rem; background: var(--cream); }
.editor-activity > summary {
  cursor: pointer; padding: 0.7rem 0.9rem; font-weight: 600; color: var(--olive-deep);
  list-style: none; display: flex; align-items: center; gap: 0.6rem;
}
.editor-activity > summary::-webkit-details-marker { display: none; }
.editor-activity > summary .a-time { font-family: var(--serif); color: var(--terracotta-dark); min-width: 3.2rem; }
.editor-activity > summary .a-flag { font-size: 0.7rem; color: var(--ink-soft); font-weight: 600; }
.editor-activity[open] > summary { border-bottom: 1px solid var(--cream-2); }
.editor-activity .activity-fields { padding: 0.9rem; }
.editor-flags { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0.4rem 0 0.8rem; }
label.check { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.editor-hint { font-size: 0.78rem; color: var(--ink-soft); margin: 0.2rem 0 0.6rem; }
.btn-mini { border: 1px solid var(--sand); background: var(--white); color: var(--terracotta-dark); border-radius: 7px; padding: 0.3rem 0.7rem; cursor: pointer; font-size: 0.8rem; font-weight: 600; }
.btn-mini:hover { background: var(--cream-2); }
.btn-mini.danger { color: #b23c2a; }

/* ---------- Footer social ---------- */
.site-footer .social { margin-top: 0.5rem; }
.site-footer .social a { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; }
.site-footer .social a:hover { text-decoration: underline; }
.site-footer .social svg { display: block; }

/* ---------- Cooking workshop & dinner ---------- */
.cd-legend { font-size: 1.05rem; color: var(--olive-deep); margin: 1.8rem 0 0.8rem; }
.option-list { display: grid; gap: 1rem; }
.option-card {
  display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start;
  border: 1px solid var(--sand); border-radius: var(--radius); background: var(--white);
  padding: 1rem 1.1rem; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.option-card:hover { border-color: var(--olive); }
.option-card:has(input:checked) { border-color: var(--olive); background: #f6f8ef; box-shadow: inset 0 0 0 1px var(--olive); }
.option-card.is-full { opacity: 0.55; cursor: not-allowed; }
.option-card input { margin-top: 0.3rem; accent-color: var(--olive); }
.option-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1rem; }
.option-title { font-family: var(--serif); font-weight: 700; color: var(--olive-deep); font-size: 1.05rem; }
.option-places { font-size: 0.8rem; font-weight: 600; color: var(--olive-dark); white-space: nowrap; }
.option-places.low { color: var(--terracotta-dark); }
.option-places.out { color: #999; }
.option-desc { display: block; margin-top: 0.35rem; color: var(--ink-soft); font-size: 0.92rem; }
.option-note { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--terracotta-dark); font-style: italic; }
.cd-reservation { margin-top: 0.4rem; }
.cd-reservation p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.cd-form button[type="submit"] { margin-top: 1.4rem; }

/* Live availability above the masterclass registration form. */
.mc-places { font-size: 0.92rem; font-weight: 600; color: var(--olive-dark); margin: -0.4rem 0 1rem; }
.mc-places.low { color: var(--terracotta-dark); }
.mc-places.out { color: #999; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav { position: fixed; top: 68px; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--cream); width: 220px; padding: 1rem 1.25rem; box-shadow: var(--shadow);
    transform: translateX(110%); transition: transform 0.25s ease; height: calc(100vh - 68px); }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .lang-switch { margin: 0.5rem 0 0; }
  .activity { grid-template-columns: 70px 1fr; }
  .activity .action-col { grid-column: 1 / -1; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .ml-inputs { grid-template-columns: 1fr; }
  .option-head { flex-direction: column; }
}
