

.post-hero {
  padding: 160px 0 160px;
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 40%, #001040 100%);
  color: #fff; position: relative; overflow: hidden;
}
.post-hero::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 60%); border-radius: 50%;
}
.post-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent);
}
.post-hero .container { position: relative; z-index: 1; max-width: 1320px; }


.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  margin-bottom: 24px; font-weight: 500; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.4; }

.post-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 107, 0, 0.12); border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 100px; font-size: 0.72rem; font-weight: 700;
  color: var(--orange-400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px;
}
.post-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 24px; max-width: 800px;
}
.post-hero-meta {
  display: flex; align-items: center; gap: 20px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); flex-wrap: wrap;
}
.post-hero-meta-item { display: flex; align-items: center; gap: 8px; }
.post-hero-meta-item svg { width: 16px; height: 16px; stroke: var(--orange-400); }
.post-hero-meta-sep { width: 4px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 50%; }


.post-featured-image { margin-top: -100px; position: relative; z-index: 2; }
.post-featured-image .container { max-width: 1320px; }
.post-featured-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0, 26, 77, 0.15);
}


.article-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 64px;
  padding: 64px 0 120px; max-width: 1200px; margin: 0 auto;
}
.article-content { max-width: 760px; }
.article-content h2 {
  font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 48px 0 16px; color: var(--gray-800); line-height: 1.2;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 1.3rem; font-weight: 700; margin: 36px 0 12px; color: var(--gray-800); line-height: 1.3; }
.article-content p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 20px; }
.article-content strong { color: var(--gray-800); font-weight: 700; }
.article-content ul,
.article-content ol { margin: 16px 0 24px 24px; }
.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }
.article-content li { font-size: 1rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 8px; padding-left: 8px; }
.article-content ul > li { list-style: disc outside; }
.article-content ol > li { list-style: decimal outside; }
.article-content blockquote {
  border-left: 4px solid var(--accent-orange); padding: 20px 28px;
  margin: 32px 0; background: var(--gray-50); border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content blockquote p { font-size: 1.1rem; font-weight: 500; color: var(--gray-700); font-style: italic; margin-bottom: 0; }
.article-content a {
  color: var(--accent-orange); font-weight: 600; transition: color 0.2s ease;
  text-decoration: underline; text-decoration-color: rgba(0, 85, 255, 0.2); text-underline-offset: 3px;
}
.article-content a:hover { color: var(--accent-orange); text-decoration-color: rgba(255, 107, 0, 0.3); }

.article-img { margin: 36px 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.article-img img { width: 100%; height: auto; }
.article-img-caption { padding: 12px 20px; font-size: 0.82rem; color: var(--gray-400); font-style: italic; text-align: center; background: var(--gray-50); }

.info-box { background: #FFF6F0; border-radius: var(--radius); padding: 24px 28px; margin: 28px 0; }
.info-box-title {
  display: flex; align-items: center; gap: 8px; font-size: 0.88rem;
  font-weight: 700; color: var(--orange-500); margin-bottom: 10px;
}
.info-box-title svg { width: 18px; height: 18px; stroke: var(--accent-orange); }
.info-box p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 0; }

.comparison-table-wrapper { margin: 32px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table thead { background: var(--orange-900); color: #fff; }
.comparison-table th {
  padding: 14px 20px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; text-align: left; color: #000;
}
.comparison-table td { padding: 12px 20px; font-size: 0.88rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) { background: var(--gray-50); }

/* WordPress default table styles in article content - same as comparison-table */
.article-content table,
.wp-block-table {
  width: 100%; border-collapse: collapse; margin: 32px 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200) !important;
}
.article-content table td,
.article-content table th,
.wp-block-table td,
.wp-block-table th {
  border-color: var(--gray-100) !important;
}
.article-content thead,
.wp-block-table thead { background: var(--orange-900); color: #fff; }
.article-content th,
.wp-block-table th {
  padding: 14px 20px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; text-align: left; color: #000;
}
.article-content td,
.wp-block-table td { padding: 12px 20px; font-size: 0.88rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100) !important; }
.article-content tr:last-child td,
.wp-block-table tr:last-child td { border-bottom: none !important; }
.article-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) { background: var(--gray-50); }

.material-tag {
  display: inline-block; padding: 3px 10px; background: #FFF6F0; border-radius: 6px;
  font-size: 0.78rem; font-family: var(--font-mono); color: var(--orange-500); font-weight: 600;
}


.article-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.article-tag {
  padding: 6px 16px; background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 100px; font-size: 0.78rem; font-weight: 600; color: var(--gray-500);
  transition: all 0.2s ease;
}
.article-tag:hover { background: var(--blue-50); border-color: var(--blue-200); color: var(--accent-blue); }

.share-section { display: flex; align-items: center; gap: 16px; }
.share-label { font-size: 0.82rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; }
.share-btn {
  width: 40px; height: 40px; border-radius: 10px; background: var(--gray-50);
  border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease;
}
.share-btn:hover { background: var(--blue-50); border-color: var(--blue-200); }
.share-btn svg { width: 18px; height: 18px; fill: var(--gray-500); }
.share-btn:hover svg { fill: var(--accent-blue); }


.author-box {
  display: flex; gap: 24px; align-items: center;
  padding: 32px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-top: 48px;
}
.author-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gradient-orange); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 900; font-size: 1.4rem; color: #fff;
}
.author-info h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.author-info .author-role { font-size: 0.82rem; color: var(--accent-orange); font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }


.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.post-nav-item {
  padding: 28px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease); cursor: pointer;
}
.post-nav-item:hover { border-color: var(--blue-200); box-shadow: 0 12px 40px rgba(0, 26, 77, 0.08); transform: translateY(-3px); }
.post-nav-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray-400); font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.post-nav-label svg { width: 14px; height: 14px; stroke: var(--gray-400); }
.post-nav-title { font-size: 1rem; font-weight: 700; color: var(--gray-800); line-height: 1.4; }
.post-nav-item:hover .post-nav-title { color: var(--accent-orange); }
.post-nav-item.next { text-align: right; }
.post-nav-item.next .post-nav-label { justify-content: flex-end; }


.article-sidebar { position: sticky; top: 100px; align-self: start; }

.toc { margin-bottom: 32px; }
.toc-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gray-400); font-weight: 700; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gray-100);
}
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 4px; }
.toc-list a {
  display: block; padding: 8px 14px; font-size: 0.85rem; font-weight: 500;
  color: var(--gray-500); border-radius: 8px; border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.toc-list a:hover { color: var(--accent-orange); background: var(--orange-50); border-left-color: var(--accent-orange); }
.toc-list a.active {
  color: var(--accent-orange); background: rgba(255, 107, 0, 0.06);
  border-left-color: var(--accent-orange); font-weight: 600;
}
.toc-list .toc-sub { padding-left: 16px; }
.toc-list .toc-sub a { font-size: 0.82rem; padding: 6px 14px; }

.sidebar-widget { margin-bottom: 32px; }
.sidebar-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gray-400); font-weight: 700; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gray-100);
}

.related-post { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); cursor: pointer; }
.related-post:last-child { border-bottom: none; }
.related-post:hover .related-post-title { color: var(--accent-orange); }
.related-post-img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.related-post-img img { width: 100%; height: 100%; object-fit: cover; }
.related-post-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.related-post-title {
  font-size: 0.85rem; font-weight: 600; color: var(--gray-700); line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.2s ease;
}
.related-post-date { font-size: 0.72rem; color: var(--gray-400); font-family: var(--font-mono); }

.sidebar-cta {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius-lg); padding: 28px; color: #fff; position: relative; overflow: hidden;
}
.sidebar-cta::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%); border-radius: 50%;
}
.sidebar-cta h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; position: relative; }
.sidebar-cta p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 20px; position: relative; }
.sidebar-cta a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px;
  background: var(--accent-orange); color: #fff; font-weight: 700; font-size: 0.82rem;
  border-radius: 100px; position: relative; transition: all var(--transition);
}
.sidebar-cta a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4); }


.related-section { background: var(--gray-50); padding: 100px 0; border-top: 1px solid var(--gray-200); }
.related-section .section-label {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-mono);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent-blue); font-weight: 700; margin-bottom: 16px;
}
.related-section .section-label::before { content: ''; width: 24px; height: 2px; background: var(--accent-blue); }
.related-section .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 48px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.4s var(--ease); cursor: pointer;
}
.related-card:hover { border-color: var(--blue-200); box-shadow: 0 20px 60px rgba(0, 26, 77, 0.1); transform: translateY(-6px); }
.related-card-img { height: 200px; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.related-card:hover .related-card-img img { transform: scale(1.06); }
.related-card-body { padding: 24px; }
.related-card-tag {
  display: inline-block; padding: 4px 12px; background: var(--orange-50);
  border-radius: 100px; font-size: 0.7rem; font-weight: 700;
  color: var(--accent-orange); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px;
}
.related-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; color: var(--gray-800); }
.related-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--gray-100);
}
.related-card-date { font-size: 0.75rem; color: var(--gray-400); font-family: var(--font-mono); }
.related-card-arrow { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--accent-orange); }


@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; max-width: 760px; }
  .article-sidebar { display: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { text-align: left; }
  .post-nav-item.next .post-nav-label { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .post-hero { padding: 50px 0 150px; }
  .article-layout { padding: 30px 0; }
  .post-featured-image img { height: 280px; }
  .related-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
}

