.blog-page .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
}

.blog-main {
  padding-top: 108px;
  padding-bottom: 56px;
}

.blog-hero {
  width: min(1120px, 94vw);
  margin: 0 auto 22px;
  border: 1px solid #e2e2e2;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 46px);
  background: linear-gradient(145deg, #ffffff 0%, #f3f5f6 100%);
}

.blog-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  margin-bottom: 10px;
}

.blog-hero p {
  margin: 0;
  max-width: 72ch;
  color: #303030;
  font-size: 1.08rem;
  line-height: 1.5;
}

.keyword-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-row span {
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #2f2f2f;
}

.posts {
  width: min(1120px, 94vw);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.post-card {
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 20px;
  padding: clamp(18px, 3vw, 28px);
}

.post-preview p {
  margin: 0 0 10px;
}

.post-title-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.post-title-link:hover {
  border-color: #111;
  opacity: 0.9;
}

.post-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  background: #fff;
  color: #171717;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.post-read:hover {
  border-color: #111;
  background: #f7f7f7;
}

.post-meta {
  margin: 0 0 8px;
  color: #5a5a5a;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
}

.post-card p {
  margin: 0 0 10px;
  color: #2d2d2d;
  line-height: 1.62;
  font-size: 1rem;
}

.post-card h3 {
  margin: 14px 0 6px;
  font-size: 1.07rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.post-card ul {
  margin: 0;
  padding-left: 20px;
}

.post-card li {
  margin-bottom: 5px;
  color: #2f2f2f;
}

.blog-cta {
  width: min(1120px, 94vw);
  margin: 18px auto 0;
  border: 1px solid #d8d8d8;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #fcfcfc;
}

.blog-cta h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.blog-cta p {
  margin: 6px 0 0;
  color: #373737;
}

.blog-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-main {
  width: min(980px, 94vw);
  margin: 0 auto;
  padding-top: 108px;
  padding-bottom: 56px;
}

.post-article {
  border: 1px solid #dddddd;
  border-radius: 22px;
  background: #fff;
  padding: clamp(20px, 3.2vw, 34px);
}

.post-article h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.post-article h2 {
  margin: 22px 0 10px;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.post-article p {
  margin: 0 0 11px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #232323;
}

.post-article ul {
  margin: 0 0 12px;
  padding-left: 21px;
}

.post-article li {
  margin-bottom: 8px;
  color: #2a2a2a;
  line-height: 1.6;
}

.intent-note,
.kpi-strip,
.decision-box {
  margin: 18px 0;
  border: 1px solid #dddddd;
  border-radius: 18px;
  padding: 16px 18px;
  background: #fafbfb;
}

.intent-note p,
.decision-box p,
.kpi-strip p {
  margin: 0;
}

.intent-note strong,
.decision-box strong {
  display: block;
  margin-bottom: 6px;
}

.checklist-grid,
.kpi-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.checklist-card,
.kpi-card {
  border: 1px solid #dfdfdf;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.checklist-card strong,
.kpi-card strong {
  display: block;
  margin-bottom: 6px;
}

.comparison-table {
  width: 100%;
  margin: 14px 0 18px;
  border-collapse: collapse;
  font-size: 0.96rem;
  display: block;
  overflow-x: auto;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e1e1e1;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: #f6f7f7;
  font-weight: 800;
}

.comparison-table tbody tr:nth-child(even) {
  background: #fbfbfb;
}

.howto-steps {
  counter-reset: howto;
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
}

.howto-steps li {
  position: relative;
  margin: 0 0 10px;
  padding: 0 0 0 48px;
}

.howto-steps li::before {
  counter-increment: howto;
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.post-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-related {
  margin-top: 18px;
  border-top: 1px solid #e9e9e9;
  padding-top: 14px;
}

.post-related p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #5a5a5a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-related-links a {
  display: inline-flex;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1f1f1f;
  text-decoration: none;
  background: #fff;
}

.post-related-links a:hover {
  border-color: #111;
}

.resource-hub {
  margin-top: 22px;
  border: 1px solid #dddddd;
  border-radius: 22px;
  padding: clamp(18px, 3vw, 26px);
  background:
    radial-gradient(circle at 8% 10%, rgba(15, 23, 42, 0.04), transparent 36%),
    linear-gradient(145deg, #f9fbfb 0%, #f3f5f6 100%);
}

.resource-hub-eyebrow {
  margin: 0 0 8px;
  color: #5a5a5a;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.resource-hub h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
}

.resource-hub p {
  margin: 0;
  color: #303030;
}

.resource-grid {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.resource-card {
  display: block;
  border: 1px solid #d7d7d7;
  border-radius: 18px;
  padding: 14px;
  text-decoration: none;
  color: #171717;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  border-color: #111;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.resource-card strong {
  display: block;
  font-size: 0.96rem;
}

.resource-card span {
  display: block;
  margin-top: 6px;
  color: #404040;
  font-size: 0.92rem;
  line-height: 1.5;
}

.blog-hub-links {
  width: min(1120px, 94vw);
  margin: 18px auto 0;
}

@media (max-width: 980px) {
  .blog-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .comparison-table th,
  .comparison-table td {
    min-width: 160px;
  }
}
