/* Shared styles for sub-pages: FAQ, Blog index & blog articles.
   Imported AFTER assets/styles.css so brand tokens & base styles are reused. */

/* ================= SUB-PAGE HEADER (solid navy) ================= */
.page-header {
  position: static;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--onyx);
  border-bottom: 1px solid var(--line);
}
.page-header .nav-row {
  padding: 16px 0;
}
.page-header .nav-row .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-header nav.main-nav a {
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.page-header nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.page-header nav.main-nav a:hover::after,
.page-header nav.main-nav a[aria-current="page"]::after {
  width: 100%;
}
.page-header .nav-toggle span {
  background: var(--ivory);
}

/* ================= PAGE SHELL ================= */
.subpage {
  min-height: 56vh;
}
.subpage .page-intro {
  background: var(--onyx);
  color: var(--ivory);
  padding: 72px 0 56px;
}
.subpage .page-intro .eyebrow {
  color: var(--gold-light);
}
.subpage .page-intro h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 14px 0 18px;
  color: var(--ivory);
}
.subpage .page-intro p {
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.8;
  max-width: 720px;
}
.subpage .page-body {
  background: var(--ivory);
  color: var(--onyx);
  padding: 70px 0 90px;
}

/* ================= BREADCRUMB ================= */
.breadcrumb {
  padding: 18px 0 0;
  background: var(--onyx);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb li + li::before {
  content: "/";
  color: var(--gold-dim);
}
.breadcrumb a {
  color: var(--gold-light);
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* ================= PROSE (articles) ================= */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.85;
  color: #26304a;
}
.prose h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  margin: 48px 0 18px;
  color: var(--onyx);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.prose h3 {
  font-size: 22px;
  margin: 34px 0 12px;
  color: var(--charcoal);
  scroll-margin-top: 120px;
}
.prose p {
  margin-bottom: 20px;
}
.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 24px;
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 9px;
}
.prose strong {
  color: var(--onyx);
  font-weight: 500;
}
.prose a {
  color: var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  transition: color 0.25s ease;
}
.prose a:hover {
  color: var(--onyx);
  border-color: var(--onyx);
}
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--charcoal);
  font-style: italic;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 30px;
  font-size: 14.5px;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}
.prose th {
  background: var(--onyx);
  color: var(--ivory);
  font-weight: 400;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.prose tr:nth-child(even) td {
  background: var(--ivory-dim);
}
.article-meta {
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 0 0 38px;
}

/* ================= ACCORDION (FAQ) ================= */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid rgba(201, 162, 77, 0.3);
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  border-radius: 4px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  transition: background 0.25s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  background: var(--ivory-dim);
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 300;
  color: var(--gold-dim);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  content: "\2013";
}
.faq-item .faq-answer {
  padding: 0 26px 26px;
  color: #3a4460;
  line-height: 1.8;
  font-size: 15.5px;
}
.faq-item .faq-answer p {
  margin-bottom: 14px;
}
.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-item .faq-answer a {
  color: var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.faq-item .faq-answer a:hover {
  color: var(--onyx);
}

/* ================= BLOG CARDS ================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(201, 162, 77, 0.3);
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(12, 12, 14, 0.18);
}
.blog-card .card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--charcoal), var(--onyx));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
}
.blog-card .card-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card .card-body .eyebrow {
  margin-bottom: 12px;
}
.blog-card h2 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.blog-card .excerpt {
  font-size: 14.5px;
  line-height: 1.7;
  color: #5b564a;
  margin-bottom: 18px;
  flex: 1;
}
.blog-card .read-more {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color 0.25s ease;
}
.blog-card:hover .read-more {
  color: var(--onyx);
  border-color: var(--onyx);
}

/* ================= FOOTER (sub-pages) ================= */
footer.subpage-footer {
  background: var(--onyx);
  color: var(--ivory-dim);
  padding: 34px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
}
footer.subpage-footer .logo {
  justify-content: center;
  margin-bottom: 14px;
  font-size: 17px;
}
footer.subpage-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
footer.subpage-footer .footer-links a {
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
footer.subpage-footer .footer-links a:hover {
  color: var(--gold);
}

/* ================= SMALL SCREEN NAV ================= */
@media (max-width: 820px) {
  .page-header nav.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--onyx);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.45s ease;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.3);
  }
  .page-header nav.main-nav.open {
    transform: translateX(0);
  }
  .page-header .nav-toggle {
    display: block;
  }
  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}