/* Blog SEO & GEO Enhanced Styling */
.insight-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 24px 80px;
  color: #24352f;
  line-height: 1.75;
  font-size: 16.5px;
}

.geo-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e0e8e3;
  font-size: 13.5px;
  color: #556860;
}
.geo-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.geo-meta-badge {
  background: #eaf3ee;
  color: #195242;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
}

/* GEO Direct Answer / Key Takeaways Box */
.geo-direct-answer {
  background: #f4f8f5;
  border: 1px solid #c9ded2;
  border-left: 5px solid #1a5b48;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0 40px;
}
.geo-direct-answer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.geo-direct-answer-head strong {
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a5b48;
  font-weight: 700;
}
.geo-direct-answer p {
  font-size: 16px;
  line-height: 1.65;
  color: #16362b;
  margin: 0 0 10px;
}
.geo-direct-answer ul {
  margin: 10px 0 0 20px;
  padding: 0;
  color: #1e4537;
  font-size: 15px;
}
.geo-direct-answer li {
  margin-bottom: 6px;
}

/* Article Headings */
.insight-article h2 {
  font-size: 26px;
  font-weight: 700;
  color: #123026;
  margin: 48px 0 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.insight-article h3 {
  font-size: 20px;
  font-weight: 600;
  color: #163e32;
  margin: 32px 0 12px;
  line-height: 1.35;
}
.insight-article p {
  margin: 0 0 20px;
}

/* Responsive High-Density Data Tables */
.geo-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0 40px;
  border-radius: 12px;
  border: 1px solid #dbe5df;
  box-shadow: 0 4px 14px rgba(18, 48, 38, 0.04);
}
.geo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 680px;
}
.geo-table th {
  background: #14352b;
  color: #fff;
  font-weight: 600;
  padding: 14px 16px;
  letter-spacing: 0.02em;
}
.geo-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e5ece7;
  color: #2b3d36;
}
.geo-table tr:nth-child(even) {
  background: #fbfdfc;
}
.geo-table tr:hover {
  background: #f3f7f4;
}
.geo-table td strong {
  color: #13392d;
}

/* Checklist Cards */
.geo-checklist {
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 30px 0 40px;
}
.geo-checklist h3 {
  margin-top: 0;
  color: #184c3c;
}
.geo-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.geo-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
}
.geo-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #1b6851;
  font-weight: bold;
}

/* Visual Image in Article */
.geo-article-img {
  margin: 36px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dce4de;
}
.geo-article-img img {
  width: 100%;
  height: auto;
  display: block;
}
.geo-article-img figcaption {
  font-size: 13px;
  color: #60736b;
  text-align: center;
  padding: 10px 14px;
  background: #f9fbf9;
}

/* FAQ Accordion Section */
.geo-faq-section {
  margin: 50px 0 40px;
  padding-top: 36px;
  border-top: 2px solid #e0e8e3;
}
.geo-faq-section h2 {
  margin-top: 0;
  margin-bottom: 24px;
}
.geo-faq-item {
  border: 1px solid #dce4de;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}
.geo-faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #14352b;
  cursor: pointer;
  background: #f9fbf9;
}
.geo-faq-item summary:hover {
  background: #f1f6f3;
}
.geo-faq-item p {
  padding: 16px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3b5047;
}

/* In-Article Conversion Callout */
.geo-article-cta {
  background: linear-gradient(135deg, #102d24, #1b4d3e);
  color: #fff;
  border-radius: 16px;
  padding: 36px 36px;
  margin: 50px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.geo-article-cta h3 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 8px;
}
.geo-article-cta p {
  color: #d2e4dc;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.geo-cta-btn {
  background: #fff;
  color: #12362b;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.geo-cta-btn:hover {
  background: #e3ede7;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .geo-article-cta { flex-direction: column; align-items: flex-start; }
  .insight-article h2 { font-size: 22px; }
  .geo-direct-answer { padding: 18px 20px; }
}

/* Featured Image in Blog Post Detail Page */
.article-featured-media {
  width: 100%;
  height: 440px;
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0 32px;
  box-shadow: 0 12px 36px rgba(16, 44, 34, 0.09);
  background: #eef3f0;
  position: relative;
}
.article-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-featured-caption {
  font-size: 13px;
  color: #6a8278;
  margin: -22px 0 28px 4px;
  font-style: italic;
}

/* Related Guides Section in Blog Detail Page */
.related-guides-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 2px solid #e5ede8;
}
.related-guides-head {
  margin-bottom: 28px;
}
.related-guides-head h3 {
  font-size: 26px;
  color: #142822;
  margin: 0 0 8px;
}
.related-guides-head p {
  color: #5d736a;
  margin: 0;
  font-size: 15px;
}
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Dual-color overlapping metadata badge bar */
.v2-blog-badge-bar {
  display: inline-flex;
  align-items: center;
  margin-top: -20px;
  margin-left: 16px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.16));
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  width: max-content;
}
.v2-badge-author {
  background: #f05a28;
  color: #fff;
  padding: 7px 20px 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%);
  z-index: 2;
}
.v2-badge-author svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.v2-badge-date {
  background: #14231e;
  color: #e3ede8;
  padding: 7px 12px 7px 16px;
  margin-left: -7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 0 4px 4px 0;
  z-index: 1;
}
.v2-badge-date svg {
  width: 13px;
  height: 13px;
  color: #f05a28;
}

.v2-blog-card { 
  background: #fff; 
  border: 1px solid #e4ece7; 
  border-radius: 12px; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  box-shadow: 0 10px 28px rgba(16, 44, 34, 0.06); 
  transition: transform 0.28s ease, box-shadow 0.28s ease; 
}
.v2-blog-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 18px 38px rgba(16, 44, 34, 0.12); 
}
.v2-blog-media { 
  height: 200px; 
  width: 100%; 
  overflow: hidden; 
  background: #eef3f0; 
  position: relative; 
}
.v2-blog-media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.4s ease; 
  display: block; 
}
.v2-blog-card:hover .v2-blog-media img { 
  transform: scale(1.05); 
}
.v2-blog-content { 
  padding: 22px 20px 24px; 
  display: flex; 
  flex-direction: column; 
  flex-grow: 1; 
}
.v2-blog-card h4, .v2-blog-card h3 { 
  font-size: 17px; 
  font-weight: 700; 
  color: #142822; 
  line-height: 1.35; 
  margin: 8px 0 10px; 
  min-height: 46px;
}
.v2-blog-card p { 
  font-size: 13px; 
  color: #5d736a; 
  line-height: 1.6; 
  margin: 0 0 18px; 
  flex-grow: 1; 
}
.v2-blog-link { 
  font-size: 11.5px; 
  font-weight: 700; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  color: #174838; 
  text-decoration: underline; 
  text-underline-offset: 4px; 
  display: inline-flex; 
  align-items: center; 
  gap: 5px; 
  align-self: flex-start;
  margin-top: auto;
}
.v2-blog-link:hover { 
  color: #f05a28; 
}

@media (max-width: 900px) {
  .article-featured-media { height: 280px; }
  .related-guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-featured-media { height: 210px; }
  .related-guides-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Naikedinner-Style B2B Two-Column Layout & Sticky RFQ Sidebar
   ========================================================================== */

.insight-article {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 40px 24px 80px !important;
}

/* Two-column layout grid */
.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 46px;
  align-items: start;
}

.article-main-body {
  min-width: 0;
}

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

/* ==========================================================================
   Table of Contents (TOC) Component
   ========================================================================== */
.nk-article-toc {
  background: #f8fbf9;
  border: 1px solid #d7e6dc;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 28px 0 36px;
  box-shadow: 0 4px 14px rgba(24, 63, 38, 0.04);
}
.nk-article-toc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1ede5;
}
.nk-article-toc-head svg {
  width: 20px;
  height: 20px;
  color: #1b6851;
}
.nk-article-toc-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #14382c;
  margin: 0;
}
.nk-article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nk-article-toc-list li {
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.45;
}
.nk-article-toc-list a {
  color: #2a5243;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.nk-article-toc-list a:hover {
  color: #3eae5b;
  transform: translateX(4px);
}
.nk-article-toc-num {
  font-weight: 700;
  color: #1b6851;
  font-size: 13px;
  min-width: 22px;
}

/* ==========================================================================
   Naikedinner-Inspired RFQ Sidebar Card (.nk-article-rfq-card)
   ========================================================================== */
.nk-article-rfq-card {
  margin: 0;
  padding: 24px 22px 22px;
  border: 1px solid #d5e4da;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(24, 63, 38, 0.08);
}
.nk-article-rfq-title {
  margin: 0 0 6px;
  color: #183f26;
  font-size: 22px !important;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nk-article-rfq-intro {
  margin: 0 0 18px;
  color: #5f7165;
  font-size: 13px;
  line-height: 1.5;
}
.nk-rfq-field-group {
  min-width: 0;
  padding: 0;
  margin-bottom: 13px;
}
.nk-rfq-label {
  display: block;
  margin-bottom: 5px;
  color: #274435;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}
.nk-rfq-label span.req {
  color: #d93829;
  margin-left: 2px;
}
.nk-rfq-input,
.nk-rfq-select,
.nk-rfq-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #cad8ce;
  border-radius: 8px;
  background: #ffffff;
  color: #243b2c;
  font-size: 13.5px;
  line-height: 1.45;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nk-rfq-input:focus,
.nk-rfq-select:focus,
.nk-rfq-textarea:focus {
  outline: none;
  border-color: #3eae5b;
  box-shadow: 0 0 0 3px rgba(62, 174, 91, 0.15);
}
.nk-rfq-textarea {
  min-height: 84px;
  resize: vertical;
}
.nk-rfq-consent {
  margin: 10px 0 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.nk-rfq-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #3eae5b;
  cursor: pointer;
}
.nk-rfq-consent label {
  color: #65776a;
  font-size: 11.5px;
  line-height: 1.45;
  cursor: pointer;
}
.nk-rfq-btn-submit {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  background: #3eae5b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(62, 174, 91, 0.25);
}
.nk-rfq-btn-submit:hover {
  background: #298c45;
  transform: translateY(-1px);
}
.nk-rfq-btn-submit:active {
  transform: translateY(1px);
}

/* ==========================================================================
   Sidebar Factory Trust & Capabilities Card
   ========================================================================== */
.nk-sidebar-trust-card {
  border: 1px solid #d5e4da;
  border-radius: 16px;
  background: #ffffff;
  padding: 22px 20px;
  box-shadow: 0 10px 26px rgba(24, 63, 38, 0.05);
}
.nk-sidebar-trust-title {
  font-size: 16px;
  font-weight: 700;
  color: #183f26;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5eee8;
}
.nk-sidebar-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nk-sidebar-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #314a3e;
  line-height: 1.45;
}
.nk-sidebar-trust-icon {
  width: 18px;
  height: 18px;
  color: #3eae5b;
  flex-shrink: 0;
  margin-top: 1px;
}
.nk-sidebar-trust-list strong {
  color: #133928;
}

/* ==========================================================================
   Sidebar Popular Guides Card
   ========================================================================== */
.nk-sidebar-guides-card {
  border: 1px solid #d5e4da;
  border-radius: 16px;
  background: #ffffff;
  padding: 22px 20px;
  box-shadow: 0 10px 26px rgba(24, 63, 38, 0.05);
}
.nk-sidebar-guides-title {
  font-size: 16px;
  font-weight: 700;
  color: #183f26;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5eee8;
}
.nk-sidebar-guides-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nk-sidebar-guides-list li {
  padding: 0;
  margin: 0;
}
.nk-sidebar-guides-list a {
  text-decoration: none;
  display: block;
}
.nk-sidebar-guides-list a .guide-title {
  font-size: 13.5px;
  font-weight: 650;
  color: #1b4231;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.18s ease;
}
.nk-sidebar-guides-list a:hover .guide-title {
  color: #3eae5b;
}
.nk-sidebar-guides-list .guide-meta {
  font-size: 11.5px;
  color: #6a8276;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .article-sidebar {
    position: static;
    margin-top: 20px;
  }
}


/* Smooth Scrolling & Heading Anchor Offsets for TOC */
html {
  scroll-behavior: smooth;
}

.insight-article h2[id],
.insight-article h3[id] {
  scroll-margin-top: 90px;
}


/* Responsive Image & Table Safeguards */
.insight-article img,
.article-main img,
.article-content img {
  max-width: 100% !important;
  height: auto !important;
}

.insight-article table,
.article-main table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

@media (max-width: 768px) {
  .insight-article table,
  .article-main table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* Global SVG safety constrain */
svg {
  max-width: 100%;
  box-sizing: content-box;
}
.article-sidebar svg,
.nk-rfq-card svg,
.nk-sidebar-trust-card svg {
  max-width: 24px !important;
  max-height: 24px !important;
}
.nk-sidebar-trust-card {
  display: none !important;
}
