.residential-toilet-guide-post .hk-editorial-hero {
  padding-top: 86px;
  padding-bottom: 78px;
}

.residential-toilet-guide-post .hk-editorial-hero h1 {
  max-width: 1080px;
  font-size: 4.6rem;
  line-height: 1.02;
}

.residential-toilet-guide-post .hk-article-shell {
  grid-template-columns: 210px minmax(0, 850px);
}

.residential-toilet-guide-post .toilet-feature-mark {
  color: var(--hk-teal);
  font-size: 11px;
  font-weight: 900;
}

.residential-toilet-guide-post .toilet-lineup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--hk-wide), calc(100% - 48px));
  margin: 38px auto 0;
  overflow: hidden;
  background: var(--hk-line);
  border: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-lineup figure {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  margin: 0;
  background: var(--hk-white);
}

.residential-toilet-guide-post .toilet-lineup img {
  width: 100%;
  height: 100%;
  padding: 22px;
  object-fit: contain;
  background: #edf1f3;
}

.residential-toilet-guide-post .toilet-lineup figcaption {
  padding: 13px 16px;
  color: #46545e;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.residential-toilet-guide-post .toilet-shape-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.residential-toilet-guide-post .toilet-shape-grid > section {
  display: grid;
  align-content: start;
  min-height: 390px;
  padding: 30px;
  background: var(--hk-white);
  border: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-shape {
  position: relative;
  width: 120px;
  height: 142px;
  margin: 0 auto 28px;
  background: #f8fafb;
  border: 12px solid #ced8de;
  box-shadow: inset 0 0 0 7px var(--hk-white);
}

.residential-toilet-guide-post .toilet-shape::before {
  position: absolute;
  top: -28px;
  left: 50%;
  width: 92px;
  height: 34px;
  background: #dce3e7;
  border-radius: 5px 5px 2px 2px;
  content: "";
  transform: translateX(-50%);
}

.residential-toilet-guide-post .toilet-shape--round {
  height: 120px;
  border-radius: 46% 46% 50% 50%;
}

.residential-toilet-guide-post .toilet-shape--elongated {
  border-radius: 44% 44% 52% 52%;
}

.residential-toilet-guide-post .toilet-shape-grid h3 {
  font-size: 1.4rem;
}

.residential-toilet-guide-post .toilet-shape-grid p {
  font-size: 14px;
  line-height: 1.55;
}

.residential-toilet-guide-post .toilet-shape-grid strong,
.residential-toilet-guide-post .toilet-shape-grid span {
  color: #4c5a64;
  font-size: 12px;
  line-height: 1.5;
}

.residential-toilet-guide-post .toilet-rating-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  background: var(--hk-line);
  border: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-rating-key > section {
  padding: 25px;
  background: var(--hk-white);
}

.residential-toilet-guide-post .toilet-rating-key > section > span,
.residential-toilet-guide-post .toilet-pick-grid > section > span {
  color: var(--hk-teal);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.residential-toilet-guide-post .toilet-rating-key h3 {
  margin-top: 11px;
  font-size: 1.15rem;
}

.residential-toilet-guide-post .toilet-rating-key p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.55;
}

.residential-toilet-guide-post .toilet-considerations {
  display: grid;
  margin-top: 34px;
  border-top: 2px solid var(--hk-ink);
}

.residential-toilet-guide-post .toilet-consideration {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  scroll-margin-top: 24px;
  border-bottom: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-consideration__number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--hk-teal-dark);
  background: var(--hk-teal-soft);
  font-size: 11px;
  font-weight: 900;
}

.residential-toilet-guide-post .toilet-consideration h3 {
  margin: 1px 0 10px;
  font-size: 1.6rem;
}

.residential-toilet-guide-post .toilet-consideration p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
}

.residential-toilet-guide-post .toilet-score-explainer {
  padding: 15px 17px;
  color: #4b5b65;
  background: #f1f5f6;
  border-left: 3px solid var(--hk-teal);
}

.residential-toilet-guide-post .toilet-shape-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: var(--hk-line);
  border: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-shape-summary > div {
  display: grid;
  gap: 7px;
  padding: 18px;
  background: var(--hk-white);
}

.residential-toilet-guide-post .toilet-shape-summary strong {
  color: var(--hk-ink);
  font-size: 13px;
}

.residential-toilet-guide-post .toilet-shape-summary span {
  color: #5b6871;
  font-size: 12px;
  line-height: 1.5;
}

.residential-toilet-guide-post .toilet-comparison {
  margin-top: 26px;
  overflow-x: auto;
  border-top: 2px solid var(--hk-ink);
  scrollbar-color: #8997a1 #edf1f3;
}

.residential-toilet-guide-post .toilet-comparison:focus-visible {
  outline: 3px solid var(--hk-teal);
  outline-offset: 4px;
}

.residential-toilet-guide-post .toilet-comparison table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.4;
}

.residential-toilet-guide-post .toilet-comparison th,
.residential-toilet-guide-post .toilet-comparison td {
  padding: 15px 12px;
  color: #53616c;
  border-bottom: 1px solid var(--hk-line);
  text-align: left;
  vertical-align: top;
}

.residential-toilet-guide-post .toilet-comparison thead th {
  color: #64717a;
  background: #eef2f4;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.residential-toilet-guide-post .toilet-comparison tbody th {
  min-width: 170px;
  color: var(--hk-ink);
  font-size: 13px;
}

.residential-toilet-guide-post .toilet-comparison tbody th a {
  display: inline-block;
  color: inherit;
  font-weight: 850;
  text-decoration-color: var(--hk-teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.residential-toilet-guide-post .toilet-comparison tbody th a:hover {
  color: var(--hk-teal-dark);
}

.residential-toilet-guide-post .toilet-comparison td:nth-child(6) {
  min-width: 150px;
}

.residential-toilet-guide-post .toilet-comparison small {
  display: block;
  margin-top: 3px;
  color: #7b8790;
  font-size: 9px;
}

.residential-toilet-guide-post .toilet-score {
  display: inline-flex;
  min-width: 40px;
  padding: 4px 8px;
  justify-content: center;
  color: #205d51;
  background: var(--hk-teal-soft);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
}

.residential-toilet-guide-post .toilet-comparison-note {
  margin: 14px 0 0;
  color: #727f88;
  font-size: 11px;
  line-height: 1.55;
}

.residential-toilet-guide-post .toilet-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 24px;
  background: var(--hk-line);
  border: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-pick-grid > section {
  min-height: 250px;
  padding: 28px;
  background: var(--hk-white);
}

.residential-toilet-guide-post .toilet-pick-grid > section:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: auto;
}

.residential-toilet-guide-post .toilet-pick-grid h3 {
  margin-top: 10px;
}

.residential-toilet-guide-post .toilet-pick-grid p,
.residential-toilet-guide-post .toilet-pick-grid a {
  font-size: 13px;
  line-height: 1.55;
}

.residential-toilet-guide-post .toilet-pick-grid a,
.residential-toilet-guide-post .toilet-model-list a {
  color: var(--hk-orange-dark);
  font-weight: 850;
  text-underline-offset: 4px;
}

.residential-toilet-guide-post .toilet-model-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 2px solid var(--hk-ink);
}

.residential-toilet-guide-post .toilet-model-list > section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  scroll-margin-top: 24px;
  border-bottom: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-model-list__number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--hk-white);
  background: var(--hk-night-soft);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.residential-toilet-guide-post .toilet-model-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.residential-toilet-guide-post .toilet-model-media {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #f1f4f5;
  border: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-model-media img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 16px;
  object-fit: contain;
}

.residential-toilet-guide-post .toilet-model-copy {
  min-width: 0;
}

.residential-toilet-guide-post .toilet-model-list h3 {
  margin: 5px 0 12px;
  font-size: 1.6rem;
}

.residential-toilet-guide-post .toilet-model-list p,
.residential-toilet-guide-post .toilet-model-list a {
  font-size: 14px;
  line-height: 1.6;
}

.residential-toilet-guide-post .toilet-model-list p:nth-of-type(3) {
  padding: 12px 14px;
  color: #5c453c;
  background: #fff7f2;
  border-left: 3px solid #ff8a66;
}

.residential-toilet-guide-post .toilet-model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
}

.residential-toilet-guide-post .toilet-model-actions a:first-child {
  display: inline-flex;
  min-height: 44px;
  padding: 11px 16px;
  align-items: center;
  color: var(--hk-white);
  background: var(--hk-orange-dark);
  text-decoration: none;
}

.residential-toilet-guide-post .toilet-model-actions a:first-child:hover {
  background: var(--hk-ink);
}

.residential-toilet-guide-post .toilet-model-actions a:last-child {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.residential-toilet-guide-post .toilet-measure-grid > section:last-child {
  grid-column: 1 / -1;
  min-height: auto;
}

.residential-toilet-guide-post .toilet-homekeepr-panel {
  margin-top: 0;
}

.residential-toilet-guide-post .toilet-faq {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  background: var(--hk-line);
  border: 1px solid var(--hk-line);
}

.residential-toilet-guide-post .toilet-faq details {
  padding: 0 22px;
  background: var(--hk-white);
}

.residential-toilet-guide-post .toilet-faq summary {
  padding: 19px 34px 19px 0;
  color: var(--hk-ink);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.residential-toilet-guide-post .toilet-faq p {
  padding: 0 0 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .residential-toilet-guide-post .hk-editorial-hero h1 {
    font-size: 3.8rem;
  }

  .residential-toilet-guide-post .hk-article-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .residential-toilet-guide-post .toilet-lineup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .residential-toilet-guide-post .toilet-lineup figure {
    grid-template-rows: minmax(260px, 1fr) auto;
  }
}

@media (max-width: 680px) {
  .residential-toilet-guide-post .hk-editorial-hero {
    padding-top: 60px;
    padding-bottom: 56px;
  }

  .residential-toilet-guide-post .hk-editorial-hero h1 {
    font-size: 2.7rem;
  }

  .residential-toilet-guide-post .toilet-lineup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 36px);
    margin-top: 24px;
  }

  .residential-toilet-guide-post .toilet-lineup figure {
    grid-template-rows: minmax(170px, 1fr) auto;
  }

  .residential-toilet-guide-post .toilet-lineup img {
    padding: 12px;
  }

  .residential-toilet-guide-post .toilet-lineup figcaption {
    min-height: 50px;
    padding: 10px 8px;
    font-size: 9px;
  }

  .residential-toilet-guide-post .toilet-shape-grid,
  .residential-toilet-guide-post .toilet-rating-key,
  .residential-toilet-guide-post .toilet-shape-summary,
  .residential-toilet-guide-post .toilet-pick-grid {
    grid-template-columns: 1fr;
  }

  .residential-toilet-guide-post .toilet-consideration {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 25px 0;
  }

  .residential-toilet-guide-post .toilet-consideration__number {
    width: 40px;
    height: 40px;
  }

  .residential-toilet-guide-post .toilet-model-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .residential-toilet-guide-post .toilet-model-media {
    width: min(100%, 320px);
  }

  .residential-toilet-guide-post .toilet-consideration h3 {
    font-size: 1.35rem;
  }

  .residential-toilet-guide-post .toilet-consideration p {
    font-size: 14px;
  }

  .residential-toilet-guide-post .toilet-shape-grid > section {
    min-height: 0;
  }

  .residential-toilet-guide-post .toilet-pick-grid > section:last-child:nth-child(odd),
  .residential-toilet-guide-post .toilet-measure-grid > section:last-child {
    grid-column: auto;
  }

  .residential-toilet-guide-post .toilet-comparison {
    margin-right: -18px;
    padding: 0 18px 8px;
  }

  .residential-toilet-guide-post .toilet-model-list > section {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 25px 0;
  }

  .residential-toilet-guide-post .toilet-model-list__number {
    width: 42px;
    height: 42px;
  }

  .residential-toilet-guide-post .toilet-model-list h3 {
    font-size: 1.35rem;
  }

  .residential-toilet-guide-post .toilet-model-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .residential-toilet-guide-post .toilet-model-actions a {
    justify-content: center;
  }
}

@media print {
  .residential-toilet-guide-post .toilet-lineup {
    display: none;
  }

  .residential-toilet-guide-post .toilet-comparison {
    overflow: visible;
  }

  .residential-toilet-guide-post .toilet-comparison table {
    min-width: 0;
    font-size: 9px;
  }
}
