/* ─────────────────────────────────────────
   Fonts
──────────────────────────────────────────*/
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/myriad-pro-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/myriad-pro-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/myriad-pro-semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/myriad-pro-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* ─────────────────────────────────────────
   Custom Properties
──────────────────────────────────────────*/
:root {
  --dark-green:   #1a5c2a;
  --mid-green:    #2d8a3e;
  --lime-green:   #8dc63f;
  --light-lime:   #b5d932;
  --cream-bg:     #eff0d8;
  --cream-light:  #f5f4e8;
  --text-dark:    #333333;
  --text-mid:     #555555;
  --white:        #ffffff;
  --max-w:        1440px;
  --bar-gradient: linear-gradient(to right, #b8d84a, #007a45);
}

/* ─────────────────────────────────────────
   Reset / Base
──────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'MyriadPro', Arial, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

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

/* ─────────────────────────────────────────
   Page wrapper – white gutters beyond 1440
──────────────────────────────────────────*/
.site-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

/* ─────────────────────────────────────────
   Hero wrapper (home page only)
   Nav + KV share one background image
──────────────────────────────────────────*/
.hero-wrapper {
  background: url('../img/home-kv-bg.png') center / cover no-repeat;
  background-color: var(--cream-bg);
}

/* ─────────────────────────────────────────
   Navigation
──────────────────────────────────────────*/
.site-nav {
  background: url('../img/menu-bar-bg.png') center bottom / cover no-repeat;
  background-color: var(--cream-bg);
}
/* Transparent variant used inside .hero-wrapper */
.site-nav--transparent {
  background: white;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* mix-blend-mode:multiply removes the white background on light backgrounds */
.nav-logo-img {
  width: 320px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links li { position: relative; }
.nav-links li + li::before {
  content: '|';
  color: #888;
  padding: 0 14px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 400;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark-green); font-weight: 600; }

/* "Register Now" pill — used on inner pages only */
.nav-register {
  background: linear-gradient(to right, var(--lime-green), var(--mid-green));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 26px;
  border: none;
  cursor: pointer;
  display: inline-block;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: opacity .2s;
}
.nav-register:hover { opacity: .85; }

/* Hamburger – mobile only */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark-green); }

/* ─────────────────────────────────────────
   KV / Hero section
──────────────────────────────────────────*/
.kv-section {
  /* no background — inherits from .hero-wrapper */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kv-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 48px 48px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kv-title {
  font-size: 54px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}
.kv-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-green);
  margin-top: 10px;
  font-style: italic;
}
.kv-btn {
  display: inline-block;
  position: relative;
  margin-top: 36px;
  line-height: 0;
  transition: opacity .2s;
}
.kv-btn img {
  height: 70px;
  width: auto;
  display: block;
}
.kv-btn span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.01em;
}
.kv-btn:hover { opacity: .85; }

/* Inner page nav — white background */
.site-nav--white {
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* KV page banners (for inner pages) */
.page-banner {
  background: url('../img/reg-kv-bg.png') center / cover no-repeat;
  background-color: var(--cream-bg);
  min-height: 140px;
  display: flex;
  align-items: center;
}
.page-banner.agenda   { background-image: url('../img/agenda-kv-bg.png'); }
.page-banner.webcast  { background-image: url('../img/webcast-kv-bg.png'); }
.page-banner.gallery  { background-image: url('../img/home-kv-bg.png'); }
.page-banner.register { background-image: url('../img/reg-kv-bg.png'); }

.page-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 32px 48px;
}
.page-banner-inner .banner-sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.page-banner-inner h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}

/* ─────────────────────────────────────────
   Gradient divider bar
──────────────────────────────────────────*/
.bar-divider {
  height: 8px;
  background: var(--bar-gradient);
  width: 100%;
}

/* ─────────────────────────────────────────
   Organisers strip
──────────────────────────────────────────*/
.org-strip {
  background: #fff;
  padding: 48px 48px 40px;
}
.org-strip-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Each row: label then logos stacked */
.org-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* Decorative outline-box label */
.org-label-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 46px;
}
.org-label-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.org-label-text {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-green);
  white-space: nowrap;
}

/* Logo rows */
.org-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.org-logo {
  height: 60px;
  width: auto;
}
/* Composite supporting-org bar image */
.logo-bar-img {
  height: auto;
  max-height: 56px;
  max-width: 560px;
  width: auto;
}

/* ─────────────────────────────────────────
   Section scaffold
──────────────────────────────────────────*/
.section { padding: 64px 48px; }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--cream { background: var(--cream-light); }
.section--white { background: #fff; }
.section--dark  { background: #1a3a24; color: #fff; }

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-green);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title--white,
.section--dark .section-title { color: #fff; }
.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   Overview text block
──────────────────────────────────────────*/
.overview-section {
  background: #fff;
}
.overview-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px;
}
.overview-inner p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dark);
  text-align: justify;
}
.overview-inner p + p { margin-top: 20px; }

/* Inline green highlights */
.text-highlight {
  color: var(--dark-green);
  font-weight: 700;
}
.text-highlight--underline {
  text-decoration: underline;
}

/* ─────────────────────────────────────────
   Event info boxes (date/time/venue)
──────────────────────────────────────────*/
.event-info {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.event-info-box {
  background: url('../img/reg-box-date.png') center / 100% 100% no-repeat;
  min-width: 220px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 24px 18px 20px;
  position: relative;
}
.event-info-box.time  { background-image: url('../img/reg-box-time.png'); }
.event-info-box.venue { background-image: url('../img/reg-box-venue.png'); min-width: 300px; }
.event-info-box-content { padding-left: 4px; }
.event-info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.event-info-value {
  display: block;
  font-size: 14px;
  color: var(--dark-green);
  font-weight: 600;
  line-height: 1.4;
}

/* ─────────────────────────────────────────
   Promo Video
──────────────────────────────────────────*/
.promo-video-section {
  padding: 0;
  background: #0d3318;
  line-height: 0; /* removes inline gap under image */
}
.promo-video-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.promo-video-inner img { width: 100%; display: block; }

/* ─────────────────────────────────────────
   Objectives strip
──────────────────────────────────────────*/
.objectives-strip {
  background: #fff;
  padding: 0 48px 40px;
}
.objectives-strip img {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   Showcasing section
──────────────────────────────────────────*/
.showcase-section {
  background: #fff;
  padding: 56px 48px 48px;
}
.showcase-inner {
  max-width: 860px;
  margin: 0 auto;
}
.showcase-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.2;
  margin-bottom: 14px;
}
.showcase-accent {
  width: 200px;
  height: 5px;
  background: var(--bar-gradient);
  margin-bottom: 24px;
}
/* Two columns: text left, visual right, same height */
.showcase-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.showcase-text {
  padding-right: 36px;
}
.showcase-text p {
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-dark);
  text-align: justify;
}
.showcase-text p + p { margin-top: 18px; }
.showcase-visual {
  background: url('../img/visual-element.png') center / cover no-repeat;
  min-height: 260px;
}

/* ─────────────────────────────────────────
   Format section
──────────────────────────────────────────*/
.format-section {
  background: #fff;
  padding: 0 48px 150px;
}
.format-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.format-visual {
  background: url('../img/visual-element.png') center / cover no-repeat;
  min-height: 260px;
}
.format-text {
  padding-left: 36px;
}
.format-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 12px;
}
.format-accent {
  width: 160px;
  height: 5px;
  background: var(--bar-gradient);
  margin-bottom: 20px;
}
.format-text p {
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-dark);
  text-align: justify;
}
.format-text p + p { margin-top: 14px; }

/* ─────────────────────────────────────────
   Agenda page
──────────────────────────────────────────*/
.agenda-timeline {
  margin-top: 8px;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
}

.agenda-time-block { margin-bottom: 0; }

.time-bar {
  background: var(--bar-gradient);
  padding: 5px 15px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.time-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.agenda-content {
  padding: 16px 15px;
  background: #fff;
}
.agenda-content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.agenda-event-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 6px;
}
.agenda-event-sub {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 400;
  margin-bottom: 14px;
}
.agenda-event-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
  max-width: 820px;
  margin-bottom: 20px;
}
.agenda-content.alt { background: #fff; }

/* Speaker grid */
.speaker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.speaker-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.speaker-photo-wrap {
  position: relative;
  width: 70px;
  height: 80px;
  flex-shrink: 0;
}
.speaker-photo-wrap img.speaker-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.speaker-photo-wrap img.speaker-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
}
.speaker-info { font-size: 12px; line-height: 1.5; }
.speaker-name { font-weight: 700; color: var(--dark-green); font-size: 13px; }
.speaker-pos  { color: var(--text-mid); }
.speaker-org  { color: var(--text-mid); }
.speaker-tag  {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--mid-green);
  padding: 1px 7px;
  margin-bottom: 4px;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

/* ─────────────────────────────────────────
   Speakers section (home page)
──────────────────────────────────────────*/
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.speaker-full-card { text-align: center; }
.speaker-full-photo-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 110%;
  overflow: hidden;
  margin-bottom: 14px;
}
.speaker-full-photo-wrap img.sp-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.speaker-full-photo-wrap img.sp-face {
  position: absolute;
  inset: 4% 8%;
  width: 84%;
  height: 88%;
  object-fit: cover;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}
.speaker-full-name { font-size: 15px; font-weight: 700; color: var(--dark-green); }
.speaker-full-pos  { font-size: 13px; color: var(--text-mid); margin-top: 3px; }
.speaker-full-org  { font-size: 13px; color: var(--text-mid); }
.speaker-full-bio  { font-size: 13px; line-height: 1.7; color: var(--text-dark); margin-top: 10px; text-align: left; }

/* ─────────────────────────────────────────
   Register page – hero wrapper + KV
──────────────────────────────────────────*/
.reg-hero-wrapper {
  position: relative;
  background-color: var(--cream-bg);
}
.reg-kv-inner {
  width: 100%;
  padding: 0 48px 48px;
}
.reg-kv-title {
  font-size: 46px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.reg-kv-sub {
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-dark);
}

/* nav logo text (register page) */
.nav-logo-text {
  font-size: 10px;
  line-height: 1.5;
  color: var(--text-dark);
  font-weight: 400;
}

/* ─────────────────────────────────────────
   Registration layout
──────────────────────────────────────────*/
.reg-layout {
  display: flex;
  grid-template-columns: 340px 1fr;
  gap: 0;
  align-items: start;
  background: url("../img/reg-visual-element.png");
  background-position: left bottom;
  background-size: 500px;
  background-repeat: no-repeat;
}

/* Left info panel */
.reg-info-panel {
  padding: 40px 32px 0 48px;
  flex:1;
}

/* Each info item: label image left, content text right */
.reg-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

/* Label image: fixed height, natural width */
.reg-box-label {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  flex:1;
  background-size: contain;
  background-repeat: no-repeat;
  text-align: right;
  background-position: right;
}

.reg-box-label-date{
  background-image: url("../img/reg-box-date.png");
}

.reg-box-label-time{
  background-image: url("../img/reg-box-time.png");
}

.reg-box-label-venue{
  background-image: url("../img/reg-box-venue.png");
}

/* Content text to the right of the label */
.reg-info-content {
  flex: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.4;
}
.reg-date-day {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  flex-shrink: 0;
}
.reg-date-detail {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Right form panel */
.reg-form-panel {
  padding: 40px 48px 60px 32px;
  flex:1;
}
.form-required { font-size: 13px; color: var(--text-dark); margin-bottom: 16px; }

.form-error {
  background: #fff0f0;
  border-left: 3px solid #c0392b;
  padding: 12px 16px;
  font-size: 13px;
  color: #c0392b;
  margin-bottom: 20px;
  display: none;
}

.form-row { margin-bottom: 14px; }
.form-row > label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select {
  width: 100%;
  padding: 8px 12px;
  border: none;
  font-family: 'MyriadPro', Arial, sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: #ebebd3;
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
}
.form-row input:focus,
.form-row select:focus { border-color: var(--mid-green); }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

/* Name row: salutation select + last + first */
.form-name-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 8px;
}
.form-name-row select.select-sal { padding-right: 24px; }

/* "Others – please specify" rows: hidden until select = Others */
.form-other-row {
  display: none;
  margin-top: -6px;
}
.form-other-row.visible { display: block; }

/* Consent row */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mid);
  cursor: pointer;
  font-weight: 400;
  margin-bottom: 0;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--mid-green);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Submit button */
.btn-submit-reg {
  background: var(--bar-gradient);
  color: #fff;
  font-family: 'MyriadPro', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 64px;
  border: none;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  letter-spacing: 0.02em;
  transition: opacity .2s;
  display: inline-block;
}
.btn-submit-reg:hover { opacity: .85; }

/* Legacy – kept for other uses */
.btn-submit {
  display: inline-block;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
}
.btn-submit img { height: 52px; width: auto; transition: opacity .2s; }
.btn-submit:hover img { opacity: .85; }

.form-success-msg { text-align: center; padding: 32px; display: none; }

/* ─────────────────────────────────────────
   Thank you page
──────────────────────────────────────────*/
.thankyou-section {
  padding: 80px 48px;
  background: #fff;
  min-height: 400px;
}
.thankyou-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.thankyou-ribbon {
  position: relative;
  margin-bottom: 40px;
  display: inline-block;
  width: 250px;
  max-width: 100%;
}
.thankyou-ribbon img.ribbon-bg { width: 100%; display: block; }
.thankyou-ribbon-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.thankyou-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dark);
  text-align: left;
}
.thankyou-body p + p { margin-top: 16px; }
.thankyou-body .highlight { color: var(--dark-green); font-weight: 600; }
.thankyou-body a { color: var(--dark-green); text-decoration: underline; }

/* ─────────────────────────────────────────
   Webcast page
──────────────────────────────────────────*/
.webcast-section {
  padding: 48px 48px 64px;
  background: #fff;
}
.webcast-inner { max-width: var(--max-w); margin: 0 auto; }
.webcast-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.webcast-meta-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}
.webcast-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.webcast-meta-date { font-size: 14px; color: var(--text-dark); }
.webcast-live-badge {
  background: #c0392b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.05em;
}
.webcast-desc {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.7;
}
.webcast-link { font-size: 14px; color: var(--dark-green); margin-bottom: 28px; }
.webcast-link a { color: var(--mid-green); text-decoration: underline; }

.webcast-player {
  position: relative;
  width: 100%;
  background: #000;
  cursor: pointer;
  max-width: 900px;
}
.webcast-player img.player-thumb { width: 100%; display: block; object-fit: cover; }
.webcast-player img.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: auto;
  transition: transform .2s;
}
.webcast-player:hover img.play-btn { transform: translate(-50%, -50%) scale(1.1); }
.webcast-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.webcast-player.playing img.play-btn  { display: none; }
.webcast-player.playing img.player-thumb { opacity: 0; }
.webcast-player.playing iframe { display: block; }

/* ─────────────────────────────────────────
   Gallery page
──────────────────────────────────────────*/
.gallery-section {
  padding: 48px 48px 64px;
  background: #fff;
}
.gallery-inner { max-width: var(--max-w); margin: 0 auto; }

/* Main photo */
.gallery-main { line-height: 0; }
.gallery-main img.main-photo {
  width: 100%;
  display: none;
  object-fit: cover;
}
.gallery-main img.main-photo.active { display: block; }

/* 3-slot thumbnail navigator */
.gallery-thumb-nav {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.gallery-thumb-slot {
  position: relative;
  flex: 1;
  overflow: hidden;
  line-height: 0;
}
.gallery-thumb-slot img.gallery-thumb-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  opacity: 0.55;
  transition: opacity .2s;
}
.gallery-thumb-slot--active img.gallery-thumb-img { opacity: 1; }

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}
.gallery-nav-btn img { width: 44px; height: auto; display: block; }

/* ─────────────────────────────────────────
   Footer
──────────────────────────────────────────*/
.site-footer {
  background: var(--dark-green);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 32px 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img { height: 36px; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.5); }

/* ─────────────────────────────────────────
   Mobile responsive
──────────────────────────────────────────*/

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .nav-inner { padding: 12px 24px; }
  .nav-logo-img { width: 220px; }

  .kv-inner { padding: 40px 24px 64px; }
  .kv-title { font-size: 38px; }

  .section { padding: 48px 24px; }
  .overview-inner { padding: 48px 24px; }

  .showcase-body { grid-template-columns: 1fr; }
  .showcase-visual { min-height: 200px; }
  .showcase-text { padding-right: 0; }
  .showcase-section { padding: 40px 24px 32px; }

  .format-inner { grid-template-columns: 1fr; }
  .format-visual { display: none; }
  .format-text { padding-left: 0; }
  .format-section { padding: 0 24px 48px; }

  .logo-bar-img { max-width: 360px; }

  .agenda-timeline { padding: 24px; }

  .gallery-section { padding: 32px 24px 48px; }

  .webcast-section { padding: 32px 24px 48px; }

  .reg-info-panel { padding: 32px 24px 0; }
  .reg-form-panel { padding: 32px 24px 48px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-inner { padding: 12px 20px; }
  .nav-logo-img { width: 180px; }
  .nav-links, .nav-register { display: none; }
  .nav-toggle { display: flex; }
  .site-nav--transparent .nav-toggle span { background: var(--dark-green); }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,92,42,.97);
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }
  .nav-links.open li::before { display: none; }
  .nav-links.open a { color: #fff; font-size: 20px; }
  .nav-links.open + .nav-register { display: block; position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 1000; }

  /* Home KV */
  .kv-inner { padding: 32px 20px 56px; }
  .kv-title { font-size: 26px; }
  .kv-subtitle { font-size: 15px; }
  .kv-btn img { height: 54px; }
  .kv-btn span { font-size: 18px; }

  /* Page banners */
  .page-banner { min-height: 100px; }
  .page-banner-inner { padding: 24px 20px; }
  .page-banner-inner h1 { font-size: 26px; }
  .page-banner-inner .banner-sub { font-size: 12px; }

  /* Org strip */
  .org-strip { padding: 28px 20px; }
  .org-label-wrap { width: 220px; }
  .org-logo { height: 36px; }
  .logo-bar-img { max-width: 280px; }
  .overview-inner { padding: 32px 20px; }

  .section { padding: 36px 20px; }

  /* Agenda */
  .agenda-timeline { padding: 16px 20px; gap: 20px; }
  .agenda-content { padding: 12px 8px; }
  .time-bar { font-size: 15px; padding: 5px 12px; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); }
  .agenda-event-title { font-size: 14px; }
  .agenda-event-sub { font-size: 13px; }

  /* Gallery */
  .gallery-section { padding: 20px 16px 36px; }
  .gallery-thumb-slot img.gallery-thumb-img { height: 70px; }
  .gallery-nav-btn img { width: 30px; }

  /* Webcast */
  .webcast-section { padding: 28px 20px 40px; }

  /* Register & Thank You – stack panels */
  .reg-hero-wrapper { min-height: 140px; }
  .reg-kv { min-height: 140px; }
  .reg-layout {
    flex-direction: column;
    background-size: 300px;
  }
  .reg-info-panel { padding: 24px 20px 0; order: 1; flex: none; width: 100%; }
  .reg-form-panel { padding: 24px 20px 40px; order: 2; flex: none; width: 100%; border-left: none; border-top: 1px solid #eee; }

  /* Register label boxes */
  .reg-box-label { height: 28px; }
  .reg-date-day { font-size: 22px; }
  .reg-date-detail { font-size: 12px; }

  /* Form */
  .form-name-row { grid-template-columns: 70px 1fr 1fr; gap: 6px; }
  .btn-submit-reg { font-size: 16px; padding: 10px 48px; }

  /* Thank you */
  .thankyou-section { padding: 40px 20px; }
  .thankyou-ribbon { width: 200px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  .nav-inner { padding: 10px 16px; }
  .nav-logo-img { width: 150px; }

  .kv-title { font-size: 20px; }
  .kv-subtitle { font-size: 13px; }

  .logo-bar-img { max-width: 240px; }
  .org-label-wrap { width: 180px; }

  /* Stack salutation onto its own row */
  .form-name-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .form-name-row .select-sal { grid-column: 1 / -1; }

  .reg-box-label { height: 22px; }
  .reg-date-day { font-size: 18px; }

  .time-bar { font-size: 13px; }

  .gallery-thumb-slot img.gallery-thumb-img { height: 56px; }
  .gallery-nav-btn img { width: 24px; }
}
