/* ============================================================
   CONINS PUNE — Blog Stylesheet
   Colors extracted from pcbconformalcoating.net
   Primary: #0b2a4a (deep navy), Accent: #e8a020 (golden orange)
   Text: #333, Light bg: #f4f7fb, White: #fff
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --primary:   #0b2a4a;
  --primary2:  #0d3561;
  --accent:    #e8a020;
  --accent2:   #d4911a;
  --light-bg:  #f4f7fb;
  --light2:    #eaf0f8;
  --border:    #dce6f0;
  --text:      #2c3e50;
  --muted:     #6b7c93;
  --white:     #ffffff;
  --green:     #1a8a44;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(11,42,74,0.10);
  --shadow-lg: 0 8px 40px rgba(11,42,74,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

/* ── HEADER / NAV ─────────────────────────────────────── */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.logo-wrap img { height: 44px; }
.logo-wrap span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--white); letter-spacing: 1px;
  margin-left: 10px; vertical-align: middle;
}
nav ul { list-style: none; display: flex; gap: 4px; }
nav ul li a {
  color: rgba(255,255,255,.85);
  font-family: 'Barlow', sans-serif;
  font-weight: 600; font-size: 13.5px;
  padding: 6px 13px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
  transition: background .2s, color .2s;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--accent); color: var(--white);
}
nav ul li.has-drop { position: relative; }
nav ul li.has-drop > ul {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 260px;
  padding: 8px 0; flex-direction: column; gap: 0;
}
nav ul li.has-drop:hover > ul { display: flex; }
nav ul li.has-drop > ul li a {
  color: var(--text); text-transform: none; letter-spacing: 0;
  font-size: 13px; border-radius: 0; padding: 9px 20px;
}
nav ul li.has-drop > ul li a:hover { background: var(--light-bg); color: var(--primary); }
.nav-cta a {
  background: var(--accent); color: var(--white) !important;
  border-radius: 5px; padding: 8px 18px !important;
}
.nav-cta a:hover { background: var(--accent2) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ── HERO / PAGE BANNER ───────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--primary) 60%, #174a7c 100%);
  padding: 60px 24px 50px;
  text-align: center; position: relative; overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.blog-hero .eyebrow {
  display: inline-block; background: var(--accent);
  color: var(--white); font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 16px;
  border-radius: 20px; margin-bottom: 18px;
}
.blog-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800; color: var(--white);
  line-height: 1.15; max-width: 900px; margin: 0 auto 16px;
}
.blog-hero .meta {
  color: rgba(255,255,255,.65); font-size: 14px;
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.blog-hero .meta span { display: flex; align-items: center; gap: 5px; }

/* ── LAYOUT ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px; padding: 52px 24px;
  max-width: 1200px; margin: 0 auto;
}
.blog-content { min-width: 0; }
.blog-sidebar { }

/* ── ARTICLE CONTENT ──────────────────────────────────── */
.article-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--primary); margin: 44px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  line-height: 1.2;
}
.article-body h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--primary2); margin: 28px 0 10px;
}
.article-body p {
  margin-bottom: 18px; color: var(--text); font-size: 16px;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px; padding: 0;
}
.article-body li { margin-bottom: 9px; color: var(--text); font-size: 16px; }
.article-body ul li::marker { color: var(--accent); font-size: 18px; }
.article-body strong { color: var(--primary); }

/* Intro box */
.intro-box {
  background: var(--light2); border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px; margin-bottom: 36px; font-size: 17px;
  color: var(--text); line-height: 1.7;
}

/* Tip / Note / Warning boxes */
.tip-box {
  background: #f0f9f3; border: 1.5px solid #a8dbb5;
  border-radius: var(--radius); padding: 16px 20px; margin: 24px 0;
  display: flex; gap: 12px; align-items: flex-start;
}
.tip-box .icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.tip-box p { margin: 0; font-size: 15px; }
.warn-box {
  background: #fff8ec; border: 1.5px solid #f5c96a;
  border-radius: var(--radius); padding: 16px 20px; margin: 24px 0;
}

/* ── COMPARISON TABLE ─────────────────────────────────── */
.comp-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14.5px; }
.comp-table th {
  background: var(--primary); color: var(--white);
  padding: 12px 14px; text-align: left; font-family: 'Barlow', sans-serif; font-weight: 700;
}
.comp-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.comp-table tr:nth-child(even) td { background: var(--light-bg); }
.comp-table tr:hover td { background: var(--light2); }
.comp-table .check { color: #1a8a44; font-weight: 700; }
.comp-table .cross { color: #c0392b; font-weight: 700; }
.comp-table .warn  { color: #d68910; font-weight: 700; }

/* ── SPECS TABLE ──────────────────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.specs-table th {
  background: var(--primary); color: var(--white);
  padding: 11px 16px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 14px;
}
.specs-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.specs-table tr:nth-child(even) td { background: var(--light-bg); }
.specs-table td:first-child { font-weight: 600; color: var(--primary); width: 42%; }

/* ── STEP CARDS ───────────────────────────────────────── */
.steps { margin: 28px 0; }
.step {
  display: flex; gap: 18px; margin-bottom: 22px; align-items: flex-start;
}
.step-num {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px;
}
.step-body h4 { font-family: 'Barlow', sans-serif; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.step-body p { margin: 0; font-size: 15px; }

/* ── PRODUCT CARDS ────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin: 28px 0; }
.product-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
  transition: box-shadow .25s, border-color .25s;
}
.product-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.product-card .prod-icon { font-size: 30px; margin-bottom: 10px; }
.product-card h4 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 14px; color: var(--primary); margin-bottom: 6px; }
.product-card p { font-size: 12.5px; color: var(--muted); margin: 0; }
.product-card a {
  display: inline-block; margin-top: 10px;
  background: var(--primary); color: #fff;
  font-size: 12px; padding: 5px 14px; border-radius: 4px;
  font-family: 'Barlow', sans-serif; font-weight: 600;
}
.product-card a:hover { background: var(--accent); color: #fff; }

/* ── CTA BLOCK ────────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, #174a7c 100%);
  border-radius: 12px; padding: 40px 36px; text-align: center;
  margin: 44px 0; color: var(--white);
}
.cta-block h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 30px;
  font-weight: 800; margin-bottom: 10px;
}
.cta-block p { color: rgba(255,255,255,.8); margin-bottom: 24px; font-size: 16px; }
.cta-block .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-accent {
  background: var(--accent); color: var(--white);
  font-family: 'Barlow', sans-serif; font-weight: 700;
  padding: 13px 28px; border-radius: 6px; font-size: 15px;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-accent:hover { background: var(--accent2); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  font-family: 'Barlow', sans-serif; font-weight: 700;
  padding: 11px 26px; border-radius: 6px; font-size: 15px;
  transition: border-color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { margin: 28px 0; }
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  background: var(--light-bg); padding: 16px 20px;
  font-family: 'Barlow', sans-serif; font-weight: 700;
  color: var(--primary); cursor: pointer; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none; transition: background .2s;
}
.faq-q:hover { background: var(--light2); }
.faq-q .chevron { transition: transform .3s; font-size: 12px; }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 16px 20px;
  font-size: 15px; color: var(--text); border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ── SIDEBAR ──────────────────────────────────────────── */
.sidebar-card {
  background: var(--light-bg); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 22px; margin-bottom: 24px;
}
.sidebar-card h4 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 18px;
  font-weight: 800; color: var(--primary); margin-bottom: 16px;
  border-bottom: 2px solid var(--accent); padding-bottom: 8px;
}
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar-card ul li:last-child { border: none; }
.sidebar-card ul li a { color: var(--text); font-weight: 500; }
.sidebar-card ul li a:hover { color: var(--accent); padding-left: 4px; }
.sidebar-contact { background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 24px; }
.sidebar-contact h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.sidebar-contact p { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.sidebar-contact a { color: var(--accent); font-weight: 600; }
.sidebar-contact .whatsapp-btn {
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff;
  border-radius: 6px; padding: 11px 16px;
  font-family: 'Barlow', sans-serif; font-weight: 700;
  font-size: 14px; margin-top: 14px; text-align: center; justify-content: center;
}
.sidebar-contact .whatsapp-btn:hover { background: #1aab50; color: #fff; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 4px 10px; font-size: 12.5px; color: var(--text);
}
.tag-cloud a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb {
  background: var(--light-bg); border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb-inner a { font-size: 13px; color: var(--muted); }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner span { color: var(--muted); font-size: 13px; }
.breadcrumb-inner .current { color: var(--primary); font-weight: 600; font-size: 13px; }

/* ── AUTHOR BAR ───────────────────────────────────────── */
.author-bar {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0; margin: 32px 0;
}
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px;
  flex-shrink: 0;
}
.author-info h5 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 14px; color: var(--primary); }
.author-info p { font-size: 13px; color: var(--muted); margin: 0; }

/* ── RELATED POSTS ────────────────────────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.related-card {
  background: var(--light-bg); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 18px;
  transition: box-shadow .25s, border-color .25s;
}
.related-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.related-card .rc-tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); font-weight: 700; font-family: 'Barlow', sans-serif;
  margin-bottom: 8px;
}
.related-card h4 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.related-card a.read-more { font-size: 13px; font-weight: 700; color: var(--accent); font-family: 'Barlow', sans-serif; }

/* ── COUNTRY TARGET BADGE ─────────────────────────────── */
.country-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff3e0; border: 1.5px solid var(--accent);
  border-radius: 20px; padding: 5px 14px; font-size: 13px;
  font-weight: 700; color: var(--accent2); margin-bottom: 20px; font-family: 'Barlow', sans-serif;
}
.vn-badge { background: #fff0f0; border-color: #da251d; color: #da251d; }

/* ── BLOG INDEX CARDS ─────────────────────────────────── */
.blogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; margin-top: 32px; }
.blog-card {
  background: var(--white); border-radius: 10px;
  border: 1.5px solid var(--border); overflow: hidden;
  transition: box-shadow .25s, transform .2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-top {
  background: linear-gradient(135deg, var(--primary) 0%, #174a7c 100%);
  padding: 28px 24px 20px; position: relative; overflow: hidden;
}
.blog-card-top::after {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(232,160,32,.15);
}
.blog-card-top .bc-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 48px;
  font-weight: 800; color: rgba(255,255,255,.1); line-height: 1;
  position: absolute; top: 10px; right: 16px;
}
.blog-card-top .bc-cat {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; font-family: 'Barlow', sans-serif;
  color: var(--accent); margin-bottom: 8px;
}
.blog-card-top h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: #fff; line-height: 1.3; }
.blog-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.blog-card-body .read-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff;
  font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 13.5px;
  padding: 9px 20px; border-radius: 5px; align-self: flex-start;
  transition: background .2s;
}
.blog-card-body .read-btn:hover { background: var(--accent); color: #fff; }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer { background: var(--primary); color: rgba(255,255,255,.75); padding: 52px 24px 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1200px; margin: 0 auto 40px;
}
.footer-brand h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background .2s;
}
.footer-socials a:hover { background: var(--accent); color: #fff; }
.footer-col h4 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 10px;
}

/* ── BACK TO TOP ──────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--accent); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 4px 14px rgba(0,0,0,.2);
  cursor: pointer; border: none; z-index: 900;
  transition: background .2s;
}
.back-top.visible { display: flex; }
.back-top:hover { background: var(--primary); }

/* ── PROGRESS BAR ─────────────────────────────────────── */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--accent); z-index: 9999; width: 0%; transition: width .1s;
}

/* ── SHARE STRIP ──────────────────────────────────────── */
.share-strip {
  background: var(--light-bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 18px 24px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 32px 0;
}
.share-strip span { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 15px; color: var(--primary); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 5px; font-size: 13px; font-weight: 600;
  font-family: 'Barlow', sans-serif; transition: opacity .2s;
  color: #fff;
}
.share-btn:hover { opacity: .85; color: #fff; }
.share-fb { background: #1877f2; }
.share-li { background: #0a66c2; }
.share-wa { background: #25d366; }
.share-tw { background: #1da1f2; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav ul { display: none; }
  .hamburger { display: block; }
  nav.mobile-open ul {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--primary); padding: 20px; gap: 4px;
    overflow-y: auto;
  }
  nav.mobile-open ul li.has-drop > ul { position: static; box-shadow: none; display: none; background: rgba(255,255,255,.08); }
  nav.mobile-open ul li.has-drop.open > ul { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 26px; }
  .cta-block { padding: 28px 20px; }
}
