:root {
  --primary: #FF3A0F;
  --primary-hover: #FF3A0F;
  --accent-light: #FF3A0F;
  --bg-tint: #FFF0ED;
  --dark: #141517;
  --ink: #141517;
  --muted: #5d6370;
  --soft: #F9F9FB;
  --line: #E9E9EF;
  --white: #FFFFFF;
  --shadow: 0 24px 70px rgba(255, 58, 15, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

body.single-post {
  margin: 0;
  padding: 0;
  background: var(--white);
}

.makzz-blog-page,
.makzz-blog-page * {
  box-sizing: border-box;
}

.makzz-blog-page {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--soft), var(--white) 34%);
  line-height: 1.6;
}

.makzz-blog-page img {
  display: block;
  max-width: 100%;
}

.makzz-blog-page a {
  color: inherit;
  text-decoration: none;
}

.makzz-blog-page button,
.makzz-blog-page input,
.makzz-blog-page select,
.makzz-blog-page textarea {
  font: inherit;
}

.makzz-container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.makzz-blog-page h1,
.makzz-blog-page h2,
.makzz-blog-page h3,
.makzz-blog-page h4 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

.makzz-blog-page p {
  margin: 0;
  color: var(--muted);
}

.makzz-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.makzz-btn {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 8px;
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  box-shadow: 0 16px 34px rgba(255, 58, 15, .25);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}

.makzz-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 44px rgba(255, 58, 15, .34);
}

.makzz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.makzz-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(255, 58, 15, .12);
}

.blog-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 10px;
  background: transparent;
}

.nav {
  height: 55px;
  width: min(100% - 96px, 980px);
  display: grid;
  grid-template-columns: 60px minmax(430px, 1fr) 128px;
  align-items: center;
  gap: 14px;
  padding: 8px 12px 8px 18px;
  border: 1px solid rgba(20,21,23,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 32px rgba(20,21,23,.15);
  backdrop-filter: blur(18px);
}

.makzz-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 19px;
  font-weight: 780;
  color: var(--dark);
}

.brand-logo {
  height: 35px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links,
.nav-links ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  background: transparent;
}

.nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: #141517;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 999px;
  transition: color .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after {
  transform: scaleX(1);
}

.nav-reach {
  height: 34px;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #141517;
  color: var(--white) !important;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  justify-self: end;
  align-self: center;
}

.nav-reach:hover {
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(255,58,15,.22);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-items: center;
  place-items: center;
  padding: 0;
  line-height: 1;
}

.blog-hero {
  padding: 132px 0 56px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255,58,15,.12), transparent 28%),
    linear-gradient(180deg, #FFFFFF, var(--soft));
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.blog-breadcrumb a:hover {
  color: var(--primary);
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255,58,15,.1);
  border: 1px solid rgba(255,58,15,.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-hero h1 {
  max-width: 930px;
  font-size: clamp(38px, 5.3vw, 66px);
  font-weight: 760;
  line-height: 1.06;
}

.blog-excerpt {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #434853;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.blog-hero-card,
.blog-side-box,
.blog-author-box,
.related-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(20,21,23,.06);
}

.blog-hero-card {
  padding: 24px;
}

.blog-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-hero-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.blog-featured {
  padding: 0 0 42px;
  background: var(--soft);
}

.blog-featured-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(20,21,23,.08);
  background: var(--dark);
  box-shadow: 0 30px 80px rgba(20,21,23,.13);
}

.blog-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.blog-body-section {
  padding: 58px 0 48px;
  background: var(--white);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.single-blog-content {
  min-width: 0;
  color: #424854;
  font-size: 17px;
  line-height: 1.85;
}

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

.single-blog-content p,
.single-blog-content li {
  color: #424854;
}

.single-blog-content p,
.single-blog-content ul,
.single-blog-content ol,
.single-blog-content blockquote,
.single-blog-content table,
.single-blog-content .wp-block-image {
  margin-top: 0;
  margin-bottom: 22px;
}

.single-blog-content h2 {
  margin: 46px 0 16px;
  color: var(--ink);
  font-size: clamp(29px, 3.1vw, 42px);
  font-weight: 720;
}

.single-blog-content h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
}

.single-blog-content h4 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.single-blog-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.single-blog-content ul,
.single-blog-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.single-blog-content li + li {
  margin-top: 8px;
}

.single-blog-content img,
.single-blog-content .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-blog-content blockquote {
  padding: 22px 24px;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
}

.single-blog-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.single-blog-content th,
.single-blog-content td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.single-blog-content th {
  color: var(--ink);
  background: var(--soft);
}

.blog-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.blog-side-box {
  padding: 22px;
}

.blog-side-box h2 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 760;
}

.blog-toc {
  display: grid;
  gap: 6px;
}

.blog-toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #4b505b;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  transition: color .2s ease, background .2s ease;
}

.blog-toc .toc-title {
  margin-bottom: 6px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--soft);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.blog-toc .toc-h2 {
  border-left: 2px solid transparent;
}

.blog-toc a:hover,
.blog-toc a.active {
  color: var(--primary);
  background: rgba(255,58,15,.08);
}

.blog-toc .toc-h2:hover,
.blog-toc .toc-h2.active {
  border-left-color: var(--primary);
}

.recent-post-link {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.recent-post-link:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.recent-post-link span,
.related-date {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.recent-post-link strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.recent-post-link:hover strong {
  color: var(--primary);
}

.blog-cta-box {
  background:
    radial-gradient(circle at 86% 18%, rgba(255,58,15,.18), transparent 32%),
    linear-gradient(135deg, #111214, #18191C 62%, #24160F);
}

.blog-cta-box h2,
.blog-cta-box p {
  color: var(--white);
}

.blog-cta-box p {
  margin: 12px 0 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.blog-after-content {
  padding: 0 0 64px;
  background: var(--white);
}

.blog-after-content .makzz-container {
  display: grid;
  gap: 24px;
}

.blog-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-tags-row span {
  color: var(--ink);
  font-weight: 800;
}

.blog-tags-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags-row a {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255,58,15,.1);
  font-size: 12px;
  font-weight: 700;
}

.blog-author-box {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.blog-author-box img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
}

.blog-author-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.blog-author-box strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
}

.blog-author-box p {
  margin-top: 5px;
  font-size: 13px;
}

.related-posts-block {
  margin-top: 22px;
}

.section-head {
  max-width: 740px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(30px, 3vw, 42px);
}

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

.related-card {
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,58,15,.45);
  box-shadow: 0 20px 52px rgba(255,58,15,.12);
}

.related-thumb {
  display: block;
  height: 180px;
  overflow: hidden;
  background: var(--soft);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card .related-date,
.related-card strong {
  display: block;
  padding-inline: 16px;
}

.related-card .related-date {
  padding-top: 15px;
}

.related-card strong {
  padding-top: 7px;
  padding-bottom: 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.blog-footer {
  color: rgba(255,255,255,.76);
  background: #1A1A1A;
  padding: 70px 0 28px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr 1.15fr;
  gap: 38px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-brand p,
.footer-col p {
  color: var(--white);
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-col h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 17px;
}

.footer-col a {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 1.55;
  transition: color .25s ease;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 12px;
}

.footer-bottom p {
  color: rgba(255,255,255,.5);
}

@media (max-width: 1200px) {
  .nav {
    width: min(calc(100% - 40px), 1040px);
    grid-template-columns: 128px minmax(0, 1fr) 118px;
  }

  .nav-links,
  .nav-links ul {
    gap: clamp(18px, 3vw, 38px);
  }
}

@media (max-width: 980px) {
  .makzz-container {
    width: min(100% - 32px, 1320px);
  }

  .blog-site-header {
    padding-top: 8px;
  }

  .nav {
    width: min(calc(100% - 28px), 720px);
    height: auto;
    min-height: 56px;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px 8px 14px;
  }

  .brand-logo {
    max-width: min(150px, 48vw);
    height: auto;
    max-height: 38px;
  }

  .nav-links,
  .nav > .nav-reach {
    display: none;
  }

  .menu-btn {
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink) !important;
  }

  .nav-links.open {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 76px;
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(20,21,23,.14);
  }

  .nav-links.open li {
    display: block;
  }

  .nav-links.open a {
    display: block;
    width: 100%;
    padding: 10px 12px;
  }

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

  .blog-hero {
    padding-top: 112px;
  }

  .blog-sidebar {
    position: static;
  }

  .related-posts-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .makzz-container {
    width: min(100% - 28px, 1320px);
  }

  .blog-hero {
    padding: 100px 0 42px;
  }

  .blog-hero h1 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .blog-meta span {
    min-height: 30px;
    font-size: 11px;
  }

  .blog-body-section {
    padding-top: 44px;
  }

  .single-blog-content {
    font-size: 16px;
    line-height: 1.75;
  }

  .blog-author-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-posts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .makzz-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .makzz-container {
    width: min(100% - 24px, 1320px);
  }

  .nav {
    width: calc(100% - 18px);
    border-radius: 18px;
  }

  .nav-links.open {
    left: 9px;
    right: 9px;
    top: 72px;
  }

  .blog-hero-card,
  .blog-side-box,
  .blog-author-box {
    padding: 20px;
  }

  .single-blog-content table {
    display: block;
    overflow-x: auto;
  }
}
.makzz-socials { display: flex; gap: 10px; margin-top: 20px; }
.makzz-socials a { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); transition: all .25s ease; }
.makzz-socials img, .makzz-socials svg { width: 18px; height: 18px; object-fit: contain; display: block; }
.makzz-socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
