/* Guides & Advice Hub update. Intentionally scoped to guide pages only. */
.guides-update .guide-breadcrumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
}

.guides-update .guide-breadcrumbs ol {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.guides-update .guide-breadcrumbs li + li::before {
  margin-right: 7px;
  color: #778697;
  content: "/";
}

.guides-update .guide-breadcrumbs a {
  color: var(--blue-700);
}

.guides-update .guide-hub-hero .page-hero-inner {
  min-height: 500px;
}

.guides-update .guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guides-update .guide-hub-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guides-update .guide-hub-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.guides-update .guide-hub-card h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.guides-update .guide-hub-card p {
  flex: 1;
}

.guides-update .guide-card-number,
.guides-update .guide-card-meta {
  margin-bottom: 24px;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guides-update .guide-reviewed {
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #5d6d7c;
  font-size: 0.82rem;
}

.guides-update .guide-summary {
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 28px 30px;
  border: 1px solid #cfd9e2;
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.guides-update .guide-summary p {
  margin: 0;
  font-size: 0.9rem;
}

.guides-update .guide-summary strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-950);
}

.guides-update .article-shell {
  max-width: 900px;
}

.guides-update .article-shell h3 {
  margin-top: 34px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.guides-update .article-shell table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.guides-update .guide-table-wrap {
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.guides-update .article-shell th,
.guides-update .article-shell td {
  min-width: 150px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.guides-update .article-shell th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 800;
}

.guides-update .article-shell tbody th {
  background: #eef4f8;
  color: var(--navy-950);
}

.guides-update .article-shell tr:last-child > * {
  border-bottom: 0;
}

.guides-update .article-shell tr > *:last-child {
  border-right: 0;
}

.guides-update .guide-checklist,
.guides-update .guide-diagram,
.guides-update .sample-bill {
  margin: 34px 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #cbd7e1;
  border-radius: var(--radius-md);
  background: #f7fafc;
}

.guides-update .guide-checklist h3,
.guides-update .guide-diagram h3,
.guides-update .sample-bill h3 {
  margin-top: 0;
}

.guides-update .check-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  list-style: none;
}

.guides-update .check-grid li {
  position: relative;
  padding: 12px 12px 12px 42px;
  border-bottom: 1px solid #dce4ea;
}

.guides-update .check-grid li::before {
  width: 20px;
  height: 20px;
  top: 14px;
  left: 8px;
  border: 2px solid var(--blue-700);
  border-radius: 3px;
  background: #fff;
  content: "";
}

.guides-update .sample-bill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guides-update .sample-bill-field {
  padding: 16px;
  border: 1px dashed #91a5b7;
  border-radius: 8px;
  background: #fff;
}

.guides-update .sample-bill-field strong,
.guides-update .sample-bill-field span {
  display: block;
}

.guides-update .sample-bill-field span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.guides-update .flow-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.guides-update .flow-step {
  padding: 18px;
  border: 1px solid #c7d6e1;
  border-radius: 9px;
  background: #fff;
  color: var(--navy-950);
  font-weight: 760;
  text-align: center;
}

.guides-update .guide-photo-grid {
  margin: 34px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guides-update .guide-photo-grid figure {
  margin: 0;
}

.guides-update .guide-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.guides-update .guide-photo-grid figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.guides-update .official-sources {
  padding-left: 0;
  list-style: none;
}

.guides-update .official-sources li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.guides-update .guide-reviewer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #5b6b7a;
  font-size: 0.9rem;
}

.guides-update .guide-conversion .cta-band-inner {
  align-items: flex-start;
}

.guides-update .guide-conversion .cta-row {
  min-width: 250px;
  display: grid;
  gap: 10px;
}

.guides-update .guide-email-link {
  color: #fff;
  font-size: 0.88rem;
  text-align: center;
}

.guides-update .print-action {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .guides-update .guide-hub-grid,
  .guides-update .guide-hub-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-update .guide-summary,
  .guides-update .flow-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .guides-update .guide-hub-grid,
  .guides-update .guide-hub-grid-six,
  .guides-update .guide-summary,
  .guides-update .check-grid,
  .guides-update .sample-bill-grid,
  .guides-update .flow-diagram,
  .guides-update .guide-photo-grid {
    grid-template-columns: 1fr;
  }

  .guides-update .guide-summary {
    margin-top: 0;
    border-radius: 0;
  }
}

@media print {
  .guides-update .topbar,
  .guides-update .site-header,
  .guides-update .guide-breadcrumbs,
  .guides-update .page-hero,
  .guides-update .guide-summary,
  .guides-update .guide-conversion,
  .guides-update .site-footer,
  .guides-update .mobile-cta,
  .guides-update .print-action,
  .guides-update .article-footer-links {
    display: none !important;
  }

  .guides-update .section {
    padding: 0;
  }

  .guides-update .article-shell {
    width: 100%;
    max-width: none;
  }

  .guides-update .article-shell:has(> .print-resource) > * {
    display: none !important;
  }

  .guides-update .article-shell:has(> .print-resource) > .print-resource {
    display: block !important;
  }

  .guides-update .print-resource {
    margin: 0;
    padding: 18px;
    font-size: 10pt;
  }

  .guides-update .print-resource h3,
  .guides-update .print-resource caption {
    color: #000;
    font-size: 16pt;
  }

  .guides-update .guide-checklist,
  .guides-update .guide-diagram,
  .guides-update .sample-bill,
  .guides-update .guide-table-wrap {
    break-inside: avoid;
    box-shadow: none;
  }
}
