/* VapeVisa Editorial chrome: OAG typography, mast, navigation, search, and footer.
 * Body copy in templates still uses the theme article classes.
 */

:root {
  --ink: #212121;
  --teal: #0070ae;
  --teal-deep: #23406e;
  --nav: #23406e;
  --nav-text: #FFFFFF;
  --nav-open: #0070ae;
  --accent: #C45E2A;
  --paper: #FFFFFF;
  --sheet: #f5f5f5;
  --wash: #f5f5f5;
  --line: #dddddd;
  --muted: #6f6f6f;
  --title: #0059E5;
  --footer-ink: #2c3e50;
  --legal: #6f6f6f;
  --input-border: #cccccc;
  --input-color: #6f6f6f;
  --placeholder: #999999;
  --focus-border: #66afe9;
  --btn-bg: #e7e7e7;
  --btn-color: #333333;
  --btn-hover: #cecece;
  --btn-hover-border: #adadad;
  --serif: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 46rem;
  --toc: 16rem;
  --read-gap: 1.25rem;
  --read: calc(var(--measure) + var(--read-gap) + var(--toc));
  --page: 1170px;
  --gutter: 15px;
  --mast: 0px;
  --utility: 36.39px;
}

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

html {
  scroll-padding-top: calc(var(--utility) + 0.75rem);
  overflow-x: visible;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: #0070ae; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: #0070ae; }
h1, h2, h3, p, li { overflow-wrap: break-word; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 768px) {
  .wrap { width: 750px; }
}
@media (min-width: 992px) {
  .wrap { width: 970px; }
}
@media (min-width: 1200px) {
  .wrap { width: 1170px; }
}
.wrap.read {
  /* Same official measure as other pages (t224); inner article column still uses --measure. */
  width: 100%;
}
@media (min-width: 768px) {
  .wrap.read { width: 750px; }
}
@media (min-width: 992px) {
  .wrap.read { width: 970px; }
}
@media (min-width: 1200px) {
  .wrap.read { width: 1170px; }
}


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

/* ----- Header: five zones + continent bar ----- */

.mast {
  position: relative;
  z-index: 30;
  background: var(--sheet);
}

.mast-utility {
  position: sticky;
  top: 0;
  z-index: 31;
  background: #f5f5f5;
}

.mast-utility-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 555px;
  min-height: 36.39px;
  align-items: stretch;
  position: relative;
}
.mast-utility-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px #fff;
  pointer-events: none;
}

.mast-utility-end {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mast-head {
  background: #f5f5f5;
  border-top: 0;
}

.mast-grid {
  display: grid;
  /* Right cluster stays the official 555px width so the Search button
     and library links share one column end with the utility icons above. */
  grid-template-columns: minmax(0, 1fr) 555px;
  grid-template-rows: 145px;
  grid-template-areas: "brand end";
  column-gap: 0;
  row-gap: 0;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}

.publine {
  margin: 0;
  max-width: none;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--footer-ink);
  display: flex;
  align-items: center;
  padding: 3px 1rem 3px 0;
  position: relative;
  z-index: 1;
  min-width: 0;
  box-sizing: border-box;
}

.mast-end {
  grid-area: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 145px;
  column-gap: 0;
  row-gap: 0;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mast-icons {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  align-self: center;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 1.4em; /* 21px on the 15px body, official .social-network */
  line-height: 1;
  color: #2c3e50;
}
.mast-icons .mast-icon {
  display: inline-flex;
  align-items: center;
  color: #2c3e50;
  text-decoration: none;
  line-height: 1;
}
.mast-icons .mast-icon + .mast-icon { margin-left: 5.47px; }
.mast-icons .fa {
  display: inline-block;
  font-size: inherit;
  padding: 0 0 0 10px;
}
.mast-icons .mast-icon.is-pending {
  cursor: default;
}

.share--mast {
  grid-area: auto;
  justify-self: end;
  align-self: center;
  position: relative;
  gap: 0.1rem;
  flex: 0 0 auto;
  margin-left: auto;
}
.share--mast .share-status {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 0;
  min-height: 0;
  flex-basis: auto;
  white-space: nowrap;
}

.brand {
  grid-area: brand;
  color: inherit;
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  padding-right: 1rem;
  box-sizing: border-box;
}
.brand img {
  /* Natural VapeVisa wordmark: 13rem wide (~208×47 at 16px root; asset is 541×122).
     Row height stays 145px; do not scale the single-line mark to the official
     two-line name lockup (101.38px) or the 110×110 seal. max-width: 100% only
     shrinks the mark if the left column is narrower than 13rem. */
  width: 13rem;
  height: auto;
  max-width: 100%;
  display: block;
}

#mast-search {
  grid-row: 1;
  grid-column: 1 / -1;
  justify-self: stretch;
  align-self: start;
  width: 100%;
  /* Center the 39px form in the 145px brand row; do not include the
     library row in this height, and do not use official margin-top: 25px. */
  margin-top: 53px;
}
.library-links {
  grid-row: 1;
  grid-column: 1 / -1;
  justify-self: end;
  align-self: start;
  /* 53px (form offset) + 39px form + 15px official gap under search. */
  margin-top: 107px;
  min-height: 21px;
  align-items: center;
}

.search {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: 0;
  background: transparent;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  height: 39px;
  border: 1px solid #cccccc;
  border-radius: 0;
  background: #ffffff;
  padding: 0 12px;
  color: #6f6f6f;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.search-field:hover { border-color: #cccccc; }
.search-field:focus-within {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.search-field:has(input:not(:placeholder-shown)) {
  border-color: #cccccc;
}
.search-field:has(input:not(:placeholder-shown)):focus-within {
  border-color: #66afe9;
}
.search-icon,
.search-icon svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  color: #999999;
  pointer-events: none;
}
.search-field:focus-within .search-icon,
.search-field:focus-within .search-icon svg { color: #6f6f6f; }
.search-field input,
.search-field .submenu-filter {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 8px 0;
  color: #6f6f6f;
  box-shadow: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.search-field input:focus,
.search-field .submenu-filter:focus { outline: none; }
.search-field input::placeholder,
.search-field .submenu-filter::placeholder {
  color: #999999;
  opacity: 1;
}
.search-field input[type="search"]::-webkit-search-decoration,
.search-field input[type="search"]::-webkit-search-cancel-button,
.search-field input[type="search"]::-webkit-search-results-button {
  -webkit-appearance: none;
  appearance: none;
}

.search > .search-field { flex: 1 1 auto; }
.search > button[type="submit"] {
  appearance: none;
  box-sizing: border-box;
  height: 39px;
  border: 1px solid #cccccc;
  border-radius: 0;
  background: #e7e7e7;
  color: #333333;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}
.search > button[type="submit"]:hover,
.search > button[type="submit"]:focus-visible {
  color: #333333;
  background: #cecece;
  border-color: #adadad;
}
.search > button[type="submit"]:focus-visible {
  outline: 0;
  border-color: #8c8c8c;
}

.library-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  font-size: 0.875rem;
}
.library-links a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
.library-links a:hover { color: var(--ink); text-decoration: underline; }
.library-sep {
  margin: 0 0.55rem;
  color: var(--muted);
  font-weight: 400;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #23406e;
  cursor: pointer;
  padding: 0.35rem 0;
  text-transform: uppercase;
  font-weight: 500;
}

/* Continent bar: a continuous carrying surface. Open item reverses into the panel. */
.navband {
  position: relative;
  background: #23406e;
  border-color: #23406e;
  box-shadow: 0 5px 8px -6px #000;
  z-index: 26;
  /* Official: .navbar-default { font-size: 0.85em } on body 15px → 12.75px. */
  font-size: 0.85em;
}
.navband-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}
.nav { position: static; flex: 1 1 auto; min-width: 0; }

.nav-aux {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  margin-left: auto;
  /* Official: .navbar-nav { font-size: 1.2em } of 12.75px → 15.3px. */
  font-size: 1.2em;
}
.nav-aux ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-aux li {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-aux a {
  display: inline-flex;
  align-items: center;
  padding: 1.3em;
  color: #ffffff;
  font-family: var(--sans);
  font-size: inherit;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav-aux a:hover,
.nav-aux a:focus-visible {
  background: #fff !important;
  color: #23406e !important;
}

.primary {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  /* Official: .navbar-nav { font-size: 1.2em } of .navbar-default 0.85em → 15.3px. Home inherits this; it is not a special size. */
  font-size: 1.2em;
}
.primary > li,
.primary > .has-sub {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
}
.primary > .has-sub:has(> .submenu--wide) {
  position: static;
}

.primary > li > .menu-btn {
  appearance: none;
  background: transparent;
  border: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 21px;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  text-align: left;
  padding: 1.3em;
  min-height: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: none;
}

.primary > li > .menu-btn:hover,
.primary > li > .menu-btn:focus-visible {
  background: #fff !important;
  color: #23406e !important;
}

.primary > li > .menu-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.primary > li:not(.is-open) > .menu-btn[aria-current="location"],
.primary > li:not(.is-open) > .menu-btn[aria-current="page"] {
  background: #272727;
  color: #ffffff;
  box-shadow: none;
}

.primary > .is-open > .menu-btn,
.primary > .is-open > .menu-btn:hover,
.primary > .is-open > .menu-btn:focus-visible,
.primary > .is-open > .menu-btn[aria-current="location"],
.primary > .is-open > .menu-btn[aria-current="page"] {
  background: #fff !important;
  color: #0070ae !important;
  box-shadow: none;
  outline-color: #0070ae;
}

/* ----- Country panel ----- */

.submenu {
  position: absolute;
  left: 0;
  right: auto;
  top: 100%;
  width: max-content;
  max-width: min(1170px, calc(100vw - 30px));
  margin: 0;
  padding: 0;
  background: #fff;
  border: none;
  border-radius: 0;
  /* Official: .collapse ul { font-size: 1.2em } beats later-overridden .dropdown-menu 12px (higher specificity), 1.2em of 15.3px → 18.36px. */
  font-size: 1.2em;
  box-shadow: 0 6px 10px -6px #000;
  z-index: 32;
  min-width: 0;
  max-height: calc(100dvh - var(--mast) - 0.5rem);
  overflow-x: hidden;
  overflow-y: auto;
}
.submenu[hidden] { display: none !important; }
.submenu[data-cols="1"] { --submenu-cols: 1; }
.submenu[data-cols="2"] { --submenu-cols: 2; }
.submenu[data-cols="3"] { --submenu-cols: 3; }
.submenu[data-cols="4"] { --submenu-cols: 4; }
.submenu[data-cols="5"] { --submenu-cols: 5; }
.submenu--wide {
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
}
/* Figure 4 MEDIA panel: 263px, left-anchored to the tab, content-sized. */
.submenu--compact,
.submenu[data-cols="1"] {
  width: 263px;
  min-width: 263px;
  max-width: min(263px, calc(100vw - 30px));
}
.submenu[data-cols="3"] {
  width: min(46.75rem, calc(100vw - 30px));
}
.submenu[data-cols="4"]:not(.submenu--wide) {
  width: min(61.25rem, calc(100vw - 30px));
}
.submenu[data-cols="5"] {
  width: min(1170px, 72rem, calc(100vw - 30px));
}
.submenu-inner {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (min-width: 768px) {
  .submenu--wide > .submenu-inner { width: 750px; }
}
@media (min-width: 992px) {
  .submenu--wide > .submenu-inner { width: 970px; }
}
@media (min-width: 1200px) {
  .submenu--wide > .submenu-inner { width: 1170px; }
}
.submenu:not(.submenu--wide) > .submenu-inner {
  width: auto;
  max-width: 100%;
}
.submenu--compact > .submenu-inner {
  width: 100%;
  box-sizing: border-box;
  padding: 26px;
}

.submenu-tools {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto;
  grid-template-areas: "identity find ops";
  column-gap: 1rem;
  row-gap: 0;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: #fff;
  z-index: 1;
}

.submenu-identity {
  grid-area: identity;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0;
}

.submenu-region {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #23406e;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.submenu-find {
  grid-area: find;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  min-width: 0;
  padding: 0;
  border-top: 0;
}

.submenu-ops {
  grid-area: ops;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0 0 0 0.25rem;
  flex: 0 0 auto;
}

.submenu-index-label {
  margin: 0 0.35rem 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #23406e;
  white-space: nowrap;
}

.submenu-compact-ops {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  margin: 0.75rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.submenu--compact .submenu-grid,
.submenu[data-cols="1"] .submenu-grid {
  grid-template-columns: 1fr;
}
.submenu--wide .submenu-grid {
  grid-template-columns: repeat(4, minmax(11rem, 1fr));
}

.submenu-index,
.submenu-close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--teal-deep);
  cursor: pointer;
  text-decoration: none;
  flex: 0 0 44px;
  flex-shrink: 0;
  max-width: none;
}
.submenu-index svg,
.submenu-close svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  pointer-events: none;
}
.submenu-index + .submenu-close {
  margin-left: 0.15rem;
  border-left: 1px solid var(--line);
}
.submenu-index:hover,
.submenu-close:hover { background: var(--wash); color: var(--ink); }
.submenu-index:focus-visible,
.submenu-close:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 2px;
}

.submenu-clear {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--teal);
  cursor: pointer;
  padding: 0.15rem 0 0.15rem 0.35rem;
  margin-left: auto;
  white-space: nowrap;
  flex: 0 0 auto;
}
.submenu-clear:hover { color: var(--ink); }

.submenu-empty {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.submenu-grid {
  display: grid;
  grid-template-columns: repeat(var(--submenu-cols, 1), minmax(11rem, 1fr));
  gap: 0.7rem 1.4rem;
}
.submenu-group { margin: 0; min-width: 0; }
.submenu-label {
  margin: 0;
  font-family: var(--sans);
  /* Official last-wins: .mainNavbar h4 { font-size: 0.8em } over .dropdown-menu h4 1.2em; 0.8em of 18.36px → 14.688px. */
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
  color: #23406e;
  padding-left: 0;
  padding-top: 0.5em;
  padding-bottom: 0;
}
.submenu-group ul,
.submenu-topics ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.submenu-group ul { columns: 1; }
.submenu-group li { break-inside: avoid; margin: 0; }
.primary .submenu a:not(.submenu-index),
.submenu a:not(.submenu-index) {
  appearance: none;
  display: block;
  width: auto;
  min-height: 0;
  padding: 0.5em 0 0 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: #0070ae;
  text-align: left;
  text-decoration: none;
  justify-content: flex-start;
  box-shadow: none;
  white-space: normal;
  max-width: 100%;
}
.submenu a:not(.submenu-index):hover { color: #0070ae; text-decoration: underline; }
a.submenu-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  max-width: none;
  flex: 0 0 44px;
  flex-shrink: 0;
  text-decoration: none;
}
a.submenu-index:hover { text-decoration: none; }
.submenu a.is-topic { font-style: italic; font-weight: 500; color: var(--muted); }
.submenu a[aria-current="page"] {
  color: var(--teal-deep);
  font-weight: 650;
  box-shadow: none;
  text-decoration: underline;
}
.submenu-topics {
  margin: 0.7rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

/* ----- Page content ----- */

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.meta, .place, .when { font-size: 0.875rem; color: var(--muted); }

.section-title {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

main { padding: 1.6rem 0 3.5rem; }

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.58fr);
  gap: 2.25rem 3rem;
  align-items: start;
}
.home-primary, .home-rail { min-width: 0; }

.lead.well {
  background: transparent;
  border-left: 3px solid var(--accent);
  padding: 0.15rem 0 0.2rem 1.2rem;
  margin: 0 0 2.15rem;
}
.lead h1,
.page-head h1,
.read-head h1,
.ed-lead h1,
.ed-read-head h1,
.ed-page > h1,
.ed-page .page-head h1 {
  margin: 0 0 25px;
  padding-bottom: 9px;
  border-bottom: 1px solid #dddddd;
  font-family: var(--sans);
  font-size: calc(100% + 1vw + 1vh);
  font-weight: 700;
  line-height: 1.5;
  color: #0059E5;
}
.lead h1 a { color: inherit; text-decoration: none; }
.lead h1 a:hover { color: #0059E5; text-decoration: underline; }
.lead .meta { margin: 0 0 0.85rem; }
.lead .summary {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 42rem;
}

.recent { margin-top: 0; }
.recent .section-title { font-size: 1.15rem; }

.changes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.changes li {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  gap: 0.15rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.changes a.title {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.35;
}
.changes a.title:hover { color: var(--teal); }
.changes .place { display: block; margin-top: 0.12rem; font-size: 0.8125rem; }

.all-articles { margin: 0.85rem 0 0; }
.all-articles a { font-weight: 650; color: var(--teal); text-decoration: none; }
.all-articles a:hover { text-decoration: underline; color: var(--ink); }

.guides {
  background: transparent;
  padding: 0;
}
.guides .section-title { margin-bottom: 0.3rem; }
.guides-lede {
  margin: 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}
.guides-list { list-style: none; margin: 0; padding: 0; }
.guides-list li { margin: 0 0 1.25rem; padding: 0; }
.guides-list li:last-child { margin-bottom: 0; }
.guides-list .type {
  margin: 0 0 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.guides-list a {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
}
.guides-list a:hover { color: var(--teal); }
.guides-list .meta {
  display: block;
  margin: 0.2rem 0 0.35rem;
}
.guides-list .summary {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.page-head { margin-bottom: 1.15rem; }

.selected {
  background: transparent;
  padding: 0;
  border-top: 0;
  margin-bottom: 1.75rem;
}
.selected .section-title { margin-bottom: 0.55rem; }
.selected-list { list-style: none; margin: 0; padding: 0; }
.selected-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.selected-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}
.selected-list a:hover { color: var(--teal); }
.selected-list .meta { display: block; margin-top: 0.12rem; }


/* Markets overview and continent pages: same type system as the Europe menu,
   laid out as a page directory, not a dropdown toolbar. */
.place-directory {
  border-top: 1px solid var(--line);
}
.place-continent {
  padding: 1.35rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
}
.place-continent-title {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.place-continent-title a {
  color: inherit;
  text-decoration: none;
}
.place-continent-title a:hover { color: var(--teal); text-decoration: underline; }
.place-groups {
  display: grid;
  grid-template-columns: repeat(var(--place-cols, 4), minmax(10.5rem, 1fr));
  gap: 0.85rem 1.5rem;
}
.place-groups--cols-1 { --place-cols: 1; max-width: 16rem; }
.place-groups--cols-2 { --place-cols: 2; }
.place-groups--cols-3 { --place-cols: 3; }
.place-groups--cols-4 { --place-cols: 4; }
.place-groups--cols-5 { --place-cols: 5; }
.place-partition { margin: 0 0 1.5rem; }
.place-group ul,
.place-topics ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.place-group li,
.place-topics li { margin: 0; padding: 0.14rem 0; }
.place-group a,
.place-topics a {
  color: #0070ae;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.35;
}
.place-group a:hover,
.place-topics a:hover { color: #0070ae; text-decoration: underline; }
.place-topics { margin-top: 1rem; }

.region-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.continent-index {
  min-width: 0;
  align-self: start;
  height: auto;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.continent-index[open] { grid-column: 1 / -1; }
.continent-index > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 0.15rem;
}
.continent-index > summary::-webkit-details-marker { display: none; }
.continent-index h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 0;
  border: 0;
  color: var(--ink);
}
.continent-index .index-action {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--teal);
  flex: 0 0 auto;
}
.continent-index .index-close { display: none; }
.continent-index[open] .index-explore { display: none; }
.continent-index[open] .index-close { display: inline; }
.continent-index[open] > summary {
  border-bottom: 2px solid var(--teal);
  margin: 0 0 0.15rem;
  padding-bottom: 0.7rem;
}
.continent-index[open] > summary h2 { color: var(--teal); }
.continent-body { padding: 0.7rem 0 1.1rem; }
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.7rem 1.25rem;
}
.index-group h3,
.regional-topics h3 {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
}
.country-index {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.35;
}
.country-index li { margin: 0; padding: 0.14rem 0; }
.country-index a,
.topic-name a {
  color: inherit;
  text-decoration: none;
}
.country-index a:hover,
.topic-name a:hover { color: var(--teal); }
.country-index .has-research > a { font-weight: 650; color: var(--ink); }
.country-index .note-links,
.country-status {
  display: none;
  margin: 0.2rem 0 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}
.country-index li:target,
.country-index li.is-target,
.regional-topics:target,
.regional-topics.is-target {
  background: var(--wash);
  margin: 0 -0.25rem;
  padding: 0.2rem 0.25rem;
}
.country-index li:target .country-status,
.country-index li.is-target .country-status,
.country-index li:target .note-links,
.country-index li.is-target .note-links,
.regional-topics:target .country-status,
.regional-topics.is-target .country-status,
.regional-topics:target .note-links,
.regional-topics.is-target .note-links {
  display: block;
}
.regional-topics {
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.topic-name { margin: 0; font-style: italic; font-weight: 550; }
.topic-note { margin: 0.15rem 0 0; font-size: 0.75rem; color: var(--muted); }

.selected--compact {
  margin-top: 1.75rem;
  padding: 0.85rem 0 0;
  background: transparent;
  border-top: 1px solid var(--line);
}
.selected--compact .selected-list li:last-child { border-bottom: 0; }

/* ----- Article ----- */

.crumb { margin: 0 0 0.65rem; }
.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.crumb li:not(:last-child)::after { content: "/"; margin-left: 0.45rem; color: var(--muted); opacity: 0.45; }
.crumb a { color: var(--teal); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.read-head { max-width: none; }
.read-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--line);
}
.read-byline .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.canonical { font-size: 0.8125rem; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  font-size: 0.8125rem;
}
.tags a { color: var(--teal); text-decoration: none; }
.tags a:hover { text-decoration: underline; }

.share { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
.share a,
.share button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--teal);
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.share a:hover, .share button:hover { background: var(--wash); color: var(--ink); }
.share svg { display: block; width: 1.25rem; height: 1.25rem; }
.share--mast a,
.share--mast button {
  width: 2rem;
  height: 2rem;
  color: var(--teal-deep);
}
.share--mast a:hover,
.share--mast button:hover { background: var(--wash); color: var(--ink); }
.share--mast .share-status { min-width: 7rem; }
.share-status {
  margin: 0;
  font-size: 0.75rem;
  color: var(--accent);
  min-height: 1em;
  flex-basis: 100%;
}

.read-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) var(--toc);
  grid-template-areas: "prose contents";
  justify-content: space-between;
  column-gap: 2rem;
  align-items: start;
  margin-top: 1.15rem;
  width: 100%;
}
.prose { grid-area: prose; }
.contents { grid-area: contents; }

.contents {
  position: sticky;
  top: calc(var(--utility) + 0.75rem);
  align-self: start;
  min-width: 0;
  width: 100%;
  max-width: var(--toc);
  padding: 0.15rem 0 1rem;
  overflow: visible;
}
.contents > summary {
  list-style: none;
  cursor: pointer;
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.contents > summary::-webkit-details-marker { display: none; }
.contents > summary::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.12rem;
}
.contents[open] > summary::after { transform: rotate(225deg); margin-top: 0.12rem; }
.contents > ol {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  max-height: none;
}
.contents li { margin: 0; }
.contents a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.35;
  padding: 0.22rem 0 0.22rem 0.55rem;
  border-left: 2px solid transparent;
}
.contents a:hover { color: var(--teal); }
.contents a[aria-current="true"] {
  border-left-color: var(--accent);
  color: var(--teal);
  font-weight: 700;
}
.toc-sub { margin: 0 0 0.15rem 0.15rem; }
.toc-sub > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.15rem 0 0.15rem 0.55rem;
}
.toc-sub > summary::-webkit-details-marker { display: none; }
.toc-sub ol { list-style: none; margin: 0; padding: 0; }
.toc-sub a { padding-left: 1.05rem; color: var(--muted); font-weight: 400; }

.prose {
  min-width: 0;
  max-width: var(--measure);
  width: 100%;
  font-size: 1.0625rem;
  line-height: 1.68;
}
.prose h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.6rem 0 0.6rem;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.25rem 0 0.45rem;
}
.prose p { margin: 0 0 0.85rem; }
.prose blockquote {
  margin: 0 0 1rem;
  padding: 0.15rem 0 0.15rem 0.9rem;
  border-left: 2px solid var(--teal);
  color: var(--muted);
}
.prose ul, .prose ol { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.prose li { margin: 0.2rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.prose th, .prose td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.4rem 0.55rem 0.4rem 0;
  vertical-align: top;
}
.table-wrap { overflow-x: auto; margin: 0 0 1rem; max-width: 100%; }

/* Mast subscription (t227): disabled preview control only. */
.subscribe--mast {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.subscribe--mast .subscribe-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
}
.subscribe--mast .subscribe-form input {
  flex: 1 1 auto;
  box-sizing: border-box;
  width: auto;
  /* Open Sans 400 15px advance of the exact placeholder is 269.26px;
     plus 12px padding each side and 1px border each side (border-box) = 295.26px. */
  min-width: 296px;
  height: 39px;
  margin: 0;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  color: #6f6f6f;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-appearance: none;
  appearance: none;
}
.subscribe--mast .subscribe-form input:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.subscribe--mast .subscribe-form input::placeholder {
  color: #999999;
  opacity: 1;
}
.subscribe--mast .subscribe-form button {
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 39px;
  margin: 0;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #333333;
  background: #e7e7e7;
  border: 1px solid #cccccc;
  border-left: 0;
  border-radius: 0;
  white-space: nowrap;
}
.subscribe--mast .subscribe-form input:disabled,
.subscribe--mast .subscribe-form button:disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #ffffff;
}
.subscribe--mast .subscribe-form button:disabled {
  background: #e7e7e7;
}
.foot-inner { min-width: 0; }

.foot {
  margin-top: 45px;
  padding-top: 36px;
  padding-bottom: 36px;
  font-size: 1em;
  color: var(--ink);
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  width: 100%;
  position: relative;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-bottom: 1px solid #dedede;
  box-shadow: 0 2px #fff;
  margin-bottom: 25px;
  padding-bottom: 25px;
}
.foot-brand { min-width: 0; }
.foot-name {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1em;
  color: #2c3e50;
  line-height: 1.5em;
  margin-top: 8px;
  text-decoration: none;
  text-shadow: 0 1px #fff;
}
.foot-name:hover { color: #2c3e50; text-decoration: underline; }
.foot-tag {
  margin: 0.15rem 0 0;
  font-size: 0.85em;
  color: #2c3e50;
  line-height: 1.5;
  text-shadow: 0 1px #fff;
}
.search--foot {
  flex: 0 1 24rem;
  width: min(24rem, 100%);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 25%));
  justify-content: start;
  column-gap: 30px;
  margin: 0 0 25px;
  padding: 0;
}
.foot-col { min-width: 0; font-size: 1em; }
.foot-heading {
  margin: 20px 0 7px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1em;
  line-height: 1.5;
  color: #23406e;
  text-transform: uppercase;
  text-shadow: 0 1px #fff;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-col a {
  display: block;
  color: #2c3e50;
  font-size: 0.85em;
  text-shadow: 0 1px #fff;
  padding: 5px 0;
  text-decoration: none;
}
.foot-col a:hover,
.foot-col a:focus {
  background-color: #f5f5f5;
  text-decoration: underline;
  outline: none;
  color: #2c3e50;
}
.foot-legal {
  margin: 0;
}
.foot-legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 0.85em;
  color: #6f6f6f;
}
.foot-legal li { margin-bottom: 20px; }
.foot-legal a { color: #6f6f6f; text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }

.to-top {
  position: fixed;
  right: max(0.7rem, env(safe-area-inset-right));
  bottom: max(0.7rem, env(safe-area-inset-bottom));
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--sheet);
  color: var(--teal);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(21, 32, 51, 0.08);
  z-index: 20;
}
.to-top[hidden] { display: none; }

/* ----- Breakpoints ----- */

@media (min-width: 62rem) {
  .contents > summary { cursor: default; }
  .contents > ol { display: block; }
}

@media (max-width: 61.99rem) {
  .mast-utility {
    position: sticky;
    top: 0;
    z-index: 31;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
  }
  .mast-utility-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.3rem;
    min-height: 0;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
  .mast-utility-inner::after { display: none; }
  .mast-utility-end { display: contents; }
  /* Do not share one 2-column grid track between the logo and the tagline:
     that coupling squeezed both into a min-content column (~70px) and
     img { max-width: 100% } then shrank the wordmark with it. */
  .mast-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.3rem;
    padding-top: 0.5rem;
    padding-bottom: 0.55rem;
  }
  .mast-grid::after { display: none; }
  .mast-end {
    display: contents;
  }
  .brand {
    order: 1;
    flex: 0 0 auto;
    min-width: 0;
    padding-right: 0;
    align-self: center;
  }
  .brand img {
    width: 9.5rem;
    max-width: none;
    height: auto;
    max-height: none;
  }
  .nav-toggle {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    color: #23406e;
  }
  .nav-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    pointer-events: none;
  }
  .nav-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }
  .publine {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    align-self: auto;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.35;
  }
  .subscribe--mast {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    grid-row: auto;
    grid-column: auto;
  }
  .subscribe--mast .subscribe-form {
    flex-wrap: nowrap;
    max-width: 100%;
    width: 100%;
  }
  .subscribe--mast .subscribe-form input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
  .subscribe--mast .subscribe-form button {
    flex: 0 0 auto;
    border-left: 0;
    margin-top: 0;
  }
  .mast-icons {
    /* t239 mobile: previous flex-end-only increment failed in-browser.
       Root cause: the nav stayed shrink-to-fit (YouTube ended at 15px + 155.88px
       = 170.88 on both 390 and 320), so justify-content had no free space.
       width:100% / flex 1 1 100% / justify-self:auto did not produce a used
       width of the measure — auto computes as start and keeps content width.
       Force a full-row box, then pack glyphs to the end; margin-inline-start:
       auto still right-aligns the group if the box ever shrink-wraps. */
    order: 5;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1 0 100%;
    flex-basis: 100%;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    justify-self: stretch;
    justify-content: flex-end;
    margin-inline-start: auto;
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .share--mast {
    order: 0;
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    align-self: auto;
    margin-left: 0;
    gap: 0.15rem;
  }
  .share--mast a,
  .share--mast button {
    width: 2.15rem;
    height: 2.15rem;
  }
  .share--mast .share-status {
    position: static;
    min-width: 0;
    min-height: 0;
    flex-basis: 100%;
  }
  #mast-search,
  .mast-grid > .search,
  .mast-end > .search {
    order: 6;
    flex: 1 1 100%;
    width: 100%;
    justify-self: auto;
    align-self: auto;
    grid-row: auto;
    grid-column: auto;
    margin-top: 0;
  }
  .library-links {
    order: 7;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 0 100%;
    flex-basis: 100%;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    justify-self: stretch;
    justify-content: flex-end;
    margin-inline-start: auto;
    grid-row: auto;
    grid-column: 1 / -1;
    margin-top: 0;
    min-height: 0;
  }

  /* Logo and nav already scroll with the document. Utility stays the only sticky row. */
  body.nav-open .mast { position: relative; }
  body.nav-open .mast-utility { position: sticky; top: 0; }
  .navband { display: none; }
  body.nav-open .navband { display: block; }
  .primary {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }
  .primary > li,
  .primary > .has-sub,
  .primary > .has-sub:has(> .submenu--wide) {
    position: static;
    width: 100%;
    display: block;
  }
  .primary > li > .menu-btn {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.8rem 0;
    min-height: 0;
    white-space: normal;
  }
  .submenu,
  .submenu--wide,
  .submenu--compact,
  .submenu[data-cols="1"],
  .submenu[data-cols="3"],
  .submenu[data-cols="4"],
  .submenu[data-cols="5"],
  .submenu:not(.submenu--wide) {
    position: static;
    left: auto;
    right: auto;
    box-shadow: none;
    background: #fff;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }
  .submenu[hidden] { display: none !important; }
  .submenu-inner,
  .submenu:not(.submenu--wide) > .submenu-inner,
  .submenu--wide > .submenu-inner,
  .submenu--compact > .submenu-inner {
    width: 100%;
    max-width: none;
    padding: 0.7rem 0 0.8rem;
  }
  .submenu-tools {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin: 0 0 0.65rem;
    padding: 0 0 0.65rem;
    position: static;
  }
  .submenu-identity {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
  }
  .submenu-find {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0;
    border-top: 0;
  }
  .submenu-ops {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 0;
    margin-left: auto;
  }
  .submenu-index-label {
    white-space: normal;
  }
  .navband-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-aux {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding: 0.65rem 0 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
  .nav-aux ul {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
  }
  .nav-aux a { padding: 0.35rem 0; }
  .submenu-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .submenu-group ul { columns: 2; column-gap: 0.9rem; }
  .submenu-topics { margin: 0.45rem 0 0; padding-top: 0.4rem; }

  .foot-top {
    flex-direction: column;
    align-items: stretch;
  }
  .search--foot { width: 100%; flex-basis: auto; }
  .foot-cols {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .home-layout,
  .read-layout {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .home-primary { order: 1; }
  .home-rail { order: 2; }
  .prose, .contents { grid-area: auto; }
  .contents {
    position: static;
    max-width: none;
    padding: 0;
    margin: 0 0 0.85rem;
    border-bottom: 1px solid var(--line);
  }
  .contents > summary { cursor: pointer; padding: 0.55rem 0; margin: 0; }
  .contents[open] { padding-bottom: 0.7rem; }
  .changes li { grid-template-columns: 1fr; gap: 0.1rem; }
  .region-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-groups--cols-1 { grid-template-columns: minmax(0, 16rem); }
}

@media (max-width: 40rem) {
  .region-directory { grid-template-columns: 1fr; }
  .place-groups,
  .place-groups--cols-1 { grid-template-columns: 1fr; max-width: none; }
  .subscribe-form { max-width: none; }
}

@media (max-width: 24.375rem) {
  .brand img { width: 9rem; }
  .submenu-group ul { columns: 1; }
}

/* 320 CSS viewport (live: clientWidth 305 with a 15px scrollbar, content right 290).
   Horizontal input padding 12→8 adds 8px to the content box so the exact short
   placeholder fits with ~4px spare. Do not change page gutters, type size, or copy. */
@media (max-width: 320px) {
  .subscribe--mast .subscribe-form input {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* WordPress core class used by the theme templates. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* WordPress DOM mapping: approved preview typography and structure
 * applied to the real theme markup (.ed-read-head, .ed-prose, .ed-contents,
 * .ed-front, .ed-page, .ed-pager, .ed-crumb, .ed-share). Content, TOC,
 * pagination, and share behavior stay on the existing classes.
 */

.ed-read-head h1,
.ed-page > h1,
.ed-page .page-head h1,
.ed-lead h1 {
  margin: 0 0 25px;
  padding-bottom: 9px;
  border-bottom: 1px solid #dddddd;
  font-family: var(--sans);
  font-size: calc(100% + 1vw + 1vh);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  color: #0059E5;
}
.ed-lead h1 a { color: inherit; text-decoration: none; }
.ed-lead h1 a:hover { color: #0059E5; text-decoration: underline; }

.ed-lead {
  background: transparent;
  border-left: 3px solid var(--accent);
  padding: 0.15rem 0 0.2rem 1.2rem;
  margin: 0 0 2.15rem;
}
.ed-lead .ed-meta { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.875rem; }
.ed-lead p:not(.ed-meta) {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 42rem;
}

.ed-front {
  width: min(var(--page), calc(100% - 2rem));
  margin: 1.25rem auto 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.58fr);
  gap: 2.25rem 3rem;
  align-items: start;
}
.ed-latest { grid-column: 1; min-width: 0; margin-bottom: 0; }
.ed-guides { grid-column: 2; grid-row: 1; min-width: 0; background: transparent; padding: 0; }
.ed-front-markets { grid-column: 1 / -1; }

.ed-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.7rem;
}
.ed-kicker .section-title,
.ed-guides > h2,
.ed-front-markets > h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  padding: 0;
  border: 0;
  background: transparent;
}
.ed-kicker .ed-all { font-weight: 650; color: var(--teal); text-decoration: none; }
.ed-kicker .ed-all:hover { text-decoration: underline; color: var(--ink); }

.ed-next { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ed-next > article {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  gap: 0.15rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.ed-next > article .ed-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.ed-next > article h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  grid-column: 2;
}
.ed-next > article h2 a { color: inherit; text-decoration: none; }
.ed-next > article h2 a:hover { color: var(--teal); }
.ed-next > article p:not(.ed-meta) {
  grid-column: 2;
  margin: 0.12rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.ed-front-markets {
  margin-top: 1.75rem;
  border: 0;
  background: transparent;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
}
.ed-front-markets ul { list-style: none; margin: 0; padding: 0; }
.ed-front-markets li {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
  background: transparent;
}
.ed-front-markets li:last-child { border-bottom: 0; }
.ed-front-region { font-weight: 650; color: inherit; text-decoration: none; }
.ed-front-region:hover,
.ed-front-markets li a:last-child:hover { color: var(--teal); text-decoration: underline; }
.ed-front-markets li a:last-child { color: var(--ink); text-decoration: none; }

.ed-guides-grid { display: block; }
.ed-guide { margin: 0 0 1.25rem; padding: 0; }
.ed-guide:last-child { margin-bottom: 0; }
.ed-guide h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}
.ed-guide h2 a { color: var(--ink); text-decoration: none; }
.ed-guide h2 a:hover { color: var(--teal); }
.ed-guide .ed-meta { display: block; margin: 0.2rem 0 0.35rem; font-size: 0.875rem; color: var(--muted); }
.ed-guide p:not(.ed-meta) { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

.ed-page {
  width: min(var(--page), calc(100% - 2rem));
  margin: 0.85rem auto 3rem;
}
.ed-empty {
  margin: 0.5rem 0 1rem;
  max-width: 36rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.ed-results { display: block; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ed-results > li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.ed-results h2 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.3;
}
.ed-results h2 a { color: inherit; text-decoration: none; }
.ed-results h2 a:hover { color: var(--teal); }
.ed-results .ed-meta { margin: 0; font-size: 0.875rem; color: var(--muted); }

.ed-pager {
  margin: 1.1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.ed-pager ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ed-pager li { margin: 0; padding: 0; list-style: none; }
.ed-pager a,
.ed-pager span.page-numbers {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.55rem;
  color: var(--teal);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 650;
}
.ed-pager span.current {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  background: transparent;
}
.ed-pager a:hover { color: var(--ink); text-decoration: underline; }

.ed-search {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0 0 1.25rem;
  max-width: 36rem;
}
.ed-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 39px;
  border: 1px solid var(--input-border);
  padding: 0 12px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--input-color);
}
.ed-search button {
  height: 39px;
  margin-left: 0;
  border: 1px solid var(--input-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: var(--sans);
  font-size: 15px;
  padding: 0 12px;
}
.ed-search input:focus {
  outline: 0;
  border-color: var(--focus-border);
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

.ed-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.ed-crumb li { list-style: none; margin: 0; padding: 0; }
.ed-crumb li:not(:last-child)::after { content: "/"; margin-left: 0.45rem; color: var(--muted); opacity: 0.45; }
.ed-crumb a { color: var(--teal); text-decoration: none; }
.ed-crumb a:hover { text-decoration: underline; }

.ed-share-row {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.ed-share-title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ed-share a,
.ed-share button,
.ed-share .ed-copy {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--teal);
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.ed-share a:hover,
.ed-share button:hover { background: var(--wash); color: var(--ink); }
.ed-share-status { margin: 0; font-size: 0.75rem; color: var(--accent); min-height: 1em; }

.ed-taglist ul,
.ed-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  font-size: 0.8125rem;
}
.ed-taglist a,
.ed-topics a { color: var(--teal); text-decoration: none; }
.ed-taglist a:hover,
.ed-topics a:hover { text-decoration: underline; }

.ed-read {
  width: min(var(--read), calc(100% - 2rem));
  margin: 1.15rem auto 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--toc);
  column-gap: var(--read-gap);
  align-items: start;
  justify-content: start;
}
.ed-read-head,
.ed-prose,
.ed-read-foot {
  grid-column: 1;
  max-width: none;
  min-width: 0;
}
.ed-rail {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  max-width: var(--toc);
}

.ed-prose {
  font-size: 1.0625rem;
  line-height: 1.68;
  width: 100%;
}
.ed-prose h2 {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.6rem 0 0.6rem;
  scroll-margin-top: calc(var(--utility) + 0.75rem);
}
.ed-prose h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.25rem 0 0.45rem;
  scroll-margin-top: calc(var(--utility) + 0.75rem);
}
.ed-prose p { margin: 0 0 0.85rem; }
.ed-prose a { color: var(--teal); }
.ed-prose blockquote {
  margin: 0 0 1rem;
  padding: 0.15rem 0 0.15rem 0.9rem;
  border-left: 2px solid var(--teal);
  color: var(--muted);
}
.ed-prose ul, .ed-prose ol { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.ed-prose li { margin: 0.2rem 0; }
.ed-prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ed-prose th, .ed-prose td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.4rem 0.55rem 0.4rem 0;
  vertical-align: top;
}

.ed-contents {
  position: sticky;
  top: calc(var(--utility) + 0.75rem);
  align-self: start;
  min-width: 0;
  width: 100%;
  max-width: var(--toc);
  padding: 0.15rem 0 1rem;
  overflow: visible;
  background: transparent;
}
.ed-contents > summary {
  list-style: none;
  cursor: pointer;
  margin: 0 0 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 0;
}
.ed-contents > summary::-webkit-details-marker { display: none; }
.ed-contents .ed-disclose { display: none; }
.ed-contents > summary::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.12rem;
}
.ed-contents[open] > summary::after { transform: rotate(225deg); margin-top: 0.12rem; }
.ed-contents nav > ol,
.ed-contents > ol {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  max-height: none;
}
.ed-contents li { margin: 0; }
.ed-contents a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.35;
  padding: 0.22rem 0 0.22rem 0.55rem;
  border-left: 2px solid transparent;
}
.ed-contents a:hover { color: var(--teal); }
.ed-contents a[aria-current="true"] {
  border-left-color: var(--accent);
  color: var(--teal);
  font-weight: 700;
}
.ed-h3 a { padding-left: 1.05rem; color: var(--muted); font-weight: 400; }

@media (max-width: 61.99rem) {
  .ed-front {
    display: block;
  }
  .ed-guides { margin-top: 1.75rem; }
  .ed-next > article { grid-template-columns: 1fr; gap: 0.1rem; }
  .ed-next > article h2,
  .ed-next > article p:not(.ed-meta) { grid-column: 1; }
  .ed-read {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .ed-rail,
  .ed-read-head,
  .ed-prose,
  .ed-read-foot {
    grid-column: auto;
    max-width: none;
    width: 100%;
  }
  .ed-rail { order: 2; }
  .ed-read-head { order: 1; }
  .ed-prose { order: 3; }
  .ed-read-foot { order: 4; }
  .ed-contents {
    position: static;
    max-width: none;
    padding: 0;
    margin: 0 0 0.85rem;
    border-bottom: 1px solid var(--line);
  }
  .ed-contents > summary { cursor: pointer; padding: 0.55rem 0; margin: 0; }
  .ed-contents[open] { padding-bottom: 0.7rem; }
}
