/*
Theme Name: VapeVisa Editorial
Theme URI: https://vapevisa.com
Author: VapeVisa
Author URI: https://vapevisa.com
Description: Publication theme for VapeVisa. Market-access research for the global vaping industry. Information for business research, not legal advice.
Version: 2.1.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vapevisa-editorial
*/

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --ink: #212121;
  --teal: #0070ae;
  --paper: #ffffff;
  --wash: #f5f5f5;
  --line: #dddddd;
  --muted: #6f6f6f;
  --title: #0059E5;
  --serif: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mast: 3.25rem;
  --measure: 39.125rem;
  --page: 72rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--utility, 36.39px) + 0.75rem); overflow-anchor: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.ed-skip {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.7rem;
}
.ed-skip:focus { transform: none; z-index: 5; }

.ed-wrap { width: min(var(--page), calc(100% - 2rem)); margin-inline: auto; }

.ed-mast {
  position: relative;
  z-index: 20;
  background: var(--paper);
  overflow-anchor: none;
}
.ed-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 1.25rem;
  padding: 0.85rem 0 0.55rem;
}
.ed-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: 0.85rem;
  row-gap: 0.35rem;
  min-width: 0;
}
.ed-publine {
  flex: 0 0 auto;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}
.ed-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.55rem; }
.ed-rss {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.ed-rss svg { display: block; }
.ed-navband {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.ed-navband .ed-primary a,
.ed-navband .ed-sub-toggle {
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  font: inherit;
  font-weight: 650;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
.ed-disclose {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  vertical-align: middle;
}
.ed-sub-toggle[aria-expanded="true"] .ed-disclose,
.ed-contents[open] > summary .ed-disclose,
.ed-siblings-fold[open] > summary .ed-disclose {
  transform: translateY(0.12rem) rotate(225deg);
}
.ed-contents > summary,
.ed-siblings-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ed-navband .ed-primary a:hover,
.ed-navband .ed-sub-toggle:hover {
  color: var(--teal);
  background: transparent;
  text-decoration: none;
}
.ed-navband .ed-primary a[aria-current="page"],
.ed-navband .ed-primary a[aria-current="location"],
.ed-navband .ed-sub-toggle[aria-current="page"],
.ed-navband .ed-sub-toggle[aria-current="location"] {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  text-decoration-line: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-skip-ink: none;
}
.ed-navband .ed-primary a[aria-current="page"]:hover,
.ed-navband .ed-primary a[aria-current="location"]:hover,
.ed-navband .ed-sub-toggle[aria-current="page"]:hover,
.ed-navband .ed-sub-toggle[aria-current="location"]:hover {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: var(--teal);
}
.ed-navband .ed-primary a:focus-visible,
.ed-navband .ed-sub-toggle:focus-visible,
.ed-navband .ed-sub a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.ed-has-sub { position: relative; }
.ed-sub {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 16rem;
  margin: 0;
  padding: 0.35rem 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.ed-sub[hidden] { display: none; }
.ed-navband .ed-sub a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.2rem 0.9rem;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  box-shadow: none;
}
.ed-navband .ed-sub a,
.ed-navband .ed-sub a[aria-current="page"],
.ed-navband .ed-sub a[aria-current="location"] {
  color: var(--ink);
  box-shadow: none;
}
.ed-navband .ed-sub a[aria-current="page"],
.ed-navband .ed-sub a[aria-current="location"] {
  color: var(--teal);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  box-shadow: none;
}
.ed-section ul,
.ed-siblings ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 0.85rem;
  padding: 0;
  list-style: none;
}
.ed-section li,
.ed-siblings li { margin: 0; padding: 0; list-style: none; }
.ed-section a,
.ed-siblings a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}
.ed-section a[aria-current="page"],
.ed-section a[aria-current="location"] {
  background: var(--paper);
  border-color: var(--line);
  color: var(--teal);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  box-shadow: none;
}
.ed-section a:focus-visible,
.ed-siblings a:focus-visible,
.ed-share a:focus-visible,
.ed-share button:focus-visible,
.ed-rss:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ed-front-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.8fr);
  gap: 1.75rem;
  align-items: start;
}
.ed-latest { margin-bottom: 2.25rem; }
.ed-front-markets {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--wash);
}
.ed-front-markets h2 {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ed-front-markets ul { list-style: none; margin: 0; padding: 0; }
.ed-front-markets li {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.ed-front-markets li:last-child { border-bottom: 0; }
.ed-front-region { font-weight: 700; text-decoration: none; }
.ed-front-markets li a:last-child { color: var(--ink); text-decoration: none; }
.ed-front-markets li a:last-child:hover { text-decoration: underline; }
.ed-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin: 0.7rem 0 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ed-share-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.ed-share-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ed-share-status {
  flex-basis: 100%;
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.92rem;
  font-weight: 650;
}
.ed-share a,
.ed-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.ed-share svg { display: block; }
.ed-siblings-fold { margin: 0 0 0.85rem; }
.ed-siblings-fold > summary { display: none; }
.ed-siblings {
  margin: 0;
  padding: 0 0.65rem 0.55rem;
  border: 1px solid var(--line);
}
.ed-siblings .ed-rail-label {
  margin: 0 -0.65rem 0.45rem;
  padding: 0.4rem 0.65rem;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.ed-siblings ul { display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem; margin: 0; }
.ed-siblings a { justify-content: flex-start; }
.ed-siblings a[aria-current="page"],
.ed-siblings a[aria-current="location"] {
  background: #e7f3f2;
  border-color: var(--teal);
  color: var(--teal);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--teal);
}
.ed-contents {
  border: 1px solid var(--line);
  padding: 0 0.65rem 0.45rem;
}
.ed-contents summary { background: var(--wash); margin: 0 -0.65rem; padding: 0.45rem 0.65rem; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ed-mast-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  min-height: var(--mast);
}
.ed-brand { display: flex; flex: 0 0 auto; }
.ed-brand img { display: block; width: 11.5rem; height: auto; }
.ed-primary { margin-left: auto; }
.ed-primary ul,
.ed-regions ul,
.ed-footer-nav ul,
.ed-results,
.ed-library ol,
.ed-related ul,
.ed-taglist ul,
.ed-topics,
.ed-contents ol,
.ed-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-crumb a { color: var(--teal); text-decoration: none; }
.ed-crumb a:hover { text-decoration: underline; text-underline-offset: 0.12em; }
.ed-primary a,
.ed-regions a,
.ed-search-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}
.ed-primary a[aria-current="page"],
.ed-regions a[aria-current="page"],
.ed-primary a[aria-current="location"],
.ed-regions a[aria-current="location"] {
  color: var(--teal);
  text-decoration-line: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.28em;
  box-shadow: none;
}
.ed-primary a:focus-visible,
.ed-regions a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ed-search { display: flex; gap: 0.35rem; }
.ed-search input,
.ed-search button {
  font: inherit;
  min-height: 2.25rem;
}
.ed-search input {
  width: 11rem;
  border: 1px solid var(--line);
  padding: 0 0.6rem;
  background: var(--paper);
  color: var(--ink);
}
.ed-search button {
  border: 1px solid var(--teal);
  background: var(--paper);
  color: var(--teal);
  padding: 0 0.7rem;
  font-weight: 650;
  cursor: pointer;
}
.ed-search button:hover {
  background: var(--teal);
  color: #fff;
}
.ed-search input:focus-visible,
.ed-search button:focus-visible,
.ed-search-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ed-pager {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.7rem 0 0;
  border-top: 1px solid var(--line);
}
.ed-pager ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.1rem;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-pager li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-pager a,
.ed-pager span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.45rem;
  background: transparent;
  color: var(--ink);
  font-size: 1em;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}
.ed-pager a.prev,
.ed-pager a.next { padding: 0.65rem 0.7rem; }
.ed-pager span.current {
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: default;
}
.ed-pager span.dots {
  min-width: 1.5rem;
  padding: 0.65rem 0.15rem;
  background: transparent;
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
}
.ed-pager a:hover { color: var(--teal); }
.ed-pager a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ed-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.ed-regions {
  border-top: 1px solid var(--line);
  padding: 0.15rem 0;
}
.ed-regions a { min-height: 2rem; }

.ed-front { width: min(var(--page), calc(100% - 2rem)); margin: 1.25rem auto 3rem; }
.ed-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}
.ed-kicker h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ed-all {
  font-weight: 650;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
}
.ed-lead h2,
.ed-next h2,
.ed-guide h2,
.ed-results h2,
.ed-related a,
.ed-shelf-head h2 {
  font-family: var(--sans);
  margin: 0.15rem 0;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ed-lead h2 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); max-width: 38rem; }
.ed-lead h2 a,
.ed-next h2 a,
.ed-guide h2 a,
.ed-results h2 a,
.ed-shelf-head h2 a { color: var(--ink); text-decoration: none; }
.ed-lead h2 a:hover,
.ed-next h2 a:hover,
.ed-guide h2 a:hover,
.ed-results h2 a:hover { text-decoration: underline; text-underline-offset: 0.12em; }
.ed-lead p,
.ed-next p,
.ed-guide p { margin: 0.35rem 0 0; max-width: 40rem; }
.ed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.7rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.ed-meta a { color: var(--teal); }
.ed-next { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.ed-next article {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.2rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.ed-next h2 { font-size: 1.28rem; }
.ed-next .ed-meta { grid-column: 1; }
.ed-next h2,
.ed-next article > p { grid-column: 2; }
.ed-guides {
  margin-top: 2rem;
  padding: 1rem 1.1rem 0.4rem;
  background: var(--wash);
}
.ed-guides > h2 {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ed-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
.ed-guide { padding-bottom: 0.9rem; }
.ed-guide h2 { font-size: 1.15rem; }

.ed-page { width: min(var(--page), calc(100% - 2rem)); margin: 0.85rem auto 3rem; }
.ed-page > h1,
.ed-read h1 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--sans);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
}
.ed-dek { margin: 0 0 0.55rem; max-width: 40rem; color: var(--muted); }
.ed-library { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; align-items: start; }
.ed-shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.ed-shelf-head h2 { font-family: var(--sans); font-size: 1.2rem; font-weight: 700; }
.ed-scope { margin: 0.2rem 0 0.4rem; color: var(--muted); }
.ed-library ol { display: block; border-top: 1px solid var(--line); }
.ed-library li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.ed-library time { color: var(--muted); font-size: 0.9rem; }
.ed-library li a {
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.3;
  text-decoration: none;
}
.ed-library li a:hover { text-decoration: underline; }
.ed-results { display: block; border-top: 1px solid var(--line); }
.ed-results li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.ed-results:has(+ .ed-pager) > li:last-child { border-bottom: 0; }
.ed-results h2 { font-size: 1.28rem; }
.ed-empty {
  margin: 0.5rem 0 1rem;
  max-width: 36rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
}
.ed-leave { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

.ed-read {
  width: min(var(--page), calc(100% - 2rem));
  margin: 1rem auto 3rem;
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(18rem, 1fr);
  column-gap: 2.5rem;
  align-items: start;
}
.ed-read-head,
.ed-prose,
.ed-read-foot { grid-column: 1; max-width: 75ch; }
.ed-rail {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  min-width: 0;
}
.ed-prose { font-size: 1.05rem; line-height: 1.65; }
.ed-prose h2 { font-family: var(--serif); font-size: 1.45rem; font-weight: 560; margin: 1.6rem 0 0.4rem; scroll-margin-top: 4.75rem; }
.ed-prose h3 { font-size: 1.05rem; margin: 1.2rem 0 0.3rem; scroll-margin-top: 4.75rem; }
.ed-prose a { color: var(--teal); }
.ed-contents summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  min-height: 2.5rem;
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid var(--line);
}
.ed-contents summary::-webkit-details-marker { display: none; }
.ed-contents-short { display: none; }
.ed-h2-line { display: flex; align-items: flex-start; gap: 0.25rem; }
.ed-h2-line > a { flex: 1 1 auto; min-width: 0; padding: 0.3rem 0; text-decoration: none; }
.ed-more {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  margin-top: 0.2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ed-more span {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  margin: 0.55rem auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.ed-more[aria-expanded="true"] span { transform: rotate(225deg); margin-top: 0.75rem; }
.ed-h3 a { display: block; padding: 0.2rem 0 0.2rem 0.8rem; color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.ed-contents a[aria-current="true"] {
  color: var(--teal);
  font-weight: 700;
  box-shadow: inset 2px 0 0 var(--teal);
}
.ed-contents { padding-bottom: 0.75rem; }
.ed-rail-label {
  margin: 1rem 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ed-topics { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.ed-topics a,
.ed-taglist a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.92rem;
}
.ed-taglist ul { gap: 0.35rem; margin-top: 1rem; }
.ed-related { margin-top: 1.5rem; }
.ed-related h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ed-related ul { display: block; margin: 0.4rem 0 0; padding: 0; list-style: none; }
.ed-related li + li { margin-top: 0.35rem; }
.ed-back { font-weight: 650; color: var(--teal); }
.ed-note { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.92rem; }

.ed-table { margin: 0 0 1rem; max-width: 100%; }
.ed-table-scroll { overflow-x: auto; max-width: 100%; }
.ed-table-hint { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.85rem; }
.ed-prose table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  border-collapse: collapse;
}
.ed-prose th,
.ed-prose td {
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0.55rem;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ed-foot {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 0.9rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.ed-foot a { color: var(--teal); }
.ed-foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: baseline;
}
.ed-foot-name { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; text-decoration: none; }
.ed-top {
  position: fixed;
  z-index: 30;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.ed-top:not([hidden]) { display: inline-flex; }
.ed-top[hidden] { display: none; }
.ed-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 800px) {
  html { scroll-padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
  body::after {
    content: "";
    position: fixed;
    z-index: 25;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(3.5rem + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
    pointer-events: auto;
  }
  .ed-top { bottom: max(0.4rem, env(safe-area-inset-bottom)); }
}
.ed-foot .ed-disclaimer { flex-basis: 100%; margin: 0.2rem 0 0; }

@media (max-width: 800px) {
  .ed-read { grid-template-columns: minmax(0, 1fr); }
  .ed-read-head,
  .ed-prose,
  .ed-read-foot,
  .ed-table,
  .ed-table-scroll { min-width: 0; max-width: 100%; }
  .ed-read-head { grid-row: 1; }
  .ed-rail { display: contents; }
  .ed-contents { grid-row: 2; }
  .ed-prose { grid-row: 3; }
  .ed-read-foot { grid-row: 4; }
  .ed-rail-rest { display: none; }
  .ed-contents-wide { display: none; }
  .ed-contents-short { display: inline; }
  .ed-contents summary { border: 1px solid var(--line); padding: 0.55rem 0.7rem; }
  .ed-sub {
    position: static;
    width: auto;
    margin: 0 0.75rem 0.45rem;
    border: 0;
    border-left: 3px solid #d7efe9;
    background: #fff;
  }
  .ed-guides-grid,
  .ed-next article,
  .ed-library { grid-template-columns: 1fr; }
  .ed-front-top { grid-template-columns: 1fr; }
  .ed-library li { grid-template-columns: 1fr; }
  .ed-next .ed-meta,
  .ed-next h2,
  .ed-next article > p { grid-column: 1; }
  .ed-has-sub:has(.ed-sub:not([hidden])) { flex-basis: 100%; }
  .ed-search-toggle { display: inline-flex; }
  .ed-mast .ed-search { display: none; }
  .ed-identity:has(#ed-mast-search.is-open) {
    grid-template-columns: minmax(0, 1fr);
  }
  .ed-identity:has(#ed-mast-search.is-open) .ed-lockup,
  .ed-identity:has(#ed-mast-search.is-open) .ed-tools {
    grid-column: 1;
    grid-row: auto;
    width: auto;
    max-width: 100%;
    height: auto;
  }
  .ed-identity:has(#ed-mast-search.is-open) .ed-tools { width: 100%; }
  .ed-mast .ed-search.is-open {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    order: 3;
  }
  .ed-mast .ed-search.is-open input { flex: 1 1 auto; width: auto; min-width: 0; }
  .ed-mast-row { gap: 0.65rem; }
  .ed-primary { margin-left: 0; }
  .ed-brand img { width: 6.4rem; }
  .ed-regions a,
  .ed-primary a { min-height: 2.15rem; }
  .ed-lead h2 { font-size: 1.45rem; }
  .ed-next h2,
  .ed-results h2,
  .ed-library li a { font-size: 1.15rem; }
  .ed-front-markets li { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (max-width: 420px) {
  .ed-wrap,
  .ed-front,
  .ed-page,
  .ed-read { width: min(var(--page), calc(100% - 1.25rem)); }
}
