/* ==========================================================================
   StudyKit design layer 2026 — part 2: header, breadcrumbs, hub cards,
   guides/articles, footer.
   --------------------------------------------------------------------------
   Part 1 (design-2026.css) sets the tokens, the type scale, the buttons and the
   form controls. This file takes the four surfaces that were left untouched, each
   with the measurement that justified the change.
   ========================================================================== */

/* 10. Header and navigation -------------------------------------------------
   Measured live: nav links 14px/500 with 28px vertical padding and a 10px corner
   radius, inside a 77px bar with no bottom hairline. Ten pixels is a radius from
   the old vocabulary; nothing else on the site uses it. */
.ct-header, header.ct-header {
  border-bottom: 1px solid var(--sk26-hairline);
  box-shadow: none !important;
  background-color: var(--sk26-canvas);
}

.ct-header .ct-menu-link, header .ct-menu-link {
  font-family: var(--sk26-sans) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--sk26-iron) !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ct-header .ct-menu-link:hover, header .ct-menu-link:hover {
  background-color: var(--sk26-linen) !important;
  color: var(--sk26-ink) !important;
}

.ct-header .current-menu-item > .ct-menu-link,
.ct-header .ct-menu-link[aria-current="page"] {
  color: var(--sk26-accent) !important;
  font-weight: 600 !important;
}

/* Mobile menu and search toggles join the 44px control grid. */
.ct-header [data-id="menu"], .ct-header .ct-toggle,
button.ct-toggle-menu, button.ct-toggle-search {
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 4px !important;
}

/* 11. Breadcrumbs ----------------------------------------------------------
   The container was 13px while its links rendered at 16.32px, and the links
   carried a 3px radius, so the trail read as a row of buttons rather than a path. */
.sk-crumbs, .sk-crumbs ol, .sk-crumbs li {
  font-size: 0.8125rem !important;
  line-height: 1.4;
}

.sk-crumbs { padding: 12px 0 !important; color: var(--sk26-muted); }

.sk-crumbs a {
  font-size: 0.8125rem !important;
  color: var(--sk26-graphite) !important;
  text-decoration: none;
  border-radius: 0 !important;
  padding: 0 !important;
}

.sk-crumbs a:hover { color: var(--sk26-accent) !important; text-decoration: underline; }
.sk-crumbs li + li::before, .sk-crumbs .sep { color: var(--sk26-stone) !important; }
.sk-crumbs [aria-current="page"] { color: var(--sk26-ink) !important; font-weight: 500; }

/* 12. Hub cards ------------------------------------------------------------
   Each tool is an <a class="sk-services-card"> holding a category line, an index
   number, an h3, a sentence and an action line. They were borderless, so the grid
   read as a run of paragraphs with nothing to aim at. */
.sk-services-grouphead {
  font-family: var(--sk26-sans) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--sk26-muted) !important;
  margin: var(--sk-space-7) 0 var(--sk-space-3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sk-services-groupcount {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: var(--sk26-graphite) !important;
  background: var(--sk26-linen);
  border: 1px solid var(--sk26-hairline);
  border-radius: 4px;
  padding: 1px 7px;
}

.sk-services-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  background-color: var(--sk26-surface) !important;
  border: 1px solid var(--sk26-hairline) !important;
  border-radius: var(--sk26-radius-card) !important;
  padding: 18px 20px 16px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: border-color 0.15s ease;
}

.sk-services-card:hover { border-color: var(--sk26-accent) !important; }

.sk-services-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.sk-services-category {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase;
  color: var(--sk26-muted) !important;
}

.sk-services-index {
  font-family: var(--sk26-sans) !important;
  font-size: 0.6875rem !important;
  font-variant-numeric: tabular-nums;
  color: var(--sk26-stone) !important;
}

.sk-services-card h3, .sk-services-card h2 {
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  color: var(--sk26-ink) !important;
  margin: 2px 0 0 !important;
}

.sk-services-card p {
  font-size: 0.9375rem !important;
  line-height: 1.55 !important;
  color: var(--sk26-graphite) !important;
  margin: 0 !important;
}

.sk-services-card-action {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--sk26-accent) !important;
}

.sk-services-card:hover .sk-services-card-action {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sk-services-grid { gap: 16px !important; align-items: stretch; }

/* 13. Guides and articles -------------------------------------------------- */
.sk-article, .entry-content { font-size: 1.0625rem; }

.sk-article p, .sk-article li,
.entry-content > p, .entry-content > ul li, .entry-content > ol li { max-width: 72ch; }

.sk-article h2, .entry-content h2 {
  margin-top: var(--sk-space-7) !important;
  margin-bottom: var(--sk-space-3) !important;
}

.sk-article h3, .entry-content h3 {
  margin-top: var(--sk-space-6) !important;
  margin-bottom: var(--sk-space-2) !important;
}

.sk-article img, .entry-content img,
.sk-article figure, .entry-content figure { border-radius: var(--sk26-radius-card); }

.sk-article figcaption, .entry-content figcaption {
  font-size: 0.8125rem;
  color: var(--sk26-muted);
  margin-top: 8px;
}

.sk-article blockquote, .entry-content blockquote {
  margin: var(--sk-space-5) 0;
  padding: 14px 18px;
  border-left: 3px solid var(--sk26-accent);
  background: var(--sk26-linen);
  border-radius: 0 var(--sk26-radius-card) var(--sk26-radius-card) 0;
  color: var(--sk26-iron);
}

.sk-article blockquote p:last-child,
.entry-content blockquote p:last-child { margin-bottom: 0; }

.sk-article hr, .entry-content hr {
  border: 0;
  border-top: 1px solid var(--sk26-hairline);
  margin: var(--sk-space-7) 0;
}

/* "Back to the tool" is a control, not a sentence. */
.sk-back-to-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--sk26-stone) !important;
  border-radius: 4px !important;
  background: var(--sk26-surface) !important;
  color: var(--sk26-ink) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.sk-back-to-tool:hover {
  border-color: var(--sk26-accent) !important;
  color: var(--sk26-accent) !important;
}

/* 14. Footer ---------------------------------------------------------------
   Column headings rendered at 28.64px — the h2 display size — so four column
   titles competed with the page's own h2s. */
.sk-footer, .ct-footer {
  border-top: 1px solid var(--sk26-hairline) !important;
  background-color: var(--sk26-linen) !important;
  color: var(--sk26-graphite) !important;
  padding-top: var(--sk-space-7);
}

.sk-footer__head {
  font-family: var(--sk26-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--sk26-muted) !important;
  margin: 0 0 12px !important;
}

.sk-footer a, .ct-footer a {
  font-size: 0.9375rem !important;
  color: var(--sk26-iron) !important;
  text-decoration: none;
}

.sk-footer a:hover, .ct-footer a:hover {
  color: var(--sk26-accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sk-footer__mark { font-weight: 600 !important; color: var(--sk26-ink) !important; }
.sk-footer__col { min-width: 0; }
.sk-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.sk-footer__base {
  border-top: 1px solid var(--sk26-hairline);
  margin-top: var(--sk-space-6);
  padding: var(--sk-space-4) 0 var(--sk-space-5);
  font-size: 0.8125rem !important;
  color: var(--sk26-muted) !important;
}

@media (max-width: 640px) {
  .sk-services-grid { gap: 12px !important; }
  .sk-services-card { padding: 16px !important; }
  .sk-footer { padding-top: var(--sk-space-6); }
}

/* 12b. Path columns ---------------------------------------------------------
   The "start from what you have" rows are open columns under a hairline rule.
   Measured: titles all start at 1582px, but the body text started 36px lower in
   the column whose title wrapped to two lines, so the row read ragged. Holding
   the title to two lines levels the bodies without boxing the columns in. */
@media (min-width: 900px) {
  .sk-services-path article > h2 { min-height: 2.5em; }
}

/* 12c. Step numerals --------------------------------------------------------
   Measured on the home page: the numbered steps rendered "01" at 10.56px in
   ui-monospace — the same monospace costume the eyebrows wore, at a size below
   the readable floor. Numerals are data, so they keep tabular figures, but in
   the one family at a size a person can read. */
.start__idx, .sk-services-index, .sk-step-index, .steps__idx {
  font-family: var(--sk26-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  color: var(--sk26-muted) !important;
}

/* The trail ran past the viewport at 390px instead of wrapping — it scrolled
   inside its own container, which hides the end of the path on a phone. */
.sk-crumbs ol {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sk-crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }

/* Measured at 390px: the trail sat at left=20 with width=390, so its right edge
   landed 20px past the viewport — the element was sized against the viewport
   inside a padded container rather than against the container itself. */
.sk-crumbs {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ==========================================================================
   15. No search in the header (requested 2026-11-26)
   --------------------------------------------------------------------------
   The header carried an Ajax Search Lite widget inside a widget area
   (div.asl_w_container inside .entry-content.is-layout-flow). Hidden rather than
   dequeued, so the plugin keeps working everywhere else and nothing that depends
   on it changes.

   Scoped to the header on purpose: the home hero search and the in-page searches
   are separate instances and stay. To bring the header search back, delete this
   block.
   ========================================================================== */
header .asl_w_container,
header .asl_w,
.ct-header .asl_w_container,
.ct-header .asl_w {
  display: none !important;
}

/* The widget area itself would otherwise leave an empty column and a gap where the
   field used to sit. */
header .entry-content.is-layout-flow:has(.asl_w_container),
header [data-id="widget-area-1"]:has(.asl_w_container),
header .ct-widget:has(.asl_w_container) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   16. The hero claim line removed (requested 2026-11-26)
   --------------------------------------------------------------------------
   "46 free tools · no account · nothing uploaded" sat above the h1 as
   <p class="eyebrow"> inside .hero__copy.

   Scoped to the hero on purpose: .eyebrow is also used for four section labels on
   the same page ("Start here", "The tool index", "The file's journey", "The
   limits"), which are structure and stay. Measured before removing: five .eyebrow
   elements on the home page, only the first one parented by .hero__copy.
   ========================================================================== */
.hero__copy > .eyebrow,
.hero .hero__copy > .eyebrow {
  display: none !important;
}

/* 14b. Footer dead space ----------------------------------------------------
   Measured: the footer was 501px tall with a ~100px blank band above its first
   column, and a further ~93px of nothing between the last column and the base
   rule. Cause: padding-top was set on BOTH .ct-footer and .sk-footer (48px each,
   96px total) and the base row carried a 32px top margin. A footer is a closing
   block, not a section. */
.ct-footer { padding-top: 0 !important; }
.sk-footer { padding-top: 32px !important; }
.sk-footer__base { margin-top: 20px !important; padding-top: 14px !important; }
.sk-footer__col ul { gap: 6px; }
.sk-footer__head { margin-bottom: 10px !important; }

/* The blank band was three paddings stacked: .sk-footer 32 (mine) + .sk-footer__top
   52 + a 44px bottom padding that pushed the base rule 64px below the columns.
   Measured: 85px of nothing above the first column and 64px below the last one. */
/* All three removed, per request: the footer's own top padding, the wrapper's top
   and bottom padding, and the base row's top margin. The only space left is the
   base row's 14px padding above its own rule, which is the divider gap rather than
   a stacked padding. */
/* Zeroing all three left the column headers flush against the top hairline, which
   reads as clipped rather than tidy (checked visually, not assumed). One padding
   survives -- 24px, on the outer element only, so nothing stacks. */
.sk-footer { padding-top: 24px !important; }
.sk-footer__top { padding-top: 0 !important; padding-bottom: 0 !important; }
/* The last 16px under the copyright line: measured as the only space between the
   text and the end of the document on every page. Removed so the page ends on the
   line itself; the base row keeps its 14px above its own rule. */
.sk-footer__base { margin-top: 0 !important; padding-top: 14px !important; padding-bottom: 0 !important; }

/* ==========================================================================
   17. Articles index, search results, 404
   --------------------------------------------------------------------------
   Measured: the articles index is ul.sk-article-index-list of plain links (li
   90px tall, 9px apart, no separator), search results are .tool__link rows 97px
   tall carrying border-radius 2px, and both the search and 404 utility links
   ("All 46 tools") render at 11.52px — below the readable floor.
   ========================================================================== */
ul.sk-article-index-list { list-style: none; margin: 0 0 24px; padding: 0; }

ul.sk-article-index-list li {
  margin: 0 !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--sk26-hairline);
}

ul.sk-article-index-list li:first-child { border-top: 1px solid var(--sk26-hairline); }

ul.sk-article-index-list a {
  font-size: 1rem !important;
  font-weight: 600;
  color: var(--sk26-ink) !important;
  text-decoration: none;
  padding: 0 !important;
}

ul.sk-article-index-list a:hover { color: var(--sk26-accent) !important; text-decoration: underline; text-underline-offset: 3px; }

ul.sk-article-index-list li p {
  font-size: 0.9375rem !important;
  color: var(--sk26-graphite);
  margin: 4px 0 0 !important;
  max-width: 78ch;
}

/* Search results behave like the hub cards: a row you can aim at, one radius. */
.tool__link {
  border-radius: 4px !important;
  border-bottom: 1px solid var(--sk26-hairline);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tool__link:hover { background-color: var(--sk26-linen); color: var(--sk26-accent) !important; }

/* The "All 46 tools" links are actions, not fine print. */
.skst__all, .sk404__all {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--sk26-accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skst__all:hover, .sk404__all:hover { text-decoration-thickness: 2px; }

/* Search results are an ordered list, so they read in order. Measured: ol.tool-list
   was a two-column grid of 538px tracks, which painted 01/03/05 down the left and
   02/04 down the right — an odd count therefore always left an orphan cell and a
   rule under nothing. One column, in document order, is what a results list is. */
ol.tool-list {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-width: 900px;
}

ol.tool-list > li { border-bottom: 1px solid var(--sk26-hairline); }
ol.tool-list > li:first-child { border-top: 1px solid var(--sk26-hairline); }

/* The row titles were set in the serif; nothing else on the page is. */
.tool__link, .tool__link * {
  font-family: var(--sk26-sans) !important;
}

.tool__link { padding: 14px 10px 14px 0 !important; }

/* ==========================================================================
   18. The white band above the footer
   --------------------------------------------------------------------------
   Measured before the footer: hub 152px, articles index 153px, 404 99px of nothing
   between the last content and the footer. Cause: two stacked bottom paddings --
   .entry-content.is-layout-constrained 72px and .ct-container-full 52px -- plus the
   footer's own 24px top padding, adding up to a white band that reads as a missing
   section rather than as breathing room.
   ========================================================================== */
.entry-content, .entry-content.is-layout-constrained {
  padding-bottom: 0 !important;
}

.ct-container-full {
  padding-bottom: 20px !important;
}

/* The 404 block carries its own 72px bottom padding. */
.skh.sk404 { padding-bottom: 20px !important; }

/* Related-guides strips already sit inside the content block, so their trailing
   margin is part of the same white band. */
nav.sk-related-guides { margin-bottom: 0 !important; }

/* ==========================================================================
   19. Search suggestions under the hero field
   --------------------------------------------------------------------------
   The form submits to /?s= as it always did; this is the panel that appears while
   typing. One connected box: the input and the list share a border and radius, so
   it reads as one control rather than a field with a floating menu.
   ========================================================================== */
form.hero__search { position: relative; }

.sk-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--sk26-surface);
  border: 1px solid var(--sk26-stone);
  border-radius: var(--sk26-radius-card);
  box-shadow: 0 12px 28px -16px rgba(16, 20, 24, 0.24);
  overflow: hidden;
}

.sk-suggest[hidden] { display: none; }

.sk-suggest__list {
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: 320px;
  overflow-y: auto;
}

.sk-suggest__item { margin: 0; }

.sk-suggest__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--sk26-radius);
  color: var(--sk26-ink) !important;
  font-size: 0.9375rem !important;
  text-decoration: none !important;
}

.sk-suggest__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sk-suggest__type {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sk26-muted);
}

.sk-suggest__item.is-active .sk-suggest__link,
.sk-suggest__link:hover {
  background: var(--sk26-linen);
  color: var(--sk26-accent) !important;
}

.sk-suggest__status {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid var(--sk26-hairline);
  font-size: 0.75rem;
  color: var(--sk26-muted);
}

.sk-suggest__status:empty { display: none; }

/* The magnifier is a submit button now, not decoration. */
form.hero__search .sk-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  margin: 0 6px 0 0;
  background: none;
  border: 0;
  border-radius: var(--sk26-radius);
  color: var(--sk26-graphite);
  cursor: pointer;
}

form.hero__search .sk-search-submit:hover { color: var(--sk26-accent); }
form.hero__search .sk-search-submit:focus-visible {
  outline: 2px solid var(--sk26-accent);
  outline-offset: 2px;
}
form.hero__search .sk-search-submit svg { display: block; pointer-events: none; }

/* The results page carries its own search field, pre-filled with the query. */
.skst__search {
  max-width: 520px;
  margin: 0 0 20px;
}

.skst__search .sk-suggest { text-align: left; }

/* ==========================================================================
   20. No search field in the home tool index (requested 2026-11-26)
   --------------------------------------------------------------------------
   The "All 46 tools" header carries an aside with a live count and a name filter
   (input#skh-tool-q). The filter is hidden; the count stays, and the filter's
   script keeps working on an input that is no longer visible -- so the chips above
   the grid still filter, and nothing breaks if this block is deleted.

   The sentence beside the heading still reads "Pick a category, or search by
   name", which is now half true. Change it only if you want to; it is content, not
   layout, so this block does not touch it.
   ========================================================================== */
.index__search { display: none !important; }

/* The aside is left holding one line, so keep it aligned with the heading block
   instead of stretching into the empty space. */
.index__aside { align-self: flex-start; }

/* ==========================================================================
   21. The favourites prompt is removed (requested 2026-11-26)
   --------------------------------------------------------------------------
   p.sk-fav-hint holds "Star a tool and it waits for you here. Browse the tools".
   It is hidden in the markup and revealed by script once the visitor has used a
   tool and starred nothing, so a plain display rule is what removes it -- the
   script can take the attribute off, it cannot beat !important.

   The favourites strip itself (div#sk-fav-strip) is untouched: starred tools still
   appear there once the visitor has any.
   ========================================================================== */
.sk-fav-hint { display: none !important; }

/* ==========================================================================
   22. Spacing scale
   --------------------------------------------------------------------------
   Measured across five page types, the vertical rhythm was made of one-offs:
   sections padded 96, 88, 32, 28 and 16px; h1 margins of 20, 26 and 40; paragraph
   margins of 5, 9, 10, 12, 14, 16, 20, 23 and 30; list items 9px apart in one place
   and 6px in another. None of it is wrong on its own; together it means no two
   screens share a rhythm.

   Below, every value lands on a 4/8 grid, and every one of them has one job:
     section padding   64px desktop / 40px phone
     h1 after          16px
     h2 around         40px above, 12px below
     h3 around         28px above, 8px below
     paragraphs        0 above, 16px below
     lists             0 above, 16px below, 8px between items
     tables/figures    24px above and below
   ========================================================================== */
:root {
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 28px;
  --sp-7: 40px;
  --sp-8: 64px;
}

/* Section rhythm ---------------------------------------------------------- */
.section, .sk-services-section, .skst__block, .sk-tool-section,
.sk-content-hub, .sk-fb, .sk-404 {
  padding-top: var(--sp-8) !important;
  padding-bottom: var(--sp-8) !important;
}

/* A section that follows another must not double the gap. */
.section + .section, .sk-tool-section + .sk-tool-section { padding-top: 0 !important; }

/* Headings ---------------------------------------------------------------- */
h1 { margin-bottom: var(--sp-4) !important; }

h2, .sk-content-hub h2, .sk-media-guide h2 {
  margin-top: var(--sp-7) !important;
  margin-bottom: var(--sp-3) !important;
}

h3, .sk-content-hub h3, .sk-media-guide h3 {
  margin-top: var(--sp-6) !important;
  margin-bottom: var(--sp-2) !important;
}

/* A heading at the top of a block needs no space above it. */
:is(.sk-article, .entry-content, .sk-tool-guide-body, .sk-content-hub, .sk-media-guide) > :is(h1, h2, h3):first-child {
  margin-top: 0 !important;
}

/* Prose ------------------------------------------------------------------- */
:is(.sk-article, .entry-content, .sk-tool-guide-body, .sk-content-hub, .sk-media-guide) p {
  margin-top: 0 !important;
  margin-bottom: var(--sp-4) !important;
}

:is(.sk-article, .entry-content, .sk-tool-guide-body, .sk-content-hub, .sk-media-guide) :is(ul, ol) {
  margin-top: 0 !important;
  margin-bottom: var(--sp-4) !important;
  padding-left: 1.25rem !important;
}

:is(.sk-article, .entry-content, .sk-tool-guide-body, .sk-content-hub, .sk-media-guide) li {
  margin-top: 0 !important;
  margin-bottom: var(--sp-2) !important;
}

:is(.sk-article, .entry-content, .sk-tool-guide-body, .sk-content-hub, .sk-media-guide) li > :is(p, ul, ol) {
  margin-bottom: 0 !important;
}

:is(.sk-article, .entry-content, .sk-tool-guide-body, .sk-content-hub, .sk-media-guide) :is(table, figure, blockquote) {
  margin-top: var(--sp-5) !important;
  margin-bottom: var(--sp-5) !important;
}

/* Cards and blocks -------------------------------------------------------- */
.sk-services-card, .sk-media-note, .sk-fb, .hero__sheet {
  padding: var(--sp-5) !important;
}

.sk-services-card { padding: var(--sp-4) var(--sp-5) !important; }

/* Wrappers ---------------------------------------------------------------- */
.wrap { padding-left: var(--sp-5) !important; padding-right: var(--sp-5) !important; }

@media (max-width: 900px) {
  .section, .sk-services-section, .skst__block, .sk-tool-section,
  .sk-content-hub, .sk-fb {
    padding-top: var(--sp-7) !important;
    padding-bottom: var(--sp-7) !important;
  }
  h2 { margin-top: var(--sp-6) !important; }
}

@media (max-width: 640px) {
  .wrap { padding-left: var(--sp-4) !important; padding-right: var(--sp-4) !important; }
}

/* The remaining stragglers came from component rules carrying their own weight:
   h2 margins of 48 and 14 survived a plain `h2` rule. Same values, deeper scope. */
html body :is(.section, .skst__block, .sk-tool-section, .sk-content-hub, .sk-media-guide,
  .sk-article, .entry-content, .sk-tool-guide-body) :is(h2) {
  margin-top: var(--sp-7) !important;
  margin-bottom: var(--sp-3) !important;
}

html body :is(.section, .skst__block, .sk-tool-section, .sk-content-hub, .sk-media-guide,
  .sk-article, .entry-content, .sk-tool-guide-body) :is(h3) {
  margin-top: var(--sp-6) !important;
  margin-bottom: var(--sp-2) !important;
}

html body :is(.section, .skst__block, .sk-tool-section, .sk-content-hub, .sk-media-guide,
  .sk-article, .entry-content, .sk-tool-guide-body) :is(p) {
  margin-top: 0 !important;
  margin-bottom: var(--sp-4) !important;
}

/* Section intros sit directly under a heading, so they take the heading's space
   rather than adding a second gap. */
.section__intro, .sk-services-hero-copy, .hero__lede { margin-top: 0 !important; }

/* The home hero was the last section on its own scale: 88px above and 96px below,
   while every other section now runs at 64. Same rhythm as the rest. */
section.hero {
  padding-top: var(--sp-8) !important;
  padding-bottom: var(--sp-8) !important;
}

@media (max-width: 900px) {
  section.hero { padding-top: var(--sp-7) !important; padding-bottom: var(--sp-7) !important; }
}

/* ==========================================================================
   23. The timeline dots in the hero sheet are removed (requested 2026-11-26)
   --------------------------------------------------------------------------
   ol.sheet__path alternates three content rows with two li.sheet__route connector
   rows. Measured: each content row draws a 9x9 circle in #fbf8f2 through ::before,
   and each connector row a 5x5 dot in #c4b8a7. Both are gone, and the connector
   rows with them, so the three lines simply stack.

   The rows themselves are untouched: "Your device / 02:41", "This tab / works
   here", "Your download / you keep it" all keep their label and right-hand value.
   ========================================================================== */
.sheet__path li::before { display: none !important; }
.sheet__path li.sheet__route { display: none !important; }

.sheet__path {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* Hidden while the footer is on screen -- see design-2026.js. */
a.ct-back-to-top.sk-back-to-top-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px);
}

a.ct-back-to-top {
  right: 20px !important;
  bottom: 20px !important;
  border-radius: var(--sk26-radius) !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* The inline search on guide and tool pages was removed on request (2026-11-26).
   If it comes back, the rule it used was: .sk-inline-search { max-width: 520px;
   margin: 16px 0 40px; position: relative; } */

/* A reference page that expects to be cited says when it was last checked. */
.sk-cite {
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  color: var(--sk26-muted) !important;
  border-left: 3px solid var(--sk26-hairline);
  padding: 8px 0 8px 14px;
  margin: var(--sp-5) 0 !important;
  max-width: 72ch;
}

.sk-cite strong { color: var(--sk26-graphite); }

/* ==========================================================================
   24. Leftover glyphs from the previous design (audited 2026-11-26)
   --------------------------------------------------------------------------
   Every page type was scanned for decorative characters. What was found, and what
   each one is:

     span.tool__arrow  "↗"  x59  search results and hub rows   -> removed here
     span.start__arrow "↗"  x6   home "start from what you have" -> removed here
     .sk-footer__all   "→"  x8   footer link                    -> removed here
     .sk-footer__meta  "·"  x8   footer separator               -> comma, in PHP
     a.skst__all / .sk404__all  "All N tools ↗"                 -> text, in PHP

   Kept on purpose, because they are controls rather than decoration:
     span in .sk-fav-star  "☆"  the only way to favourite a tool
     button.btn-delete     "✕"  removes a course row
     .page-numbers.dots    "…"  pagination
   ========================================================================== */
.tool__arrow,
.start__arrow,
.sk-footer__all [aria-hidden="true"] {
  display: none !important;
}

/* ==========================================================================
   25. The home page's own palette, retuned at the token
   --------------------------------------------------------------------------
   The home section defines its own variables (.skh { --ink: #1b1713; ... }) so its
   text kept the previous design's warm black long after the rest of the site moved
   to #101418, and it drew two pieces of old-print texture: a dashed vertical spine
   down the timeline (.sheet__path::before) and dotted rules under each timeline row.

   Retuned at the variable rather than by overriding every element, because these
   variables are what the section actually paints from.
   ========================================================================== */
.skh {
  --ink: #101418 !important;
  --ink-2: #4a525c !important;
  --muted: #667080 !important;
  --rule: #e3e7ec !important;
  --rule-strong: #d5dae1 !important;
}

/* The dashed spine and the dotted row rules were the last of the old texture. */
.skh .sheet__path::before { display: none !important; }
.skh .sheet__path { padding-left: 0 !important; }
.skh .sheet__path li { border-bottom: 0 !important; }

/* Last four leftovers from the same sweep. */
.skh .sheet__spec > div { border-bottom: 0 !important; }
.sk-footer__base { border-top-color: var(--sk26-hairline) !important; }
.skh .start__name, .start__name {
  font-family: var(--sk26-sans) !important;
  font-style: normal !important;
}
li.menu-item { border-top-style: solid !important; }
form.hero__search kbd, kbd { border-radius: 4px !important; }
ul.sub-menu {
  box-shadow: 0 8px 24px -14px rgba(16, 20, 24, 0.28) !important;
  border-radius: var(--sk26-radius-card) !important;
}

/* The GPA result figure is .gpa-score, not one of the numeral classes covered
   earlier, so it was still set in the serif while the page around it was sans. */
.gpa-score, .sk-tool-score, .sk-score-value {
  font-family: var(--sk26-sans) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em !important;
}

/* The small coloured dot before a tool page's kicker label: decoration, like the
   hero eyebrow dot removed earlier. */
.sk-tool-kicker-dot { display: none !important; }

/* ==========================================================================
   26. The last page with the old ink (found by crawling all 245 URLs)
   --------------------------------------------------------------------------
   portrait-enhancer.css reads its ink from var(--sk-ink, #1b1713) and hardcodes
   #1b1713 on .sk-pt-button.secondary. Defining --sk-ink closes the token path for
   everything that reads it, and the explicit rule covers the three buttons that do
   not. This was the only page in the crawl with any wrong colour.
   ========================================================================== */
:root { --sk-ink: #101418; }

.sk-pt-button.secondary,
.sk-pt-button {
  color: var(--sk26-ink) !important;
}

/* The paste-a-link row on the video tools */
.sk-video-link {
  margin: var(--sp-4) 0 0;
}

.sk-video-link > label {
  display: block;
  font-size: 0.875rem !important;
  font-weight: 600;
  color: var(--sk26-graphite);
  margin-bottom: 6px;
}

.sk-video-link-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.sk-video-link-row input[type="url"] {
  flex: 1 1 auto;
  min-width: 0;
}

.sk-video-link-row .sk-video-button {
  flex: 0 0 auto;
  min-height: 44px;
}

.sk-video-link .sk-video-note {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .sk-video-link-row { flex-wrap: wrap; }
  .sk-video-link-row .sk-video-button { width: 100%; }
}

/* ==========================================================================
   Health articles
   The answer-first components: a visible byline, a contents list that is also
   the crawl path, one bold verdict per question, and one caveat where the
   claim is weakest. Same tokens as everything else; no new colour except the
   amber reserved for caveats, which is information rather than decoration.
   ========================================================================== */

.sk-byline {
  font-size: 13px;
  line-height: 1.5;
  color: var(--sk26-muted);
  margin: 0 0 var(--sk-space-3);
}

.sk-lede {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--sk26-iron);
  margin: 0 0 var(--sk-space-5);
}

.sk-toc {
  margin: var(--sk-space-4) 0 var(--sk-space-6);
  padding: 16px 20px;
  background: var(--sk26-linen);
  border: 1px solid var(--sk26-hairline);
  border-radius: var(--sk26-radius-card);
}

.sk-toc__head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sk26-muted);
  margin: 0 0 8px !important;
}

.sk-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sk-toc li { margin: 0 !important; }

.sk-toc a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  color: var(--sk26-iron);
  text-decoration: none;
  border-bottom: 1px solid var(--sk26-hairline);
}

.sk-toc li:last-child a { border-bottom: 0; }

.sk-toc a:hover,
.sk-toc a:focus-visible { color: var(--sk26-accent); }

.sk-verdict {
  margin: 0 0 var(--sk-space-4);
  padding: 12px 16px;
  border-left: 3px solid var(--sk26-accent);
  background: var(--sk26-accent-soft);
  border-radius: 0 var(--sk26-radius-card) var(--sk26-radius-card) 0;
}

.sk-verdict p {
  margin: 0 !important;
  font-size: 1.02rem;
  line-height: 1.55;
}

.sk-verdict strong { color: var(--sk26-ink); }

.sk-caveat {
  margin: var(--sk-space-5) 0;
  padding: 14px 18px;
  border-left: 3px solid #8a5a00;
  background: #fdf6e7;
  border-radius: 0 var(--sk26-radius-card) var(--sk26-radius-card) 0;
}

.sk-caveat p {
  margin: 0 !important;
  font-size: 15.5px;
  line-height: 1.55;
  color: #4a3a12;
}

.sk-caveat strong { color: #3d2f0c; }

.sk-timeline {
  margin: var(--sk-space-4) 0;
  padding-left: 16px;
  border-left: 1px solid var(--sk26-stone);
}

.sk-timeline dt {
  font-weight: 600;
  color: var(--sk26-ink);
  margin-top: 16px;
}

.sk-timeline dt:first-child { margin-top: 0; }

.sk-timeline dd {
  margin: 2px 0 0;
  color: var(--sk26-iron);
}

/* Comparison tables: scroll in their own box rather than push the page wide. */
.sk-tablewrap {
  margin: var(--sk-space-5) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--sk26-hairline);
  border-radius: var(--sk26-radius-card);
}

.sk-tablewrap table {
  margin: 0 !important;
  border: 0;
  min-width: 520px;
}

.sk-tablewrap caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--sk26-muted);
  padding: 12px 16px 0;
}

.sk-tablewrap thead th {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sk26-muted);
  background: var(--sk26-linen);
  font-weight: 700;
  white-space: nowrap;
}

.sk-tablewrap th,
.sk-tablewrap td {
  padding: 12px 16px;
  vertical-align: top;
  line-height: 1.5;
  border-bottom: 1px solid var(--sk26-hairline);
}

.sk-tablewrap tbody tr:last-child td { border-bottom: 0; }
