/* Layout specific to product education. Branding, typography, navigation,
   and editorial photography use the pharmacy's shared stylesheets. */
.kb-page { --border: #c9d9ce; --berry: var(--forest); }
.kb-shell { width: min(1280px,90%); margin-inline: auto; }
.kb-shell :is(h1,h2,h3,p,ul,figure) { margin-block: 0; }
.kb-shell img { display: block; max-width: 100%; height: auto; }
.kb-shell a { text-underline-offset: .2em; }
.kb-shell :focus-visible { outline: 3px solid #568861; outline-offset: 4px; }
.kb-shell h2 { font-size: clamp(26px,3.1vw,44px); line-height: 1.18; }
.kb-article-intro { padding: clamp(24px,4vw,60px) 0 24px; }
.kb-article-intro h1 { font-size: clamp(32px,4.25vw,66px); line-height: 1.12; margin: 14px 0; max-width: 22ch; }
.kb-article-intro p { max-width: 62ch; }
.kb-kicker { font-size: .78rem; font-weight: 650; letter-spacing: .08em; color: #466850; }
.kb-button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }
.kb-block { padding-block: clamp(28px,4vw,55px); }
.kb-block + .kb-block { border-top: 1px solid var(--border); }
.kb-guide-link p:not(.kb-kicker) { margin-top: 10px; }
.kb-page .editorial-photo img { display: block; }
.kb-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 23px; }
.kb-examples article { border-top: 1px solid var(--border); padding-top: 16px; }
.kb-examples h3 { font-size: 1.04rem; margin-bottom: 7px; }
.kb-examples p + p { margin-top: 10px; }
.kb-watch { margin-top: 25px; padding: 18px; border: 1px solid var(--border); border-radius: 11px; }
.kb-shelf-heading { margin-bottom: 23px !important; }
.kb-shelf-filter { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 20px; }
.kb-shelf-filter[hidden], .kb-product-card[hidden], .kb-format-buttons[hidden] { display: none; }
.kb-shelf-filter button, .kb-format-buttons button {
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid #9ab09e;
  border-radius: 100px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: .93rem;
}
.kb-shelf-filter button[aria-pressed="true"], .kb-format-buttons button[aria-pressed="true"] {
  background: var(--berry);
  border-color: var(--berry);
  color: #fff7f2;
}
.kb-shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.kb-product-card { display: grid; overflow: hidden; border: 1px solid var(--border); border-radius: 19px; background: #fffefa; }
.kb-product-card > a { display: grid; grid-template-rows: auto 1fr; text-decoration: none; }
.kb-product-card > a:focus-visible { outline-offset: -4px; }
.kb-product-card a:hover h3 { text-decoration: underline; text-underline-offset: .18em; }
.kb-card-copy { display: grid; align-content: start; gap: 8px; padding: clamp(15px, 2.5vw, 27px); }
.kb-card-copy h3 { font-size: clamp(19px, 2vw, 27px); line-height: 1.2; letter-spacing: -.026em; }
.kb-card-copy p { color: var(--muted); }
.kb-card-action { margin-top: 6px; font-weight: 700; }
.kb-texture {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
}
.kb-texture span { display: block; }
.kb-texture--pad { background: radial-gradient(at 35% 20%, #e7ecff, #a9b9dd); }
.kb-texture--pad span {
  width: 47%;
  aspect-ratio: 2.05;
  border-radius: 50%;
  transform: rotate(-13deg);
  background: radial-gradient(circle, #a7b5cf 1px, #fffaf4 2px) 0 0 / 8px 8px;
  border: 4px solid #fffaf4;
  box-shadow: 0 8px 0 #e6e5eb, 0 15px 0 #c9cfe0, 0 26px 24px #3442655e;
  transition: transform 250ms ease, background 250ms ease;
}
.kb-texture--pad[data-side="smooth"] span {
  background: linear-gradient(145deg, #fff, #e8edf7);
  transform: rotate(12deg);
}
.kb-product-intro h1 { max-width: 18ch; font-size: clamp(37px, 5.75vw, 76px); overflow-wrap: anywhere; }
.kb-product-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 45px); align-items: start; }
.kb-format-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #fffefa; }
.kb-format-note { padding: 13px 16px; color: var(--muted); font-size: .84rem; }
.kb-format-buttons { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.kb-facts { margin: 0; border-top: 1px solid var(--border); }
.kb-facts > div { display: grid; grid-template-columns: minmax(90px, .43fr) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.kb-facts dt { font-weight: 700; }
.kb-facts dd { margin: 0; color: var(--muted); }
.kb-facts p + p { margin-top: 8px; }
.kb-evidence h2, .kb-product-faq h2 { margin-bottom: 14px; }
.kb-evidence-list, .kb-product-related ul { margin: 0; padding: 0; list-style: none; }
.kb-evidence-list li { padding: 13px 0; border-bottom: 1px solid var(--border); }
.kb-evidence-list p { max-width: 69ch; margin-top: 4px; color: var(--muted); }
.kb-product-faq details { padding: 12px 0; border-bottom: 1px solid var(--border); }
.kb-product-faq summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.kb-product-faq details p { padding: 6px 0 0; max-width: 70ch; }
.kb-product-related ul { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.kb-product-related h2 { margin-bottom: 12px; }
.kb-feature{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(22px,5vw,68px);align-items:center;padding:32px 0;border-bottom:1px solid var(--border)}.kb-feature .kb-article-intro{padding:0}.kb-feature figure{margin:0}.kb-feature figure img{width:100%;height:auto;border-radius:9px}.kb-feature figcaption{font-size:12px;color:var(--muted);margin:6px 0 0}.kb-page .kb-article-intro h1{margin-block:14px}
.kb-compare{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;margin:12px 0 0;color:var(--ink)}.kb-compare caption{text-align:left;margin-bottom:18px;color:var(--muted)}.kb-compare :is(th,td){padding:16px 18px;vertical-align:top;border-bottom:1px solid var(--border);line-height:1.56}.kb-compare thead{background:var(--forest);color:#fff}.kb-compare thead th{font-weight:600}.kb-compare thead small{display:block;color:#cedfcf;letter-spacing:.09em;font-size:11px;margin-bottom:4px}.kb-compare th:first-child{width:17%}.kb-compare tbody th{background:#eef1e8}.kb-compare td{background:#fffefa}
.kb-label-note{background:#ecf1e8;border-radius:10px;padding:28px}.kb-label-note strong{display:block;font:500 clamp(28px,3.2vw,44px)/1.08 Georgia,serif;margin:14px 0}

.kb-shelf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.kb-product-card > a { display: block; color: inherit; }
.kb-product-card { border-radius: 18px; }
.kb-card-copy h3 { overflow-wrap: anywhere; }
.kb-guide-link > div { max-width: 64ch; }
.kb-pad-direction { margin: 8px 16px 12px !important; }
.kb-feature .editorial-photo img { height: 100%; }
.kb-feature figcaption { padding: 9px 7px 0; }
.kb-compare caption { caption-side: top; }
@media (max-width:720px) {
  .kb-shelf-grid,.kb-product-summary,.kb-examples,.kb-feature { grid-template-columns:1fr; }
  .kb-feature { gap: 16px; padding-block: 24px; }
  .kb-compare :is(td,th) { padding: 11px 7px; font-size: 14px; overflow-wrap:anywhere; }
  .kb-compare th:first-child { width: 18%; }
  .kb-compare thead small { font-size: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  .kb-texture--pad span { transition: none; }
}
