:root {
  --color-bg: #ffffff;
  --color-text: #102235;
  --color-muted: #5a6b78;
  --color-border: #d7e5ea;
  --color-primary: #062544;
  --color-primary-dark: #03182d;
  --color-accent: #ef3f3f;
  --color-accent-dark: #c92f2f;
  --color-teal: #08798a;
  --color-teal-dark: #006271;
  --color-soft: #f3f8fa;
  --color-card: #ffffff;
  --shadow-soft: 0 18px 45px rgba(6, 37, 68, 0.10);
  --radius: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-primary);
  line-height: 1.2;
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-soft);
  color: var(--color-primary);
}

.hero {
  background:
    linear-gradient(135deg, rgba(18, 53, 91, 0.96), rgba(11, 36, 63, 0.88)),
    radial-gradient(circle at top right, rgba(123, 45, 38, 0.38), transparent 40%);
  color: #ffffff;
  padding: 88px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-lead {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.88);
}

.conference-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0;
}

.conference-facts div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.conference-facts dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.68);
}

.conference-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: #ffffff;
  color: var(--color-primary);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
}

.button.light {
  background: #ffffff;
  color: var(--color-primary);
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--color-soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 40px;
  align-items: start;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--color-primary);
}

h3 {
  margin: 0 0 10px;
  color: var(--color-primary);
}

p {
  margin: 0 0 16px;
}

.info-box,
.card,
.speaker-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-box {
  padding: 28px;
}

.info-box ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
}

.placeholder {
  color: var(--color-accent);
  font-weight: 700;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.speaker-card {
  padding: 22px;
}

.speaker-photo {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  margin-bottom: 18px;
}

.placeholder-photo {
  background:
    linear-gradient(135deg, rgba(18, 53, 91, 0.18), rgba(123, 45, 38, 0.12)),
    repeating-linear-gradient(45deg, rgba(18, 53, 91, 0.08), rgba(18, 53, 91, 0.08) 8px, transparent 8px, transparent 16px);
}

.speaker-card p {
  color: var(--color-muted);
}

.section-accent {
  background: var(--color-primary);
  color: #ffffff;
}

.section-accent h2 {
  color: #ffffff;
}

.section-accent p {
  color: rgba(255, 255, 255, 0.78);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  padding: 28px 0;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .conference-facts,
  .speaker-grid {
    grid-template-columns: 1fr;
  }

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

  .cta,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .main-nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 52px 0;
  }
}


/* Registration and submission page */
.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.form-link-box {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--color-soft);
  border: 1px solid var(--color-border);
}

.form-link-box p {
  color: var(--color-muted);
}

.simple-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.simple-list > div {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.simple-list p {
  margin-bottom: 0;
  color: var(--color-muted);
}

@media (max-width: 560px) {
  .page-hero-actions {
    flex-direction: column;
  }
}

/* Venue, travel and accommodation page */
.venue-address-box {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--color-soft);
  border: 1px solid var(--color-border);
}

.venue-address-box p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.travel-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.travel-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.travel-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .travel-cards {
    grid-template-columns: 1fr;
  }
}

/* Contact page */
.form-embed-actions {
  margin-bottom: 24px;
}

.embedded-form-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.embedded-form-card iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 900px;
  border: 0;
}

@media (max-width: 760px) {
  .embedded-form-card iframe {
    min-height: 1100px;
  }
}


/* Hero background image layout */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(6, 18, 35, 0.86) 0%, rgba(6, 18, 35, 0.72) 42%, rgba(6, 18, 35, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 18, 35, 0.28) 0%, rgba(6, 18, 35, 0.66) 100%),
    url("../img/budapest-hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 110px 0;
}

.hero-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.hero-content {
  max-width: 790px;
}

.hero h1 {
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
}

.hero-lead,
.hero-notice {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.hero-notice {
  max-width: 720px;
  margin-top: 28px;
  margin-bottom: 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(6, 18, 35, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(6px);
}

.hero-media,
.hero-media-caption {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: 620px;
    padding: 86px 0;
    background-position: center center;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 640px;
    padding: 72px 0;
    background:
      linear-gradient(90deg, rgba(6, 18, 35, 0.90) 0%, rgba(6, 18, 35, 0.74) 100%),
      linear-gradient(180deg, rgba(6, 18, 35, 0.28) 0%, rgba(6, 18, 35, 0.70) 100%),
      url("../img/budapest-hero.png");
    background-size: cover;
    background-position: center center;
  }

  .hero-notice {
    padding: 16px;
  }
}


/* DSABNS 2027 logo and theme refinement */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(8, 121, 138, 0.18);
}

.header-inner {
  min-height: 86px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 190px;
}

.site-logo img {
  display: block;
  width: min(260px, 38vw);
  height: auto;
}

.logo-main,
.logo-sub {
  display: none;
}

.main-nav a {
  color: var(--color-primary);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(8, 121, 138, 0.10);
  color: var(--color-teal-dark);
}

.button.primary {
  background: #ffffff;
  color: var(--color-primary);
}

.section .button.primary,
.form-link-box .button.primary {
  background: var(--color-teal);
  color: #ffffff;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  background: #ffffff;
  color: var(--color-primary);
}

.hero,
.page-hero {
  background:
    linear-gradient(135deg, rgba(6, 37, 68, 0.96), rgba(3, 24, 45, 0.90)),
    radial-gradient(circle at top right, rgba(239, 63, 63, 0.28), transparent 42%),
    radial-gradient(circle at bottom left, rgba(8, 121, 138, 0.26), transparent 40%);
}

.hero {
  background:
    linear-gradient(90deg, rgba(3, 24, 45, 0.88) 0%, rgba(6, 37, 68, 0.72) 42%, rgba(6, 37, 68, 0.34) 100%),
    linear-gradient(180deg, rgba(3, 24, 45, 0.26) 0%, rgba(3, 24, 45, 0.66) 100%),
    url("../img/budapest-hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.conference-facts div {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(3, 24, 45, 0.36);
}

.info-box,
.card,
.speaker-card,
.simple-list > div,
.timeline-item {
  border-color: rgba(8, 121, 138, 0.18);
}

h1,
h2,
h3 {
  color: var(--color-primary);
}

.hero h1,
.page-hero h1,
.section-accent h2 {
  color: #ffffff;
}

.placeholder,
.large-date {
  color: var(--color-accent);
}

.timeline-date,
.date-highlight {
  background: var(--color-teal);
}

.secondary-highlight {
  background: var(--color-accent);
}

.section-accent {
  background:
    linear-gradient(135deg, var(--color-primary), var(--color-teal-dark));
}

.site-footer {
  background: var(--color-primary-dark);
}

@media (max-width: 900px) {
  .site-logo img {
    width: min(240px, 70vw);
  }
}

@media (max-width: 560px) {
  .site-logo img {
    width: min(220px, 78vw);
  }

  .header-inner {
    min-height: auto;
  }
}


/* Contrast fix: dark hero backgrounds must use light text */
.hero,
.page-hero {
  color: #ffffff;
}

.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero dt,
.hero dd,
.hero .eyebrow,
.hero .hero-lead,
.hero .hero-notice,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p,
.page-hero .eyebrow,
.page-hero .page-lead {
  color: #ffffff;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero .hero-lead,
.page-hero .page-lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero .conference-facts dt {
  color: rgba(255, 255, 255, 0.72);
}

.hero .conference-facts dd {
  color: #ffffff;
}

.hero-notice {
  color: rgba(255, 255, 255, 0.90);
}

.section-accent,
.section-accent h1,
.section-accent h2,
.section-accent h3,
.section-accent p {
  color: #ffffff;
}

.section-accent p {
  color: rgba(255, 255, 255, 0.82);
}


/* Layout refinement: calmer subpage headers and less boxed emphasis */
.page-hero {
  min-height: auto;
  padding: 54px 0 48px;
  display: block;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
  font-size: 0.84rem;
}

.page-lead {
  max-width: 900px;
  font-size: clamp(1rem, 1.65vw, 1.18rem);
  line-height: 1.55;
}

.hero {
  min-height: 660px;
}

.hero-content {
  max-width: 840px;
}

.hero-notice {
  display: none;
}

/* Replace heavy highlighted date boxes with calmer inline panels */
.date-highlight {
  display: block;
  margin-top: 22px;
  padding: 0 0 0 20px;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
  border-left: 4px solid var(--color-teal);
}

.secondary-highlight {
  background: transparent;
  border-left-color: var(--color-accent);
}

.date-highlight .date-label {
  color: var(--color-muted);
}

.date-highlight .date-main {
  color: var(--color-primary);
}

.date-highlight .date-note {
  color: var(--color-muted);
}

.section-accent .date-highlight,
.hero .date-highlight,
.page-hero .date-highlight {
  color: #ffffff;
}

.section-accent .date-highlight .date-main,
.hero .date-highlight .date-main,
.page-hero .date-highlight .date-main {
  color: #ffffff;
}

.section-accent .date-highlight .date-label,
.section-accent .date-highlight .date-note,
.hero .date-highlight .date-label,
.hero .date-highlight .date-note,
.page-hero .date-highlight .date-label,
.page-hero .date-highlight .date-note {
  color: rgba(255, 255, 255, 0.78);
}

/* Improve vertical rhythm after compact headers */
.page-hero + .section {
  padding-top: 62px;
}

.section {
  padding-top: 66px;
  padding-bottom: 66px;
}

.section-heading {
  margin-bottom: 26px;
}

/* The header logo should not make the page header feel cramped */
.header-inner {
  min-height: 82px;
}

@media (max-width: 900px) {
  .page-hero {
    padding: 44px 0 42px;
  }

  .hero {
    min-height: 620px;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding: 38px 0 36px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .section,
  .page-hero + .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .date-highlight {
    width: auto;
  }
}


/* Important Dates refined layout */
.page-hero-banner {
  background:
    linear-gradient(90deg, rgba(3, 24, 45, 0.78), rgba(3, 24, 45, 0.46)),
    url("../img/banner.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.page-hero-banner .page-lead {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.dates-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: start;
}

.dates-panel .section-heading {
  margin-bottom: 18px;
}

.dates-panel h2 {
  margin-bottom: 0;
}

.date-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.date-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.date-event {
  color: #ff6b6b;
  font-weight: 800;
}

.date-value {
  color: var(--color-primary);
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.compact-date-list {
  max-width: 720px;
  margin-top: 22px;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.venue-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  background: #ffffff;
}

.venue-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline,
.timeline-item,
.timeline-date,
.timeline-content,
.date-highlight,
.secondary-highlight {
  all: revert;
}

@media (max-width: 900px) {
  .dates-two-column,
  .accommodation-grid {
    grid-template-columns: 1fr;
  }

  .date-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .date-value {
    text-align: left;
    white-space: normal;
  }
}


/* Registration & Abstract Submission refined layout */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.fee-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.fee-card h3 {
  margin-bottom: 22px;
}

.fee-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
}

.fee-row span {
  color: var(--color-muted);
}

.fee-row strong {
  color: #ff6b6b;
  font-size: 1.55rem;
  line-height: 1;
}

.fee-card-highlight {
  border-color: rgba(255, 107, 107, 0.45);
}

.payment-note {
  max-width: 820px;
  margin-top: 28px;
  color: var(--color-muted);
}

.embedded-form-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 28px auto 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.embedded-form-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 2161px;
  border: 0;
}

.form-open-link {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--color-muted);
}

.form-open-link a {
  color: var(--color-teal);
  font-weight: 700;
}

@media (max-width: 900px) {
  .fee-grid {
    grid-template-columns: 1fr;
  }
}


/* Venue, travel and accommodation refined layout */
.venue-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
}

.text-link {
  color: var(--color-teal);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.map-section {
  padding-top: 0;
}

.map-section h2 {
  margin-bottom: 22px;
}

.map-wrapper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 460px;
}

.map-open-link {
  margin-top: 16px;
  margin-bottom: 0;
}

.map-open-link a {
  color: var(--color-teal);
  font-weight: 800;
  text-decoration: none;
}

.travel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.travel-card,
.app-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.travel-meta {
  color: var(--color-muted);
  font-weight: 700;
}

.travel-price {
  margin-top: 18px;
  margin-bottom: 0;
  color: #ff6b6b;
  font-size: 1.45rem;
  font-weight: 900;
}

.public-transport-text {
  max-width: 930px;
}

.app-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.app-card p {
  color: var(--color-muted);
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.app-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(8, 121, 138, 0.10);
  color: var(--color-teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.app-links a:hover {
  background: rgba(255, 107, 107, 0.14);
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .venue-intro-grid,
  .travel-options,
  .app-card-grid {
    grid-template-columns: 1fr;
  }
}


/* Contact page refined layout */
.contact-form-wrapper iframe {
  min-height: 1414px;
}

@media (max-width: 560px) {
  .contact-form-wrapper iframe {
    min-height: 1500px;
  }
}


/* Index page refined plenaries, organizing columns and partner logos */
.speaker-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.speaker-grid-compact .speaker-card {
  padding: 18px;
}

.speaker-grid-compact .speaker-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: var(--color-soft);
}

.speaker-grid-compact .speaker-card h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.speaker-grid-compact .speaker-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.speaker-card-tba {
  opacity: 0.72;
}

.organizing-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.organizing-panel {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.organizing-panel h3 {
  margin-top: 26px;
}

.organizing-panel h3:first-child {
  margin-top: 0;
}

.organizing-panel p {
  color: var(--color-muted);
}

.committee-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.committee-list li {
  margin-bottom: 12px;
  color: var(--color-muted);
}

.committee-list li:last-child {
  margin-bottom: 0;
}

.committee-list strong {
  color: var(--color-primary);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.partner-logo {
  min-height: 130px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-white {
  background: #ffffff;
}

.partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
}

@media (max-width: 1050px) {
  .speaker-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .organizing-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .speaker-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .speaker-grid-compact,
  .logo-grid {
    grid-template-columns: 1fr;
  }
}
