:root {
  --jb-theme-font: Inter, sans-serif;
  --jb-theme-bg: #f8fafc;
  --jb-theme-surface: #ffffff;
  --jb-theme-text: #0f172a;
  --jb-theme-muted: #64748b;
  --jb-theme-line: #e2e8f0;
  --jb-theme-primary: #2563eb;
  --jb-theme-primary-dark: #1d4ed8;
  --jb-theme-wrap: 1160px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.jb-theme-site {
  margin: 0;
  font-family: var(--jb-theme-font);
  font-size: 14px;
  color: var(--jb-theme-text);
  background: var(--jb-theme-bg);
}

.jb-theme-site input,
.jb-theme-site select,
.jb-theme-site textarea,
.jb-theme-site button {
  font-family: inherit;
}

body.jb-theme-nav-open {
  overflow: hidden;
}

.jb-theme-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.jb-theme-wrap {
  width: min(var(--jb-theme-wrap), calc(100% - 32px));
  margin: 0 auto;
}

.jb-theme-main {
  flex: 1;
  padding: 0px 0 40px;
}

.jb-theme-header {
  background: var(--jb-theme-surface);
  border-bottom: 1px solid var(--jb-theme-line);
  z-index: 30;
}

.jb-theme-header-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.jb-theme-branding img {
  max-height: 35px;
  width: auto;
}

.jb-theme-site-title {
  color: var(--jb-theme-text);
  text-decoration: none;
  font-size: 26px;
  font-weight: 800;
}

.jb-theme-nav {
  display: none;
}

.jb-theme-header-search {
  flex: 0 0 380px;
  max-width: 380px;
}

.jb-theme-header-search .jb-suite-job-search-form {
  margin: 0;
}

.jb-theme-mobile-icons {
  display: none;
}

.jb-theme-header-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.jb-theme-desktop-nav .jb-theme-menu {
  gap: 16px;
}

.jb-theme-post-btn {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 16px;
  background: #0056d2;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jb-theme-post-btn:hover {
  color: #ffffff;
  background: #0a65cc;
}

.jb-theme-login-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #0056d2;
}

.jb-theme-login-link:hover {
  color: #0a65cc;
  text-decoration:underline;
}

.jb-theme-account {
  position: relative;
}

.jb-theme-account-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jb-theme-account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
}

.jb-theme-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  background: #ffffff;
  border: 1px solid var(--jb-theme-line);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  z-index: 120;
}

.jb-theme-account-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--jb-theme-line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.jb-theme-account-meta strong {
  display: block;
  color: #111827;
  font-size: 14px;
  line-height: 1.3;
}

.jb-theme-account-meta span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

.jb-theme-account-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.jb-theme-account-menu li {
  margin: 0;
}

.jb-theme-account-menu a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.jb-theme-account-menu a:hover {
  background: #f8fafc;
  color: #0056d2;
}

.jb-theme-mobile-nav-head,
.jb-theme-mobile-actions,
.jb-theme-nav-overlay {
  display: none;
}

.jb-theme-menu,
.jb-theme-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.jb-theme-menu-mobile {
  display: none;
}

.jb-theme-menu > li {
  position: relative;
}

.jb-theme-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.jb-theme-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jb-theme-submenu-toggle {
  display: none;
}

@media (min-width: 901px) {
  .jb-theme-menu-mobile {
    display: none !important;
  }

  .jb-theme-menu > li.menu-item-has-children > a {
    padding-right: 18px;
  }

  .jb-theme-menu > li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -2px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: .7;
  }

  .jb-theme-menu > li > .sub-menu {
    position: fixed;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--jb-theme-wrap), calc(100% - 32px));
    background: #ffffff;
    border: 1px solid var(--jb-theme-line);
    border-top: 0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border-radius: 0 0 10px 10px;
    padding: 24px 28px;
    z-index: 60;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }

  .jb-theme-menu > li:hover > .sub-menu,
  .jb-theme-menu > li:focus-within > .sub-menu {
    display: grid;
  }

  .jb-theme-menu > li > .sub-menu > li > a {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  .jb-theme-menu > li > .sub-menu > li > .sub-menu {
    display: grid;
    gap: 8px;
  }

  .jb-theme-menu > li > .sub-menu > li > .sub-menu a {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.35;
  }

  .jb-theme-menu > li > .sub-menu > li > .sub-menu a:hover {
    color: #0056d2;
  }
}

.jb-theme-menu a,
.jb-theme-footer-menu a {
  text-decoration: none;
  color: var(--jb-theme-text);
  font-weight: 600;
}

.jb-theme-menu a:hover,
.jb-theme-footer-menu a:hover {
  color: var(--jb-theme-primary-dark);
}

.jb-theme-nav-toggle {
  display: none;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: #667085;
  cursor: pointer;
}

.jb-theme-nav-toggle span {
  display: block;
  width: 16px;
  height: 1.8px;
  background: currentColor;
}

.jb-theme-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.jb-theme-blog-listing {
  padding: 26px 0 8px;
}

.jb-theme-blog-header {
  margin: 0 0 20px;
}

.jb-theme-blog-header .jb-theme-entry-title {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 600;
}

.jb-theme-blog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.jb-theme-blog-card {
  margin: 0;
}

.jb-theme-blog-thumb {
  display: block;
  margin-bottom: 16px;
}

.jb-theme-blog-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.jb-theme-blog-card .jb-theme-entry-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.jb-theme-blog-card .jb-theme-entry-title a {
  color: #0f172a;
  text-decoration: none;
}

.jb-theme-blog-card .jb-theme-entry-title a:hover {
  color: #1d4ed8;
}

.jb-theme-blog-card .jb-theme-entry-meta {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

.jb-theme-single-post-header {
  margin-bottom: 14px;
}

.jb-theme-single-post .jb-theme-entry-title {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.14;
}

.jb-theme-single-post-thumb {
  margin: 0 0 18px;
}

.jb-theme-single-post-thumb img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.jb-theme-post-nav {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--jb-theme-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.jb-theme-post-nav a {
  color: #0056d2;
  text-decoration: none;
  font-weight: 600;
}

.jb-theme-post-nav a:hover {
  color: #0a65cc;
  text-decoration: underline;
}

.jb-theme-share {
  margin-top: 18px;
}

.jb-theme-share-label {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.jb-theme-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jb-theme-share-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.jb-theme-share-link:hover {
  border-color: #0056d2;
  color: #0056d2;
  text-decoration: none;
}

.jb-theme-share-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.jb-theme-share-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.jb-theme-comments-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--jb-theme-line);
}

.jb-theme-comments-nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jb-theme-comments-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}

.jb-theme-comments-nav .page-numbers.current {
  border-color: #0056d2;
  color: #0056d2;
  font-weight: 700;
}

.jb-theme-comments-nav .page-numbers:hover {
  border-color: #0056d2;
  color: #0056d2;
}

.jb-theme-comments-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
}

.jb-theme-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jb-theme-comment-list li {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--jb-theme-line);
  border-radius: 10px;
  background: #ffffff;
}

.jb-theme-comments .comment-body {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
}

.jb-theme-comments .comment-avatar {
  grid-column: 1;
  grid-row: 1;
}

.jb-theme-comments .comment-avatar .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  flex: 0 0 40px;
}

.jb-theme-comments .comment-main {
  grid-column: 2;
  min-width: 0;
}

.jb-theme-comments .comment-author {
  display: block;
  margin: 0;
}

.jb-theme-comments .comment-author .fn {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.jb-theme-comments .comment-author .fn:hover {
  color: #0056d2;
  text-decoration: none;
}

.jb-theme-comments .comment-metadata {
  margin: 0 0 8px;
}

.jb-theme-comments .comment-metadata,
.jb-theme-comments .comment-metadata time {
  color: #64748b;
  font-size: 13px;
}

.jb-theme-comments .says {
  display: none;
}

.jb-theme-comments .comment-meta {
  margin-bottom: 8px;
  font-size: 13px;
  color: #64748b;
}

.jb-theme-comments .comment-content {
  color: #0f172a;
  line-height: 1.6;
  margin: 10px 0 0;
}

.jb-theme-comments .comment-content p:last-child {
  margin-bottom: 0;
}

.jb-theme-comments .reply,
.jb-theme-comments .comment-edit-link {
  margin-top: 10px;
}

.jb-theme-comments .comment-edit-link {
  display: none !important;
}

.jb-theme-comments .reply a,
.jb-theme-comments .comment-edit-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #0056d2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.jb-theme-comments .reply a:hover,
.jb-theme-comments .comment-edit-link:hover {
  color: #0a65cc;
  text-decoration: underline;
}

.jb-theme-comments .comment-respond {
  margin-top: 16px;
  border: 1px solid var(--jb-theme-line);
  border-radius: 10px;
  padding: 14px;
  background: #ffffff;
}

.jb-theme-comments .comment-reply-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  color: #0f172a;
}

.jb-theme-comments .comment-reply-title a {
  color: #0056d2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
}

.jb-theme-comments .comment-reply-title a:hover {
  color: #0a65cc;
  text-decoration: underline;
}

.jb-theme-comments .logged-in-as,
.jb-theme-comments .comment-notes {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 14px;
}

.jb-theme-comments .logged-in-as a,
.jb-theme-comments .comment-notes a {
  color: #0056d2;
  text-decoration: none;
}

.jb-theme-comments .logged-in-as a:hover,
.jb-theme-comments .comment-notes a:hover {
  color: #0a65cc;
  text-decoration: underline;
}

.jb-theme-comments .comment-form {
  display: grid;
  gap: 12px;
}

.jb-theme-comments .comment-form-comment,
.jb-theme-comments .comment-form-author,
.jb-theme-comments .comment-form-email,
.jb-theme-comments .comment-form-url {
  margin: 0;
}

.jb-theme-comments .comment-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.jb-theme-comments textarea,
.jb-theme-comments input[type="text"],
.jb-theme-comments input[type="email"],
.jb-theme-comments input[type="url"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  box-sizing: border-box;
}

.jb-theme-comments textarea {
  min-height: 120px;
  resize: vertical;
}

.jb-theme-comments textarea:focus,
.jb-theme-comments input[type="text"]:focus,
.jb-theme-comments input[type="email"]:focus,
.jb-theme-comments input[type="url"]:focus {
  outline: 0;
  border-color: #2563eb;
}

.jb-theme-comments .form-submit {
  margin: 0;
}

.jb-theme-comments .submit {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #0056d2;
  color: #ffffff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.jb-theme-comments .submit:hover {
  background: #0a65cc;
}

@media (max-width: 700px) {
  .jb-theme-comments-wrap {
    margin-top: 16px;
    padding-top: 14px;
  }

  .jb-theme-comments-title {
    font-size: 28px;
  }

  .jb-theme-comment-list li {
    padding: 10px;
  }

  .jb-theme-comments .comment-body {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0 10px;
  }

  .jb-theme-comments .comment-avatar .avatar {
    width: 34px;
    height: 34px;
  }

  .jb-theme-comments .comment-author .fn {
    font-size: 14px;
  }

  .jb-theme-comments .comment-metadata,
  .jb-theme-comments .comment-metadata time {
    font-size: 12px;
  }

  .jb-theme-comments .reply a,
  .jb-theme-comments .comment-edit-link {
    min-height: 28px;
    font-size: 12px;
  }

  .jb-theme-comments .comment-respond {
    padding: 12px;
  }
}

.jb-theme-page-wrap {
  width: min(var(--jb-theme-wrap), calc(100% - 32px));
  margin: 0 auto;
}

.jb-theme-404 {
  padding: 40px 0 56px;
}

.jb-theme-404-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.jb-theme-404-code {
  margin: 0 0 10px;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.jb-theme-404-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a;
}

.jb-theme-404-text {
  margin: 0 auto;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
}

.jb-theme-404-actions {
  margin-top: 22px;
}

.jb-theme-article + .jb-theme-article {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--jb-theme-line);
}

.jb-theme-entry-title {
  margin: 0 0 10px;
  line-height: 1.25;
}

.jb-theme-article .jb-theme-entry-title {
  font-size: 1.5rem;
}

.jb-theme-article h2.jb-theme-entry-title {
  font-size: 1.25rem;
}

.jb-theme-entry-title a {
  color: var(--jb-theme-text);
  text-decoration: none;
}

.jb-theme-entry-title a:hover {
  color: var(--jb-theme-primary-dark);
}

.jb-theme-entry-meta {
  color: var(--jb-theme-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.jb-theme-entry-excerpt,
.jb-theme-entry-content {
  line-height: 1.7;
}

.jb-theme-entry-content img {
  max-width: 100%;
  height: auto;
}

.jb-theme-pagination {
  margin-top: 18px;
}

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

.jb-theme-pagination .page-numbers {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--jb-theme-line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--jb-theme-text);
  padding: 0 10px;
}

.jb-theme-pagination .page-numbers.current {
  background: var(--jb-theme-primary);
  border-color: var(--jb-theme-primary);
  color: #fff;
}

.jb-theme-widget + .jb-theme-widget {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--jb-theme-line);
}

.jb-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--jb-theme-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.jb-theme-btn:hover {
  background: var(--jb-theme-primary-dark);
  color: #fff;
}

.jb-theme-footer {
  margin-top: auto;
  background: #000000;
}

.jb-theme-footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  padding: 52px 0 44px;
  border-bottom: 1px solid #1b1f2a;
}

.jb-theme-footer-widget-col .widget {
  margin: 0;
}

.jb-theme-footer-widget-col .widget-title,
.jb-theme-footer-widget-col h1,
.jb-theme-footer-widget-col h2,
.jb-theme-footer-widget-col h3,
.jb-theme-footer-widget-col h4,
.jb-theme-footer-widget-col h5,
.jb-theme-footer-widget-col h6 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.25;
}

.jb-theme-footer-widget-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jb-theme-footer-widget-col li {
  margin: 0 0 6px;
}

.jb-theme-footer-widget-col p,
.jb-theme-footer-widget-col a {
  margin: 0;
  color: #78809c;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.jb-theme-footer-widget-col a:hover {
  color: #0056d2;
}

.jb-theme-footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.jb-theme-copy {
  margin: 0;
  color: #78809c;
  font-size: 14px;
  line-height: 1.3;
}

.jb-theme-social-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.jb-theme-social-menu li {
  margin: 0;
}

.jb-theme-social-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #78809c;
  text-decoration: none;
}

.jb-theme-social-menu a:hover {
  color: #0056d2;
}

.jb-theme-social-menu svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .jb-theme-content-grid {
    grid-template-columns: 1fr;
  }

  .jb-theme-blog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jb-theme-blog-header .jb-theme-entry-title {
    font-size: 32px;
  }

  .jb-theme-blog-card .jb-theme-entry-title {
    font-size: 17px;
  }
}

@media (max-width: 700px) {
  .jb-theme-single-post .jb-theme-entry-title {
    font-size: 34px;
  }

  .jb-theme-post-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .jb-theme-share-label {
    font-size: 22px;
  }

  .jb-theme-share-link {
    min-height: 38px;
    font-size: 15px;
  }

  .jb-theme-blog-listing {
    padding-top: 20px;
  }

  .jb-theme-blog-header .jb-theme-entry-title {
    font-size: 28px;
  }

  .jb-theme-blog-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .jb-theme-blog-card .jb-theme-entry-title {
    font-size: 16px;
  }

  .jb-theme-blog-card .jb-theme-entry-meta {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  .jb-theme-404 {
    padding: 28px 0 42px;
  }

  .jb-theme-404-text {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .jb-theme-header-inner {
    min-height: 40px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .jb-theme-header-right {
    display: none;
  }

  .jb-theme-header-search {
    order: 3;
    margin-left: auto;
    flex: 0 0 24px;
    width: 24px;
    max-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .jb-theme-branding img {
    max-height: 34px;
  }

  .jb-theme-nav-toggle {
    display: inline-flex;
    order: 1;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
  }

  .jb-theme-branding {
    order: 2;
    margin-right: auto;
    min-width: 0;
    flex: 0 1 auto;
  }

  .jb-theme-mobile-icons {
    order: 4;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
  }

  .jb-theme-mobile-account-link {
    width: 30px;
    height: 30px;
    color: #667085;
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .jb-theme-mobile-account-link--user {
    display: none;
  }

  .logged-in .jb-theme-mobile-account-link--user {
    display: inline-flex;
  }

  .logged-in .jb-theme-mobile-account-link--guest {
    display: none;
  }

  .jb-theme-mobile-account-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  .jb-theme-menu-primary {
    display: none !important;
  }

  .jb-theme-menu-mobile {
    display: flex;
  }

  .jb-theme-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 80;
    display: none;
  }

  .jb-theme-nav-overlay.is-open {
    display: block;
  }

  .jb-theme-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 90;
    display: flex;
    flex-direction: column;
    transform: translateX(-102%);
    transition: transform .22s ease;
    border-right: 1px solid var(--jb-theme-line);
  }

  .jb-theme-nav.is-open {
    transform: translateX(0);
  }

  .jb-theme-mobile-nav-head {
    min-height: 56px;
    border-bottom: 1px solid var(--jb-theme-line);
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .jb-theme-mobile-nav-brand {
    max-width: 190px;
    overflow: hidden;
  }

  .jb-theme-mobile-nav-brand img {
    max-height: 28px;
    width: auto;
  }

  .jb-theme-mobile-close {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 24px;
    line-height: 1;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .jb-theme-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    overflow-y: auto;
  }

  .jb-theme-menu > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
  }

  .jb-theme-menu .menu-item-has-children {
    position: relative;
  }

  .jb-theme-submenu-toggle {
    display: inline-flex;
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #111827;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    align-items: center;
  }

  .jb-theme-menu .sub-menu {
    display: none !important;
  }

  .jb-theme-mobile-subpanel {
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 5;
    display: none;
    flex-direction: column;
  }

  .jb-theme-mobile-subpanel.is-open {
    display: flex;
  }

  .jb-theme-mobile-subpanel-head {
    min-height: 48px;
    border-bottom: 1px solid var(--jb-theme-line);
    background: #f1f5f9;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .jb-theme-mobile-subpanel-back,
  .jb-theme-mobile-subpanel-close {
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .jb-theme-mobile-subpanel-back::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-right: 8px;
    margin-top: -1px;
  }

  .jb-theme-mobile-subpanel-close {
    font-size: 24px;
    color: #64748b;
  }

  .jb-theme-mobile-subpanel-body {
    padding: 14px;
    overflow-y: auto;
  }

  .jb-theme-mobile-subpanel-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 16px;
    line-height: 1.25;
  }

  .jb-theme-mobile-subpanel-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .jb-theme-mobile-subpanel-list li {
    margin: 0;
  }

  .jb-theme-mobile-subpanel-link,
  .jb-theme-mobile-subpanel-next {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    border: 0;
    background: transparent;
    width: 100%;
    padding: 0;
    cursor: pointer;
  }

  .jb-theme-mobile-subpanel-link:hover,
  .jb-theme-mobile-subpanel-next:hover {
    color: #0056d2;
  }

  .jb-theme-mobile-subpanel-next::after {
    content: "";
    width: 5px;
    height: 5px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-right: 2px;
    flex: 0 0 auto;
  }

  .jb-theme-mobile-actions {
    margin-top: auto;
    border-top: 1px solid var(--jb-theme-line);
    padding: 12px 10px;
    display: grid;
    gap: 8px;
    background: #ffffff;
  }

  .jb-theme-mobile-account-menu-wrap {
    border-top: 1px solid var(--jb-theme-line);
    padding: 8px 0 6px;
  }

  .jb-theme-mobile-account-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .jb-theme-mobile-account-menu li {
    margin: 0;
  }

  .jb-theme-mobile-account-menu a {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
  }

  .jb-theme-mobile-account-menu a:hover {
    color: #0056d2;
    background: #f8fafc;
  }

  .jb-theme-mobile-post,
  .jb-theme-mobile-login {
    min-height: 40px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
  }

  .jb-theme-mobile-post {
    background: #0056d2;
    border: 1px solid #0056d2;
    color: #ffffff;
  }

  .jb-theme-mobile-login {
    border: 1px solid #0056d2;
    color: #0056d2;
    background: #ffffff;
  }

  .jb-theme-footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 16px 0 18px;
  }

  .jb-theme-footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 28px 0 24px;
  }

  .jb-theme-social-nav {
    width: 100%;
  }

  .jb-theme-social-menu {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .jb-theme-wrap {
    width: min(var(--jb-theme-wrap), calc(100% - 20px));
  }

  .jb-theme-main {
    padding: 0px 0 28px;
  }

  .jb-theme-branding img {
    max-height: 25px;
    margin-top: 3px;
  }

  .jb-theme-footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 0 14px 15px;
  }

  .jb-theme-entry-title {
    font-size: 1.5rem;
  }

  .jb-theme-footer-widget-col .widget-title,
  .jb-theme-footer-widget-col h1,
  .jb-theme-footer-widget-col h2,
  .jb-theme-footer-widget-col h3,
  .jb-theme-footer-widget-col h4,
  .jb-theme-footer-widget-col h5,
  .jb-theme-footer-widget-col h6 {
    font-size: 16px;
    margin: 0 0 6px;
  }

  .jb-theme-footer-widget-col p,
  .jb-theme-footer-widget-col a {
    font-size: 14px;
    line-height: 1.3;
  }

  .jb-theme-footer-inner {
    min-height: 56px;
    align-items: center;
    padding: 12px 0 16px;
  }

  .jb-theme-copy {
    font-size: 14px;
    text-align: center;
  }

  .jb-theme-social-menu {
    justify-content: center;
    gap: 12px;
  }

  .jb-theme-social-menu svg {
    width: 16px;
    height: 16px;
  }
}
