/* Layout after theme.css. The WordPress dump assumes an overlay header
   and a 3-column metabar; we do not. This file is the last word on spacing. */

:root {
  --site-content: 46rem;
  --site-space: 1.15rem;
}

.cs-header,
.cs-header-before + .cs-header,
.cs-site-primary,
.cs-display-header-overlay .cs-site-primary {
  margin-top: 0 !important;
}

.cs-header {
  border-bottom: 1px solid #ececf3;
}

.cs-header__inner-desktop,
.cs-header__inner-mobile {
  min-height: 68px !important;
  justify-content: flex-start !important;
  gap: 28px;
}

.cs-header__col,
.cs-header__col.cs-col-left,
.cs-header__col.cs-col-right {
  flex: 0 1 auto !important;
  padding: 0 !important;
}

.cs-header__col.cs-col-right {
  margin-left: 0;
}

.cs-header__logo img,
.cs-header__inner-desktop .cs-header__logo img {
  max-height: 40px !important;
  width: auto;
  padding-top: 0 !important;
}

.cs-header__nav:not(:first-child) {
  margin-left: 0;
}

.cs-header__nav-inner {
  flex-wrap: wrap;
  gap: 0.35rem 1.05rem !important;
}

.cs-header__nav-inner > li > a {
  white-space: nowrap;
}

.cs-site-content,
.home .cs-site-content,
.archive .cs-site-content,
.single .cs-site-content,
.page .cs-site-content,
.cs-site-content:has(.cs-breadcrumbs) {
  margin-top: 0 !important;
  margin-bottom: 4rem;
  padding-top: 0.55rem;
}

.single .cs-site-content,
.single .cs-site-content:has(.cs-breadcrumbs) {
  padding-top: 1.15rem;
}

.cs-breadcrumbs,
.cs-single-header-type-standard .cs-breadcrumbs {
  margin: 0 0 0.85rem !important;
  text-align: left !important;
  line-height: 1.45;
}

.single .cs-breadcrumbs {
  margin: 0 0 1.5rem !important;
}

.single .cs-main-content,
.tool-article .cs-main-content {
  margin-top: 1.75rem !important;
  row-gap: 0 !important;
}

.home .cs-main-content {
  margin-top: 0 !important;
  row-gap: 0 !important;
}

.single .cs-entry__wrap,
.tool-article .cs-entry__wrap,
.cs-posts-area__full .cs-entry__wrap {
  margin-top: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0;
  background: transparent;
}

.cs-entry__header-standard,
.cs-entry__header-primary {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}

.cs-entry__header-standard .cs-entry__content,
.cs-entry__header-primary .cs-entry__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  height: auto !important;
  padding: 0 !important;
  width: 100%;
}

.cs-entry__header-standard .cs-entry__post-meta,
.cs-entry__header-primary .cs-entry__post-meta,
.cs-entry__header-standard .cs-entry__post-meta .post-categories,
.cs-entry__header-primary .cs-entry__post-meta .post-categories {
  justify-content: flex-start !important;
}

.cs-entry__header-standard .cs-entry__post-meta,
.cs-entry__header-primary .cs-entry__post-meta {
  width: 100%;
  margin: 0 !important;
}

.single .cs-entry__header-standard .cs-entry__post-meta:first-child {
  margin: 0 0 0.25rem !important;
}

.cs-entry__header-standard .cs-entry__post-meta:nth-child(2),
.cs-entry__header-primary .cs-entry__post-meta:nth-child(2) {
  margin-top: 0 !important;
}

.cs-entry__header-standard .cs-entry-title-and-subtitle,
.cs-entry__header-primary .cs-entry-title-and-subtitle {
  width: 100%;
  margin: 0.65rem 0 !important;
  padding: 0 !important;
}

.single .cs-entry__header-standard .cs-entry-title-and-subtitle {
  margin: 1.15rem 0 1.15rem !important;
}

.cs-entry__header-standard .cs-entry__title,
.cs-entry__header-primary .cs-entry__title,
.single .cs-entry__header-standard .cs-entry__title,
.single .cs-entry__header-standard .cs-entry__title:not(:first-child) {
  margin: 0 !important;
  max-width: none !important;
  text-align: left !important;
}

.cs-entry__header-standard .cs-entry__post-meta:last-child {
  margin: 0 0 1rem !important;
}

.single .cs-entry__header-standard .cs-entry__post-meta:last-child {
  margin: 0 0 1.75rem !important;
}

.cs-entry__header-standard .cs-entry__thumbnail,
.cs-entry__header-standard .cs-entry__inner.cs-entry__thumbnail {
  width: 100%;
  margin: 0;
}

.single .cs-breadcrumbs,
.single article,
.single .cs-entry__header-standard,
.single .cs-entry__container,
.single .cs-metabar-enabled .cs-entry__container,
.single .cs-metabar-enabled.cs-sidebar-disabled .cs-entry__container,
.page .cs-entry__container {
  max-width: var(--site-content);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.single .cs-entry__container,
.single .cs-metabar-enabled .cs-entry__container,
.single .cs-metabar-enabled.cs-sidebar-disabled .cs-entry__container,
.page .cs-entry__container {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  grid-template-columns: none !important;
}

.cs-entry__metabar {
  display: block !important;
  width: 100%;
  margin: 0 0 1.1rem;
}

.single .cs-entry__metabar {
  margin: 0 0 1.85rem;
}

.cs-entry__metabar-inner,
.cs-metabar-enabled .cs-entry__metabar-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  position: static !important;
  top: auto !important;
}

.reading-label {
  width: 52px;
  height: 52px;
  margin: 0;
}

.cs-entry__metabar .cs-share,
.cs-entry__metabar .cs-share.cs-share {
  flex-direction: row !important;
  margin: 0 !important;
}

.cs-entry__content-wrap,
.single .cs-entry__content-wrap {
  max-width: none !important;
  margin: 0 !important;
  width: 100%;
}

.cs-meta-date,
.cs-meta-updated,
.cs-meta-review {
  flex-wrap: wrap;
}

.entry-content p {
  margin: 0 0 1.05em;
  line-height: 1.75;
}

.single .entry-content p {
  margin: 0 0 1.2em;
}

.entry-content h2,
.entry-content h3 {
  margin: 1.7rem 0 0.7rem;
  line-height: 1.25;
}

.single .entry-content h2,
.single .entry-content h3 {
  margin: 2.55rem 0 0.9rem;
}

.entry-content h2:first-child,
.entry-content h3:first-child {
  margin-top: 0;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.15em;
  padding-left: 1.3em;
}

.entry-content li {
  margin: 0 0 0.45em;
  line-height: 1.65;
}

.entry-content figure,
.entry-content .wp-block-image,
.entry-content img {
  margin: 1.25rem 0;
  max-width: 100%;
}

.single .cs-container,
.single article,
.entry-content {
  overflow-x: clip;
  overflow-wrap: anywhere;
}

.entry-content table {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto !important;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.55rem 0.7rem;
  vertical-align: top;
}

.home-start {
  padding: 0;
}

.home-start__eyebrow {
  margin: 0;
}

.home-start h1 {
  margin: 8px 0 0;
}

.home-start__lead {
  margin: 12px 0 0;
}

.home-start__tasks {
  margin-top: 1.75rem;
  align-items: stretch;
}

.home-start__card {
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch;
}

.home-start__guides {
  margin-top: 0 !important;
}

.home-start__guides > h2,
h2.home-latest {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.home-start__guides > h2:before,
h2.home-latest:before {
  content: "";
  display: block !important;
  height: 48px;
  width: 0;
}

.home-start__guides ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}

.home-start__guides a {
  min-height: 52px;
  align-items: center;
}

.cs-posts-area__main,
.cs-posts-area__home.cs-archive-grid,
.cs-posts-area__archive.cs-archive-grid {
  --cs-posts-area-grid-row-gap: 1.7rem !important;
}

.cs-archive-grid {
  align-items: stretch;
}

.cs-archive-grid .cs-entry,
.cs-archive-grid .cs-entry__outer {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cs-overlay-ratio.cs-ratio-landscape-16-9,
.cs-archive-grid .cs-entry__thumbnail,
.single .cs-entry__header-standard .cs-entry__thumbnail {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
}

.cs-overlay-ratio.cs-ratio-landscape-16-9:before {
  display: none !important;
}

.cs-overlay-ratio.cs-ratio-landscape-16-9 .cs-overlay-background,
.cs-overlay-ratio.cs-ratio-landscape-16-9 .cs-overlay-background img,
.cs-archive-grid .cs-entry__thumbnail img,
.single .cs-entry__header-standard .cs-entry__thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-archive-grid .cs-entry__content {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  flex: 1;
  padding-top: 0.7rem;
}

.cs-archive-grid .cs-entry__title {
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
  font-size: 1.2rem !important;
  line-height: 1.28 !important;
  min-height: calc(1.2rem * 1.28 * 2);
}

.cs-archive-grid .cs-entry__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-archive-grid .cs-entry__excerpt {
  display: block !important;
  margin: 0.35rem 0 0 !important;
  max-width: none;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #5a5a72;
  min-height: calc(0.9rem * 1.5 * 2);
}

.cs-archive-grid .cs-entry__excerpt span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-overlay-post-meta .cs-meta-reading-time {
  display: none !important;
}

.calculator-fields .check-label {
  grid-column: auto;
  align-self: end;
  min-height: 46px;
  margin: 0;
}

.compound-calculator {
  margin: 0 0 1.6rem;
}

.topic-hub {
  margin: 0.35rem 0 2.25rem;
}

.topic-hub__list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  align-items: stretch;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.topic-hub__list > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  list-style: none !important;
  min-height: 0;
}

.topic-hub__list > li:before,
.topic-hub__list > li:after {
  content: none !important;
  display: none !important;
}

.topic-hub__list a {
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
}

.topic-hub__list > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .topic-hub__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .cs-entry__metabar {
    display: block !important;
  }

  .cs-header__col.cs-col-right {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .cs-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .cs-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.2rem;
  }

  .cs-site-content,
  .home .cs-site-content,
  .single .cs-site-content {
    padding-top: 0.75rem;
  }

  .cs-header__logo img {
    max-height: 34px !important;
    max-width: min(220px, 62vw);
  }

  .cs-archive-grid .cs-entry__title,
  .cs-archive-grid .cs-entry__excerpt {
    min-height: 0;
  }
}
