/* Chapters keep their natural height when a visitor opens more information. */
.wc-four-pages main > [data-chapter] { scroll-margin-top: 104px; }
.wc-four-pages .wc-chapter {
  min-height: calc(100svh - 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wc-four-pages .wc-chapter > .wc-hanging-frame { flex: none; }
.wc-four-pages .wc-chapter .wc-hanging-panel { padding: 30px 32px; }

.wc-four-pages .wc-hero[data-chapter='1'] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - 66px);
}
.wc-four-pages .wc-hero .wc-hero-grid {
  flex: 1;
  align-content: center;
  padding-top: 20px;
  gap: 44px;
}
.wc-four-pages .wc-hero .hero-body { padding: 44px 0 30px; }
.wc-four-pages .wc-hero .wc-armory { align-self: center; margin-bottom: 0; }
.wc-four-pages .wc-hero .wc-community {
  position: static;
  margin: 0 20px 18px;
  padding: 0;
}
.wc-four-pages .wc-hero .wc-resources { flex: none; width: 100%; margin-bottom: 0; }
.wc-four-pages .wc-hero .wc-resources .stats { margin-top: 0; }
.wc-four-pages .wc-hero .wc-resources .stats li { padding-block: 18px; }

.wc-four-pages .wc-chapter-heading { margin-bottom: 22px; text-align: center; }
.wc-four-pages .wc-chapter-heading h2 { margin-bottom: 12px; font-size: clamp(31px, 3.1vw, 40px); }
.wc-four-pages .wc-chapter-heading p {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.5;
}

.wc-four-pages .wc-packed-section {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}
.wc-four-pages .wc-packed-section > .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.wc-four-pages .wc-packed-section > .wrap::before { display: none; }
.wc-four-pages .wc-packed-section h2 { margin-bottom: 14px; font-size: 28px; }
.wc-four-pages .wc-packed-section .sec-head { margin-bottom: 14px; }
.wc-four-pages .wc-packed-section .sec-head h2 { margin-bottom: 10px; }
.wc-four-pages .wc-packed-section .sec-head p { font-size: 16px; line-height: 1.45; }

.wc-four-pages .wc-explore-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 28px;
  margin-bottom: 22px;
}
.wc-four-pages .wc-explore-grid > * { min-width: 0; }
.wc-four-pages .wc-explore-grid .finder { gap: 12px; }
.wc-four-pages .wc-explore-grid .finder .sec-head { margin: 0; gap: 10px; }
.wc-four-pages .wc-explore-grid .sec-head .more { font-size: 15px; }
.wc-four-pages .wc-explore-grid .search.lg input { min-height: 46px; padding-block: 8px; font-size: 16px; }
.wc-four-pages .wc-explore-grid .chips { gap: 6px; }
.wc-four-pages .wc-explore-grid .chip { min-height: 30px; padding: 5px 9px; font-size: 14px; }
.wc-four-pages .wc-explore-grid .chip small { font-size: 13px; }
.wc-four-pages .wc-explore-grid .finder-results { grid-template-columns: 1fr; gap: 8px; }
.wc-four-pages .wc-explore-grid .finder-results:empty { display: none; }
.wc-four-pages .wc-explore-grid .finder-row { padding: 8px; }
.wc-four-pages .wc-explore-grid .finder-row img { width: 70px; }
.wc-four-pages .wc-explore-grid .show-tabs { gap: 4px; margin-bottom: 10px; }
.wc-four-pages .wc-explore-grid .show-tab { min-height: 32px; padding: 4px 8px; font-size: 14px; }
.wc-four-pages .wc-explore-grid .show-panel .win {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 310px;
  background: #060a0c;
}
.wc-four-pages .wc-explore-grid .show-panel :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
}
.wc-four-pages .wc-explore-grid .show-panel figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; }

.wc-four-pages .wc-feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0;
}
.wc-four-pages .wc-feature-highlights .tile {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  min-height: 210px;
  padding: 24px 22px;
}
.wc-four-pages .wc-feature-highlights .tile h3 { margin-bottom: 14px; font-size: 25px; }
.wc-four-pages .wc-feature-highlights .tile p { font-size: 17px; line-height: 1.5; }
.wc-four-pages .wc-feature-highlights .tile .art { margin-top: 18px; padding-top: 0; }
.wc-four-pages .wc-feature-highlights .tile .art img { max-width: 100%; }

.wc-four-pages .wc-packed-details {
  min-width: 0;
  margin-top: 10px;
  border-top: 1px solid #8d79384d;
}
.wc-four-pages .wc-packed-details > summary {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 34px 12px 4px;
  color: #e9d180;
  font: 400 18px/1.4 var(--display);
  list-style: none;
  cursor: pointer;
}
.wc-four-pages .wc-packed-details > summary::-webkit-details-marker { display: none; }
.wc-four-pages .wc-packed-details > summary::after {
  content: '+';
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  color: #fcd312;
  font: 24px/1 Georgia, serif;
}
.wc-four-pages .wc-packed-details[open] > summary::after { content: '−'; }
.wc-four-pages .wc-packed-details > summary:hover { color: #fff0b2; }
.wc-four-pages .wc-packed-details > summary:focus-visible { outline: 2px solid #fcd312; outline-offset: 3px; }
.wc-four-pages .wc-packed-details[open] { padding-bottom: 18px; }
.wc-four-pages .wc-packed-details > :not(summary) { margin-top: 18px; }
.wc-four-pages .wc-packed-details .wc-packed-section + .wc-packed-section { margin-top: 30px; }
.wc-four-pages .wc-packed-details > .wc-packed-section > .wrap > h2:first-child,
.wc-four-pages .wc-packed-details > .wc-packed-section > .wrap > .sec-head > div > h2 { display: none; }
.wc-four-pages .wc-packed-details .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wc-four-pages .wc-packed-details .bento .tile { grid-column: auto; grid-row: auto; min-height: 0; }
.wc-four-pages .wc-packed-details .bento .tile.full { grid-column: 1 / -1; }
.wc-four-pages .wc-packed-details .htiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.wc-four-pages #get-started .final-box {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 36px;
  padding: 8px 0 18px;
}
.wc-four-pages #get-started .final-box h2 { margin-bottom: 12px; text-align: left; font-size: 38px; }
.wc-four-pages #get-started .final-box .lead { max-width: 43ch; margin-inline: 0; text-align: left; font-size: 18px; }
.wc-four-pages #get-started .final-box .muted { margin-top: 14px; font-size: 15px; }
.wc-four-pages #get-started .final-art { width: 100%; max-width: 290px; gap: 8px; transform: none; }
.wc-four-pages #get-started .final-art img { border-radius: 0; }
.wc-four-pages #get-started .final-art img:nth-child(even) { transform: translateY(10px); }
.wc-four-pages #get-started .links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 8px 0 22px; }
.wc-four-pages #get-started .link-card { gap: 12px; padding: 14px 16px; }
.wc-four-pages #get-started .link-card span { font-size: 14px; }
.wc-four-pages #get-started .link-card b { font-size: 17px; }

@media (min-width: 861px) and (max-width: 1100px) {
  .wc-four-pages .wc-hero .wc-hero-grid { gap: 24px; }
  .wc-four-pages .wc-explore-grid { gap: 20px; }
  .wc-four-pages .wc-explore-grid .show-panel .win { height: 270px; }
  .wc-four-pages .wc-explore-grid .show-panel :is(img, video) { max-height: 270px; }
  .wc-four-pages .wc-feature-highlights { gap: 15px; }
  .wc-four-pages .wc-feature-highlights .tile { padding: 20px 17px; }
}

@media (max-width: 860px) {
  .wc-four-pages .wc-chapter { min-height: calc(100svh - 86px); }
  .wc-four-pages .wc-chapter .wc-hanging-panel { padding: 28px 24px; }
  .wc-four-pages .wc-hero .wc-hero-grid { flex: none; gap: 18px; padding-top: 12px; }
  .wc-four-pages .wc-hero .hero-body { padding-block: 36px 20px; }
  .wc-four-pages .wc-hero .wc-armory { margin-bottom: 10px; }
  .wc-four-pages .wc-hero .wc-community { margin-top: 8px; }
  .wc-four-pages .wc-explore-grid { grid-template-columns: 1fr; gap: 30px; }
  .wc-four-pages .wc-explore-grid .show-panel .win { height: auto; min-height: 190px; max-height: 310px; }
  .wc-four-pages .wc-explore-grid .show-panel :is(img, video) { height: auto; max-height: 310px; }
  .wc-four-pages .wc-explore-grid .finder-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-four-pages .wc-feature-highlights { grid-template-columns: 1fr; gap: 16px; }
  .wc-four-pages .wc-feature-highlights .tile { min-height: 0; }
  .wc-four-pages .wc-packed-details .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-four-pages .wc-packed-details .htiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wc-four-pages #get-started .final-box { grid-template-columns: 1fr; gap: 0; }
  .wc-four-pages #get-started .final-art { display: none; }
}

@media (max-width: 540px) {
  .wc-four-pages .wc-chapter .wc-hanging-panel { padding: 26px 19px; }
  .wc-four-pages .wc-chapter-heading h2 { font-size: 32px; }
  .wc-four-pages .wc-chapter-heading p { font-size: 16px; }
  .wc-four-pages .wc-hero .wc-resources .stats li { padding: 15px 10px; }
  .wc-four-pages .wc-explore-grid .finder-results { grid-template-columns: 1fr; }
  .wc-four-pages .wc-explore-grid .show-tab { padding-inline: 7px; }
  .wc-four-pages .wc-explore-grid .show-panel .win { min-height: 150px; }
  .wc-four-pages .wc-feature-highlights .tile { padding: 22px 18px; }
  .wc-four-pages .wc-packed-details > summary { font-size: 17px; }
  .wc-four-pages .wc-packed-details .bento { grid-template-columns: 1fr; }
  .wc-four-pages .wc-packed-details .htiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-four-pages #get-started .final-box h2 { font-size: 33px; }
  .wc-four-pages #get-started .final-box .lead { font-size: 17px; }
  .wc-four-pages #get-started .links { grid-template-columns: 1fr; gap: 10px; }
  .wc-four-pages #get-started .link-card { padding: 13px; }
}
