:root {
  --sej-bg: #f4f6f8;
  --sej-ink: #111827;
  --sej-muted: #5d6877;
  --sej-border: #dbe2ea;
  --sej-shadow: 0 18px 45px rgba(31, 41, 55, .13);
  --sej-radius-lg: 18px;
  --sej-radius-md: 13px;
  --sej-blue: #dff0ff;
  --sej-route: #d9effb;
  --sej-risk: #fff0cf;
  --sej-dont: #fde4df;
  --sej-check: #ddf4e4;
  --sej-terms: #f4f6f8;
  --sej-accent: #0d8fb8;
}

html {
  scroll-behavior: smooth;
}

body.sej-clean-page {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, rgba(255,255,255,.95), transparent 36%), var(--sej-bg);
  color: var(--sej-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
}

.sej-clean-page * {
  box-sizing: border-box;
}

.sej-clean-page a {
  color: inherit;
  text-decoration: none;
}

.sej-shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 42px 0 56px;
}

.sej-breadcrumb {
  color: #8a93a0;
  font-size: 14px;
  margin: 0 0 10px;
}

.sej-board {
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(222, 229, 237, .98);
  border-radius: 12px;
  box-shadow: var(--sej-shadow);
}

.sej-topbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid rgba(222, 229, 237, .9);
}

.sej-logo {
  font-size: 16px;
  letter-spacing: -.01em;
}

.sej-logo strong {
  color: var(--sej-accent);
  font-weight: 800;
}

.sej-heading {
  padding: 26px 32px 12px;
}

.sej-heading-center {
  text-align: center;
}

.sej-heading h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 850;
}

.sej-heading p {
  max-width: 680px;
  margin: 8px auto 0;
  color: #293241;
  font-size: 15px;
  font-weight: 620;
}

.sej-action-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding: 18px 32px 30px;
}

.sej-action-card {
  position: relative;
  min-height: 180px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--sej-radius-md);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sej-action-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.sej-action-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.sej-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sej-action-card > :not(.sej-card-bg),
.sej-popular-card > :not(.sej-card-bg) {
  position: relative;
  z-index: 1;
}

.sej-action-card:hover,
.sej-popular-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(15,23,42,.12);
  border-color: rgba(13, 143, 184, .32);
}

.sej-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  align-self: center;
  font-size: 52px;
  line-height: 1;
  filter: saturate(1.05);
}

.sej-action-icon img,
.sej-popular-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sej-action-title {
  margin-top: auto;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 900;
}

.sej-action-text {
  display: block;
  margin-top: 8px;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.18;
  font-weight: 530;
}

.sej-popular {
  padding: 0 32px 32px;
}

.sej-popular h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.sej-popular-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.sej-popular-card {
  position: relative;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sej-popular-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 auto;
  font-size: 34px;
  line-height: 1;
}

.sej-popular-title {
  display: block;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 760;
}

.sej-board-article {
  max-width: 760px;
  margin: 0 auto;
}

.sej-topbar-article {
  padding: 0 28px;
}

.sej-heading-article {
  padding: 24px 28px 6px;
}

.sej-heading-article h1 {
  font-size: clamp(28px, 4vw, 38px);
  max-width: 640px;
}

.sej-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 214px;
  gap: 14px;
  padding: 14px 28px 32px;
  align-items: start;
}

.sej-article-main,
.sej-article-side {
  display: grid;
  gap: 14px;
}

.sej-info-box {
  border-radius: 13px;
  border: 1px solid rgba(15,23,42,.13);
  padding: 18px 18px 16px;
}

.sej-info-box h2 {
  margin: 0 0 11px;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 900;
}

.sej-box-blue { background: var(--sej-blue); }
.sej-box-route { background: var(--sej-route); }
.sej-box-risk { background: var(--sej-risk); border-color: rgba(180, 118, 11, .32); }
.sej-box-dont { background: var(--sej-dont); border-color: rgba(220, 38, 38, .17); }
.sej-box-check { background: var(--sej-check); border-color: rgba(22, 163, 74, .22); }
.sej-box-terms { background: var(--sej-terms); }

.sej-plain-list,
.sej-bullet-list,
.sej-step-list,
.sej-check-list,
.sej-dont-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sej-plain-list {
  list-style: decimal;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 560;
}

.sej-bullet-list {
  padding-left: 16px;
  list-style: disc;
  font-size: 13px;
  font-weight: 620;
}

.sej-step-list {
  counter-reset: route;
  gap: 11px;
}

.sej-step-list li {
  counter-increment: route;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  font-size: 14px;
  font-weight: 580;
}

.sej-step-list li::before {
  content: counter(route);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: #2f96d1;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(47, 150, 209, .28);
}

.sej-check-list li,
.sej-dont-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 14px;
  font-weight: 650;
}

.sej-check-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #31b46c;
  color: #fff;
  font-weight: 950;
  line-height: 1;
}

.sej-dont-list li {
  font-size: 13px;
}

.sej-dont-list li::before {
  content: "×";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e54848;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.sej-term-item + .sej-term-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,.1);
}

.sej-term-item a,
.sej-term-item strong {
  color: #172033;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
}

.sej-term-item a:hover {
  color: var(--sej-accent);
}

.sej-term-item p {
  margin: 4px 0 0;
  color: #303948;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 520;
}

.sej-content {
  background: #fff;
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 13px;
  padding: 18px;
  color: #202938;
}

.sej-content > *:first-child { margin-top: 0; }
.sej-content > *:last-child { margin-bottom: 0; }
.sej-content p,
.sej-content li { font-size: 16px; line-height: 1.62; }
.sej-content a { color: var(--sej-accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 920px) {
  .sej-shell {
    width: min(100% - 22px, 760px);
    padding: 18px 0 34px;
  }

  .sej-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sej-action-card,
  .sej-action-card:nth-child(4),
  .sej-action-card:nth-child(5) {
    grid-column: auto;
  }

  .sej-popular-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .sej-topbar,
  .sej-heading,
  .sej-popular,
  .sej-action-grid,
  .sej-article-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sej-action-grid,
  .sej-popular-grid,
  .sej-article-layout {
    grid-template-columns: 1fr;
  }

  .sej-board-article {
    max-width: none;
  }

  .sej-article-side {
    grid-row: auto;
  }
}

@media (max-width: 460px) {
  .sej-heading h1 {
    font-size: 29px;
  }

  .sej-action-card {
    min-height: 158px;
  }

  .sej-popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Главная через block-template/shortcode: убираем отступы Twenty Twenty-Five и делаем макет как на фото. */
body.sej-home-page {
  margin: 0;
  background: var(--sej-bg, #f4f6f8);
}

body.sej-home-page .wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}

body.sej-home-page .wp-block-shortcode,
body.sej-home-page .wp-block-shortcode:first-child,
body.sej-home-page .wp-block-shortcode:last-child {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  max-width: none !important;
}

.sej-home-wrap {
  min-height: 100vh;
  padding: 0;
  color: var(--sej-ink);
}

.sej-home-shell {
  padding-top: clamp(22px, 4vw, 42px);
  padding-bottom: clamp(34px, 5vw, 64px);
}

.sej-board-home {
  max-width: 980px;
  margin: 0 auto;
}

.sej-board-home .sej-heading {
  padding-top: 24px;
}

.sej-board-home .sej-action-card {
  min-height: 172px;
}

.sej-board-home .sej-popular-card {
  min-height: 108px;
}

.sej-home-note {
  margin: 0 32px 32px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 13px;
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.sej-home-note > *:first-child { margin-top: 0; }
.sej-home-note > *:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .sej-home-note {
    margin-left: 18px;
    margin-right: 18px;
  }
}

/* V1.2: full-width clean layout for SEJournal home and article templates. */
body.sej-clean-page.sej-fullwidth-page,
body.sej-clean-page.sej-fullwidth-page .wp-site-blocks {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

body.sej-clean-page.sej-fullwidth-page .wp-site-blocks > * {
  margin-block-start: 0 !important;
}

.sej-fullwidth-page .sej-shell,
.sej-fullwidth-page .sej-home-shell,
.sej-fullwidth-page .sej-article-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 2.4vw, 34px) clamp(14px, 2.8vw, 44px) clamp(34px, 4vw, 64px) !important;
}

.sej-fullwidth-page .sej-board,
.sej-fullwidth-page .sej-board-home,
.sej-fullwidth-page .sej-board-article {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.sej-fullwidth-page .sej-board-home .sej-action-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 22px);
  padding: clamp(18px, 2vw, 30px) clamp(18px, 2.4vw, 38px) clamp(28px, 3vw, 44px);
}

.sej-fullwidth-page .sej-board-home .sej-popular-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}

.sej-fullwidth-page .sej-topbar,
.sej-fullwidth-page .sej-heading,
.sej-fullwidth-page .sej-popular {
  padding-left: clamp(18px, 2.4vw, 38px);
  padding-right: clamp(18px, 2.4vw, 38px);
}

.sej-fullwidth-page .sej-action-card {
  min-height: clamp(170px, 18vw, 230px);
}

.crypto-article .article-grid,
.sej-fullwidth-page .sej-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: clamp(16px, 2vw, 30px);
  padding: clamp(14px, 2vw, 28px) clamp(18px, 2.4vw, 38px) clamp(28px, 3vw, 46px);
  align-items: start;
}

.crypto-article .article-main,
.crypto-article .article-sidebar {
  min-width: 0;
}

.crypto-article .block {
  margin-bottom: 0;
}

.sej-fullwidth-page .sej-heading-article h1 {
  max-width: none;
}

.sej-box-faq { background: #f6f2ff; border-color: rgba(109, 40, 217, .16); }
.sej-faq-list { display: grid; gap: 10px; }
.sej-faq-item {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  padding: 10px 12px;
}
.sej-faq-item summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}
.sej-faq-item p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.sej-warning-icon { margin-right: 3px; }

@media (min-width: 1280px) {
  .sej-fullwidth-page .sej-board-home .sej-action-title { font-size: 21px; }
  .sej-fullwidth-page .sej-board-home .sej-action-text { font-size: 14px; max-width: 440px; }
}

@media (max-width: 920px) {
  .sej-fullwidth-page .sej-board-home .sej-action-grid,
  .sej-fullwidth-page .sej-board-home .sej-popular-grid,
  .crypto-article .article-grid,
  .sej-fullwidth-page .sej-article-layout {
    grid-template-columns: 1fr;
  }

  .sej-fullwidth-page .sej-action-card,
  .sej-fullwidth-page .sej-action-card:nth-child(4),
  .sej-fullwidth-page .sej-action-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .sej-fullwidth-page .sej-board-home .sej-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sej-fullwidth-page .sej-board-home .sej-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .sej-fullwidth-page .sej-shell,
  .sej-fullwidth-page .sej-home-shell,
  .sej-fullwidth-page .sej-article-shell {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .sej-fullwidth-page .sej-board-home .sej-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== SEJournal global functional header ===== */
.sej-site-header {
  width: 100%;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(219, 226, 234, .88);
  backdrop-filter: saturate(1.1) blur(14px);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  z-index: 200;
}

.sej-site-header.is-sticky {
  position: sticky;
  top: 0;
}

.sej-header-container {
  width: min(100% - 40px, 1640px);
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height .2s ease;
}

.sej-site-header.is-compact .sej-header-container {
  height: 60px;
}

.sej-brand {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  color: #111827;
  text-decoration: none;
}

.sej-brand-main {
  display: block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 850;
}

.sej-brand-main span {
  color: var(--sej-accent, #0d8fb8);
}

.sej-brand-note {
  margin-top: 5px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: opacity .2s ease, transform .2s ease;
}

.sej-site-header.is-compact .sej-brand-note {
  opacity: 0;
  transform: translateY(-4px);
  height: 0;
  overflow: hidden;
  margin-top: 0;
}

.sej-header-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.sej-header-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sej-header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #2f3a4a;
  font-size: 15px;
  line-height: 1;
  font-weight: 720;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.sej-header-nav a:hover,
.sej-header-nav a:focus-visible {
  color: var(--sej-accent, #0d8fb8);
  border-bottom-color: currentColor;
}

.sej-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sej-icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.sej-icon-btn:hover,
.sej-icon-btn:focus-visible {
  transform: translateY(-1px);
  color: var(--sej-accent, #0d8fb8);
  border-color: rgba(13, 143, 184, .28);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .11);
}

.sej-icon-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.sej-tg-link svg {
  width: 19px;
  height: 19px;
}

.sej-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.sej-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.sej-search-panel {
  border-top: 1px solid rgba(219, 226, 234, .88);
  background: rgba(255,255,255,.96);
}

.sej-search-panel[hidden],
.sej-mobile-menu[hidden] {
  display: none !important;
}

.sej-search-inner {
  width: min(100% - 40px, 1640px);
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.sej-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.sej-search-form input[type="search"] {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: #f7fafc;
  padding: 0 18px;
  color: #111827;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.sej-search-form input[type="search"]:focus {
  border-color: rgba(13, 143, 184, .45);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13,143,184,.08);
}

.sej-search-form button,
.sej-search-close {
  height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.sej-search-form button {
  padding: 0 22px;
  background: #111827;
  color: #fff;
  font-weight: 760;
}

.sej-search-close {
  width: 48px;
  background: #f3f6f8;
  color: #111827;
  font-size: 28px;
  line-height: 1;
}

.sej-mobile-menu {
  width: min(100% - 32px, 520px);
  margin: 0 auto 12px;
  padding: 10px;
  border: 1px solid rgba(219, 226, 234, .94);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.sej-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  color: #111827;
  font-size: 18px;
  font-weight: 780;
  text-decoration: none;
}

.sej-mobile-menu a::after {
  content: '→';
  color: var(--sej-accent, #0d8fb8);
}

.sej-mobile-menu a:hover {
  background: #f4f8fb;
}

.sej-site-header + .sej-home-wrap .sej-board-home > .sej-topbar,
.sej-site-header + .sej-article-wrap .sej-board-article > .sej-topbar {
  display: none;
}

.sej-site-header + .sej-home-wrap .sej-home-shell,
.sej-site-header + .sej-article-wrap .sej-article-shell {
  padding-top: 28px;
}

@media (max-width: 960px) {
  .sej-header-container {
    width: min(100% - 28px, 100%);
    height: 66px;
  }

  .sej-site-header.is-compact .sej-header-container {
    height: 58px;
  }

  .sej-brand {
    min-width: 0;
  }

  .sej-brand-main {
    font-size: 20px;
  }

  .sej-brand-note {
    display: none;
  }

  .sej-header-nav {
    display: none;
  }

  .sej-menu-toggle {
    display: inline-flex;
  }

  .sej-icon-btn {
    width: 40px;
    height: 40px;
  }

  .sej-search-inner {
    width: min(100% - 28px, 100%);
    min-height: 68px;
  }
}

@media (max-width: 520px) {
  .sej-header-actions {
    gap: 7px;
  }

  .sej-tg-link {
    display: none;
  }

  .sej-search-inner,
  .sej-search-form {
    grid-template-columns: 1fr;
  }

  .sej-search-inner {
    padding: 12px 0 14px;
  }

  .sej-search-close {
    position: absolute;
    right: 14px;
    top: 76px;
    width: 38px;
    height: 38px;
  }
}

/* ===== Native WordPress search results page ===== */
.sej-search-shell {
  padding-top: 28px;
}

.sej-search-board {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.sej-search-page-form {
  padding: 10px 32px 24px;
}

.sej-search-results-list {
  padding: 0 32px 34px;
}

.sej-search-result + .sej-search-result {
  margin-top: 12px;
}

.sej-search-result a {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sej-search-result a:hover {
  transform: translateY(-2px);
  border-color: rgba(13,143,184,.28);
  box-shadow: 0 14px 26px rgba(15,23,42,.1);
}

.sej-search-result strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.sej-search-result span:last-child {
  color: #5d6877;
  font-size: 15px;
  line-height: 1.45;
}

.sej-result-type {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef7fb;
  color: var(--sej-accent, #0d8fb8);
  font-size: 12px;
  font-weight: 820;
}

.sej-empty-results {
  padding: 20px;
  border-radius: 16px;
  background: #fff7df;
  color: #3f3420;
  font-size: 16px;
  font-weight: 650;
}

.sej-pagination {
  margin-top: 24px;
}

.sej-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sej-pagination a,
.sej-pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.sej-pagination .current {
  background: #111827;
  color: #fff;
}

@media (max-width: 720px) {
  .sej-search-page-form,
  .sej-search-results-list {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ===== V1.4 premium card polish: left alignment, line icons, clean home hero ===== */
body.sej-home-page .sej-breadcrumb,
.sej-home-wrap .sej-breadcrumb {
  display: none !important;
}

.sej-site-header + .sej-home-wrap .sej-home-shell,
.sej-home-shell {
  padding-top: clamp(18px, 2.2vw, 32px) !important;
}

.sej-board-home .sej-heading {
  padding-top: clamp(28px, 3.2vw, 50px) !important;
  padding-bottom: clamp(14px, 1.6vw, 24px) !important;
}

.sej-board-home .sej-heading h1 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.sej-fullwidth-page .sej-board-home .sej-action-grid,
.sej-board-home .sej-action-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.sej-fullwidth-page .sej-board-home .sej-action-card,
.sej-board-home .sej-action-card {
  grid-column: span 2;
  min-height: clamp(176px, 14.5vw, 218px);
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: clamp(18px, 1.5vw, 24px);
}

.sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(4),
.sej-board-home .sej-action-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(5),
.sej-board-home .sej-action-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.sej-action-icon,
.sej-popular-icon {
  color: #132033;
  filter: none !important;
}

.sej-action-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 18px !important;
  align-self: flex-start !important;
  justify-content: flex-start !important;
  font-size: 0;
}

.sej-icon-line svg,
.sej-action-icon svg,
.sej-popular-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sej-action-title {
  margin-top: 0 !important;
  max-width: 100%;
}

.sej-action-text {
  max-width: 34em;
}

.sej-popular-card {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  min-height: 116px;
  padding: 14px 14px 13px;
}

.sej-popular-icon {
  width: 38px;
  height: 38px;
  margin: 0 0 8px !important;
  justify-content: flex-start !important;
  font-size: 0;
}

.sej-popular-title {
  max-width: 100%;
}

@media (min-width: 1500px) {
  .sej-fullwidth-page .sej-board-home .sej-action-card,
  .sej-board-home .sej-action-card {
    min-height: 214px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .sej-fullwidth-page .sej-board-home .sej-action-grid,
  .sej-board-home .sej-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .sej-fullwidth-page .sej-board-home .sej-action-card,
  .sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(4),
  .sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(5),
  .sej-board-home .sej-action-card,
  .sej-board-home .sej-action-card:nth-child(4),
  .sej-board-home .sej-action-card:nth-child(5) {
    grid-column: auto !important;
  }
}

@media (max-width: 720px) {
  .sej-fullwidth-page .sej-board-home .sej-action-grid,
  .sej-board-home .sej-action-grid {
    grid-template-columns: 1fr !important;
  }
  .sej-fullwidth-page .sej-board-home .sej-action-card,
  .sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(4),
  .sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(5),
  .sej-board-home .sej-action-card,
  .sej-board-home .sej-action-card:nth-child(4),
  .sej-board-home .sej-action-card:nth-child(5) {
    grid-column: auto !important;
  }
  .sej-popular-card {
    min-height: 106px;
  }
}

/* ===== V1.5 article template: clean ACF + PHP + CSS Grid ===== */
body.sej-action-page .sej-site-header + .sej-article-wrap .sej-article-shell,
body.sej-action-page .sej-article-shell {
  width: min(100% - 32px, 1360px) !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: clamp(18px, 2.4vw, 34px) 0 clamp(40px, 4vw, 64px) !important;
}

body.sej-action-page .sej-board-article,
body.sej-action-page .sejournal-article {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
}

.sejournal-article .sej-heading-article {
  padding: clamp(28px, 3vw, 46px) clamp(20px, 3vw, 42px) clamp(12px, 1.4vw, 20px);
}

.sejournal-article .article-title,
.sejournal-article .sej-heading-article h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 880;
  color: #111827;
}

.sejournal-article .action-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: clamp(14px, 1.5vw, 22px);
  margin: 0 0 clamp(30px, 3vw, 44px);
  padding: clamp(16px, 2vw, 28px) clamp(20px, 3vw, 42px) 0;
  align-items: stretch;
}

.sejournal-article .grid-item {
  min-width: 0;
  padding: clamp(20px, 2vw, 28px);
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, .08);
}

.sejournal-article .block-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 860;
}

.sejournal-article .block-content,
.sejournal-article .block-content p,
.sejournal-article .block-content li {
  color: #243044;
  font-size: 15px;
  line-height: 1.58;
  font-weight: 520;
}

.sejournal-article .block-content p {
  margin: 0;
}

.sejournal-article .item-short-answer { background-color: #eaf2fb; }
.sejournal-article .item-risk { background-color: #fff4e5; border-color: #fce3c0; }
.sejournal-article .item-route { background-color: #eaf2fb; }
.sejournal-article .item-dont-do { background-color: #faebeb; }
.sejournal-article .item-checklist { background-color: #eaf5ea; }
.sejournal-article .item-terms { background-color: #f5f7f9; }

.sejournal-article .route-list {
  padding-left: 20px;
  margin: 0;
}

.sejournal-article .route-list li {
  margin: 0 0 12px;
  padding-left: 5px;
}

.sejournal-article .route-list li:last-child,
.sejournal-article .custom-list li:last-child {
  margin-bottom: 0;
}

.sejournal-article .route-list li::marker {
  color: #4a90e2;
  font-weight: 800;
}

.sejournal-article .custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sejournal-article .custom-list li {
  position: relative;
  padding-left: 28px;
  margin: 0 0 12px;
}

.sejournal-article .neutral-list li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .52);
}

.sejournal-article .dont-do-list li::before {
  content: "✖";
  color: #d32f2f;
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.sejournal-article .check-list li::before {
  content: "✔";
  color: #2e7d32;
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}

.sejournal-article .terms-list {
  display: grid;
  gap: 11px;
}

.sejournal-article .term-item + .term-item {
  padding-top: 11px;
  border-top: 1px solid rgba(15,23,42,.09);
}

.sejournal-article .term-item a,
.sejournal-article .term-item strong {
  display: inline-block;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
}

.sejournal-article .term-item a:hover {
  color: var(--sej-accent, #0d8fb8);
}

.sejournal-article .term-item p {
  margin: 5px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 500;
}

.sejournal-article .article-body {
  max-width: 900px;
  margin: 0 clamp(20px, 3vw, 42px) clamp(34px, 3vw, 48px);
  padding-top: clamp(24px, 2.4vw, 34px);
  border-top: 1px solid rgba(15,23,42,.1);
  color: #202938;
}

.sejournal-article .article-body-only {
  max-width: 900px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.sejournal-article .article-body > *:first-child { margin-top: 0; }
.sejournal-article .article-body > *:last-child { margin-bottom: 0; }
.sejournal-article .article-body p,
.sejournal-article .article-body li {
  font-size: 17px;
  line-height: 1.72;
}
.sejournal-article .article-body h2 {
  margin-top: 1.7em;
  margin-bottom: .65em;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 850;
}
.sejournal-article .article-body h3 {
  margin-top: 1.45em;
  margin-bottom: .55em;
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.14;
  font-weight: 820;
}
.sejournal-article .article-body a {
  color: var(--sej-accent, #0d8fb8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sejournal-article .article-faq {
  margin: 0 clamp(20px, 3vw, 42px) clamp(36px, 3vw, 48px);
  padding: clamp(20px, 2vw, 28px);
  border-radius: 16px;
  border: 1px solid rgba(109, 40, 217, .12);
  background: #f6f2ff;
}

.sejournal-article .article-faq h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 850;
}

@media (min-width: 1500px) {
  body.sej-action-page .sej-article-shell {
    max-width: 1480px !important;
  }
}

@media (max-width: 860px) {
  body.sej-action-page .sej-site-header + .sej-article-wrap .sej-article-shell,
  body.sej-action-page .sej-article-shell {
    width: min(100% - 20px, 100%) !important;
    padding-top: 16px !important;
  }

  .sejournal-article .action-grid {
    grid-template-columns: 1fr;
  }

  .sejournal-article .article-title,
  .sejournal-article .sej-heading-article h1 {
    font-size: clamp(31px, 9vw, 42px);
  }
}

@media (max-width: 520px) {
  .sejournal-article .sej-heading-article,
  .sejournal-article .action-grid,
  .sejournal-article .article-body,
  .sejournal-article .article-faq {
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .sejournal-article .grid-item {
    padding: 18px;
    border-radius: 14px;
  }
}

/* ===== V1.6 home news / pulse block: live content without visual noise ===== */
.sej-home-news-section {
  margin: clamp(28px, 4vw, 60px) auto clamp(44px, 5vw, 72px);
  width: 100%;
}

.sej-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #111827;
}

.sej-section-title {
  margin: 0;
  color: #111827;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 850;
}

.sej-view-all-link {
  flex: 0 0 auto;
  color: var(--sej-accent, #0d8fb8);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.sej-view-all-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sej-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.sej-news-card {
  min-height: 100%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sej-news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 143, 184, .28);
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}

.sej-news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.sej-news-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef2f6;
  overflow: hidden;
}

.sej-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sej-news-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(18px, 1.5vw, 22px);
}

.sej-news-meta {
  margin-bottom: 10px;
}

.sej-news-date {
  color: #7b8491;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 720;
}

.sej-news-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.22;
  letter-spacing: -.025em;
  font-weight: 830;
}

.sej-news-excerpt {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.52;
  font-weight: 480;
}

.sej-news-empty {
  padding: 20px;
  border: 1px dashed rgba(15,23,42,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  color: #5d6877;
  font-size: 14px;
}

@media (min-width: 1500px) {
  .sej-home-news-section {
    width: min(100%, 1520px);
  }
}

@media (max-width: 980px) {
  .sej-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sej-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .sej-news-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== V1.7 archive / category / posts index ===== */
body.sej-archive-page {
  background: radial-gradient(circle at 50% -10%, rgba(255,255,255,.94), transparent 36%), #f4f6f8;
}

.sej-archive-shell {
  width: min(100% - 32px, 1520px);
  padding-top: 30px;
}

.sej-archive-board {
  padding: clamp(22px, 3vw, 42px);
}

.sej-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(18px, 3vw, 42px);
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 2px solid #111827;
}

.sej-archive-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef7fb;
  color: var(--sej-accent, #0d8fb8);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sej-archive-head h1 {
  margin: 0;
  max-width: 780px;
  color: #111827;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 880;
}

.sej-archive-head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #4b5563;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  font-weight: 520;
}

.sej-archive-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.sej-archive-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 10px;
  color: #111827;
  font-size: 14px;
  background: transparent;
}

.sej-archive-search button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.sej-archive-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.sej-archive-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  background: #fff;
  color: #364152;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.sej-archive-pill:hover,
.sej-archive-pill.is-active {
  transform: translateY(-1px);
  border-color: rgba(13,143,184,.28);
  background: #eef7fb;
  color: var(--sej-accent, #0d8fb8);
}

.sej-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin-top: 28px;
}

.sej-archive-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sej-archive-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13,143,184,.28);
  box-shadow: 0 16px 36px rgba(15,23,42,.09);
}

.sej-archive-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.sej-archive-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f6;
}

.sej-archive-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sej-archive-card-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(18px, 1.6vw, 24px);
}

.sej-archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #7b8491;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
  font-weight: 760;
}

.sej-archive-meta span {
  color: var(--sej-accent, #0d8fb8);
}

.sej-archive-card h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.15;
  letter-spacing: -.032em;
  font-weight: 850;
}

.sej-archive-card p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.52;
  font-weight: 480;
}

.sej-archive-empty {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed rgba(15,23,42,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: #5d6877;
  font-size: 15px;
}

.sej-pagination,
.sej-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.sej-pagination a,
.sej-pagination span,
.sej-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.sej-pagination .current,
.sej-pagination a:hover {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

@media (max-width: 1080px) {
  .sej-archive-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sej-archive-search {
    max-width: 560px;
  }

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

@media (max-width: 640px) {
  .sej-archive-shell {
    width: min(100% - 20px, 1520px);
    padding-top: 18px;
  }

  .sej-archive-board {
    padding: 18px;
    border-radius: 14px;
  }

  .sej-archive-head {
    gap: 16px;
    padding-bottom: 18px;
  }

  .sej-archive-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
  }

  .sej-archive-search button {
    min-height: 42px;
  }

  .sej-archive-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
}


/* ===== V1.9 final polish: clean DOM, balanced home cards and one/two-news rows ===== */
.sej-clean-page p:empty,
.sej-clean-page p:has(> br:only-child) {
  display: none !important;
}

/* White board remains full width, but the semantic card system gets a readable product-like max width. */
.sej-board-home .sej-action-grid,
.sej-fullwidth-page .sej-board-home .sej-action-grid {
  width: min(100%, 1240px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.sej-board-home .sej-popular,
.sej-fullwidth-page .sej-board-home .sej-popular {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.sej-board-home .sej-popular-grid,
.sej-fullwidth-page .sej-board-home .sej-popular-grid {
  width: 100%;
}

/* Prevent the lower 2 cards from becoming huge on wide screens; keep the 3+2 rhythm. */
@media (min-width: 1101px) {
  .sej-board-home .sej-action-card,
  .sej-fullwidth-page .sej-board-home .sej-action-card {
    min-height: 198px;
  }

  .sej-board-home .sej-action-card:nth-child(4),
  .sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(4) {
    grid-column: 2 / span 2 !important;
  }

  .sej-board-home .sej-action-card:nth-child(5),
  .sej-fullwidth-page .sej-board-home .sej-action-card:nth-child(5) {
    grid-column: 4 / span 2 !important;
  }
}

/* News block: if there are only 1–2 posts, do not leave an orphan card on the left. */
.sej-news-grid.sej-news-count-1 {
  grid-template-columns: minmax(0, 430px);
  justify-content: center;
}

.sej-news-grid.sej-news-count-2 {
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
}

.sej-news-title {
  font-size: clamp(18px, 1.45vw, 22px);
}

.sej-news-excerpt {
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .sej-news-grid.sej-news-count-1,
  .sej-news-grid.sej-news-count-2 {
    grid-template-columns: 1fr;
  }
}

/* ===== V2.0 product trust layer: E-E-A-T, hero search, tags, guide cards and footer ===== */
.sej-trust-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 64px);
  margin: 0 auto 22px;
  padding: 8px 16px;
  border: 1px solid #cce3fd;
  border-radius: 999px;
  background: #f0f7ff;
  color: #334155;
}

.sej-trust-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(13, 143, 184, .10);
  color: var(--sej-accent, #0d8fb8);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.sej-trust-text {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 620;
}

.sej-trust-text strong {
  color: #111827;
  font-weight: 850;
}

.sej-hero-search-block {
  width: min(100% - 64px, 640px);
  margin: 0 auto 34px;
}

.sej-hero-search-form {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
}

.sej-hero-search-form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 15px;
  font-weight: 560;
}

.sej-hero-search-form input::placeholder {
  color: #8b95a1;
}

.sej-hero-search-form button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.sej-hero-search-form button:hover {
  background: #2b3442;
  transform: translateY(-1px);
}

.sej-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 15px;
}

.sej-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 8px;
  background: rgba(255,255,255,.62);
  color: #263241;
  font-size: 11px;
  line-height: 1;
  font-weight: 750;
  white-space: nowrap;
}

.sej-popular-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
}

.sej-badge-guide {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 7px;
  background: #eaf2fb;
  color: var(--sej-accent, #0d8fb8);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sej-read-time {
  color: #7d8794;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.sej-popular-card .sej-popular-title {
  font-size: 15px;
  line-height: 1.34;
  letter-spacing: -.01em;
}

.sej-site-footer {
  margin-top: 0;
  padding: 60px clamp(18px, 3vw, 44px) 22px;
  background: #111;
  color: #fff;
}

.sej-footer-container {
  width: min(100%, 1240px);
  margin: 0 auto;
}

.sej-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 38px;
}

.sej-footer-brand {
  max-width: 380px;
}

.sej-footer-brand .sej-brand-main {
  color: #fff;
}

.sej-footer-brand p {
  max-width: 340px;
  margin: 10px 0 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.55;
}

.sej-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 26px;
}

.sej-footer-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.sej-footer-nav a:hover {
  color: var(--sej-accent, #0d8fb8);
}

.sej-footer-disclaimer {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: #1a1a1a;
  color: #a1a1aa;
}

.sej-footer-disclaimer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.sej-footer-disclaimer strong {
  color: #d1d5db;
}

.sej-footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #71717a;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  .sej-trust-banner {
    max-width: calc(100% - 36px);
    align-items: flex-start;
    border-radius: 16px;
    text-align: left;
  }

  .sej-hero-search-block {
    width: calc(100% - 36px);
    margin-bottom: 26px;
  }

  .sej-hero-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .sej-hero-search-form button {
    width: 100%;
    padding: 0 14px;
  }

  .sej-card-tags {
    padding-top: 14px;
  }

  .sej-footer-main {
    flex-direction: column;
  }

  .sej-footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .sej-tag {
    white-space: normal;
  }

  .sej-popular-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}


/* ===== V2.0.1 critical polish: trust banner and hero search centering/style ===== */
.sej-board-home .sej-trust-banner,
.sej-home-wrap .sej-trust-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: fit-content !important;
    max-width: min(760px, calc(100% - 32px)) !important;
    margin: 0 auto 30px auto !important;
    padding: 8px 16px !important;
    border: 1px solid #cce3fd !important;
    border-radius: 999px !important;
    background: #f0f7ff !important;
    color: #444 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
.sej-board-home .sej-trust-icon,
.sej-home-wrap .sej-trust-icon {
    display: inline-grid !important;
    place-items: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border-radius: 50% !important;
    background: rgba(13, 143, 184, .10) !important;
    color: var(--sej-accent, #0073aa) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}
.sej-board-home .sej-trust-text,
.sej-home-wrap .sej-trust-text {
    margin: 0 !important;
    color: #444 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 560 !important;
}
.sej-board-home .sej-hero-search-block,
.sej-home-wrap .sej-hero-search-block {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto 50px auto !important;
    box-sizing: border-box !important;
}
.sej-board-home .sej-hero-search-form,
.sej-home-wrap .sej-hero-search-form {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 6px !important;
    padding: 6px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.06) !important;
    box-sizing: border-box !important;
}
.sej-board-home .sej-hero-search-form input[type="search"],
.sej-home-wrap .sej-hero-search-form input[type="search"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    border: 0 !important;
    border-radius: 8px !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    appearance: none !important;
}
.sej-board-home .sej-hero-search-form button,
.sej-home-wrap .sej-hero-search-form button {
    flex: 0 0 auto !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}
.sej-board-home .sej-hero-search-form button:hover,
.sej-home-wrap .sej-hero-search-form button:hover { background: #333 !important; }
@media (max-width: 768px) {
    .sej-board-home .sej-trust-banner,
    .sej-home-wrap .sej-trust-banner { flex-direction: column !important; text-align: center !important; }
    .sej-board-home .sej-hero-search-form,
    .sej-home-wrap .sej-hero-search-form { flex-direction: column !important; padding: 12px !important; }
    .sej-board-home .sej-hero-search-form input[type="search"],
    .sej-home-wrap .sej-hero-search-form input[type="search"] { padding: 10px !important; min-height: 44px !important; }
    .sej-board-home .sej-hero-search-form button,
    .sej-home-wrap .sej-hero-search-form button { width: 100% !important; padding: 14px !important; min-height: 46px !important; }
}


/* =========================================================
   SEJournal UX polish v2.0.4: stronger search, cleaner cards,
   clearer popular situations. This block intentionally comes last.
   ========================================================= */
.sej-board-home .sej-hero-search-block,
.sej-home-wrap .sej-hero-search-block,
.sej-hero-search-block {
    max-width: 750px !important;
    width: min(100% - 40px, 750px) !important;
    margin: 0 auto 54px auto !important;
}

.sej-board-home .sej-hero-search-form,
.sej-home-wrap .sej-hero-search-form,
.sej-hero-search-form {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 16px !important;
    border: 1px solid #e0e0e0 !important;
    background: #ffffff !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08) !important;
}

.sej-board-home .sej-hero-search-form input[type="search"],
.sej-home-wrap .sej-hero-search-form input[type="search"],
.sej-hero-search-form input[type="search"],
.sej-hero-search-form input {
    min-height: 62px !important;
    padding: 18px 24px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 560 !important;
    appearance: none !important;
}

.sej-hero-search-form input::placeholder {
    color: #999 !important;
}

.sej-board-home .sej-hero-search-form button,
.sej-home-wrap .sej-hero-search-form button,
.sej-hero-search-form button {
    min-height: 62px !important;
    padding: 0 36px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.sej-board-home .sej-hero-search-form button:hover,
.sej-home-wrap .sej-hero-search-form button:hover,
.sej-hero-search-form button:hover {
    background: #333 !important;
    transform: translateY(-1px) !important;
}

/* Clean action cards: no micro-tag noise, larger line icons. */
.sej-action-card .sej-card-tags,
.sej-card-tags {
    display: none !important;
}

.sej-action-card .sej-action-icon,
.sej-action-icon {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 18px !important;
}

.sej-action-card .sej-action-icon svg,
.sej-action-icon svg {
    width: 42px !important;
    height: 42px !important;
    display: block !important;
}

.sej-action-card .sej-action-title,
.sej-action-title {
    font-size: 18px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: .015em !important;
}

.sej-action-card .sej-action-text,
.sej-action-text {
    margin-top: 12px !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 560 !important;
}

/* Popular situations: problem title is the visual priority. */
.sej-popular-card {
    padding: 24px !important;
    border-radius: 16px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease !important;
}

.sej-popular-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
    border-color: #d1d1d1 !important;
    transform: translateY(-2px) !important;
}

.sej-popular-card .sej-popular-meta,
.sej-popular-meta {
    margin-bottom: 10px !important;
}

.sej-popular-card .sej-badge-guide,
.sej-badge-guide {
    min-height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #8b95a1 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.sej-popular-card .sej-read-time,
.sej-read-time {
    color: #a0a7b0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
}

.sej-popular-card .sej-popular-title,
.sej-popular-title {
    display: block !important;
    margin-top: 16px !important;
    color: #111 !important;
    font-size: 19px !important;
    line-height: 1.28 !important;
    font-weight: 850 !important;
    letter-spacing: -.015em !important;
}

.sej-popular-card .sej-popular-icon,
.sej-popular-icon {
    margin-top: 16px !important;
    opacity: .68 !important;
}

.sej-popular-card .sej-popular-icon svg,
.sej-popular-icon svg {
    width: 30px !important;
    height: 30px !important;
}

@media (max-width: 768px) {
    .sej-board-home .sej-hero-search-block,
    .sej-home-wrap .sej-hero-search-block,
    .sej-hero-search-block {
        width: min(100% - 28px, 750px) !important;
        margin-bottom: 42px !important;
    }
    .sej-board-home .sej-hero-search-form,
    .sej-home-wrap .sej-hero-search-form,
    .sej-hero-search-form {
        flex-direction: column !important;
        padding: 12px !important;
    }
    .sej-board-home .sej-hero-search-form input[type="search"],
    .sej-home-wrap .sej-hero-search-form input[type="search"],
    .sej-hero-search-form input[type="search"],
    .sej-hero-search-form input {
        min-height: 52px !important;
        padding: 12px 10px !important;
        font-size: 16px !important;
        text-align: left !important;
    }
    .sej-board-home .sej-hero-search-form button,
    .sej-home-wrap .sej-hero-search-form button,
    .sej-hero-search-form button {
        width: 100% !important;
        min-height: 50px !important;
        padding: 14px 18px !important;
    }
}


/* =========================================
   SEJournal v2.0.5 final UX fixes
   - wider hero search so placeholder is readable
   - popular situation cards: title first, icon as watermark
   ========================================= */
.sej-board-home .sej-hero-search-block,
.sej-home-wrap .sej-hero-search-block,
.sej-hero-search-block {
    max-width: 800px !important;
    width: min(100% - 40px, 800px) !important;
}

.sej-popular-card {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 168px !important;
    padding: 24px !important;
}

.sej-popular-card .sej-popular-meta,
.sej-popular-meta {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 12px !important;
}

.sej-popular-card .sej-popular-title,
.sej-popular-title {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: auto !important;
    color: #111 !important;
    font-size: 19px !important;
    line-height: 1.28 !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
}

.sej-popular-card .sej-popular-icon,
.sej-popular-icon {
    position: absolute !important;
    right: -10px !important;
    bottom: -10px !important;
    z-index: 1 !important;
    margin: 0 !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

.sej-popular-card .sej-popular-icon svg,
.sej-popular-icon svg {
    width: 80px !important;
    height: 80px !important;
    opacity: .055 !important;
}

@media (max-width: 768px) {
    .sej-board-home .sej-hero-search-block,
    .sej-home-wrap .sej-hero-search-block,
    .sej-hero-search-block {
        width: min(100% - 28px, 800px) !important;
    }
    .sej-popular-card {
        min-height: 150px !important;
    }
    .sej-popular-card .sej-popular-title,
    .sej-popular-title {
        font-size: 18px !important;
    }
    .sej-popular-card .sej-popular-icon svg,
    .sej-popular-icon svg {
        width: 72px !important;
        height: 72px !important;
    }
}

/* =========================================
   SEJournal v2.0.6 product content layer
   - informative popular cards with excerpt + E-E-A-T mark
   - semantic SEO section before footer
   ========================================= */
.sej-popular-grid{align-items:stretch!important}.sej-popular-card{display:flex!important;flex-direction:column!important;min-height:260px!important;padding:24px!important;background:#fff!important;border-radius:16px!important;border:1px solid #eaeaea!important;text-decoration:none!important;overflow:hidden!important;box-shadow:0 4px 12px rgba(0,0,0,.03)!important;transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease!important}.sej-popular-card:hover{box-shadow:0 12px 30px rgba(0,0,0,.06)!important;border-color:#d1d1d1!important;transform:translateY(-2px)!important}.sej-popular-card .sej-card-bg{display:none!important}.sej-popular-card .sej-popular-meta,.sej-popular-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;position:relative!important;z-index:2!important}.sej-badge-cat{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:4px 8px!important;border-radius:6px!important;background:#f0f0f0!important;color:#111!important;font-size:11px!important;font-weight:800!important;line-height:1!important;letter-spacing:.02em!important}.sej-popular-card .sej-read-time,.sej-read-time{color:#8c96a3!important;font-size:12px!important;white-space:nowrap!important}.sej-popular-card .sej-popular-title,.sej-popular-title{display:block!important;margin:0 0 10px!important;position:relative!important;z-index:2!important;color:#111!important;font-size:19px!important;line-height:1.28!important;font-weight:900!important;letter-spacing:-.02em!important}.sej-popular-excerpt{display:block!important;position:relative!important;z-index:2!important;margin:0 0 22px!important;flex:1 1 auto!important;color:#555!important;font-size:14px!important;line-height:1.55!important}.sej-popular-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-top:auto!important;padding-top:16px!important;border-top:1px solid #f0f0f0!important;position:relative!important;z-index:2!important}.sej-trust-mark{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#2e7d32!important;font-size:12px!important;font-weight:700!important;line-height:1.1!important}.sej-trust-mark svg{flex:0 0 auto!important}.sej-read-more{color:#0073aa!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important}.sej-popular-icon{display:none!important}.sej-seo-section{background:#fff!important;padding:60px 20px!important;border-top:1px solid #eaeaea!important;margin-top:60px!important;border-radius:24px!important}.sej-seo-container{max-width:1200px!important;margin:0 auto!important}.sej-seo-header h2{margin:0 0 30px!important;color:#111!important;font-size:26px!important;line-height:1.15!important;font-weight:900!important;letter-spacing:-.03em!important}.sej-seo-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:60px!important}.sej-seo-column p{margin:0 0 16px!important;color:#444!important;font-size:15px!important;line-height:1.65!important}.sej-seo-column h3{margin:0 0 16px!important;color:#111!important;font-size:17px!important;font-weight:850!important}.sej-seo-column ul{list-style:none!important;padding:0!important;margin:0!important}.sej-seo-column li{position:relative!important;margin:0 0 13px!important;padding-left:22px!important;color:#444!important;font-size:15px!important;line-height:1.55!important}.sej-seo-column li:before{content:"→"!important;position:absolute!important;left:0!important;top:0!important;color:#0073aa!important;font-weight:900!important}@media(max-width:768px){.sej-popular-card{min-height:auto!important}.sej-popular-card .sej-popular-title,.sej-popular-title{font-size:18px!important}.sej-popular-footer{align-items:flex-start!important;flex-direction:column!important}.sej-seo-section{padding:42px 18px!important;margin-top:42px!important;border-radius:18px!important}.sej-seo-grid{grid-template-columns:1fr!important;gap:28px!important}.sej-seo-header h2{font-size:22px!important}}

/* =========================================
   SEJournal v2.0.8 — полноценный криптословарь
   ========================================= */
.sej-dictionary-wrap{background:#f4f6f8;min-height:70vh;padding:44px 20px 72px}.sej-dictionary-shell{max-width:1280px;margin:0 auto}.sej-dictionary-hero{padding:58px 56px!important;border-radius:28px!important;background:#fff!important;border:1px solid #edf0f3!important;box-shadow:0 18px 60px rgba(14,22,36,.05)!important}.sej-dictionary-hero h1{margin:10px 0 16px!important;color:#111!important;font-size:clamp(38px,5vw,70px)!important;line-height:.98!important;font-weight:950!important;letter-spacing:-.065em!important}.sej-dictionary-hero p{max-width:780px;margin:0!important;color:#58606b!important;font-size:18px!important;line-height:1.55!important}.sej-dictionary-search{display:flex;gap:8px;max-width:720px;margin-top:34px;padding:8px;border:1px solid #e0e4e8;border-radius:16px;background:#fff;box-shadow:0 16px 40px rgba(0,0,0,.075)}.sej-dictionary-search input{flex:1;min-height:58px;border:0;outline:0;padding:0 20px;background:transparent;color:#111;font-size:17px}.sej-dictionary-search button{min-height:58px;border:0;border-radius:10px;background:#111;color:#fff;padding:0 30px;font-size:15px;font-weight:850;cursor:pointer}.sej-dictionary-grid-section{margin-top:34px}.sej-dictionary-group{margin-top:34px}.sej-dictionary-group:first-child{margin-top:0}.sej-dictionary-group h2{margin:0 0 16px;color:#111;font-size:22px;line-height:1.2;font-weight:900;letter-spacing:-.025em}.sej-dictionary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sej-dictionary-card{display:flex;flex-direction:column;min-height:230px;padding:24px;border-radius:20px;background:#fff;border:1px solid #e8ecf0;text-decoration:none;color:inherit;box-shadow:0 8px 22px rgba(0,0,0,.025);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.sej-dictionary-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(0,0,0,.065);border-color:#d3e7f7}.sej-dictionary-term{align-self:flex-start;margin-bottom:20px;padding:6px 10px;border-radius:999px;background:#eef7ff;color:#0073aa;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.sej-dictionary-card-title{display:block;margin:0 0 10px;color:#111;font-size:20px;line-height:1.2;font-weight:950;letter-spacing:-.035em}.sej-dictionary-card-text{display:block;color:#58606b;font-size:14px;line-height:1.55;flex:1}.sej-dictionary-more{display:block;margin-top:18px;color:#0073aa;font-size:13px;font-weight:900}.sej-dictionary-term-page{padding:54px 56px!important;border-radius:28px!important;background:#fff!important;border:1px solid #edf0f3!important;box-shadow:0 18px 60px rgba(14,22,36,.05)!important}.sej-back-link{display:inline-flex;margin-bottom:28px;color:#0073aa;text-decoration:none;font-size:14px;font-weight:850}.sej-back-link:hover{text-decoration:underline}.sej-dictionary-term-head{max-width:900px}.sej-dictionary-category{display:inline-flex;align-items:center;min-height:28px;padding:6px 10px;border-radius:999px;background:#f0f7ff;color:#0073aa;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.sej-dictionary-term-head h1{margin:18px 0 14px!important;color:#111!important;font-size:clamp(38px,5vw,68px)!important;line-height:.98!important;font-weight:950!important;letter-spacing:-.065em!important}.sej-dictionary-term-head p{margin:0!important;color:#58606b!important;font-size:19px!important;line-height:1.5!important}.sej-definition-card{margin:38px 0;padding:28px 30px;border-radius:22px;background:#eaf2fb;border:1px solid #d9eafb}.sej-definition-label{display:block;margin:0 0 10px;color:#0073aa;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.sej-definition-card p{margin:0;color:#111;font-size:20px;line-height:1.45;font-weight:750;letter-spacing:-.02em}.sej-dictionary-content-grid{display:grid;grid-template-columns:1.55fr .85fr;gap:28px}.sej-dictionary-content-main,.sej-dictionary-aside,.sej-related-terms{padding:28px;border-radius:22px;background:#fff;border:1px solid #ebeff3}.sej-dictionary-content-main h2,.sej-dictionary-aside h2,.sej-related-terms h2{margin:0 0 18px;color:#111;font-size:22px;line-height:1.2;font-weight:900;letter-spacing:-.025em}.sej-dictionary-content-main p{margin:0 0 16px;color:#444;font-size:16px;line-height:1.7}.sej-dictionary-content-main p:last-child{margin-bottom:0}.sej-dictionary-aside ul{list-style:none;margin:0;padding:0}.sej-dictionary-aside li{position:relative;margin:0 0 14px;padding-left:22px;color:#444;font-size:15px;line-height:1.55}.sej-dictionary-aside li:before{content:'✓';position:absolute;left:0;top:0;color:#2e7d32;font-weight:950}.sej-related-terms{margin-top:28px}.sej-related-term-chips{display:flex;flex-wrap:wrap;gap:10px}.sej-related-term-chips a{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border-radius:999px;background:#f6f8fa;border:1px solid #e7ebef;color:#111;text-decoration:none;font-size:13px;font-weight:850}.sej-related-term-chips a:hover{background:#eef6ff;border-color:#cbe4fb;color:#0073aa}.sej-dictionary-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:26px;padding:0 22px;border-radius:12px;background:#111;color:#fff;text-decoration:none;font-weight:850}.sej-glossary-strip{background:linear-gradient(180deg,#fff,#fafbfc);border-radius:18px;padding:24px!important;border:1px solid #eef1f4!important}.sej-glossary-title:after{content:' — быстрые определения';font-weight:650;color:#a3acb6;text-transform:none;letter-spacing:0}.sej-glossary-all{background:#111!important;color:#fff!important;border-color:#111!important}.sej-glossary-all:hover{background:#2a2a2a!important;color:#fff!important;border-color:#2a2a2a!important}
@media(max-width:980px){.sej-dictionary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sej-dictionary-content-grid{grid-template-columns:1fr}.sej-dictionary-hero,.sej-dictionary-term-page{padding:42px 28px!important}}
@media(max-width:640px){.sej-dictionary-wrap{padding:26px 14px 54px}.sej-dictionary-hero,.sej-dictionary-term-page{padding:32px 20px!important;border-radius:22px!important}.sej-dictionary-hero p,.sej-dictionary-term-head p{font-size:16px!important}.sej-dictionary-search{flex-direction:column;padding:12px}.sej-dictionary-search input{min-height:50px;padding:0 8px;font-size:15px}.sej-dictionary-search button{min-height:50px;width:100%}.sej-dictionary-grid{grid-template-columns:1fr}.sej-dictionary-card{min-height:auto}.sej-definition-card{padding:22px}.sej-definition-card p{font-size:17px}.sej-dictionary-content-main,.sej-dictionary-aside,.sej-related-terms{padding:22px}}


/* SEJournal v2.0.9: Telegram lead magnet, E-E-A-T experts and real dictionary strip on home */
.sej-tg-banner{max-width:1200px;margin:64px auto 0;padding:38px 40px;border-radius:22px;background:linear-gradient(135deg,#102a48 0%,#1e4f83 54%,#2a72a8 100%);color:#fff;box-shadow:0 24px 70px rgba(18,55,90,.18);position:relative;overflow:hidden}.sej-tg-banner:before{content:"";position:absolute;inset:-40% -15% auto auto;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.10);filter:blur(2px)}.sej-tg-content{position:relative;z-index:1;display:flex;align-items:center;gap:28px}.sej-tg-icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.18)}.sej-tg-text{flex:1 1 auto}.sej-tg-text h2{margin:0 0 8px;color:#fff;font-size:24px;line-height:1.15;font-weight:900;letter-spacing:-.03em}.sej-tg-text p{margin:0;max-width:720px;color:rgba(255,255,255,.82);font-size:15px;line-height:1.55}.sej-tg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 26px;border-radius:12px;background:#fff;color:#123557!important;text-decoration:none!important;font-size:14px;font-weight:850;white-space:nowrap;box-shadow:0 10px 26px rgba(0,0,0,.12);transition:transform .18s ease,box-shadow .18s ease}.sej-tg-btn:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,0,0,.18)}
.sej-experts-section{max-width:1200px;margin:64px auto 0;padding:48px;border-radius:24px;background:#fff;border:1px solid #e9edf2;box-shadow:0 16px 50px rgba(15,23,42,.045)}.sej-experts-head{max-width:820px;margin:0 0 28px}.sej-eyebrow{display:inline-flex;margin:0 0 12px;padding:5px 9px;border-radius:999px;background:#eef7ff;color:#0b75ad;font-size:11px;line-height:1;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sej-experts-head h2{margin:0 0 10px;color:#111;font-size:28px;line-height:1.12;font-weight:900;letter-spacing:-.035em}.sej-experts-head p{margin:0;color:#5a6470;font-size:15px;line-height:1.65}.sej-experts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sej-expert-card{display:flex;gap:15px;padding:20px;border-radius:18px;background:#f8fafc;border:1px solid #edf1f5}.sej-expert-avatar{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#111;color:#fff;font-size:13px;font-weight:900;letter-spacing:-.02em}.sej-expert-body h3{margin:0 0 7px;color:#111;font-size:16px;line-height:1.25;font-weight:900}.sej-expert-role{margin:0 0 8px;color:#1f2933;font-size:13px;line-height:1.45;font-weight:750}.sej-expert-note{margin:0;color:#687381;font-size:13px;line-height:1.5}.sej-home-shell>.sej-glossary-strip{max-width:1200px;margin:48px auto 0;padding:28px 0 0;border-top:1px solid #e6eaf0}.sej-home-shell>.sej-glossary-strip .sej-glossary-title{font-size:13px;color:#111}.sej-glossary-all{background:#111!important;color:#fff!important;border-color:#111!important}.sej-glossary-all:hover{background:#222!important;color:#fff!important;transform:translateY(-1px)}
@media(max-width:900px){.sej-tg-content{flex-direction:column;align-items:flex-start}.sej-tg-btn{width:100%}.sej-experts-section{padding:34px 22px}.sej-experts-grid{grid-template-columns:1fr}.sej-expert-card{align-items:flex-start}}@media(max-width:640px){.sej-tg-banner{margin-top:44px;padding:30px 22px;border-radius:18px}.sej-tg-content{text-align:left;gap:18px}.sej-tg-icon{width:56px;height:56px;flex-basis:56px}.sej-tg-text h2{font-size:21px}.sej-experts-head h2{font-size:24px}.sej-home-shell>.sej-glossary-strip{margin-top:38px}}

/* ============================================================
   SEJournal v2.1.0 — proper standalone crypto dictionary UI
   ============================================================ */
.sej-dictionary-index-page .sej-dictionary-hero p{max-width:860px!important;color:#545d68!important}
.sej-dict-alphabet{display:flex;flex-direction:column;gap:14px;margin:30px 0 0;padding:24px;border-radius:22px;background:#fff;border:1px solid #e8edf2;box-shadow:0 10px 28px rgba(14,22,36,.035)}
.sej-alphabet-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sej-alphabet-lang{font-size:12px;font-weight:950;color:#9aa3ad;margin-right:12px;letter-spacing:.08em;text-transform:uppercase;min-width:26px}
.sej-alphabet-group a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:#f5f7f9;color:#111;font-weight:850;font-size:14px;text-decoration:none;border:1px solid #eef1f4;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.sej-alphabet-group a:hover{background:#111;color:#fff;border-color:#111;transform:translateY(-1px)}
.sej-dictionary-terms{margin-top:36px}
.sej-term-letter-section{scroll-margin-top:96px;margin-top:42px}
.sej-term-letter-section:first-child{margin-top:0}
.sej-term-letter-section>h2{display:flex;align-items:center;gap:14px;margin:0 0 18px;color:#111;font-size:28px;line-height:1;font-weight:950;letter-spacing:-.04em}
.sej-term-letter-section>h2:after{content:'';display:block;height:1px;flex:1;background:#e6ebf0}
.sej-terms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.sej-term-card{position:relative;display:flex;flex-direction:column;min-height:210px;padding:22px;border-radius:18px;background:#fff;border:1px solid #e8edf2;text-decoration:none;color:inherit;box-shadow:0 6px 18px rgba(14,22,36,.025);transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.sej-term-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(14,22,36,.07);border-color:#0073aa}
.sej-term-chip{align-self:flex-start;margin-bottom:18px;padding:5px 9px;border-radius:999px;background:#f1f6fb;color:#687481;font-size:11px;font-weight:850;line-height:1;text-transform:uppercase;letter-spacing:.045em}
.sej-term-name{margin:0 0 10px!important;color:#111!important;font-size:20px!important;line-height:1.15!important;font-weight:950!important;letter-spacing:-.035em!important}
.sej-term-desc{margin:0!important;color:#56606b!important;font-size:14px!important;line-height:1.55!important;flex:1}
.sej-term-more{display:inline-flex;margin-top:18px;color:#0073aa;font-size:13px;font-weight:900}
.sej-dictionary-page .sej-archive-chips,.sej-dictionary-page .sej-archive-meta,.sej-dictionary-page .sej-news-grid,.sej-dictionary-page .wp-block-query,.sej-dictionary-page .wp-block-post-template{display:none!important}
@media(max-width:760px){.sej-dict-alphabet{padding:18px;border-radius:18px}.sej-alphabet-lang{width:100%;margin:0 0 2px}.sej-terms-grid{grid-template-columns:1fr}.sej-term-letter-section>h2{font-size:24px}.sej-term-card{min-height:auto}.sej-dictionary-search{max-width:none}}


/* ===== V2.1.2 article navigator + automatic TOC polish ===== */
body.sej-action-page .sej-article-shell{width:min(100% - 32px,1280px)!important;max-width:1280px!important}
.sejournal-article.sej-board-article{background:#fff!important;border:1px solid #e8edf2!important;box-shadow:0 16px 48px rgba(14,22,36,.045)!important;border-radius:26px!important}
.sejournal-article .sej-heading-article{padding:clamp(30px,4vw,58px) clamp(22px,4vw,58px) clamp(18px,2vw,28px)!important}
.sej-article-meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;margin:0 0 16px!important;color:#87919d!important;font-size:13px!important;font-weight:750!important}
.sej-article-meta span{display:inline-flex!important;align-items:center!important;gap:6px!important}
.sejournal-article .article-title{max-width:1040px!important;font-size:clamp(34px,4.4vw,58px)!important;line-height:1.02!important;letter-spacing:-.055em!important}
.sejournal-article .action-grid{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)!important;gap:24px!important;padding:clamp(16px,2.4vw,34px) clamp(22px,4vw,58px) 0!important;margin-bottom:42px!important}
.sejournal-article .grid-item{border-radius:18px!important;padding:26px!important}.sejournal-article .item-short-answer{background:#eaf2fb!important}.sejournal-article .item-route{background:#fff!important;border-color:#e2e8ef!important}.sejournal-article .item-risk{background:#fff8e5!important;border-color:#f5dfad!important}.sejournal-article .item-dont-do{background:#faebeb!important;border-color:#f0d2d2!important}.sejournal-article .item-checklist{background:#eaf6ed!important}.sejournal-article .item-terms{background:#f5f7f9!important}.sejournal-article .block-title{font-size:13px!important;font-weight:900!important;letter-spacing:.065em!important}.sejournal-article .block-content,.sejournal-article .block-content p,.sejournal-article .block-content li{font-size:15px!important;line-height:1.62!important;color:#263346!important}
.sej-article-toc{max-width:900px!important;margin:0 auto 36px!important;padding:22px 24px!important;border:1px solid #e6ebf1!important;border-radius:18px!important;background:#f8fafc!important}.sej-article-toc-title{margin:0 0 12px!important;color:#111!important;font-size:13px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.075em!important}.sej-article-toc ol{display:grid!important;gap:8px!important;list-style:none!important;margin:0!important;padding:0!important}.sej-article-toc li{margin:0!important}.sej-article-toc li.sej-toc-l3{padding-left:16px!important}.sej-article-toc a{color:#263346!important;text-decoration:none!important;font-size:14px!important;font-weight:650!important;line-height:1.35!important}.sej-article-toc a:hover{color:#0073aa!important}
.sejournal-article .article-body{max-width:860px!important;margin:0 auto clamp(36px,4vw,58px)!important;padding-top:34px!important;border-top:1px solid #e6ebf1!important;color:#202938!important}.sejournal-article .article-body-only{padding-top:34px!important;border-top:1px solid #e6ebf1!important}.sejournal-article .article-body p,.sejournal-article .article-body li{font-size:18px!important;line-height:1.76!important}.sejournal-article .article-body h2{scroll-margin-top:96px!important;margin-top:2em!important;margin-bottom:.72em!important;font-size:clamp(27px,2.4vw,36px)!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-.04em!important}.sejournal-article .article-body h3{scroll-margin-top:96px!important;margin-top:1.55em!important;font-size:clamp(22px,1.8vw,28px)!important;font-weight:850!important}.sejournal-article .article-body img{border-radius:16px!important}.sejournal-article .article-faq{max-width:900px!important;margin:0 auto 52px!important;border-radius:20px!important;background:#f6f2ff!important}
@media(max-width:860px){body.sej-action-page .sej-article-shell{width:min(100% - 20px,100%)!important}.sejournal-article.sej-board-article{border-radius:20px!important}.sejournal-article .action-grid{grid-template-columns:1fr!important;padding-left:18px!important;padding-right:18px!important}.sejournal-article .sej-heading-article{padding-left:18px!important;padding-right:18px!important}.sej-article-toc,.sejournal-article .article-body,.sejournal-article .article-faq{max-width:none!important;margin-left:18px!important;margin-right:18px!important}.sejournal-article .article-body p,.sejournal-article .article-body li{font-size:17px!important}.sejournal-article .article-title{font-size:clamp(30px,8vw,42px)!important}}


/* SEJournal v2.1.3: premium single article with sticky TOC sidebar */
.sejournal-article .sej-article-layout{display:flex;gap:42px;align-items:flex-start;margin:0 clamp(22px,4vw,58px) clamp(40px,5vw,64px);padding-top:34px;border-top:1px solid #e6ebf1}.sejournal-article .sej-content-area{flex:1 1 auto;min-width:0;max-width:840px;margin:0!important;padding-top:0!important;border-top:0!important}.sej-toc-sidebar{width:280px;flex:0 0 280px;display:none}.sej-sticky-toc{position:sticky;top:96px;background:#fcfcfc;border:1px solid #e6ebf1;border-radius:16px;padding:22px;box-shadow:0 10px 28px rgba(14,22,36,.035)}.sej-sticky-toc .sej-article-toc{margin:0!important;max-width:none!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.sej-sticky-toc .sej-article-toc-title{margin:0 0 14px!important;color:#111!important;font-size:13px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.075em!important}.sej-sticky-toc .sej-article-toc ol{display:grid!important;gap:10px!important;list-style:none!important;margin:0!important;padding:0!important}.sej-sticky-toc .sej-article-toc li{margin:0!important;line-height:1.35!important}.sej-sticky-toc .sej-article-toc li.sej-toc-l3{padding-left:14px!important}.sej-sticky-toc .sej-article-toc a{display:block;color:#5a6675!important;text-decoration:none!important;font-size:14px!important;font-weight:650!important;line-height:1.35!important}.sej-sticky-toc .sej-article-toc a:hover{color:#0073aa!important}.sejournal-article .article-body.sej-content-area p,.sejournal-article .article-body.sej-content-area li{font-size:18px!important;line-height:1.76!important}.sejournal-article .article-body.sej-content-area h2{scroll-margin-top:104px!important}.sejournal-article .article-body.sej-content-area h3{scroll-margin-top:104px!important}.sej-action-grid-empty + .sej-article-layout{margin-top:0}@media(min-width:1120px){.sej-toc-sidebar{display:block}.sejournal-article .sej-article-layout{justify-content:center}.sejournal-article .sej-content-area{max-width:820px}}@media(max-width:1119px){.sejournal-article .sej-article-layout{display:block;margin-left:clamp(18px,4vw,42px);margin-right:clamp(18px,4vw,42px)}.sejournal-article .sej-content-area{max-width:860px!important;margin-left:auto!important;margin-right:auto!important}.sej-toc-sidebar{display:none!important}}@media(max-width:860px){.sejournal-article .sej-article-layout{margin-left:18px!important;margin-right:18px!important;padding-top:28px}.sejournal-article .article-body.sej-content-area p,.sejournal-article .article-body.sej-content-area li{font-size:17px!important}}

/* SEJournal v2.1.4: article reading rhythm and typography polish */
body.sej-action-page .sej-article-shell{
  width:min(100% - 32px,1280px)!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.sejournal-article .action-grid{
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  gap:28px!important;
}
.sejournal-article .grid-item{
  padding:30px!important;
  border-radius:20px!important;
  box-shadow:0 10px 26px rgba(14,22,36,.035)!important;
}
.sejournal-article .block-title{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-bottom:14px!important;
  color:#0f172a!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.075em!important;
}
.sejournal-article .block-content,
.sejournal-article .block-content p,
.sejournal-article .block-content li{
  color:#263346!important;
  font-size:16px!important;
  line-height:1.68!important;
}
.sejournal-article .block-content p:last-child,
.sejournal-article .block-content ul:last-child,
.sejournal-article .block-content ol:last-child{margin-bottom:0!important;}
.sejournal-article .item-risk{box-shadow:0 12px 30px rgba(245,158,11,.075)!important;}
.sejournal-article .item-dont-do{box-shadow:0 12px 30px rgba(220,38,38,.055)!important;}
.sejournal-article .sej-article-layout{
  width:min(100% - 64px,1100px)!important;
  max-width:1100px!important;
  margin:44px auto 86px auto!important;
  display:flex!important;
  justify-content:center!important;
  gap:60px!important;
  align-items:flex-start!important;
  padding-top:38px!important;
  border-top:1px solid #e6ebf1!important;
}
.sejournal-article .sej-content-area{
  width:100%!important;
  max-width:720px!important;
  min-width:0!important;
  flex:1 1 720px!important;
  margin:0!important;
  padding:0!important;
  border-top:0!important;
}
.sej-toc-sidebar{
  width:260px!important;
  flex:0 0 260px!important;
}
.sej-sticky-toc{
  top:100px!important;
  padding:24px!important;
  border-radius:18px!important;
  background:#fbfcfd!important;
}
.sejournal-article .article-body.sej-content-area,
.sejournal-article .sej-content-area{
  color:#1f2937!important;
  font-size:18px!important;
  line-height:1.78!important;
}
.sejournal-article .article-body.sej-content-area p,
.sejournal-article .article-body.sej-content-area li{
  max-width:720px!important;
  font-size:18px!important;
  line-height:1.78!important;
  letter-spacing:-.006em!important;
}
.sejournal-article .article-body.sej-content-area p{
  margin:0 0 22px!important;
}
.sejournal-article .article-body.sej-content-area ul,
.sejournal-article .article-body.sej-content-area ol{
  margin:18px 0 28px!important;
  padding-left:1.35em!important;
}
.sejournal-article .article-body.sej-content-area li{margin-bottom:10px!important;}
.sejournal-article .article-body.sej-content-area strong,
.sejournal-article .article-body.sej-content-area b{
  color:#0f172a!important;
  font-weight:850!important;
}
.sejournal-article .article-body.sej-content-area blockquote{
  margin:32px 0!important;
  padding:22px 26px!important;
  border-left:4px solid #0b7fb3!important;
  border-radius:0 16px 16px 0!important;
  background:#f5f9fc!important;
  color:#253142!important;
  box-shadow:0 10px 24px rgba(14,22,36,.035)!important;
}
.sejournal-article .article-body.sej-content-area blockquote p{
  margin-bottom:0!important;
  font-size:17px!important;
  line-height:1.66!important;
}
.sejournal-article .article-body.sej-content-area h2{
  margin-top:2.25em!important;
  margin-bottom:.78em!important;
  color:#0f172a!important;
  font-size:clamp(28px,2.55vw,38px)!important;
  line-height:1.08!important;
  letter-spacing:-.045em!important;
}
.sejournal-article .article-body.sej-content-area h3{
  margin-top:1.7em!important;
  margin-bottom:.65em!important;
  color:#0f172a!important;
  font-size:clamp(22px,1.85vw,29px)!important;
  line-height:1.16!important;
}
@media(min-width:1120px){
  .sej-toc-sidebar{display:block!important;}
}
@media(max-width:1119px){
  .sejournal-article .sej-article-layout{
    display:block!important;
    width:min(100% - 48px,860px)!important;
    max-width:860px!important;
    margin:38px auto 70px!important;
    gap:0!important;
  }
  .sej-toc-sidebar{display:none!important;}
  .sejournal-article .sej-content-area{max-width:760px!important;margin-left:auto!important;margin-right:auto!important;}
}
@media(max-width:860px){
  body.sej-action-page .sej-article-shell{width:min(100% - 20px,100%)!important;}
  .sejournal-article .action-grid{gap:18px!important;padding-left:18px!important;padding-right:18px!important;}
  .sejournal-article .grid-item{padding:22px!important;border-radius:18px!important;}
  .sejournal-article .sej-article-layout{
    width:calc(100% - 36px)!important;
    margin:30px auto 54px!important;
    padding-top:30px!important;
  }
  .sejournal-article .article-body.sej-content-area p,
  .sejournal-article .article-body.sej-content-area li{
    font-size:17px!important;
    line-height:1.74!important;
  }
}

/* SEJournal v2.1.5: scrollspy, images and final conversion block. */
.sej-sticky-toc .sej-article-toc a{position:relative;border-radius:8px;padding:7px 10px;margin-left:-10px;transition:background .18s ease,color .18s ease,font-weight .18s ease}.sej-sticky-toc .sej-article-toc a.is-active{background:#eef7ff!important;color:#0073aa!important;font-weight:900!important}.sej-sticky-toc .sej-article-toc a.is-active:before{content:"";position:absolute;left:-12px;top:9px;bottom:9px;width:3px;border-radius:999px;background:#0073aa}.sejournal-article .article-body.sej-content-area img{display:block;max-width:100%;height:auto;border-radius:14px;box-shadow:0 8px 24px rgba(14,22,36,.075);margin:34px auto}.sejournal-article .article-body.sej-content-area figure{margin:34px 0}.sejournal-article .article-body.sej-content-area figure img{margin:0 auto 12px}.sejournal-article .article-body.sej-content-area figcaption{margin:0 auto 30px;max-width:680px;color:#87919d;text-align:center;font-size:13px;line-height:1.45}.sej-article-next{width:min(100% - 64px,1100px);margin:0 auto 64px;padding:34px;border-radius:24px;background:#f8fafc;border:1px solid #e6ebf1;box-shadow:0 14px 34px rgba(14,22,36,.04)}.sej-article-next-head{max-width:780px;margin:0 0 24px}.sej-article-next .sej-kicker{display:inline-flex;margin:0 0 10px;color:#0073aa;font-size:12px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.sej-article-next h2{margin:0 0 10px;color:#0f172a;font-size:clamp(24px,2.2vw,34px);line-height:1.1;font-weight:950;letter-spacing:-.04em}.sej-article-next p{margin:0;color:#536171;font-size:15px;line-height:1.62}.sej-article-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.sej-article-related-card{display:flex;flex-direction:column;gap:10px;min-height:190px;padding:20px;border-radius:18px;background:#fff;border:1px solid #e4eaf0;color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.sej-article-related-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(14,22,36,.07);border-color:#cbdceb}.sej-article-related-card .sej-related-date{color:#8a95a3;font-size:12px;font-weight:800}.sej-article-related-card strong{color:#0f172a;font-size:16px;line-height:1.25;font-weight:900}.sej-article-related-card span:last-child{color:#596777;font-size:14px;line-height:1.48}.sej-article-tg-cta{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;margin-top:24px;padding:24px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%)}.sej-article-tg-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff}.sej-article-tg-cta h3{margin:0 0 6px;color:#fff;font-size:19px;font-weight:900;letter-spacing:-.02em}.sej-article-tg-cta p{margin:0;max-width:620px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.55}.sej-article-tg-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:10px;background:#fff;color:#1e3c72;text-decoration:none;font-size:14px;font-weight:900;white-space:nowrap;transition:transform .18s ease}.sej-article-tg-cta a:hover{transform:translateY(-2px)}@media(max-width:900px){.sej-article-next{width:calc(100% - 36px);padding:24px;border-radius:20px}.sej-article-related-grid{grid-template-columns:1fr}.sej-article-related-card{min-height:auto}.sej-article-tg-cta{grid-template-columns:1fr;text-align:center}.sej-article-tg-icon{margin:0 auto}.sej-article-tg-cta a{width:100%}}


/* SEJournal v2.1.6: related cards alignment + quieter meta + visible CTA, TOC active alias. */
.sej-sticky-toc .sej-article-toc a.sej-toc-active{background:#eef7ff!important;color:#0073aa!important;font-weight:900!important}
.sej-sticky-toc .sej-article-toc a.sej-toc-active:before{content:""!important;position:absolute!important;left:-12px!important;top:9px!important;bottom:9px!important;width:3px!important;border-radius:999px!important;background:#0073aa!important}
.sej-article-related-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:20px!important;align-items:stretch!important;margin:26px 0!important}
.sej-article-related-grid>*{margin-top:0!important;align-self:stretch!important}
.sej-article-related-card{height:100%!important;min-height:0!important;padding:22px!important;gap:0!important;align-self:stretch!important;justify-content:flex-start!important}
.sej-article-related-card .sej-related-date{display:block!important;margin:0 0 10px!important;color:#9aa4af!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.02em!important}
.sej-article-related-card .sej-related-title{display:block!important;margin:0 0 10px!important;color:#0f172a!important;font-size:17px!important;line-height:1.28!important;font-weight:900!important;letter-spacing:-.018em!important}
.sej-article-related-card .sej-related-excerpt{display:block!important;margin:0 0 18px!important;color:#556273!important;font-size:14px!important;line-height:1.55!important;flex:1 1 auto!important}
.sej-article-related-card .sej-related-readmore{display:inline-flex!important;align-items:center!important;margin-top:auto!important;color:#0073aa!important;font-size:13px!important;font-weight:900!important;line-height:1.2!important;text-decoration:none!important}
.sej-article-related-card:hover .sej-related-readmore{text-decoration:underline!important;text-underline-offset:.18em!important}
@media(max-width:900px){.sej-article-related-grid{grid-template-columns:1fr!important;grid-auto-rows:auto!important}.sej-article-related-card{height:auto!important}}


/* SEJournal v2.1.7 HARD FIX: force related cards into one strict top-aligned row. */
body.single .sej-article-next .sej-article-related-grid,
body.sej-action-page .sej-article-next .sej-article-related-grid,
.sej-article-next .sej-article-related-grid{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:stretch!important;gap:20px!important;margin:26px 0!important;padding:0!important;grid-template-columns:none!important;grid-auto-rows:auto!important;list-style:none!important}
body.single .sej-article-next .sej-article-related-grid>*,body.sej-action-page .sej-article-next .sej-article-related-grid>*,.sej-article-next .sej-article-related-grid>*{margin:0!important;padding-top:0!important;align-self:stretch!important}
body.single .sej-article-next .sej-article-related-card,body.sej-action-page .sej-article-next .sej-article-related-card,.sej-article-next .sej-article-related-card{flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:230px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:0!important;margin:0!important;padding:22px!important;box-sizing:border-box!important;transform:none!important}
.sej-article-next .sej-related-date{display:block!important;margin:0 0 10px!important;color:#9aa4af!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.02em!important}.sej-article-next .sej-related-title{display:block!important;margin:0 0 10px!important;color:#0f172a!important;font-size:17px!important;line-height:1.28!important;font-weight:900!important;letter-spacing:-.018em!important}.sej-article-next .sej-related-excerpt{display:block!important;margin:0 0 18px!important;color:#556273!important;font-size:14px!important;line-height:1.55!important;flex:1 1 auto!important}.sej-article-next .sej-related-readmore{display:inline-flex!important;align-items:center!important;margin-top:auto!important;color:#0073aa!important;font-size:13px!important;font-weight:900!important;line-height:1.2!important;text-decoration:none!important}
@media(max-width:900px){body.single .sej-article-next .sej-article-related-grid,body.sej-action-page .sej-article-next .sej-article-related-grid,.sej-article-next .sej-article-related-grid{flex-direction:column!important;gap:14px!important}body.single .sej-article-next .sej-article-related-card,body.sej-action-page .sej-article-next .sej-article-related-card,.sej-article-next .sej-article-related-card{min-height:auto!important;width:100%!important}}

/* SEJournal v2.1.8 — real CPT dictionary archive and single term */
.sej-dictionary-wrapper{max-width:1200px;margin:40px auto 80px;padding:0 20px}.sej-dictionary-header{margin-bottom:50px;max-width:840px}.sej-dictionary-header h1{font-size:clamp(38px,5vw,62px);font-weight:950;line-height:.98;letter-spacing:-.06em;margin:10px 0 16px;color:#111}.sej-dictionary-header p{font-size:17px;color:#555;line-height:1.6;margin:0 0 26px}.sej-dict-search{display:flex;max-width:620px;background:#fff;border:1px solid #e4e8ec;border-radius:14px;padding:7px;box-shadow:0 14px 34px rgba(14,22,36,.055)}.sej-dict-search input{flex:1;border:0;padding:14px 18px;outline:0;background:transparent;color:#111;font-size:16px;min-width:0}.sej-dict-search button{background:#111;color:#fff;border:0;padding:0 24px;border-radius:10px;font-weight:800;cursor:pointer}.sej-dictionary-content{margin-top:34px}.sej-letter-heading{display:flex;align-items:center;gap:14px;font-size:32px;font-weight:950;color:#111;margin:42px 0 20px;padding:0 0 10px;border-bottom:2px solid #eaeaea;letter-spacing:-.04em}.sej-terms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.sej-term-card{background:#fff;border:1px solid #eaeaea;border-radius:16px;padding:24px;display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s,transform .2s;min-height:220px}.sej-term-card:hover{border-color:#0073aa;box-shadow:0 12px 30px rgba(0,0,0,.06);transform:translateY(-2px)}.sej-term-title{font-size:20px;font-weight:900;color:#111;margin:0 0 12px;line-height:1.2;letter-spacing:-.03em}.sej-term-excerpt{font-size:14px;color:#555;line-height:1.55;margin-bottom:20px;flex:1}.sej-term-readmore{font-size:13px;font-weight:850;color:#0073aa;margin-top:auto}.sej-term-single{background:#f4f6f8;min-height:70vh;padding:44px 20px 76px}.sej-term-container{max-width:1040px;margin:0 auto}.sej-breadcrumbs{margin:0 0 24px}.sej-breadcrumbs a{color:#0073aa;text-decoration:none;font-size:14px;font-weight:800}.sej-term-header{padding:48px 54px;border-radius:28px;background:#fff;border:1px solid #edf0f3;box-shadow:0 18px 60px rgba(14,22,36,.05);margin-bottom:28px}.sej-term-h1{font-size:clamp(38px,5vw,66px);font-weight:950;line-height:.98;letter-spacing:-.065em;color:#111;margin:18px 0 14px}.sej-term-lead{max-width:820px;color:#58606b;font-size:19px;line-height:1.5;margin:0}.sej-term-body{padding:28px;border-radius:22px;background:#fff;border:1px solid #ebeff3}.sej-term-body h2{margin:0 0 18px;color:#111;font-size:22px;font-weight:900}.sej-term-body p{margin:0 0 16px;color:#444;font-size:16px;line-height:1.7}.sej-term-footer{margin-top:28px}.sej-term-cta{padding:28px;border-radius:22px;background:#111;color:#fff}.sej-term-cta h4{margin:0 0 8px;color:#fff;font-size:20px;font-weight:900}.sej-term-cta p{margin:0 0 18px;color:rgba(255,255,255,.72);font-size:15px;line-height:1.55}.sej-cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:12px;background:#fff;color:#111;text-decoration:none;font-weight:850}@media(max-width:760px){.sej-dictionary-wrapper{margin:26px auto 54px;padding:0 14px}.sej-dict-search{flex-direction:column;padding:12px}.sej-dict-search button{min-height:48px;width:100%}.sej-terms-grid{grid-template-columns:1fr}.sej-term-single{padding:28px 14px 54px}.sej-term-header{padding:34px 22px;border-radius:22px}.sej-dictionary-content-grid{grid-template-columns:1fr}.sej-term-body{padding:22px}}


/* SEJournal v2.1.9 — dictionary alignment + related materials cards */
body.post-type-archive-dictionary .sej-dictionary-wrapper,body.single-dictionary .sej-term-container{width:min(1200px,calc(100% - 40px))!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}body.post-type-archive-dictionary .sej-dictionary-header{max-width:900px!important;margin-left:0!important;padding-left:0!important}body.post-type-archive-dictionary .sej-dict-search{width:min(100%,800px)!important;max-width:800px!important;margin-left:0!important}body.post-type-archive-dictionary .sej-dict-alphabet,body.post-type-archive-dictionary .sej-dictionary-content,body.post-type-archive-dictionary .sej-term-letter-section,body.post-type-archive-dictionary .sej-terms-grid{margin-left:0!important;padding-left:0!important;max-width:none!important;box-sizing:border-box!important}body.post-type-archive-dictionary .sej-dict-alphabet{width:100%!important;margin-top:30px!important;margin-bottom:34px!important}body.post-type-archive-dictionary .sej-letter-heading{margin:30px 0 14px 0!important;padding:0 0 8px 0!important}body.post-type-archive-dictionary .sej-term-letter-section:first-child .sej-letter-heading{margin-top:0!important}.sej-term-related-articles{margin-top:28px;padding:28px;border-radius:22px;background:#fff;border:1px solid #ebeff3}.sej-term-related-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.sej-term-related-head h2{margin:0;color:#111;font-size:24px;line-height:1.15;font-weight:950;letter-spacing:-.035em}.sej-term-related-head p{margin:6px 0 0;max-width:680px;color:#5b6673;font-size:14px;line-height:1.55}.sej-term-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sej-term-related-card{display:flex;flex-direction:column;min-height:190px;padding:20px;border-radius:18px;border:1px solid #e4eaf0;background:#fbfcfd;color:inherit;text-decoration:none;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}.sej-term-related-card:hover{transform:translateY(-2px);border-color:#cbdceb;box-shadow:0 14px 28px rgba(14,22,36,.07)}.sej-term-related-date{display:block;margin:0 0 10px;color:#9aa4af;font-size:12px;font-weight:750}.sej-term-related-title{display:block;margin:0 0 10px;color:#0f172a;font-size:17px;line-height:1.28;font-weight:900;letter-spacing:-.018em}.sej-term-related-excerpt{display:block;flex:1;margin:0 0 18px;color:#556273;font-size:14px;line-height:1.55}.sej-term-related-more{display:inline-flex;margin-top:auto;color:#0073aa;font-size:13px;line-height:1.2;font-weight:900}.sej-term-cta{margin-top:0!important}@media(max-width:900px){body.post-type-archive-dictionary .sej-dictionary-wrapper,body.single-dictionary .sej-term-container{width:calc(100% - 28px)!important}.sej-term-related-grid{grid-template-columns:1fr}.sej-term-related-head{display:block}.sej-term-related-articles{padding:22px;border-radius:20px}}

/* SEJournal v2.2.0 archive/category polish */
body.sej-archive-page .sej-archive-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;margin-top:30px!important}
body.sej-archive-page .sej-archive-card{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;background:#fff!important;border:1px solid #e6ebf1!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(14,22,36,.025)!important;transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease!important}
body.sej-archive-page .sej-archive-card:hover{transform:translateY(-2px)!important;border-color:#0073aa!important;box-shadow:0 14px 30px rgba(14,22,36,.07)!important}
body.sej-archive-page .sej-archive-card-link{display:flex!important;flex-direction:column!important;min-height:100%!important;height:100%!important;text-decoration:none!important;color:inherit!important}
body.sej-archive-page .sej-archive-card-content{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;padding:24px!important}
body.sej-archive-page .sej-archive-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;margin:0 0 12px!important;color:#9aa3ad!important;font-size:11px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.065em!important;text-transform:uppercase!important}
body.sej-archive-page .sej-archive-meta time{color:#9aa3ad!important;font-size:11px!important;font-weight:750!important}
body.sej-archive-page .sej-archive-meta span{color:#0073aa!important;font-size:11px!important;font-weight:850!important}
body.sej-archive-page .sej-archive-card h2{margin:0 0 12px!important;color:#111827!important;font-size:20px!important;line-height:1.25!important;letter-spacing:-.025em!important;font-weight:900!important}
body.sej-archive-page .sej-archive-card p{margin:0!important;color:#555f6d!important;font-size:14px!important;line-height:1.55!important;font-weight:480!important;flex:1 1 auto!important}
body.sej-archive-page .sej-archive-card-footer{margin-top:24px!important;padding-top:16px!important;border-top:1px solid #eef1f4!important}
body.sej-archive-page .sej-archive-readmore{display:inline-flex!important;color:#0073aa!important;font-size:13px!important;font-weight:900!important;line-height:1.2!important}
body.sej-archive-page .sej-archive-pill.is-active{background:#111827!important;color:#fff!important;border-color:#111827!important;box-shadow:0 8px 20px rgba(17,24,39,.12)!important}
body.sej-archive-page .sej-archive-pill.is-active:hover{color:#fff!important}
body.single-dictionary .sej-term-cta{background:#111827!important;color:#fff!important;border:1px solid #111827!important;box-shadow:0 14px 34px rgba(14,22,36,.09)!important}
body.single-dictionary .sej-term-cta h4{color:#fff!important}
body.single-dictionary .sej-term-cta p{color:rgba(255,255,255,.76)!important}
body.single-dictionary .sej-term-cta .sej-cta-btn,body.single-dictionary a.sej-cta-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:0 22px!important;border-radius:12px!important;background:#fff!important;color:#111827!important;border:1px solid rgba(255,255,255,.9)!important;text-decoration:none!important;font-size:14px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(0,0,0,.14)!important}
body.single-dictionary .sej-term-cta .sej-cta-btn:hover{transform:translateY(-1px)!important}
@media(max-width:980px){body.sej-archive-page .sej-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){body.sej-archive-page .sej-archive-grid{grid-template-columns:1fr!important}body.sej-archive-page .sej-archive-card-content{padding:20px!important}}


/* SEJournal v2.2.1: imported image fallback for /articles/ archive cards */
body.sej-archive-page .sej-archive-thumb{
  display:block!important;
  width:100%!important;
  aspect-ratio:16/9!important;
  overflow:hidden!important;
  background:#eef2f6!important;
  border-bottom:1px solid #edf1f5!important;
}
body.sej-archive-page .sej-archive-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
.sej-article-related-card .sej-related-thumb{
  display:block!important;
  width:100%!important;
  aspect-ratio:16/9!important;
  overflow:hidden!important;
  border-radius:14px!important;
  background:#eef2f6!important;
  margin:0 0 12px!important;
}
.sej-article-related-card .sej-related-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
