/* =========================================================
   CIT19 static site stylesheet
   Visual tokens extracted from the original ctkpro-childtheme:
     - yellow strip nav (#fef000), cyan links (#008cd1),
       light-blue tag chips (#e2f4fd), gray dividers (#dedede),
       black body text with 1px letter-spacing.
     - body uses bg-page-1-01.svg, repeat-y, top right.
   ========================================================= */

:root {
  --max-w: 1140px;

  /* Brand */
  --c-yellow: #fef000;
  --c-yellow-2: #FFF100;
  --c-cyan: #008cd1;
  --c-blue-soft: #e2f4fd;
  --c-blue-pale: #E3F5FF;
  --c-border: #dedede;
  --c-border-soft: rgba(155, 155, 155, 0.2);
  --c-text: #000;
  --c-muted: #4a4a4a;
  --c-bg: #ffffff;

  /* Type */
  --ff-body: 'Roboto', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --ff-display: 'Roboto', 'Noto Sans TC', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text);
  letter-spacing: 1px;
  background: #fff url('/wp-content/uploads/2019/05/bg-page-1-01.svg') repeat-y top right;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }
a { color: var(--c-text); text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--c-cyan); }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--c-text);
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.35;
}
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 500; }
h4 { font-size: 17px; font-weight: 500; }
h5 { font-size: 15px; font-weight: 500; }
h6 { font-size: 13px; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .3em; line-height: 1.55; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: transparent;
  position: relative;
  z-index: 20;
}
.site-banner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.site-logo { display: block; flex: 1; max-width: 620px; }
.site-logo img { display: block; width: 100%; height: auto; max-width: 100%; }
.site-partner { display: block; flex-shrink: 0; padding-top: 16px; }
.site-partner img { display: block; width: 200px; height: auto; }
@media (max-width: 900px) {
  .site-banner { padding: 20px 16px 12px; align-items: center; }
  .site-logo { max-width: 70%; }
  .site-partner img { width: 110px; }
}

.site-nav {
  background: var(--c-yellow);
  height: 45px;
  width: 100%;
}
.site-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}
.site-nav li { margin: 0 1.5em; }
.site-nav a {
  color: #000;
  font-size: 15px;
  letter-spacing: 1px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  font-weight: 400;
}
.site-nav a:hover, .site-nav a.is-current { color: var(--c-cyan); }

.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after {
  content: "▾"; margin-left: 4px; font-size: 11px; opacity: .85;
}
.site-nav .has-sub:hover > a { color: var(--c-cyan); }
.site-nav .has-sub:hover > a::after { color: var(--c-cyan); opacity: 1; }
.site-nav .sub-menu {
  display: none;          /* override .site-nav ul flex inheritance */
  position: absolute;
  left: -18px;
  top: 100%;
  width: 200px;
  background: #fff;
  padding: 14px 0;
  margin: 0;
  list-style: none;
  z-index: 30;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  border: 1px solid var(--c-border);
  border-top: 0;
  /* reset everything flex from .site-nav ul */
  flex-direction: initial;
  align-items: initial;
  gap: 0;
  height: auto;
}
.site-nav .has-sub:hover .sub-menu { display: block; }
.site-nav .sub-menu li {
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  width: 100%;
  height: auto;
  text-align: left;
}
.site-nav .sub-menu a {
  display: block;
  padding: 10px 24px;
  line-height: 1.5;
  height: auto;
  text-align: left;
  color: #000;
  font-size: 15px;
  letter-spacing: 1px;
  width: 100%;
}
.site-nav .sub-menu a:hover { color: var(--c-cyan); background: rgba(0,0,0,.03); }

.site-nav .lang-switch { margin: 0 0 0 1em; display: flex; align-items: center; gap: 0; }
.site-nav .lang-switch a {
  color: #fff !important;
  background: #000;
  padding: 0 12px;
  height: 30px;
  line-height: 30px;
  font-size: 13px;
  letter-spacing: 1px;
}
.site-nav .lang-switch a:first-child { border-radius: 4px 0 0 4px; padding-left: 14px; padding-right: 6px; }
.site-nav .lang-switch a:last-child { border-radius: 0 4px 4px 0; padding-left: 6px; padding-right: 14px; }
.site-nav .lang-switch .sep { color: #fff; background: #000; height: 30px; line-height: 30px; padding: 0 2px; }
.site-nav .lang-switch a.active { color: var(--c-yellow) !important; }
.site-nav .lang-switch a:hover { color: var(--c-cyan) !important; background: #000; }

.btn-fb {
  margin-left: 1em !important;
  font-weight: 700;
  font-style: italic;
}

/* ---------- Article header / meta ---------- */
.page-meta {
  padding: 18px 0 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--c-text);
  letter-spacing: 1px;
}
.page-meta .meta-cat { color: var(--c-cyan); }
.page-meta .meta-sep { margin: 0 6px; opacity: .5; }

/* ---------- Event title block ---------- */
.event-title-box { width: 100%; margin: 12px 0 32px; }
.event-tag { margin-bottom: 18px; }
.event-tag span {
  display: inline-block;
  padding: .5em 1em;
  background: var(--c-blue-soft);
  color: #000;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  letter-spacing: 1px;
}
.event-title h1 {
  margin: 1em 0;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
}
@media (min-width: 900px) {
  .event-title h1 { font-size: 32px; }
}

/* ---------- Event two-column layout ---------- */
.event-grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-bottom: 60px;
}
.event-left { width: 100%; margin-bottom: 2em; }
.sidebar { width: 100%; }
@media (min-width: 901px) {
  .event-left { width: 65%; margin-right: 2em; }
  .sidebar { width: calc(35% - 2em); }
}

.event-info-box {
  border: 1px solid var(--c-border);
  padding: 2em 1.5em 0;
  margin-bottom: 2em;
  display: flex;
  flex-flow: row wrap;
}
.event-info-box > div { width: 100%; margin-bottom: 2em; color: var(--c-text); }
@media (min-width: 901px) {
  .event-info-box > div { width: 50%; padding-right: 1em; }
}
.event-info-box .sub-title {
  font-weight: 500;
  padding-bottom: 5px;
  letter-spacing: 1px;
}
.event-info-box .info-value {
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Content prose ---------- */
.prose { font-size: 15px; line-height: 22.5px; color: #000; letter-spacing: 1px; }
.prose h3 {
  margin: 1.6em 0 .7em;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}
.prose h4 { margin-top: 1.4em; font-size: 17px; }
.prose p, .prose li { color: #000; }
.prose img { margin: 1.2em 0; max-width: 100%; height: auto; }

/* WordPress caption / alignment overrides — these come with inline width="" */
.prose figure,
.article-body figure {
  max-width: 100%;
  width: auto !important;
  margin: 1.5em 0;
}
.prose figure img,
.article-body figure img { width: 100%; height: auto; display: block; margin: 0; }
.prose figure.aligncenter,
.article-body figure.aligncenter,
.prose .aligncenter,
.article-body .aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.prose figcaption,
.article-body figcaption {
  font-size: 13px;
  color: var(--c-muted);
  text-align: center;
  margin-top: 6px;
  letter-spacing: 1px;
}
.prose .alignleft, .article-body .alignleft { float: left; margin: .5em 1.4em .8em 0; max-width: 50%; }
.prose .alignright, .article-body .alignright { float: right; margin: .5em 0 .8em 1.4em; max-width: 50%; }
.prose .alignnone, .article-body .alignnone { display: block; margin: 1em 0; max-width: 100%; }
.prose iframe { margin: 1.5em 0; aspect-ratio: 16 / 9; width: 100%; height: auto; }
.prose a { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-cyan); opacity: .7; }

/* ---------- Speaker info boxes ---------- */
.speaker-info-box {
  border: 1px solid var(--c-border);
  padding: 2em;
  margin: 4em 0;
  display: flex;
  flex-flow: row wrap;
}
.speaker-info-box > .speaker-meta { width: 100%; padding-right: 1em; margin-bottom: 1em; }
.speaker-info-box > .speaker-detail { width: 100%; }
@media (min-width: 901px) {
  .speaker-info-box > .speaker-meta { width: 40%; margin-bottom: 0; }
  .speaker-info-box > .speaker-detail { width: 60%; }
}
.speaker-name {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 2em;
  letter-spacing: 1px;
  line-height: 1.4;
}
.speaker-photo img {
  width: 100%;
  max-width: 220px;
  height: auto;
  background: #f4f4f4;
}
.speaker-detail {
  font-size: 15px;
  line-height: 22.5px;
  color: #000;
  letter-spacing: 1px;
  white-space: pre-line;
}

/* ---------- Event gallery ---------- */
.event-gallery { margin: 36px 0 16px; }
.event-gallery h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--c-border-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery-grid a { display: block; }
.gallery-grid img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #f4f4f4;
  transition: opacity .15s ease;
}
.gallery-grid a:hover img { opacity: .8; }

/* ---------- Sidebar (參考文件) ---------- */
.sidebar { font-size: 15px; }
.sidebar h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  padding-bottom: 8px;
  margin: 0 0 .5em;
  border-bottom: 3px solid var(--c-border-soft);
}
.sidebar p { margin-bottom: .8em; }
.sidebar ul, .sidebar ol { padding-left: 1.2em; }
.sidebar li { margin-bottom: .5em; }
.sidebar a { color: var(--c-cyan); word-break: break-word; }
.sidebar a:hover { opacity: .7; }
.sidebar strong {
  color: var(--c-text);
  display: inline-block;
  margin-top: 1em;
  font-weight: 700;
}
.sidebar em { font-style: italic; }

/* ---------- Prev/Next navigation ---------- */
.navi-container {
  width: 100%;
  clear: both;
  overflow: hidden;
  padding: 24px 0 32px;
  border-top: 1px solid var(--c-border);
  margin-top: 40px;
}
.navi-container .prev-link, .navi-container .next-link { margin-bottom: 1em; }
@media (min-width: 901px) {
  .navi-container .prev-link { float: left; width: 50%; text-align: left; }
  .navi-container .next-link { float: right; width: 50%; text-align: right; }
}
.navi-container a { color: var(--c-cyan); display: inline-block; }
.navi-container a:hover { text-decoration: underline; }
.navi-container .prev-link a::before { content: '< 上一頁'; display: block; font-size: 13px; opacity: .8; margin-bottom: 4px; }
.navi-container .next-link a::before { content: '下一頁 >'; display: block; font-size: 13px; opacity: .8; margin-bottom: 4px; }

/* ---------- News card grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 32px 0 60px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s ease;
}
.news-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.news-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f4f4f4;
  overflow: hidden;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card__tag {
  font-size: 12px;
  color: var(--c-cyan);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.news-card__title { font-size: 16px; line-height: 1.5; margin: 0 0 12px; font-weight: 500; }
.news-card__title a { color: #000; }
.news-card__title a:hover { color: var(--c-cyan); }
.news-card__date { color: var(--c-muted); font-size: 13px; margin-top: auto; letter-spacing: 1px; }

/* ---------- Page hero (static pages) ---------- */
.page-hero { padding: 40px 0 28px; text-align: center; }
.page-hero h1 { font-size: 32px; font-weight: 700; }
.page-hero__sub { color: var(--c-muted); margin: 0; line-height: 1.7; }

/* =========================================================
   / (homepage)
   ========================================================= */
.home-page { padding-bottom: 60px; }
.home-intro {
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 1px;
  margin: 20px 0 36px;
}
.home-intro p { margin: 0 0 1em; }

.home-section { margin-bottom: 60px; }
.home-section__heading {
  text-align: center;
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--c-muted);
  margin: 36px 0 24px;
  font-weight: 400;
}
.home-section__more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.news-grid--home {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 920px;
  margin: 0 auto 16px;
}

.btn-pill {
  display: inline-block;
  padding: 8px 22px;
  background: var(--c-yellow);
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  border-radius: 999px;
  border: 1px solid #000;
}
.btn-pill:hover { background: var(--c-cyan); color: #fff; border-color: var(--c-cyan); }

/* =========================================================
   /support/ — partner / supporter list
   ========================================================= */
.support-page { padding-bottom: 60px; }
.support-list { margin: 24px 0; }
.support-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.support-row:first-child { border-top: 0; }
@media (min-width: 700px) {
  .support-row { grid-template-columns: 180px 1fr; gap: 32px; }
}
.support-row__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.support-row__logo img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  display: block;
}
.support-row__name {
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.5;
  color: #000;
}
.support-row__text p {
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 1px;
  color: #000;
  margin: 0;
}

/* =========================================================
   /workshop/ — 6 sessions in a 3-column grid
   ========================================================= */
.workshop-page { padding-bottom: 60px; }
.workshop-heading {
  text-align: center;
  font-size: 26px;
  color: var(--c-muted);
  letter-spacing: 4px;
  margin: 40px 0 36px;
  font-weight: 400;
}
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 28px;
  margin-bottom: 40px;
}
@media (min-width: 700px) { .workshop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .workshop-grid { grid-template-columns: repeat(3, 1fr); } }
.workshop-card { display: flex; flex-direction: column; }
.workshop-card__media {
  display: block;
  background: #f4f4f4;
  margin-bottom: 14px;
  overflow: hidden;
}
.workshop-card__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  transition: opacity .15s ease;
}
.workshop-card__media:hover img { opacity: .85; }
.workshop-card__tag {
  font-size: 14px;
  color: var(--c-muted);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.workshop-card__names {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 14px;
  letter-spacing: 1px;
}
.workshop-card__names a { color: #000; }
.workshop-card__names a:hover { color: var(--c-cyan); }
.workshop-card__row {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.workshop-card__k { color: var(--c-muted); }

/* =========================================================
   /conference/ — long intro + CSS-only tab switcher (10/11 · 10/12 · 10/13)
   + vertical speaker rows inside a soft cream panel.
   ========================================================= */
.conference-page { padding-bottom: 60px; }
.conference-intro {
  font-size: 14px;
  line-height: 1.85;
  color: #000;
  letter-spacing: 1px;
  margin: 20px 0 28px;
}
.conference-intro p { margin: 0 0 1em; }

.conference-tabs { position: relative; }
.conference-tabs__radio { position: absolute; opacity: 0; pointer-events: none; }

.conference-tabs__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0;
}
.conference-tabs__btn {
  display: inline-block;
  padding: 6px 4px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--c-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.conference-tabs__btn:hover { color: var(--c-cyan); }
.conference-tabs__download {
  margin-left: auto;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--c-muted);
  letter-spacing: 1px;
}
.conference-tabs__download:hover { color: var(--c-cyan); }

/* Active tab styling via :checked + sibling combinator.
   Attribute selectors match both /conference/ (prefix "conf-") and / (prefix "home-"). */
[id$="-tab-day1"]:checked ~ .conference-tabs__nav label[for$="-tab-day1"],
[id$="-tab-day2"]:checked ~ .conference-tabs__nav label[for$="-tab-day2"],
[id$="-tab-day3"]:checked ~ .conference-tabs__nav label[for$="-tab-day3"] {
  color: #000;
  font-weight: 700;
  border-bottom-color: #000;
}

/* Panels: hide all, then reveal the one whose radio is :checked */
.conference-tabs__panel {
  display: none;
  padding: 32px 28px 40px;
  background: #fff9d6;
  margin-bottom: 60px;
}
[id$="-tab-day1"]:checked ~ .conference-tabs__panel--day1,
[id$="-tab-day2"]:checked ~ .conference-tabs__panel--day2,
[id$="-tab-day3"]:checked ~ .conference-tabs__panel--day3 {
  display: block;
}

.conference-tabs__theme {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 6px 0 26px;
  color: #000;
}

/* Each speaker row */
.conf-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.conf-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 700px) {
  .conf-row { grid-template-columns: 170px 1fr; gap: 24px; align-items: start; }
}
.conf-row__media {
  display: block;
  background: #eee;
  overflow: hidden;
}
.conf-row__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity .15s ease;
}
.conf-row__media:hover img { opacity: .85; }
.conf-row__body { display: flex; flex-direction: column; gap: 6px; }
.conf-row__time {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 1px;
}
.conf-row__name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
}
.conf-row__name a { color: #000; }
.conf-row__name a:hover { color: var(--c-cyan); }
.conf-row__topic {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 4px 0 2px;
  color: #000;
}
.conf-row__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #000;
  letter-spacing: 1px;
  margin: 4px 0 0;
}
.conf-row__more { color: var(--c-cyan); white-space: nowrap; }
.conf-row__more:hover { text-decoration: underline; }

/* ---------- Article (news/report) layout ---------- */
.article-page { max-width: 885px; }
.article-header { margin: 18px 0 28px; }
.article-header h1 { font-size: 26px; line-height: 1.4; font-weight: 700; }
@media (min-width: 900px) { .article-header h1 { font-size: 30px; } }
.article-hero { margin: 0 0 32px; }
.article-hero img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }
.article-body h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 1.8em 0 .8em;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--c-border-soft);
  letter-spacing: 1px;
}
.article-body p, .article-body li { font-size: 15px; line-height: 22.5px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 16px 0 60px;
}
.pagination a, .pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--c-border);
  color: #000;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
}
.pagination a:hover { color: var(--c-cyan); border-color: var(--c-cyan); }
.pagination__current { background: var(--c-yellow); color: #000; border-color: var(--c-yellow); }
.pagination__next { padding: 0 14px; }

/* ---------- Forms ---------- */
.contact-form {
  max-width: 640px;
  margin: 24px auto 60px;
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.contact-form .required { color: red; margin-left: 2px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 1px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: #000;
  border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--c-cyan);
  outline-offset: -1px;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--c-yellow);
  color: #000;
  font-weight: 500;
  letter-spacing: 1px;
  border: 0;
  cursor: pointer;
  text-align: center;
  font-size: 15px;
}
.btn:hover { background: var(--c-cyan); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(255,255,255,.9);
  border-top: 1px solid var(--c-border);
  padding: 24px 0;
  margin-top: 40px;
  font-size: 13px;
  color: var(--c-muted);
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.site-footer a { color: #000; }
.site-footer a:hover { color: var(--c-cyan); }

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none;
  background: var(--c-yellow);
  width: 55px;
  height: 55px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-size: 12px;
  color: #000;
}
@media (max-width: 900px) {
  .site-header__top { padding: 20px 24px 10px; flex-wrap: wrap; gap: 12px; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; padding: 0; }
  .site-nav.is-open { display: block; }
  .site-nav__inner { flex-direction: column; height: auto; padding: 0; }
  .site-nav ul { flex-direction: column; align-items: stretch; width: 100%; height: auto; }
  .site-nav li { margin: 0; text-align: center; border-bottom: 1px solid rgba(0,0,0,.08); }
  .site-nav .sub-menu { position: static; transform: none; box-shadow: none; padding-left: 16px; background: rgba(255,255,255,.5); }
  .site-nav .has-sub:hover .sub-menu { display: none; }
  .site-nav .has-sub.is-open .sub-menu { display: flex; }
  .site-nav .lang-switch { margin: 8px auto; }
  .event-info-box, .speaker-info-box { padding: 1.2em; }
  .event-info-box > div { width: 100%; padding-right: 0; }
  .page-hero h1 { font-size: 26px; }
  body { background-size: 60% auto; }
}
