/*
Theme Name: EqualKnow Atlas
Theme URI: https://equalknow.org/
Author: EqualKnow
Description: A refined knowledge portal theme for EqualKnow.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: equalknow-atlas
*/

:root {
  --eqk-ink: #172033;
  --eqk-muted: #5d6776;
  --eqk-soft: #f5f8f7;
  --eqk-paper: #ffffff;
  --eqk-line: #dbe3e1;
  --eqk-teal: #276b63;
  --eqk-blue: #2d5b86;
  --eqk-wine: #8a3d54;
  --eqk-gold: #8a691f;
  --eqk-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--eqk-ink);
  background: #fbfcfb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--eqk-teal);
}

.screen-reader-text,
.eqk-skip {
  position: absolute;
  left: -9999px;
}

.eqk-skip:focus {
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 12px;
  color: #fff;
  background: var(--eqk-ink);
}

.eqk-wrap {
  width: min(100% - 32px, var(--eqk-max));
  margin-inline: auto;
}

.eqk-site-header {
  border-top: 5px solid var(--eqk-ink);
  border-bottom: 1px solid var(--eqk-line);
  background: rgba(255, 255, 255, .96);
}

.eqk-header-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 22px 0 16px;
}

.eqk-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.eqk-brand-name {
  font-weight: 850;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

.eqk-brand-tagline {
  color: var(--eqk-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.eqk-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .92rem;
  font-weight: 700;
}

.eqk-nav li {
  margin: 0;
  padding: 0;
}

.eqk-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  color: var(--eqk-ink);
}

.eqk-nav a:hover {
  color: var(--eqk-teal);
}

.eqk-main {
  padding: 26px 0 52px;
}

.eqk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.eqk-content,
.eqk-rail {
  min-width: 0;
}

.eqk-rail {
  position: sticky;
  top: 16px;
}

.eqk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 22px;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--eqk-line);
  margin-bottom: 26px;
}

.eqk-kicker {
  display: inline-flex;
  color: var(--eqk-teal);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eqk-hero h1,
.eqk-page-title,
.eqk-archive-title {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.eqk-lead {
  max-width: 760px;
  margin: 0;
  color: #354150;
  font-size: 1.02rem;
  line-height: 1.9;
}

.eqk-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

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

.eqk-hero-compact h1 {
  max-width: 980px;
}

.eqk-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 23, 32, .08);
}

.eqk-hero-links a {
  color: var(--eqk-blue);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.eqk-hero-links a:hover {
  color: var(--eqk-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eqk-stat,
.eqk-panel,
.eqk-card,
.eqk-pillar,
.eqk-article-shell {
  border: 1px solid var(--eqk-line);
  background: var(--eqk-paper);
}

.eqk-stat {
  padding: 12px;
}

.eqk-stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

.eqk-stat span {
  display: block;
  margin-top: 4px;
  color: var(--eqk-muted);
  font-size: .78rem;
}

.eqk-brief {
  padding: 18px;
  background: var(--eqk-soft);
  border: 1px solid var(--eqk-line);
}

.eqk-brief h2,
.eqk-panel h2 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--eqk-line);
  font-size: 1rem;
  line-height: 1.45;
}

.eqk-brief ol {
  margin: 0;
  padding-left: 1.25rem;
}

.eqk-brief li {
  margin: 0 0 9px;
  color: #2f3a48;
  line-height: 1.6;
}

.eqk-section {
  margin-bottom: 30px;
}

.eqk-section-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--eqk-line);
}

.eqk-section-head h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.eqk-section-head p {
  margin: 0;
  color: var(--eqk-muted);
  font-size: .88rem;
  line-height: 1.6;
}

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

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

.eqk-card a,
.eqk-card-body {
  display: block;
  padding: 15px;
  text-decoration: none;
}

.eqk-card:hover {
  border-color: #9bb5b0;
  background: #fcfffe;
}

.eqk-card time,
.eqk-meta,
.eqk-breadcrumbs,
.eqk-card-kicker {
  color: var(--eqk-muted);
  font-size: .78rem;
  line-height: 1.55;
}

.eqk-card-kicker {
  display: inline-block;
  color: var(--eqk-teal);
  font-weight: 800;
  margin-bottom: 7px;
}

.eqk-card h2,
.eqk-card h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
  line-height: 1.45;
}

.eqk-card p {
  margin: 0;
  color: var(--eqk-muted);
  font-size: .88rem;
  line-height: 1.72;
}

.eqk-title-sub {
  display: block;
  color: var(--eqk-blue);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.55;
}

.eqk-pillar {
  border-left: 4px solid var(--eqk-blue);
  padding: 12px;
}

.eqk-pillar strong {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: .96rem;
  line-height: 1.45;
}

.eqk-pillar em {
  color: var(--eqk-gold);
  font-size: .74rem;
  font-style: normal;
  white-space: nowrap;
}

.eqk-pillar p {
  margin: 7px 0 0;
  color: var(--eqk-muted);
  font-size: .82rem;
  line-height: 1.6;
}

.eqk-pillar a {
  display: block;
  text-decoration: none;
}

.eqk-panel {
  padding: 14px;
  margin-bottom: 14px;
}

.eqk-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eqk-panel li {
  padding: 9px 0;
  border-bottom: 1px solid #edf1ef;
}

.eqk-panel li:last-child {
  border-bottom: 0;
}

.eqk-panel p {
  margin: 0 0 10px;
  color: var(--eqk-muted);
  font-size: .86rem;
  line-height: 1.66;
}

.eqk-panel a {
  text-decoration: none;
}

.eqk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eqk-tags a,
.eqk-tags span,
.eqk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid var(--eqk-line);
  background: #f8faf9;
  font-size: .78rem;
  text-decoration: none;
}

.eqk-note {
  color: #fff;
  background: var(--eqk-ink);
  border-color: var(--eqk-ink);
}

.eqk-note h2 {
  border-color: rgba(255, 255, 255, .24);
}

.eqk-note p,
.eqk-note .eqk-muted {
  color: #d9e0e8;
}

.eqk-note a {
  color: #fff;
  font-weight: 800;
}

.eqk-pillar-page {
  --pillar-accent: var(--eqk-blue);
  display: grid;
  gap: 18px;
}

.eqk-pillar-hero {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--eqk-line);
  border-left: 6px solid var(--pillar-accent);
  background: #fff;
}

.eqk-pillar-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.16;
}

.eqk-pillar-hero p {
  max-width: 820px;
  margin: 0;
  color: #354150;
  line-height: 1.86;
}

.eqk-pillar-start {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.eqk-start-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--eqk-line);
  background: #fff;
  color: var(--eqk-ink);
  text-align: left;
  cursor: pointer;
}

.eqk-start-card:hover {
  border-color: #9bb5b0;
  background: #fcfffe;
}

.eqk-start-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pillar-accent);
  color: #fff;
  font-weight: 800;
}

.eqk-start-card strong {
  display: block;
  font-size: .96rem;
  line-height: 1.45;
}

.eqk-start-card em {
  grid-column: 2;
  color: var(--eqk-muted);
  font-size: .82rem;
  font-style: normal;
  line-height: 1.55;
}

.eqk-pillar-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--eqk-line);
  background: var(--eqk-soft);
}

.eqk-pillar-tools label {
  flex: 1;
}

.eqk-pillar-search {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #b8c8c4;
  background: #fff;
  color: var(--eqk-ink);
  font: inherit;
}

.eqk-pillar-clear,
.eqk-pillar-filters button {
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid var(--eqk-line);
  background: #fff;
  color: var(--eqk-ink);
  cursor: pointer;
  font-weight: 700;
}

.eqk-pillar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.eqk-pillar-filters button.active,
.eqk-pillar-filters button:hover,
.eqk-pillar-clear:hover {
  border-color: var(--pillar-accent);
  background: var(--pillar-accent);
  color: #fff;
}

.eqk-pillar-count {
  margin: -4px 0 8px;
  color: var(--eqk-muted);
  font-size: .86rem;
}

.eqk-pillar-shelf {
  margin-top: 10px;
}

.eqk-pillar-shelf h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  padding: 11px 14px;
  background: var(--eqk-ink);
  color: #fff;
  font-size: 1.08rem;
}

.eqk-pillar-shelf h2 span {
  font-size: .78rem;
  font-weight: 600;
  color: #dbe4ea;
}

.eqk-pillar-drawer {
  margin: 0 0 20px;
}

.eqk-pillar-drawer h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--pillar-accent);
  font-size: .98rem;
}

.eqk-pillar-drawer h3 span {
  color: var(--pillar-accent);
  font-size: .78rem;
}

.eqk-pillar-drawer ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eqk-pillar-item a {
  display: block;
  padding: 7px 9px;
  border-left: 3px solid transparent;
  color: var(--eqk-ink);
  line-height: 1.45;
  text-decoration: none;
}

.eqk-pillar-item a:hover {
  border-left-color: var(--pillar-accent);
  background: #f8fbfa;
  color: var(--pillar-accent);
}

.eqk-pillar-empty,
.eqk-pillar-no-results {
  color: var(--eqk-muted);
  font-size: .88rem;
}

.eqk-breadcrumbs {
  margin: 0 0 18px;
}

.eqk-breadcrumbs a {
  color: var(--eqk-blue);
  text-decoration: none;
}

.eqk-article-shell {
  padding: clamp(18px, 3vw, 34px);
}

.eqk-article-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--eqk-line);
  margin-bottom: 22px;
}

.eqk-article-header h1 {
  max-width: 900px;
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.eqk-article-content {
  font-size: 1.02rem;
  line-height: 1.95;
}

.eqk-article-content > *:first-child {
  margin-top: 0;
}

.eqk-article-content h2 {
  margin: 2.1em 0 .65em;
  padding-top: .4em;
  border-top: 2px solid var(--eqk-line);
  font-size: 1.52rem;
  line-height: 1.35;
}

.eqk-article-content h3 {
  margin: 1.7em 0 .55em;
  color: var(--eqk-blue);
  font-size: 1.22rem;
  line-height: 1.42;
}

.eqk-article-content p,
.eqk-article-content ul,
.eqk-article-content ol {
  margin: 0 0 1.25em;
}

.eqk-article-content li {
  margin: .32em 0;
}

.eqk-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: .94rem;
}

.eqk-article-content th,
.eqk-article-content td {
  padding: 10px;
  border: 1px solid var(--eqk-line);
  vertical-align: top;
}

.eqk-article-content th {
  background: var(--eqk-soft);
}

.eqk-post-footer {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--eqk-line);
}

.eqk-pagination,
.eqk-post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.eqk-pagination a,
.eqk-pagination span,
.eqk-post-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--eqk-line);
  background: #fff;
  text-decoration: none;
  font-size: .88rem;
}

.eqk-site-footer {
  border-top: 1px solid var(--eqk-line);
  background: #f2f6f5;
}

.eqk-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .6fr);
  gap: 26px;
  padding: 30px 0;
}

.eqk-site-footer h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.eqk-site-footer p,
.eqk-site-footer li {
  color: var(--eqk-muted);
  font-size: .86rem;
  line-height: 1.7;
}

.eqk-site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eqk-site-footer a {
  text-decoration: none;
}

.eqk-footer-bottom {
  padding: 13px 0;
  border-top: 1px solid var(--eqk-line);
  color: var(--eqk-muted);
  font-size: .78rem;
}

.wp-caption,
.wp-caption-text,
.gallery-caption,
.bypostauthor,
.aligncenter {
  max-width: 100%;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

@media (max-width: 980px) {
  .eqk-header-inner,
  .eqk-layout,
  .eqk-hero,
  .eqk-footer-grid {
    grid-template-columns: 1fr;
  }

  .eqk-nav {
    justify-content: flex-start;
  }

  .eqk-rail {
    position: static;
  }

  .eqk-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eqk-pillar-start {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eqk-wrap {
    width: min(100% - 24px, var(--eqk-max));
  }

  .eqk-main {
    padding-top: 20px;
  }

  .eqk-grid-2,
  .eqk-grid-3,
  .eqk-stats {
    grid-template-columns: 1fr;
  }

  .eqk-pillar-tools {
    display: grid;
  }

  .eqk-pillar-drawer ul {
    grid-template-columns: 1fr;
  }

  .eqk-section-head {
    display: block;
  }

  .eqk-section-head p {
    margin-top: 5px;
  }
}

/* Editorial refinement */
:root {
  --eqk-ink: #101720;
  --eqk-muted: #5b6470;
  --eqk-soft: #f4f7f6;
  --eqk-paper: #ffffff;
  --eqk-line: #d8dfdc;
  --eqk-teal: #1f6b62;
  --eqk-blue: #264f7a;
  --eqk-wine: #873b52;
  --eqk-gold: #8b681c;
  --eqk-celadon: #e8f1ee;
  --eqk-lilac: #f1edf4;
  --eqk-sky: #eaf1f7;
  --eqk-shadow: 0 18px 45px rgba(16, 23, 32, .08);
  --eqk-shadow-soft: 0 10px 24px rgba(16, 23, 32, .055);
}

body {
  background:
    linear-gradient(180deg, #f7faf9 0, #fbfcfb 240px, #f6f8f7 100%);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration-color: rgba(31, 107, 98, .38);
}

a:hover {
  text-decoration-color: currentColor;
}

.eqk-wrap {
  width: min(100% - 40px, var(--eqk-max));
}

.eqk-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-top: 0;
  border-bottom: 1px solid rgba(16, 23, 32, .1);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.eqk-site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--eqk-blue), var(--eqk-teal) 42%, var(--eqk-wine) 76%, var(--eqk-gold));
}

.eqk-header-inner {
  padding: 18px 0 14px;
}

.eqk-brand-name,
.eqk-hero h1,
.eqk-page-title,
.eqk-archive-title,
.eqk-article-header h1,
.eqk-pillar-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 700;
}

.eqk-brand-name {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  letter-spacing: .01em;
}

.eqk-brand-tagline {
  color: #606a76;
  font-size: .82rem;
}

.eqk-nav {
  gap: 6px;
}

.eqk-nav a {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  color: #263342;
  font-size: .86rem;
}

.eqk-nav a:hover {
  background: var(--eqk-soft);
  color: var(--eqk-teal);
}

.eqk-main {
  padding: 34px 0 66px;
}

.eqk-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 3.4vw, 42px);
}

.eqk-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(16, 23, 32, .08);
  border-radius: 8px;
  margin-bottom: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 241, 238, .92), rgba(255, 255, 255, .88) 44%, rgba(234, 241, 247, .95)),
    #fff;
  box-shadow: var(--eqk-shadow);
}

.eqk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 107, 98, .11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 79, 122, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(110deg, rgba(0, 0, 0, .32), transparent 62%);
  pointer-events: none;
}

.eqk-hero > * {
  position: relative;
}

.eqk-kicker {
  align-items: center;
  gap: 8px;
  color: var(--eqk-wine);
  font-size: .72rem;
  letter-spacing: .12em;
}

.eqk-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eqk-hero h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(2.25rem, 4.8vw, 4.15rem);
  line-height: 1.08;
}

.eqk-lead {
  max-width: 790px;
  color: #2f3d4c;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 2.05;
}

.eqk-stats {
  gap: 10px;
  margin-top: 24px;
}

.eqk-stat {
  border-radius: 8px;
  border-color: rgba(16, 23, 32, .08);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
}

.eqk-stat strong {
  color: var(--eqk-blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 1.65rem;
}

.eqk-hero.eqk-hero-compact {
  grid-template-columns: 1fr;
  padding-bottom: clamp(22px, 3vw, 34px);
}

.eqk-hero.eqk-hero-compact h1 {
  max-width: 980px;
  margin-bottom: 4px;
}

.eqk-hero.eqk-hero-compact .eqk-stats {
  max-width: 620px;
}

.eqk-brief {
  align-self: stretch;
  padding: 22px;
  border: 1px solid rgba(16, 23, 32, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--eqk-shadow-soft);
}

.eqk-brief h2,
.eqk-panel h2 {
  border-bottom: 0;
  padding-bottom: 0;
  color: var(--eqk-ink);
}

.eqk-brief h2::after,
.eqk-panel h2::after,
.eqk-section-head h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--eqk-teal), var(--eqk-wine));
}

.eqk-brief ol {
  padding-left: 0;
  list-style: none;
  counter-reset: eqk-brief;
}

.eqk-brief li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 34px;
  color: #283746;
}

.eqk-brief li::before {
  counter-increment: eqk-brief;
  content: counter(eqk-brief, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1em;
  color: var(--eqk-teal);
  font-size: .72rem;
  font-weight: 850;
}

.eqk-section {
  margin-bottom: 38px;
}

.eqk-section-head {
  align-items: center;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 16px;
}

.eqk-section-head h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(1.28rem, 2vw, 1.68rem);
}

.eqk-grid-2 {
  gap: 16px;
}

.eqk-grid-3 {
  gap: 14px;
}

.eqk-card,
.eqk-pillar,
.eqk-panel,
.eqk-article-shell,
.eqk-pillar-hero,
.eqk-start-card,
.eqk-pillar-tools {
  border-color: rgba(16, 23, 32, .1);
  border-radius: 8px;
  box-shadow: var(--eqk-shadow-soft);
}

.eqk-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.eqk-card a,
.eqk-card-body {
  padding: 18px;
}

.eqk-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 107, 98, .38);
  background: #fff;
  box-shadow: 0 18px 38px rgba(16, 23, 32, .1);
}

.eqk-card-kicker {
  color: var(--eqk-wine);
  font-size: .73rem;
  letter-spacing: .04em;
}

.eqk-card h2,
.eqk-card h3 {
  font-size: 1.05rem;
  line-height: 1.55;
}

.eqk-card p {
  color: #5a6571;
  line-height: 1.82;
}

.eqk-title-sub {
  color: var(--eqk-blue);
  font-size: .9rem;
}

.eqk-pillar {
  position: relative;
  border-left: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff, #fbfcfb);
  transition: transform .18s ease, box-shadow .18s ease;
}

.eqk-pillar::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--eqk-blue), var(--eqk-teal), var(--eqk-gold));
}

.eqk-pillar a {
  padding: 15px;
}

.eqk-pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 23, 32, .1);
}

.eqk-pillar strong {
  font-size: .98rem;
}

.eqk-pillar em {
  color: var(--eqk-wine);
}

.eqk-rail {
  top: 88px;
}

.eqk-panel {
  padding: 18px;
  background: rgba(255, 255, 255, .86);
}

.eqk-panel li {
  border-bottom-color: rgba(16, 23, 32, .075);
}

.eqk-panel a:hover {
  color: var(--eqk-teal);
}

.eqk-tags a,
.eqk-tags span,
.eqk-chip {
  border-radius: 999px;
  background: #fbfcfb;
}

.eqk-tags a:hover,
.eqk-chip:hover {
  border-color: rgba(31, 107, 98, .42);
  background: var(--eqk-celadon);
  color: var(--eqk-teal);
}

.single .eqk-layout {
  grid-template-columns: minmax(0, 820px) 300px;
  justify-content: center;
}

.eqk-breadcrumbs {
  color: #6b7480;
  font-size: .8rem;
}

.eqk-article-shell {
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(180deg, #fff 0, #fff 72%, #fbfcfb 100%);
}

.eqk-article-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(16, 23, 32, .1);
}

.eqk-article-header h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.18;
}

.eqk-meta {
  color: #687380;
}

.eqk-article-content {
  max-width: 720px;
  color: #202a35;
  font-size: clamp(1.02rem, 1.05vw, 1.08rem);
  line-height: 2.08;
}

.eqk-article-content p {
  text-align: start;
}

.eqk-article-content h2 {
  position: relative;
  margin: 2.45em 0 .85em;
  padding: .85em 0 0;
  border-top: 1px solid rgba(16, 23, 32, .12);
  color: var(--eqk-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(1.42rem, 2.3vw, 1.85rem);
  line-height: 1.45;
}

.eqk-article-content h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--eqk-teal), var(--eqk-wine));
}

.eqk-article-content h3 {
  color: var(--eqk-blue);
  font-size: 1.2rem;
}

.eqk-article-content a {
  color: #164f78;
}

.eqk-article-content blockquote {
  margin: 1.7em 0;
  padding: 1em 1.2em;
  border-left: 4px solid var(--eqk-teal);
  background: var(--eqk-soft);
  color: #2f3d4c;
}

.eqk-article-content table {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--eqk-line);
}

.eqk-article-content th {
  background: var(--eqk-sky);
}

.eqk-post-footer {
  max-width: 720px;
  margin-top: 32px;
  padding-top: 22px;
}

.eqk-post-nav a,
.eqk-pagination a,
.eqk-pagination span {
  border-radius: 999px;
}

.eqk-pillar-page {
  gap: 20px;
}

.eqk-pillar-hero {
  background:
    linear-gradient(135deg, rgba(234, 241, 247, .95), #fff 52%, rgba(241, 237, 244, .78));
  box-shadow: var(--eqk-shadow);
}

.eqk-pillar-tools {
  background: rgba(255, 255, 255, .88);
}

.eqk-pillar-shelf h2 {
  border-radius: 8px;
  background: linear-gradient(90deg, #101720, #24364b);
}

.eqk-pillar-drawer {
  padding: 14px;
  border: 1px solid rgba(16, 23, 32, .08);
  border-radius: 8px;
  background: #fff;
}

.eqk-world-map-section {
  margin: 0 0 38px;
}

.eqk-world-map-section .eqk-section-head {
  margin-bottom: 14px;
}

.eqk-world-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, .68fr);
  overflow: hidden;
  border: 1px solid rgba(16, 23, 32, .1);
  border-radius: 8px;
  background: rgba(16, 23, 32, .08);
  box-shadow: var(--eqk-shadow);
}

.eqk-world-map-canvas {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 24%, rgba(135, 59, 82, .12), transparent 24%),
    radial-gradient(circle at 22% 72%, rgba(31, 107, 98, .12), transparent 25%),
    repeating-linear-gradient(90deg, rgba(38, 79, 122, .11) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(180deg, rgba(31, 107, 98, .08) 0 1px, transparent 1px 84px),
    linear-gradient(135deg, #f8fbfa 0%, #edf4f2 48%, #eaf1f7 100%);
}

.eqk-world-map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72), transparent 16%, transparent 84%, rgba(255, 255, 255, .5)),
    linear-gradient(180deg, rgba(255, 255, 255, .42), transparent 42%, rgba(16, 23, 32, .05));
  pointer-events: none;
}

.eqk-world-map-stage {
  position: absolute;
  inset: 22px 26px;
  z-index: 1;
  display: grid;
  place-items: center;
}

.eqk-world-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 18px 28px rgba(16, 23, 32, .12));
}

.eqk-world-map-section .world-map-frame {
  fill: transparent;
}

.eqk-world-map-section .world-region-shape {
  cursor: pointer;
  outline: none;
}

.eqk-world-map-section .world-country-shape {
  fill: rgba(31, 107, 98, .2);
  stroke: rgba(38, 79, 122, .26);
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
  opacity: .78;
  transition: fill 180ms ease, stroke 180ms ease, opacity 180ms ease, filter 180ms ease;
}

.eqk-world-map-section .world-region-shape:hover .world-country-shape,
.eqk-world-map-section .world-region-shape:focus-visible .world-country-shape {
  fill: rgba(38, 79, 122, .36);
  stroke: rgba(16, 23, 32, .44);
  opacity: .95;
  filter: drop-shadow(0 0 8px rgba(38, 79, 122, .18));
}

.eqk-world-map-section .world-region-shape.is-active .world-country-shape {
  fill: rgba(135, 59, 82, .68);
  stroke: rgba(16, 23, 32, .66);
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(135, 59, 82, .28));
}

.eqk-world-map-grid[data-active-region="asia"] .world-region-asia .world-country-shape,
.eqk-world-map-grid[data-active-region="europe"] .world-region-europe .world-country-shape,
.eqk-world-map-grid[data-active-region="africa"] .world-region-africa .world-country-shape,
.eqk-world-map-grid[data-active-region="north-america"] .world-region-north-america .world-country-shape,
.eqk-world-map-grid[data-active-region="south-america"] .world-region-south-america .world-country-shape,
.eqk-world-map-grid[data-active-region="oceania"] .world-region-oceania .world-country-shape {
  fill: rgba(135, 59, 82, .68);
  stroke: rgba(16, 23, 32, .66);
  opacity: 1;
}

.eqk-world-map-panel {
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 249, .98)),
    #fff;
}

.eqk-map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.eqk-map-tabs button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(16, 23, 32, .12);
  border-radius: 999px;
  color: #263342;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: .8rem;
}

.eqk-map-tabs button:hover,
.eqk-map-tabs button.is-active {
  border-color: rgba(31, 107, 98, .42);
  color: #fff;
  background: var(--eqk-teal);
}

.eqk-map-panel-state > span {
  display: inline-flex;
  color: var(--eqk-wine);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.eqk-map-panel-state h3 {
  margin: 7px 0 8px;
  color: var(--eqk-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.35;
}

.eqk-map-panel-state p {
  margin: 0 0 16px;
  color: #4e5966;
  font-size: .92rem;
  line-height: 1.82;
}

.eqk-map-entry-grid {
  display: grid;
  gap: 9px;
}

.eqk-map-entry-grid a {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(16, 23, 32, .09);
  border-left: 4px solid var(--eqk-blue);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.eqk-map-entry-grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 107, 98, .34);
  background: var(--eqk-celadon);
}

.eqk-map-entry-grid span {
  color: var(--eqk-wine);
  font-size: .72rem;
  font-weight: 850;
}

.eqk-map-entry-grid strong {
  color: var(--eqk-ink);
  font-size: .96rem;
  line-height: 1.45;
}

.eqk-map-entry-grid small {
  color: var(--eqk-muted);
  font-size: .78rem;
}

.eqk-site-footer {
  border-top: 1px solid rgba(16, 23, 32, .09);
  background:
    linear-gradient(180deg, #f6f8f7, #eef3f1);
}

@media (max-width: 980px) {
  .eqk-site-header {
    position: static;
  }

  .single .eqk-layout {
    grid-template-columns: 1fr;
  }

  .eqk-article-content,
  .eqk-post-footer {
    max-width: none;
  }
}

/* Fixed editorial type scale */
.eqk-hero h1 {
  font-size: 3.75rem;
}

.eqk-lead {
  font-size: 1.06rem;
}

.eqk-section-head h2 {
  font-size: 1.56rem;
}

.eqk-article-header h1 {
  font-size: 3rem;
}

.eqk-pillar-hero h1 {
  font-size: 2.55rem;
}

.eqk-article-content {
  font-size: 1.06rem;
}

.eqk-article-content h2 {
  font-size: 1.72rem;
}

@media (max-width: 980px) {
  .eqk-hero {
    grid-template-columns: 1fr;
  }

  .eqk-hero h1 {
    font-size: 3rem;
  }

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

  .eqk-world-map-canvas {
    min-height: 360px;
  }

  .eqk-article-header h1 {
    font-size: 2.55rem;
  }

  .eqk-pillar-hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .eqk-header-inner {
    grid-template-columns: 1fr;
  }

  .eqk-hero h1 {
    font-size: 2.35rem;
    line-height: 1.18;
  }

  .eqk-lead,
  .eqk-article-content {
    font-size: 1rem;
  }

  .eqk-section-head h2 {
    font-size: 1.32rem;
  }

  .eqk-article-header h1 {
    font-size: 2.18rem;
  }

  .eqk-pillar-hero h1 {
    font-size: 2rem;
  }

  .eqk-article-content h2 {
    font-size: 1.45rem;
  }

  .eqk-article-shell {
    padding: 20px;
  }

  .eqk-world-map-canvas {
    min-height: 300px;
  }

  .eqk-world-map-stage {
    inset: 12px 8px 16px;
  }

  .eqk-world-map-svg {
    width: 112%;
    transform: translateX(-2%);
  }

  .eqk-world-map-panel {
    padding: 15px;
  }

  .eqk-map-tabs {
    gap: 6px;
  }

  .eqk-map-tabs button {
    min-height: 32px;
    padding-inline: 9px;
    font-size: .76rem;
  }
}

@media (max-width: 640px) {
  .eqk-wrap {
    width: min(100% - 24px, var(--eqk-max));
  }

  .eqk-hero,
  .eqk-article-shell {
    border-radius: 6px;
  }

  .eqk-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .eqk-hero > * {
    min-width: 0;
  }

  .eqk-hero h1 {
    font-size: 2.35rem;
    line-height: 1.18;
  }

  .eqk-card a,
  .eqk-card-body {
    padding: 16px;
  }
}
