/* Page-specific only - the design system lives in css/all/cgk-site-style.css */
.article-wrap { padding-block: clamp(7rem, 12vw, 9rem) clamp(3rem, 7vw, 5rem); }

/* Long-form guides: contents list, fact and rent tables, closing call to action */
.article-toc { border: 1px solid var(--line); background: var(--surface); padding: 1.25rem 1.5rem; }
.article-toc p { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.article-toc ol { margin-top: 0.5rem; }
.article-toc li { margin-top: 0.25rem; font-size: 1rem; }

.table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; color: var(--ink-soft); }
.prose th, .prose td { text-align: left; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.prose tbody th { font-weight: 600; color: var(--ink); }
.prose td.num { font-family: var(--serif); font-size: 1.0625rem; color: var(--ink); white-space: nowrap; }
.prose .table-note { font-size: 0.875rem; color: var(--muted); }

.prose .faq { margin-top: 1.5rem; }
.article-cta { margin-top: 3rem; padding: 2rem 1.5rem; background: var(--brand-wash); text-align: center; }
.article-cta h2 { border-top: 0; margin-top: 0; padding-top: 0; }
.article-cta .btn { margin-top: 1.25rem; }
.article-cta .phone { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.linked-building + .linked-building { margin-top: 0.75rem; }
.prose .btn-primary { color: var(--on-brand); text-decoration: none; }
.article-figure .credit { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted); }
.article-figure .credit a { color: inherit; }

/* Live vacancies, apartment photos and the two maps inside a guide */
.prose ul.guide-units { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.guide-units li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 6.5rem 11.5rem auto; align-items: center; gap: 1rem; margin: 0; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.guide-units .gu-size, .guide-units .gu-price { font-family: var(--serif); font-size: 1.125rem; color: var(--ink); }
.guide-units .gu-where, .guide-units .gu-when { font-size: 0.9375rem; color: var(--muted); }
.prose .guide-units .gu-book { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-brand); background: var(--brand); padding: 0.625rem 0.875rem; text-decoration: none; white-space: nowrap; }
.prose .guide-units .gu-book:hover { background: var(--brand-deep); }
@media (max-width: 640px) {
  .guide-units li { grid-template-columns: 3rem 1fr auto; row-gap: 0.25rem; }
  .guide-units .gu-when { grid-column: 2; }
  .guide-units .gu-book { grid-column: 1 / -1; text-align: center; }
}
.prose .gallery { grid-template-columns: repeat(2, 1fr); }
.prose .shot figcaption { margin: 0; }
.guide-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .guide-maps { grid-template-columns: 1fr; } }

/* Section headings vs sub-headings: an h2 opens a new part of the guide
   (larger serif, a short logo-blue rule above), an h3 is a step inside it
   (smaller, in the sans, so the two never read as the same level). */
.article .prose h2 {
  position: relative;
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 0;
}
.article .prose h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3rem; height: 2px;
  background: var(--brand);
}
.article .prose h3 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2.25rem;
}
.article .prose .article-cta h2 { margin-top: 0; padding-top: 0; }
.article .prose .article-cta h2::before { content: none; }
.article-byline { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); max-width: 60ch; }

/* Guides run wider than the site's 68ch default: the tables, photos and
   maps need the room, and the text reads less cramped on a desktop. */
.article-wrap .article { max-width: 54rem; }

/* The author box that closes a guide */
.article-author { display: flex; gap: 1.5rem; align-items: flex-start; margin-top: 3rem; padding: 2rem 0 0; border-top: 1px solid var(--line-strong); }
.article-author img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.prose .article-author p { font-size: 0.9375rem; line-height: 1.7; }
.prose .article-author p + p { margin-top: 0.75rem; }
.prose .article-author .author-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.prose .article-author .author-name { margin-top: 0.25rem; font-family: var(--serif); font-size: 1.375rem; color: var(--ink); }
.prose .article-author .author-contact { color: var(--muted); }
@media (max-width: 560px) { .article-author { flex-direction: column; gap: 1rem; } }
.prose td.num.none { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); }
