/* Small chapter additions; typography, colors, hero, buttons, header and footer
   come from the original conference stylesheet (style-2026.css). */
.meetup-transition { padding: 160px 30px 0; background: #e8f3ff; }
.meetup-transition__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  max-width: 990px;
  margin: 0 auto;
  padding: 24px;
  background: #fff0bf;
  border-left: 6px solid #805500;
  color: #292000;
}
.meetup-transition__inner > div { flex: 1 1 420px; }
.meetup-transition h2 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.4; }
.meetup-transition p { margin: 0; font-size: 1rem; line-height: 1.5; }
.meetup-transition__link {
  display: inline-block;
  padding: 12px 18px;
  background: #292000;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: underline;
}
.meetup-transition__link:hover, .meetup-transition__link:focus { background: #4d3b00; color: #fff; }
.meetup-transition__link:focus-visible { outline: 3px solid #292000; outline-offset: 4px; }
.chapter-updates-anchor { display: block; scroll-margin-top: 120px; }
@media screen and (max-width: 767px) {
  .meetup-transition { padding: 120px 16px 0; }
  .meetup-transition__inner { padding: 20px; }
  .meetup-transition__link { width: 100%; }
}
.chapter-pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}
.chapter-pathway { min-width: 0; }
.meetup-featured-link { display: block; margin: 24px 0; }
.chapter-content .meetup-featured { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.meetup-description { overflow-wrap: anywhere; }
.chapter-content.meetup-detail p,
.chapter-content.meetup-detail li {
  text-align: justify;
}
/* Keep imported Markdown and inherited Bootstrap/conference type in proportion. */
.chapter-content.meetup-detail { font-size: 1rem; line-height: 1.6; }
.chapter-content.meetup-detail p,
.chapter-content.meetup-detail li,
.chapter-content.meetup-detail blockquote,
.chapter-content.meetup-detail table,
.chapter-content.meetup-detail .button { font-size: 1rem; line-height: 1.6; }
.chapter-content.meetup-detail h1 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.3; margin: 0 0 24px; }
.chapter-content.meetup-detail h2,
.chapter-content.meetup-detail .meetup-description h1 { font-size: 1.5rem; line-height: 1.35; margin: 32px 0 16px; }
.chapter-content.meetup-detail h3 { font-size: 1.25rem; line-height: 1.4; margin: 28px 0 16px; }
.chapter-content.meetup-detail h4 { font-size: 1.125rem; line-height: 1.4; margin: 24px 0 12px; }
.chapter-content.meetup-detail h5,
.chapter-content.meetup-detail h6 { font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 24px 0 12px; }
.chapter-content.meetup-detail pre,
.chapter-content.meetup-detail code { font-size: 0.95em; }
.meetup-description img { max-width: 100%; height: auto; }
.meetup-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.meetup-gallery a { display: grid; place-items: center; padding: 8px; background: #fff; border: 1px solid #ddd; }
.meetup-gallery img { display: block; width: 100%; height: 220px; object-fit: contain; }
.meetup-photo-link { cursor: zoom-in; }
.meetup-pagination { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.meetup-detail > h1 + .meetup-pagination { margin-top: 24px; margin-bottom: 32px; }
.meetup-pagination .button { white-space: normal; text-align: center; }
.meetup-next { margin-left: auto; }
.chapter-pathway h2 { min-height: 2em; }
.chapter-pathway .button { margin-top: auto; margin-bottom: 24px; }
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-bottom: 60px;
}
.chapter-content { max-width: 820px; margin: 0 auto; }
.chapter-content h1 { line-height: 1.15; }
.chapter-content h2 { margin-top: 60px; }
.chapter-content p { line-height: 1.5; }
.chapter-content ul, .chapter-content ol {
  padding-left: 24px;
  margin: 24px 0;
  line-height: 1.5;
}
.chapter-content li { margin-bottom: 16px; }
.chapter-content .table-scroll { overflow-x: auto; max-width: 100%; }
.chapter-content table { width: 100%; border-collapse: collapse; background: #fff; }
.chapter-content th, .chapter-content td {
  padding: 12px;
  border-bottom: 1px solid #EBEBEB;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.chapter-content td p { text-align: left; }
.chapter-skip { position: absolute; top: -100px; left: 16px; z-index: 200; padding: 12px; background: #fff; }
.chapter-skip:focus { top: 16px; }
.chapter-nav a:focus-visible, .chapter-content a:focus-visible, .chapter-pathway a:focus-visible {
  outline: 3px solid #3c3c3c;
  outline-offset: 4px;
}
@media screen and (max-width: 767px) {
  .chapter-pathways { grid-template-columns: 1fr; gap: 60px; }
  .chapter-pathway h2 { min-height: 0; }
}

/* Reuse the conference portrait cards for the four chapter leads. */
.chapter-content .chapter-leads {
  padding: 0;
  margin: 32px 0 60px;
  gap: 30px;
}
.chapter-content .chapter-leads .grid__item {
  flex: 0 0 calc((100% - 30px) / 2);
}
.chapter-content .chapter-leads .team-grid__title {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
@media screen and (max-width: 575px) {
  .chapter-content .chapter-leads .grid__item { flex-basis: 100%; }
}

/* Full-width chapter bands reuse the conference section backgrounds. */
.chapter-band .page-section__inner { padding-top: 72px; padding-bottom: 72px; }
.main .chapter-band:first-child .page-section__inner {
  padding-top: 200px;
  padding-bottom: 72px;
}
.chapter-band .chapter-content > h2:first-child,
.chapter-band .chapter-content > h3:first-child { margin-top: 0; }
.chapter-band { scroll-margin-top: 100px; }
@media screen and (max-width: 767px) {
  .chapter-band .page-section__inner { padding-top: 48px; padding-bottom: 48px; }
  .main .chapter-band:first-child .page-section__inner { padding-top: 150px; padding-bottom: 48px; }
}


/* Keep current conference navigation in the original single-row header. */
.conference-header .header__inner { gap: 24px; }
.conference-header .header__logo { width: 220px; }
.conference-header .mainmenu__list { flex-wrap: nowrap; gap: 12px; }
.conference-header .mainmenu__list a { white-space: nowrap; }
@media screen and (max-width: 1100px) {
  .conference-header .header__menu { display: none; }
  .conference-header .header__burger-btn { display: block; }
}
