/* Conference theme. Loaded after the original template and plugins. */
.conference-site {
  --ink: #18332e;
  --text: #40534f;
  --green: #087747;
  --green-dark: #055a35;
  --blue: #126c9a;
  --line: #dfe7e5;
  --surface: #f5f8f8;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.75;
}
.conference-site p { font-size: 1rem; line-height: 1.8; color: var(--text); }
.conference-site h1, .conference-site h2, .conference-site h3,
.conference-site h4, .conference-site h5, .conference-site h6 {
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.conference-site h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.conference-site h3, .conference-site .heading-level-3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.conference-site h4 { font-size: 1.125rem; }
.conference-site main a { color: var(--blue); text-underline-offset: .2em; }
.conference-site main a:hover { color: #094d70; text-decoration: underline !important; }
.conference-site :is(a, button, [tabindex]):focus-visible {
  outline: 3px solid #126c9a;
  outline-offset: 4px;
}
.conference-site [align="justify"] { text-align: justify; }
.conference-site .featured p,
.conference-site .contact-page p,
.conference-site .contact-page .item,
.conference-site .contact-page .layout-table > tbody > tr > td {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  text-align: justify !important;
  text-align-last: start;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.conference-site .contact-page :is(h2, h3, h4) {
  text-align: left;
  hyphens: none;
}
.conference-site .contact-page img.content-image {
  display: block;
  float: none;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: 24px auto;
  border-radius: 10px;
}
.conference-site .section { margin-top: clamp(40px, 5vw, 72px); }
.conference-site main { padding-bottom: 64px; }

/* A stable, compact header with the two existing marks. */
.conference-site .sub-header { padding: 5px 0; background: var(--surface); border-color: var(--line); }
.conference-site .sub-header ul.social-links li a {
  width: 28px; height: 28px; line-height: 28px;
  background: transparent; color: var(--text);
}
.conference-site .sub-header ul.social-links li a:hover { color: var(--green); background: #e2efe9; }
.conference-site .header-area {
  position: sticky; top: 0; height: auto;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgb(24 51 46 / 4%);
  transition: none;
}
.conference-site .header-area .main-nav { align-items: center; min-height: 100px; gap: 22px; }
.conference-site .header-area .main-nav .header-logos { height: 100px; gap: 18px; }
.conference-site .header-area .main-nav .header-logos .logo img,
.conference-site .header-area .main-nav .partner-logo img { height: 80px; width: auto; max-height: 80px; }
.conference-site .header-area .main-nav ul.nav {
  margin-top: 0; align-items: center; justify-content: flex-end;
  flex-wrap: nowrap; gap: 14px; transition: none;
}
.conference-site .header-area .main-nav .nav > li { padding: 0; height: auto; line-height: normal; }
.conference-site .header-area .main-nav ul.nav > li > a {
  height: auto; line-height: 1.4; padding: 11px 10px;
  font-size: .875rem; font-weight: 500; letter-spacing: 0;
  color: var(--ink); border-radius: 7px; background: transparent;
  text-transform: none; white-space: nowrap;
}
.conference-site .header-area .main-nav .nav > li > a:hover,
.conference-site .header-area .main-nav .nav > li > a.active {
  color: var(--green); background: #edf5f1;
}
.conference-site .header-area .main-nav ul.nav > li > a[data-nav-action] {
  color: #fff; background: var(--green); padding: 11px 15px;
}
.conference-site .header-area .main-nav ul.nav > li > a[data-nav-action]:hover,
.conference-site .header-area .main-nav ul.nav > li > a[data-nav-action].active { background: var(--green-dark); }

/* Keep the carousel and its photographs; clarify the text hierarchy. */
.conference-site .main-banner .item {
  padding: clamp(64px, 8vw, 112px) max(64px, calc((100vw - 1120px) / 2)) 104px;
}
.conference-site .main-banner .header-text { max-width: 820px; }
.conference-site .main-banner .banner-date {
  margin: 0 0 18px; color: var(--green-dark); font-weight: 600;
  font-size: clamp(.875rem, 1.3vw, 1rem); letter-spacing: .025em;
}
.conference-site .main-banner .banner-title {
  width: 100%; margin: 0 0 24px; color: #123d52;
  font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.1;
  font-weight: 600; text-transform: none; letter-spacing: -.045em;
}
@media (min-width: 1200px) {
  .conference-site .main-banner .item {
    padding-left: 64px;
    padding-right: 64px;
  }
  .conference-site .main-banner .header-text {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
  }
  .conference-site .main-banner .banner-title {
    font-size: clamp(2.5rem, 4.2vw, 4rem);
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}
.conference-site .main-banner .banner-theme {
  max-width: 620px; margin-bottom: 30px;
  font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.5; color: #244a55;
}
.conference-site .banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.conference-site main .conference-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px; border: 1px solid var(--green);
  border-radius: 8px; background: var(--green); color: #fff;
  font-size: .9375rem; font-weight: 600; line-height: 1.4;
  transition: background-color .2s, border-color .2s;
}
.conference-site main .conference-button:hover {
  background: var(--green-dark); border-color: var(--green-dark);
  color: #fff; text-decoration: none !important;
}
.conference-site main .conference-button--outline { background: #fff; color: var(--green-dark); }
.conference-site .main-banner .owl-dots { left: 50%; bottom: 30px; transform: translateX(-50%); }
.conference-site .main-banner .owl-dots .owl-dot { background: #a7bab6; }
.conference-site .main-banner .owl-dots .active { background: var(--green); }
.conference-site .main-banner .owl-nav .owl-prev i,
.conference-site .main-banner .owl-nav .owl-next i { background: rgb(255 255 255 / 90%); color: var(--ink); }
.conference-site .main-banner .owl-nav .owl-prev i { left: 14px; }
.conference-site .main-banner .owl-nav .owl-next i { right: 14px; }

/* Short page banners bring the actual page content closer to the top. */
.conference-site .page-heading {
  --page-heading-image: url("../images/page-heading-bg-1920.webp");
  padding: clamp(30px, 4vw, 54px) 0 0;
  background: linear-gradient(to bottom, rgb(255 255 255 / 75%), rgb(255 255 255 / 0%) 70%), var(--page-heading-image) center center / cover no-repeat;
  border-bottom: 1px solid var(--line); text-align: left;
}
.conference-site .page-heading::after {
  content: "";
  display: block;
  height: 80px;
  margin-top: 20px;
}
.conference-site .page-heading h1 {
  max-width: 1050px; margin: 0; color: #123d52;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.2;
  font-weight: 600; text-transform: none;
}
.conference-site .page-breadcrumb {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  margin-bottom: 18px; font-size: .875rem; line-height: 1.5;
}
.conference-site .page-heading .page-breadcrumb span {
  display: inline; padding: 0; margin: 0; background: none;
  color: #536b66; font-size: inherit; font-weight: 400; text-transform: none;
}

/* Consistent surfaces and readable content, including legacy layout tables. */
.conference-site .contact-page { background: var(--surface); margin-top: 0; padding: clamp(32px, 5vw, 64px) 0; }
.conference-site .contact-page .item,
.conference-site .contact-content .item,
.conference-site .social-tour {
  display: block; width: 100%; margin-left: 0; margin-right: 0;
  padding: clamp(22px, 3vw, 40px); background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 3px 12px rgb(24 51 46 / 3%);
}
.conference-site .contact-page .item + .item { margin-top: 24px; }
.conference-site .contact-page .layout-table { font-size: 1rem !important; line-height: 1.8 !important; color: var(--text) !important; }
.conference-site .contact-page .item > :is(h2, h3, h4) { margin-bottom: 18px; }
.conference-site .contact-page .item > :is(h2, h3, h4) + br { display: none; }
.conference-site .contact-page .item p { max-width: none; }
.conference-site .contact-page .item p:last-child { margin-bottom: 0; }
.conference-site .data-table-scroll { border-radius: 10px; box-shadow: none; }
.conference-site .data-table { font-size: .9375rem; }
.conference-site .data-table thead th { font-size: .875rem; }
.conference-site.committees-page .data-table,
.conference-site.committees-page .data-table tbody tr > * {
  background: #fff;
}
.conference-site .featured { padding-bottom: 48px; }
.conference-site .featured .container { max-width: 1060px; }
.conference-site .featured h3 { margin-top: 28px; }
.conference-site .contact-content { margin-top: 0; padding: 48px 0; background: var(--surface); }
.conference-site .contact-content .item { height: 100%; }
.conference-site .contact-content .item h6 { overflow-wrap: anywhere; line-height: 1.6; }
.conference-site .contact-content #map { margin-bottom: 32px; }
.conference-site footer { margin-top: 0; }
.conference-site footer p { padding: 26px 0; line-height: 1.8; font-size: .875rem; }
.conference-site [id] { scroll-margin-top: 120px; }

@media (max-width: 1399px) {
  .conference-site .header-area { padding: 0 15px; }
  .conference-site .header-area .main-nav { min-height: 88px; display: block; overflow: visible; }
  .conference-site .header-area .main-nav .header-logos { height: 88px; left: 24px; gap: 12px; }
  .conference-site .header-area .main-nav .header-logos .logo img,
  .conference-site .header-area .main-nav .partner-logo img { height: 68px; width: auto; max-height: 68px; }
  .conference-site .header-area .main-nav .menu-trigger { top: 24px; }
  .conference-site .header-area .main-nav ul.nav {
    position: absolute; top: 88px; left: 0; right: 0; margin-top: 0 !important;
    padding: 12px 20px 20px; max-height: calc(100dvh - 88px);
    overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 18px rgb(24 51 46 / 8%);
  }
  .conference-site .header-area .main-nav .nav > li { border: 0; border-radius: 0; background: transparent; }
  .conference-site .header-area .main-nav ul.nav > li > a { padding: 13px 16px; text-align: left; font-size: 1rem; white-space: normal; }
  .conference-site .header-area .main-nav ul.nav > li > a.active { color: var(--green) !important; }
  .conference-site .header-area .main-nav ul.nav > li > a:hover { color: var(--green) !important; }
  .conference-site .header-area .main-nav ul.nav > li > a[data-nav-action] { margin: 6px 0; color: #fff !important; }
}
@media (max-width: 1024px) {
  .conference-site .page-heading {
    padding-top: 28px;
  }
  .conference-site .page-heading::after {
    height: 64px;
    margin-top: 18px;
  }
}
@media (max-width: 767px) {
  .conference-site .page-heading {
    --page-heading-image: url("../images/page-heading-bg-768.webp");
    padding-top: 22px;
  }
  .conference-site .page-heading::after {
    height: 36px;
    margin-top: 14px;
  }
  .conference-site main { padding-bottom: 32px; }
  .conference-site .header-area .main-nav .header-logos { left: 16px; max-width: calc(100% - 80px); gap: 10px; }
  .conference-site .main-banner .item { padding: 44px 24px 110px; }
  .conference-site .main-banner .banner-title { margin-bottom: 18px; }
  .conference-site .main-banner .banner-date { max-width: 29ch; }
  .conference-site .main-banner .owl-nav { top: auto; bottom: 30px; transform: none; }
  .conference-site .main-banner .owl-nav .owl-prev i,
  .conference-site .main-banner .owl-nav .owl-next i { width: 40px; height: 40px; line-height: 40px; bottom: 0; }
  .conference-site .main-banner .owl-nav .owl-prev i { left: 24px; }
  .conference-site .main-banner .owl-nav .owl-next i { right: 24px; }
  .conference-site .main-banner .owl-dots { bottom: 43px; }
  .conference-site .contact-page .item,
  .conference-site .social-tour { padding: 22px 16px; }
  .conference-site .data-table { font-size: .875rem; }
  .conference-site .page-breadcrumb { gap: 8px; margin-bottom: 12px; }
}
/* Social tours: alternating one-third copy and two-thirds photography. */
.conference-site .social-tour-group + .social-tour-group {
  margin-top: clamp(48px, 6vw, 80px);
}
.conference-site .social-group-title {
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: #123d52;
}
.conference-site .social-tour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas: "copy photo";
  gap: clamp(24px, 2.5vw, 36px);
  align-items: start;
}
.conference-site .social-tour--reverse {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-areas: "photo copy";
}
.conference-site .social-tour + .social-tour {
  margin-top: 24px;
}
.conference-site .social-tour-copy { grid-area: copy; min-width: 0; }
.conference-site .social-tour-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.4;
  overflow-wrap: normal;
}
.conference-site .social-tour-copy p { margin: 0; }
.conference-site .social-tour-media {
  grid-area: photo;
  min-width: 0;
  margin: 0;
  position: sticky;
  top: 120px;
}
.conference-site .social-tour-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
@media (max-width: 991px) {
  .conference-site .social-tour,
  .conference-site .social-tour--reverse {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "photo";
    gap: 24px;
  }
  .conference-site .social-tour-media { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .conference-site *, .conference-site *::before, .conference-site *::after {
    scroll-behavior: auto !important; transition: none !important; animation: none !important;
  }
}
