/* ═══════════════════════════════════════════════
   ipRIGHTS.in Blog — Shared Stylesheet
   Edit this ONE file to change ALL blog pages
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── VARIABLES ── */
:root {
  --navy:       #1B2F5E;
  --navy-dark:  #0D1A35;
  --navy-light: #2A4080;
  --gold:       #C9972A;
  --gold-light: #E8B84B;
  --gold-pale:  #FBF3E2;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --light-gray: #EEF1F7;
  --border:     #E2E8F0;
  --text-dark:  #111827;
  --text-mid:   #4A5568;
  --text-light: #8A96A8;
  --silver:     #8A96A8;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(27,47,94,.08);
  --shadow-md:  0 8px 40px rgba(27,47,94,.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'DM Serif Display', serif; line-height: 1.25; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; }

/* ═══════════════════════════════════════════════
   HEADER (injected by header.js)
   ═══════════════════════════════════════════════ */
#blog-header-wrap header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(27,47,94,.06);
  overflow: visible;
}
#blog-header-wrap .hdr {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 28px; height: 68px;
}
#blog-header-wrap .logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 1; min-width: 0; text-decoration: none;
}
#blog-header-wrap .logo-shield { width: 38px; height: 44px; flex-shrink: 0; }
#blog-header-wrap .logo-wm {
  font-family: 'DM Serif Display', serif;
  font-size: 21px; color: var(--navy); letter-spacing: -.3px;
}
#blog-header-wrap .logo-wm span { color: var(--gold); }
#blog-header-wrap .logo-sub {
  font-size: 9.5px; color: var(--silver);
  letter-spacing: .8px; text-transform: uppercase; margin-top: 1px;
}
#blog-header-wrap .main-nav {
  display: flex; align-items: center; gap: 2px; margin: 0 16px;
}
#blog-header-wrap .nav-item { position: relative; }
#blog-header-wrap .nav-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  padding: 8px 13px; border-radius: 8px; transition: all .18s;
  white-space: nowrap; cursor: pointer; border: none;
  background: none; font-family: 'DM Sans', sans-serif;
}
#blog-header-wrap .nav-link:hover,
#blog-header-wrap .nav-link.active { color: var(--navy); background: var(--light-gray); }
#blog-header-wrap .chevron {
  width: 13px; height: 13px; transition: transform .2s;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
#blog-header-wrap .nav-item:hover .chevron { transform: rotate(180deg); }
#blog-header-wrap .mega-menu {
  display: none; position: absolute; top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 8px; z-index: 200; min-width: min(640px,95vw);
}
#blog-header-wrap .nav-item:hover .mega-menu,
#blog-header-wrap .nav-item.open .mega-menu { display: block; }
#blog-header-wrap .mega-tabs {
  display: flex; gap: 4px; padding: 8px 8px 10px;
  border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
#blog-header-wrap .mega-tab {
  font-size: 12.5px; font-weight: 600; padding: 7px 18px;
  border-radius: 50px; cursor: pointer; border: 1.5px solid transparent;
  transition: all .18s; color: var(--text-mid);
  background: none; font-family: 'DM Sans', sans-serif;
}
#blog-header-wrap .mega-tab.active,
#blog-header-wrap .mega-tab:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
#blog-header-wrap .mega-panels { padding: 4px 6px 10px; }
#blog-header-wrap .mega-panel { display: none; grid-template-columns: 1fr 1fr 1fr; gap: 2px; }
#blog-header-wrap .mega-panel.active { display: grid; }
#blog-header-wrap .mega-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 13px; color: var(--text-mid); transition: all .15s;
}
#blog-header-wrap .mega-link:hover { background: var(--gold-pale); color: var(--navy); }
#blog-header-wrap .mega-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--light-gray); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
#blog-header-wrap .mega-link:hover .mega-icon { background: rgba(201,151,42,.15); }
#blog-header-wrap .mega-link span { font-weight: 500; }
#blog-header-wrap .hdr-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
#blog-header-wrap .btn-consult {
  background: var(--navy); color: var(--white);
  padding: 10px 20px; border-radius: 50px;
  font-size: 13.5px; font-weight: 600; transition: all .2s;
  white-space: nowrap; text-decoration: none;
}
#blog-header-wrap .btn-consult:hover { background: var(--navy-light); }
#blog-header-wrap .hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
#blog-header-wrap .hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
}
#blog-header-wrap .mob-nav {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 12px 16px 20px; gap: 2px; width: 100%;
  max-height: 80vh; overflow-y: auto;
}
#blog-header-wrap .mob-nav.open { display: flex; }
#blog-header-wrap .mob-nav a,
#blog-header-wrap .mob-nav button {
  padding: 12px 14px; font-size: 14.5px; font-weight: 500;
  color: var(--text-dark); border-radius: 8px;
  transition: background .18s; display: flex; align-items: center;
  text-decoration: none; background: none; border: none;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  width: 100%; text-align: left; min-height: 48px;
}
#blog-header-wrap .mob-nav a:hover,
#blog-header-wrap .mob-nav button:hover { background: var(--light-gray); }
#blog-header-wrap .mob-lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--silver);
  padding: 10px 14px 3px; display: block;
}

/* ═══════════════════════════════════════════════
   BLOG LAYOUT
   ═══════════════════════════════════════════════ */
.blog-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 28px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px; align-items: start;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-light);
  padding: 16px 28px 0; max-width: 1200px; margin: 0 auto;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-light); transition: color .18s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--border); }
.breadcrumb .current { color: var(--text-mid); font-weight: 500; }

/* ── ARTICLE ── */
.article-hero {
  background: linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 60%,#1e3a6e 100%);
  padding: 56px 28px 52px; position: relative; overflow: hidden;
}
.article-hero::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:320px; height:320px; border-radius:50%;
  border:50px solid rgba(201,151,42,.08); pointer-events:none;
}
.article-hero-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; }
.article-cat {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(201,151,42,.12); border: 1px solid rgba(201,151,42,.3);
  color: var(--gold-light); font-size: 11.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .8px;
}
.article-hero h1 {
  font-size: clamp(24px,3.5vw,44px); color: var(--white);
  margin-bottom: 18px; letter-spacing: -.5px; max-width: 800px;
}
.article-meta {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.55);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

/* ── ARTICLE BODY ── */
.article-body {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 40px 44px; line-height: 1.85;
}
.article-body h2 {
  font-size: 24px; color: var(--navy);
  margin: 36px 0 14px; padding-top: 8px;
  border-top: 2px solid var(--gold-pale);
}
.article-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin: 24px 0 10px;
}
.article-body p { font-size: 16px; color: var(--text-mid); margin-bottom: 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 8px;
}
.article-body li { font-size: 15.5px; color: var(--text-mid); line-height: 1.7; }
.article-body a { color: var(--gold); font-weight: 600; }
.article-body a:hover { color: var(--navy); }
.article-body strong { color: var(--navy); font-weight: 700; }

/* Info box */
.info-box {
  background: var(--gold-pale); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 24px 0;
}
.info-box p { font-size: 14.5px; color: var(--navy); margin: 0; line-height: 1.7; }
.info-box strong { color: var(--navy); }

/* Tip box */
.tip-box {
  background: #f0fdf4; border-left: 4px solid #22c55e;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 24px 0;
}
.tip-box p { font-size: 14.5px; color: #166534; margin: 0; line-height: 1.7; }

/* Warning box */
.warn-box {
  background: #fff7ed; border-left: 4px solid #f97316;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 24px 0;
}
.warn-box p { font-size: 14.5px; color: #9a3412; margin: 0; line-height: 1.7; }

/* Table */
.article-body table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.article-body th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700; text-align: left;
  letter-spacing: .3px;
}
.article-body td {
  padding: 11px 16px; font-size: 14px; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:nth-child(even) td { background: var(--off-white); }

/* TOC */
.toc {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 26px; margin: 0 0 32px;
}
.toc h4 {
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.toc li { font-size: 14px; }
.toc a { color: var(--navy); font-weight: 500; transition: color .18s; }
.toc a:hover { color: var(--gold); }

/* FAQ */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  padding: 16px 20px; font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 15px; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; transition: background .18s; user-select: none;
}
.faq-q:hover { background: var(--light-gray); }
.faq-q.open { background: var(--gold-pale); }
.faq-icon { font-size: 20px; transition: transform .2s; flex-shrink: 0; line-height: 1; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 20px 16px;
  font-size: 14.5px; color: var(--text-mid); line-height: 1.7;
}
.faq-a.open { display: block; }

/* CTA Box in article */
.article-cta {
  background: linear-gradient(135deg,var(--navy-dark),var(--navy));
  border-radius: var(--radius-lg); padding: 32px 36px;
  text-align: center; margin: 36px 0; position: relative; overflow: hidden;
}
.article-cta::before {
  content:''; position:absolute; bottom:-30px; right:-30px;
  width:130px; height:130px; border-radius:50%;
  border:26px solid rgba(255,255,255,.04);
}
.article-cta h3 {
  font-size: 22px; color: var(--white); margin-bottom: 10px; position: relative; z-index:1;
}
.article-cta p {
  font-size: 14.5px; color: rgba(255,255,255,.6);
  margin-bottom: 20px; position: relative; z-index:1;
}
.article-cta a {
  background: var(--gold); color: var(--navy-dark);
  padding: 13px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px; display: inline-block;
  transition: all .2s; position: relative; z-index:1;
}
.article-cta a:hover { background: var(--gold-light); }

/* Author box */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 24px; margin-top: 36px; border: 1px solid var(--border);
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
}
.author-info h4 {
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  font-weight: 700; color: var(--navy); margin-bottom: 4px;
}
.author-info p { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════════
   SIDEBAR (injected by sidebar.js)
   ═══════════════════════════════════════════════ */
#blog-sidebar-wrap { display: flex; flex-direction: column; gap: 22px; }
.sb-widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; overflow: hidden;
}
.sb-title {
  font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-pale);
}
.sb-widget.navy { background: var(--navy); border-color: transparent; }
.sb-widget.navy .sb-title { color: var(--gold-light); border-bottom-color: rgba(255,255,255,.1); }
.sb-widget.navy p { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 16px; line-height: 1.6; }
.sb-btn {
  display: block; text-align: center; padding: 12px;
  border-radius: 10px; font-size: 14px; font-weight: 700;
  transition: all .2s; text-decoration: none; margin-bottom: 10px;
}
.sb-btn.gold { background: var(--gold); color: var(--navy-dark); }
.sb-btn.gold:hover { background: var(--gold-light); }
.sb-btn.wa { background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sb-btn.wa:hover { background: #1db954; }
.sb-btn.wa svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }
.sb-post-list { display: flex; flex-direction: column; gap: 14px; }
.sb-post-item { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; }
.sb-post-num {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gold-pale); display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}
.sb-post-title {
  font-size: 13px; font-weight: 600; color: var(--navy);
  line-height: 1.4; transition: color .18s;
}
.sb-post-item:hover .sb-post-title { color: var(--gold); }
.sb-cat-list { display: flex; flex-direction: column; gap: 8px; }
.sb-cat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 9px; background: var(--off-white);
  font-size: 13.5px; color: var(--text-mid); transition: all .18s;
  text-decoration: none;
}
.sb-cat:hover { background: var(--gold-pale); color: var(--navy); }
.sb-cat span {
  background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 50px;
}
.sb-search {
  display: flex; border: 1.5px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: border-color .2s;
}
.sb-search:focus-within { border-color: var(--navy); }
.sb-search input {
  flex: 1; border: none; outline: none; padding: 10px 14px;
  font-size: 14px; font-family: 'DM Sans', sans-serif; background: transparent;
}
.sb-search button {
  background: var(--navy); border: none; padding: 0 14px;
  cursor: pointer; display: flex; align-items: center;
}
.sb-search button svg { width: 16px; height: 16px; fill: white; }

/* Related posts */
.related-posts { margin-top: 40px; }
.related-posts h3 {
  font-size: 22px; color: var(--navy); margin-bottom: 22px;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.related-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .3s; text-decoration: none; display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.related-card-body { padding: 18px 18px 16px; flex: 1; }
.related-cat {
  font-size: 10.5px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; display: block;
}
.related-card h4 {
  font-family: 'DM Sans', sans-serif; font-size: 14.5px; font-weight: 600;
  color: var(--navy); line-height: 1.4; margin-bottom: 8px;
}
.related-card p { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.related-card-foot {
  padding: 10px 18px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--gold); font-weight: 600;
}

/* ═══════════════════════════════════════════════
   BLOG INDEX PAGE
   ═══════════════════════════════════════════════ */
.blog-hero {
  background: linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 60%,#1e3a6e 100%);
  padding: 64px 28px 56px; position: relative; overflow: hidden; text-align: center;
}
.blog-hero::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:320px; height:320px; border-radius:50%;
  border:50px solid rgba(201,151,42,.08); pointer-events:none;
}
.blog-hero-inner { max-width:800px; margin:0 auto; position:relative; z-index:1; }
.blog-hero .badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(201,151,42,.12); border: 1px solid rgba(201,151,42,.3);
  color: var(--gold-light); font-size: 11.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .8px;
}
.blog-hero h1 {
  font-size: clamp(28px,4vw,52px); color: var(--white); margin-bottom: 14px;
}
.blog-hero p { font-size: 16px; color: rgba(255,255,255,.6); max-width: 560px; margin: 0 auto; }

/* Category tabs */
.cat-tabs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  max-width: 1200px; margin: 28px auto 0; padding: 0 28px;
}
.cat-tab {
  padding: 8px 20px; border-radius: 50px; font-size: 13.5px;
  font-weight: 600; cursor: pointer; transition: all .2s;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-mid); font-family: 'DM Sans', sans-serif;
}
.cat-tab.active, .cat-tab:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* Post cards grid */
.posts-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto; padding: 32px 28px 60px;
}
.post-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .3s; text-decoration: none;
  display: flex; flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.post-card-img {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.post-card-body { padding: 20px 20px 16px; flex: 1; }
.post-card-cat {
  font-size: 10.5px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 8px; display: block;
}
.post-card h3 {
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--navy); line-height: 1.4; margin-bottom: 10px;
}
.post-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; }
.post-card-foot {
  padding: 12px 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.post-card-meta { font-size: 12px; color: var(--text-light); }
.post-card-read { font-size: 13px; font-weight: 600; color: var(--gold); }

/* ═══════════════════════════════════════════════
   FOOTER (injected by footer.js)
   ═══════════════════════════════════════════════ */
#blog-footer-wrap footer {
  background: var(--navy-dark); color: rgba(255,255,255,.75);
  padding: 64px 28px 32px;
}
#blog-footer-wrap .foot-grid {
  max-width: 1200px; margin: 0 auto 48px;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 44px;
}
#blog-footer-wrap .foot-brand .wm {
  font-family: 'DM Serif Display', serif; font-size: 24px;
  color: var(--white); margin-bottom: 12px;
}
#blog-footer-wrap .foot-brand .wm span { color: var(--gold-light); }
#blog-footer-wrap .foot-brand p {
  font-size: 13.5px; color: rgba(255,255,255,.45);
  line-height: 1.75; margin-bottom: 18px; max-width: 300px;
}
#blog-footer-wrap .foot-contact { display: flex; flex-direction: column; gap: 8px; }
#blog-footer-wrap .foot-contact a {
  font-size: 13px; color: rgba(255,255,255,.55); transition: color .18s; text-decoration: none;
}
#blog-footer-wrap .foot-contact a:hover { color: var(--gold-light); }
#blog-footer-wrap .foot-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px;
}
#blog-footer-wrap .foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
#blog-footer-wrap .foot-col ul li a {
  font-size: 13.5px; color: rgba(255,255,255,.45);
  transition: color .18s; text-decoration: none;
}
#blog-footer-wrap .foot-col ul li a:hover { color: var(--gold-light); }
#blog-footer-wrap .foot-btm {
  max-width: 1200px; margin: 0 auto; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
#blog-footer-wrap .foot-btm p { font-size: 12px; color: rgba(255,255,255,.28); }
#blog-footer-wrap .foot-btm-links { display: flex; gap: 18px; }
#blog-footer-wrap .foot-btm-links a {
  font-size: 12px; color: rgba(255,255,255,.28);
  transition: color .18s; text-decoration: none;
}
#blog-footer-wrap .foot-btm-links a:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════════════
   FLOAT BUTTONS
   ═══════════════════════════════════════════════ */
.float-wa {
  position: fixed; bottom: 90px; right: 24px;
  width: 54px; height: 54px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 998; cursor: pointer; border: none; transition: all .3s;
  -webkit-tap-highlight-color: transparent;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 26px; height: 26px; fill: white; }
.chat-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 54px; height: 54px; background: var(--navy);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 20px rgba(27,47,94,.3);
  z-index: 999; cursor: pointer; border: none; transition: all .3s;
  -webkit-tap-highlight-color: transparent;
}
.chat-btn:hover { background: var(--navy-light); }
.chat-btn svg { width: 24px; height: 24px; fill: var(--white); }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; background: #ef4444;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 10px; color: #fff; font-weight: 700;
}
.chat-window {
  position: fixed; bottom: 88px; right: 24px;
  width: min(360px,calc(100vw - 40px)); height: 500px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(27,47,94,.2); z-index: 999;
  display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border);
}
.chat-window.open { display: flex; }
.chat-head {
  background: var(--navy); padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-head-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px; height: 36px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}
.chat-head h3 { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--white); }
.chat-head p { font-size: 11px; color: rgba(255,255,255,.6); }
.chat-close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 22px; cursor: pointer; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; }
.msg-bot { background: var(--light-gray); color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; }
.chat-opt {
  background: var(--white); border: 1.5px solid var(--navy);
  color: var(--navy); padding: 6px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .18s; font-family: 'DM Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.chat-opt:hover { background: var(--navy); color: #fff; }
.chat-input-row { padding: 10px 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.chat-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 50px;
  padding: 9px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none;
}
.chat-input:focus { border-color: var(--gold); }
.chat-send {
  background: var(--navy); border: none; width: 36px; height: 36px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.chat-send svg { width: 15px; height: 15px; fill: #fff; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-wrap { grid-template-columns: 1fr; padding: 28px 22px 48px; }
  #blog-sidebar-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  #blog-footer-wrap .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  #blog-header-wrap .main-nav,
  #blog-header-wrap .btn-consult { display: none !important; }
  #blog-header-wrap .hamburger { display: flex !important; }
  #blog-header-wrap .hdr { height: 60px; padding: 0 18px; }
  .article-body { padding: 28px 24px; }
}
@media (max-width: 640px) {
  #blog-header-wrap .hdr { height: 56px; padding: 0 14px; }
  #blog-header-wrap .logo-wm { font-size: 16px; }
  #blog-header-wrap .logo-sub { display: none; }
  #blog-header-wrap .logo-shield { width: 32px; height: 38px; }
  .article-body { padding: 22px 18px; }
  .article-body h2 { font-size: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  #blog-sidebar-wrap { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; padding: 20px 16px 40px; }
  .chat-window { width: calc(100vw - 20px) !important; right: 10px !important; left: 10px !important; bottom: 80px; }
  .float-wa { bottom: 80px; right: 16px; width: 50px; height: 50px; }
  .chat-btn { bottom: 20px; right: 16px; width: 50px; height: 50px; }
  #blog-footer-wrap .foot-grid { grid-template-columns: 1fr !important; }
  #blog-footer-wrap .foot-btm { flex-direction: column; text-align: center; gap: 8px; }
  .blog-hero { padding: 48px 16px 44px; }
  .cat-tabs { padding: 0 16px; }
  .breadcrumb { padding: 12px 16px 0; }
}
@media (max-width: 480px) {
  .article-hero { padding: 40px 16px 36px; }
  .article-hero h1 { font-size: 24px !important; }
}
@supports (padding: max(0px)) {
  #blog-header-wrap .hdr {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  #blog-footer-wrap footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .chat-btn, .float-wa { bottom: max(22px, calc(env(safe-area-inset-bottom) + 16px)); }
}
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px !important; }
}
