/* ============================================================
   Hindustan Nylons – Blog Stylesheet
   Color palette extracted from hindustanptfe.com:
   Primary Navy  : #003366
   Accent Blue   : #0055A5
   Highlight     : #E8A020  (gold/amber)
   Light BG      : #F4F7FB
   Text Dark     : #1A1A2E
   Text Mid      : #444455
   Border Light  : #D8E4F0
   White         : #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Barlow+Condensed:wght@600;700;800&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #003366;
  --blue:       #0055A5;
  --blue-light: #1a6fc4;
  --gold:       #E8A020;
  --gold-light: #F5C55A;
  --bg-light:   #F4F7FB;
  --bg-white:   #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-mid:   #3D4A5C;
  --text-soft:  #677A90;
  --border:     #D8E4F0;
  --border-dark:#B8CCDF;
  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow-sm:  0 2px 8px rgba(0,51,102,0.08);
  --shadow-md:  0 4px 20px rgba(0,51,102,0.12);
  --shadow-lg:  0 8px 40px rgba(0,51,102,0.16);
  --max-width:  1200px;
  --content-w:  780px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

/* ── TOP UTILITY BAR ── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 7px 0;
  letter-spacing: 0.01em;
}
.top-bar .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar a { color: var(--gold-light); text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar .contact-items { display: flex; gap: 20px; align-items: center; }
.top-bar .contact-items span { display: flex; align-items: center; gap: 6px; }

/* ── SITE HEADER ── */
.site-header {
  background: var(--bg-white);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.site-logo .logo-main {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.site-logo .logo-sub {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── NAV ── */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: all 0.18s;
}
.site-nav a:hover { color: var(--blue); background: var(--bg-light); }
.site-nav a.active { color: var(--blue); background: #E6EEF8; }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-soft);
}
.breadcrumb .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ── BLOG HERO ── */
.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #00214D 60%, #001830 100%);
  color: #fff;
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px);
}
.blog-hero .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.blog-hero .category-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.blog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 800px;
}
.blog-hero .hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  align-items: center;
}
.blog-hero .hero-meta strong { color: rgba(255,255,255,0.9); }
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 20px 0 0;
  line-height: 1.6;
  font-family: var(--font-serif);
  font-style: italic;
}

/* ── MAIN LAYOUT ── */
.blog-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { order: -1; }
}

/* ── ARTICLE CONTENT ── */
.article-body { min-width: 0; }

.article-body h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold);
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.01em;
}
.article-body h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5rem 0 0.5rem;
}
.article-body p {
  margin-bottom: 1.2rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--navy); }

/* ── LEAD PARAGRAPH ── */
.lead {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-dark);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 2rem !important;
}

/* ── SPEC TABLE ── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
}
.spec-table tbody tr:nth-child(even) { background: var(--bg-light); }
.spec-table tbody tr:hover { background: #E6EEF8; }
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 1.5rem 0;
}
.info-box.gold { border-left-color: var(--gold); }
.info-box.green { border-left-color: #2E8B57; background: #F0FAF4; border-color: #C0E0CC; }
.info-box p { margin-bottom: 0.5rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box .box-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.info-box.gold .box-title { color: #B07010; }
.info-box.green .box-title { color: #1E6B3E; }

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 1.5rem 0 2rem;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card .fc-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 22px;
}
.feature-card h4 { font-size: 15px; margin-bottom: 6px; color: var(--navy); }
.feature-card p { font-size: 13px; color: var(--text-soft); margin: 0; line-height: 1.5; }

/* ── GRADE TABLE ── */
.grade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 1.5rem 0 2rem;
}
.grade-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.grade-card .grade-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
.grade-card ul { list-style: none; padding: 0; }
.grade-card ul li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.grade-card ul li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ── UL/OL styling ── */
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 1.2rem;
}
.article-body li {
  margin-bottom: 6px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── CALLOUT QUOTE ── */
.pullquote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--navy);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 24px 32px;
  margin: 2.5rem 0;
  text-align: center;
  line-height: 1.5;
}

/* ── FAQ SECTION ── */
.faq-section { margin: 2rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: var(--bg-light);
  border: none;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
}
.faq-q:hover { background: #E6EEF8; }
.faq-q .faq-icon {
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--navy); }
.faq-a {
  display: none;
  padding: 16px 20px 20px;
  background: #fff;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, var(--navy), #00214D);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-box h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 10px;
}
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,0.4); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); margin-left: 12px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.widget-head {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 18px;
}
.widget-body { padding: 16px 18px; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { border-bottom: 1px solid var(--border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
}
.toc-list a:hover { color: var(--blue); padding-left: 6px; }
.toc-list .toc-num {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  margin-right: 8px;
  flex-shrink: 0;
}
.product-list { list-style: none; padding: 0; margin: 0; }
.product-list li { border-bottom: 1px solid var(--border); }
.product-list li:last-child { border-bottom: none; }
.product-list a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-list a::before { content: '›'; color: var(--gold); font-weight: 700; font-size: 16px; }
.product-list a:hover { color: var(--blue); padding-left: 4px; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy), #00214D);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.sidebar-cta h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.sidebar-cta p { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.5; }
.sidebar-cta .btn { width: 100%; text-align: center; display: block; }
.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 8px;
}
.cert-badge:last-child { margin-bottom: 0; }
.cert-icon { font-size: 22px; }
.cert-text { font-size: 13px; font-weight: 600; color: var(--navy); }
.cert-sub { font-size: 11px; color: var(--text-soft); }

/* ── RELATED POSTS ── */
.related-section {
  border-top: 2px solid var(--border);
  padding-top: 48px;
  margin-top: 48px;
}
.related-section h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.related-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-thumb {
  height: 6px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
}
.related-card .rc-body { padding: 18px 20px; }
.related-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.related-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}
.related-card p { font-size: 13px; color: var(--text-soft); line-height: 1.5; margin: 0; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .fb-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .blog-layout { padding: 32px 16px 56px; }
  .blog-hero { padding: 40px 16px 36px; }
  .top-bar .contact-items { gap: 12px; font-size: 12px; }
  .site-nav { display: none; }
}

/* ── HIGHLIGHT BADGE ── */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.badge-blue { background: #E6EEF8; color: var(--blue); }
.badge-gold { background: #FDF0D5; color: #8B6010; }
.badge-green { background: #E8F5EE; color: #1A6B3A; }

/* ── SHARE BAR ── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.share-label { font-size: 13px; font-weight: 700; color: var(--text-mid); margin-right: 4px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.share-btn.linkedin { background: #0A66C2; color: #fff; }
.share-btn.linkedin:hover { background: #004182; }
.share-btn.twitter { background: #000; color: #fff; }
.share-btn.email { background: var(--navy); color: #fff; }
.cta-block h3 {color:#fff!important;}
