/* ==========================================================
   BRPL Blog — blog.php + blog-details.php
   Matches bansalsolarstructures.com: Inter + Big Shoulders Display,
   ink #14181B, orange #E85D1F, steel-white #F5F4EF, sharp corners.
   ========================================================== */

:root {
  --ink: #14181B; --steel-white: #F5F4EF; --paper: #FFFFFF;
  --orange: #E85D1F; --orange-dim: #c94f19; --green: #1F4D33;
  --line: #B7BEC4; --line-dim: #3A4148; --muted: #5B6167;

  /* blog aliases */
  --b-teal: #14181B;
  --b-teal-2: #1d2328;
  --b-orange: #E85D1F;
  --b-orange-dark: #c94f19;
  --b-paper: #F5F4EF;
  --b-white: #ffffff;
  --b-ink: #14181B;
  --b-text: #3a4045;
  --b-mut: #5B6167;
  --b-line: #e4e1d8;
  --b-radius: 4px;
  --b-shadow: 0 14px 34px rgba(20, 24, 27, .10);
}

/* ---------- Site shell (copied from the home page) ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, sans-serif; background: var(--steel-white); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

header { position: sticky; top: 0; z-index: 100; background: rgb(253, 254, 254); border-bottom: 1px solid rgb(229, 229, 229); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; max-width: 1240px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 160px; height: auto; display: block; }
.nav-links { display: flex; gap: 36px; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); transition: width .25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--green); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; font-family: Inter, sans-serif; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 2px; border: none; cursor: pointer; transition: background .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--orange-dim); transform: translateY(-1px); }
.btn .arr { display: inline-block; transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; z-index: 110; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-extra { display: none; }

.float-whatsapp, .float-brochure { position: fixed; bottom: 26px; z-index: 999; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s, background .2s; }
.float-whatsapp { right: 26px; background: #25d366; }
.float-brochure { left: 26px; background: var(--orange); }
.float-whatsapp:hover, .float-brochure:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 32px; height: 32px; }
.float-brochure svg { width: 26px; height: 26px; }

/* Footer */
.site-footer { background: var(--ink); color: #b9bec2; padding: 56px 0 26px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 2px; margin-bottom: 16px; }
.footer-logo img { width: 140px; height: auto; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--line-dim); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #868c91; }

/* old class names used in the blog templates */
.btn-red { background: var(--orange); color: #fff; }

.blog-page { background: var(--b-paper); color: var(--b-text); font-family: Inter, sans-serif; }
.blog-page a { text-decoration: none; }

/* ---------- Eyebrow ---------- */
.blog-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--b-orange);
}
.blog-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--b-orange); }
.blog-hero .blog-eyebrow { color: rgb(241, 180, 140); }

/* ---------- Hero (dark, so the transparent header stays readable) ---------- */
.blog-hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(20,24,27,.94) 0%, rgba(20,24,27,.80) 55%, rgba(20,24,27,.55) 100%),
    url('../images/main.jpeg') center / cover no-repeat, var(--ink);
  color: #fff;
  padding: 88px 0 80px;
}
.blog-hero::after {           /* faint steel-grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.blog-hero .wrap { position: relative; z-index: 1; }
.blog-hero h1 {
  font-family: 'Big Shoulders Display', sans-serif; text-transform: uppercase;
  font-size: clamp(46px, 7vw, 92px); line-height: .95; font-weight: 800;
  letter-spacing: .005em; margin: 20px 0 20px; color: #fff;
}
.blog-hero h1 em { font-style: normal; color: var(--b-orange); }
.blog-hero p { max-width: 640px; font-size: 17px; color: rgba(255,255,255,.75); margin: 0; }
.blog-hero-sm { padding-bottom: 100px; }

/* Article header */
.blog-hero-article { padding: 64px 0 56px; }
.blog-hero-article .wrap { max-width: 980px; }
.blog-hero-article h1 { font-family: Inter, sans-serif; text-transform: none; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.15; letter-spacing: -.015em; margin: 18px 0 22px; }
.blog-crumbs { font-size: 13px; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: 8px; }
.blog-crumbs a { color: rgba(255,255,255,.75); }
.blog-crumbs a:hover { color: var(--b-orange); }

/* ---------- Search ---------- */
.blog-search {
  position: relative; display: flex; align-items: center;
  max-width: 520px; margin-top: 32px;
  background: #fff; border-radius: 2px; padding: 6px 6px 6px 48px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.blog-search > i { position: absolute; left: 20px; color: var(--b-mut); font-size: 15px; }
.blog-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 400 15px Inter, sans-serif; color: var(--b-ink); padding: 10px 8px;
}
.blog-search button {
  border: 0; cursor: pointer; background: var(--b-orange); color: #fff;
  font: 600 14px Inter, sans-serif; padding: 11px 22px; border-radius: 2px;
  transition: background .2s;
}
.blog-search button:hover { background: var(--b-orange-dark); }
.blog-search-sm { margin: 0; max-width: none; box-shadow: none; border: 1px solid var(--b-line); padding-right: 16px; }

/* ---------- Category chips ---------- */
.blog-chips-bar { background: #fff; border-bottom: 1px solid var(--b-line); position: relative; z-index: 2; }
.blog-chips {
  display: flex; gap: 10px; padding-top: 18px; padding-bottom: 18px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.blog-chips::-webkit-scrollbar { display: none; }
.blog-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--b-text);
  padding: 8px 16px; border-radius: 2px; border: 1px solid var(--b-line); background: #fff;
  transition: all .2s; white-space: nowrap;
}
.blog-chip span { font-size: 12px; color: var(--b-mut); background: var(--b-paper); padding: 1px 8px; border-radius: 2px; }
.blog-chip:hover { border-color: var(--b-orange); color: var(--b-orange); }
.blog-chip.active { background: var(--b-teal); border-color: var(--b-teal); color: #fff; }
.blog-chip.active span { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Body ---------- */
.blog-body { padding-top: 48px; padding-bottom: 80px; }
.blog-results-note { font-size: 15px; color: var(--b-mut); margin-bottom: 28px; }
.blog-results-note strong { color: var(--b-ink); }
.blog-results-note a { color: var(--b-orange); font-weight: 600; }

/* Meta row */
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--b-mut); }
.blog-meta-light { color: rgba(255,255,255,.7); font-size: 14px; }
.blog-meta-light i { color: var(--b-orange); margin-right: 4px; }
.blog-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--b-orange);
  background: rgba(225,110,35,.10); padding: 3px 10px; border-radius: 2px;
}

/* Image placeholder when a post has no image */
.blog-img-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--b-teal), var(--b-teal-2));
}
.blog-img-placeholder span { font-weight: 800; font-size: 28px; letter-spacing: .1em; color: rgba(255,255,255,.18); }

/* ---------- Featured ---------- */
.blog-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; background: #fff;
  border-radius: var(--b-radius); overflow: hidden; box-shadow: var(--b-shadow); margin-bottom: 40px;
}
.blog-featured-media { position: relative; display: block; min-height: 380px; background: var(--b-teal); }
.blog-featured-media img, .blog-featured-media .blog-img-placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s;
}
.blog-featured:hover .blog-featured-media img { transform: scale(1.04); }
.blog-badge {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  background: var(--b-orange); color: #fff; font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 2px;
}
.blog-featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; font-weight: 700; color: var(--b-ink); margin: 16px 0 14px; }
.blog-featured-body h2 a { color: inherit; }
.blog-featured-body h2 a:hover { color: var(--b-orange); }
.blog-featured-body p { font-size: 15.5px; color: var(--b-text); margin: 0 0 24px; }

/* Read link */
.blog-read { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--b-orange); }
.blog-read span { transition: transform .25s; }
.blog-read:hover span { transform: translateX(4px); }

/* ---------- Grid + cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--b-radius);
  overflow: hidden; box-shadow: 0 2px 10px rgba(12,28,44,.05); transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--b-shadow); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--b-teal); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--b-ink); margin: 14px 0 10px; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--b-orange); }
.blog-card p {
  font-size: 14.5px; color: var(--b-text); margin: 0 0 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-foot {
  display: flex; justify-content: space-between; align-items: center; margin-top: auto;
  padding-top: 16px; border-top: 1px solid var(--b-line); font-size: 13px; color: var(--b-mut);
}

/* ---------- Pagination ---------- */
.blog-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.blog-pagination a, .blog-pagination span {
  min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px;
  border-radius: 2px; font-weight: 600; font-size: 15px;
}
.blog-pagination a { background: #fff; color: var(--b-ink); border: 1px solid var(--b-line); transition: all .2s; }
.blog-pagination a:hover { border-color: var(--b-orange); color: var(--b-orange); }
.blog-pagination .current { background: var(--b-orange); color: #fff; }
.blog-pagination .dots { color: var(--b-mut); }

/* ---------- Empty state ---------- */
.blog-empty { text-align: center; background: #fff; border-radius: var(--b-radius); padding: 64px 24px; }
.blog-empty i { font-size: 40px; color: var(--b-orange); }
.blog-empty h2 { font-size: 24px; color: var(--b-ink); margin: 16px 0 8px; font-weight: 700; }
.blog-empty p { color: var(--b-mut); margin: 0 0 24px; }

/* ---------- CTA band ---------- */
.blog-cta { background: var(--orange); color: #fff; padding: 64px 0; }
.blog-cta .btn { background: var(--ink); }
.blog-cta .btn:hover { background: #000; }
.blog-cta p { color: rgba(255,255,255,.88) !important; }
.blog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.blog-cta h2 { font-family: 'Big Shoulders Display', sans-serif; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: 1; font-weight: 800; color: #fff; margin: 0 0 8px; }
.blog-cta p { color: rgba(255,255,255,.7); margin: 0; max-width: 560px; }
.blog-cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.blog-cta-wa {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px;
  padding: 11px 20px; border-radius: 2px; border: 1px solid rgba(255,255,255,.3); transition: all .2s;
}
.blog-cta-wa:hover { border-color: #25d366; color: #25d366; }
.blog-cta-wa i { font-size: 18px; }

/* ==========================================================
   ARTICLE PAGE
   ========================================================== */
.blog-article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px;
  padding-top: 48px; padding-bottom: 80px; align-items: start;
}
.blog-article { background: #fff; border-radius: var(--b-radius); padding: 40px 48px 36px; box-shadow: 0 2px 10px rgba(12,28,44,.05); min-width: 0; }
.blog-cover { margin: -40px -48px 36px; }
.blog-cover img { width: 100%; max-height: 480px; object-fit: cover; display: block; border-radius: var(--b-radius) var(--b-radius) 0 0; }

/* Article typography — imported WordPress HTML */
.blog-content { font-size: 17px; line-height: 1.8; color: var(--b-text); overflow-wrap: break-word; }
.blog-content > *:first-child { margin-top: 0; }
.blog-content p { margin: 0 0 20px; }
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
  color: var(--b-ink); font-weight: 700; line-height: 1.3; margin: 36px 0 14px;
}
.blog-content h2 { font-size: 27px; }
.blog-content h3 { font-size: 22px; }
.blog-content h4 { font-size: 19px; }
.blog-content h5, .blog-content h6 { font-size: 17px; }
.blog-content a { color: var(--b-orange); text-decoration: underline; text-underline-offset: 3px; }
.blog-content strong, .blog-content b { color: var(--b-ink); font-weight: 600; }
.blog-content ul, .blog-content ol { margin: 0 0 22px; padding-left: 24px; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 8px; }
.blog-content li::marker { color: var(--b-orange); }
.blog-content img { height: auto; display: block; margin: 28px auto; border-radius: 10px; }
.blog-content figure { margin: 28px 0; max-width: 100%; }
.blog-content figure img { margin: 0 auto; }
.blog-content figcaption { font-size: 14px; color: var(--b-mut); text-align: center; margin-top: 8px; }
.blog-content .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50%; }
.blog-content .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50%; }
.blog-content .aligncenter { margin-left: auto; margin-right: auto; }
.blog-content blockquote {
  margin: 28px 0; padding: 20px 26px; border-left: 4px solid var(--b-orange);
  background: rgba(225,110,35,.06); border-radius: 0 10px 10px 0; font-size: 18px; color: var(--b-ink);
}
.blog-content blockquote p:last-child { margin: 0; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.blog-content th, .blog-content td { border: 1px solid var(--b-line); padding: 10px 14px; text-align: left; }
.blog-content th { background: var(--b-paper); color: var(--b-ink); font-weight: 600; }
.blog-content iframe, .blog-content video { max-width: 100%; border-radius: 10px; }
.blog-content hr { border: 0; border-top: 1px solid var(--b-line); margin: 32px 0; }
.blog-content::after { content: ""; display: table; clear: both; }

.blog-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

/* Share */
.blog-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--b-line);
}
.blog-share > span { font-weight: 600; color: var(--b-ink); font-size: 14px; margin-right: 6px; }
.blog-share a, .blog-share button {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--b-paper); color: var(--b-teal); border: 0; cursor: pointer; font-size: 15px; transition: all .2s;
}
.blog-share a:hover, .blog-share button:hover { background: var(--b-orange); color: #fff; }
.blog-share button.copied { background: #1f9d55; color: #fff; }

/* Prev / next */
.blog-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.blog-prevnext a {
  display: block; padding: 18px 20px; border: 1px solid var(--b-line); border-radius: 12px; transition: all .2s;
}
.blog-prevnext a:hover { border-color: var(--b-orange); }
.blog-prevnext .pn-next { text-align: right; }
.blog-prevnext small { display: block; font-size: 12px; color: var(--b-orange); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.blog-prevnext strong {
  font-size: 15px; color: var(--b-ink); font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Sidebar */
.blog-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.blog-widget { background: #fff; border-radius: var(--b-radius); padding: 24px; box-shadow: 0 2px 10px rgba(12,28,44,.05); }
.blog-widget h4 {
  font-size: 13px; font-family: 'IBM Plex Mono', monospace; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--b-ink); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--b-line);
}
.blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.blog-recent a { display: flex; gap: 14px; align-items: center; }
.blog-recent-thumb { flex: none; width: 72px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--b-teal); }
.blog-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-recent-thumb .blog-img-placeholder span { font-size: 12px; }
.blog-recent strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; line-height: 1.4; color: var(--b-ink); font-weight: 600; transition: color .2s;
}
.blog-recent a:hover strong { color: var(--b-orange); }
.blog-recent small { display: block; font-size: 12px; color: var(--b-mut); margin-top: 4px; }
.blog-cat-list { list-style: none; margin: 0; padding: 0; }
.blog-cat-list li + li { border-top: 1px solid var(--b-line); }
.blog-cat-list a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14.5px; color: var(--b-text); transition: color .2s; }
.blog-cat-list a:hover { color: var(--b-orange); }
.blog-cat-list span { font-size: 12px; color: var(--b-mut); background: var(--b-paper); padding: 2px 9px; border-radius: 2px; }
.blog-widget-cta { background: var(--b-teal); color: #fff; }
.blog-widget-cta h4 { color: #fff; border-color: rgba(255,255,255,.15); }
.blog-widget-cta p { font-size: 14px; color: rgba(255,255,255,.75); margin: 0 0 18px; }
.blog-widget-cta .btn { width: 100%; justify-content: center; }
.blog-widget-phone { display: block; text-align: center; margin-top: 14px; font-size: 14px; color: #fff; font-weight: 500; }
.blog-widget-phone i { color: var(--b-orange); margin-right: 6px; }

/* Related */
.blog-related { background: #fff; padding: 72px 0 88px; }
.blog-related h2 { font-family: 'Big Shoulders Display', sans-serif; text-transform: uppercase; font-size: clamp(34px, 4vw, 52px); line-height: 1; font-weight: 800; color: var(--b-ink); margin: 12px 0 32px; }
.blog-related .blog-card { background: var(--b-paper); box-shadow: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .wrap, .nav { padding-left: 20px; padding-right: 20px; }
  .nav-links { gap: 24px; }
}
@media (max-width: 768px) {
  .wrap, .nav { padding-left: 16px; padding-right: 16px; }
  .nav-phone, .nav-right > .btn { display: none; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: rgb(253, 254, 254); border-bottom: 1px solid rgb(229, 229, 229); box-shadow: 0 16px 30px rgba(0,0,0,.08); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav-links.open { max-height: 560px; }
  .nav-links a { width: 100%; padding: 14px 20px; border-bottom: 1px solid rgb(238, 236, 230); }
  .nav-links a::after { display: none; }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 18px 20px 22px; }
  .nav-mobile-extra .nav-phone { display: block; font-size: 15px; border: 0; padding: 0; }
  .nav-mobile-extra .btn { display: inline-flex; width: 100%; justify-content: center; border: 0; color: #fff; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .nav-logo img { width: 130px; }
  .float-whatsapp, .float-brochure { width: 52px; height: 52px; bottom: 18px; }
  .float-whatsapp { right: 18px; } .float-brochure { left: 18px; }
  .float-whatsapp svg { width: 26px; height: 26px; } .float-brochure svg { width: 22px; height: 22px; }
}

@media (max-width: 1100px) {
  .blog-article-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
  .blog-article { padding: 32px 36px; }
  .blog-cover { margin: -32px -36px 32px; }
}

@media (max-width: 960px) {
  .blog-hero { padding: 64px 0 60px; }
  .blog-hero-article { padding: 44px 0 44px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-featured-body { padding: 28px; }
  .blog-article-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-sidebar .blog-widget:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .blog-hero p { font-size: 15.5px; }
  .blog-search { margin-top: 24px; padding-left: 42px; }
  .blog-search > i { left: 17px; }
  .blog-search button { padding: 10px 16px; }
  .blog-chips { padding-top: 14px; padding-bottom: 14px; }
  .blog-body { padding-top: 32px; padding-bottom: 56px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 22px; }
  .blog-article { padding: 24px 18px; border-radius: 12px; }
  .blog-cover { margin: -24px -18px 24px; }
  .blog-cover img { border-radius: 12px 12px 0 0; }
  .blog-content { font-size: 16px; line-height: 1.75; }
  .blog-content h2 { font-size: 23px; }
  .blog-content h3 { font-size: 20px; }
  .blog-content .alignleft, .blog-content .alignright { float: none; margin: 20px auto; max-width: 100%; }
  .blog-prevnext { grid-template-columns: 1fr; }
  .blog-prevnext .pn-next { text-align: left; }
  .blog-sidebar { grid-template-columns: minmax(0, 1fr); }
  .blog-cta { padding: 48px 0; }
  .blog-cta-actions, .blog-cta-actions .btn, .blog-cta-wa { width: 100%; justify-content: center; }
  .blog-pagination a, .blog-pagination span { min-width: 40px; height: 40px; }
}
