﻿:root {
  --mkb-bg: #f7fbfa;
  --mkb-surface: #ffffff;
  --mkb-surface-soft: #f2fbf8;
  --mkb-line: #e6eeeb;
  --mkb-text: #111827;
  --mkb-muted: #617080;
  --mkb-green: #0f9f72;
  --mkb-green-dark: #087b5c;
  --mkb-green-soft: #e6f8f1;
  --mkb-orange: #f59f2f;
  --mkb-blue: #4f86e8;
  --mkb-purple: #8162e8;
  --mkb-gold: #f2b43d;
  --mkb-shadow: 0 18px 50px rgba(17, 24, 39, 0.07);
  --mkb-radius: 8px;
  --mkb-radius-lg: 14px;
  --mkb-max: 1200px;
}

* {
  box-sizing: border-box;
}

body.mkb-site,
body.mkb-dashboard-page {
  margin: 0;
  color: var(--mkb-text);
  background: var(--mkb-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.mkb-logo-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 5px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0aa873, #19c08d);
  box-shadow: 0 10px 24px rgba(15, 159, 114, 0.22);
}

.mkb-logo-mark span {
  border-radius: 2px 7px 7px 2px;
  background: #fff;
}

.mkb-logo-mark span:first-child {
  border-radius: 7px 2px 2px 7px;
}

.mkb-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--mkb-green);
  border-radius: var(--mkb-radius);
  color: #fff;
  background: linear-gradient(135deg, var(--mkb-green), #11b981);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(15, 159, 114, 0.18);
  cursor: pointer;
}

.mkb-button-ghost {
  color: var(--mkb-green);
  background: #fff;
  box-shadow: none;
}

.mkb-button-large {
  min-height: 52px;
  padding-inline: 28px;
}

.mkb-text-link {
  color: #607083;
  font-weight: 600;
}

.mkb-topbar {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 340px) auto;
  align-items: center;
  gap: 26px;
  padding: 0 max(32px, calc((100vw - var(--mkb-max)) / 2));
  border-bottom: 1px solid var(--mkb-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.mkb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.mkb-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #263241;
  font-weight: 600;
}

.mkb-nav a {
  position: relative;
  padding: 28px 0;
}

.mkb-nav a.is-active {
  color: var(--mkb-green);
}

.mkb-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--mkb-green);
}

.mkb-search {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius);
  background: #f7f9fb;
}

.mkb-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--mkb-text);
  background: transparent;
}

.mkb-search .dashicons {
  color: #778597;
}

.mkb-auth-actions {
  display: flex;
  gap: 12px;
}

body.page-template-page-courses {
  --mkb-bg: #ffffff;
  --mkb-max: 1408px;
}

body.page-template-page-courses .mkb-main {
  padding-inline: 0;
}

.mkb-main {
  max-width: var(--mkb-max);
  margin: 0 auto;
  padding: 56px 24px 36px;
}

.mkb-hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 36px;
}

.mkb-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 66px);
  line-height: 1.16;
  letter-spacing: 0;
}

.mkb-hero h1 span {
  color: var(--mkb-green);
}

.mkb-hero p {
  margin: 28px 0 0;
  color: var(--mkb-muted);
  font-size: 20px;
  line-height: 1.8;
}

.mkb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.mkb-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
  color: #677789;
}

.mkb-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mkb-hero-points i {
  color: #254455;
}

.mkb-hero-art {
  min-width: 0;
}

.mkb-category-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 34px;
  padding: 26px 18px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--mkb-shadow);
}

.mkb-category-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-right: 1px solid #edf2f0;
}

.mkb-category-card:last-child {
  border-right: 0;
}

.mkb-category-card .dashicons {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 27px;
}

.mkb-category-card strong {
  font-size: 17px;
}

.mkb-category-card small {
  color: var(--mkb-muted);
}

.mkb-category-card.is-green .dashicons { background: var(--mkb-green); }
.mkb-category-card.is-orange .dashicons { background: var(--mkb-orange); }
.mkb-category-card.is-blue .dashicons { background: var(--mkb-blue); }
.mkb-category-card.is-purple .dashicons { background: var(--mkb-purple); }
.mkb-category-card.is-gold .dashicons { background: var(--mkb-gold); }
.mkb-category-card.is-indigo .dashicons { background: #596ce8; }

.mkb-member-band,
.mkb-benefit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius-lg);
  background: linear-gradient(110deg, #fff8e9, #f3fbf8 52%, #eef8f9);
}

.mkb-member-band > div,
.mkb-member-band nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mkb-member-band .dashicons,
.mkb-benefit-title .dashicons {
  color: var(--mkb-gold);
  font-size: 34px;
}

.mkb-member-band strong {
  display: block;
  font-size: 20px;
}

.mkb-member-band small {
  color: var(--mkb-muted);
}

.mkb-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.mkb-panel {
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.04);
}

.mkb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
}

.mkb-section-head h2 {
  margin: 0;
  font-size: 20px;
}

.mkb-section-head a,
.mkb-section-head button {
  border: 0;
  color: #657386;
  background: transparent;
  cursor: pointer;
}

.mkb-featured,
.mkb-feed {
  padding-bottom: 20px;
}

.mkb-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 22px;
}

.mkb-column-card h3,
.mkb-feed h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.mkb-column-card p,
.mkb-feed p {
  margin: 0;
  color: var(--mkb-muted);
  line-height: 1.6;
}

.mkb-column-card > strong {
  display: block;
  margin-top: 10px;
  color: var(--mkb-green);
  font-size: 18px;
}

.mkb-thumb {
  height: 128px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--mkb-radius);
  color: #fff;
  background: #0f766e;
}

.mkb-thumb::after {
  content: "";
  position: absolute;
  inset: auto -30px -45px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mkb-thumb span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
}

.mkb-thumb.is-deep { background: linear-gradient(135deg, #083f3d, #0e766b); }
.mkb-thumb.is-blue { background: linear-gradient(135deg, #4f86e8, #9ebcff); }
.mkb-thumb.is-orange { background: linear-gradient(135deg, #e59a34, #f7d39b); }
.mkb-thumb.is-violet { background: linear-gradient(135deg, #755be5, #b5a5ff); }
.mkb-thumb.is-night { background: linear-gradient(135deg, #12324b, #1d75a0); }

.mkb-update-list,
.mkb-feed-list,
.mkb-announcements ul {
  margin: 0;
  padding: 0 24px 18px;
  list-style: none;
}

.mkb-update-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.mkb-update-list .dashicons {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--mkb-blue);
  background: #eef5ff;
}

.mkb-update-list em {
  padding: 4px 8px;
  border-radius: 6px;
  color: #718096;
  background: #f3f6f8;
  font-style: normal;
  font-size: 12px;
}

.mkb-update-list time {
  color: #64748b;
}

.mkb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mkb-tabs button {
  min-height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #6b7788;
  background: #f3f6f7;
  cursor: pointer;
}

.mkb-tabs button.is-active {
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-weight: 600;
}

.mkb-feed article {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f0;
}

.mkb-feed article > .dashicons {
  width: 72px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 26px;
}

.mkb-feed article > strong {
  color: var(--mkb-green);
}

.mkb-load-more {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px auto 0;
  border: 0;
  color: var(--mkb-green);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.mkb-side-stack {
  display: grid;
  gap: 22px;
}

.mkb-stat-row,
.mkb-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  color: #657386;
}

.mkb-stat-row strong {
  color: var(--mkb-green);
  font-size: 22px;
}

.mkb-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  padding: 20px 24px 24px;
}

.mkb-calendar span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #7a8796;
  background: #edf3f1;
}

.mkb-calendar span.is-done {
  color: #fff;
  background: var(--mkb-green);
}

.mkb-progress-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  padding-block: 14px;
}

.mkb-progress-row i {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecea;
}

.mkb-progress-row i::after {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: var(--mkb-green);
}

.mkb-benefit-footer {
  max-width: var(--mkb-max);
  margin: 0 auto 32px;
  padding-inline: 24px;
}

.mkb-benefit-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.mkb-benefit-grid div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
}

.mkb-benefit-grid .dashicons {
  grid-row: span 2;
  color: var(--mkb-green);
}

.mkb-benefit-grid small {
  color: var(--mkb-muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .mkb-topbar {
    grid-template-columns: auto 1fr auto;
  }

  .mkb-nav {
    display: none;
  }

  .mkb-hero,
  .mkb-home-grid {
    grid-template-columns: 1fr;
  }

  .mkb-category-strip,
  .mkb-column-grid,
  .mkb-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .mkb-topbar {
    height: auto;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .mkb-auth-actions,
  .mkb-member-band,
  .mkb-member-band > div,
  .mkb-member-band nav,
  .mkb-benefit-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .mkb-main {
    padding: 32px 16px;
  }

  .mkb-hero {
    min-height: auto;
    gap: 12px;
  }

  .mkb-hero h1 {
    font-size: 40px;
  }

  .mkb-category-strip,
  .mkb-column-grid,
  .mkb-benefit-grid {
    grid-template-columns: 1fr;
  }

  .mkb-category-card {
    border-right: 0;
    border-bottom: 1px solid #edf2f0;
  }

  .mkb-category-card:last-child {
    border-bottom: 0;
  }

  .mkb-feed article,
  .mkb-update-list li {
    grid-template-columns: auto 1fr;
  }

  .mkb-feed article > strong,
  .mkb-update-list time {
    grid-column: 2;
  }
}

/* Dashboard shells */
.mkb-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #fbfdfc;
}

.mkb-dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 26px 22px;
  border-right: 1px solid var(--mkb-line);
  background: rgba(255, 255, 255, 0.96);
}

.mkb-dash-brand {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
}

.mkb-dash-brand em,
.mkb-dash-brand small {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}

.mkb-dash-brand small {
  grid-column: 2 / 4;
  padding: 0;
  color: #728093;
  background: transparent;
  font-weight: 600;
}

.mkb-dash-menu {
  display: grid;
  gap: 10px;
}

.mkb-dash-menu a {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-radius: var(--mkb-radius);
  color: #2f3b4c;
  font-weight: 600;
}

.mkb-dash-menu a.is-active,
.mkb-dash-menu a:hover {
  color: var(--mkb-green);
  background: linear-gradient(90deg, var(--mkb-green-soft), #f4fbf8);
}

.mkb-dash-menu .dashicons {
  color: #405268;
  font-size: 22px;
}

.mkb-version-box,
.mkb-user-upgrade {
  margin-top: auto;
  padding: 22px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius-lg);
  background: #fff;
}

.mkb-version-box .dashicons,
.mkb-user-upgrade .dashicons {
  color: var(--mkb-gold);
  font-size: 34px;
}

.mkb-version-box small,
.mkb-version-box p,
.mkb-user-upgrade li {
  color: var(--mkb-muted);
}

.mkb-version-box strong {
  display: block;
  margin-top: 6px;
  color: var(--mkb-green);
  font-size: 20px;
}

.mkb-version-box button,
.mkb-user-upgrade button,
.mkb-user-member button {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: var(--mkb-radius);
  color: #fff;
  background: linear-gradient(135deg, var(--mkb-green), #12b981);
  font-weight: 600;
  cursor: pointer;
}

.mkb-user-upgrade ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mkb-user-upgrade li::before {
  content: "鉁?;
  margin-right: 8px;
  color: var(--mkb-green);
}

.mkb-logout {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius);
  color: #607083;
  background: #fff;
}

.mkb-dash-main {
  min-width: 0;
}

.mkb-dash-top {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  padding: 0 38px;
  border-bottom: 1px solid var(--mkb-line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.mkb-dash-search {
  width: min(440px, 45vw);
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius);
  background: #f8fafb;
}

.mkb-dash-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.mkb-top-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mkb-icon-button {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  color: #142033;
  background: transparent;
  cursor: pointer;
}

.mkb-icon-button b {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  font-size: 11px;
  line-height: 18px;
}

.mkb-avatar,
.mkb-small-avatar {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #26384f, #8aa0b8);
  font-weight: 600;
}

.mkb-top-user strong {
  display: grid;
  gap: 2px;
}

.mkb-top-user small {
  color: #738196;
  font-weight: 500;
}

.mkb-dash-content,
.mkb-user-content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 42px 36px;
}

.mkb-dash-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.mkb-dash-title h1,
.mkb-user-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: 0;
}

.mkb-dash-title p,
.mkb-user-hero p,
.mkb-user-hero small {
  margin: 0;
  color: var(--mkb-muted);
}

.mkb-date-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius);
  color: #263241;
  background: #fff;
  cursor: pointer;
}

.mkb-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mkb-admin-stat {
  min-height: 142px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius-lg);
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.04);
}

.mkb-admin-stat > .dashicons {
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 32px;
}

.mkb-admin-stat.is-blue > .dashicons { color: var(--mkb-blue); background: #eef5ff; }
.mkb-admin-stat.is-orange > .dashicons { color: var(--mkb-orange); background: #fff4e5; }
.mkb-admin-stat.is-mint > .dashicons { color: #11a877; background: #e7faf3; }

.mkb-admin-stat small,
.mkb-admin-stat em {
  color: var(--mkb-muted);
  font-style: normal;
}

.mkb-admin-stat strong {
  display: block;
  margin: 7px 0;
  font-size: 30px;
}

.mkb-admin-stat em {
  color: var(--mkb-green);
}

.mkb-admin-grid,
.mkb-user-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.mkb-admin-orders ul,
.mkb-recommend ul,
.mkb-announcements ul {
  margin: 0;
  padding: 0 24px 22px;
  list-style: none;
}

.mkb-admin-orders li {
  display: grid;
  grid-template-columns: 42px 1fr auto auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f0;
}

.mkb-admin-orders em,
.mkb-admin-orders small {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-style: normal;
  white-space: nowrap;
}

.mkb-admin-orders time {
  color: #64748b;
}

.mkb-admin-orders b {
  color: var(--mkb-green);
}

.mkb-chart {
  position: relative;
  padding: 8px 24px 28px;
}

.mkb-chart svg {
  width: 100%;
  height: 280px;
}

.mkb-grid-line {
  stroke: #e6eeeb;
  stroke-dasharray: 5 6;
}

.mkb-chart-fill {
  fill: url(#mkbChartFill);
}

.mkb-chart-line {
  fill: none;
  stroke: var(--mkb-green);
  stroke-width: 4;
}

.mkb-chart circle {
  fill: #fff;
  stroke: var(--mkb-green);
  stroke-width: 4;
}

.mkb-chart-pop {
  position: absolute;
  top: 30px;
  right: 58px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #eef2f0;
  border-radius: var(--mkb-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--mkb-shadow);
}

.mkb-status-grid,
.mkb-action-grid,
.mkb-recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 24px 24px;
}

.mkb-status-grid article,
.mkb-action-grid button {
  min-height: 140px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid #eef2f0;
  border-radius: var(--mkb-radius);
  background: #f7fbfa;
}

.mkb-action-grid button {
  text-align: center;
  cursor: pointer;
}

.mkb-status-grid .dashicons,
.mkb-action-grid .dashicons {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  border-radius: 9px;
  color: #fff;
  background: var(--mkb-green);
  font-size: 24px;
}

.mkb-status-grid em,
.mkb-action-grid small {
  color: var(--mkb-muted);
  font-style: normal;
}

.mkb-status-grid strong {
  font-size: 24px;
}

.mkb-user-hero {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto 360px;
  align-items: center;
  gap: 26px;
  padding: 34px 36px;
  border: 1px solid var(--mkb-line);
  border-radius: var(--mkb-radius-lg);
  background: linear-gradient(110deg, #effaf6, #f7fdfb);
}

.mkb-user-hero img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 420px;
  opacity: 0.92;
}

.mkb-user-hero > div {
  position: relative;
  z-index: 1;
}

.mkb-user-metrics {
  display: flex;
  gap: 34px;
}

.mkb-user-metrics span {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 78px;
}

.mkb-user-metrics i {
  color: var(--mkb-green);
}

.mkb-user-metrics strong {
  font-size: 28px;
}

.mkb-recent-study,
.mkb-recommend {
  grid-column: 1;
}

.mkb-recent-grid article {
  min-width: 0;
}

.mkb-card-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
  color: var(--mkb-muted);
}

.mkb-card-progress i,
.mkb-user-member i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: #e6ecea;
}

.mkb-card-progress i::after,
.mkb-user-member i::after {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: var(--mkb-green);
}

.mkb-user-member {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.mkb-user-member .mkb-section-head {
  padding-bottom: 0;
}

.mkb-user-member em {
  padding: 5px 10px;
  border-radius: 999px;
  color: #ad6d19;
  background: #fff2dc;
  font-style: normal;
}

.mkb-user-member p,
.mkb-user-member small,
.mkb-user-member a {
  margin: 0 24px;
  color: var(--mkb-muted);
}

.mkb-user-member i {
  margin: 0 24px;
}

.mkb-user-member button {
  width: auto;
  margin: 0 24px;
}

.mkb-user-member a {
  color: var(--mkb-green);
  text-align: center;
}

.mkb-recommend .mkb-tabs {
  padding: 0 24px 10px;
}

.mkb-recommend li {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f0;
}

.mkb-recommend li > .dashicons {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
}

.mkb-recommend em {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-style: normal;
  font-size: 12px;
}

.mkb-recommend p {
  margin: 6px 0 0;
  color: var(--mkb-muted);
}

.mkb-recommend time,
.mkb-recommend small {
  color: #64748b;
  white-space: nowrap;
}

.mkb-user-side {
  display: grid;
  gap: 22px;
}

.mkb-study-reminder p {
  margin: 0 24px 10px;
  color: #334155;
}

.mkb-study-reminder strong {
  color: var(--mkb-green);
  font-size: 20px;
}

.mkb-calendar-large span.is-today {
  width: 44px;
  height: 44px;
  margin: -5px auto;
  border-radius: 12px;
}

.mkb-announcements li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  color: #334155;
}

.mkb-announcements li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--mkb-green);
}

.mkb-announcements strong {
  flex: 1;
  font-weight: 600;
}

.mkb-announcements time {
  color: #64748b;
}

@media (max-width: 1180px) {
  .mkb-app-shell {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .mkb-dash-sidebar {
    padding: 22px 14px;
  }

  .mkb-dash-brand span,
  .mkb-dash-brand em,
  .mkb-dash-brand small,
  .mkb-dash-menu a,
  .mkb-version-box,
  .mkb-user-upgrade,
  .mkb-logout {
    font-size: 0;
  }

  .mkb-dash-menu a {
    justify-content: center;
    padding: 0;
  }

  .mkb-dash-menu .dashicons {
    font-size: 24px;
  }

  .mkb-admin-stats,
  .mkb-status-grid,
  .mkb-action-grid,
  .mkb-recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkb-admin-grid,
  .mkb-user-grid,
  .mkb-user-hero {
    grid-template-columns: 1fr;
  }

  .mkb-user-hero img {
    position: relative;
    width: min(420px, 100%);
    margin-left: auto;
  }
}

@media (max-width: 780px) {
  .mkb-app-shell {
    grid-template-columns: 1fr;
  }

  .mkb-dash-sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--mkb-line);
  }

  .mkb-dash-brand,
  .mkb-version-box,
  .mkb-user-upgrade,
  .mkb-logout {
    display: none;
  }

  .mkb-dash-menu {
    display: flex;
    min-width: max-content;
  }

  .mkb-dash-menu a {
    width: 48px;
  }

  .mkb-dash-top {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .mkb-dash-search {
    width: 100%;
  }

  .mkb-dash-content,
  .mkb-user-content {
    padding: 24px 16px;
  }

  .mkb-dash-title,
  .mkb-top-user,
  .mkb-user-metrics {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .mkb-admin-stats,
  .mkb-status-grid,
  .mkb-action-grid,
  .mkb-recent-grid {
    grid-template-columns: 1fr;
  }

  .mkb-admin-orders li,
  .mkb-recommend li {
    grid-template-columns: 42px 1fr;
  }

  .mkb-admin-orders time,
  .mkb-admin-orders b,
  .mkb-admin-orders small,
  .mkb-recommend time,
  .mkb-recommend small {
    grid-column: 2;
  }
}

/* Typography design system - font only */
:root {
  --mkb-type-h1: 48px;
  --mkb-type-h2: 36px;
  --mkb-type-h3: 28px;
  --mkb-type-title: 22px;
  --mkb-type-card-title: 18px;
  --mkb-type-section: 16px;
  --mkb-type-body: 15px;
  --mkb-type-secondary: 14px;
  --mkb-type-caption: 13px;
  --mkb-type-small: 12px;
  --mkb-weight-regular: 400;
  --mkb-weight-medium: 500;
  --mkb-weight-semibold: 600;
}

body.mkb-site,
body.mkb-dashboard-page {
  font-size: var(--mkb-type-body);
  font-weight: var(--mkb-weight-regular);
  line-height: 1.65;
  letter-spacing: 0;
}

body.mkb-site *,
body.mkb-dashboard-page * {
  letter-spacing: 0;
}

h1,
h2,
h3,
.mkb-hero h1,
.mkb-dash-title h1,
.mkb-user-hero h1,
.mkb-section-head h1,
.mkb-section-head h2,
.mkb-column-card h3,
.mkb-feed h3,
.mkb-recommend strong,
.mkb-member-band strong,
.mkb-benefit-title strong {
  font-weight: var(--mkb-weight-semibold);
  line-height: 1.2;
}

.mkb-hero h1 {
  font-size: var(--mkb-type-h1);
  line-height: 1.15;
}

.mkb-section-head h1 {
  font-size: var(--mkb-type-h2);
}

.mkb-dash-title h1,
.mkb-user-hero h1 {
  font-size: var(--mkb-type-h3);
}

.mkb-brand,
.mkb-dash-brand,
.mkb-member-band strong,
.mkb-benefit-title strong {
  font-size: var(--mkb-type-title);
  font-weight: var(--mkb-weight-semibold);
  line-height: 1.2;
}

.mkb-column-card h3,
.mkb-feed h3,
.mkb-recommend strong,
.mkb-user-upgrade strong {
  font-size: var(--mkb-type-card-title);
  font-weight: var(--mkb-weight-semibold);
  line-height: 1.2;
}

.mkb-section-head h2,
.mkb-status-grid small,
.mkb-action-grid strong,
.mkb-category-card strong,
.mkb-progress-row span,
.mkb-card-progress small {
  font-size: var(--mkb-type-section);
  font-weight: var(--mkb-weight-semibold);
  line-height: 1.2;
}

p,
li,
input,
.mkb-feed p,
.mkb-column-card p,
.mkb-recommend p,
.mkb-study-reminder p,
.mkb-user-member p,
.mkb-dash-title p,
.mkb-user-hero p {
  font-size: var(--mkb-type-body);
  font-weight: var(--mkb-weight-regular);
  line-height: 1.65;
}

small,
time,
em,
.mkb-text-link,
.mkb-update-list time,
.mkb-admin-orders time,
.mkb-recommend time,
.mkb-recommend small,
.mkb-user-member small,
.mkb-user-hero small,
.mkb-version-box p,
.mkb-benefit-grid small,
.mkb-action-grid small {
  font-size: var(--mkb-type-secondary);
  font-weight: var(--mkb-weight-regular);
  line-height: 1.65;
}

.mkb-thumb span,
.mkb-tabs button,
.mkb-update-list em,
.mkb-admin-orders em,
.mkb-admin-orders small,
.mkb-recommend em,
.mkb-dash-brand em,
.mkb-dash-brand small,
.mkb-user-member em {
  font-size: var(--mkb-type-caption);
  font-weight: var(--mkb-weight-regular);
  line-height: 1.2;
}

.mkb-icon-button b {
  font-size: var(--mkb-type-small);
  font-weight: var(--mkb-weight-medium);
}

strong,
b {
  font-weight: var(--mkb-weight-medium);
}

.mkb-button,
.mkb-button-large,
button,
.mkb-tabs button,
.mkb-version-box button,
.mkb-user-upgrade button,
.mkb-user-member button,
.mkb-load-more,
.mkb-date-button {
  font-size: var(--mkb-type-body);
  font-weight: var(--mkb-weight-medium);
  line-height: 1.2;
}

.mkb-nav,
.mkb-nav a,
.mkb-dash-menu a,
.mkb-auth-actions a {
  font-size: var(--mkb-type-body);
  font-weight: var(--mkb-weight-medium);
  line-height: 1.2;
}

.mkb-admin-stat strong,
.mkb-stat-row strong,
.mkb-user-metrics strong,
.mkb-status-grid strong,
.mkb-card-progress b,
.mkb-study-reminder strong {
  font-weight: var(--mkb-weight-medium);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.mkb-admin-stat strong {
  font-size: var(--mkb-type-h2);
}

.mkb-user-metrics strong,
.mkb-status-grid strong {
  font-size: var(--mkb-type-h3);
}

.mkb-stat-row strong,
.mkb-study-reminder strong {
  font-size: var(--mkb-type-title);
}

.mkb-hero p,
.mkb-member-band small,
.mkb-category-card small,
.mkb-column-card p,
.mkb-feed small,
.mkb-progress-row small,
.mkb-card-progress small {
  font-size: var(--mkb-type-secondary);
  font-weight: var(--mkb-weight-regular);
}

.mkb-benefit-grid small {
  font-size: var(--mkb-type-small);
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 1081px) {
  .mkb-hero-copy {
    padding-left: 48px;
  }

  .mkb-hero-points {
    flex-wrap: nowrap;
    gap: 24px;
    white-space: nowrap;
  }

  .mkb-hero-points span {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .mkb-hero-art img {
    -webkit-mask-image: radial-gradient(ellipse at center, #000 56%, rgba(0, 0, 0, 0.88) 70%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, #000 56%, rgba(0, 0, 0, 0.88) 70%, transparent 100%);
  }

  .mkb-benefit-footer {
    gap: 18px;
    padding: 20px 24px;
  }

  .mkb-benefit-title {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-width: 148px;
    white-space: nowrap;
  }

  .mkb-benefit-title .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 1;
  }

  .mkb-benefit-title strong {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mkb-benefit-grid {
    grid-template-columns: repeat(5, minmax(128px, 1fr));
    gap: 16px;
    align-items: center;
  }

  .mkb-benefit-grid div {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .mkb-benefit-grid .dashicons {
    width: 26px;
    height: 26px;
    font-size: 20px;
    line-height: 1;
  }

  .mkb-benefit-grid strong {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mkb-benefit-footer > .mkb-button {
    flex: 0 0 auto;
    min-width: 142px;
    padding-inline: 18px;
    white-space: nowrap;
  }
}

@media (min-width: 1181px) {
  .mkb-user-page .mkb-user-grid {
    grid-template-columns: minmax(0, 2.05fr) 360px;
  }

  .mkb-user-page .mkb-recent-study,
  .mkb-user-page .mkb-recommend {
    grid-column: 1;
  }

  .mkb-user-page .mkb-user-member,
  .mkb-user-page .mkb-user-side {
    grid-column: 2;
  }
}

.mkb-user-page .mkb-user-upgrade strong {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

.mkb-user-page .mkb-user-upgrade .dashicons {
  width: 24px;
  height: 24px;
  font-size: 22px;
  line-height: 1;
}

.mkb-user-page .mkb-user-upgrade li {
  font-size: 13px;
  line-height: 1.55;
}

.mkb-user-page .mkb-user-upgrade button {
  min-height: 40px;
  font-size: 14px;
}

.mkb-admin-page .mkb-dash-brand {
  grid-template-columns: 32px minmax(0, max-content) auto;
  gap: 10px;
}

.mkb-admin-page .mkb-dash-brand .mkb-logo-mark {
  width: 32px;
  height: 32px;
}

.mkb-admin-page .mkb-dash-brand span {
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
}

.mkb-admin-page .mkb-dash-brand em {
  padding: 5px 9px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.mkb-admin-page .mkb-dash-menu a {
  gap: 14px;
}

.mkb-admin-page .mkb-dash-menu .dashicons {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.mkb-admin-page .mkb-version-box {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
}

.mkb-admin-page .mkb-version-box .dashicons {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  font-size: 34px;
  line-height: 1;
}

.mkb-admin-page .mkb-version-box small,
.mkb-admin-page .mkb-version-box strong {
  margin: 0;
  line-height: 1.2;
}

.mkb-admin-page .mkb-version-box p,
.mkb-admin-page .mkb-version-box button {
  grid-column: 1 / -1;
}

.mkb-admin-page .mkb-version-box p {
  margin: 12px 0 0;
}

.mkb-admin-page .mkb-admin-stat {
  align-items: center;
}

.mkb-admin-page .mkb-admin-stat > .dashicons {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  font-size: 30px;
  line-height: 1;
}

.mkb-admin-page .mkb-admin-stat div {
  min-width: 0;
  text-align: left;
}

.mkb-admin-page .mkb-admin-stat small,
.mkb-admin-page .mkb-admin-stat strong,
.mkb-admin-page .mkb-admin-stat em {
  text-align: left;
}

.mkb-admin-page .mkb-status-grid .dashicons,
.mkb-admin-page .mkb-action-grid .dashicons {
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}

.mkb-columns-hero {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 40px;
  margin-bottom: 26px;
}

.mkb-columns-hero h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--mkb-text);
}

.mkb-columns-hero p {
  margin: 0;
  color: var(--mkb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.mkb-columns-hero img {
  width: 100%;
  opacity: 0.96;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.mkb-columns-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.mkb-column-filters,
.mkb-column-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mkb-column-filters button,
.mkb-column-tools button,
.mkb-columns-pagination button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border: 1px solid var(--mkb-line);
  border-radius: 8px;
  color: var(--mkb-text);
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  cursor: pointer;
}

.mkb-column-filters button.is-active,
.mkb-column-tools button.is-active,
.mkb-columns-pagination button.is-active {
  border-color: var(--mkb-green);
  color: #fff;
  background: var(--mkb-green);
}

.mkb-column-tools button {
  padding-inline: 12px;
}

.mkb-column-tools .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.mkb-columns-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 26px;
  border: 1px solid var(--mkb-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.04);
}

.mkb-columns-stats article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 86px;
  border-right: 1px solid #edf2f0;
}

.mkb-columns-stats article:last-child {
  border-right: 0;
}

.mkb-columns-stats .dashicons {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 22px;
}

.mkb-columns-stats strong {
  display: block;
  color: var(--mkb-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}

.mkb-columns-stats small {
  color: var(--mkb-muted);
  font-size: 13px;
}

.mkb-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mkb-column-list-card {
  overflow: hidden;
  border: 1px solid var(--mkb-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.06);
}

.mkb-column-cover {
  min-height: 144px;
  position: relative;
  display: grid;
  align-content: center;
  padding: 22px;
  overflow: hidden;
  color: #fff;
}

.mkb-column-cover::before,
.mkb-column-cover::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mkb-column-cover::before {
  width: 150px;
  height: 150px;
  right: -36px;
  bottom: -54px;
}

.mkb-column-cover::after {
  width: 90px;
  height: 90px;
  left: 36px;
  top: -28px;
}

.mkb-column-cover span,
.mkb-column-cover strong {
  position: relative;
  z-index: 1;
}

.mkb-column-cover span {
  width: fit-content;
  margin-bottom: 26px;
  padding: 5px 9px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 12px;
  line-height: 1;
}

.mkb-column-cover strong {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.mkb-column-cover.is-deep { background: linear-gradient(135deg, #064e45, #0d766a); }
.mkb-column-cover.is-amber { background: linear-gradient(135deg, #d6902b, #f4cd8f); }
.mkb-column-cover.is-blue { background: linear-gradient(135deg, #3d72d7, #91aff4); }
.mkb-column-cover.is-violet { background: linear-gradient(135deg, #7b54d8, #b899f3); }
.mkb-column-cover.is-lavender { background: linear-gradient(135deg, #8e62e6, #d5bbff); }
.mkb-column-cover.is-royal { background: linear-gradient(135deg, #1e5ec8, #78a8ff); }
.mkb-column-cover.is-green { background: linear-gradient(135deg, #0d7a5f, #7dcab0); }
.mkb-column-cover.is-gold { background: linear-gradient(135deg, #d68627, #f1bd6b); }

.mkb-column-card-body {
  padding: 16px 16px 14px;
}

.mkb-column-card-body h2 {
  margin: 0 0 8px;
  color: var(--mkb-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.mkb-column-card-body p {
  margin: 0 0 18px;
  color: var(--mkb-muted);
  font-size: 13px;
  line-height: 1.6;
}

.mkb-column-card-body footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.mkb-column-card-body small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mkb-muted);
  font-size: 12px;
  white-space: nowrap;
}

.mkb-column-card-body .dashicons {
  width: 14px;
  height: 14px;
  font-size: 14px;
}

.mkb-column-card-body b {
  color: #f97316;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.mkb-column-card-body b.is-free {
  color: var(--mkb-green);
}

.mkb-columns-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 8px;
}

.mkb-columns-pagination button {
  min-width: 36px;
  padding: 0 12px;
}

.mkb-columns-pagination button:disabled {
  opacity: 0.36;
  cursor: default;
}

.mkb-columns-pagination small {
  margin-left: 24px;
  color: var(--mkb-muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .mkb-columns-hero,
  .mkb-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .mkb-columns-stats article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .mkb-columns-hero,
  .mkb-columns-grid,
  .mkb-columns-stats {
    grid-template-columns: 1fr;
  }

  .mkb-columns-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mkb-columns-hero img {
    display: none;
  }

  .mkb-columns-stats article {
    border-right: 0;
    border-bottom: 1px solid #edf2f0;
  }
}

.mkb-courses-hero {
  min-height: 142px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 40px;
  margin-bottom: 22px;
  position: relative;
}

.mkb-courses-hero::after {
  content: "";
  position: absolute;
  right: 120px;
  bottom: -20px;
  width: 380px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 40%, rgba(15, 159, 114, 0.16), rgba(15, 159, 114, 0) 68%);
  pointer-events: none;
}

.mkb-courses-hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 600;
}

.mkb-courses-hero p {
  margin: 0 0 26px;
  color: var(--mkb-muted);
  font-size: 16px;
}

.mkb-course-search {
  width: min(390px, 100%);
  height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--mkb-line);
  border-radius: 8px;
  background: #fff;
}

.mkb-course-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
}

.mkb-course-search button {
  width: 44px;
  height: 44px;
  border: 0;
  color: #596779;
  background: transparent;
  cursor: pointer;
}

.mkb-course-shortcuts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  justify-items: center;
  align-self: end;
  padding-bottom: 42px;
}

.mkb-course-shortcuts a {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #445164;
  font-size: 14px;
}

.mkb-course-shortcuts .dashicons {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 22px;
}

.mkb-courses-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 44px;
}

.mkb-courses-main {
  min-width: 0;
}

.mkb-course-filters {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.mkb-course-filters div,
.mkb-course-sortbar div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mkb-course-filters button,
.mkb-course-sortbar button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid var(--mkb-line);
  border-radius: 8px;
  color: var(--mkb-text);
  background: #fff;
  cursor: pointer;
}

.mkb-course-filters button.is-active,
.mkb-course-sortbar button.is-active {
  border-color: var(--mkb-green);
  color: #fff;
  background: var(--mkb-green);
}

.mkb-course-filters div:nth-child(2) button {
  min-height: 30px;
  border: 0;
  color: #4b6475;
  background: transparent;
}

.mkb-course-filters div:nth-child(2) button.is-active {
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
}

.mkb-course-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--mkb-line);
}

.mkb-course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mkb-course-card {
  overflow: hidden;
  border: 1px solid var(--mkb-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.06);
}

.mkb-course-cover {
  min-height: 116px;
  position: relative;
  overflow: hidden;
  background: #0f766e;
  isolation: isolate;
}

.mkb-course-cover::before,
.mkb-course-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.mkb-course-cover::before {
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.22) 0 20%, transparent 21%),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.15) 0 14%, transparent 15%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.mkb-course-cover::after {
  right: 18px;
  bottom: 12px;
  width: 98px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(-8deg);
}

.mkb-course-cover > span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
  font-size: 12px;
  line-height: 1;
}

.mkb-course-cover > i {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 24, 39, 0.48);
  font-size: 25px;
}

.mkb-course-cover.is-deep {
  background:
    radial-gradient(circle at 72% 45%, rgba(33, 214, 165, 0.48) 0 8%, transparent 9%),
    linear-gradient(135deg, #075f51, #064940);
}

.mkb-course-cover.is-amber {
  background:
    radial-gradient(circle at 57% 44%, rgba(255, 255, 255, 0.26) 0 24%, transparent 25%),
    linear-gradient(135deg, #d9932a, #f3c776);
}

.mkb-course-cover.is-blue {
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(255, 255, 255, 0.16) 45% 49%, transparent 49%),
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.24) 0 18%, transparent 19%),
    linear-gradient(135deg, #326fd4, #89aaf0);
}

.mkb-course-cover.is-violet {
  background:
    radial-gradient(circle at 76% 50%, rgba(255, 255, 255, 0.22) 0 20%, transparent 21%),
    linear-gradient(135deg, #7651d8, #b693ef);
}

.mkb-course-cover.is-lavender {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 16%, transparent 16% 100%),
    linear-gradient(135deg, #8e62e6, #d2b8ff);
}

.mkb-course-cover.is-royal {
  background:
    linear-gradient(145deg, transparent 0 42%, rgba(255, 255, 255, 0.22) 42% 48%, transparent 48%),
    linear-gradient(135deg, #1e5ec8, #78a8ff);
}

.mkb-course-cover.is-green {
  background:
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.24) 0 18%, transparent 19%),
    linear-gradient(135deg, #0d7a5f, #79c8ad);
}

.mkb-course-cover.is-gold {
  background:
    radial-gradient(circle at 70% 45%, rgba(255, 255, 255, 0.2) 0 18%, transparent 19%),
    linear-gradient(135deg, #d68627, #f1bd6b);
}

.mkb-course-card-body {
  padding: 14px 14px 12px;
}

.mkb-course-card-body h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.mkb-course-card-body p {
  margin: 0 0 14px;
  color: var(--mkb-muted);
  font-size: 13px;
  line-height: 1.55;
}

.mkb-course-card-body small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mkb-muted);
  font-size: 12px;
}

.mkb-course-card-body footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.mkb-course-card-body b,
.mkb-hot-courses b {
  color: #f97316;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.mkb-course-card-body b.is-free {
  color: var(--mkb-green);
}

.mkb-courses-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

@media (min-width: 1181px) {
  .mkb-courses-side {
    position: relative;
    z-index: 2;
    margin-top: -174px;
  }

  .mkb-course-shortcuts {
    justify-self: start;
    width: 360px;
    transform: translateX(-210px);
  }
}

.mkb-course-shortcuts a:nth-child(2) .dashicons {
  color: #fff;
  background: var(--mkb-orange);
}

.mkb-course-shortcuts a:nth-child(3) .dashicons {
  color: #fff;
  background: var(--mkb-purple);
}

.mkb-course-shortcuts a:nth-child(4) .dashicons {
  color: #fff;
  background: var(--mkb-blue);
}

.mkb-course-progress {
  padding-bottom: 22px;
}

.mkb-course-progress-current {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 0 24px 18px;
}

.mkb-course-progress-current > .dashicons {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 24px;
}

.mkb-course-progress-current strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 1.2;
}

.mkb-course-progress-current small {
  float: right;
  color: #667085;
  font-size: 13px;
}

.mkb-course-progress-current i {
  display: block;
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecea;
}

.mkb-course-progress-current i::after {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: var(--mkb-green);
}

.mkb-course-progress > .mkb-button {
  width: calc(100% - 48px);
  margin: 0 24px;
}

.mkb-course-progress-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 24px 0;
  color: #667085;
  font-size: 13px;
}

.mkb-course-progress-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.mkb-course-progress-meta strong {
  color: var(--mkb-green);
  font-weight: 500;
}

.mkb-hot-courses {
  padding-bottom: 14px;
}

.mkb-hot-courses article {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  border-top: 1px solid #eef2f0;
}

.mkb-hot-courses article > span {
  width: 60px;
  height: 42px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.55) 0 15%, transparent 16%),
    linear-gradient(135deg, #dff6ee, #afe4d2);
}

.mkb-hot-courses article > span::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 28px;
  height: 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(-8deg);
}

.mkb-hot-courses span.is-blue {
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.5) 0 15%, transparent 16%),
    linear-gradient(135deg, #2d6ed5, #6fa6ff);
}

.mkb-hot-courses span.is-royal {
  background:
    linear-gradient(145deg, transparent 0 40%, rgba(255, 255, 255, 0.55) 40% 48%, transparent 48%),
    linear-gradient(135deg, #2b62c9, #83adff);
}

.mkb-hot-courses span.is-amber {
  background:
    radial-gradient(circle at 58% 44%, rgba(255, 255, 255, 0.44) 0 20%, transparent 21%),
    linear-gradient(135deg, #e0a13f, #f4ce83);
}

.mkb-courses-side .mkb-section-head a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.mkb-hot-courses strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.mkb-hot-courses small {
  color: var(--mkb-muted);
  font-size: 12px;
}

.mkb-course-categories {
  padding-bottom: 18px;
}

.mkb-course-categories > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 12px;
  padding: 0 24px 22px;
}

.mkb-course-categories a {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.mkb-course-categories .dashicons {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  background: var(--mkb-green);
  font-size: 20px;
}

.mkb-course-categories a.is-orange .dashicons { background: var(--mkb-orange); }
.mkb-course-categories a.is-blue .dashicons { background: var(--mkb-blue); }
.mkb-course-categories a.is-gold .dashicons { background: var(--mkb-gold); }
.mkb-course-categories a.is-teal .dashicons { background: #16b79b; }
.mkb-course-categories a.is-violet .dashicons { background: var(--mkb-purple); }

.mkb-course-categories strong {
  font-size: 12px;
  line-height: 1.2;
}

.mkb-course-categories small {
  color: var(--mkb-muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  body.page-template-page-courses .mkb-main {
    padding-inline: 24px;
  }

  .mkb-courses-layout,
  .mkb-courses-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body.page-template-page-courses .mkb-main {
    padding-inline: 16px;
  }

  .mkb-course-shortcuts,
  .mkb-course-grid,
  .mkb-course-categories > div {
    grid-template-columns: 1fr 1fr;
  }

  .mkb-course-sortbar {
    align-items: stretch;
    flex-direction: column;
  }
}

body.page-template-page-membership {
  --mkb-bg: #ffffff;
  --mkb-max: 1480px;
}

body.page-template-page-membership .mkb-main {
  padding: 32px 30px 28px;
}

.mkb-membership-page {
  display: grid;
  gap: 30px;
}

.mkb-membership-hero {
  min-height: 212px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 40px;
  padding: 24px 56px 22px;
  border: 1px solid #dce9e5;
  border-radius: 10px;
  background:
    radial-gradient(circle at 86% 50%, rgba(15, 159, 114, 0.18), rgba(15, 159, 114, 0) 34%),
    linear-gradient(135deg, #f7fcfa, #eef8f5);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.04);
}

.mkb-membership-hero::before,
.mkb-membership-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mkb-membership-hero::before {
  right: 110px;
  bottom: -54px;
  width: 360px;
  height: 112px;
  border-radius: 50%;
  background: rgba(15, 159, 114, 0.16);
  filter: blur(2px);
}

.mkb-membership-hero::after {
  right: 124px;
  top: 22px;
  width: 460px;
  height: 210px;
  background:
    radial-gradient(circle at 18% 62%, rgba(15, 159, 114, 0.5) 0 2%, transparent 2.3%),
    radial-gradient(circle at 88% 54%, rgba(15, 159, 114, 0.42) 0 2.4%, transparent 2.7%),
    linear-gradient(132deg, transparent 0 43%, rgba(255, 255, 255, 0.45) 43% 46%, transparent 46% 100%);
}

.mkb-membership-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.mkb-membership-crown {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #13b783, #0f9f72);
  box-shadow: 0 20px 36px rgba(15, 159, 114, 0.22);
}

.mkb-membership-crown .dashicons {
  width: 38px;
  height: 38px;
  font-size: 38px;
}

.mkb-membership-hero h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mkb-membership-hero p {
  margin: 0;
  color: var(--mkb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.mkb-membership-benefits {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 22px;
  width: min(770px, 58vw);
  margin-top: 8px;
}

.mkb-membership-benefits article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.mkb-membership-benefits .dashicons {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: var(--mkb-green);
  font-size: 23px;
}

.mkb-membership-benefits article.is-orange .dashicons { background: var(--mkb-orange); }
.mkb-membership-benefits article.is-purple .dashicons { background: var(--mkb-purple); }
.mkb-membership-benefits article.is-blue .dashicons { background: var(--mkb-blue); }

.mkb-membership-benefits strong {
  color: var(--mkb-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.mkb-membership-benefits small {
  color: var(--mkb-muted);
  font-size: 13px;
  line-height: 1.2;
}

.mkb-membership-visual {
  position: absolute;
  right: 128px;
  top: 12px;
  z-index: 1;
  width: 420px;
  height: 184px;
}

.mkb-member-card,
.mkb-member-shield,
.mkb-member-coin {
  position: absolute;
  display: block;
}

.mkb-member-card {
  right: 108px;
  top: 4px;
  width: 180px;
  height: 112px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b3e3f, #1e2325);
  transform: rotate(8deg);
  box-shadow: 0 24px 46px rgba(17, 24, 39, 0.26);
}

.mkb-member-card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 30px;
  height: 10px;
  border-radius: 3px;
  background: #f7d594;
  box-shadow: 0 38px 0 #e9c67d;
}

.mkb-member-card::after {
  content: "♛";
  position: absolute;
  right: 36px;
  top: 34px;
  color: #f6d18d;
  font-size: 42px;
  line-height: 1;
}

.mkb-member-shield {
  right: 36px;
  top: 66px;
  width: 92px;
  height: 108px;
  border: 4px solid #d49a43;
  border-radius: 48px 48px 42px 42px;
  background: linear-gradient(135deg, #fff2d7, #f7c979);
  clip-path: polygon(50% 0, 96% 16%, 88% 75%, 50% 100%, 12% 75%, 4% 16%);
  box-shadow: 0 18px 30px rgba(165, 104, 29, 0.2);
}

.mkb-member-shield::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 34px;
  width: 26px;
  height: 48px;
  border-right: 5px solid #d49a43;
  border-bottom: 5px solid #d49a43;
  transform: rotate(42deg);
}

.mkb-member-coin {
  width: 58px;
  height: 58px;
  border: 4px solid #e9ad4f;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff4d8, #efb758);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.35), 0 18px 24px rgba(165, 104, 29, 0.18);
}

.mkb-member-coin.is-one {
  left: 62px;
  bottom: 4px;
}

.mkb-member-coin.is-two {
  left: 92px;
  bottom: 22px;
  width: 42px;
  height: 42px;
}

.mkb-membership-core {
  display: grid;
  grid-template-columns: 450px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.mkb-membership-plans {
  overflow: hidden;
  padding: 22px;
  border-radius: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #0b755f, #044b42);
  box-shadow: 0 18px 44px rgba(5, 72, 61, 0.18);
}

.mkb-membership-plans-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mkb-membership-plans h2,
.mkb-membership-rights h2,
.mkb-membership-services h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mkb-membership-plans-head span {
  padding: 5px 10px;
  border-radius: 8px;
  color: #fff7dc;
  background: rgba(244, 205, 129, 0.3);
  font-size: 13px;
}

.mkb-membership-plan-list {
  display: grid;
  gap: 10px;
}

.mkb-membership-plan-list button {
  min-height: 84px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--mkb-text);
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.mkb-membership-plan-list button.is-active {
  border-color: rgba(15, 159, 114, 0.3);
  background: #f7fffc;
}

.mkb-membership-plan-list i {
  width: 20px;
  height: 20px;
  border: 1px solid #bdcad4;
  border-radius: 50%;
}

.mkb-membership-plan-list button.is-active i {
  border: 5px solid var(--mkb-green);
}

.mkb-membership-plan-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--mkb-green-dark);
  font-size: 15px;
  font-weight: 600;
}

.mkb-membership-plan-list small {
  display: block;
  color: var(--mkb-muted);
  font-size: 13px;
  line-height: 1.2;
}

.mkb-membership-plan-list b {
  color: var(--mkb-text);
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
}

.mkb-membership-plan-list em {
  color: var(--mkb-text);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.mkb-membership-plan-list mark {
  grid-column: 3;
  justify-self: end;
  margin-top: -14px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #54705f;
  background: #e8f6ef;
  font-size: 12px;
  white-space: nowrap;
}

.mkb-membership-cta {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border-radius: 8px;
  color: #4d3212;
  background: linear-gradient(135deg, #f7df9b, #e8b65b);
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 14px 26px rgba(196, 138, 47, 0.18);
}

.mkb-membership-plans p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  text-align: center;
}

.mkb-membership-rights {
  padding: 22px 24px 30px;
  border: 1px solid var(--mkb-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.04);
}

.mkb-membership-table {
  display: grid;
  margin-top: 6px;
}

.mkb-membership-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.28fr) minmax(120px, 0.8fr) minmax(170px, 0.95fr) minmax(140px, 0.88fr);
  align-items: center;
  min-height: 42px;
  column-gap: 26px;
}

.mkb-membership-row > span,
.mkb-membership-row > strong {
  color: #526071;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.mkb-membership-row-head {
  min-height: 54px;
}

.mkb-membership-row-head > strong {
  color: #5f6877;
  font-weight: 500;
}

.mkb-membership-row > .is-member {
  color: var(--mkb-green);
  font-weight: 500;
  background: linear-gradient(90deg, rgba(240, 253, 248, 0.2), rgba(240, 253, 248, 0.86), rgba(240, 253, 248, 0.2));
}

.mkb-membership-row-head > .is-member {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(15, 159, 114, 0.42);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.mkb-membership-row:not(.mkb-membership-row-head) > .is-member {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(15, 159, 114, 0.42);
  border-right: 1px solid rgba(15, 159, 114, 0.42);
}

.mkb-membership-row:last-child > .is-member {
  min-height: 54px;
  border-bottom: 1px solid rgba(15, 159, 114, 0.42);
  border-radius: 0 0 8px 8px;
}

.mkb-membership-feature {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left !important;
}

.mkb-membership-feature > i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 17px;
}

.mkb-membership-feature strong {
  display: block;
  color: var(--mkb-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
}

.mkb-membership-feature small {
  display: block;
  margin-top: 3px;
  color: var(--mkb-muted);
  font-size: 12px;
  line-height: 1.2;
}

.mkb-membership-services {
  margin-top: -18px;
  padding-inline: 38px;
}

.mkb-membership-services h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 16px;
}

.mkb-membership-services h2::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--mkb-line);
}

.mkb-membership-services > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mkb-membership-services article {
  min-height: 70px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f7fbfa);
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.05);
}

.mkb-membership-services .dashicons {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: var(--mkb-green);
  font-size: 22px;
}

.mkb-membership-services article.is-orange .dashicons { background: #f28c46; }
.mkb-membership-services article.is-blue .dashicons { background: var(--mkb-blue); }
.mkb-membership-services article.is-purple .dashicons { background: var(--mkb-purple); }
.mkb-membership-services article.is-gold .dashicons { background: var(--mkb-gold); }

.mkb-membership-services strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mkb-text);
  font-size: 14px;
  font-weight: 600;
}

.mkb-membership-services small {
  display: block;
  color: var(--mkb-muted);
  font-size: 12px;
  line-height: 1.35;
}

.mkb-membership-safe {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: -8px 38px 0;
  padding: 0 28px;
  border-radius: 8px;
  color: #607083;
  background: linear-gradient(90deg, #f1fbf7, #f9fcfb);
  font-size: 13px;
}

.mkb-membership-safe strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mkb-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.mkb-membership-safe strong .dashicons {
  color: var(--mkb-green);
}

.mkb-membership-safe small {
  margin-left: auto;
  color: var(--mkb-muted);
  font-size: 12px;
}

.mkb-membership-safe > i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  background: #4d6a5f;
  font-size: 14px;
}

@media (max-width: 1180px) {
  body.page-template-page-membership .mkb-main {
    padding-inline: 24px;
  }

  .mkb-membership-hero,
  .mkb-membership-core {
    grid-template-columns: 1fr;
  }

  .mkb-membership-visual {
    display: none;
  }

  .mkb-membership-benefits,
  .mkb-membership-services > div {
    width: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .mkb-membership-row {
    grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(96px, 1fr));
    column-gap: 12px;
  }
}

@media (max-width: 720px) {
  body.page-template-page-membership .mkb-main {
    padding: 24px 16px;
  }

  .mkb-membership-page {
    gap: 22px;
  }

  .mkb-membership-hero {
    padding: 24px 18px;
  }

  .mkb-membership-hero-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .mkb-membership-hero h1 {
    font-size: 26px;
  }

  .mkb-membership-benefits,
  .mkb-membership-services > div {
    grid-template-columns: 1fr;
  }

  .mkb-membership-core {
    gap: 18px;
  }

  .mkb-membership-plans,
  .mkb-membership-rights {
    padding: 18px;
  }

  .mkb-membership-plan-list button {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .mkb-membership-plan-list b,
  .mkb-membership-plan-list mark {
    grid-column: 2;
    justify-self: start;
    margin-top: 0;
  }

  .mkb-membership-table {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .mkb-membership-row {
    min-width: 680px;
  }

  .mkb-membership-services,
  .mkb-membership-safe {
    margin-inline: 0;
    padding-inline: 0;
  }

  .mkb-membership-safe {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px;
  }

  .mkb-membership-safe small {
    width: 100%;
    margin-left: 0;
  }
}

body.page-template-page-resources {
  --mkb-bg: #ffffff;
  --mkb-max: 1390px;
}

body.page-template-page-resources .mkb-main {
  padding: 0 0 30px;
}

.mkb-resources-page {
  display: grid;
  gap: 22px;
}

.mkb-resources-hero {
  min-height: 214px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 48px;
  padding: 30px 0 24px;
  border-bottom: 1px solid #edf2f0;
  background:
    radial-gradient(circle at 75% 48%, rgba(15, 159, 114, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(247, 252, 250, 0), rgba(241, 250, 247, 0.72));
}

.mkb-resources-hero::before,
.mkb-resources-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mkb-resources-hero::before {
  right: 36px;
  bottom: 8px;
  width: 560px;
  height: 126px;
  border-radius: 50% 50% 0 0;
  background: rgba(15, 159, 114, 0.08);
}

.mkb-resources-hero::after {
  right: 122px;
  top: 24px;
  width: 210px;
  height: 128px;
  opacity: 0.45;
  background-image: radial-gradient(circle, rgba(15, 159, 114, 0.35) 1px, transparent 1.5px);
  background-size: 11px 11px;
}

.mkb-resources-copy {
  position: relative;
  z-index: 1;
}

.mkb-resources-copy h1 {
  margin: 0 0 12px;
  color: var(--mkb-text);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mkb-resources-copy p {
  margin: 0 0 14px;
  color: var(--mkb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.mkb-resources-search {
  width: 455px;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--mkb-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

.mkb-resources-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mkb-text);
  font-size: 14px;
}

.mkb-resources-search button {
  width: 44px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--mkb-green);
  cursor: pointer;
}

.mkb-resources-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 14px;
}

.mkb-resources-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mkb-muted);
  font-size: 13px;
  white-space: nowrap;
}

.mkb-resources-stats i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 14px;
}

.mkb-resources-stats strong {
  color: var(--mkb-text);
  font-size: 15px;
  font-weight: 500;
}

.mkb-resources-stats small {
  color: var(--mkb-muted);
  font-size: 13px;
}

.mkb-resources-visual {
  position: relative;
  z-index: 1;
  height: 176px;
}

.mkb-resource-folder,
.mkb-resource-download {
  position: absolute;
  display: block;
}

.mkb-resource-folder {
  border-radius: 18px 18px 24px 24px;
  background: linear-gradient(135deg, #9be8d0, #48bf98);
  box-shadow: 0 28px 46px rgba(15, 159, 114, 0.22);
}

.mkb-resource-folder::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -20px;
  width: 82px;
  height: 34px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #bff4e4, #63cda8);
}

.mkb-resource-folder.is-back {
  right: 86px;
  top: 4px;
  width: 148px;
  height: 128px;
  opacity: 0.58;
  transform: rotate(7deg);
}

.mkb-resource-folder.is-front {
  right: 112px;
  top: 38px;
  width: 178px;
  height: 124px;
  transform: rotate(-3deg);
}

.mkb-resource-download {
  right: 172px;
  top: 68px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #77cdb1;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.12);
}

.mkb-resource-download .dashicons {
  width: 34px;
  height: 34px;
  font-size: 34px;
}

.mkb-resources-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mkb-resources-tabs > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mkb-resources-tabs button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--mkb-line);
  border-radius: 7px;
  color: var(--mkb-text);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.mkb-resources-tabs button.is-active,
.mkb-resources-tabs button.is-view-active {
  border-color: var(--mkb-green);
  color: #fff;
  background: var(--mkb-green);
  box-shadow: 0 10px 22px rgba(15, 159, 114, 0.16);
}

.mkb-resources-tabs aside {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mkb-resources-tabs aside button:not(:first-child) {
  width: 34px;
  padding: 0;
}

.mkb-resources-layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 278px;
  gap: 26px;
}

.mkb-resources-sidebar,
.mkb-resource-hot,
.mkb-resource-member {
  border: 1px solid var(--mkb-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.04);
}

.mkb-resources-sidebar {
  min-height: 570px;
  padding: 14px 10px 16px;
}

.mkb-resources-sidebar h2,
.mkb-resources-section-head h2,
.mkb-resource-hot h2,
.mkb-resource-member h2 {
  margin: 0;
  color: var(--mkb-text);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mkb-resources-sidebar h2 {
  padding: 0 8px 12px;
}

.mkb-resources-sidebar > a {
  min-height: 36px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 7px;
  color: #657386;
  font-size: 13px;
}

.mkb-resources-sidebar > a.is-active {
  color: var(--mkb-green);
  background: linear-gradient(90deg, rgba(15, 159, 114, 0.14), rgba(15, 159, 114, 0.06));
  box-shadow: inset 2px 0 0 var(--mkb-green);
}

.mkb-resources-sidebar .dashicons {
  width: 17px;
  height: 17px;
  font-size: 17px;
}

.mkb-resources-sidebar strong {
  font-weight: 500;
}

.mkb-resources-sidebar small {
  color: #7b8796;
  font-size: 12px;
}

.mkb-resource-storage {
  margin: 82px 4px 0;
  padding: 16px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eefbf7, #f8fcfb);
}

.mkb-resource-storage strong,
.mkb-resource-storage small {
  display: block;
}

.mkb-resource-storage strong {
  margin-bottom: 6px;
  color: var(--mkb-text);
  font-size: 13px;
  font-weight: 500;
}

.mkb-resource-storage small {
  color: var(--mkb-muted);
  font-size: 12px;
}

.mkb-resource-storage i {
  display: block;
  height: 6px;
  margin: 10px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ece9;
}

.mkb-resource-storage i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--mkb-green);
}

.mkb-resource-storage a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: 1px solid rgba(15, 159, 114, 0.24);
  border-radius: 6px;
  color: #54705f;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.mkb-resources-main,
.mkb-resources-side {
  min-width: 0;
}

.mkb-resources-main {
  display: grid;
  gap: 22px;
}

.mkb-resources-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.mkb-resources-section-head a {
  color: #657386;
  font-size: 13px;
  white-space: nowrap;
}

.mkb-resources-featured > div:last-child {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.mkb-resources-featured article {
  min-height: 144px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid var(--mkb-line);
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f6fbf9);
}

.mkb-resources-featured .dashicons {
  width: 54px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: var(--mkb-green);
  font-size: 30px;
  box-shadow: 0 16px 28px rgba(15, 159, 114, 0.16);
}

.mkb-resources-featured article.is-orange { background: linear-gradient(135deg, #fff, #fff7ea); }
.mkb-resources-featured article.is-purple { background: linear-gradient(135deg, #fff, #f7f2ff); }
.mkb-resources-featured article.is-blue { background: linear-gradient(135deg, #fff, #f1f7ff); }
.mkb-resources-featured article.is-red { background: linear-gradient(135deg, #fff, #fff4f4); }
.mkb-resources-featured article.is-orange .dashicons { background: var(--mkb-orange); }
.mkb-resources-featured article.is-purple .dashicons { background: var(--mkb-purple); }
.mkb-resources-featured article.is-blue .dashicons { background: var(--mkb-blue); }
.mkb-resources-featured article.is-red .dashicons { background: #ff7b83; }

.mkb-resources-featured strong {
  color: var(--mkb-text);
  font-size: 15px;
  font-weight: 600;
}

.mkb-resources-featured small,
.mkb-resources-featured em {
  color: var(--mkb-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.2;
}

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

.mkb-resource-card {
  min-height: 124px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 7px 12px;
  padding: 14px 14px 12px;
  border: 1px solid var(--mkb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.04);
}

.mkb-resource-file {
  width: 32px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  border-radius: 6px;
  color: #fff;
  background: var(--mkb-blue);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.mkb-resource-file.is-red { background: #ef4444; }
.mkb-resource-file.is-green { background: #10b981; }
.mkb-resource-file.is-orange { background: #fb923c; }
.mkb-resource-file.is-purple { background: var(--mkb-purple); }

.mkb-resource-card h3 {
  margin: 0 0 5px;
  color: var(--mkb-text);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.mkb-resource-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.mkb-resource-card p span {
  padding: 2px 6px;
  border-radius: 5px;
  color: #657386;
  background: #f3f6f8;
  font-size: 11px;
}

.mkb-resource-card footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8190a0;
}

.mkb-resource-card footer small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.mkb-resource-card footer .dashicons {
  width: 13px;
  height: 13px;
  font-size: 13px;
}

.mkb-resource-card > a {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  color: var(--mkb-green);
  font-size: 12px;
  font-weight: 500;
}

.mkb-resource-card > a.is-vip {
  color: #d79323;
}

.mkb-resources-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.mkb-resource-hot {
  padding: 16px;
}

.mkb-resource-hot .mkb-resources-section-head {
  margin-bottom: 14px;
}

.mkb-resource-hot article {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 58px;
}

.mkb-resource-hot article > span {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  background: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
}

.mkb-resource-hot article:nth-of-type(1) > span { background: #ff4646; }
.mkb-resource-hot article:nth-of-type(2) > span { background: #ff9f1c; }
.mkb-resource-hot article:nth-of-type(3) > span { background: var(--mkb-green); }

.mkb-resource-hot strong {
  display: block;
  margin-bottom: 6px;
  color: var(--mkb-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.mkb-resource-hot small {
  color: var(--mkb-muted);
  font-size: 12px;
}

.mkb-resource-member {
  position: relative;
  overflow: hidden;
  min-height: 212px;
  padding: 20px 18px 18px;
  background: linear-gradient(135deg, #edf9f5, #ffffff);
}

.mkb-resource-member h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.mkb-resource-member p {
  margin: 0 0 12px;
  color: var(--mkb-muted);
  font-size: 13px;
}

.mkb-resource-member ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mkb-resource-member li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #526071;
  font-size: 12px;
}

.mkb-resource-member li .dashicons {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mkb-green);
  font-size: 12px;
}

.mkb-resource-member-visual {
  position: absolute;
  right: 12px;
  bottom: 58px;
  width: 96px;
  height: 76px;
  pointer-events: none;
}

.mkb-resource-member-visual span {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78px;
  height: 62px;
  border-radius: 9px 9px 13px 13px;
  background: linear-gradient(135deg, #a6ead7, #21b988);
  box-shadow: 0 16px 26px rgba(15, 159, 114, 0.2);
}

.mkb-resource-member-visual span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -12px;
  width: 42px;
  height: 20px;
  border-radius: 9px 9px 0 0;
  background: #c8f6e9;
}

.mkb-resource-member-visual i {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  width: 32px;
  height: 32px;
  color: #f7d58f;
  font-size: 32px;
}

.mkb-resource-member > a {
  position: relative;
  z-index: 1;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  color: #fff;
  background: var(--mkb-green);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 26px rgba(15, 159, 114, 0.18);
}

@media (max-width: 1180px) {
  body.page-template-page-resources .mkb-main {
    padding-inline: 24px;
  }

  .mkb-resources-hero,
  .mkb-resources-layout {
    grid-template-columns: 1fr;
  }

  .mkb-resources-visual {
    display: none;
  }

  .mkb-resources-featured > div:last-child,
  .mkb-resource-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mkb-resources-sidebar {
    min-height: 0;
  }

  .mkb-resource-storage {
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  body.page-template-page-resources .mkb-main {
    padding: 0 16px 28px;
  }

  .mkb-resources-hero {
    min-height: auto;
    padding: 34px 0 26px;
  }

  .mkb-resources-copy h1 {
    font-size: 34px;
  }

  .mkb-resources-copy {
    min-width: 0;
    overflow: hidden;
  }

  .mkb-resources-search {
    width: calc(100vw - 32px);
    max-width: 100%;
    min-width: 0;
  }

  .mkb-resources-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mkb-resources-stats span {
    min-width: 0;
    white-space: normal;
  }

  .mkb-resources-stats small {
    font-size: 12px;
  }

  .mkb-resources-tabs {
    align-items: stretch;
    flex-direction: column;
    overflow: hidden;
  }

  .mkb-resources-tabs > div {
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .mkb-resources-tabs aside {
    flex-wrap: wrap;
  }

  .mkb-resources-tabs > div button {
    flex: 0 0 auto;
  }

  .mkb-resources-featured > div:last-child,
  .mkb-resource-card-grid {
    grid-template-columns: 1fr;
  }

  .mkb-resources-layout {
    gap: 20px;
  }
}

body.page-template-page-about {
  --mkb-bg: #ffffff;
  --mkb-max: 1260px;
}

body.page-template-page-about .mkb-main {
  padding: 0 24px 36px;
}

.mkb-about-page {
  display: grid;
  gap: 28px;
}

.mkb-about-hero {
  min-height: 350px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px 260px;
  align-items: center;
  gap: 32px;
  margin-inline: -24px;
  padding: 42px max(24px, calc((100vw - var(--mkb-max)) / 2 + 24px)) 0;
  border-bottom: 1px solid #edf2f0;
  background:
    radial-gradient(circle at 68% 42%, rgba(15, 159, 114, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff, #f6fbfa);
}

.mkb-about-hero::before,
.mkb-about-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mkb-about-hero::before {
  right: 120px;
  bottom: -88px;
  width: 620px;
  height: 220px;
  border-radius: 50% 50% 0 0;
  background: rgba(15, 159, 114, 0.1);
}

.mkb-about-hero::after {
  left: 50%;
  bottom: 56px;
  width: 140px;
  height: 120px;
  background:
    radial-gradient(circle at 12% 20%, rgba(15, 159, 114, 0.55) 0 5px, transparent 6px),
    radial-gradient(circle at 64% 78%, rgba(15, 159, 114, 0.46) 0 7px, transparent 8px),
    linear-gradient(135deg, transparent 0 44%, rgba(15, 159, 114, 0.16) 44% 48%, transparent 48%);
  transform: rotate(-18deg);
}

.mkb-about-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.mkb-about-hero h1 {
  margin: 0 0 12px;
  color: var(--mkb-text);
  font-size: 44px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mkb-about-hero p {
  margin: 0;
  color: var(--mkb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.mkb-about-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.mkb-about-roles span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #526071;
  font-size: 13px;
}

.mkb-about-roles i {
  width: 16px;
  height: 16px;
  color: #667085;
  font-size: 16px;
}

.mkb-about-socials {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.mkb-about-socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
}

.mkb-about-socials a:nth-child(3),
.mkb-about-socials a:nth-child(4) {
  color: #536273;
  background: #eef3f2;
}

.mkb-about-portrait {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  justify-content: center;
}

.mkb-about-portrait img {
  width: 300px;
  height: 336px;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 24px 32px rgba(17, 24, 39, 0.12));
}

.mkb-about-hero blockquote {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 0;
  padding-top: 20px;
}

.mkb-about-hero blockquote span {
  color: var(--mkb-green);
  font-size: 48px;
  line-height: 0.8;
  font-weight: 600;
}

.mkb-about-hero blockquote span:last-child {
  grid-column: 1;
  margin-top: -6px;
}

.mkb-about-hero blockquote p {
  color: #344054;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.mkb-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 46px;
  align-items: center;
  padding-top: 22px;
}

.mkb-about-story h2,
.mkb-about-timeline h2,
.mkb-about-directions h2,
.mkb-about-principles h2,
.mkb-about-impact h2,
.mkb-about-reviews h2,
.mkb-about-contact h2 {
  margin: 0 0 20px;
  color: var(--mkb-text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mkb-about-story p {
  margin: 0 0 16px;
  color: #526071;
  font-size: 14px;
  line-height: 1.85;
}

.mkb-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mkb-about-stats article {
  min-height: 170px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  padding: 20px 12px;
  border: 1px solid var(--mkb-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.04);
}

.mkb-about-stats .dashicons {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 25px;
}

.mkb-about-stats article.is-orange .dashicons {
  color: var(--mkb-orange);
  background: #fff3e2;
}

.mkb-about-stats article.is-purple .dashicons {
  color: var(--mkb-purple);
  background: #f1edff;
}

.mkb-about-stats strong {
  color: var(--mkb-text);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 500;
}

.mkb-about-stats b {
  color: var(--mkb-text);
  font-size: 14px;
  font-weight: 600;
}

.mkb-about-stats small {
  color: var(--mkb-muted);
  font-size: 12px;
}

.mkb-about-middle {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
}

.mkb-about-timeline,
.mkb-about-directions,
.mkb-about-principles,
.mkb-about-impact,
.mkb-about-reviews,
.mkb-about-contact {
  border: 1px solid var(--mkb-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.04);
}

.mkb-about-timeline,
.mkb-about-directions {
  padding: 28px;
}

.mkb-about-timeline div {
  display: grid;
  grid-template-columns: 94px 22px minmax(0, 1fr);
  gap: 18px;
  position: relative;
  min-height: 82px;
}

.mkb-about-timeline div::before {
  content: "";
  position: absolute;
  left: 104px;
  top: 22px;
  bottom: -16px;
  width: 2px;
  background: #d9e7e3;
}

.mkb-about-timeline div:last-child::before {
  display: none;
}

.mkb-about-timeline time {
  color: #667085;
  font-size: 12px;
  line-height: 22px;
}

.mkb-about-timeline i {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 4px;
  border: 3px solid #6aa99d;
  border-radius: 50%;
  background: #fff;
}

.mkb-about-timeline .is-active i {
  border-color: var(--mkb-green);
  background: var(--mkb-green);
  box-shadow: inset 0 0 0 3px #fff;
}

.mkb-about-timeline strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mkb-text);
  font-size: 14px;
  font-weight: 600;
}

.mkb-about-timeline small {
  display: block;
  color: var(--mkb-muted);
  font-size: 13px;
  line-height: 1.65;
}

.mkb-about-directions > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mkb-about-directions section {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fcfb, #ffffff);
}

.mkb-about-directions .dashicons {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 18px;
}

.mkb-about-directions strong,
.mkb-about-principles strong {
  color: var(--mkb-text);
  font-size: 13px;
  font-weight: 600;
}

.mkb-about-directions small,
.mkb-about-principles small {
  color: var(--mkb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.mkb-about-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1.06fr;
  gap: 12px;
}

.mkb-about-principles,
.mkb-about-impact,
.mkb-about-reviews {
  min-height: 300px;
  padding: 26px;
}

.mkb-about-principles {
  display: grid;
  align-content: start;
  gap: 20px;
}

.mkb-about-principles section {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
}

.mkb-about-principles .dashicons {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 18px;
}

.mkb-about-principles strong,
.mkb-about-principles small {
  display: block;
}

.mkb-about-principles strong {
  margin-bottom: 5px;
}

.mkb-about-impact > div {
  display: grid;
  grid-template-columns: 118px minmax(132px, 1fr);
  gap: 16px;
  align-items: center;
}

.mkb-about-impact p {
  margin: 0 0 22px;
}

.mkb-about-impact p span {
  display: block;
  margin-bottom: 4px;
  color: var(--mkb-muted);
  font-size: 12px;
  white-space: nowrap;
}

.mkb-about-impact p strong {
  color: var(--mkb-text);
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.mkb-about-impact figure {
  width: 144px;
  height: 144px;
  display: grid;
  place-items: center;
  justify-self: center;
  margin: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 70%, transparent 71%),
    conic-gradient(var(--mkb-green) 0 98.6%, #e8f2ee 98.6% 100%);
  box-shadow: inset 0 0 0 10px #fff;
}

.mkb-about-impact figure strong,
.mkb-about-impact figure small {
  grid-column: 1;
  grid-row: 1;
}

.mkb-about-impact figure strong {
  align-self: end;
  color: var(--mkb-green);
  font-size: 24px;
  font-weight: 500;
}

.mkb-about-impact figure small {
  align-self: start;
  margin-top: 74px;
  color: #667085;
  font-size: 12px;
}

.mkb-about-reviews {
  display: grid;
  align-content: start;
  gap: 12px;
}

.mkb-about-reviews section {
  padding: 14px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5fbf9, #ffffff);
}

.mkb-about-reviews p {
  margin: 0 0 10px;
  color: #344054;
  font-size: 13px;
  line-height: 1.55;
}

.mkb-about-reviews small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mkb-muted);
  font-size: 12px;
}

.mkb-about-reviews small i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111827, #7b8796);
}

.mkb-about-reviews a {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mkb-green);
  font-size: 13px;
  font-weight: 500;
}

.mkb-about-contact {
  min-height: 160px;
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) repeat(4, minmax(130px, 1fr));
  align-items: center;
  gap: 0;
  padding: 26px;
  background:
    radial-gradient(circle at 9% 60%, rgba(15, 159, 114, 0.16), transparent 19%),
    linear-gradient(135deg, #f8fcfb, #ffffff);
}

.mkb-about-chat {
  position: relative;
  height: 108px;
}

.mkb-about-chat span {
  position: absolute;
  left: 44px;
  top: 24px;
  width: 82px;
  height: 58px;
  border-radius: 24px 24px 24px 8px;
  background: linear-gradient(135deg, #b5efdc, #34bf91);
  box-shadow: 0 18px 30px rgba(15, 159, 114, 0.2);
}

.mkb-about-chat span::before,
.mkb-about-chat span::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 18px 0 0 rgba(255, 255, 255, 0.92), 36px 0 0 rgba(255, 255, 255, 0.92);
}

.mkb-about-chat span::before {
  left: 18px;
}

.mkb-about-chat span::after {
  left: -38px;
  top: -16px;
  width: 10px;
  height: 18px;
  background: var(--mkb-green);
  box-shadow: 118px 34px 0 rgba(15, 159, 114, 0.4);
  transform: rotate(-28deg);
}

.mkb-about-contact h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.mkb-about-contact p {
  max-width: 310px;
  margin: 0;
  color: var(--mkb-muted);
  font-size: 13px;
  line-height: 1.65;
}

.mkb-about-contact a {
  min-height: 112px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  border-left: 1px solid #edf2f0;
  text-align: center;
}

.mkb-about-contact a .dashicons {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mkb-green);
  background: var(--mkb-green-soft);
  font-size: 20px;
}

.mkb-about-contact a:nth-of-type(2) .dashicons {
  color: #fff;
  background: var(--mkb-green);
}

.mkb-about-contact a:nth-of-type(4) .dashicons {
  color: #64748b;
  background: #eef3f2;
}

.mkb-about-contact strong {
  color: var(--mkb-text);
  font-size: 13px;
  font-weight: 600;
}

.mkb-about-contact small {
  color: var(--mkb-muted);
  font-size: 12px;
}

@media (min-width: 901px) and (max-width: 1080px) {
  body.page-template-page-about .mkb-topbar {
    grid-template-columns: auto 1fr minmax(220px, 260px) auto;
    gap: 16px;
    padding: 0 24px;
  }

  body.page-template-page-about .mkb-nav {
    display: flex;
    gap: 18px;
  }

  body.page-template-page-about .mkb-search {
    min-width: 0;
  }

  body.page-template-page-about .mkb-auth-actions {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .mkb-about-hero,
  .mkb-about-intro,
  .mkb-about-middle,
  .mkb-about-bottom,
  .mkb-about-contact {
    grid-template-columns: 1fr;
  }

  .mkb-about-hero {
    padding-top: 36px;
  }

  .mkb-about-hero blockquote {
    max-width: 360px;
    padding-bottom: 28px;
  }

  .mkb-about-portrait {
    justify-content: start;
  }

  .mkb-about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mkb-about-contact a {
    border-left: 0;
    border-top: 1px solid #edf2f0;
  }
}

@media (max-width: 720px) {
  body.page-template-page-about .mkb-main {
    padding-inline: 16px;
  }

  .mkb-about-page {
    gap: 20px;
  }

  .mkb-about-hero {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .mkb-about-hero h1 {
    font-size: 38px;
  }

  .mkb-about-roles {
    gap: 12px;
  }

  .mkb-about-socials {
    gap: 10px;
  }

  .mkb-about-portrait img {
    width: 250px;
    height: 282px;
  }

  .mkb-about-stats,
  .mkb-about-directions > div {
    grid-template-columns: 1fr;
  }

  .mkb-about-timeline,
  .mkb-about-directions,
  .mkb-about-principles,
  .mkb-about-impact,
  .mkb-about-reviews,
  .mkb-about-contact {
    padding: 20px;
  }

  .mkb-about-timeline div {
    grid-template-columns: 76px 20px minmax(0, 1fr);
    gap: 12px;
  }

  .mkb-about-timeline div::before {
    left: 85px;
  }

  .mkb-about-impact > div {
    grid-template-columns: 1fr;
  }
}


