/* Shared styles – removes archive toolbar gap and keeps pages uniform */

/* Remove any leftover Wayback toolbar space */
#wm-ipp-base,
#wm-ipp-print,
[id^="wm-"] {
  display: none !important;
}

html {
  --wm-toolbar-height: 0 !important;
}

body {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

/* Uniform page layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  flex-shrink: 0;
}

.page-main {
  flex: 1;
}

.page-footer {
  flex-shrink: 0;
}

/* Hide Google Translate widget if present */
#goog-gt-tt,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
[id^="albTmxbgmXkYTVX"] {
  display: none !important;
}

/* Home page: remove big white gap – override inline #html-body styles (higher specificity) */
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type,
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-element="inner"][data-pb-style="PVCLUNK"] {
  min-height: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type .pagebuilder-slider,
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-content-type="slider"],
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-pb-style="QILFHYI"] {
  min-height: 200px !important;
}
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-pb-style="SRPYTX1"],
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-pb-style="QO3AYD4"],
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-pb-style="PUJ6R0F"],
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-pb-style="KKXJD0R"],
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-pb-style="DWR3L3E"],
#html-body.cms-index-index .page-main [data-content-type="row"]:first-of-type [data-pb-style="HO3GK9K"] {
  min-height: 200px !important;
}
.cms-index-index .page-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
