/* ============================================================
   Denver DA — Interior Page Layout
   page/page.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }

:root {
  --navy:    #1a2744;
  --navy-dk: #0d1b2a;
  --navy-md: #2d4a7a;
  --gold:    #c8a84b;
  --gold-lt: #dfc070;
  --sky:     #9ab5cc;
  --slate:   #5c7a99;
  --bg:      #f4f6f9;
  --white:   #ffffff;
  --text:    #1a1a1a;
  --page-max: 1280px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Page banner (replaces hero on interior pages) ─────────── */
.page-banner {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 2rem 1.5rem;
}

.page-banner__inner {
  max-width: var(--page-max);
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .75rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.breadcrumb a {
  color: var(--sky);
  text-decoration: none;
  transition: color 150ms ease;
}
.breadcrumb a:hover { color: var(--gold); }

.breadcrumb__sep {
  color: rgba(255,255,255,.25);
  font-size: .65rem;
}

.breadcrumb__current { color: rgba(255,255,255,.6); }

/* Page title */
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

/* ── Two-column layout ─────────────────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  align-items: start;
}

/* ── Main content area ─────────────────────────────────────── */
.page-main {
  min-width: 0;
}

.page-main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

.section-rule {
  width: 3rem;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* Content placeholder */
.content-placeholder {
  background: var(--white);
  border: 2px dashed rgba(26,39,68,.12);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--slate);
}

.content-placeholder__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: .4;
}

.content-placeholder p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 360px;
  margin: 0 auto;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Sidebar card */
.sidebar-card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(0,0,0,.07);
  overflow: hidden;
}

.sidebar-card__header {
  background: var(--navy);
  padding: .7rem 1.1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

.sidebar-card__body {
  padding: .5rem 0;
}

/* Sidebar links */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1.1rem;
  font-size: .875rem;
  color: var(--navy);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 150ms, border-color 150ms, padding-left 150ms;
}

.sidebar-link:hover {
  background: #f0f4f8;
  border-left-color: var(--gold);
  padding-left: 1.4rem;
}

.sidebar-link--active {
  border-left-color: var(--gold);
  font-weight: 600;
  color: var(--navy-md);
}

/* Sidebar contact card */
.sidebar-contact {
  padding: 1rem 1.1rem;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--slate);
}

.sidebar-contact a {
  color: var(--navy-md);
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms;
}
.sidebar-contact a:hover { color: var(--gold); }

/* ── Footer ────────────────────────────────────────────────── */
/* Footer styles are defined globally in menu/menu.css
   and injected via menu/menu.js — nothing needed here. */

/* ── Focus styles ──────────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Responsive ────────────────────────────────────────────── */
/* Page layout responsive — footer responsive lives in menu.css */
@media (max-width: 860px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { order: -1; }
}
