/* Port of the D7 SE17 2022–2026 landing page, scoped to this page only. */
.conference-landing {
  --conference-nav-offset: 6rem;
  color: #222;
  background: #fff;
}
.conference-landing__nav {
  position: sticky;
  top: var(--drupal-displace-offset-top, 0px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .75rem max(1rem, calc((100% - 1140px) / 2));
  background: #111;
  color: #fff;
}
.conference-landing__nav a {
  display: block;
  color: #fff;
  padding: .5rem;
  text-decoration: none;
}
.conference-landing__nav a:hover,
.conference-landing__nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: 2px solid #f5cf80;
  outline-offset: 2px;
}
.conference-landing__home {
  flex-shrink: 0;
  font-size: 1.75rem;
  font-weight: 700;
}
.conference-landing__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.conference-landing__masthead {
  display: grid;
  place-items: center;
  min-height: clamp(30rem, 75vh, 52rem);
  padding: 3rem 1rem;
  text-align: center;
  background: #414b50 url('../images/conference/se17-2026-iowa.jpg') center / cover no-repeat;
}
.conference-landing__intro {
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  max-width: 100%;
  border: 3px solid #8bbde9;
  background: rgb(0 0 0 / 55%);
  text-shadow: 0 1px 3px #000;
}
.conference-landing__intro h1 {
  color: inherit;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
}
.conference-landing__intro p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  margin: .5rem 0;
}
.conference-landing__content { padding-block: 2rem; }
.conference-landing .conference-section {
  position: relative;
  padding-block: 2rem;
  border-top: 1px solid #222;
  scroll-margin-top: calc(var(--drupal-displace-offset-top, 0px) + var(--conference-nav-offset));
}
.conference-landing .conference-section__anchor {
  position: absolute;
  top: 0;
  scroll-margin-top: calc(var(--drupal-displace-offset-top, 0px) + var(--conference-nav-offset));
}
.conference-landing__content img { max-width: 100%; height: auto; }
.conference-landing__content { overflow-wrap: anywhere; }
.conference-landing__top { margin-block: 2rem; }
@media (max-width: 575.98px) {
  .conference-landing { --conference-nav-offset: 10rem; }
  .conference-landing__nav { gap: .5rem; padding: .5rem; align-items: flex-start; }
  .conference-landing__nav ul { gap: 0; font-size: .9rem; }
  .conference-landing__masthead { min-height: 24rem; }
}

.conference-year-2022 .conference-landing__masthead { background-image: url('../images/conference/se17-2022.jpg'); }

.conference-year-2023 .conference-landing__masthead { background-image: url('../images/conference/se17-2023.jpg'); }

.conference-year-2024 .conference-landing__masthead { background-image: url('../images/conference/se17-2024.jpg'); }

.conference-year-2025 .conference-landing__masthead { background-image: url('../images/conference/se17-2025.jpg'); }

/* Adapted from bootstrap_se17/css/agency/one-page-confer.css.
 * The page template attaches this library only to SE17 2022–2026 assembled
 * pages. Do not load the legacy Agency reset or Bootstrap 3 rules globally.
 */
.conference-landing__content {
  font-family: Georgia, "Times New Roman", serif;
}
.conference-landing__content :is(h1, h2, h3, h4) {
  font-family: "Times New Roman", Georgia, serif;
}
.conference-landing .conference-section > .views-field-title > h2 {
  margin: 0 0 1.25rem;
  color: #666;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.conference-landing .views-field-body p {
  line-height: 1.75;
  margin-bottom: .75rem;
}
.conference-landing .views-field-body a {
  color: #246bb1;
  text-decoration: underline;
}
.conference-landing .views-field-body a:is(:hover, :focus-visible) {
  color: #426500;
}
.conference-landing .ai-block,
.conference-landing .tour-block { margin-top: 2.5rem; }
.conference-landing .or-block { padding: 1.25rem; }
/* Iceland explicitly loaded Agency's uppercase heading treatment. */
.conference-year-2022 :is(h1, h2, h3, h4, h5, h6),
.conference-year-2022 .conference-landing__intro p { text-transform: uppercase; }
/* The map masthead had a distinct 750px desktop height in the active D7 CSS. */
.conference-year-2026 .conference-landing__masthead {
  min-height: clamp(24rem, 75vw, 750px);
}
