
/* Guarantee Sticky Sidebar functionality */
html:has(body.vip-blog-body),
body.vip-blog-body {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

/**
 * Variety Industrial Products - Premium Engineering Blog Single Post Stylesheet
 * Scoped to body.vip-blog-body
 * Design: High-Precision Industrial / Apple Minimalist Engineering Aesthetic
 * Palette: Navy (#0A2540), Accent Orange (#F37021 / #FF9E1B), Clean Slate (#F8FAFC / #FFFFFF)
 */

body.vip-blog-body {
  background-color: #F8FAFC !important;
  color: #1E293B;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  font-size: 1.0625rem; /* 17px */
  overflow-x: clip !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Link Reset */
.vip-blog-body a {
  transition: all 0.2s ease;
}

/* Article Content Links (Clean, No Ugly Thick Underlines) */
.vip-article-content a {
  color: #F37021;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(243, 112, 33, 0.35);
  padding-bottom: 1px;
}

.vip-article-content a:hover {
  color: #D35400;
  border-bottom-color: #D35400;
  background: rgba(243, 112, 33, 0.06);
  border-radius: 2px;
}

/* Nav & header resets (inherit standard header styling) */
.vip-blog-body .header a,
.vip-blog-body .footer a,
.vip-blog-body .btn,
.vip-blog-body .vip-toc a,
.vip-blog-body .vip-related-card a,
.vip-blog-body .vip-breadcrumb a,
.vip-blog-body .vip-inarticle-cta a,
.vip-blog-body .vip-sidebar-rfq-card a {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Main Container */
.vip-blog-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   1. ARTICLE HERO SECTION
   ========================================================= */
.vip-article-hero {
  padding-top: 125px;
  padding-bottom: 2.75rem;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

/* Breadcrumb */
.vip-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1.35rem;
}

.vip-breadcrumb a {
  color: #64748B;
  font-weight: 500;
}

.vip-breadcrumb a:hover {
  color: #F37021;
}

.vip-breadcrumb .sep {
  color: #CBD5E1;
  font-size: 0.7rem;
}

.vip-breadcrumb .current {
  color: #0A2540;
  font-weight: 600;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category & Metadata Strip */
.vip-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #64748B;
}

.vip-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(243, 112, 33, 0.1);
  color: #F37021;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vip-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.vip-meta-item i {
  color: #F37021;
}

/* H1 Article Title */
.vip-article-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(2.1rem, 3.8vw, 3.35rem) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  color: #0A2540 !important;
  letter-spacing: -0.025em !important;
  margin: 0 0 1.25rem 0 !important;
  max-width: 1040px;
}

/* Lead Intro */
.vip-article-lead {
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: #475569;
  max-width: 960px;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

/* Hero Image Card (Natural Full Aspect Ratio, Zero Crop, Complete Engineering Clarity) */
.vip-hero-img-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 1.75rem auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(10, 37, 64, 0.12);
  border: 1px solid rgba(10, 37, 64, 0.08);
  background: #0A2540;
  position: relative;
}

.vip-hero-img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}

.vip-hero-img-caption {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  color: #64748B;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vip-hero-img-caption i {
  color: #F37021;
}

/* =========================================================
   2. MAIN ARTICLE LAYOUT (Grid: Article Body + Sticky Sidebar)
   ========================================================= */
.vip-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 3.5rem;
  padding: 3.5rem 0 5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .vip-article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0 4rem;
  }
}

/* =========================================================
   3. ARTICLE BODY CONTENT
   ========================================================= */
.vip-article-content {
  background: #FFFFFF;
  padding: 3.25rem;
  border-radius: 20px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.03);
}

@media (max-width: 768px) {
  .vip-article-content {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
}

/* Headings in Content */
.vip-article-content h2 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #0A2540 !important;
  letter-spacing: -0.015em !important;
  margin: 3rem 0 1.15rem 0 !important;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #F1F5F9;
  scroll-margin-top: 110px;
}

.vip-article-content h2:first-of-type {
  margin-top: 0 !important;
}

.vip-article-content h3 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #0A2540 !important;
  margin: 2.25rem 0 0.85rem 0 !important;
  scroll-margin-top: 110px;
}

.vip-article-content h4 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  margin: 1.75rem 0 0.6rem 0 !important;
}

.vip-article-content p {
  margin: 0 0 1.4rem 0;
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.vip-article-content strong {
  color: #0A2540;
  font-weight: 700;
}

.vip-article-content ul,
.vip-article-content ol {
  margin: 0 0 1.6rem 1.5rem;
  padding: 0;
  color: #334155;
}

.vip-article-content li {
  margin-bottom: 0.65rem;
  line-height: 1.75;
}

.vip-article-content li::marker {
  color: #F37021;
}

/* Technical Note / Callout Box */
.vip-callout {
  background: #F8FAFC;
  border-left: 4px solid #F37021;
  border-radius: 0 12px 12px 0;
  padding: 1.35rem 1.6rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.03);
}

.vip-callout-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #0A2540;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.vip-callout-title i {
  color: #F37021;
}

.vip-callout p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   4. TECHNICAL DATA TABLES (Responsive & Clean)
   ========================================================= */
.vip-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2.5rem 0;
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.04);
}

.vip-tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
  min-width: 620px;
}

.vip-tech-table thead {
  background: #0A2540;
  color: #FFFFFF;
}

.vip-tech-table th {
  padding: 1.1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-tech-table th:last-child {
  border-right: none;
}

.vip-tech-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  color: #334155;
  line-height: 1.55;
  vertical-align: middle;
}

.vip-tech-table td:last-child {
  border-right: none;
}

.vip-tech-table tbody tr:nth-child(even) {
  background-color: #F8FAFC;
}

.vip-tech-table tbody tr:hover {
  background-color: rgba(243, 112, 33, 0.04);
}

/* =========================================================
   5. IN-ARTICLE ENGINEERING RFQ BANNER
   ========================================================= */
.vip-inarticle-cta {
  background: linear-gradient(135deg, #0A2540 0%, #153E65 100%);
  border-radius: 18px;
  padding: 2.5rem;
  margin: 3.5rem 0;
  color: #FFFFFF;
  box-shadow: 0 18px 40px -8px rgba(10, 37, 64, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #F37021;
}

.vip-inarticle-cta h4 {
  font-family: 'Space Grotesk', sans-serif !important;
  color: #FFFFFF !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.25;
}

.vip-inarticle-cta p {
  color: #E2E8F0 !important;
  margin: 0 !important;
  font-size: 1.025rem;
  line-height: 1.65;
}

.vip-inarticle-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.vip-btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F37021;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.85rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.4);
}

.vip-btn-cta-primary:hover {
  background: #D35400;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 112, 33, 0.5);
}

.vip-btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.vip-btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* =========================================================
   6. FAQ SECTION (Interactive, Clean Accordion)
   ========================================================= */
.vip-faq-section {
  margin: 3.5rem 0 2rem 0;
  padding-top: 2.25rem;
  border-top: 2px solid #F1F5F9;
}

.vip-faq-header {
  margin-bottom: 2rem;
}

.vip-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vip-faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.vip-faq-item[open] {
  border-color: #F37021;
  box-shadow: 0 6px 20px rgba(243, 112, 33, 0.08);
}

.vip-faq-question {
  padding: 1.35rem 1.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0A2540;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  list-style: none;
  user-select: none;
}

.vip-faq-question::-webkit-details-marker {
  display: none;
}

.vip-faq-icon {
  font-size: 0.85rem;
  color: #F37021;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.vip-faq-item[open] .vip-faq-icon {
  transform: rotate(180deg);
}

.vip-faq-answer {
  padding: 0 1.6rem 1.5rem 1.6rem;
  color: #475569;
  font-size: 1.025rem;
  line-height: 1.75;
}

.vip-faq-answer p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   7. STICKY SIDEBAR (TOC + RFQ + Featured Product)
   ========================================================= */
/* Sticky Sidebar on Desktop */
.vip-blog-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 95px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.vip-blog-sidebar::-webkit-scrollbar {
  width: 4px;
}
.vip-blog-sidebar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

/* Sidebar Featured Product Card ("Chota Box" - Sticky on Right) */
.vip-sidebar-product-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-left: 4px solid #F37021;
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vip-sidebar-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
}

.vip-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F37021;
  margin-bottom: 0.45rem;
}

.vip-product-name {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0A2540 !important;
  margin: 0 0 0.45rem 0 !important;
  line-height: 1.35 !important;
}

.vip-product-desc {
  font-size: 0.85rem !important;
  color: #64748B !important;
  line-height: 1.5 !important;
  margin: 0 0 0.85rem 0 !important;
}

.vip-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #F37021 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: gap 0.2s ease, color 0.2s ease;
}

.vip-product-link:hover {
  color: #D35400 !important;
  gap: 0.6rem;
}

.vip-sidebar-badge {
  color: #FF9E1B;
  font-weight: 700;
  font-size: 0.725rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}

/* Table of Contents Card */
.vip-toc-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.04);
}

.vip-toc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A2540;
  margin: 0 0 1.15rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #F1F5F9;
}

.vip-toc-title i {
  color: #F37021;
}

.vip-toc-nav {
  max-height: calc(100vh - 380px);
  overflow-y: auto;
  padding-right: 0.25rem;
}

/* Sleek Scrollbar for TOC */
.vip-toc-nav::-webkit-scrollbar {
  width: 4px;
}
.vip-toc-nav::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.vip-toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vip-toc-nav li {
  margin: 0;
  padding: 0;
}

.vip-toc-nav a {
  display: block;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.45;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.vip-toc-nav a:hover,
.vip-toc-nav a.active {
  color: #F37021;
  background: rgba(243, 112, 33, 0.08);
  border-left-color: #F37021;
  padding-left: 0.85rem;
  font-weight: 600;
}

/* Sidebar RFQ Card */
.vip-sidebar-rfq-card {
  background: linear-gradient(135deg, #0A2540 0%, #153E65 100%);
  border-radius: 18px;
  padding: 1.75rem;
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #F37021;
}

.vip-sidebar-rfq-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.vip-sidebar-rfq-card p {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

.vip-sidebar-rfq-card .vip-btn-cta-primary {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
}

.vip-sidebar-contact-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.vip-sidebar-contact-info a {
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vip-sidebar-contact-info a:hover {
  color: #F37021;
}

/* =========================================================
   8. RELATED ARTICLES SECTION
   ========================================================= */
.vip-related-section {
  padding: 4.5rem 0 5.5rem;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
}

.vip-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.vip-section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: #F37021;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.vip-section-title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(1.85rem, 3vw, 2.5rem) !important;
  font-weight: 700 !important;
  color: #0A2540 !important;
  margin: 0 !important;
}

.vip-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.vip-related-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.08);
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vip-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 37, 64, 0.1);
}

.vip-related-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  position: relative;
  background: #0A2540;
}

.vip-related-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.vip-related-card:hover .vip-related-card-img {
  transform: scale(1.04);
}

.vip-related-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vip-related-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  color: #64748B;
}

.vip-related-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.35;
  margin: 0 0 0.75rem 0;
}

.vip-related-card-excerpt {
  font-size: 0.925rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.vip-related-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #F37021 !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
}

.vip-related-card-link:hover {
  color: #D35400 !important;
  gap: 0.6rem;
}


/* Responsive: Hide 3 right-side bars on mobile completely */
@media (max-width: 1024px) {
  .vip-blog-sidebar {
    display: none !important;
  }
  .vip-article-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 2.25rem 0 3.75rem !important;
  }
  .vip-hero-img-wrap,
  .vip-hero-img-caption {
    max-width: 100% !important;
  }
}
