/* Shared styles for CigarCabinet static guide pages (/guides/<slug>/). */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0f0d0a;
  color: #e8dcc8;
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
a { color: #c8893a; text-decoration: none; }
a:hover { color: #d99a4a; text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

header.site {
  border-bottom: 1px solid rgba(58,48,40,0.6);
  padding: 1.1rem 0;
  position: sticky; top: 0; z-index: 10;
  background: rgba(15,13,10,0.92);
  backdrop-filter: blur(6px);
}
header.site .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; color: #c8893a; font-weight: 600; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.nav-cta { background: #c8893a; color: #1a1612; padding: 0.45rem 1.1rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: #d99a4a; text-decoration: none; color: #1a1612; }
.nav-cta .cta-short { display: none; }

article { padding: 3.5rem 0 2rem; }
.eyebrow { color: #c8893a; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 500; }
h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 600; line-height: 1.1; color: #f7edda; margin-bottom: 1.25rem; letter-spacing: -0.01em;
}
.lede { font-size: 1.15rem; color: #b7a68f; margin-bottom: 1.5rem; }
.meta { color: #6f5f4d; font-size: 0.82rem; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(58,48,40,0.5); }

h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 600; color: #f7edda;
  margin: 2.75rem 0 1rem; line-height: 1.2;
}
h3 { font-size: 1.1rem; color: #f0e4cf; font-weight: 600; margin: 1.75rem 0 0.6rem; }
p { margin-bottom: 1.1rem; color: #d0c1a9; }
strong { color: #f0e4cf; font-weight: 600; }
ul, ol { margin: 0 0 1.1rem 1.3rem; color: #d0c1a9; }
li { margin-bottom: 0.5rem; }

.answer {
  background: rgba(200,137,58,0.07);
  border-left: 3px solid #c8893a;
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.35rem; margin: 0 0 2rem;
  color: #e8dcc8; font-size: 1.05rem;
}
.answer strong { color: #f7edda; }

.table-scroll { overflow-x: auto; margin: 1.25rem 0 1.75rem; border: 1px solid rgba(58,48,40,0.7); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; min-width: 520px; }
caption { caption-side: bottom; color: #6f5f4d; font-size: 0.78rem; padding: 0.6rem; text-align: left; }
th, td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid rgba(58,48,40,0.5); vertical-align: top; }
thead th { background: rgba(42,36,32,0.7); color: #c8893a; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
tbody tr:last-child td { border-bottom: none; }
td:first-child { color: #f0e4cf; font-weight: 500; }

.phase { display: flex; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(58,48,40,0.4); }
.phase:last-child { border-bottom: none; }
.dot { flex-shrink: 0; font-size: 1.1rem; line-height: 1.5; }
.phase-body strong { display: block; color: #f7edda; margin-bottom: 0.15rem; }
.phase-body span { color: #a8977f; font-size: 0.95rem; }

.faq-q { color: #f0e4cf; font-weight: 600; font-size: 1.05rem; margin: 1.6rem 0 0.4rem; }

.cta-box {
  background: rgba(42,36,32,0.55); border: 1px solid rgba(58,48,40,0.8);
  border-radius: 16px; padding: 2rem; margin: 3rem 0 1rem; text-align: center;
}
.cta-box h2 { margin-top: 0; }
.cta-box p { color: #a8977f; max-width: 480px; margin: 0 auto 1.5rem; }
.cta-btn { display: inline-block; background: #c8893a; color: #1a1612; padding: 0.85rem 2rem; border-radius: 6px; font-weight: 600; }
.cta-btn:hover { background: #d99a4a; text-decoration: none; color: #1a1612; }

/* Guides hub (/guides) card grid */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; margin: 2rem 0 1rem; }
.guide-card {
  display: block; background: rgba(42,36,32,0.5); border: 1px solid rgba(58,48,40,0.8);
  border-radius: 14px; padding: 1.5rem; transition: border-color 0.25s, transform 0.25s;
}
.guide-card:hover { border-color: rgba(200,137,58,0.45); transform: translateY(-3px); text-decoration: none; }
.guide-card .kicker { color: #c8893a; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.6rem; }
.guide-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; color: #f7edda; margin: 0 0 0.5rem; font-weight: 600; }
.guide-card p { color: #8a7a6a; font-size: 0.9rem; margin: 0; }

/* Related-guides cross-link block */
.related { margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid rgba(58,48,40,0.5); }
.related h2 { margin-top: 0; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 0.6rem; }
.related a { font-weight: 500; }
.related .desc { color: #8a7a6a; font-weight: 300; }

footer.site { border-top: 1px solid rgba(58,48,40,0.5); padding: 2rem 0; margin-top: 2rem; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
footer.site span, footer.site a { color: #6f5f4d; font-size: 0.8rem; }

/* Mobile: keep the sticky header on one tidy line */
@media (max-width: 560px) {
  .wrap { padding: 0 1.1rem; }
  header.site { padding: 0.85rem 0; }
  .brand { font-size: 1.2rem; }
  .nav-cta { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
  .nav-cta .cta-full { display: none; }
  .nav-cta .cta-short { display: inline; }
}
