/* Used exclusively by /guias/ and its articles. */
.guides-main {
  background: #f5f9fc;
  color: #40546a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.guides-shell { max-width: 1140px; }
.guides-main a { color: #005c9c; text-underline-offset: .2em; }
.guides-main a:hover { color: #004674; }
.guides-main :is(a, [tabindex]):focus-visible {
  outline: 3px solid #005c9c;
  outline-offset: 4px;
  border-radius: 4px;
}
.guides-main :is(h1, h2, a, [tabindex]) {
  scroll-margin-top: 110px;
  scroll-margin-bottom: 100px;
}
.guides-breadcrumb { margin-bottom: clamp(1.75rem, 4vw, 3rem); font-size: .9375rem; }
.guides-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.guides-breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.guides-breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: #60758a; }
.guides-main h1 {
  color: #102237;
  font-size: clamp(2rem, 1.45rem + 1.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 1.25rem;
  overflow-wrap: break-word;
}
.guides-hub-intro { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.guides-hub-intro p { font-size: 1.125rem; line-height: 1.7; margin: 0; }
.guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; }
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid #dbe6ef;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(16, 34, 55, .05);
}
.guide-card h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 750; margin: 0 0 1rem; }
.guide-card h2 a { color: #102237; text-decoration: none; }
.guide-card h2 a::after { position: absolute; content: ""; inset: 0; border-radius: 20px; }
.guide-card:hover { border-color: #005c9c; }
.guide-card:focus-within { outline: 3px solid #005c9c; outline-offset: 4px; }
.guide-card p { font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; }
.guide-card-action { color: #005c9c; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; margin-top: auto; }
.guide-card-action span { margin-left: .4rem; }
.guide-article { max-width: 820px; margin: 0 auto; }
.guide-intro { margin-bottom: 2rem; }
.guide-author { font-size: .9375rem; margin: 0; color: #52677c; }
.guide-body {
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.75;
  overflow-wrap: break-word;
}
.guide-body p { margin: 0 0 1.25rem; }
.guide-body h2 { color: #102237; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); font-weight: 750; line-height: 1.25; margin: 2.75rem 0 1.25rem; }
.guide-body strong { color: #243e56; }
.guide-body ul { padding-left: 1.4rem; margin: 0 0 1.5rem; }
.guide-body li + li { margin-top: .55rem; }
.guide-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #d2dfeb;
  border-radius: 16px;
  background: #fff;
}
.guide-table-wrap table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 1rem; line-height: 1.55; }
.guide-table-wrap th, .guide-table-wrap td { padding: 1rem; vertical-align: top; border-bottom: 1px solid #dbe6ef; }
.guide-table-wrap thead th { color: #102237; background: #eaf2f8; font-weight: 700; }
.guide-table-wrap tbody th { color: #243e56; font-weight: 650; }
.guide-table-wrap tr:last-child :is(th, td) { border-bottom: 0; }
.guide-table-wrap thead tr:last-child th { border-bottom: 1px solid #dbe6ef; }
.guide-body .guide-conclusion { padding: 1.5rem; margin-top: 1.5rem; background: #fff; border: 1px solid #dbe6ef; border-radius: 20px; }
.guide-body .guide-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 52px;
  padding: .875rem 1.25rem;
  color: #fff;
  background: #16833f;
  border-radius: 999px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.guide-body .guide-quote:hover { background: #116b33; color: #fff; }
/* Only on guide pages, keep the existing back-to-top out of the reading area. */
@media (max-width: 991.98px) {
  .guides-page .site-quote-bar { padding-right: 78px; }
  .guides-page.has-quote-bar .back-to-top {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 1041;
  }
}
