/* WP Motion Single Post — Green Editorial v1.1 */
.wmsp-shell {
  --wmsp-accent: #c8ff34;
  --wmsp-accent-soft: #f1ffd0;
  --wmsp-green: #123e31;
  --wmsp-green-2: #1e5d47;
  --wmsp-ink: #171b18;
  --wmsp-text: #3e4943;
  --wmsp-muted: #7b877f;
  --wmsp-bg: #fcfdf9;
  --wmsp-card: #ffffff;
  --wmsp-line: #e5eae4;
  --wmsp-shadow: 0 24px 70px rgba(25, 60, 45, .08);
  --wmsp-ease: cubic-bezier(.22, 1, .36, 1);
  color: var(--wmsp-ink);
  background: var(--wmsp-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.wmsp-shell img { max-width: 100%; }

.wmsp-shell a { color: inherit; }

.wmsp-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.wmsp-progress {
  position: fixed;
  z-index: 9998;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  pointer-events: none;
  background: rgba(18, 62, 49, .08);
}

.wmsp-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wmsp-accent, #c8ff34);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.wmsp-layout {
  display: grid;
  grid-template-columns: minmax(190px, 248px) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
  padding-top: clamp(42px, 6vw, 78px);
  padding-bottom: 90px;
}

.wmsp-main-column { min-width: 0; }

/* Sidebar */
.wmsp-blog-sidebar { min-width: 0; }

.wmsp-blog-sidebar__sticky {
  position: sticky;
  top: 34px;
  display: grid;
  gap: 36px;
}

.wmsp-side-section { position: relative; z-index: 1; }

.wmsp-side-title {
  margin: 0 0 17px;
  color: var(--wmsp-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.2;
}

.wmsp-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wmsp-tag-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border: 1px solid #dce7d8;
  border-radius: 999px;
  background: #f5faef;
  color: var(--wmsp-green-2);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform .3s var(--wmsp-ease), background .3s ease, border-color .3s ease;
}

.wmsp-tag-cloud a:nth-child(3n + 1) { background: #efffca; }
.wmsp-tag-cloud a:nth-child(3n + 2) { background: #edf7f0; }

.wmsp-tag-cloud a:hover {
  border-color: var(--wmsp-accent);
  background: var(--wmsp-accent);
  transform: translateY(-2px);
}

.wmsp-blog-mark {
  position: absolute;
  z-index: 0;
  top: 118px;
  left: -50px;
  color: rgba(18, 62, 49, .045);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7.8rem;
  line-height: .8;
  pointer-events: none;
  user-select: none;
}

.wmsp-popular-list { display: grid; gap: 18px; }

.wmsp-popular-item {
  display: block;
  text-decoration: none !important;
}

.wmsp-popular-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: #3f4b44;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color .25s ease, transform .3s var(--wmsp-ease);
}

.wmsp-popular-item span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
  color: #95a099;
  font-size: 9px;
  line-height: 1.4;
}

.wmsp-popular-item span i,
.wmsp-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wmsp-accent);
}

.wmsp-popular-item:hover strong {
  color: var(--wmsp-green);
  transform: translateX(3px);
}

.wmsp-category-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wmsp-category-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  color: #627067;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  text-decoration: none !important;
  transition: color .25s ease, transform .3s var(--wmsp-ease);
}

.wmsp-category-list a span {
  color: #a2afa7;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.wmsp-category-list a:hover {
  color: var(--wmsp-green);
  transform: translateX(4px);
}

.wmsp-category-list a:hover span { color: var(--wmsp-green-2); }

.wmsp-toc {
  padding-top: 22px;
  border-top: 1px solid var(--wmsp-line);
}

.wmsp-toc[hidden] { display: none !important; }

.wmsp-toc__heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--wmsp-green);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wmsp-toc__heading em {
  color: var(--wmsp-muted);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.wmsp-toc__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wmsp-toc__list a {
  position: relative;
  display: block;
  padding: 5px 0 5px 12px;
  color: #7d8981;
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none !important;
  transition: color .25s ease, transform .3s var(--wmsp-ease);
}

.wmsp-toc__list a::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd4ce;
  content: "";
  transition: transform .3s var(--wmsp-ease), background .3s ease;
}

.wmsp-toc__list .is-subitem a { padding-left: 20px; font-size: 10px; }
.wmsp-toc__list a:hover,
.wmsp-toc__list a.is-active { color: var(--wmsp-green); transform: translateX(3px); }
.wmsp-toc__list a.is-active::before { background: var(--wmsp-accent); transform: scale(1.8); }

/* Featured image and article heading */
.wmsp-featured { margin: 0 0 34px; }

.wmsp-featured__frame {
  --wmsp-parallax-y: 0px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0 58px 0 0;
  background: #e8efe8;
  box-shadow: var(--wmsp-shadow);
}

.wmsp-featured__image {
  display: block;
  width: 100%;
  height: calc(100% + 48px);
  object-fit: cover;
  transform: translateY(calc(var(--wmsp-parallax-y) - 24px)) scale(1.015);
  transition: transform .8s var(--wmsp-ease);
  will-change: transform;
}

.wmsp-featured__frame:hover .wmsp-featured__image {
  transform: translateY(calc(var(--wmsp-parallax-y) - 24px)) scale(1.045);
}

.wmsp-featured figcaption {
  margin-top: 9px;
  color: var(--wmsp-muted);
  font-size: 11px;
  line-height: 1.5;
}

.wmsp-hero {
  padding: 0 0 42px;
  border-bottom: 1px solid var(--wmsp-line);
}

.wmsp-hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 17px;
}

.wmsp-category-pill,
.wmsp-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}

.wmsp-category-pill {
  background: var(--wmsp-accent);
  color: #163328 !important;
  text-decoration: none !important;
  transition: transform .3s var(--wmsp-ease), box-shadow .3s ease;
}

.wmsp-category-pill:hover {
  box-shadow: 0 9px 24px rgba(95, 150, 35, .18);
  transform: translateY(-2px);
}

.wmsp-eyebrow {
  padding-inline: 0;
  color: #98a39c;
}

.wmsp-title {
  max-width: 820px;
  margin: 0;
  color: var(--wmsp-ink);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 680;
  line-height: 1.07;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.wmsp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: #88948c;
  font-size: 10px;
  line-height: 1.4;
}

.wmsp-meta i { flex: 0 0 auto; }

.wmsp-deck {
  max-width: 760px;
  margin: 23px 0 0;
  color: #657269;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

/* Reading content */
.wmsp-reading { padding-top: 42px; }

.wmsp-content {
  min-width: 0;
  color: var(--wmsp-text);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1rem, 1.22vw, 1.08rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

.wmsp-content p,
.wmsp-content ul,
.wmsp-content ol { margin-block: 0 1.45em; }

.wmsp-content h2,
.wmsp-content h3,
.wmsp-content h4 {
  color: var(--wmsp-green);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-wrap: balance;
  scroll-margin-top: 90px;
}

.wmsp-content h2 {
  margin: 2.2em 0 .72em;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.wmsp-content h3 {
  margin: 1.9em 0 .65em;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.wmsp-content h4 {
  margin: 1.7em 0 .6em;
  font-size: 1.12rem;
}

.wmsp-content a:not(.wp-element-button) {
  color: var(--wmsp-green-2);
  text-decoration-color: rgba(30, 93, 71, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  background: linear-gradient(var(--wmsp-accent), var(--wmsp-accent)) 0 100% / 0 32% no-repeat;
  transition: background-size .35s var(--wmsp-ease), text-decoration-color .25s ease;
}

.wmsp-content a:not(.wp-element-button):hover {
  background-size: 100% 32%;
  text-decoration-color: transparent;
}

.wmsp-content strong { color: #26312b; }

.wmsp-content blockquote,
.wmsp-content .wp-block-quote {
  margin: 2.1em 0;
  padding: 26px 30px;
  border: 0;
  border-left: 5px solid var(--wmsp-accent);
  border-radius: 0 22px 22px 0;
  background: #f4f9ef;
  color: var(--wmsp-green);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  font-style: italic;
  line-height: 1.55;
}

.wmsp-content blockquote p,
.wmsp-content .wp-block-quote p { margin: 0; }

.wmsp-content blockquote cite,
.wmsp-content .wp-block-quote cite {
  display: block;
  margin-top: 16px;
  color: var(--wmsp-muted);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wmsp-content figure,
.wmsp-content .wp-block-image { margin-block: 2.2em; }

.wmsp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0 34px 0 0;
}

.wmsp-content figcaption {
  margin-top: 9px;
  color: var(--wmsp-muted);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 11px;
  line-height: 1.5;
}

.wmsp-content pre,
.wmsp-content .wp-block-code {
  max-width: 100%;
  margin: 2em 0;
  padding: 24px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: #102d24;
  color: #f5fff7;
  font-size: .82em;
  line-height: 1.65;
}

.wmsp-content code {
  padding: .13em .35em;
  border-radius: 5px;
  background: #edf4eb;
  font-size: .86em;
}

.wmsp-content pre code { padding: 0; background: transparent; }

.wmsp-content table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: .84em;
}

.wmsp-content th,
.wmsp-content td {
  padding: 13px 11px;
  border-bottom: 1px solid var(--wmsp-line);
  text-align: left;
}

.wmsp-content th { color: var(--wmsp-green); font-weight: 750; }

.wmsp-content .wp-block-button__link,
.wmsp-content .wp-element-button {
  border-radius: 999px;
  background: var(--wmsp-green);
  color: #fff;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 12px;
  font-weight: 700;
  transition: transform .3s var(--wmsp-ease), box-shadow .3s ease;
}

.wmsp-content .wp-block-button__link:hover,
.wmsp-content .wp-element-button:hover {
  box-shadow: 0 12px 28px rgba(18, 62, 49, .16);
  transform: translateY(-3px);
}

.wmsp-page-links { margin-top: 36px; font-family: Inter, ui-sans-serif, sans-serif; }

/* Share */
.wmsp-share {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid var(--wmsp-line);
  border-bottom: 1px solid var(--wmsp-line);
}

.wmsp-share__label {
  color: var(--wmsp-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wmsp-share__buttons { display: flex; gap: 8px; }

.wmsp-icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--wmsp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--wmsp-green);
  cursor: pointer;
  transition: transform .3s var(--wmsp-ease), background .3s ease, border-color .3s ease;
}

.wmsp-icon-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.wmsp-icon-button:hover {
  border-color: var(--wmsp-accent);
  background: var(--wmsp-accent);
  transform: translateY(-3px) rotate(-4deg);
}

.wmsp-copy-feedback {
  flex-basis: 100%;
  height: 0;
  color: var(--wmsp-green-2);
  font-size: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .3s var(--wmsp-ease);
}

.wmsp-copy-feedback.is-visible { opacity: 1; transform: translateY(0); }

/* After article */
.wmsp-after { padding-top: 64px; }

.wmsp-author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid #dfe8dd;
  border-radius: 22px;
  background: linear-gradient(135deg, #fbfff6, #f3faed);
  transition: transform .4s var(--wmsp-ease), box-shadow .4s ease;
}

.wmsp-author-card:hover { box-shadow: var(--wmsp-shadow); transform: translateY(-4px); }

.wmsp-author-card__avatar img {
  display: block;
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(18, 62, 49, .12);
}

.wmsp-author-card__body > span,
.wmsp-section-heading span {
  display: block;
  margin-bottom: 7px;
  color: var(--wmsp-green-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wmsp-author-card h2 {
  margin: 0;
  color: var(--wmsp-green);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.wmsp-author-card p {
  margin: 10px 0;
  color: var(--wmsp-muted);
  font-size: 13px;
  line-height: 1.6;
}

.wmsp-author-card a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--wmsp-green-2);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
}

.wmsp-author-card a span { transition: transform .3s var(--wmsp-ease); }
.wmsp-author-card a:hover span { transform: translate(3px, -3px); }

.wmsp-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.wmsp-post-nav__item {
  min-height: 130px;
  padding: 24px;
  border: 1px solid var(--wmsp-line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none !important;
  transition: transform .35s var(--wmsp-ease), border-color .3s ease, background .3s ease;
}

.wmsp-post-nav__item:hover {
  border-color: #d5e7cd;
  background: #f7fceb;
  transform: translateY(-5px);
}

.wmsp-post-nav__item small,
.wmsp-post-nav__item strong { display: block; }

.wmsp-post-nav__item small {
  margin-bottom: 14px;
  color: var(--wmsp-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wmsp-post-nav__item strong {
  color: var(--wmsp-green);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.wmsp-post-nav__item--next { text-align: right; }

/* Related */
.wmsp-related {
  padding: 72px 0 82px;
  background: #123e31;
  color: #fff;
}

.wmsp-section-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.wmsp-section-heading span { color: var(--wmsp-accent); }

.wmsp-section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.wmsp-section-heading em {
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  font-style: normal;
}

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

.wmsp-related-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .45s var(--wmsp-ease), border-color .3s ease, background .3s ease;
}

.wmsp-related-card:hover {
  border-color: rgba(200, 255, 52, .55);
  background: rgba(255, 255, 255, .04);
  transform: translateY(-7px);
}

.wmsp-related-card__media {
  aspect-ratio: 1.45;
  overflow: hidden;
  background: #1c4d3e;
}

.wmsp-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--wmsp-ease), filter .5s ease;
}

.wmsp-related-card:hover .wmsp-related-card__media img { filter: saturate(1.08); transform: scale(1.055); }

.wmsp-related-card__placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #1d5a45, #123e31);
}

.wmsp-related-card__placeholder span {
  color: rgba(200, 255, 52, .8);
  font-size: 2.6rem;
  font-weight: 700;
}

.wmsp-related-card__body { padding: 22px; }

.wmsp-related-card__body > span {
  color: rgba(255, 255, 255, .53);
  font-size: 9px;
}

.wmsp-related-card h3 {
  margin: 10px 0 20px;
  color: #fff;
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.wmsp-related-card strong {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--wmsp-accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.wmsp-related-card strong i { font-style: normal; transition: transform .3s var(--wmsp-ease); }
.wmsp-related-card:hover strong i { transform: translate(4px, -4px); }

/* Comments */
.wmsp-comments { padding-top: 72px; padding-bottom: 86px; }

.wmsp-comments .comments-title,
.wmsp-comments .comment-reply-title {
  color: var(--wmsp-green);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -.03em;
}

.wmsp-comments textarea,
.wmsp-comments input:not([type="submit"]):not([type="checkbox"]) {
  width: 100%;
  border: 1px solid var(--wmsp-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.wmsp-comments textarea:focus,
.wmsp-comments input:focus {
  border-color: var(--wmsp-green-2);
  outline: 3px solid rgba(200, 255, 52, .28);
}

.wmsp-comments input[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: var(--wmsp-green);
  color: #fff;
  font-weight: 700;
}

/* Reveal animations */
.wmsp-js .wmsp-shell [data-wmsp-reveal] {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(22px);
  transition:
    opacity .7s ease var(--wmsp-delay, 0ms),
    filter .8s ease var(--wmsp-delay, 0ms),
    transform .8s var(--wmsp-ease) var(--wmsp-delay, 0ms);
}

.wmsp-js .wmsp-shell [data-wmsp-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.wmsp-js .wmsp-title[data-wmsp-reveal] { transform: translateY(18px); }
.wmsp-js .wmsp-featured[data-wmsp-reveal] { transform: translateY(18px) scale(.985); }
.wmsp-js .wmsp-featured[data-wmsp-reveal].is-visible { transform: translateY(0) scale(1); }

@media (max-width: 980px) {
  .wmsp-container { width: min(100% - 36px, 860px); }
  .wmsp-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 34px; }
  .wmsp-blog-sidebar { order: 2; }
  .wmsp-main-column { order: 1; }
  .wmsp-blog-sidebar__sticky {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
    padding-top: 38px;
    border-top: 1px solid var(--wmsp-line);
  }
  .wmsp-blog-mark { display: none; }
  .wmsp-toc { grid-column: 1 / -1; }
  .wmsp-featured__frame { border-radius: 0 42px 0 0; }
}

@media (max-width: 720px) {
  .wmsp-container { width: min(100% - 28px, 660px); }
  .wmsp-layout { padding-top: 24px; padding-bottom: 64px; }
  .wmsp-featured { margin-bottom: 28px; }
  .wmsp-featured__frame { aspect-ratio: 1 / 1; border-radius: 0 30px 0 0; }
  .wmsp-title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .wmsp-deck { font-size: 1rem; }
  .wmsp-content { font-size: 1rem; line-height: 1.75; }
  .wmsp-content h2 { font-size: 1.55rem; }
  .wmsp-content h3 { font-size: 1.25rem; }
  .wmsp-content blockquote,
  .wmsp-content .wp-block-quote { padding: 22px; font-size: 1.08rem; }
  .wmsp-blog-sidebar__sticky { grid-template-columns: 1fr; }
  .wmsp-toc { grid-column: auto; }
  .wmsp-author-card { grid-template-columns: 1fr; padding: 24px; }
  .wmsp-author-card__avatar img { width: 68px; height: 68px; }
  .wmsp-post-nav { grid-template-columns: 1fr; }
  .wmsp-post-nav__item--next { text-align: left; }
  .wmsp-related { padding: 58px 0 66px; }
  .wmsp-section-heading { display: block; }
  .wmsp-section-heading em { display: block; margin-top: 10px; }
  .wmsp-related__grid { grid-template-columns: 1fr; }
  .wmsp-related-card__media { aspect-ratio: 1.65; }
  .wmsp-comments { padding-top: 56px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .wmsp-shell *,
  .wmsp-shell *::before,
  .wmsp-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .wmsp-js .wmsp-shell [data-wmsp-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .wmsp-featured__image { transform: none !important; }
}

/* Green Editorial v1.1.1 — refined page canvas, article panel and sidebar */
body.wmsp-active {
  background: #f3f6ef;
}

/* Hide theme name/tagline on single posts without removing the navigation. */
body.wmsp-active .site-title,
body.wmsp-active .site-description,
body.wmsp-active .wp-block-site-title,
body.wmsp-active .wp-block-site-tagline,
body.wmsp-active .header-titles,
body.wmsp-active .site-branding {
  display: none !important;
}

body.wmsp-active #site-header .header-inner,
body.wmsp-active .site-header .header-inner {
  min-height: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.wmsp-shell {
  --wmsp-bg: #f3f6ef;
  --wmsp-shadow: 0 24px 70px rgba(20, 58, 43, .09);
  background: var(--wmsp-bg);
}

.wmsp-layout {
  gap: clamp(28px, 4.6vw, 64px);
  padding-top: clamp(38px, 5vw, 66px);
}

.wmsp-main-column {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 30px) clamp(20px, 3.2vw, 42px) clamp(42px, 5vw, 70px);
  border: 1px solid rgba(18, 62, 49, .06);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(25, 61, 45, .085), 0 3px 12px rgba(25, 61, 45, .035);
}

.wmsp-featured {
  margin-bottom: 34px;
}

.wmsp-featured__frame {
  border-radius: 28px 58px 28px 28px;
  box-shadow: 0 18px 48px rgba(18, 62, 49, .11);
}

.wmsp-content img {
  border-radius: 22px 34px 22px 22px;
}

/* Sidebar cards */
.wmsp-blog-sidebar__sticky {
  gap: 20px;
}

.wmsp-side-section,
.wmsp-toc {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(18, 62, 49, .07);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 42px rgba(25, 61, 45, .06);
  backdrop-filter: blur(10px);
}

.wmsp-side-section::after {
  position: absolute;
  top: -28px;
  right: -30px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(200, 255, 52, .16);
  content: "";
  pointer-events: none;
}

.wmsp-side-heading {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.wmsp-side-heading > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--wmsp-green-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wmsp-side-heading > i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--wmsp-accent);
  color: #17392d;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  transform: rotate(-3deg);
}

.wmsp-side-title {
  margin: 0;
  color: var(--wmsp-green);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.wmsp-side-section:not(.wmsp-side-section--popular):not(.wmsp-side-section--categories) > .wmsp-side-title {
  margin-bottom: 17px;
}

.wmsp-blog-mark {
  display: none;
}

/* Popular posts — visual list with media and metadata */
.wmsp-popular-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.wmsp-popular-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: #f8faf5;
  text-decoration: none !important;
  transition: transform .35s var(--wmsp-ease), background .3s ease, border-color .3s ease, box-shadow .35s ease;
}

.wmsp-popular-item:hover {
  border-color: rgba(30, 93, 71, .12);
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 62, 49, .08);
  transform: translateX(4px);
}

.wmsp-popular-item__media {
  display: grid !important;
  width: 58px;
  height: 58px;
  margin: 0 !important;
  overflow: hidden;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--wmsp-green), var(--wmsp-green-2));
}

.wmsp-popular-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--wmsp-ease);
}

.wmsp-popular-item:hover .wmsp-popular-item__media img {
  transform: scale(1.07);
}

.wmsp-popular-item__media b {
  color: var(--wmsp-accent);
  font-size: 1.15rem;
  line-height: 1;
}

.wmsp-popular-item__content {
  display: block !important;
  min-width: 0;
  margin: 0 !important;
}

.wmsp-popular-item__eyebrow {
  display: block !important;
  margin: 0 0 4px !important;
  color: var(--wmsp-green-2) !important;
  font-size: 7px !important;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.wmsp-popular-item strong {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #2f3d35;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wmsp-popular-item:hover strong {
  color: var(--wmsp-green);
  transform: none;
}

.wmsp-popular-item__meta {
  display: flex !important;
  gap: 5px !important;
  align-items: center;
  margin: 6px 0 0 !important;
  color: #8b978f !important;
  font-size: 7px !important;
  line-height: 1.25 !important;
}

.wmsp-popular-item__meta i {
  width: 3px;
  height: 3px;
  flex: 0 0 3px;
  border-radius: 50%;
  background: var(--wmsp-accent);
}

/* Categories — richer rows, counts and current context */
.wmsp-category-list {
  position: relative;
  z-index: 1;
  gap: 7px;
}

.wmsp-category-list a {
  position: relative;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #f8faf5;
  color: #526159;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  text-decoration: none !important;
  transition: color .25s ease, transform .3s var(--wmsp-ease), background .3s ease, border-color .3s ease;
}

.wmsp-category-list a::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 0;
  border-radius: 999px;
  background: var(--wmsp-accent);
  content: "";
  transition: height .3s var(--wmsp-ease);
}

.wmsp-category-list a:hover,
.wmsp-category-list a.is-current {
  border-color: rgba(30, 93, 71, .1);
  background: #fff;
  color: var(--wmsp-green);
  transform: translateX(3px);
}

.wmsp-category-list a:hover::before,
.wmsp-category-list a.is-current::before {
  height: 22px;
}

.wmsp-category-list__index {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: #edf3e9;
  color: #849087 !important;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 7px !important;
  font-weight: 800;
}

.wmsp-category-list a.is-current .wmsp-category-list__index,
.wmsp-category-list a:hover .wmsp-category-list__index {
  background: var(--wmsp-accent);
  color: #17392d !important;
}

.wmsp-category-list strong {
  min-width: 0;
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wmsp-category-list em {
  display: grid;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  place-items: center;
  border-radius: 999px;
  background: #edf3e9;
  color: #78857d;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}

.wmsp-category-list a.is-current em,
.wmsp-category-list a:hover em {
  background: var(--wmsp-green);
  color: #fff;
}

.wmsp-toc {
  padding-top: 22px;
  border-top: 1px solid rgba(18, 62, 49, .07);
}

@media (max-width: 980px) {
  .wmsp-main-column {
    padding: clamp(16px, 3vw, 26px) clamp(16px, 4vw, 34px) 48px;
    border-radius: 24px;
  }

  .wmsp-blog-sidebar__sticky {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .wmsp-toc {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wmsp-main-column {
    padding: 12px 14px 38px;
    border-radius: 18px;
    box-shadow: 0 16px 44px rgba(25, 61, 45, .075);
  }

  .wmsp-featured__frame {
    border-radius: 18px 34px 18px 18px;
  }

  .wmsp-blog-sidebar__sticky {
    grid-template-columns: 1fr;
  }

  .wmsp-side-section,
  .wmsp-toc {
    padding: 20px;
    border-radius: 18px;
  }
}


/* ChatFlow Black / Yellow / White v1.1.2 */
body.wmsp-active {
  background: #000000;
  color: #ffffff;
}

.wmsp-shell {
  --wmsp-accent: #ffd600;
  --wmsp-accent-soft: rgba(255, 214, 0, .12);
  --wmsp-green: #ffffff;
  --wmsp-green-2: #ffd600;
  --wmsp-ink: #ffffff;
  --wmsp-text: #d7d7d7;
  --wmsp-muted: #a8a8a8;
  --wmsp-bg: #000000;
  --wmsp-card: #101010;
  --wmsp-line: rgba(255, 255, 255, .14);
  --wmsp-shadow: 0 24px 70px rgba(0, 0, 0, .58);
  color: var(--wmsp-ink);
  background: var(--wmsp-bg);
}

.wmsp-progress {
  background: rgba(255, 255, 255, .08);
}

.wmsp-progress__bar {
  background: var(--wmsp-accent, #ffd600);
}

.wmsp-main-column {
  border-color: rgba(255, 214, 0, .18);
  background: #101010;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .58), 0 3px 12px rgba(0, 0, 0, .42);
}

.wmsp-featured__frame {
  background: #181818;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .58);
}

.wmsp-featured figcaption,
.wmsp-meta,
.wmsp-deck,
.wmsp-content figcaption {
  color: var(--wmsp-muted);
}

.wmsp-eyebrow {
  color: #9d9d9d;
}

.wmsp-category-pill {
  background: var(--wmsp-accent);
  color: #050505 !important;
}

.wmsp-category-pill:hover {
  box-shadow: 0 9px 24px rgba(255, 214, 0, .20);
}

.wmsp-content strong {
  color: #ffffff;
}

.wmsp-content a:not(.wp-element-button) {
  color: var(--wmsp-accent);
  text-decoration-color: rgba(255, 214, 0, .45);
}

.wmsp-content blockquote,
.wmsp-content .wp-block-quote {
  background: #181818;
  color: #ffffff;
}

.wmsp-content pre,
.wmsp-content .wp-block-code {
  border-color: rgba(255, 214, 0, .18);
  background: #050505;
  color: #f7f7f7;
}

.wmsp-content code {
  background: #202020;
  color: #ffffff;
}

.wmsp-content .wp-block-button__link,
.wmsp-content .wp-element-button {
  background: var(--wmsp-accent);
  color: #050505;
}

.wmsp-content .wp-block-button__link:hover,
.wmsp-content .wp-element-button:hover {
  box-shadow: 0 12px 28px rgba(255, 214, 0, .20);
}

/* Sidebar */
.wmsp-side-section,
.wmsp-toc {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(16, 16, 16, .94);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .42);
}

.wmsp-side-section::after {
  background: rgba(255, 214, 0, .12);
}

.wmsp-side-heading > i {
  background: var(--wmsp-accent);
  color: #050505;
}

.wmsp-tag-cloud a {
  border-color: rgba(255, 255, 255, .14);
  background: #181818;
  color: #ffffff;
}

.wmsp-tag-cloud a:nth-child(3n + 1),
.wmsp-tag-cloud a:nth-child(3n + 2) {
  background: #181818;
}

.wmsp-tag-cloud a:hover {
  border-color: var(--wmsp-accent);
  background: var(--wmsp-accent);
  color: #050505;
}

.wmsp-popular-item {
  background: #181818;
}

.wmsp-popular-item:hover {
  border-color: rgba(255, 214, 0, .36);
  background: #1d1d1d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .48);
}

.wmsp-popular-item__media {
  background: linear-gradient(145deg, #1d1d1d, #050505);
}

.wmsp-popular-item strong {
  color: #ffffff;
}

.wmsp-popular-item:hover strong {
  color: var(--wmsp-accent);
}

.wmsp-popular-item__meta {
  color: #9c9c9c !important;
}

.wmsp-category-list a {
  background: #181818;
  color: #d2d2d2;
}

.wmsp-category-list a:hover,
.wmsp-category-list a.is-current {
  border-color: rgba(255, 214, 0, .30);
  background: #1d1d1d;
  color: #ffffff;
}

.wmsp-category-list__index,
.wmsp-category-list em {
  background: #242424;
  color: #a8a8a8 !important;
}

.wmsp-category-list a.is-current .wmsp-category-list__index,
.wmsp-category-list a:hover .wmsp-category-list__index {
  background: var(--wmsp-accent);
  color: #050505 !important;
}

.wmsp-category-list a.is-current em,
.wmsp-category-list a:hover em {
  background: var(--wmsp-accent);
  color: #050505;
}

.wmsp-toc {
  border-top-color: rgba(255, 255, 255, .12);
}

.wmsp-toc__list a {
  color: #a8a8a8;
}

.wmsp-toc__list a::before {
  background: #555555;
}

.wmsp-toc__list a:hover,
.wmsp-toc__list a.is-active {
  color: #ffffff;
}

/* Share, author and post navigation */
.wmsp-icon-button {
  border-color: rgba(255, 255, 255, .14);
  background: #181818;
  color: #ffffff;
}

.wmsp-icon-button:hover {
  border-color: var(--wmsp-accent);
  background: var(--wmsp-accent);
  color: #050505;
}

.wmsp-author-card {
  border-color: rgba(255, 214, 0, .20);
  background: linear-gradient(135deg, #181818, #101010);
}

.wmsp-author-card__avatar img {
  border-color: #242424;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .52);
}

.wmsp-post-nav__item {
  border-color: rgba(255, 255, 255, .14);
  background: #181818;
}

.wmsp-post-nav__item:hover {
  border-color: rgba(255, 214, 0, .48);
  background: #1d1d1d;
}

/* Related posts */
.wmsp-related {
  background: #050505;
  color: #ffffff;
  border-top: 1px solid rgba(255, 214, 0, .16);
}

.wmsp-related-card {
  border-color: rgba(255, 255, 255, .14);
  background: #101010;
}

.wmsp-related-card:hover {
  border-color: rgba(255, 214, 0, .62);
  background: #181818;
}

.wmsp-related-card__media {
  background: #171717;
}

.wmsp-related-card__placeholder {
  background: linear-gradient(135deg, #1d1d1d, #050505);
}

.wmsp-related-card__placeholder span {
  color: rgba(255, 214, 0, .88);
}

/* Comments */
.wmsp-comments {
  color: #d7d7d7;
}

.wmsp-comments textarea,
.wmsp-comments input:not([type="submit"]):not([type="checkbox"]) {
  border-color: rgba(255, 255, 255, .14);
  background: #151515;
  color: #ffffff;
}

.wmsp-comments textarea:focus,
.wmsp-comments input:focus {
  border-color: var(--wmsp-accent);
  outline: 3px solid rgba(255, 214, 0, .12);
}

.wmsp-comments input[type="submit"] {
  background: var(--wmsp-accent);
  color: #050505;
}

.wmsp-comments a {
  color: var(--wmsp-accent);
}

.wmsp-comments .comment-body,
.wmsp-comments .comment-respond {
  color: #d7d7d7;
}

@media (max-width: 980px) {
  .wmsp-blog-sidebar__sticky {
    border-top-color: rgba(255, 255, 255, .14);
  }
}
