@charset "utf-8";
/*!
Theme Name: seotoolkingblog
Theme URI: http://underscores.me/
Author: Tinaicon
Author URI: http://seotoolking.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: https//www.seotoolking.com
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
 */
/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f0f2f7;
  color: #1e293b;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --navy:        #0c1a35;
  --navy-mid:    #152848;
  --navy-light:  #1e3a5f;
  --orange:      #f97316;
  --orange-dark: #ea6500;
  --orange-pale: #fff3e8;
  --orange-glow: rgba(249,115,22,0.15);
  --blue:        #2563eb;
  --blue-pale:   #eff6ff;
  --green:       #059669;
  --green-pale:  #ecfdf5;
  --violet:      #7c3aed;
  --violet-pale: #f5f3ff;
  --amber:       #b45309;
  --amber-pale:  #fef3c7;
  --sky:         #0284c7;
  --sky-pale:    #e0f2fe;
  --bg:          #f0f2f7;
  --card:        #ffffff;
  --border:      #e2e8f0;
  --border-mid:  #cbd5e1;
  --text:        #1e293b;
  --text-mid:    #475569;
  --text-muted:  #94a3b8;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   22px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 8px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.16);
}

/* =============================================
   SKIP LINK (accessibility)
   ============================================= */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 10px 20px;
  font-weight: 700; z-index: 10000;
}
.skip-link:focus { left: 0; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--navy);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar-left {
  display: flex; align-items: center; gap: 20px;
}
.top-bar-left a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  transition: color .15s;
  display: flex; align-items: center; gap: 6px;
}
.top-bar-left a:hover { color: var(--orange); }
.top-bar-left a svg { width: 13px; height: 13px; stroke: currentColor; }
.top-bar-right {
  display: flex; align-items: center; gap: 14px;
}
.top-bar-right a {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color .15s;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
}
.top-bar-right a:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.top-bar-right a.cta-link {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.top-bar-right a.cta-link:hover { background: var(--orange-dark); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1260px; margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex; align-items: center;
  gap: 28px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 11px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.25);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  color: #fff;
}
.logo-wordmark em { font-style: normal; color: var(--orange); }
.logo-wordmark small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Primary Nav */
.primary-nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
}
.primary-nav > a,
.nav-item > .nav-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.7);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: all .18s;
  white-space: nowrap;
  position: relative;
}
.primary-nav > a:hover,
.nav-item > .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.primary-nav > a.active,
.nav-item > .nav-link.active { color: var(--orange); background: var(--orange-glow); }
.nav-arrow {
  width: 12px; height: 12px; stroke: currentColor;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-item { position: relative; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }
.nav-item:hover .nav-link { color: #fff; background: rgba(255,255,255,.08); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  padding: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s, transform .18s;
  z-index: 200;top:40px
}
.nav-item:hover .nav-dropdown {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 9px 14px;
  font-size: 13px; color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all .15s;
}
.nav-dropdown a:hover { color: var(--orange); background: var(--orange-pale); }

/* Header Search */
.header-search-wrap {
  display: flex; align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  gap: 8px;
  height: 40px;
  width: 230px;
  transition: all .2s;position:relative;
  flex-shrink: 0;
}
.header-search-wrap:focus-within {
  background: rgba(255,255,255,.13);
  border-color: rgba(249,115,22,.5);
  width: 280px;
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.header-search-wrap svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,.45);
  flex-shrink: 0;
  right: 0;
  position: absolute;
right: 8px;
  top: 10px;
}.header-search-wrap input {
  background: none; border: none; outline: none;
  color: #fff; font-size: 13.5px; width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.header-search-wrap input::placeholder { color: rgba(255,255,255,.38); }

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none; border: none;
  padding: 6px;
  color: rgba(255,255,255,.75);
  margin-left: auto;
}
.hamburger svg { width: 24px; height: 24px; stroke: currentColor; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; top: 70px;
  background: var(--navy);
  z-index: 400;
  overflow-y: auto;
  padding: 24px 28px 40px;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; padding: 13px 16px;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all .15s;
}
.mobile-nav a:hover { color: var(--orange); background: var(--orange-glow); }
.mobile-nav .search-mobile {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 12px;
}
.mobile-nav .search-mobile svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.5); flex-shrink: 0; }
.mobile-nav .search-mobile input {
  background: none; border: none; outline: none;
  color: #fff; font-size: 14px; width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.mobile-nav .search-mobile input::placeholder { color: rgba(255,255,255,.35); }

/* =============================================
   HERO
   ============================================= */
.blog-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 72px 28px 90px;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 120%, rgba(249,115,22,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at -10% 50%, rgba(37,99,235,.15) 0%, transparent 55%);
  pointer-events: none;
}
/* Subtle dot grid pattern */
.blog-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.blog-hero-inner {
  max-width: 1260px; margin: 0 auto;
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-left {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-glow);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 20px;
  padding: 5px 14px 5px 8px;
  margin-bottom: 22px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--orange); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}
.hero-eyebrow span {
  font-size: 12px; font-weight: 700;
  color: var(--orange);
  text-transform: uppercase; letter-spacing: .07em;
  font-family: 'Sora', sans-serif;
}
.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.hero-title em { font-style: normal; color: var(--orange); }
.hero-title span.underline-orange {
  position: relative; font-style: normal;
}
.hero-title span.underline-orange::after {
  content: '';
  position: absolute; left: 0; bottom: -3px; right: 0;
  height: 3px; border-radius: 2px;
  background: var(--orange);
}
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.62);
  line-height: 1.72; margin-bottom: 34px;
  max-width: 460px;
}
.hero-search-form {
  display: flex;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
}
.hero-search-form input {
  flex: 1; border: none; outline: none;
  padding: 16px 20px;
  font-size: 15px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
}
.hero-search-form input::placeholder { color: var(--text-muted); }
.hero-search-btn {
  background: var(--orange);
  border: none;
  padding: 0 24px;
  color: #fff;
  font-size: 14px; font-weight: 700;
  font-family: 'Sora', sans-serif;
  display: flex; align-items: center; gap: 8px;
  transition: background .2s;
  white-space: nowrap;
}
.hero-search-btn:hover { background: var(--orange-dark); }
.hero-search-btn svg { width: 16px; height: 16px; stroke: #fff; }
.hero-stats {
  display: flex; align-items: center; gap: 28px; margin-top: 28px;
}
.hero-stat {}
.hero-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 24px; font-weight: 800; color: #fff; line-height: 1;
  margin-bottom: 2px;
}
.hero-stat-num span { color: var(--orange); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Hero right — Featured card */
.hero-right {}
.hero-featured-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.hero-featured-img { position: relative; height: 220px; overflow: hidden; }
.hero-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-featured-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.5) 100%);
}
.hero-featured-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--orange); color: #fff;
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
}
.hero-featured-badge::before { content: '⭐'; font-size: 10px; }
.hero-featured-body { padding: 22px 26px 26px; }
.hero-featured-cat { margin-bottom: 10px; }
.hero-featured-title {
  font-family: 'Sora', sans-serif;
  font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.35;
  margin-bottom: 12px;
}
.hero-featured-title a:hover { color: var(--orange); }
.hero-featured-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; }
.hero-featured-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-muted);
}
.hero-featured-meta .author-wrap { display: flex; align-items: center; gap: 7px; }
.avatar-sm {
  width: 26px; height: 26px;
  background: var(--orange-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--orange);
  flex-shrink: 0;
}
.meta-dot { width: 3px; height: 3px; background: var(--border-mid); border-radius: 50%; flex-shrink: 0; }
.hero-read-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy);
  color: #fff; text-decoration: none;
  font-size: 13.5px; font-weight: 700;
  font-family: 'Sora', sans-serif;
  padding: 10px 20px; border-radius: var(--radius-sm);
  transition: all .2s; margin-top: 18px;
}
.hero-read-btn:hover { background: var(--orange); }
.hero-read-btn svg { width: 15px; height: 15px; stroke: #fff; }

/* =============================================
   CATEGORY BADGES
   ============================================= */
.cat-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 11px; border-radius: 20px;
  font-family: 'Sora', sans-serif;
  text-decoration: none;
  transition: all .15s;
}
.cat-seo      { background: var(--green-pale); color: var(--green); }
.cat-seo:hover{ background: var(--green); color: #fff; }
.cat-onpage   { background: var(--violet-pale); color: var(--violet); }
.cat-onpage:hover { background: var(--violet); color: #fff; }
.cat-tech     { background: var(--sky-pale); color: var(--sky); }
.cat-tech:hover { background: var(--sky); color: #fff; }
.cat-blog     { background: var(--amber-pale); color: var(--amber); }
.cat-blog:hover { background: var(--amber); color: #fff; }
.cat-link     { background: var(--blue-pale); color: var(--blue); }
.cat-link:hover { background: var(--blue); color: #fff; }

/* =============================================
   MAIN CONTENT WRAPPER
   ============================================= */
.content-wrap {
  max-width: 1260px; margin: 0 auto;
  padding: 0 28px;
}

/* =============================================
   TRENDING STRIP
   ============================================= */
.trending-strip {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
}
.trending-inner {
  max-width: 1260px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  height: 48px; overflow: hidden;
}
.trending-label {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 11.5px; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: .07em;
  flex-shrink: 0;
  border-right: 1px solid var(--border); padding-right: 20px;
}
.trending-label svg { width: 14px; height: 14px; stroke: var(--orange); }
.trending-list { display: flex; align-items: center; gap: 24px; overflow: hidden; }
.trending-list a {
  font-size: 13px; color: var(--text-mid);
  white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
  transition: color .15s;
}
.trending-list a:hover { color: var(--orange); }
.trending-list a::before {
  content: attr(data-num);
  font-family: 'Sora', sans-serif; font-size: 10px; font-weight: 700;
  color: var(--orange); background: var(--orange-pale);
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* =============================================
   SECTION LAYOUT (grid + sidebar)
   ============================================= */
.section-wrap {
  padding: 52px 28px 80px;
  max-width: 1260px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* =============================================
   SECTION TITLE
   ============================================= */
.section-title-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}
.section-title-row h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.section-title-row h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 24px;
  background: var(--orange);
  border-radius: 2px;
}
.section-title-row a {
  font-size: 13.5px; font-weight: 600; color: var(--orange);
  display: flex; align-items: center; gap: 5px;
  transition: gap .15s;
}
.section-title-row a:hover { gap: 8px; }
.section-title-row a svg { width: 15px; height: 15px; stroke: currentColor; }

/* =============================================
   FILTER TABS
   ============================================= */
.filter-bar { margin-bottom: 30px; }
.filter-tabs {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text-mid);
  transition: all .18s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex; align-items: center; gap: 7px;
}
.filter-tab:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-tab .count {
  background: rgba(255,255,255,.2);
  border-radius: 10px; padding: 1px 7px;
  font-size: 11px;
}
.filter-tab:not(.active) .count { background: var(--bg); color: var(--text-muted); }

/* Sort */
.filter-row-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; gap: 12px;
}
.results-count { font-size: 13px; color: var(--text-muted); }
.sort-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 13px; font-weight: 500; color: var(--text-mid);
  background: var(--card);
  outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: border-color .15s;
}
.sort-select:hover { border-color: var(--orange); }

/* =============================================
   POST CARDS
   ============================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
  border: 1px solid transparent;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249,115,22,.12);
}

.post-card-thumb {
  position: relative; overflow: hidden;
  height: 200px; flex-shrink: 0;
}
.post-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,26,53,.5) 0%, transparent 50%);
  transition: opacity .2s;
  opacity: 0;
}
.post-card:hover .post-card-thumb-overlay { opacity: 1; }
.post-card-reading-time {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 4px 9px; border-radius: 12px;
  display: flex; align-items: center; gap: 4px;
  opacity: 0; transition: opacity .2s;
}
.post-card:hover .post-card-reading-time { opacity: 1; }
.post-card-reading-time svg { width: 12px; height: 12px; stroke: #fff; }

.post-card-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.post-card-meta-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.post-card-date { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.post-card-date svg { width: 13px; height: 13px; stroke: var(--text-muted); }

.post-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 16.5px; font-weight: 700; color: var(--navy);
  line-height: 1.4; margin-bottom: 10px;
  flex-shrink: 0;
}
.post-card-title a { transition: color .15s; }
.post-card-title a:hover { color: var(--orange); }

.post-card-excerpt {
  font-size: 13.5px; color: var(--text-mid); line-height: 1.68;
  flex: 1; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.post-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
  gap: 10px;
}
.post-card-author { display: flex; align-items: center; gap: 8px; }
.post-card-author span { font-size: 12.5px; font-weight: 600; color: var(--text-mid); }
.post-card-read-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700; color: var(--orange);
  font-family: 'Sora', sans-serif;
  transition: gap .15s;
}
.post-card-read-link:hover { gap: 8px; }
.post-card-read-link svg { width: 14px; height: 14px; stroke: var(--orange); }

/* Wide card (spans full width) */
.post-card-wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 2fr 3fr;
}
.post-card-wide .post-card-thumb { height: auto; min-height: 240px; }
.post-card-wide .post-card-body { padding: 28px 32px; justify-content: center; }
.post-card-wide .post-card-title { font-size: 20px; margin-bottom: 12px; }
.post-card-wide .post-card-excerpt { -webkit-line-clamp: 4; margin-bottom: 22px; }
.post-card-wide .post-card-thumb-overlay { opacity: 1; }
.post-card-wide .post-card-reading-time { opacity: 1; }

/* Load more */
.load-more-wrap { text-align: center; margin-top: 36px; }
.load-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 32px;
  font-size: 14px; font-weight: 700;
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.load-more-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.load-more-btn svg { width: 16px; height: 16px; stroke: currentColor; }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.widget-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.widget-header-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.widget-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.widget-body { padding: 18px 22px; }

/* Popular posts */
.popular-list { display: flex; flex-direction: column; gap: 0; }
.popular-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  transition: background .15s;
}
.popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.popular-item:first-child { padding-top: 0; }
.popular-num {
  font-family: 'Sora', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--orange-pale);
  min-width: 28px; line-height: 1; flex-shrink: 0;
  padding-top: 2px;
  -webkit-text-stroke: 1.5px var(--orange);
}
.popular-info {}
.popular-info h4 {
  font-size: 13px; font-weight: 600; color: var(--navy);
  line-height: 1.45; margin-bottom: 5px;
}
.popular-info h4 a:hover { color: var(--orange); }
.popular-info .meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; color: var(--text-muted);
}
.popular-info .meta svg { width: 12px; height: 12px; stroke: var(--text-muted); }

/* Categories widget */
.cat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.cat-pill {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .15s;
  text-decoration: none;
}
.cat-pill:hover { border-color: var(--orange); background: var(--orange-pale); }
.cat-pill:hover .cat-pill-name { color: var(--orange); }
.cat-pill-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cat-pill-count {
  font-size: 11px; font-weight: 700;
  background: var(--bg); color: var(--text-muted);
  padding: 2px 7px; border-radius: 10px;
}

/* Newsletter widget */
.newsletter-widget {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  overflow: hidden; position: relative;
}
.newsletter-widget::before {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: var(--orange-glow);
  border-radius: 50%;
}
.newsletter-widget-icon { font-size: 28px; margin-bottom: 12px; }
.newsletter-widget h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px;
}
.newsletter-widget p {
  font-size: 13px; color: rgba(255,255,255,.6);
  line-height: 1.6; margin-bottom: 18px;
}
.newsletter-form {
  display: flex; flex-direction: column; gap: 10px;
}
.newsletter-form input {
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13.5px; background: rgba(255,255,255,.09);
  color: #fff; outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.38); }
.newsletter-form input:focus { border-color: var(--orange); background: rgba(255,255,255,.13); }
.newsletter-form button {
  background: var(--orange); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 13.5px; font-weight: 700;
  font-family: 'Sora', sans-serif;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.newsletter-form button:hover { background: var(--orange-dark); }
.newsletter-form button svg { width: 15px; height: 15px; stroke: #fff; }
.newsletter-note { font-size: 11px; color: rgba(255,255,255,.35); text-align: center; margin-top: 8px; }

/* Tools CTA widget */
.tools-cta-widget { padding: 0; overflow: hidden; }
.tools-cta-widget .tools-cta-header {
  background: var(--navy); padding: 18px 22px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.tool-mini {
  background: rgba(255,255,255,.07); border-radius: 8px;
  padding: 10px 8px; text-align: center;
  font-size: 11px; color: rgba(255,255,255,.7);
  font-weight: 500;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.tool-mini .icon { font-size: 18px; }
.tools-cta-body { padding: 18px 22px; }
.tools-cta-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.tools-cta-body p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.tools-cta-btn {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 700;
  font-family: 'Sora', sans-serif;
  transition: background .2s;
}
.tools-cta-btn:hover { background: var(--orange); }
.tools-cta-btn svg { width: 16px; height: 16px; stroke: #fff; }

/* Tags cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: var(--bg); border: 1px solid var(--border);
  padding: 6px 13px; border-radius: 20px;
  font-size: 12.5px; color: var(--text-mid); font-weight: 500;
  transition: all .15s;
}
.tag-cloud a:hover { background: var(--orange-pale); border-color: var(--orange); color: var(--orange); }

/* =============================================
   TOPICS STRIP (between hero and grid)
   ============================================= */
.topics-strip { padding: 36px 28px 0; }
.topics-inner {
  max-width: 1260px; margin: 0 auto;
}
.topics-row {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 14px;
}
.topic-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.topic-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.topic-icon { font-size: 26px; line-height: 1; }
.topic-name { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); }
.topic-count { font-size: 11.5px; color: var(--text-muted); }

/* =============================================
   PROMO BANNER
   ============================================= */
.promo-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a3a5c 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
  margin-bottom: 4px;
}
.promo-banner::after {
  content: '';
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 220px; height: 220px;
  background: var(--orange-glow);
  border-radius: 50%;
  pointer-events: none;
}
.promo-banner-text {}
.promo-banner-text h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px;
}
.promo-banner-text p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }
.promo-tools {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; z-index: 1;
}
.promo-tool-btn {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); padding: 9px 16px;
  font-size: 13px; font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.promo-tool-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.promo-tool-btn.primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.promo-tool-btn.primary:hover { background: var(--orange-dark); }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-strip {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 10px 28px;
}
.breadcrumb-inner {
  max-width: 1260px; margin: 0 auto;
  display: flex; align-items: center; gap: 7px;
}
.breadcrumb-inner a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.breadcrumb-inner a:hover { color: var(--orange); }
.breadcrumb-inner svg { width: 13px; height: 13px; stroke: var(--text-muted); flex-shrink: 0; }
.breadcrumb-inner span { font-size: 13px; color: var(--text-mid); font-weight: 500; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  padding: 64px 28px 0;
  margin-top: 0;
}
.footer-grid {
  max-width: 1260px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {}
.footer-brand .logo-wrap {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.52);
  line-height: 1.78; max-width: 340px; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all .2s; font-size: 14px; font-weight: 700;
  text-decoration: none;
}
.social-btn:hover { background: var(--orange); color: #fff; }
.footer-col {}
.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.38); margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,.62);
  transition: color .15s; display: flex; align-items: center; gap: 7px;
}
.footer-col ul li a::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange); opacity: 0;
  transition: opacity .15s; flex-shrink: 0;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a:hover::before { opacity: 1; }
.footer-newsletter h4 {
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.38); margin-bottom: 14px;
}
.footer-newsletter p { font-size: 13.5px; color: rgba(255,255,255,.52); line-height: 1.65; margin-bottom: 14px; }
.footer-newsletter .fn-form { display: flex; gap: 8px; }
.footer-newsletter .fn-form input {
  flex: 1; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 13.5px; color: #fff; outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif; transition: border-color .2s;
}
.footer-newsletter .fn-form input::placeholder { color: rgba(255,255,255,.3); }
.footer-newsletter .fn-form input:focus { border-color: var(--orange); }
.footer-newsletter .fn-form button {
  background: var(--orange); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 10px 16px;
  font-size: 13px; font-weight: 700;
  font-family: 'Sora', sans-serif;
  transition: background .2s; white-space: nowrap;
}
.footer-newsletter .fn-form button:hover { background: var(--orange-dark); }

.footer-bottom {
  max-width: 1260px; margin: 0 auto;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 44px; height: 44px;
  background: var(--orange);
  border: none; border-radius: 50%;
  color: #fff; box-shadow: 0 4px 16px rgba(249,115,22,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--orange-dark); }
.scroll-top svg { width: 18px; height: 18px; stroke: #fff; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: fadeUp .5s ease both; }
.anim-delay-1 { animation-delay: .08s; }
.anim-delay-2 { animation-delay: .16s; }
.anim-delay-3 { animation-delay: .24s; }
.anim-delay-4 { animation-delay: .32s; }

/* =============================================
   POST HERO
   ============================================= */
.post-hero {
  background: var(--navy); position: relative; overflow: hidden;
}
.post-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 110%, rgba(249,115,22,.2) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at -5% 30%, rgba(37,99,235,.15) 0%, transparent 55%);
  pointer-events: none;
}
.post-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.post-hero-inner {
  max-width: 1260px; margin: 0 auto; padding: 48px 28px 0;
  position: relative; z-index: 1;
}
.post-hero-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; gap: 20px; flex-wrap: wrap;
}
.post-category-group { display: flex; align-items: center; gap: 10px; }
.cat-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 5px 13px; border-radius: 20px;
  font-family: 'Sora', sans-serif; text-decoration: none;color:#fff
}
.cat-onpage { background: rgba(124,58,237,.2); color: #c4b5fd; border: 1px solid rgba(124,58,237,.3); }
.updated-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(5,150,105,.15); border: 1px solid rgba(5,150,105,.3);
  border-radius: 20px; padding: 5px 13px;
  font-size: 11px; font-weight: 700; color: #6ee7b7;
  font-family: 'Sora', sans-serif; text-transform: uppercase; letter-spacing: .06em;
}
.updated-badge::before { content: '✓'; font-size: 11px; }
.post-hero-share { display: flex; align-items: center; gap: 8px; }
.share-mini {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 13px; font-weight: 700;
  transition: all .18s; text-decoration: none;
}
.share-mini:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.share-mini svg { width: 15px; height: 15px; stroke: currentColor; }

.post-hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800; color: #fff; line-height: 1.18;
  letter-spacing: -.02em; max-width: 860px;
  margin-bottom: 24px;
}

.post-hero-meta {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 40px; flex-wrap: wrap;
}
.meta-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0 20px; border-right: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65); font-size: 13.5px;
}
.meta-item:first-child { padding-left: 0; }
.meta-item:last-child { border-right: none; }
.meta-item svg { width: 15px; height: 15px; stroke: rgba(255,255,255,.45); flex-shrink: 0; }
.meta-item strong { color: rgba(255,255,255,.9); font-weight: 600; }
.meta-avatar {
  width: 28px; height: 28px; background: var(--orange);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.reading-bar-hero {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.08);
  max-width: fit-content; margin-bottom: 40px;
}
.reading-bar-hero svg { width: 16px; height: 16px; stroke: var(--orange); flex-shrink: 0; }
.reading-bar-hero span { font-size: 13px; color: rgba(255,255,255,.6); }
.reading-bar-hero strong { font-size: 13px; color: rgba(255,255,255,.9); }

/* Hero image */
.post-hero-image-wrap {
  display: flex; justify-content: center;
}
.post-hero-image {
  width: 100%; max-width: 900px;
  border-radius: 16px 16px 0 0; overflow: hidden;
  box-shadow: 0 -8px 60px rgba(0,0,0,.4);
}
.post-hero-image img { width: 100%; display: block; max-height: 440px; object-fit: cover; }

/* =============================================
   ARTICLE LAYOUT
   ============================================= */
.article-outer {
  max-width: 1260px; margin: 0 auto; padding: 48px 28px 80px;
  display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: start;
}

/* =============================================
   ARTICLE CONTENT
   ============================================= */
.article-content { min-width: 0; }

/* Typography */
.article-content p {
  font-family: 'Lora', serif;
  font-size: 17px; color: #334155; line-height: 1.85;
  margin-bottom: 20px;
}
.article-content h2 {
  font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800;
  color: var(--navy); line-height: 1.25;
  margin: 11px 0 18px; padding-top: 8px;
  scroll-margin-top: 88px;
  display: flex; align-items: center; gap: 12px;
}
.article-content h2::before {
  content: ''; display: inline-block;
  width: 4px; height: 30px; background: var(--orange);
  border-radius: 2px; flex-shrink: 0;
}
.article-content h3 {
  font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--navy); line-height: 1.35;
  margin: 36px 0 14px; scroll-margin-top: 88px;
}
.article-content h4 {
  font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text); margin: 24px 0 8px;
}
.article-content ul, .article-content ol {
  padding-left: 0; margin-bottom: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.article-content ul li, .article-content ol li {
  font-family: 'Lora', serif;
  font-size: 16.5px; color: #334155; line-height: 1.7;
  padding-left: 28px; position: relative;
}
.article-content ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; background: var(--orange);
  border-radius: 50%;
}
.article-content ol { counter-reset: ol-counter; }
.article-content ol li::before {
  content: counter(ol-counter); counter-increment: ol-counter;
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--navy);
  color: #fff; border-radius: 50%;
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.article-content strong { color: var(--navy); font-weight: 700; }
.article-content em { color: var(--text-mid); }
.article-content a { color: var(--orange); font-weight: 600; border-bottom: 1.5px solid rgba(249,115,22,.3); transition: border-color .15s; text-decoration: none; }
.article-content a:hover { border-bottom-color: var(--orange); }
.article-content hr { border: none; border-top: 1px dashed var(--border); margin: 4px 0; }
.article-content img { width: 100%; border-radius: var(--radius-md); margin: 28px 0; box-shadow: var(--shadow-md); }



/* =========================
   TOC Reading Progress
========================= */

.toc-progress-wrap{
    margin-bottom:1px;
}

.toc-progress-bar{
    width:100%;
    height:6px;
    background:#edf2f7;
    border-radius:999px;
    overflow:hidden;
    margin-bottom:8px;
}

.toc-progress-fill{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#2563eb,#7c3aed);
    border-radius:999px;
    transition:width .25s ease;
}

.toc-progress-label{
    font-size:12px;
    font-weight:600;
    color:#64748b;
}


/* =============================================
   ARTICLE COMPONENTS
   ============================================= */

/* Key Takeaways */
.key-takeaways {
  background: var(--blue-pale);
  border: 1.5px solid rgba(37,99,235,.2);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 26px 30px; margin-bottom: 40px;
}
.key-takeaways-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.key-takeaways-header svg { width: 20px; height: 20px; stroke: var(--blue-mid); flex-shrink: 0; }
.key-takeaways-header h3 {
  font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 800;
  color: var(--blue-mid); text-transform: uppercase; letter-spacing: .05em;
}
.key-takeaways ul { padding-left: 0; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.key-takeaways ul li {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px; color: #1e40af; line-height: 1.65;
  padding-left: 24px; position: relative;
}
.key-takeaways ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700; font-size: 13px; background: none;
  width: auto; height: auto; border-radius: 0;
}

/* Callout boxes */
.callout {
  border-radius: var(--radius-md); padding: 20px 24px; margin: 28px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.callout-tip { background: var(--green-pale); border-left: 4px solid var(--green); }
.callout-warning { background: var(--amber-pale); border-left: 4px solid #f59e0b; }
.callout-info { background: var(--blue-pale); border-left: 4px solid var(--blue); }
.callout-important { background: var(--red-pale); border-left: 4px solid var(--red); }
.callout-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.callout-body {}
.callout-body strong {
  display: block; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}
.callout-tip .callout-body strong { color: var(--green-mid); }
.callout-warning .callout-body strong { color: #92400e; }
.callout-info .callout-body strong { color: var(--blue-mid); }
.callout-important .callout-body strong { color: #991b1b; }
.callout-body p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px; line-height: 1.65; margin: 0;
}
.callout-tip .callout-body p { color: #065f46; }
.callout-warning .callout-body p { color: #78350f; }
.callout-info .callout-body p { color: #1e40af; }
.callout-important .callout-body p { color: #991b1b; }

/* Step cards */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 28px 0; }
.step-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 18px; text-align: center;
  transition: all .2s;
}
.step-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-card-num {
  width: 36px; height: 36px;
  background: var(--orange); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 800;
  margin: 0 auto 12px;
}
.step-card-icon { font-size: 24px; margin-bottom: 10px; }
.step-card h4 {
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.step-card p { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; color: var(--text-mid); line-height: 1.6; margin: 0; }

/* Comparison table */
.comparison-table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px; background: var(--card);
}
.comparison-table thead th {
  padding: 16px 20px; text-align: left;
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.comparison-table thead tr th:nth-child(1) { background: var(--navy); color: rgba(255,255,255,.8); width: 30%; }
.comparison-table thead tr th:nth-child(2) { background: #1e3a5f; color: rgba(255,255,255,.85); }
.comparison-table thead tr th:nth-child(3) { background: var(--orange); color: #fff; }
.comparison-table thead tr th:first-child { border-radius: var(--radius-md) 0 0 0; }
.comparison-table thead tr th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.comparison-table tbody td { padding: 13px 20px; border-bottom: 1px solid var(--border); color: #334155; vertical-align: top; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) td { background: #fafbfd; }
.comparison-table tbody tr:hover td { background: var(--orange-pale); }
.comparison-table tbody td:first-child { font-weight: 600; color: var(--navy); background: var(--bg) !important; font-size: 13px; }

/* SEO Type cards */
.seo-types-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 28px 0; }
.seo-type-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 22px;
  transition: all .2s; position: relative; overflow: hidden;
}
.seo-type-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.seo-type-card.c-seo::before { background: var(--green); }
.seo-type-card.c-tech::before { background: var(--sky); }
.seo-type-card.c-offpage::before { background: var(--blue); }
.seo-type-card.c-local::before { background: var(--amber); }
.seo-type-card.c-social::before { background: var(--violet); }
.seo-type-card.c-ai::before { background: var(--orange); }
.seo-type-card:hover { border-color: var(--border-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.seo-type-icon { font-size: 26px; margin-bottom: 12px; line-height: 1; }
.seo-type-card h4 {
  font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.seo-type-card p { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13.5px; color: var(--text-mid); line-height: 1.65; margin: 0; }
.seo-type-includes {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.seo-type-includes span {
  background: var(--bg); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 12px;
  font-size: 12px; color: var(--text-mid); font-weight: 500;
}

/* Keyword types */
.keyword-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 24px 0; }
.keyword-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px; transition: all .2s;
}
.keyword-card:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.keyword-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.keyword-badge {
  font-family: 'Sora', sans-serif; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 9px; border-radius: 12px;
}
.kb-short { background: #fee2e2; color: #991b1b; }
.kb-long  { background: #dcfce7; color: #166534; }
.kb-info  { background: #dbeafe; color: #1e40af; }
.kb-trans { background: #fef9c3; color: #854d0e; }
.keyword-card h4 { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin: 0; }
.keyword-card p { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; color: var(--text-mid); line-height: 1.6; margin: 0 0 8px; }
.keyword-example { background: var(--bg); border-radius: var(--radius-sm); padding: 8px 12px; }
.keyword-example code { font-family: monospace; font-size: 12.5px; color: var(--navy); }

/* EEAT cards */
.eeat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 28px 0; }
.eeat-card {
  background: var(--card); border-radius: var(--radius-md); padding: 20px 16px; text-align: center;
  border: 1.5px solid var(--border); transition: all .2s;
}
.eeat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.eeat-letter {
  font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800;
  line-height: 1; margin-bottom: 8px;
}
.eeat-card:nth-child(1) .eeat-letter { color: var(--orange); }
.eeat-card:nth-child(2) .eeat-letter { color: var(--blue); }
.eeat-card:nth-child(3) .eeat-letter { color: var(--green); }
.eeat-card:nth-child(4) .eeat-letter { color: var(--violet); }
.eeat-card h4 { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.eeat-card p { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; color: var(--text-mid); line-height: 1.55; margin: 0; }

/* Tech SEO checklist */
.tech-checklist { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.tech-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px dashed var(--border);
  transition: background .15s;
}
.tech-item:first-child { padding-top: 0; }
.tech-item:last-child { border-bottom: none; padding-bottom: 0; }
.tech-item-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.tech-item-body h4 { font-family: 'Sora', sans-serif; font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.tech-item-body p { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13.5px; color: var(--text-mid); margin: 0; line-height: 1.6; }
.tech-status {
  margin-left: auto; flex-shrink: 0;
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 12px;
}
.status-critical { background: #fee2e2; color: #991b1b; }
.status-important { background: var(--amber-pale); color: var(--amber); }
.status-recommended { background: var(--green-pale); color: var(--green-mid); }

/* Metrics grid */
.metrics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 24px 0; }
.metric-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 18px; text-align: center;
  transition: all .2s;
}
.metric-card:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.metric-icon { font-size: 24px; margin-bottom: 10px; }
.metric-name { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.metric-desc { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; color: var(--text-mid); line-height: 1.55; }

/* Tools grid */
.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 24px 0; }
.tool-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  transition: all .18s; text-decoration: none;
}
.tool-pill:hover { border-color: var(--orange); background: var(--orange-pale); }
.tool-pill-icon { font-size: 20px; flex-shrink: 0; }
.tool-pill-name { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); }
.tool-pill-type { font-size: 11px; color: var(--text-muted); }

/* Mistakes list */
.mistakes-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.mistake-item {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px;
  display: flex; gap: 16px; align-items: flex-start; transition: all .2s;
}
.mistake-item:hover { border-color: #fca5a5; box-shadow: var(--shadow-sm); }
.mistake-x {
  width: 32px; height: 32px; background: #fee2e2; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; color: var(--red); font-weight: 700;
}
.mistake-body h4 { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.mistake-body p { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13.5px; color: var(--text-mid); margin: 0; line-height: 1.6; }
.mistake-fix {
  margin-left: auto; flex-shrink: 0;
  font-size: 12px; font-weight: 600; color: var(--green-mid);
  background: var(--green-pale); padding: 4px 10px;
  border-radius: 12px; white-space: nowrap;
}

/* Stats bar */
.stats-highlight {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
  margin: 32px 0; padding: 28px; background: var(--navy);
  border-radius: var(--radius-lg);
}
.stat-h { text-align: center; padding: 12px 0; }
.stat-h-num {
  font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--orange); line-height: 1; margin-bottom: 6px;
}
.stat-h-label { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* FAQs */
.faq-section { margin: 28px 0; }
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 10px; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(249,115,22,.4); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer;
  background: var(--card); gap: 16px; user-select: none;
  transition: background .15s;
}
.faq-question:hover { background: #fafbfd; }
.faq-item.open .faq-question { background: var(--orange-pale); }
.faq-question-text {
  font-family: 'Sora', sans-serif; font-size: 15.5px; font-weight: 700;
  color: var(--navy); line-height: 1.4;
}
.faq-item.open .faq-question-text { color: #c2410c; }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.faq-item.open .faq-icon { background: var(--orange); }
.faq-icon svg { width: 14px; height: 14px; stroke: var(--text-mid); transition: all .2s; }
.faq-item.open .faq-icon svg { stroke: #fff; transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 22px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; color: #334155; line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* Tags */
.post-tags { margin: 40px 0 0; }
.post-tags-label {
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); margin-bottom: 12px;
}
.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  background: var(--bg); border: 1.5px solid var(--border);
  padding: 7px 15px; border-radius: 20px;
  font-size: 13px; color: var(--text-mid); font-weight: 500;
  transition: all .15s; text-decoration: none;
  display: flex; align-items: center; gap: 5px;
}
.tag-pill::before { content: '#'; color: var(--text-muted); font-size: 12px; }
.tag-pill:hover { background: var(--orange-pale); border-color: var(--orange); color: var(--orange); }

/* Post navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 48px 0; padding: 0;
}
.post-nav-item {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 22px;
  text-decoration: none; transition: all .2s; display: flex; flex-direction: column; gap: 6px;
}
.post-nav-item:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.post-nav-label {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); display: flex; align-items: center; gap: 6px;
}
.post-nav-label svg { width: 14px; height: 14px; stroke: currentColor; }
.post-nav-item:hover .post-nav-label { color: var(--orange); }
.post-nav-title { font-family: 'Sora', sans-serif; font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.post-nav-item.next { text-align: right; }
.post-nav-item.next .post-nav-label { justify-content: flex-end; }

/* Author box */
.author-box {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; gap: 22px; margin: 48px 0;
}
.author-avatar-xl {
  width: 76px; height: 76px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange) 0%, #f59e0b 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,.3);
}
.author-info {}
.author-label {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--orange); margin-bottom: 4px;
}
.author-name {
  font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}
.author-bio {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px;
}
.author-links { display: flex; gap: 10px; }
.author-link {
  font-size: 13px; font-weight: 600; color: var(--orange);
  border: 1.5px solid rgba(249,115,22,.3); border-radius: 8px;
  padding: 6px 14px; transition: all .15s; text-decoration: none;
}
.author-link:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Related posts */
.related-posts { margin: 0 0 0; }
.related-posts-title {
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--navy); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.related-posts-title::before {
  content: ''; display: inline-block;
  width: 4px; height: 26px; background: var(--orange);
  border-radius: 2px; flex-shrink: 0;
}
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.related-card {
  background: var(--card); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; transition: all .22s;
  border: 1px solid transparent;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(249,115,22,.15); }
.related-card-img { height: 150px; overflow: hidden; position: relative; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.related-card:hover .related-card-img img { transform: scale(1.05); }
.related-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.related-card-cat { margin-bottom: 8px; font-size: 10px; }
.related-card-title {
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--navy); line-height: 1.4; flex: 1; margin-bottom: 12px;
}
.related-card-title a:hover { color: var(--orange); }
.related-card-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

/* Share section */
.share-section {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 32px;
  margin: 48px 0; text-align: center;
}
.share-section h3 {
  font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800;
  color: var(--navy); margin-bottom: 6px;
}
.share-section p { font-size: 14px; color: var(--text-mid); margin-bottom: 22px; }
.share-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.share-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  font-family: 'Sora', sans-serif;
  text-decoration: none; transition: all .18s;
  border: none; cursor: pointer;
}
.share-btn-twitter { background: #000; color: #fff; }
.share-btn-twitter:hover { background: #1a1a1a; }
.share-btn-facebook { background: #1877f2; color: #fff; }
.share-btn-facebook:hover { background: #1565d8; }
.share-btn-linkedin { background: #0077b5; color: #fff; }
.share-btn-linkedin:hover { background: #005f8d; }
.share-btn-whatsapp { background: #25d366; color: #fff; }
.share-btn-whatsapp:hover { background: #1fba58; }
.share-btn-copy { background: var(--bg); color: var(--navy); border: 1.5px solid var(--border); }
.share-btn-copy:hover { background: var(--orange-pale); border-color: var(--orange); color: var(--orange); }
.share-btn svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }

/* Comments */
.comments-section { margin: 0; }
.comments-title {
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--navy); margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.comments-title::before {
  content: ''; display: inline-block;
  width: 4px; height: 26px; background: var(--orange);
  border-radius: 2px; flex-shrink: 0;
}
.comment-form-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.comment-form-top { margin-bottom: 28px; }
.comment-form-top h4 {
  font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.comment-form-top p { font-size: 14px; color: var(--text-mid); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 5px;
}
.form-group label .req { color: var(--orange); }
.form-group input, .form-group textarea, .form-group select {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 14.5px; color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none; transition: border-color .2s, box-shadow .2s;
  background: #fff; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-save-check { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; cursor: pointer; }
.form-save-check input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--orange); cursor: pointer; }
.form-save-check span { font-size: 13.5px; color: var(--text-mid); }
.submit-comment {
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 14px 36px;
  font-size: 15px; font-weight: 700; font-family: 'Sora', sans-serif;
  transition: background .2s; display: flex; align-items: center; gap: 10px;
}
.submit-comment:hover { background: var(--orange); }
.submit-comment svg { width: 16px; height: 16px; stroke: #fff; }

/* =============================================
   SIDEBAR
   ============================================= */
.article-sidebar { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 20px; }

/* TOC */
.toc-widget {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.toc-header {
  background: var(--navy); padding: 15px 20px;
  display: flex; align-items: center; gap: 10px;
}
.toc-header svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.6); flex-shrink: 0; }
.toc-header h3 {
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: .08em; flex: 1;
}
.toc-toggle {
  background: none; border: none; color: rgba(255,255,255,.5); cursor: pointer; padding: 2px; font-size: 18px; line-height: 1;
}
.toc-progress-wrap { padding: 10px 20px 0; }
.toc-progress-bar { height: 2px; background: var(--border); border-radius: 1px; overflow: hidden; }
.toc-progress-fill { height: 100%; background: var(--orange); width: 0%; transition: width .1s; }
.toc-progress-label { font-size: 11px; color: var(--text-muted); margin-top: 5px; text-align: right; font-family: 'Sora', sans-serif; }
.toc-body { padding: 12px 14px 16px; max-height: 420px; overflow-y: auto; }
.toc-body::-webkit-scrollbar { width: 3px; }
.toc-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.toc-link {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-mid); text-decoration: none;
  transition: all .15s; line-height: 1.45;
  border-left: 2px solid transparent; margin-left: 0;
}
.toc-link:hover { color: var(--navy); background: var(--bg); }
.toc-link.active { color: var(--orange); background: var(--orange-pale); border-left-color: var(--orange); font-weight: 600; }
.toc-link .toc-num {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  color: var(--text-muted); min-width: 18px; margin-top: 1px; flex-shrink: 0;
}
.toc-link.active .toc-num { color: var(--orange); }
.toc-link.toc-h3 { padding-left: 24px; font-size: 12.5px; }

/* Sidebar widgets */
.sidebar-widget {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.widget-head {
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 9px;
}
.widget-head-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.widget-head h3 { font-family: 'Sora', sans-serif; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.widget-body { padding: 16px 18px; }

/* Newsletter sidebar */
.newsletter-sb {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg); padding: 24px;
  border: none; position: relative; overflow: hidden;
}
.newsletter-sb::before {
  content: ''; position: absolute; right: -20px; bottom: -20px;
  width: 100px; height: 100px; background: var(--orange-glow); border-radius: 50%;
}
.newsletter-sb-icon { font-size: 26px; margin-bottom: 10px; }
.newsletter-sb h3 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.newsletter-sb p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 16px; }
.newsletter-sb input {
  width: 100%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13.5px; color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; outline: none; margin-bottom: 10px; transition: border-color .2s;
}
.newsletter-sb input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-sb input:focus { border-color: var(--orange); }
.newsletter-sb button {
  width: 100%; background: var(--orange); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 11px; font-size: 13.5px; font-weight: 700;
  font-family: 'Sora', sans-serif; transition: background .2s;
}
.newsletter-sb button:hover { background: var(--orange-dark); }

/* CTA sidebar widget */
.cta-sb {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
}
.cta-sb-header {
  background: var(--navy); padding: 16px 18px 14px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.cta-tool-mini {
  text-align: center; padding: 8px 6px;
  background: rgba(255,255,255,.07); border-radius: 8px;
  font-size: 11px; color: rgba(255,255,255,.7); font-weight: 500;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.cta-tool-mini .icon { font-size: 17px; }
.cta-sb-body { padding: 16px 18px; }
.cta-sb-body h3 { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cta-sb-body p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.cta-sb-btn {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: #fff;
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; font-family: 'Sora', sans-serif;
  transition: background .2s; text-decoration: none;
}
.cta-sb-btn:hover { background: var(--orange); }
.cta-sb-btn svg { width: 15px; height: 15px; stroke: #fff; }

/* Share sidebar */
.share-sb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-sb-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 10px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 700; font-family: 'Sora', sans-serif;
  text-decoration: none; transition: all .18s; border: none; cursor: pointer;
}
.ssb-tw { background: #000; color: #fff; }
.ssb-tw:hover { background: #1a1a1a; }
.ssb-fb { background: #1877f2; color: #fff; }
.ssb-fb:hover { background: #1565d8; }
.ssb-li { background: #0077b5; color: #fff; }
.ssb-li:hover { background: #005f8d; }
.ssb-wa { background: #25d366; color: #fff; }
.ssb-wa:hover { background: #1fba58; }
 

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1060px) {
  .section-wrap { grid-template-columns: 1fr; padding: 44px 24px 60px; }
  .sidebar { position: static; }
  .posts-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .blog-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .hero-title { font-size: 34px; }
  .topics-row { grid-template-columns: repeat(3,1fr); }
  .primary-nav { display: none; }
  .header-search-wrap { display: none; }
  .hamburger { display: flex; }
  .top-bar-left { display: none; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-card-wide { grid-template-columns: 1fr; }
  .post-card-wide .post-card-thumb { height: 200px; }
  .topics-row { grid-template-columns: repeat(2,1fr); }
  .trending-list { display: none; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 52px 22px 70px; }
  .promo-banner { flex-direction: column; align-items: flex-start; }
  .promo-tools { flex-wrap: wrap; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
}
 
/* =========================================
   PAGINATION
========================================= */

.pagination-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:60px;
    padding-top:10px;
}

/* Base */

.pagination-wrap .page-numbers{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:48px;
    height:48px;
    padding:0 18px;
    border-radius:16px;
    background:#ffffff;
    border:1px solid rgba(15,23,42,.08);
    color:var(--navy);
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    transition:all .28s ease;
    box-shadow:
        0 4px 12px rgba(15,23,42,.04),
        0 1px 2px rgba(15,23,42,.03);
    overflow:hidden;
}

/* Hover */

.pagination-wrap a.page-numbers:hover{
    background:linear-gradient(
        135deg,
        var(--orange),
        #ff944d
    );
    color:#fff;
    border-color:transparent;
    transform:translateY(-3px);
    box-shadow:
        0 14px 30px rgba(249,115,22,.22);
}

/* Active */

.pagination-wrap .page-numbers.current{
    background:linear-gradient(
        135deg,
        var(--orange),
        #ff944d
    );
    color:#fff;
    border-color:transparent;
    pointer-events:none;
    box-shadow:
        0 14px 30px rgba(249,115,22,.24);
}

/* Dots */

.pagination-wrap .dots{
    min-width:auto;
    height:auto;
    padding:0 2px;
    background:transparent;
    border:none;
    box-shadow:none;
    color:#94a3b8;
    pointer-events:none;
}

/* Prev / Next */

.pagination-wrap .prev,
.pagination-wrap .next{
    padding:0 22px;
    font-weight:700;
}

/* Optional arrows */

.pagination-wrap .prev::before{
    content:"←";
    margin-right:8px;
    font-size:14px;
}

.pagination-wrap .next::after{
    content:"→";
    margin-left:8px;
    font-size:14px;
}

/* Mobile */

@media(max-width:768px){

    .pagination-wrap{
        gap:8px;
        margin-top:40px;
    }

    .pagination-wrap .page-numbers{
        min-width:42px;
        height:42px;
        padding:0 14px;
        border-radius:14px;
        font-size:14px;
    }

    .pagination-wrap .prev,
    .pagination-wrap .next{
        padding:0 16px;
    }

}
/* =========================================
   COMMENTS SECTION
========================================= */

.comments-area{
    margin-top:60px;
    padding:32px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(15,23,42,.04);
}

/* Heading */
.comment-reply-title{
    font-size:28px;
    font-weight:700;
    line-height:1.2;
    margin:0 0 24px;
    color:#0f172a;
    font-family:'Sora',sans-serif;
}

.comment-reply-title small{
    display:block;
    margin-top:8px;
    font-size:14px;
    font-weight:500;
}

.comment-reply-title small a{
    color:#2563eb;
    text-decoration:none;
}

/* Logged in text */
.logged-in-as{
    font-size:14px;
    line-height:1.7;
    color:#64748b;
    margin-bottom:24px;
}

.logged-in-as a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.logged-in-as a:hover{
    text-decoration:underline;
}

/* Form */
.comment-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* Labels */
.comment-form label{
    display:block;
    margin-bottom:10px;
    font-size:14px;
    font-weight:600;
    color:#0f172a;
}

/* Required */
.required{
    color:#ef4444;
}

/* Textarea */
.comment-form textarea{
    width:100%;
    min-height:180px;
    padding:18px;
    border:1px solid #dbe3ee;
    border-radius:18px;
    background:#f8fafc;
    font-size:15px;
    line-height:1.7;
    color:#0f172a;
    resize:vertical;
    transition:.25s ease;
    outline:none;
}

/* Focus */
.comment-form textarea:focus{
    border-color:#2563eb;
    background:#fff;
    box-shadow:0 0 0 4px rgba(37,99,235,.08);
}

/* Submit */
.form-submit{
    margin:0;
}

/* Button */
.comment-form .submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:52px;
    padding:0 26px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
    box-shadow:0 10px 20px rgba(37,99,235,.18);
}

/* Hover */
.comment-form .submit:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 30px rgba(37,99,235,.24);
}

/* Mobile */
@media(max-width:768px){

    .comments-area{
        padding:22px;
        border-radius:18px;
    }

    .comment-reply-title{
        font-size:24px;
    }

    .comment-form textarea{
        min-height:150px;
    }

    .comment-form .submit{
        width:100%;
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1060px) {
  .article-outer { grid-template-columns: 1fr; gap: 0; padding: 40px 24px 60px; }
  .article-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .eeat-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(3,1fr); }
  .related-grid { grid-template-columns: repeat(3,1fr); }
  .stats-highlight { grid-template-columns: repeat(2,1fr); }
  .metrics-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .primary-nav, .header-search-wrap { display: none; }
  .hamburger { display: flex; }
  .top-bar-left { display: none; }
  .post-hero-inner { padding: 36px 20px 0; }
  .post-hero-title { font-size: 26px; }
  .post-hero-meta { gap: 0; }
  .meta-item { padding: 6px 14px; font-size: 12.5px; }
  .seo-types-grid { grid-template-columns: 1fr; }
  .keyword-grid { grid-template-columns: 1fr; }
  .eeat-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .post-hero-title { font-size: 22px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .eeat-grid { grid-template-columns: repeat(2,1fr); }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .stats-highlight { grid-template-columns: repeat(2,1fr); }
  .post-nav { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-links { justify-content: center; }
  .share-btns { flex-direction: column; align-items: center; }
  .meta-item .meta-label { display: none; }
  .comparison-table { font-size: 13px; }
  .comparison-table thead th, .comparison-table tbody td { padding: 10px 12px; }
}