/* ==========================================================================
   SoCal Tech Forum — shared styles
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --color-primary: #3e75a6;
  --color-primary-dark: #2f5a80;
  --color-accent: #3eb489;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-offwhite: #efeeef;
  --color-border: #e3e3e0;
  --color-muted: #5b5b5b;

  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container-max: 1700px;
  --radius: 4px;

  --header-height: 93px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-black);
  background: var(--color-white);
}

.skip-to-content {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: 0 0 8px 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  z-index: 10000;
  transition: transform 0.15s ease;
}
.skip-to-content:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Keyboard-only focus ring */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (min-width: 1500px) {
  .container { padding: 0 40px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 30px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
  line-height: 1.1;
}

h1 { font-size: clamp(34px, 4vw, 76px); }
h2 { font-size: clamp(28px, 3.3vw, 62px); }
h3 { font-size: clamp(20px, 1.6vw, 28px); }
h4 { font-size: 18px; }

body, p {
  font-size: 18px;
}

p {
  margin: 0 0 20px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-size: 15px;
  margin-bottom: 12px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  height: 45px;
  color: var(--color-white);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 0 28px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

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

.btn-outline {
  background: transparent;
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ── Split button ── */
/* Base: structure only. Always pair with a color modifier. */
.btn-split {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  height: 45px;
  padding: 0 0 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 0.1s linear;
}

.btn-split:hover {
  opacity: 0.8;
}

.btn-split-label {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 16px;
}

.btn-split-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  font-size: 24px;
}

/* Primary — blue bg, white text */
.btn-split-primary {
  background: var(--color-primary);
}
.btn-split-primary .btn-split-label,
.btn-split-primary .btn-split-icon {
  color: var(--color-white);
}
.btn-split-primary .btn-split-icon {
  border-left: 1px solid rgba(255,255,255,0.35);
}

/* Light — white bg, blue text */
.btn-split-light {
  background: var(--color-white);
}
.btn-split-light .btn-split-label,
.btn-split-light .btn-split-icon {
  color: var(--color-primary);
}
.btn-split-light .btn-split-icon {
  border-left: 1px solid var(--color-primary);
}

/* Outline-light — transparent + white border, for dark/colored backgrounds */
.btn-split-outline-light {
  background: transparent;
  border: 1px solid var(--color-white);
}
.btn-split-outline-light .btn-split-label,
.btn-split-outline-light .btn-split-icon {
  color: var(--color-white);
}
.btn-split-outline-light .btn-split-icon {
  border-left: 1px solid rgba(255,255,255,0.5);
}

.text-center { text-align: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo img {
  height: 50px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  font-size: 18px;
  letter-spacing: normal;
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width .2s ease;
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after {
  width: 100%;
}

.main-nav .btn {
  font-family: var(--font-body);
  padding: 10px 24px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-black);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 140px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-offwhite);
  clip-path: polygon(100% 0, 0 0, 0 100%, 100% 80%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 24px;
}

.hero-copy p {
  color: var(--color-black);
  max-width: 590px;
}

.hero-image {
  position: relative;
  height: clamp(280px, 30vw, 420px);
}

.hero-image .circle-photo {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
}

.hero-image .circle-main {
  width: 368px;
  height: 368px;
  max-width: 368px;
  bottom: 0;
  right: 22%;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.hero-image .circle-accent {
  width: 270px;
  height: 270px;
  top: 0;
  right: 0;
  z-index: 2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Diagonal section dividers, Squarespace-style */

.section-border {
  position: absolute;
  top: calc(-1 * var(--previous-section-divider-offset, 0px));
  bottom: 0;
  left: 0;
}

.page-hero {
  position: relative;
  padding: 90px 0 150px;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-primary);
  clip-path: polygon(100% 0, 0 0, 0 100%, 100% 80%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.page-hero h1,
.page-hero h2 {
  color: var(--color-white);
}

.page-hero p {
  color: #fff;
  font-size: 18px;
}

.page-hero.align-left {
  text-align: left;
}

.page-hero.align-left .container {
  max-width: none;
}

.page-hero.align-left p {
  max-width: 640px;
}

/* ---------- Sponsors strip ---------- */

.sponsors-strip {
  padding: 150px 0 250px 0;
  background-image: url('../images/dots-background.png');
  background-repeat: repeat;
  background-size: 220px 220px;
  border-top: 1px solid #e3e3e0;
}
.sponsors-strip--no-border {
  border-top: none;
}

.sponsors-strip h4 {
  text-align: center;
  color: var(--color-black);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: clamp(28px, 3.3vw, 62px);
  margin-bottom: 5rem;
}

.sponsors-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.sponsors-row img {
  max-height: 80px;
  width: auto;
  max-width: 280px;
}

/* ---------- About Us hero ---------- */

.about-hero {
  position: relative;
  background: var(--color-primary);
}

.about-hero .container {
  padding: 0 48px;
}

.about-hero-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(50px, 7.5vw, 100px) 0 0;
  gap: 40px;
}

.about-hero-text {
  flex: 1;
  max-width: 700px;
  padding-top: clamp(30px, 6.1vw, 68px);
  padding-bottom: 60px;
}

.about-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.7vw, 70px);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: normal;
  line-height: 1;
  margin-bottom: 30px;
}

.about-hero-text p {
  font-size: 17px;
  color: #fff;
  line-height: 1.6;
  max-width: 100%;
}

.about-hero-images {
  position: relative;
  flex-shrink: 0;
  width: clamp(355px, 28vw, 490px);
  padding-top: clamp(30px, 6.1vw, 68px);
  z-index: 1;
}

.about-hero-img-large {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.about-hero-img-small {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(137px, 12.5vw, 188px);
  height: auto;
}

.about-hero-divider {
  position: relative;
  height: 80px;
  margin-top: -60px;
}

.about-hero-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Tagline / waveform statement ---------- */

.tagline-section {
  padding: 175px 0 150px;
  text-align: center;
  background: var(--color-white);
}

.waveform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.waveform-icon img {
  max-width: 270px;
  width: 100%;
  height: auto;
}

.waveform-icon span {
  width: 5px;
  border-radius: 3px;
}

.waveform-icon span:nth-child(1) { background: #3e75a6; }
.waveform-icon span:nth-child(2) { background: #3e80a1; }
.waveform-icon span:nth-child(3) { background: #3e8a9c; }
.waveform-icon span:nth-child(4) { background: #3e9598; }
.waveform-icon span:nth-child(5) { background: #3e9f93; }
.waveform-icon span:nth-child(6) { background: #3eaa8e; }
.waveform-icon span:nth-child(7) { background: #3eb489; }

.tagline-section h2,
.tagline-section p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.3vw, 52px);
  line-height: 1.18;
  text-transform: none;
  letter-spacing: normal;
  margin: 0 auto;
  color: var(--color-black);
}

.tagline-section h2 { max-width: 1120px; }
.tagline-section p  { max-width: 660px; }

.highlight-box {
  background: linear-gradient(90deg, #02a97c 0%, #3e75a6 100%);
  color: var(--color-white);
  padding: 2px 8px;
  border-radius: 0;
  display: inline;
}

.highlight-underline {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--color-primary);
}

/* ---------- Events banner (blue, with live widget) ---------- */

.events-banner {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 90px 0;
}

.events-banner::before {
  content: '';
  position: absolute;
  top: -88px;
  left: 0;
  right: 0;
  height: 90px;
  background: var(--color-primary);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 78%);
}

.events-banner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.events-banner-text {
  padding: 0 40px 0 clamp(24px, 6vw, 115px);
}


.events-banner h2,
.events-banner .eyebrow {
  color: var(--color-white);
}

.events-banner p {
  color: #fff;
}

.events-banner .widget-frame {
  background: var(--color-white);
  padding: 30px;
  min-height: 320px;
  align-self: stretch;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Photo feature (Stay Connected / Speaking / Sponsor) ---------- */

.photo-feature {
  padding: 90px 0;
}

.photo-feature .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.photo-feature.reverse .container {
  direction: rtl;
}

.photo-feature .container > div:not(.feature-photo) {
  max-width: 690px;
}

.photo-feature.reverse .container > * {
  direction: ltr;
}

.photo-feature .feature-photo {
  position: relative;
  max-width: 700px;
}

.photo-feature .feature-photo img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}

.photo-feature .feature-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  border-radius: var(--radius);
  transform: translate(15px, 15px);
  z-index: 1;
}

.gi-img-right .feature-photo::before {
  transform: translate(-15px, 15px);
}

/* ---------- Section generic ---------- */

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--color-offwhite);
}

.section-header {
  max-width: 930px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header p {
  color: var(--color-muted);
}

.mission-section {
  padding: 140px 0;
}

/* ---------- Events ---------- */

.event-search {
  max-width: 480px;
  margin: 0 auto 40px;
}

.event-search input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.event-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.event-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.event-card-body {
  padding: 24px;
}

.event-card-date {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.event-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.event-card .host,
.event-card .location {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0 0 4px;
}

.event-card .view-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.event-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.event-type-card {
  text-align: center;
  padding: 40px 20px 32px;
}

.event-type-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  font-size: 22px;
  margin-bottom: 16px;
}

.event-type-card p {
  color: var(--color-black);
  font-size: 17px;
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.recap-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.recap-card h3 {
  font-size: 15px;
}

/* ---------- Events page controls ---------- */

.events-controls {
  margin-bottom: 40px;
}

.events-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.events-controls-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.events-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.events-date-nav {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.evt-arrow {
  background: none;
  border: none;
  border-right: 1px solid var(--color-border);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1;
}

.evt-arrow:last-child {
  border-right: none;
  border-left: 1px solid var(--color-border);
}

.events-date-label {
  font-weight: 400;
  font-size: 14px;
  color: var(--color-black);
  white-space: nowrap;
  padding: 8px 14px;
}

.events-search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.events-search-wrap input {
  padding: 8px 14px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  width: 220px;
}
.events-search-wrap input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.evt-search-btn {
  padding: 8px 14px;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.events-view-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.evt-tab {
  padding: 9px 18px;
  background: var(--color-white);
  border: none;
  border-right: 1px solid var(--color-border);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-primary);
}

.evt-tab:last-child { border-right: none; }

.evt-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.evt-export {
  padding: 9px 18px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
}

.events-from-label {
  font-size: 15px;
  color: var(--color-black);
  margin-bottom: 24px;
}

/* Events list cards (upcoming events) */

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-list-card {
  display: grid;
  grid-template-columns: 460px 1fr;
  border-bottom: 1px solid var(--color-border);
  padding: 44px 0;
  gap: 60px;
  align-items: start;
}

.event-list-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.event-list-body {
  padding-top: 10px;
}

.event-list-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--color-black);
}

.event-list-host {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.event-list-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 30px;
}

.btn-sm {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.btn-sm:hover { background: #2f5c85; }

/* Events We Host */

.events-we-host {
  border-top: 1px solid var(--color-border);
}

.events-we-host .section-header {
  text-align: center;
  margin: 0 auto 30px;
}

.events-we-host-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.events-we-host-icon img {
  max-width: 200px;
  height: auto;
}

.event-type-img-wrap {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #02a97c;
  margin: 0 auto 36px;
}

.event-type-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Event Gallery strip */

.event-gallery-section {
  background: var(--color-offwhite);
  padding-bottom: 90px;
}

.event-gallery-section .container {
  padding-bottom: 0;
}

.gallery-strip-wrap {
  margin-top: 30px;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-strip-main {
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  border: 0;
  width: 42px;
  height: 52px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  user-select: none;
}
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 0; }
.gallery-next { right: 0; }

.gallery-strip-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.gallery-strip-thumbs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin-top: 1rem;
  background: #000;
  scrollbar-width: none;
}

.gallery-strip-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex: 0 0 120px;
  height: 80px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  border: 0;
  padding: 0;
  background: none;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  outline: 2px solid var(--color-accent);
}

/* Past Events */

.past-events-section {
  padding: 120px 0;
  background: #fff;
}

.past-events-banner {
  background: linear-gradient(90deg, #3e75a6 0%, #02a97c 100%);
  text-align: center;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.past-events-banner h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin: 0;
  line-height: 1;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.recap-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  aspect-ratio: 2/3;
}

.recap-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.recap-card:hover img {
  transform: scale(1.04);
}

.recap-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 20%, #3e75a6 90%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.recap-overlay h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.3;
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 70px 0;
  text-align: center;
}

.newsletter h2,
.newsletter p {
  color: var(--color-white);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 10px auto 12px;
  gap: 10px;
}

.newsletter-form .form-message {
  flex: 0 0 100%;
  margin: 0;
  font-size: 14px;
}

.newsletter-form input {
  flex: 1;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--color-primary);
  font-family: var(--font-body);
  font-size: 18px;
}

.newsletter-form .btn {
  height: 52px;
  background: var(--color-primary);
  border-color: rgba(255,255,255,0.7);
}

.newsletter small {
  opacity: 0.85;
}

/* ---------- Two-up CTA (speaker / sponsor) ---------- */

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-panel {
  padding: 90px 60px;
  text-align: center;
}

.cta-panel:first-child {
  background: var(--color-offwhite);
}

.cta-panel:last-child {
  background: var(--color-black);
  color: var(--color-white);
}

.cta-panel:last-child p {
  color: #cfcfcf;
}

.cta-panel h2 {
  font-size: 32px;
}

/* ---------- Leadership / team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--color-accent);
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.team-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  font-size: 21px;
  color: var(--color-black);
  margin-bottom: 6px;
}

.team-card .role {
  color: var(--color-black);
  font-size: 17px;
  margin-bottom: 10px;
}

.team-card a.linkedin {
  color: var(--color-black);
  font-weight: 400;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Forms (contact / sponsor) ---------- */

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-offwhite);
  border-radius: var(--radius);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--color-white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

/* ---------- About: Let's Connect section ---------- */

.about-connect-section {
  padding: 90px 0;
  border-top: 1px solid var(--color-border);
  background-image: url('../images/dots-background.png');
  background-repeat: repeat;
  background-size: 220px 220px;
}

.about-connect-section .section-header {
  max-width: none;
  margin-bottom: 46px;
}

.about-connect-section h2 {
  margin-bottom: 50px;
}

/* ---------- Blog post detail ---------- */

.blog-post-header {
  padding: 80px 0 0;
  text-align: center;
  background: var(--color-white);
}

.blog-post-header .post-date {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.blog-post-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 70px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
  line-height: 1.1;
  max-width: 1255px;
  margin: 0 auto;
}

.blog-post-header .post-author {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  text-align: left;
  max-width: 1255px;
  margin: 1.5rem auto 28px;
}

.post-author-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-divider {
  display: none;
  border: none;
  border-top: 1px solid var(--color-border);
  max-width: 1255px;
  margin: 0 auto;
}

/* Article body */
.post-body {
  max-width: 1255px;
  margin: 0 auto;
  padding: 24px 0 80px;
}

.post-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body a:hover {
  opacity: 0.75;
}

.post-body p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-black);
  margin-bottom: 26px;
}

.post-body strong {
  font-weight: 700;
}

.post-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.95vw, 35px);
  font-weight: 700;
  text-transform: none;
  color: var(--color-black);
  margin: 60px 0 20px;
  line-height: 1.2;
}

.post-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(27px, 2.95vw, 35px);
  font-weight: 700;
  text-transform: none;
  color: var(--color-black);
  margin: 32px 0 16px;
  line-height: 1.2;
}

.post-body ul,
.post-body ol {
  padding-left: 40px;
  margin-bottom: 17px;
}

.post-callout {
  background: rgb(239, 238, 239);
  padding: 40px;
  margin: 1.5em 0;
}
.post-callout p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-black);
}

.post-body blockquote {
  margin: 1em 0 1em 40px;
  padding: 0;
  color: var(--color-black);
  font-style: normal;
  font-size: 17px;
  line-height: 1.9;
}

.post-body li {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-black);
  margin-bottom: 10px;
}

/* About section */
.post-about {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--color-border);
}

.post-about h2 {
  margin-top: 0;
}

/* Post prev/next navigation */
.post-next-nav {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 56px 0;
}

.post-next-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.post-prev-link,
.post-next-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  max-width: 45%;
}

.post-prev-link {
  text-align: left;
}

.post-next-link {
  text-align: right;
  margin-left: auto;
}

.post-nav-text {
  flex: 1;
}

.post-next-nav h2 {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
  line-height: 1.15;
  margin: 0;
  transition: color 0.2s;
}

.post-nav-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--color-black);
  transition: color 0.2s;
}

.post-prev-link:hover h2,
.post-prev-link:hover .post-nav-icon,
.post-next-link:hover h2,
.post-next-link:hover .post-nav-icon {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .blog-post-header {
    padding: 60px 0 40px;
  }
}

@media (max-width: 768px) {
  .post-next-nav .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .post-prev-link,
  .post-next-link {
    max-width: 100%;
    text-align: left;
  }
  .post-next-link {
    margin-left: 0;
  }
  .post-body h2 {
    font-size: 30px;
    margin-top: 44px;
  }
  .post-body h3 {
    font-size: 24px;
  }
  .blog-post-header h1 {
    font-size: 32px;
  }
}

/* ---------- Blog ---------- */

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.blog-item:first-child {
  border-top: 1px solid var(--color-border);
}

.blog-item > a {
  flex: 0 0 38%;
  max-width: 660px;
  display: block;
}

.blog-item-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.blog-item-body {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.blog-item-date {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-black);
  margin-bottom: 12px;
}

.blog-item-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.3vw, 60px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: 16px;
}

.blog-item-title a {
  color: inherit;
  text-decoration: none;
}

.blog-item-title a:hover {
  color: var(--color-primary);
}

.blog-item-excerpt {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-black);
  margin-bottom: 16px;
}

.blog-item .read-more {
  font-size: 17px;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
}

.blog-item .read-more:hover {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .blog-item {
    flex-direction: column;
    gap: 20px;
  }
  .blog-item > a {
    flex: none;
    width: 100%;
  }
  .blog-item-thumb {
    width: 100%;
  }
  .blog-item-title {
    font-size: 24px;
  }
}

/* ---------- Podcast ---------- */

.podcast-hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.podcast-hero img {
  border-radius: var(--radius);
}

.podcast-links {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- Sponsors page ---------- */

/* -- Hero with video + SVG diagonal divider -- */
.sponsors-hero {
  background: var(--color-primary);
  text-align: center;
  padding: 90px 0 0;
  color: var(--color-white);
}

.sponsors-hero .container {
  max-width: 760px;
}

.sponsors-hero h1 {
  color: var(--color-white);
}

.sponsors-hero p {
  color: #fff;
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.sponsors-hero-video {
  margin-top: 52px;
  padding: 0 40px;
}

.sponsors-hero-video video {
  display: block;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  background: #000;
}

.sponsors-hero-divider {
  line-height: 0;
  margin-top: 60px;
}

.sponsors-hero-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* -- Sponsors logos heading on sponsors page -- */
.sponsors-strip h2 {
  text-align: center;
  color: var(--color-black);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: clamp(28px, 3.3vw, 62px);
  margin-bottom: 65px;
}

/* -- Become a Sponsor section -- */
.become-sponsor-section {
  padding: 140px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.become-sponsor-icon {
  margin-bottom: 20px;
  text-align: center;
}

.become-sponsor-icon img {
  height: 52px;
  width: auto;
  margin: 0 auto;
}

.become-sponsor-section h2 {
  margin-bottom: 20px;
}

.become-sponsor-section p {
  max-width: 970px;
  margin: 0 auto;
  color: var(--color-muted);
  line-height: 1.7;
}

/* -- Benefits of Sponsorship section -- */
.benefits-section {
  background: #efeef0;
  padding: 120px 0;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.benefits-text-col h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 72px);
}

.benefits-text-col > p {
  color: var(--color-black);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Accordion */
.sponsor-accordion {
  border-top: 1px solid #c8c8c8;
  margin-top: 100px;
}

.acc-item {
  border-bottom: 1px solid #c8c8c8;
}

.acc-btn {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 15px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black);
  text-align: left;
  gap: 10px;
}

.acc-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 21px;
  color: var(--color-primary);
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

.acc-title {
  flex: 1;
}

.acc-toggle {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-black);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.acc-item.open .acc-toggle {
  transform: rotate(45deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.acc-item.open .acc-body {
  max-height: 300px;
}

.acc-body-inner {
  padding-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: #000;
}

/* Photo with teal block shadow accent */
.benefits-photo-col {
  position: relative;
  max-width: 680px;
  margin-left: auto;
}

.benefits-photo-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translate(15px, 15px);
  z-index: 1;
}

.benefits-photo-col img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

/* -- Ask About Sponsorship form section -- */
.sponsor-form-section {
  padding: 90px 0;
}

.sponsor-form-section .section-header {
  max-width: none;
  margin-bottom: 46px;
}

.sponsor-form,
.contact-form {
  width: clamp(300px, 58vw, 900px);
  margin: 0 auto;
}

.sf-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.sf-legend {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-black);
  font-family: var(--font-body);
  margin-bottom: 0;
  padding: 0;
}

.sponsor-form .form-row,
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.sponsor-form .form-group,
.contact-form .form-group {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sponsor-form .form-row .form-group,
.contact-form .form-row .form-group {
  margin-bottom: 0;
}

.sponsor-form .form-group label,
.sponsor-form .sf-fieldset legend,
.contact-form .form-group label,
.contact-form .sf-fieldset legend {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-black);
}

.sf-req {
  font-size: 16px;
  color: var(--color-black);
}

.sponsor-form input[type="text"],
.sponsor-form input[type="email"],
.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  padding: 6px 10px;
  height: 45px;
  font-size: 17px;
  font-family: var(--font-body);
  color: var(--color-black);
  background: #fff;
  box-sizing: border-box;
}

.sponsor-form textarea,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 17px;
  font-family: var(--font-body);
  color: var(--color-black);
  background: #fff;
  min-height: 100px;
  resize: vertical;
  box-sizing: border-box;
}

.sf-radio-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.sf-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 400;
  color: var(--color-black);
  cursor: pointer;
}

.sf-radio input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.sponsor-form > .btn,
.contact-form > .btn {
  display: block;
  margin: 0 auto;
}

/* Legacy video-block (kept for backwards compat) */
.video-block {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-block img {
  width: 100%;
}

.video-block .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.benefits-list li {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-white);
  color: var(--color-black);
  padding: 70px 0 30px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 230px;
  height: auto;
  margin-bottom: 16px;
}

.footer-grid h3 {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  font-size: 18px;
  margin: 0 0 20px;
}

.footer-grid p {
  color: var(--color-black);
  font-size: 16px;
}

.footer-grid p strong {
  color: var(--color-primary);
  font-weight: 700;
}

.footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-newsletter-form .form-message {
  flex: 0 0 100%;
  margin: 0;
  font-size: 13px;
}

.footer-newsletter-form input {
  flex: 0 0 262px;
  width: 262px;
  height: 53px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--color-primary);
  font-family: var(--font-body);
  font-size: 18px;
}

.footer-newsletter-form .btn {
  height: 53px;
  padding: 0 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 16px;
  color: var(--color-muted);
}

.footer-gradient-bar {
  height: 6px;
  margin-bottom: -30px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.footer-bottom a {
  color: var(--color-black);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* ---------- Stay Connected Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.modal-box {
  position: relative;
  background: var(--color-white);
  background-image: url('../images/dots-background.png');
  background-repeat: repeat;
  background-size: 220px 220px;
  max-width: 900px;
  width: 90%;
  padding: 115px 76px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-black);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.modal-close:hover {
  opacity: 0.6;
}

.modal-box h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--color-black);
}

.modal-box > p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 auto 40px;
  color: var(--color-black);
}

.modal-newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.modal-newsletter-form input[type="email"] {
  width: 280px;
  padding: 16px 18px;
  border: 1px solid #767676;
  font-family: var(--font-body);
  font-size: 18px;
  outline: none;
  height: 53px;
  box-sizing: border-box;
}
.modal-newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.modal-newsletter-form .btn {
  border-radius: 0;
  white-space: nowrap;
  padding: 16px 24px;
  height: 53px;
  box-sizing: border-box;
}

.modal-privacy {
  margin-top: 20px;
  font-size: 16px;
  color: var(--color-muted);
}

/* Speaker modal form */
.speaker-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.speaker-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.speaker-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-black);
}
.speaker-form input,
.speaker-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #767676;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  background: var(--color-white);
}
.speaker-form input:focus,
.speaker-form textarea:focus {
  border-color: var(--color-primary);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.speaker-form textarea {
  resize: vertical;
  min-height: 110px;
}
.speaker-form .btn {
  align-self: center;
  margin-top: 8px;
  padding: 14px 40px;
}
.speaker-form .form-message {
  text-align: center;
  font-size: 14px;
  color: var(--color-primary);
  margin: 0;
}
@media (max-width: 560px) {
  .speaker-form-row { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container,
  .podcast-hero,
  .cta-split,
  .events-grid,
  .blog-grid,
  .team-grid,
  .event-types,
  .benefits-list,
  .benefits-layout,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .benefits-photo-col {
    order: -1;
    padding-right: 14px;
    padding-bottom: 14px;
  }

  .sponsors-hero-video {
    padding: 0 25px;
  }

  .sponsor-accordion {
    margin-top: 40px;
  }

  .gallery-grid,
  .recap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recap-overlay h3 {
    font-size: 20px;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 20px) 32px 60px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a:not(.btn) {
    font-size: clamp(22px, 6vw, 32px);
    font-weight: 400;
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .main-nav .btn {
    margin-top: 12px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
    z-index: 200;
    position: relative;
  }

  .nav-toggle span {
    transition: transform .3s ease, opacity .3s ease;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
  }

  h1 { font-size: 36px; }
  h2 { font-size: 30px; }

  .cta-panel {
    padding: 60px 32px;
  }
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS
   (appended after all base rules so these always win at their breakpoints)
   ========================================================================== */

/* ── Header nav — keep single-line between 900px and 1200px ── */
@media (max-width: 1200px) {
  .main-nav { gap: 22px; }
  .main-nav .btn { padding: 10px 16px; }
}

@media (max-width: 1060px) {
  .main-nav { gap: 14px; }
  .main-nav a:not(.btn) { font-size: 14px; }
  .main-nav .btn { padding: 9px 14px; font-size: 16px; }
}

/* ── ≤ 900px — supplement the existing block ── */
@media (max-width: 900px) {

  .main-nav a:not(.btn) {
    font-size: 26px;
  }

  .about-hero-text {
    padding-bottom: 15px;
  }

  /* Photo-feature sections (Stay Connected / Speaking / Sponsor) — STACK */
  .photo-feature .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .photo-feature .feature-photo {
    order: -1;
  }
  .photo-feature .container > div:not(.feature-photo) {
    max-width: 100%;
  }
  .photo-feature.reverse .container { direction: ltr; }
  .photo-feature .feature-photo::before,
  .gi-img-right .feature-photo::before {
    transform: translate(8px, 8px);
  }

  /* Events banner — stack text above widget */
  .events-banner { display: block; }
  .events-banner::before { display: none; }
  .events-banner-text {
    padding: 0 clamp(20px, 5vw, 60px) 40px;
  }
  .events-banner .widget-frame { min-height: auto; }

  /* Event list card — drop the fixed 460px column */
  .event-list-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }

  /* Hero circles — fluid sizes */
  .hero-image { height: clamp(200px, 38vw, 310px); }
  .hero-image .circle-main {
    width: clamp(180px, 28vw, 280px);
    height: clamp(180px, 28vw, 280px);
    max-width: clamp(180px, 28vw, 280px);
  }
  .hero-image .circle-accent {
    width: clamp(130px, 20vw, 200px);
    height: clamp(130px, 20vw, 200px);
  }

  /* Team grid — 2 col on tablet (overrides the existing 1-col rule above) */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  /* Benefits list — 2 col on tablet */
  .benefits-list { grid-template-columns: repeat(2, 1fr); }

  /* About hero — stack images below text */
  .about-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0;
  }
  .about-hero-images { width: 100%; max-width: 440px; }

  /* Sponsors strip */
  .sponsors-strip { padding: 80px 0 100px; }
  .sponsors-row { gap: 36px; }

  /* Tagline */
  .tagline-section { padding: 100px 0 80px; }

  /* Mission / sponsor sections */
  .mission-section { padding: 90px 0; }
  .become-sponsor-section { padding: 90px 0; }

  /* Section generic */
  .section { padding: 70px 0; }

  /* Footer newsletter input — allow wrapping */
  .footer-newsletter-form { flex-wrap: wrap; }
  .footer-newsletter-form input { flex: 1 1 180px; width: auto; }

  /* Gallery strip */
  .gallery-strip-main { height: 420px; }

  /* Benefits photo accent */
  .benefits-photo-col::before { transform: translate(8px, 8px); }
}

/* ── ≤ 768px ── */
@media (max-width: 768px) {
  .site-logo img { height: 42px; }

  /* Hero */
  .hero { padding: 50px 0 80px; }

  /* Page hero */
  .page-hero { padding: 60px 0 100px; }

  /* Sponsors */
  .sponsors-strip { padding: 60px 0 70px; }
  .sponsors-strip h4 { margin-bottom: 2rem; }
  .sponsors-row { gap: 24px; }
  .sponsors-row img { max-height: 58px; max-width: 190px; }

  /* Tagline */
  .tagline-section { padding: 70px 0 60px; }

  /* Events banner */
  .events-banner { padding: 60px 0; }
  .events-banner-text { padding: 0 clamp(20px, 5vw, 48px) 36px; }

  /* Photo feature */
  .photo-feature { padding: 60px 0; }
  .photo-feature .container { gap: 28px; }

  /* Mission / sponsor */
  .mission-section { padding: 70px 0; }
  .become-sponsor-section { padding: 70px 0; }

  /* Section */
  .section { padding: 60px 0; }

  /* About hero */
  .about-hero .container { padding: 0 16px; }
  .about-hero-images { max-width: 380px; }
  .about-hero-img-small { width: clamp(100px, 22vw, 150px); }

  /* Team images */
  .team-card img { max-width: 250px; }

  /* Event types */
  .event-type-img-wrap { width: 220px; height: 220px; }

  /* Gallery */
  .gallery-strip-main { height: 320px; }
  .gallery-thumb { flex: 0 0 90px; height: 65px; }

  /* Benefits */
  .benefits-section { padding: 70px 0; }
  .benefits-photo-col { margin-left: 0; }

  /* Newsletter form */
  .newsletter-form { flex-wrap: wrap; }

  /* Modal */
  .modal-box { padding: 64px 32px; width: 95%; }

  /* Forms */
  .form-card { padding: 32px 24px; }
  .sponsor-form, .contact-form { width: 100%; }
  .sponsor-form .form-row, .contact-form .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-newsletter-form input { flex: 1 1 160px; width: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Past events / about connect */
  .past-events-section { padding: 70px 0; }
  .about-connect-section { padding: 60px 0; }
}

/* ── ≤ 560px — Mobile ── */
@media (max-width: 560px) {

  /* Hero — text only, hide absolutely-positioned circles */
  .hero { padding: 40px 0 60px; }
  /* .hero-image { display: none; } */
  .hero-image .circle-main {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    right: 0;
    left: 0;
    margin: auto;
    position: inherit;
  }
  .hero-image {
    height: auto;
    margin: auto;
    max-width: 450px;
  }
  .recap-card {
        aspect-ratio: 2 / 2;
  }
  /* Page hero */
  .page-hero { padding: 50px 0 80px; }

  /* Sponsors */
  .sponsors-strip { padding: 50px 0 60px; }
  .sponsors-row { gap: 18px; }
  .sponsors-row img { max-height: 48px; max-width: 150px; }

  /* Tagline */
  .tagline-section { padding: 50px 0 40px; }
  .waveform-icon { margin-bottom: 28px; }
  .waveform-icon img { max-width: 180px; }

  /* Events banner */
  .events-banner { padding: 50px 0; }

  /* Photo feature */
  .photo-feature { padding: 50px 0; }
  .photo-feature .feature-photo::before { display: none; }

  /* Mission / sponsor */
  .mission-section { padding: 50px 0; }
  .become-sponsor-section { padding: 50px 0; }

  /* Section */
  .section { padding: 50px 0; }

  /* Team — single column */
  .team-grid { grid-template-columns: 1fr; }
  .team-card img { max-width: 200px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip-main { height: 240px; }
  .gallery-thumb { flex: 0 0 70px; height: 52px; }

  /* Benefits list */
  .benefits-list { grid-template-columns: 1fr; }
  .benefits-section { padding: 50px 0; }

  /* Newsletter — stack */
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input, .newsletter-form .btn { width: 100%; }

  /* Footer newsletter — stack */
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form input, .footer-newsletter-form .btn { flex: none; width: 100%; }

  /* Modal */
  .modal-box { padding: 50px 20px; }
  .modal-box h2 { font-size: 28px; }

  /* About hero */
  .about-hero-inner { gap: 24px; padding-top: 30px; }
  .about-hero-images { max-width: 300px; margin: 0 auto; }

  /* Events controls */
  .events-controls-row { flex-direction: column; align-items: stretch; }
  .events-controls-left { flex-wrap: wrap; }
  .events-search-wrap { width: 100%; }
  .events-search-wrap input { width: 100%; flex: 1; }

  /* About connect */
  .about-connect-section { padding: 50px 0; }

  /* Forms */
  .form-card { padding: 24px 16px; }
  .cta-panel { padding: 50px 20px; }

  /* About hero divider */
  .about-hero-divider { height: 50px; margin-top: -40px; }
}

/* ── ≤ 480px — Small mobile ── */
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }

  .site-logo img { height: 36px; }

  .sponsors-strip { padding: 40px 0 50px; }
  .sponsors-row img { max-height: 40px; max-width: 115px; }

  .recap-grid { grid-template-columns: 1fr; }

  .modal-box { padding: 44px 16px; }
  .modal-box h2 { font-size: 22px; }

  .gallery-strip-main { height: 200px; }

  .event-type-img-wrap { width: 180px; height: 180px; }

  .page-hero { padding: 40px 0 70px; }

  .become-sponsor-section { padding: 40px 0; }
  .mission-section { padding: 40px 0; }
  .benefits-section { padding: 40px 0; }
  .photo-feature { padding: 40px 0; }
  .events-banner { padding: 40px 0; }
  .section { padding: 40px 0; }

  .newsletter { padding: 50px 0; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .slide-in-right {
    opacity: 1;
    transform: none;
  }

  .slide-in-right.is-visible {
    opacity: 1;
    transform: none;
  }

  .gallery-strip-main img {
    transition: none;
  }
}

