/* /guides editorial styles */
:root {
  --tu-primary: #0056b3;
  --tu-text: #1c2430;
  --tu-muted: #5b6573;
  --tu-rule: #e3e7ec;
  --tu-soft: #f4f6f9;
  --tu-cta: #eef4fb;
  --tu-radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--tu-text);
  line-height: 1.6;
}

body > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--tu-rule);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}
.logo { height: 80px; max-height: 80px; flex-shrink: 0; }
body > header nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
body > header nav::-webkit-scrollbar { display: none; }
body > header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--tu-muted);
  font-weight: 500;
  padding: 0.5rem 0;
}
body > header nav a:hover { color: var(--tu-primary); }
body > header nav a.nav-cta {
  color: var(--tu-primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid var(--tu-primary);
  border-radius: var(--tu-radius);
  margin-left: 1.5rem;
}
body > header nav a.nav-cta:hover {
  background: var(--tu-primary);
  color: #fff;
}

main {
  padding: 7rem 0 4rem;
}

.guides-index {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.guides-index .page-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  color: var(--tu-text);
  margin-bottom: 0.5rem;
}
.guides-index .page-lede {
  font-size: 18px;
  color: var(--tu-muted);
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--tu-rule);
  border-radius: var(--tu-radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}
.guide-card:hover {
  border-color: var(--tu-primary);
  box-shadow: 0 6px 18px rgba(28, 36, 48, 0.06);
}
.guide-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tu-soft);
}
.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guide-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  gap: 0.55rem;
}
.guide-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tu-muted);
}
.guide-card-body h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: var(--tu-text);
  text-wrap: balance;
}
.guide-card-body p {
  font-size: 15px;
  color: var(--tu-muted);
  line-height: 1.45;
  flex: 1;
}
.guide-card-meta {
  font-size: 13px;
  color: var(--tu-muted);
  margin-top: auto;
  padding-top: 0.35rem;
}
.guides-index-foot {
  margin-top: 2.5rem;
  font-size: 16px;
  color: var(--tu-muted);
}
.guides-index-foot a {
  color: var(--tu-primary);
  font-weight: 600;
  text-decoration: none;
}
.guides-index-foot a:hover { text-decoration: underline; }

.article-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 7rem 1.25rem 4rem;
}
.article-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 13px;
  color: var(--tu-muted);
  margin-bottom: 1.15rem;
}
.breadcrumb a {
  color: var(--tu-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--tu-primary); }
.breadcrumb .sep { margin: 0 0.35rem; }

.article-hero-block h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.18;
  color: var(--tu-text);
  margin-bottom: 0.55rem;
  text-wrap: balance;
}
.article-meta {
  font-size: 14px;
  color: var(--tu-muted);
  margin-bottom: 1.5rem;
}

.hero-photo {
  max-width: 880px;
  margin: 0 auto 2rem;
}
.hero-photo img,
.hero-photo picture,
.in-article-photo img,
.in-article-photo picture {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--tu-radius);
}
.in-article-photo {
  margin: 28px 0;
}
.in-article-photo figcaption {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--tu-muted);
}

.article {
  font-size: 17px;
  line-height: 1.7;
}
.article p { margin-bottom: 1.1em; }
.article a { color: var(--tu-primary); }
.article h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 44px 0 0.75rem;
  line-height: 1.3;
}
.article h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 1.35rem 0 0.45rem;
  line-height: 1.35;
}
.article ul, .article ol {
  margin: 0 0 1.1em 1.2rem;
}
.article li { margin-bottom: 0.35rem; }

.photo-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin: 1.25rem 0 1rem;
}
.photo-checklist .group-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tu-muted);
  margin-bottom: 0.65rem;
}
.photo-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.photo-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  font-size: 16px;
}
.check-box {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--tu-muted);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.3rem;
}
.check-box.priority {
  background: var(--tu-primary);
  border-color: var(--tu-primary);
}
.checklist-legend {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 15px;
  color: var(--tu-muted);
  margin: 0.5rem 0 1.25rem;
}
.checklist-legend .check-box { margin-top: 0.2rem; }

.text-template {
  background: var(--tu-soft);
  border: 1px solid var(--tu-rule);
  border-radius: var(--tu-radius);
  margin: 1.25rem 0 1.5rem;
  overflow: hidden;
}
.text-template-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--tu-rule);
  font-size: 13px;
  font-weight: 600;
  color: var(--tu-muted);
}
.text-template-head button {
  appearance: none;
  border: 1px solid var(--tu-rule);
  background: #fff;
  color: var(--tu-text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}
.text-template-head button:hover { border-color: var(--tu-primary); color: var(--tu-primary); }
.text-template pre {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  padding: 1rem 0.95rem 1.15rem;
  color: var(--tu-text);
}

.compare-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  border: 1px solid var(--tu-rule);
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: var(--tu-soft);
  font-weight: 600;
}
.compare-table th:first-child,
.compare-table td:first-child {
  font-weight: 600;
  width: 22%;
  color: var(--tu-muted);
}
.compare-table.picks th:first-child,
.compare-table.picks td:first-child {
  width: 55%;
  color: var(--tu-text);
  font-weight: 500;
}
.compare-table .cell-sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--tu-muted);
  margin-top: 0.2rem;
}
.compare-wrap.compare-wide {
  margin-left: calc(-1 * min(100px, 8vw));
  margin-right: calc(-1 * min(100px, 8vw));
}
.compare-table.stack th:first-child,
.compare-table.stack td:first-child {
  width: 18%;
  color: var(--tu-text);
}
.source-note {
  font-size: 14px;
  color: var(--tu-muted);
  line-height: 1.5;
  margin: 1.25rem 0 0;
}

.cta-box {
  border-top: 2px solid var(--tu-text);
  padding: 1.5rem 0 0;
  margin: 3rem 0 0;
}
.cta-box p { margin-bottom: 1.25rem; }
.cta-box .cta-button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: var(--tu-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--tu-radius);
  border: 2px solid var(--tu-primary);
}
.cta-box .cta-button:hover { background: #004494; border-color: #004494; }
.cta-box .cta-media {
  margin-bottom: 1rem;
}
.cta-box .cta-media img {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: var(--tu-radius);
  display: block;
}

.more-guides {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tu-rule);
}
.more-guides .more-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tu-muted);
  margin-bottom: 0.75rem;
}
.more-guides ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.more-guides li { margin-bottom: 0.55rem; }
.more-guides a {
  color: var(--tu-primary);
  text-decoration: none;
  font-weight: 500;
}
.more-guides a:hover { text-decoration: underline; }

footer {
  text-align: center;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--tu-rule);
  color: var(--tu-muted);
  font-size: 0.9rem;
}
.footer-links { margin-top: 0.65rem; }
.footer-links a {
  color: var(--tu-muted);
  text-decoration: none;
  margin: 0 0.35rem;
}
.footer-links a:hover { color: var(--tu-primary); }
.footer-divider { color: #adb5bd; margin: 0 0.15rem; }

@media (max-width: 700px) {
  body > header { padding: 0.75rem 1rem; }
  main, .article-shell { padding-top: 5.5rem; }
  .guides-index .page-title { font-size: 34px; }
  .guide-cards { grid-template-columns: 1fr; gap: 20px; }
  .article-hero-block h1 { font-size: 32px; }
  .article { font-size: 16px; }
  .photo-checklist { grid-template-columns: 1fr; gap: 1.25rem; }
  .compare-wrap.compare-wide {
    margin-left: 0;
    margin-right: 0;
  }
  .compare-table.stack,
  .compare-table.stack thead { display: block; }
  .compare-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .compare-table.stack tbody,
  .compare-table.stack tr,
  .compare-table.stack td {
    display: block;
    width: 100%;
  }
  .compare-table.stack tr {
    border: 1px solid var(--tu-rule);
    border-radius: var(--tu-radius);
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.75rem;
    background: #fff;
  }
  .compare-table.stack td {
    border: none;
    padding: 0.35rem 0;
  }
  .compare-table.stack td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tu-muted);
    margin-bottom: 0.15rem;
  }
  .compare-table.stack td:first-child {
    width: 100%;
    font-weight: 700;
    margin-bottom: 0.35rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--tu-rule);
  }
  .compare-table.stack td:first-child::before { display: none; }
}
