/* sks-guide.css — Long-form guide pages
   Scoped under .sks-guide-page to avoid leaking into the rest of the theme.
*/

.sks-guide-page {
  --sg-ivory: #F5F0E8;
  --sg-parch: #E8DFD0;
  --sg-white: #FFFFFF;
  --sg-slate: #2C3E50;
  --sg-slate-d: #1E2D3B;
  --sg-amber: #B8520A;
  --sg-amber-l: #D4681A;
  --sg-amber-p: #FEF3EC;
  --sg-onyx: #1A1A1A;
  --sg-body: #4A4440;
  --sg-muted: #7A726B;
  --sg-rule: rgba(74, 68, 64, 0.14);
  --sg-rule2: rgba(74, 68, 64, 0.22);
  --sg-gold: #C9A84C;
  --sg-tan: #E8C9A8;
  --sg-r: 6px;
  --sg-rl: 10px;

  background: var(--sg-ivory);
  color: var(--sg-body);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.sks-guide-page *,
.sks-guide-page *::before,
.sks-guide-page *::after { box-sizing: border-box; }

.sks-guide-page a { color: var(--sg-amber); text-decoration: none; transition: color .2s; }
.sks-guide-page a:hover { color: var(--sg-amber-l); }
.sks-guide-page button { font-family: inherit; cursor: pointer; border: none; background: none; }
.sks-guide-page h1,
.sks-guide-page h2,
.sks-guide-page h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--sg-onyx);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.sks-guide-page :focus-visible { outline: 2px solid var(--sg-amber); outline-offset: 2px; border-radius: var(--sg-r); }
.sks-guide-page .sg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; stroke-width: 2; }

.sks-guide-page .sg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--sg-r);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: .25s;
  border: 1px solid transparent;
  font-family: inherit;
  text-decoration: none;
}
.sks-guide-page .sg-btn-amber,
.sks-guide-page .sg-prose a.sg-btn-amber {
  background: var(--sg-amber);
  color: #fff;
  text-decoration: none;
}
.sks-guide-page .sg-btn-amber:hover,
.sks-guide-page .sg-prose a.sg-btn-amber:hover {
  background: var(--sg-amber-l);
  color: #fff;
  text-decoration: none;
}

/* ===== Layout ===== */
.sks-guide-page .sg-sec { padding: 64px 48px; }
.sks-guide-page .sg-wrap { max-width: 760px; margin: 0 auto; }
@media (max-width: 720px) {
  .sks-guide-page .sg-sec { padding: 40px 18px; }
}

/* ===== Breadcrumb ===== */
.sks-guide-page .sg-crumbs {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 48px 0;
  font-size: 12px;
  color: var(--sg-muted);
  letter-spacing: .04em;
}
.sks-guide-page .sg-crumbs a { color: var(--sg-muted); }
.sks-guide-page .sg-crumbs a:hover { color: var(--sg-amber); }
.sks-guide-page .sg-crumbs span { color: var(--sg-amber); }
@media (max-width: 720px) {
  .sks-guide-page .sg-crumbs { padding: 20px 18px 0; }
}

/* ===== Article header ===== */
.sks-guide-page .sg-article-head { padding: 28px 48px 8px; }
.sks-guide-page .sg-head-inner { max-width: 760px; margin: 0 auto; }
.sks-guide-page .sg-eb {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sg-amber);
  font-weight: 600;
  margin-bottom: 16px;
}
.sks-guide-page .sg-article-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 18px;
  color: var(--sg-onyx);
}
.sks-guide-page .sg-article-head h1 em {
  font-style: italic;
  color: var(--sg-amber);
  font-weight: 400;
}
.sks-guide-page .sg-deck {
  font-size: 18px;
  color: var(--sg-body);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}
.sks-guide-page .sg-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: var(--sg-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-top: 1px solid var(--sg-rule);
  border-bottom: 1px solid var(--sg-rule);
  padding: 14px 0;
}
.sks-guide-page .sg-byline strong { color: var(--sg-onyx); font-weight: 500; }
.sks-guide-page .sg-byline .sg-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sg-rule2); }
@media (max-width: 720px) {
  .sks-guide-page .sg-article-head { padding: 18px 18px 8px; }
}

/* ===== Quick answer ===== */
.sks-guide-page .sg-qa {
  background: var(--sg-amber-p);
  border: 1px solid var(--sg-rule);
  border-left: 3px solid var(--sg-amber);
  border-radius: 0 var(--sg-r) var(--sg-r) 0;
  padding: 24px 28px;
  margin: 28px 0 8px;
}
.sks-guide-page .sg-qa-label {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sg-amber);
  font-weight: 600;
  margin-bottom: 10px;
}
.sks-guide-page .sg-qa p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--sg-onyx);
  font-weight: 400;
}

/* ===== TOC ===== */
.sks-guide-page .sg-toc {
  background: var(--sg-white);
  border: 1px solid var(--sg-rule);
  border-radius: var(--sg-rl);
  padding: 24px 28px;
  margin: 36px 0;
}
.sks-guide-page .sg-toc-h {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sg-muted);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: 'Jost', sans-serif;
}
.sks-guide-page .sg-toc ol {
  list-style: none;
  counter-reset: t;
  columns: 2;
  column-gap: 36px;
  padding: 0; margin: 0;
}
@media (max-width: 600px) { .sks-guide-page .sg-toc ol { columns: 1; } }
.sks-guide-page .sg-toc li {
  counter-increment: t;
  padding: 6px 0;
  font-size: 14px;
  break-inside: avoid;
}
.sks-guide-page .sg-toc li::before {
  content: counter(t, decimal-leading-zero);
  color: var(--sg-amber);
  font-weight: 600;
  margin-right: 10px;
  font-size: 12px;
}
.sks-guide-page .sg-toc a { color: var(--sg-body); }
.sks-guide-page .sg-toc a:hover { color: var(--sg-amber); }

/* ===== Prose ===== */
.sks-guide-page .sg-prose {
  font-size: 17px;
  color: var(--sg-body);
  line-height: 1.75;
  font-weight: 300;
}
.sks-guide-page .sg-prose h2 {
  font-size: clamp(25px, 3.2vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  margin: 52px 0 16px;
  color: var(--sg-onyx);
  scroll-margin-top: 90px;
}
.sks-guide-page .sg-prose h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 32px 0 10px;
  color: var(--sg-onyx);
}
.sks-guide-page .sg-prose p { margin-bottom: 20px; }
.sks-guide-page .sg-prose strong { color: var(--sg-onyx); font-weight: 500; }
.sks-guide-page .sg-prose em { font-style: italic; }
.sks-guide-page .sg-prose a {
  color: var(--sg-amber);
  text-decoration: underline;
  text-decoration-color: rgba(184, 82, 10, .35);
  text-underline-offset: 2px;
}
.sks-guide-page .sg-prose a:hover { text-decoration-color: var(--sg-amber); }
.sks-guide-page .sg-prose ul,
.sks-guide-page .sg-prose ol { margin: 0 0 22px 22px; }
.sks-guide-page .sg-prose li { margin-bottom: 9px; }
.sks-guide-page .sg-prose blockquote {
  border-left: 3px solid var(--sg-gold);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.45;
  color: var(--sg-onyx);
}

/* Tables — match the prototype's .term-table look. Works with any plain <table>
   the writer inserts in Shopify's rich-text editor (no class needed). */
.sks-guide-page .sg-prose .sg-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 26px 0;
}
.sks-guide-page .sg-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0;
}
.sks-guide-page .sg-prose th,
.sks-guide-page .sg-prose td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--sg-rule);
  vertical-align: top;
}
.sks-guide-page .sg-prose th {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sg-muted);
  background: var(--sg-parch);
  font-weight: 600;
  font-family: 'Jost', sans-serif;
}
.sks-guide-page .sg-prose td:first-child {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  color: var(--sg-onyx);
  font-weight: 500;
}
.sks-guide-page .sg-prose.sg-lead > p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 62px;
  line-height: .78;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--sg-amber);
  font-weight: 600;
}

.sks-guide-page .sg-note {
  background: var(--sg-parch);
  border: 1px solid var(--sg-rule);
  border-radius: var(--sg-r);
  padding: 22px 26px;
  margin: 30px 0;
  font-size: 15px;
  line-height: 1.6;
}
.sks-guide-page .sg-note .sg-tag {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sg-amber);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.sks-guide-page .sg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sks-guide-page .sg-figure { margin: 36px 0; }
.sks-guide-page .sg-figure svg {
  width: 100%;
  height: auto;
  display: block;
  background: var(--sg-white);
  border: 1px solid var(--sg-rule);
  border-radius: var(--sg-rl);
}
.sks-guide-page .sg-figcaption {
  font-size: 12.5px;
  color: var(--sg-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

.sks-guide-page .sg-term-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 15px;
}
.sks-guide-page .sg-term-table th,
.sks-guide-page .sg-term-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--sg-rule);
  vertical-align: top;
}
.sks-guide-page .sg-term-table th {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sg-muted);
  background: var(--sg-parch);
  font-weight: 600;
}
.sks-guide-page .sg-term-table td:first-child {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  color: var(--sg-onyx);
  width: 30%;
  font-weight: 500;
}

/* Inline CTA */
.sks-guide-page .sg-inline-cta {
  background: var(--sg-slate);
  border-radius: var(--sg-rl);
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sks-guide-page .sg-inline-cta p {
  color: rgba(245, 240, 232, .85);
  font-size: 15px;
  max-width: 430px;
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
}
.sks-guide-page .sg-inline-cta p strong { color: var(--sg-tan); font-weight: 500; }

/* ===== FAQ ===== */
.sks-guide-page .sg-faq h2 {
  font-size: clamp(25px, 3.2vw, 32px);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--sg-onyx);
}
.sks-guide-page .sg-faq-item { border-bottom: 1px solid var(--sg-rule); }
.sks-guide-page .sg-faq-q {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  width: 100%;
  text-align: left;
  color: var(--sg-onyx);
}
.sks-guide-page .sg-faq-q::after {
  content: '+';
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  color: var(--sg-amber);
  flex-shrink: 0;
  font-weight: 300;
}
.sks-guide-page .sg-faq-item.is-open .sg-faq-q::after { content: '\2212'; }
.sks-guide-page .sg-faq-a {
  display: none;
  font-size: 16px;
  color: var(--sg-body);
  line-height: 1.65;
  padding: 0 0 24px;
  max-width: 660px;
  font-weight: 300;
}
.sks-guide-page .sg-faq-a a { color: var(--sg-amber); text-decoration: underline; }
.sks-guide-page .sg-faq-item.is-open .sg-faq-a { display: block; }

/* ===== Related (Keep exploring) ===== */
.sks-guide-page .sg-related { background: var(--sg-parch); }
.sks-guide-page .sg-related .sg-eb { text-align: center; }
.sks-guide-page .sg-related h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  color: var(--sg-onyx);
}
.sks-guide-page .sg-related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .sks-guide-page .sg-related-cards { grid-template-columns: 1fr; }
}
.sks-guide-page .sg-related-card {
  background: var(--sg-white);
  border: 1px solid var(--sg-rule);
  border-radius: var(--sg-rl);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  transition: .2s;
  display: block;
}
.sks-guide-page .sg-related-card:hover {
  border-color: var(--sg-amber);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}
.sks-guide-page .sg-related-card .sg-rc-eb {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sg-amber);
  font-weight: 600;
  margin-bottom: 12px;
}
.sks-guide-page .sg-related-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--sg-onyx);
}
.sks-guide-page .sg-related-card p {
  font-size: 14px;
  color: var(--sg-body);
  line-height: 1.5;
  font-weight: 300;
}
.sks-guide-page .sg-related-card .sg-arrow {
  margin-top: 16px;
  color: var(--sg-amber);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== Final CTA ===== */
.sks-guide-page .sg-final-cta {
  background: var(--sg-slate);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sks-guide-page .sg-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(184, 82, 10, .18), transparent 45%);
  pointer-events: none;
}
.sks-guide-page .sg-final-cta .sg-wrap { position: relative; max-width: 640px; }
.sks-guide-page .sg-final-cta .sg-eb { color: var(--sg-tan); text-align: center; }
.sks-guide-page .sg-final-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 16px;
}
.sks-guide-page .sg-final-cta h2 em { font-style: italic; color: var(--sg-tan); font-weight: 400; }
.sks-guide-page .sg-final-cta p {
  color: rgba(245, 240, 232, .82);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 28px;
  font-weight: 300;
}
