/* Theme additions on top of Grayscale (teal already swapped to champagne gold #c0a062) */
/* Page masthead variant for inner pages */
.masthead-page { min-height: 42vh !important; height: auto !important; padding: 9rem 0 4rem; }
.masthead-page h1 { font-size: 2rem !important; line-height: 2.6rem !important; letter-spacing: 0.25rem !important; }
/* Content */
.content-section { padding: 4rem 0; }
.crumbs { font-size: 0.8rem; color: #8a8a8a; margin: 1rem 0; }
.crumbs a { color: #c0a062; text-decoration: none; }
.badge-upd { display: inline-block; border: 1px solid #c0a062; color: #c0a062; font-size: 0.75rem; padding: 0.25rem 0.9rem; border-radius: 2rem; margin: 0.5rem 0 1.5rem; letter-spacing: 0.1rem; }
/* TL;DR - dark card, gold accent */
.tldr { background: #141414; border-left: 3px solid #c0a062; border-radius: 0.25rem; padding: 1.75rem 2rem; margin: 2rem 0; }
.tldr h2 { color: #fff; font-size: 1rem; letter-spacing: 0.25rem; text-transform: uppercase; margin: 0 0 1rem; }
.tldr ul { margin: 0; padding-left: 1.2rem; color: rgba(255,255,255,0.75); }
.tldr li { margin-bottom: 0.5rem; }
/* FAQ */
.faq { margin: 2.5rem 0; }
.faq h2 { font-size: 1.1rem; letter-spacing: 0.2rem; text-transform: uppercase; margin-bottom: 1rem; }
.faq details { border-bottom: 1px solid #e5e5e5; padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: #555; margin: 0.6rem 0 0.2rem; }
/* Spec tables */
table.data { border-collapse: collapse; width: 100%; margin: 1.25rem 0; font-size: 0.9rem; }
table.data th, table.data td { border: 1px solid #ddd; padding: 0.6rem 0.9rem; text-align: left; vertical-align: top; }
table.data th { background: #111; color: #fff; font-weight: 600; width: 32%; }
/* Gallery cards - dense, dark */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.card { background: #111; border: 1px solid #2a2a2a; border-radius: 0.25rem; overflow: hidden; }
.card a { text-decoration: none; color: inherit; display: block; }
.card img { width: 100%; height: 170px; object-fit: cover; display: block; background: #222; }
.card .b { padding: 1rem 1.1rem 1.2rem; }
.card h3 { margin: 0 0 0.4rem; font-size: 1rem; color: #fff; font-weight: 600; }
.card .muted { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin: 0.25rem 0; }
.card .gold { font-size: 0.82rem; color: #c0a062; }
.tag { display: inline-block; background: transparent; border: 1px solid #c0a062; color: #c0a062; font-size: 0.7rem; padding: 0.15rem 0.7rem; border-radius: 2rem; margin: 0.15rem 0.25rem 0.15rem 0; text-decoration: none; }
a.tag:hover { background: #c0a062; color: #111; }
/* CTA section */
.cta-section { background: linear-gradient(#161616, #000); padding: 5rem 0; text-align: center; margin-top: 3rem; }
.cta-section h2 { color: #fff; letter-spacing: 0.15rem; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 640px; margin: 0 auto 1.75rem; }
/* Stats */
.stat-num { font-size: 2.2rem; font-weight: 700; color: #fff; }
.stat-lbl { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
/* Case detail */
.spec-wrap img { width: 100%; border-radius: 0.25rem; margin-bottom: 1rem; }
/* Filter bar */
.filterbar { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.25rem 0; align-items: center; }
.filterbar input, .filterbar select { padding: 0.55rem 0.9rem; border: 1px solid #444; border-radius: 0.25rem; background: #111; color: #fff; font-size: 0.9rem; }
.filterbar input { flex: 1; min-width: 200px; }
.filterbar input::placeholder { color: #777; }
.filterbar select option { background: #111; }
/* Footer additions */
.footer .todo { color: #c0a062; }
/* 390px safety: no fixed widths anywhere above; images fluid */
img { max-width: 100%; }
@media (max-width: 576px) {
  .masthead-page { padding: 7rem 0 3rem; }
  .masthead-page h1 { font-size: 1.5rem !important; line-height: 2rem !important; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.9rem; }
  .card img { height: 130px; }
}
