.home-guides {
  width: 100%;
  max-width: 948px;
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid #d8e7dd;
  border-left: 3px solid #86bf94;
  border-radius: 8px;
  background: #f5faf7;
  box-shadow: 0 3px 12px rgba(23, 50, 77, 0.04);
  text-align: left;
}
.home-guides .home-guides-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.home-guides .home-guides-heading h2 {
  margin: 0;
  color: #17324d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.home-guides .home-guides-heading > a {
  flex-shrink: 0;
  color: #258a43;
  font-size: 12px;
  font-weight: 600;
}
.home-guides .home-guides-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}
.home-guides .home-guides-links > a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 43px;
  padding: 7px 9px;
  border: 1px solid #e3ebe6;
  border-radius: 5px;
  background: #fff;
  color: #294957;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.home-guides .home-guides-links > a:hover {
  border-color: #a9d4b2;
  background: #f0f9f2;
}
.home-guides .home-guides-links .home-guide-number {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 5px;
  border: 1px solid #d8eadc;
  background: #eaf5ed;
  color: #318843;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.home-guides .home-guides-links .home-guide-arrow {
  margin-left: auto;
  color: #438853;
  font-size: 16px;
}

.guides-page {
  padding-top: 10px;
  padding-bottom: 0;
  color: #546773;
}
.guides-page .guides-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 12px;
}
.guides-page .guide-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #7b8992;
}
.guides-page .guide-breadcrumbs a {
  color: #258a78;
}
.guides-page .guides-search-link {
  flex-shrink: 0;
  color: #258a43;
  font-weight: 600;
}
.guides-page .guides-kicker, .guides-page .guide-card-category {
  display: block;
  color: #299340;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.guides-page .guides-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.guides-page .guides-hero img {
  flex: 0 0 48px;
  margin-top: 3px;
}
.guides-page .guides-hero h1 {
  margin: 3px 0 10px;
  color: #17324d;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}
.guides-page .guides-hero p {
  max-width: 700px;
  margin: 0;
  color: #71808a;
  font-size: 14px;
  line-height: 1.7;
}
.guides-page .guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.guides-page .guide-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 21px 23px;
  border: 1px solid #dfe8ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23, 50, 77, 0.04);
  color: #546773;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guides-page .guide-card:hover {
  border-color: #a9d4b2;
  box-shadow: 0 5px 18px rgba(23, 50, 77, 0.08);
  color: #546773;
}
.guides-page .guide-card h2 {
  margin: 10px 0 10px;
  color: #17324d;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.guides-page .guide-card p {
  margin: 0 0 18px;
  color: #71808a;
  font-size: 13px;
  line-height: 1.7;
}
.guides-page .guide-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: #7b8992;
  font-size: 11px;
}
.guides-page .guide-card-action {
  color: #258a43;
  font-size: 12px;
  font-weight: 600;
}
.guides-page .guides-index-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid #54a95e;
  border-radius: 4px;
  background: #f2f9f3;
  font-size: 12px;
}
.guides-page .guides-index-note strong {
  color: #2d6534;
}
.guides-page .guides-index-note a {
  color: #258a43;
}
.guides-page .guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  align-items: start;
  gap: 20px;
}
.guides-page .guide-article {
  min-width: 0;
  padding: 28px 30px;
  border: 1px solid #dfe8ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23, 50, 77, 0.04);
  font-size: 15px;
  line-height: 1.8;
}
.guides-page .guide-article a {
  color: #218a78;
  text-decoration: underline;
  text-decoration-color: #bfded5;
  text-underline-offset: 3px;
}
.guides-page .guide-article h1 {
  margin: 6px 0 12px;
  color: #17324d;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.35;
}
.guides-page .guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  color: #7b8992;
  font-size: 11px;
}
.guides-page .guide-intro {
  margin: 20px 0 0;
  color: #61717c;
  font-size: 15px;
}
.guides-page .guide-section {
  margin-top: 26px;
}
.guides-page .guide-section h2 {
  margin: 0 0 11px;
  color: #263746;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  scroll-margin-top: 20px;
}
.guides-page .guide-section p {
  margin: 0 0 13px;
}
.guides-page .guide-section p:last-child {
  margin-bottom: 0;
}
.guides-page .guide-section code {
  color: #2d6534;
  overflow-wrap: anywhere;
}
.guides-page .guide-takeaway {
  margin-top: 26px;
  padding: 14px 16px;
  border-left: 3px solid #54a95e;
  border-radius: 4px;
  background: #f2f9f3;
  color: #58715c;
  font-size: 13px;
}
.guides-page .guide-takeaway strong {
  color: #2d6534;
}
.guides-page .guide-takeaway p {
  margin: 3px 0 0;
}
.guides-page .guide-sources {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #edf1f3;
}
.guides-page .guide-sources h2 {
  margin: 0 0 10px;
  color: #61717c;
  font-size: 13px;
  font-weight: 600;
}
.guides-page .guide-sources ul {
  margin: 0;
  padding-left: 19px;
  font-size: 12px;
  line-height: 1.8;
}
.guides-page .guide-sidebar {
  display: grid;
  gap: 16px;
}
.guides-page .guide-contents, .guides-page .guide-related {
  padding: 18px;
  border: 1px solid #dfe8ed;
  border-radius: 8px;
  background: #fff;
}
.guides-page .guide-contents h2, .guides-page .guide-related h2 {
  margin: 0 0 14px;
  color: #263746;
  font-size: 13px;
  font-weight: 600;
}
.guides-page .guide-contents ol {
  margin: 0;
  padding-left: 19px;
  color: #86a091;
  font-size: 12px;
}
.guides-page .guide-contents ol li {
  padding-left: 3px;
}
.guides-page .guide-contents ol li:not(:last-child) {
  margin-bottom: 12px;
}
.guides-page .guide-contents ol a {
  color: #546773;
  line-height: 1.6;
}
.guides-page .guide-related > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #edf1f3;
  color: #546773;
  font-size: 12px;
}
.guides-page .guide-related > a span {
  color: #438853;
}
.guides-page .guide-related > a.guide-all-link {
  padding-bottom: 0;
  color: #258a43;
  font-weight: 600;
}
.guides-page .guide-mobile-contents {
  display: none;
}
.guides-page a:focus-visible, .guides-page summary:focus-visible {
  outline: 2px solid #55a968;
  outline-offset: 3px;
  border-radius: 3px;
}

.home-guides a:focus-visible {
  outline: 2px solid #55a968;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .home-guides {
    max-width: 468px;
  }

  .guides-page .guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .guides-page .guide-sidebar .guide-contents {
    display: none;
  }
  .guides-page .guide-mobile-contents {
    display: block;
    margin: 20px 0 0;
    padding: 11px 13px;
    border: 1px solid #dfe8ed;
    border-radius: 5px;
    background: #f9fbfc;
    font-size: 12px;
  }
  .guides-page .guide-mobile-contents summary {
    color: #334e5a;
    font-weight: 600;
    cursor: pointer;
  }
  .guides-page .guide-mobile-contents ol {
    margin: 12px 0 0;
    padding-left: 19px;
  }
  .guides-page .guide-mobile-contents li {
    margin-top: 7px;
  }
}
@media (max-width: 600px) {
  .guides-page .guides-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .guides-page .guides-hero h1 {
    font-size: 24px;
  }
  .guides-page .guide-article {
    padding: 21px 19px;
    font-size: 14px;
  }
  .guides-page .guide-article h1 {
    font-size: 25px;
  }
  .guides-page .guide-intro {
    font-size: 14px;
  }
  .guides-page .guide-section h2 {
    font-size: 18px;
  }
}
@media (max-width: 420px) {
  .home-guides {
    padding: 10px;
  }
  .home-guides .home-guides-heading {
    gap: 7px;
  }
  .home-guides .home-guides-heading h2 {
    font-size: 12px;
  }
  .home-guides .home-guides-heading > a {
    font-size: 11px;
  }
  .home-guides .home-guides-links {
    gap: 6px;
  }
  .home-guides .home-guides-links > a {
    padding: 7px;
    gap: 6px;
    font-size: 13px;
    line-height: 1.35;
  }
  .home-guides .home-guides-links .home-guide-number {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }
  .home-guides .home-guides-links .home-guide-arrow {
    display: none;
  }

  .guides-page .guides-topbar {
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 17px;
    font-size: 11px;
  }
  .guides-page .guides-hero {
    gap: 10px;
  }
  .guides-page .guides-hero img {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
  .guides-page .guides-hero h1 {
    font-size: 22px;
  }
  .guides-page .guides-hero p {
    font-size: 13px;
  }
  .guides-page .guide-article {
    padding: 19px 16px;
  }
  .guides-page .guide-card {
    padding: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-guides .home-guides-links > a, .guides-page .guide-card {
    transition: none;
  }
}
