/* ============================================================
   CSS VARIABLES – AK INFO BRAND PALETTE
   ============================================================ */
:root {
  --brand-red: #e8232a;
  --brand-dark: #111418;
  --brand-mid: #1d2229;
  --brand-card: #23282f;
  --accent-gold: #f5a623;
  --accent-teal: #00bcd4;
  --text-primary: #1a1a2e;
  --text-body: #3d3d4e;
  --text-muted: #7a7a8c;
  --text-light: #f0f2f5;
  --border: #e2e5eb;
  --bg-page: #f7f8fa;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .07);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .14);
  --radius: 12px;
  --radius-sm: 6px;
  --max-content: 780px;
  --col-gap: 32px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
}

p,
div,
li {
  font-family: "Lexend Deca", Helvetica, Arial, sans-serif;
}

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

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

a {
  color: var(--brand-red);
  font-weight: 600;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--brand-dark);
  color: #bbb;
  font-size: .78rem;
  padding: 8px 0;
  letter-spacing: .03em;
}

.topbar .inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar a {
  color: #ccc;
  transition: color .2s;
}

.topbar a:hover {
  color: var(--brand-red);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--brand-red);
}

.nav-inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.logo img {
  height: 44px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-red);
}

nav.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

nav.main-nav a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  white-space: nowrap;
  letter-spacing: .02em;
}

nav.main-nav a:hover {
  background: var(--brand-red);
  color: #fff;
}

nav.main-nav a.cta-btn {
  background: var(--brand-red);
  color: #fff;
  border-radius: 50px;
  padding: 8px 20px;
}

nav.main-nav a.cta-btn:hover {
  background: #c41a20;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  /* background: var(--bg-white); */
  /* border-bottom: 1px solid var(--border); */
  padding: 10px 0;
}

.breadcrumb-inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--white);
  flex-wrap: wrap;
}

.breadcrumb-inner a {
  color: var(--brand-red);
  transition: opacity .2s;
}

.breadcrumb-inner a:hover {
  opacity: .75;
}

.breadcrumb-inner .sep {
  color: #ccc;
}

.breadcrumb-inner .current {
  color: var(--bg-white);
  font-weight: 500;
}

/* ============================================================
   HERO
   ============================================================ */
.post-hero {
  position: relative;
  background: var(--brand-dark);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://img.freepik.com/premium-photo/central-processing-unit-pcb-3d-illustration-topic-technology_407240-1678.jpg?uid=R200129965&ga=GA1.1.1748824487.1758868694&semt=ais_hybrid&w=740&q=80') center/cover no-repeat;
  filter: brightness(.35);
  transform: scale(1.03);
  transition: transform 8s ease;
}

.post-hero:hover .hero-bg {
  transform: scale(1);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: auto;
  padding: 60px 20px 48px;
  width: 100%;
}

.hero-category {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  max-width: 820px;
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
}

.meta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.meta-item .icon {
  font-size: 1rem;
  opacity: .7;
}

.reading-time {
  margin-left: auto;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .2);
}

/* ============================================================
   SOCIAL SHARE STRIP
   ============================================================ */
.share-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 30px 10px 10px 0;
  /* position: sticky; top: 71px; z-index: 800; */
}

.share-inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-btn.fb {
  background: #1877f2;
  color: #fff;
}

.share-btn.tw {
  background: #1da1f2;
  color: #fff;
}

.share-btn.wa {
  background: #25d366;
  color: #fff;
}

.share-btn.li {
  background: #0a66c2;
  color: #fff;
}

.share-btn.cp {
  background: #f1f3f6;
  color: var(--text-body);
  border: 1px solid var(--border);
}

.share-count {
  margin-left: auto;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ============================================================
   MAIN LAYOUT: TWO COLUMNS
   ============================================================ */
.page-body {
  max-width: 1240px;
  margin: 40px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--col-gap);
  align-items: start;
}

/* ============================================================
   ARTICLE COLUMN
   ============================================================ */
.article-wrap {
  min-width: 0;
}

/* TOC */
.toc-box {
  background: linear-gradient(135deg, #fff9f9 0%, #fff 100%);
  border: 1px solid #fde0e0;
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
  margin-top: 50px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-red);
  /* margin-bottom: 14px; */
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.toc-title .toc-arrow {
  transition: transform .2s;
}

.toc-title.open .toc-arrow {
  transform: rotate(90deg);
}

.toc-list {
  /* list-style: none; */
}

.toc-list li {
  border-bottom: 1px solid #f2e8e8;
  /* list-style: decimal   ; */
}

.toc-list li:last-child {
  border-bottom: none;
}

#toc-list li::marker {
  color: var(--brand-red);
}

.toc-list a {
  display: block;
  padding: 8px 0;
  font-size: .87rem;
  color: var(--text-body);
  font-weight: 500;
  transition: color .2s, padding-left .2s;
  /* counter-increment: toc-counter;     */
}

/* .toc-list a::before {
  content: counter(toc-counter, decimal-leading-zero);   
  display: inline-block;
  width: 28px;
  font-weight: 700;
  color: var(--brand-red);
  font-size: .82rem;
} */

.toc-list {
  counter-reset: toc-counter;
}

.toc-list a:hover {
  color: var(--brand-red);
  padding-left: 6px;
}

.toc-list a.active {
  color: var(--brand-red);
  font-weight: 700;
}

/* Article content */
.article-content {
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  color: var(--text-body);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  /* border-bottom: 2px solid var(--border); */
  position: relative;
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--brand-red);
}

.article-content h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 12px;
}

.article-content ul,
.article-content ol {
  padding-left: 0;
  margin-bottom: 22px;
  list-style: none;
}

.article-content ul li,
.article-content ol li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: .98rem;
  /* border-bottom: 1px solid #f4f4f8; */
}

.article-content ul li:last-child,
.article-content ol li:last-child {
  border-bottom: none;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

.article-content ol {
  counter-reset: item;
}

.article-content ol li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 24px 28px 24px 32px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border-left: 5px solid var(--brand-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.article-content blockquote::before {
  content: '"';
  position: absolute;
  top: 4px;
  left: 12px;
  font-size: 4rem;
  color: var(--brand-red);
  opacity: .18;
  line-height: 1;
}

.article-content blockquote p {
  font-size: 1.08rem;
  font-style: italic;
  color: var(--text-primary);
  margin: 0;
  font-weight: 500;
}

.article-content strong {
  font-weight: 700;
}

/* Inline images */
.article-content .post-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 30px 0;
}

.article-content .post-image img {
  width: 100%;
  object-fit: cover;
}

.article-content .img-caption {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  padding: 8px 16px 12px;
  background: #f9f9fb;
  font-style: italic;
}

/* Step cards */
.step-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-body p {
  font-size: .92rem;
  color: var(--text-body);
  margin: 0;
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #1d2a3a 100%);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--brand-red);
  opacity: .12;
}

.highlight-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.highlight-box .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-item .stat-lbl {
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  margin-top: 3px;
}

/* Tags */
.post-tags {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.tags-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-page);
  border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}

.tag:hover {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

/* Author card */
.author-card {
  background: #fe00000d;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-role {
  font-size: .8rem;
  color: var(--brand-red);
  font-weight: 600;
  margin: 2px 0 8px;
}

.author-bio {
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--brand-red) 0%, #a81017 100%);
  border-radius: var(--radius);
  padding: 44px 36px;
  margin: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(232, 35, 42, .35);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .1);
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, .85);
  font-size: 1rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: #fff;
  color: var(--brand-red);
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.btn-outline {
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, .6);
  cursor: pointer;
  letter-spacing: .04em;
  transition: border-color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

/* ============================================================
   RELATED POSTS
   ============================================================ */
.related-section {
  margin-top: 56px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--border), transparent);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 580px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.related-thumb {
  height: 160px;
  overflow: hidden;
  background: var(--brand-dark);
}

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

.related-card:hover .related-thumb img {
  transform: scale(1.06);
}

.related-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-cat {
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand-red);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.related-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.related-excerpt {
  font-size: .83rem;
  color: var(--text-muted);
  flex: 1;
}

.related-link {
  margin-top: 12px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  gap: 4px;
}

.related-link::after {
  content: '→';
  transition: margin-left .2s;
}

.related-card:hover .related-link::after {
  margin-left: 4px;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section {
  margin-top: 56px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.comment-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.comment-body {}

.comment-author {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-primary);
}

.comment-date {
  font-size: .76rem;
  color: var(--text-muted);
  margin-left: 10px;
}

.comment-text {
  font-size: .88rem;
  color: var(--text-body);
  margin-top: 6px;
  line-height: 1.65;
}

.comment-reply {
  font-size: .78rem;
  color: var(--brand-red);
  font-weight: 700;
  margin-top: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.comment-reply:hover {
  text-decoration: underline;
}

.stars {
  color: #f5a623;
  font-size: .85rem;
}

.comment-form {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
}

.comment-form h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--text-primary);
  background: var(--bg-page);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(232, 35, 42, .1);
}

.form-group textarea {
  min-height: 100px;
}

.btn-submit {
  background: var(--brand-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: .06em;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.btn-submit:hover {
  background: #c41a20;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 35, 42, .35);
}

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

.sidebar-sticky {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.widget-header {
  background: var(--brand-dark);
  color: #fff;
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-header .w-icon {
  font-size: 1rem;
}

.widget-body {
  padding: 18px 20px;
}

/* Search widget */
.search-box {
  display: flex;
  gap: 0;
}

.search-box input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: .9rem;
  outline: none;
  color: var(--text-primary);
  transition: border-color .2s;
}

.search-box input:focus {
  border-color: var(--brand-red);
}

.search-box button {
  padding: 10px 16px;
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
}

.search-box button:hover {
  background: #c41a20;
}

/* Recent posts widget */
.recent-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.recent-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-thumb {
  width: 68px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-dark);
}

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

.recent-info {}

.recent-title {
  font-size: .83rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color .2s;
  cursor: pointer;
}

.recent-title:hover {
  color: var(--brand-red);
}

.recent-date {
  font-size: .73rem;
  color: var(--text-muted);
}

/* Categories */
.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.category-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-item:hover .cat-name {
  color: var(--brand-red);
}

.cat-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.cat-name::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

.cat-count {
  background: var(--bg-page);
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* Tags cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* CTA widget */
.cta-widget {
  background: linear-gradient(135deg, var(--brand-red), #a81017);
  border: none;
  position: sticky;
  top: 30px;
}

.cta-widget .widget-body {
  padding: 24px;
  text-align: center;
}

.cta-widget h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.cta-widget p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 18px;
  line-height: 1.55;
}

.btn-white {
  background: #fff;
  color: var(--brand-red);
  font-size: .9rem;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  width: 100%;
  letter-spacing: .04em;
  transition: box-shadow .2s, transform .2s;
}

.btn-white:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, .7);
  padding: 56px 0 24px;
}

.footer-grid {
  max-width: 1240px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-about .logo-text {
  color: var(--brand-red);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-about p {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.soc-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  transition: transform .2s;
  text-decoration: none;
}

.soc-btn:hover {
  transform: translateY(-3px);
}

.soc-fb {
  background: #1877f2;
  color: #fff;
}

.soc-yt {
  background: #ff0000;
  color: #fff;
}

.soc-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.soc-wa {
  background: #25d366;
  color: #fff;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--brand-red);
}

.footer-contact p {
  font-size: .85rem;
  line-height: 1.8;
}

.footer-contact .contact-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.footer-contact .c-icon {
  color: var(--brand-red);
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .45);
  transition: color .2s;
}

.footer-bottom a:hover {
  color: var(--brand-red);
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--brand-red), var(--accent-gold));
  z-index: 9999;
  transition: width .1s linear;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232, 35, 42, .4);
  transition: transform .2s, box-shadow .2s;
}

#back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 35, 42, .45);
}

#back-top.visible {
  display: flex;
}

/* ============================================================
   MOBILE NAV TOGGLE
   ============================================================ */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--brand-dark);
  padding: 12px 20px 18px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .page-body {
    grid-template-columns: 1fr;
  }

  .sidebar-sticky {
    position: static;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .post-hero {
    min-height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reading-time {
    margin-left: 0;
  }

  .share-count {
    display: none;
  }

  .author-card {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 32px 20px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

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

  .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}


.repair-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

/* Cells */
.repair-table td {
  border: 1px solid #dcdcdc;
  padding: 10px 18px;
  transition: all .35s ease;
}

.repair-table p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  transition: .35s;
}

/* Header */
.repair-table tr:first-child td {
  background: linear-gradient(135deg, #de0303, #530000);
  color: #fff;
  text-align: center;
  letter-spacing: .5px;
}

.repair-table tr:first-child p {
  font-size: 18px;
  font-weight: 700;
  color: white !important;
}

/* Alternate rows */
.repair-table tr:nth-child(even):not(:first-child) {
  background: #f7f7f7;
}

.repair-table tr:nth-child(odd):not(:first-child) {
  background: #ececec;
}

/* Hover Row Effect */
.repair-table tr:not(:first-child) {
  cursor: pointer;
}

.repair-table tr:not(:first-child):hover {
  background: #fff;
  transform: scale(1.01);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  z-index: 2;
  position: relative;
}

/* Text animation */
.repair-table tr:not(:first-child):hover p {
  transform: translateX(6px);
  color: #111;
}

/* Smooth load animation */
.repair-table tr {
  animation: fadeUp .6s ease forwards;
  opacity: 0;
}

.repair-table tr:nth-child(2) {
  animation-delay: .1s;
}

.repair-table tr:nth-child(3) {
  animation-delay: .2s;
}

.repair-table tr:nth-child(4) {
  animation-delay: .3s;
}

.repair-table tr:nth-child(5) {
  animation-delay: .4s;
}

.repair-table tr:nth-child(6) {
  animation-delay: .5s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.youtube-frame {
  height: 350px;
}



/* FAQ */
/* ================= QA TOGGLE ACCORDION ================= */
.qa-toggle-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.qa-toggle-header {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s ease;
}

.qa-toggle-header:hover {
  background: #fdf5f5;
}

.qa-toggle-symbol {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.qa-toggle-box.expanded .qa-toggle-symbol {
  transform: rotate(45deg);
}

.qa-toggle-content {
  padding: 0 22px;
  color: #555;
  font-size: 14.5px;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.qa-toggle-box.expanded .qa-toggle-content {
  max-height: 500px;
  padding: 0 22px 20px;
}

.qa-toggle-box.expanded {
  border-color: var(--brand-red);
}

.qa-toggle-content p {
  margin: 0;
}

@media (max-width: 480px) {
  .qa-toggle-header {
    padding: 16px 18px;
    font-size: 14.5px;
  }

  .qa-toggle-content {
    font-size: 14px;
  }
}


/* new css all pages                          abcd */


/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
}

.tag {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all .2s;
  cursor: pointer;
}

.tag:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: #fff5f5;
}

.toc-inner-items {
  list-style: none !important;

  padding-left: 50px;

  li span {
    color: var(--brand-red);
  }

  li {
    font-size: .87rem;
    font-weight: 500;
  }
}


.cta-container {
  /* border: 2px solid red; */
  box-shadow: inset 0px 0px 10px red;
  border-radius: 10px;
  padding: 10px 25px;
  padding-bottom: 15px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: 25px 0px;
}

.cta-container>h2 {
  align-self: start;
  color: #fff;
  width: 70%;
}

.blog_card h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 35px;
  text-transform: capitalize;
  margin: 10px 0px;
}

.cta-container>p {
  align-self: start;
  color: #fff;
  width: 60%;
  font-weight: 600;
}

p {
  font-size: 14px;
  line-height: 25px;
  margin-bottom: 20px;
  text-align: justify;
}

#cta-btn {
  padding: 8px 15px !important;
  background: #fff;
  color: #FF0000;
  border-radius: 5px;
  margin-bottom: 25px;
}

.blog_card a {
  font-weight: 600 !important;
}

.cta-container>a {
  padding: 10px 15px !important;
  align-self: start;
}

section a,
section a:hover {
  color: #df0024;
}


.demand-section {
  display: block;
  text-decoration: none;
  padding: 22px 24px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  transition: all 0.3s ease;
}


.demand-section h2 {
  font-size: 24px;
  margin: 0 0 16px;
  color: #991b1b;
  font-weight: 700;
  line-height: 1.3;
}

.demand-section p {
  margin-bottom: 14px;
  color: #444;
}

.demand-section ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

.demand-section li {
  margin-bottom: 12px;
  color: #333;
}

.demand-section strong {
  color: #111;
}


/* table  */
.salary-section {
  max-width: 1000px;
  margin: auto;
  font-family: Arial, sans-serif;
  color: #111;
}

.salary-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.salary-section .intro,
.salary-section .note {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.salary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 35px;
  border: 2px solid #000;
}

.salary-table thead th {
  background: #ff0000;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  border: 1px solid #000;
  text-align: left;
}

.salary-table td {
  border: 1px solid #000;
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  vertical-align: top;
}

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

.challenge-box {
  display: block;
  text-decoration: none;
  background: #fff5f5;
  border: 2px solid #dc2626;
  border-radius: 10px;
  padding: 18px 20px;
  color: #222;
  font-family: Arial, sans-serif;
  transition: all 0.3s ease;
}

.challenge-box h3 {
  margin: 0 0 12px;
  color: #b91c1c;
  font-size: 20px;
  font-weight: 700;
}

.challenge-box ul {
  margin: 0;
  padding-left: 18px;
}

.challenge-box li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #333;
}

.challenge-box:hover {
  background: #fee2e2;
  border-color: #991b1b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.tool-section {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  color: #222;
}

.tool-section h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

.tool-section .intro {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
}

.tool-item {
  margin-bottom: 24px;
}

.tool-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tool-item p {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
}

.tool-item ul {
  padding-left: 20px;
  margin: 0;
}

.tool-item ul li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #333;
}

.cta-containers {
  /* border: 2px solid red; */
  box-shadow: inset 0px 0px 10px red;
  border-radius: 10px;
  padding: 10px 25px;
  padding-bottom: 15px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: 25px 0px;
}

#cta-btns {
  padding: 15px 15px;
  background: red;
  border-radius: 5px;
  color: #fff;
  margin-bottom: 25px;
}