/* Save On Toners topic pages — scoped to .sot-topic */
/* Emporium limits topic bodies to 1000px. Topic pages using this stylesheet
   should align with the theme's normal desktop content container. */
.topic-page .page-body {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}
.sot-topic {
  --sot-cyan: #00aeef;
  --sot-cyan-dark: #008dbf;
  --sot-yellow: #ffd500;
  --sot-magenta: #ec1c74;
  --sot-navy: #082a45;
  --sot-ink: #152536;
  --sot-muted: #5d6d7c;
  --sot-line: #dce6ed;
  --sot-soft: #f4f8fb;
  box-sizing: border-box;
  width: 100%;
  margin: 32px auto 64px;
  color: var(--sot-ink);
  font-size: 16px;
  line-height: 1.7;
}
.sot-topic *, .sot-topic *::before, .sot-topic *::after { box-sizing: border-box; }
.sot-topic h2, .sot-topic h3, .sot-topic p { margin-top: 0; }
.sot-topic h2 { color: var(--sot-navy); font-size: clamp(28px, 3.2vw, 48px); line-height: 1.12; letter-spacing: -.025em; }
.sot-topic h3 { color: var(--sot-navy); font-size: 20px; line-height: 1.3; }
.sot-topic a { color: var(--sot-cyan-dark); text-decoration: none; }
.sot-topic a:hover { text-decoration: underline; }

.sot-topic-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; padding: 7px; border: 1px solid var(--sot-line); border-radius: 999px; background: #fff; box-shadow: 0 8px 28px rgba(8,42,69,.06); }
.sot-topic-nav a { padding: 8px 16px; border-radius: 999px; color: #45596b; font-size: 14px; font-weight: 700; line-height: 1.4; }
.sot-topic-nav a:hover { background: var(--sot-soft); color: var(--sot-navy); text-decoration: none; }
.sot-topic-nav a.is-current { background: var(--sot-navy); color: #fff; }

.sot-topic-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: clamp(32px, 6vw, 84px); align-items: center; min-height: 440px; overflow: hidden; padding: clamp(40px, 7vw, 88px); border-radius: 22px; background: linear-gradient(125deg, #effaff 0%, #fff 55%, #fffbe2 100%); border: 1px solid #d7eaf4; }
.sot-topic-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--sot-cyan) 0 47%, var(--sot-yellow) 47% 74%, var(--sot-magenta) 74%); }
.sot-topic-hero-copy, .sot-topic-highlight { position: relative; z-index: 1; }
.sot-topic-hero-copy > p { max-width: 720px; color: #526678; font-size: 18px; }
.sot-topic-eyebrow { display: block; margin-bottom: 14px; color: var(--sot-cyan-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.sot-topic-highlight { padding: 30px; border-radius: 18px; background: var(--sot-navy); color: #d8ebf8; box-shadow: 0 18px 40px rgba(8,42,69,.18); }
.sot-topic-highlight-label { display: block; margin-bottom: 16px; color: var(--sot-yellow); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sot-topic-highlight strong { display: block; margin-bottom: 12px; color: #fff; font-size: 24px; line-height: 1.25; }
.sot-topic-highlight p { margin-bottom: 0; }
.sot-topic-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }
.sot-topic-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; background: var(--sot-cyan); color: #fff !important; font-size: 14px; font-weight: 800; text-transform: uppercase; box-shadow: 0 8px 20px rgba(0,174,239,.22); }
.sot-topic-button:hover { background: var(--sot-cyan-dark); text-decoration: none !important; transform: translateY(-1px); }
.sot-topic-text-link { font-weight: 800; }

.sot-topic-section { padding: clamp(54px, 7vw, 88px) 0 0; }
.sot-topic-section-heading { max-width: 760px; margin-bottom: 30px; }
.sot-topic-section-heading h2 { font-size: clamp(27px, 3vw, 40px); }
.sot-topic-section-heading > p { color: var(--sot-muted); }
.sot-topic-card-grid { display: grid; gap: 18px; }
.sot-topic-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sot-topic-card { min-height: 220px; padding: 30px; border: 1px solid var(--sot-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(8,42,69,.055); }
.sot-topic-card-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 24px; border-radius: 50%; background: #e7f8ff; color: var(--sot-cyan-dark); font-size: 12px; font-weight: 900; }
.sot-topic-card p { margin-bottom: 0; color: var(--sot-muted); }
.sot-topic-card:nth-child(2) .sot-topic-card-number { background: #fff7be; color: #866e00; }
.sot-topic-card:nth-child(3) .sot-topic-card-number { background: #ffe7f1; color: #b41459; }

.sot-topic-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: clamp(54px, 7vw, 88px); padding: clamp(40px, 5vw, 64px); border-radius: 18px; background: var(--sot-soft); }
.sot-topic-split h2 { margin-bottom: 0; font-size: clamp(27px, 3vw, 40px); }
.sot-topic-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sot-topic-check-list p { position: relative; margin: 0; padding: 14px 14px 14px 42px; border: 1px solid var(--sot-line); border-radius: 8px; background: #fff; color: var(--sot-navy); font-weight: 700; }
.sot-topic-check-list p::before { content: "\2713"; position: absolute; left: 14px; color: var(--sot-cyan); font-weight: 900; }

.sot-topic-cta { display: flex; justify-content: space-between; gap: 32px; align-items: center; margin-top: clamp(54px, 7vw, 88px); padding: clamp(34px, 5vw, 58px); border-radius: 18px; background: linear-gradient(110deg, var(--sot-navy), #0d4268); color: #d9ebf7; }
.sot-topic-cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(26px, 3vw, 38px); }
.sot-topic-cta p { margin-bottom: 0; }
.sot-topic-cta a:not(.sot-topic-button) { color: #fff; font-weight: 700; }
.sot-topic-button-light { flex: 0 0 auto; background: #fff; color: var(--sot-navy) !important; box-shadow: none; }
.sot-topic-button-light:hover { background: var(--sot-yellow); }

.sot-topic-hero-compact { min-height: 380px; }
.sot-topic-map-card { overflow: hidden; padding: 24px; border: 1px solid var(--sot-line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 10px 30px rgba(8,42,69,.06); }
.sot-topic-map-card img { display: block; width: auto; max-width: 100%; height: auto; margin: auto; }
.sot-topic-faq { margin-top: clamp(54px, 7vw, 88px); }
.sot-topic-faq details { border-top: 1px solid var(--sot-line); }
.sot-topic-faq details:last-child { border-bottom: 1px solid var(--sot-line); }
.sot-topic-faq summary { position: relative; padding: 22px 48px 22px 0; color: var(--sot-navy); font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; }
.sot-topic-faq summary::-webkit-details-marker { display: none; }
.sot-topic-faq summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: var(--sot-cyan-dark); font-size: 26px; font-weight: 400; }
.sot-topic-faq details[open] summary::after { content: "\2212"; }
.sot-topic-faq details p { max-width: 850px; padding: 0 48px 22px 0; color: var(--sot-muted); }

.sot-topic-policy-header { padding: clamp(42px, 7vw, 82px); border-radius: 20px; background: var(--sot-navy); color: #d9e8f2; }
.sot-topic-policy-header h2 { max-width: 820px; margin-bottom: 20px; color: #fff; }
.sot-topic-policy-header > p { max-width: 760px; }
.sot-topic-policy-header .sot-topic-updated { margin: 28px 0 0; color: #9fc0d6; font-size: 13px; font-weight: 700; }
.sot-topic-policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; padding-top: clamp(48px, 7vw, 80px); }
.sot-topic-policy-index { position: sticky; top: 20px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--sot-line); border-radius: 12px; background: var(--sot-soft); }
.sot-topic-policy-index strong { margin-bottom: 10px; color: var(--sot-navy); }
.sot-topic-policy-index a { padding: 7px 0; color: #526678; font-size: 13px; font-weight: 700; }
.sot-topic-policy-body { max-width: 850px; }
.sot-topic-policy-body section { scroll-margin-top: 30px; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--sot-line); }
.sot-topic-policy-body section:last-child { border-bottom: 0; }
.sot-topic-policy-body h2 { margin-bottom: 16px; font-size: 25px; letter-spacing: -.01em; }
.sot-topic-policy-body p { color: #495d6d; }

@media (max-width: 800px) {
  .sot-topic { width: calc(100% - 20px); margin-top: 18px; }
  .sot-topic-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; border-radius: 10px; scrollbar-width: thin; }
  .sot-topic-nav a { flex: 0 0 auto; }
  .sot-topic-hero { grid-template-columns: 1fr; min-height: 0; padding: 38px 24px 26px; border-radius: 14px; }
  .sot-topic-highlight { padding: 24px; }
  .sot-topic-card-grid-3, .sot-topic-split, .sot-topic-policy-layout { grid-template-columns: 1fr; }
  .sot-topic-card { min-height: 0; padding: 24px; }
  .sot-topic-split { gap: 26px; padding: 30px 22px; }
  .sot-topic-check-list { grid-template-columns: 1fr; }
  .sot-topic-cta { display: block; padding: 32px 24px; }
  .sot-topic-cta .sot-topic-button { margin-top: 22px; width: 100%; }
  .sot-topic-policy-header { padding: 38px 24px; border-radius: 14px; }
  .sot-topic-policy-index { position: static; }
}

@media (max-width: 480px) {
  .sot-topic { font-size: 15px; }
  .sot-topic h2 { font-size: 29px; }
  .sot-topic-hero-copy > p { font-size: 16px; }
  .sot-topic-actions, .sot-topic-actions .sot-topic-button { width: 100%; }
  .sot-topic-actions .sot-topic-text-link { padding: 4px 2px; }
  .sot-topic-map-card { padding: 10px; }
}
