/*
Theme Name: StockSearchMap Child
Theme URI: https://stocksearchmap.com
Description: GeneratePress child theme for StockSearchMap SEO data-map pages.
Author: StockSearchMap
Template: generatepress
Version: 0.2.2
Text Domain: stocksearchmap-child
*/

:root {
  --ssm-text: #111827;
  --ssm-muted: #6b7280;
  --ssm-bg: #f9fafb;
  --ssm-card: #ffffff;
  --ssm-teal: #0f766e;
  --ssm-teal-dark: #115e59;
  --ssm-mint: #ccfbf1;
  --ssm-blue: #2563eb;
  --ssm-risk: #b45309;
  --ssm-border: #e5e7eb;
  --ssm-soft-border: #d7dee8;
}

body {
  background: var(--ssm-bg);
  color: var(--ssm-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ssm-shell,
.ssm-shell *,
.ssm-footer-discovery,
.ssm-footer-discovery * {
  box-sizing: border-box;
}

.site-header,
.main-navigation,
.site-footer {
  background: #ffffff;
}

.site-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.inside-header {
  padding-top: 14px;
  padding-bottom: 14px;
}

.main-title.ssm-brand {
  margin: 0;
}

.ssm-brand a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ssm-text);
  text-decoration: none;
}

.ssm-brand__mark {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.ssm-brand__copy {
  display: grid;
  gap: 2px;
}

.ssm-brand__name {
  color: var(--ssm-teal-dark);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.ssm-brand__tagline {
  color: var(--ssm-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.main-navigation .main-nav ul li a {
  color: #1f2937;
  font-weight: 700;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus-within > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--ssm-teal-dark);
}

.main-navigation .menu-toggle .mobile-menu {
  display: none;
}

.ssm-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.ssm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 28px;
}

.ssm-hero__copy {
  align-self: center;
}

.ssm-eyebrow {
  margin: 0 0 10px;
  color: var(--ssm-teal);
  font-size: 14px;
  font-weight: 700;
}

.ssm-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

.ssm-hero__lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: #374151;
  font-size: 17px;
  line-height: 1.7;
}

.ssm-search {
  display: flex;
  max-width: 640px;
  margin-top: 24px;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.ssm-search input[type="search"] {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 15px 16px;
  font-size: 16px;
}

.ssm-search button {
  border: 0;
  background: var(--ssm-teal);
  color: #ffffff;
  padding: 0 20px;
  font-weight: 700;
}

.ssm-hero-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin-top: 13px;
}

.ssm-hero-examples span {
  color: var(--ssm-muted);
  font-size: 13px;
  font-weight: 750;
}

.ssm-hero-examples a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ssm-teal-dark);
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.ssm-hero-examples a:hover,
.ssm-hero-examples a:focus {
  border-color: rgba(15, 118, 110, 0.38);
  background: #f0fdfa;
  color: var(--ssm-teal-dark);
}

.ssm-hero-product {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  border: 1px solid var(--ssm-soft-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(204, 251, 241, 0.62), rgba(239, 246, 255, 0.66) 44%, rgba(255, 255, 255, 0.94) 76%),
    #ffffff;
  padding: 22px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.ssm-hero-product__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ssm-hero-product__brand img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
}

.ssm-hero-product__brand strong,
.ssm-hero-product__brand span {
  display: block;
}

.ssm-hero-product__brand strong {
  color: var(--ssm-text);
  font-size: 17px;
  line-height: 1.32;
}

.ssm-hero-product__brand span {
  margin-top: 3px;
  color: var(--ssm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ssm-hero-route-list {
  display: grid;
  gap: 10px;
}

.ssm-hero-route {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ssm-text);
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.ssm-hero-route:hover,
.ssm-hero-route:focus {
  border-color: rgba(15, 118, 110, 0.34);
  background: #ffffff;
  color: var(--ssm-text);
}

.ssm-hero-route span {
  width: fit-content;
  color: var(--ssm-teal);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.ssm-hero-route strong {
  font-size: 16px;
  line-height: 1.34;
  letter-spacing: 0;
  word-break: keep-all;
}

.ssm-hero-route small {
  color: var(--ssm-muted);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.ssm-hero-latest {
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background: #eff6ff;
  padding: 14px;
}

.ssm-hero-latest span,
.ssm-hero-latest a,
.ssm-hero-latest small {
  display: block;
}

.ssm-hero-latest span {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 850;
}

.ssm-hero-latest a {
  margin-top: 6px;
  color: var(--ssm-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
  text-decoration: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ssm-hero-latest a:hover,
.ssm-hero-latest a:focus {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ssm-hero-latest small {
  margin-top: 7px;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.45;
}

.ssm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 14px;
  border-radius: 8px;
  background: var(--ssm-teal);
  color: #ffffff;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.ssm-button:hover,
.ssm-button:focus {
  background: var(--ssm-teal-dark);
  color: #ffffff;
}

.ssm-map-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ssm-soft-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(204, 251, 241, 0.68), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  padding: 22px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.ssm-map-panel::before {
  position: absolute;
  inset: 76px 22px 22px;
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  pointer-events: none;
}

.ssm-map-panel__brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ssm-teal-dark);
  font-weight: 800;
}

.ssm-map-panel__brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.ssm-map-panel__title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-weight: 800;
}

.ssm-map-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ssm-map-node {
  min-height: 88px;
  border: 1px solid rgba(15, 118, 110, 0.13);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ssm-map-node strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ssm-text);
  font-size: 15px;
}

.ssm-map-node span {
  color: var(--ssm-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ssm-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 34px;
}

.ssm-trust-strip__item {
  border: 1px solid var(--ssm-border);
  border-left: 4px solid var(--ssm-teal);
  border-radius: 8px;
  background: #ffffff;
  padding: 15px 16px;
}

.ssm-trust-strip__item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.ssm-trust-strip__item span {
  display: block;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ssm-home-signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -14px 0 36px;
}

.ssm-home-signal__item {
  min-height: 132px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
  padding: 17px 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.ssm-home-signal__item span {
  display: block;
  color: var(--ssm-teal);
  font-size: 12px;
  font-weight: 800;
}

.ssm-home-signal__item strong {
  display: block;
  margin-top: 7px;
  color: var(--ssm-text);
  font-size: 18px;
  line-height: 1.35;
}

.ssm-home-signal__item p {
  margin: 8px 0 0;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.62;
}

.ssm-topic-board {
  padding: 0;
}

.ssm-topic-board__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ssm-topic-board__panel {
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #f9fafb;
  padding: 18px;
}

.ssm-topic-board__panel--theme {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 92%);
}

.ssm-topic-board__panel--event {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 92%);
}

.ssm-topic-board__panel--ipo {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 92%);
}

.ssm-topic-board__panel--etf {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 92%);
}

.ssm-topic-board__panel > span {
  display: block;
  color: var(--ssm-teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.ssm-topic-board__panel h3 {
  margin: 7px 0 13px;
  color: var(--ssm-text);
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.ssm-topic-board .ssm-link-list a {
  min-height: 38px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.ssm-section {
  margin-top: 34px;
}

.ssm-breadcrumbs {
  margin: 0 0 18px;
  color: var(--ssm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ssm-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssm-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.ssm-breadcrumbs li + li::before {
  margin-right: 6px;
  color: #9ca3af;
  content: "/";
}

.ssm-breadcrumbs a,
.ssm-breadcrumbs span {
  max-width: min(62vw, 520px);
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssm-breadcrumbs a {
  color: var(--ssm-teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.ssm-breadcrumbs a:hover,
.ssm-breadcrumbs a:focus {
  color: var(--ssm-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ssm-section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: 0;
}

.ssm-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 16px;
}

.ssm-section-heading h2 {
  margin-bottom: 8px;
}

.ssm-section-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--ssm-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ssm-section-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ssm-teal-dark);
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.single .ssm-shell {
  max-width: 860px;
}

.ssm-page-shell {
  max-width: 980px;
}

.ssm-page-hero,
.ssm-search-hero,
.ssm-empty-state {
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
}

.ssm-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 22px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(240, 253, 250, 0.86), rgba(255, 255, 255, 0) 48%),
    #ffffff;
}

.ssm-page-hero__copy {
  min-width: 0;
}

.ssm-page-hero h1,
.ssm-search-hero h1,
.ssm-empty-state h1 {
  margin: 0;
  max-width: 780px;
  font-size: 40px;
  line-height: 1.24;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ssm-page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ssm-page-focus {
  display: grid;
  gap: 12px;
  padding: 2px 0 0;
}

.ssm-page-focus > strong {
  color: var(--ssm-text);
  font-size: 16px;
  line-height: 1.35;
}

.ssm-page-focus__grid {
  display: grid;
  gap: 10px;
}

.ssm-page-focus__item {
  border-top: 1px solid rgba(15, 118, 110, 0.12);
  padding-top: 10px;
}

.ssm-page-focus__item span {
  display: block;
  color: var(--ssm-teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.ssm-page-focus__item p {
  margin: 5px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.62;
}

.ssm-page-hero__meta span,
.ssm-article-meta span,
.ssm-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: #f0fdfa;
  color: var(--ssm-teal-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.ssm-page-hero__meta span,
.ssm-article-meta span {
  padding: 5px 10px;
}

.ssm-page-card {
  margin-top: 18px;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  font-size: 17px;
  line-height: 1.82;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ssm-page-card h2 {
  margin: 1.7em 0 0.55em;
  font-size: 28px;
  line-height: 1.32;
  letter-spacing: 0;
}

.ssm-page-card p,
.ssm-page-card ul,
.ssm-page-card ol {
  max-width: 760px;
}

.ssm-search--wide {
  max-width: 760px;
}

.ssm-search-term {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 16px 0 0;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ssm-search-term strong {
  color: #111827;
  font-weight: 800;
}

.ssm-search-hero .ssm-link-list,
.ssm-empty-state .ssm-link-list {
  margin-top: 18px;
}

.ssm-search-routes {
  margin-top: 18px;
}

.ssm-search-routes .ssm-link-list {
  margin-top: 0;
}

.ssm-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ssm-result-card a {
  display: block;
  min-height: 190px;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ssm-text);
  padding: 18px;
  text-decoration: none;
}

.ssm-result-card h3 {
  margin: 9px 0 8px;
  font-size: 20px;
  line-height: 1.36;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ssm-result-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
}

.ssm-empty-state {
  max-width: 860px;
}

.ssm-empty-state h2 {
  margin-top: 0;
}

.ssm-empty-state p {
  max-width: 720px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.72;
}

.ssm-empty-state--large {
  margin: 34px auto;
}

.ssm-recovery-panel {
  margin-top: 22px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: #f8fbfa;
  padding: 18px;
}

.ssm-recovery-panel--compact {
  width: 100%;
}

.ssm-recovery-panel__heading h2,
.ssm-recovery-panel__heading h3 {
  margin: 0;
  color: var(--ssm-text);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.ssm-recovery-panel__heading p {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--ssm-muted);
  font-size: 15px;
  line-height: 1.68;
}

.ssm-recovery-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ssm-recovery-panel__item {
  min-height: 112px;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.ssm-recovery-panel__item strong,
.ssm-recovery-panel__item span {
  display: block;
}

.ssm-recovery-panel__item strong {
  color: var(--ssm-text);
  font-size: 15px;
  line-height: 1.35;
}

.ssm-recovery-panel__item span {
  margin-top: 6px;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.58;
}

.ssm-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.ssm-article-hero__copy {
  min-width: 0;
}

.ssm-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ssm-article-thumb {
  margin: 0;
}

.ssm-article-side {
  display: grid;
  gap: 12px;
}

.ssm-article-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.ssm-article-brief {
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
}

.ssm-article-brief > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.35;
}

.ssm-article-brief dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ssm-article-brief dl > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}

.ssm-article-brief dt {
  color: var(--ssm-muted);
  font-size: 13px;
  font-weight: 750;
}

.ssm-article-brief dd {
  margin: 0;
  color: var(--ssm-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.single .ssm-section > header h1 {
  margin: 0;
  max-width: 820px;
  font-size: 38px;
  line-height: 1.28;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.single .entry-content {
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.single .entry-content p {
  margin: 0 0 1.2em;
}

.single .entry-content h2 {
  margin: 2.1em 0 0.75em;
  font-size: 25px;
  line-height: 1.38;
  letter-spacing: 0;
  word-break: keep-all;
}

.single .entry-content ol,
.single .entry-content ul {
  margin: 0 0 1.35em 1.25em;
  padding: 0;
  line-height: 1.8;
}

.single .entry-content li + li {
  margin-top: 0.35em;
}

.ssm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ssm-card-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssm-card,
.ssm-link-chip,
.ssm-related__card {
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: var(--ssm-card);
  color: var(--ssm-text);
  text-decoration: none;
}

.ssm-card {
  padding: 18px;
  min-height: 126px;
}

.ssm-card__badge {
  width: fit-content;
  min-height: 25px;
  margin-bottom: 10px;
  padding: 4px 9px;
}

.ssm-card__meta {
  display: block;
  margin-top: 12px;
  color: var(--ssm-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.ssm-card strong,
.ssm-link-chip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.ssm-card span,
.ssm-link-chip span {
  display: block;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ssm-home-latest {
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.ssm-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ssm-latest-card a {
  display: block;
  min-height: 220px;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #f9fafb;
  color: var(--ssm-text);
  padding: 18px;
  text-decoration: none;
}

.ssm-latest-card h3 {
  margin: 9px 0 8px;
  font-size: 19px;
  line-height: 1.38;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ssm-latest-card p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}

.ssm-latest-empty {
  border: 1px dashed var(--ssm-soft-border);
  border-radius: 8px;
  background: #f9fafb;
  padding: 18px;
}

.ssm-latest-empty strong,
.ssm-latest-empty span {
  display: block;
}

.ssm-latest-empty span {
  margin-top: 6px;
  color: var(--ssm-muted);
}

.ssm-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ssm-flow__step {
  position: relative;
  min-height: 156px;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 18px 18px 62px;
}

.ssm-flow__number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ecfeff;
  color: var(--ssm-teal);
  font-weight: 800;
}

.ssm-flow__step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.ssm-flow__step p {
  margin: 0;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ssm-archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.ssm-archive-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.24;
  letter-spacing: 0;
}

.ssm-archive-hero__intro {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ssm-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ssm-archive-status {
  border: 1px solid var(--ssm-border);
  border-left: 4px solid var(--ssm-archive-accent, var(--ssm-teal));
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, var(--ssm-archive-soft, #f0fdfa) 170%);
  padding: 18px;
}

.ssm-archive-status span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--ssm-archive-soft, #f0fdfa);
  color: var(--ssm-archive-accent-dark, var(--ssm-teal-dark));
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.ssm-archive-page {
  --ssm-archive-accent: var(--ssm-teal);
  --ssm-archive-accent-dark: var(--ssm-teal-dark);
  --ssm-archive-soft: #f0fdfa;
  --ssm-archive-panel: #ffffff;
}

.ssm-archive--theme_stock {
  --ssm-archive-accent: #0f766e;
  --ssm-archive-accent-dark: #115e59;
  --ssm-archive-soft: #ecfdf5;
  --ssm-archive-panel: #f7fffc;
}

.ssm-archive--stock_event {
  --ssm-archive-accent: #4f46e5;
  --ssm-archive-accent-dark: #4338ca;
  --ssm-archive-soft: #eef2ff;
  --ssm-archive-panel: #f8faff;
}

.ssm-archive--ipo_item {
  --ssm-archive-accent: #2563eb;
  --ssm-archive-accent-dark: #1d4ed8;
  --ssm-archive-soft: #eff6ff;
  --ssm-archive-panel: #f8fbff;
}

.ssm-archive--etf_item {
  --ssm-archive-accent: #b45309;
  --ssm-archive-accent-dark: #92400e;
  --ssm-archive-soft: #fffbeb;
  --ssm-archive-panel: #fffdf6;
}

.ssm-archive--investment_guide {
  --ssm-archive-accent: #475569;
  --ssm-archive-accent-dark: #334155;
  --ssm-archive-soft: #f1f5f9;
  --ssm-archive-panel: #fbfdff;
}

.ssm-archive-status strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.ssm-archive-status p {
  margin: 0 0 10px;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ssm-archive-status a {
  color: var(--ssm-teal);
  font-weight: 700;
  text-decoration: none;
}

.ssm-archive-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 14px;
}

.ssm-archive-guide__panel {
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.ssm-archive-page .ssm-archive-guide__panel:first-child,
.ssm-archive-page .ssm-archive-route__panel:first-child {
  border-top: 3px solid var(--ssm-archive-accent, var(--ssm-teal));
}

.ssm-archive-page .ssm-archive-guide__panel:nth-child(2),
.ssm-archive-page .ssm-archive-route__panel--note {
  background: linear-gradient(135deg, #ffffff 0%, var(--ssm-archive-panel, #ffffff) 100%);
}

.ssm-archive-guide__panel h2 {
  margin-bottom: 12px;
  font-size: 21px;
}

.ssm-check-list,
.ssm-source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssm-check-list li,
.ssm-source-list li {
  position: relative;
  padding-left: 22px;
  color: #374151;
  line-height: 1.7;
}

.ssm-check-list li + li,
.ssm-source-list li + li {
  margin-top: 8px;
}

.ssm-check-list li::before,
.ssm-source-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ssm-teal);
  content: "";
}

.ssm-archive-page .ssm-check-list li::before,
.ssm-archive-page .ssm-source-list li::before {
  background: var(--ssm-archive-accent, var(--ssm-teal));
}

.ssm-mini-note {
  margin: 14px 0 0;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ssm-archive-policy .ssm-card {
  min-height: 112px;
}

.ssm-archive-route {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 14px;
}

.ssm-archive-route__panel {
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.ssm-archive-route__panel--note {
  background: #f9fafb;
}

.ssm-archive-route__panel h2 {
  margin-bottom: 12px;
  font-size: 21px;
}

.ssm-route-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ssm-route;
}

.ssm-route-list li {
  position: relative;
  min-height: 56px;
  padding-left: 44px;
  counter-increment: ssm-route;
}

.ssm-route-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ecfeff;
  color: var(--ssm-teal);
  font-size: 13px;
  font-weight: 800;
  content: counter(ssm-route);
}

.ssm-archive-page .ssm-route-list li::before {
  background: var(--ssm-archive-soft, #ecfeff);
  color: var(--ssm-archive-accent-dark, var(--ssm-teal));
}

.ssm-route-list strong,
.ssm-route-list span {
  display: block;
}

.ssm-route-list strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.ssm-route-list span {
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.62;
}

.ssm-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssm-link-list a,
.ssm-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ssm-text);
  text-decoration: none;
}

.ssm-policy-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.ssm-policy-panel h2 {
  margin-bottom: 10px;
}

.ssm-policy-panel p:not(.ssm-eyebrow) {
  margin: 0;
  color: var(--ssm-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ssm-notice,
.ssm-summary,
.ssm-source-box,
.ssm-bridge {
  border: 1px solid var(--ssm-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.ssm-summary {
  margin: 0 0 32px;
  padding: 20px 22px;
}

.single .entry-content .ssm-summary p {
  margin: 0;
  line-height: 1.8;
}

.single .entry-content .ssm-summary p:empty {
  display: none;
}

.ssm-notice--risk {
  border-color: #f3d6a7;
  background: #fffbeb;
  color: #713f12;
}

.ssm-notice--ad {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.ssm-updated {
  color: var(--ssm-muted);
  font-size: 14px;
}

.ssm-source-box h2,
.ssm-related h2 {
  margin-top: 0;
  font-size: 20px;
}

.ssm-source-box {
  margin-top: 42px;
}

.ssm-article-followup {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid var(--ssm-border);
  border-left: 4px solid var(--ssm-teal);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.ssm-article-followup h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.34;
  letter-spacing: 0;
}

.ssm-article-followup p:not(.ssm-eyebrow) {
  margin: 0;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.68;
}

.ssm-article-followup .ssm-link-list {
  align-self: center;
}

.ssm-source-box dl {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.ssm-source-box dt {
  color: var(--ssm-muted);
  font-weight: 700;
}

.ssm-source-box dd {
  margin: 0;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ssm-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ssm-related__card {
  display: block;
  padding: 15px;
}

.ssm-table-wrap,
.single .entry-content .ssm-content-table {
  max-width: 100%;
  overflow-x: auto;
}

.ssm-table-wrap table,
.single .entry-content table.ssm-content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
}

.ssm-table-wrap th,
.ssm-table-wrap td,
.single .entry-content table.ssm-content-table th,
.single .entry-content table.ssm-content-table td {
  border: 1px solid var(--ssm-border);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.ssm-table-wrap th,
.single .entry-content table.ssm-content-table th {
  background: #f3f4f6;
}

.ssm-visual {
  margin: 34px 0 38px;
}

.ssm-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.ssm-visual figcaption {
  margin-top: 8px;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ssm-bottom-note {
  margin-top: 34px;
  color: var(--ssm-muted);
  font-size: 14px;
}

.ssm-footer-discovery {
  border-top: 1px solid var(--ssm-border);
  background: #ffffff;
}

.ssm-footer-discovery__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px 28px;
}

.ssm-footer-discovery__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ssm-teal-dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.ssm-footer-discovery__logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.16);
}

.ssm-footer-discovery__brand p {
  max-width: 350px;
  margin: 14px 0 12px;
  color: var(--ssm-muted);
  font-size: 14px;
  line-height: 1.68;
}

.ssm-footer-discovery__contact {
  color: var(--ssm-teal-dark);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.ssm-footer-discovery__group h2 {
  margin: 0 0 11px;
  color: var(--ssm-text);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0;
}

.ssm-footer-discovery__group ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssm-footer-discovery__group a {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.ssm-footer-discovery__contact:hover,
.ssm-footer-discovery__contact:focus,
.ssm-footer-discovery__group a:hover,
.ssm-footer-discovery__group a:focus {
  color: var(--ssm-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .ssm-shell {
    padding: 20px 16px 44px;
  }

  .ssm-hero {
    grid-template-columns: 1fr;
  }

  .ssm-hero h1 {
    font-size: 32px;
  }

  .ssm-hero-product {
    padding: 18px;
  }

  .ssm-hero-product__brand {
    align-items: flex-start;
  }

  .ssm-hero-examples {
    gap: 7px;
  }

  .ssm-hero-examples span {
    flex-basis: 100%;
  }

  .ssm-section-heading {
    display: block;
  }

  .ssm-section-link {
    margin-top: 12px;
  }

  .inside-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .ssm-brand__tagline {
    display: none;
  }

  .ssm-breadcrumbs {
    margin-bottom: 14px;
  }

  .ssm-breadcrumbs a,
  .ssm-breadcrumbs span {
    max-width: 72vw;
  }

  .single .ssm-shell {
    max-width: 100%;
  }

  .single .ssm-section > header h1 {
    font-size: 32px;
    line-height: 1.34;
  }

  .single .entry-content {
    font-size: 16px;
    line-height: 1.82;
  }

  .single .entry-content p {
    margin-bottom: 1.2em;
  }

  .single .entry-content h2 {
    font-size: 23px;
    line-height: 1.42;
  }

  .ssm-summary {
    padding: 18px;
  }

  .single .entry-content .ssm-summary {
    margin-bottom: 30px;
  }

	  .ssm-card-grid,
	  .ssm-card-grid--compact,
	  .ssm-flow,
	  .ssm-archive-hero,
	  .ssm-archive-guide,
	  .ssm-archive-route,
	  .ssm-related__grid,
	  .ssm-latest-grid,
	  .ssm-search-results,
	  .ssm-recovery-panel__grid,
	  .ssm-article-hero,
	  .ssm-article-followup,
	  .ssm-topic-board__grid,
	  .ssm-page-hero {
	    grid-template-columns: 1fr;
	  }

  .ssm-page-hero,
  .ssm-search-hero,
  .ssm-empty-state,
  .ssm-page-card {
    max-width: 100%;
    padding: 20px;
  }

  .ssm-page-hero h1,
  .ssm-search-hero h1,
  .ssm-empty-state h1 {
    font-size: 32px;
    line-height: 1.32;
  }

  .ssm-page-card {
    font-size: 16px;
    line-height: 1.78;
  }

  .ssm-topic-board__panel {
    padding: 16px;
  }

  .ssm-page-focus {
    padding-top: 4px;
  }

  .ssm-article-brief dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .ssm-page-card h2 {
    font-size: 24px;
  }

  .ssm-result-card a {
    min-height: 0;
  }

  .ssm-source-box dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ssm-source-box {
    width: 100%;
    max-width: 100%;
    margin-top: 36px;
    padding: 18px;
    overflow-wrap: anywhere;
  }

  .ssm-source-box dt {
    margin-top: 10px;
  }

  .ssm-source-box h2,
  .ssm-related h2,
  .ssm-article-followup h2 {
    font-size: 20px;
    line-height: 1.36;
  }

  .ssm-article-followup {
    width: 100%;
    max-width: 100%;
    gap: 14px;
    margin-top: 24px;
    padding: 18px;
    border-left-width: 3px;
    overflow-wrap: anywhere;
  }

  .ssm-article-followup .ssm-link-list {
    align-self: stretch;
    gap: 9px;
  }

  .ssm-article-followup .ssm-link-list li,
  .ssm-article-followup .ssm-link-list a {
    width: 100%;
  }

  .ssm-related {
    margin-top: 30px;
  }

  .ssm-related__card {
    width: 100%;
    max-width: 100%;
    padding: 17px;
    overflow-wrap: anywhere;
  }

  .ssm-notice,
  .ssm-bridge {
    padding: 18px;
  }

  .single .entry-content table.ssm-content-table {
    display: block;
    overflow-x: auto;
  }

  .ssm-map-grid {
    grid-template-columns: 1fr;
  }

  .ssm-trust-strip,
  .ssm-home-signal,
  .ssm-policy-panel {
    grid-template-columns: 1fr;
  }

  .ssm-footer-discovery__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 16px 24px;
  }

  .ssm-search {
    flex-direction: column;
    max-width: 100%;
  }

  .ssm-search input[type="search"],
  .ssm-search button {
    width: 100%;
    min-height: 46px;
  }
}
