.page-howtolive-article {
  --howtolive-left-col-width: 47.5%;
  --howtolive-right-col-width: 52.5%;
  --howtolive-column-gap: 18px;
}

.page-howtolive-article .howtolive-section {
  max-width: 960px;
  margin: 98px auto 40px;
  padding: 20px;
  transform: none;
  position: relative;
  font-family: "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.6;
}

.page-howtolive-article #howtolive-local-menu,
.page-howtolive-article .howtolive-local-menu-slot {
  position: absolute;
  top: 66px;
  left: 20px;
  right: auto;
  margin: 0;
  width: auto;
  padding: 0;
  transform: translateY(-100%);
  z-index: 2600;
  isolation: isolate;
}

.page-howtolive-article #howtolive-local-menu .howtolive-local-menu {
  width: fit-content;
}

.page-howtolive-article #howtolive-local-menu .howtolive-menu-title,
.page-howtolive-article #howtolive-local-menu .howtolive-menu-list li a {
  white-space: nowrap;
}

.page-howtolive-article #howtolive-local-menu,
.page-howtolive-article #howtolive-local-menu .howtolive-local-menu,
.page-howtolive-article #howtolive-local-menu .howtolive-menu-nav {
  width: auto;
}

.page-howtolive-article #howtolive-local-menu .howtolive-menu-title {
  width: fit-content;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px;
  padding-right: 24px;
  min-width: 0;
}

.page-howtolive-article #howtolive-local-menu .howtolive-menu-nav {
  width: max-content;
  min-width: 100%;
}

.page-howtolive-article .howtolive-header-section {
  margin: 0 0 24px;
  text-align: right;
  transform: none;
}

.page-howtolive-article .howtolive-header-title {
  font-family: "Arial Narrow", "Liberation Sans Narrow", "Nimbus Sans Narrow", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.4px;
  font-stretch: condensed;
}

.page-howtolive-article .howtolive-header-subtitle {
  font-family: "Arial Narrow", "Liberation Sans Narrow", "Nimbus Sans Narrow", Arial, sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.4px;
  font-stretch: condensed;
  margin: 4px 0 0;
}

.page-howtolive-article .howtolive-header-divider {
  margin: 0 0 18px;
  width: 100%;
  transform: translateY(-39px);
}

@media (min-width: 901px) {
  .page-howtolive-article {
    --howtolive-article-right-edge-offset: max(0px, calc((min(100vw, 1200px) - min(100vw, 960px)) / 2));
  }

  .page-howtolive-article #site-header .brand-lines {
    margin-left: max(0px, calc((min(100vw, 1200px) - min(100vw, 960px)) / 2));
    align-items: flex-end;
  }

  .page-howtolive-article #site-header #header-menu {
    position: absolute;
    right: var(--howtolive-article-right-edge-offset);
    bottom: 0;
    transform: none;
  }

  .page-howtolive-article #site-header .brand-main {
    transform: translate(0, var(--brand-main-shift-y));
  }

  .page-howtolive-article #site-header .brand-sub {
    transform: translate(0, var(--brand-sub-shift-y));
  }

  .page-howtolive-article #site-header .slogan-img {
    margin-left: auto;
    margin-right: var(--howtolive-article-right-edge-offset);
    flex: 0 0 auto;
    transform: translate(0, var(--tryjesus-shift-y));
  }

  .page-howtolive-article #site-header .tryjesus-img {
    height: var(--tryjesus-height);
    width: auto;
    max-width: none;
  }
}

.page-howtolive-article .howtolive-main-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  margin: 20px 0 30px;
  max-width: 100%;
}

.page-howtolive-article .howtolive-leftbox {
  flex: 0 0 47.5%;
  max-width: 47.5%;
  min-width: 0;
  padding: 22px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.page-howtolive-article .howtolive-rightbox {
  flex: 0 0 52.5%;
  max-width: 52.5%;
  min-width: 0;
  padding: 22px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
  width: auto;
  margin: 0;
  transform: none;
}

.page-howtolive-article .howtolive-doors-columns {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 18px;
  margin: 20px 0 30px;
  max-width: 100%;
}

.page-howtolive-article .howtolive-doors-left {
  flex: 0 0 47.5%;
  max-width: 47.5%;
  min-width: 0;
  padding: 22px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.page-howtolive-article .howtolive-doors-right {
  flex: 0 0 52.5%;
  max-width: 52.5%;
  min-width: 0;
  padding: 22px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.page-howtolive-article .howtolive-doors-bottombox,
.page-howtolive-article .howtolive-bottombox,
.page-howtolive-article .pv-bottombox {
  width: 100%;
  box-sizing: border-box;
  margin: 30px 0;
  padding: 10px 16px;
  background: #fff;
  border: 3px solid #1f8f3a;
  border-radius: 8px;
  text-align: center;
  transform: none;
}

.page-howtolive-article .howtolive-doors-bottombox h1,
.page-howtolive-article .howtolive-doors-bottombox h2,
.page-howtolive-article .howtolive-doors-bottombox h3,
.page-howtolive-article .howtolive-bottombox h1,
.page-howtolive-article .howtolive-bottombox h2,
.page-howtolive-article .howtolive-bottombox h3,
.page-howtolive-article .pv-bottombox h1,
.page-howtolive-article .pv-bottombox h2,
.page-howtolive-article .pv-bottombox h3 {
  margin: 0;
}

.page-howtolive-article .howtolive-leftbox img,
.page-howtolive-article .howtolive-rightbox img,
.page-howtolive-article .howtolive-doors-left img,
.page-howtolive-article .howtolive-doors-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .page-howtolive-article .howtolive-section {
    margin: 20px auto 30px;
    padding: 14px;
  }

  .page-howtolive-article #howtolive-local-menu,
  .page-howtolive-article .howtolive-local-menu-slot {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: calc(var(--header-height, 88px) + 8px) 0 20px 0;
    transform: none;
  }

  .page-howtolive-article #howtolive-local-menu .howtolive-local-menu {
    width: 100%;
  }

  .page-howtolive-article .howtolive-header-title {
    font-size: 40px;
  }

  .page-howtolive-article .howtolive-header-subtitle {
    font-size: 26px;
  }

  .page-howtolive-article .howtolive-header-section {
    text-align: left;
  }

  .page-howtolive-article .howtolive-main-content,
  .page-howtolive-article .howtolive-doors-columns {
    flex-direction: column;
  }

  .page-howtolive-article .howtolive-leftbox,
  .page-howtolive-article .howtolive-rightbox,
  .page-howtolive-article .howtolive-doors-left,
  .page-howtolive-article .howtolive-doors-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
