/* ==========================================================================
   OpenAgent Insights / Blog Page — Black / White / Orange
   Scoped to the Insights page only (body.blogs). Matches the homepage,
   About, Services and Contact pages visual identity.
   ========================================================================== */

body.blogs {
  background: #ffffff;
  color: #3a3a3a;
  overflow-x: hidden;
}

body.blogs h1, body.blogs h2, body.blogs h3, body.blogs h4, body.blogs h5 {
  font-family: 'Poppins', sans-serif;
  color: #0a0a0a;
  letter-spacing: -.02em;
}

body.blogs ::selection { background: #FF6B00; color: #fff; }

/* --------------------------------------------------------------------------
   Header / navigation — black bar
   -------------------------------------------------------------------------- */
body.blogs .topbar { background: #000000; box-shadow: none; }
body.blogs .topbar.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
body.blogs .topbar-inner { max-width: var(--wrap); }

body.blogs .brand { color: #ffffff; }
body.blogs .brand .dot { background: #FF6B00; border-radius: 8px; }
body.blogs .brand span { color: #FF6B00; }

body.blogs .nav-desktop > li > a { color: #e6e6e6; font-weight: 500; }
body.blogs .nav-desktop > li > a:hover,
body.blogs .nav-desktop > li.active > a { color: #ffffff; background: rgba(255,255,255,.12); }
body.blogs .nav-desktop > li.has-drop > a i { color: #999; }

body.blogs .dropdown { background: #111111; border-color: #2a2a2a; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
body.blogs .dropdown::before { background: #111111; border-color: #2a2a2a; }
body.blogs .dropdown a { color: #e6e6e6; }
body.blogs .dropdown a i { color: #FF6B00; }
body.blogs .dropdown a:hover { background: #1f1f1f; color: #ffffff; }

body.blogs .header-actions .btn { background: #FF6B00; border-radius: 999px; font-weight: 600; color: #ffffff; box-shadow: 0 10px 26px rgba(255,107,0,.32); }
body.blogs .header-actions .btn:hover { background: #ff7f1f; transform: translateY(-2px); }

body.blogs .hamburger { background: rgba(255,255,255,.12); color: #ffffff; }

/* Offcanvas mobile menu */
body.blogs .offcanvas { background: #0a0a0a; }
body.blogs .offcanvas .brand { color: #fff; }
body.blogs .oc-close { background: #1f1f1f; color: #fff; }
body.blogs .oc-nav > li { border-color: #242424; }
body.blogs .oc-link { color: #fff; }
body.blogs .oc-link:hover { color: #FF6B00; }
body.blogs .oc-sub a { color: #bdbdbd; border-color: #2a2a2a; }
body.blogs .oc-sub a:hover { color: #FF6B00; border-color: #FF6B00; }
body.blogs .overlay { background: rgba(0,0,0,.6); }
body.blogs .offcanvas .btn { background: #FF6B00; color: #fff; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
body.blogs .btn { border-radius: 999px; font-weight: 600; font-family: 'Poppins', sans-serif; }
body.blogs .btn-primary { background: #FF6B00; color: #ffffff; box-shadow: 0 12px 30px rgba(255,107,0,.32); }
body.blogs .btn-primary:hover { background: #ff7f1f; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255,107,0,.4); }
body.blogs .btn-ghost { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,.7); }
body.blogs .btn-ghost:hover { background: #ffffff; color: #0a0a0a; }

/* --------------------------------------------------------------------------
   Breadcrumb (black hero)
   -------------------------------------------------------------------------- */
body.blogs .breadcrumb { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); box-shadow: none; }
body.blogs .breadcrumb a { color: #aeaeae; }
body.blogs .breadcrumb a:hover { color: #fff; }
body.blogs .breadcrumb i { color: #FF6B00; }
body.blogs .breadcrumb [aria-current] { color: #ffffff; font-weight: 600; }

/* --------------------------------------------------------------------------
   Hero — dark, typography-led
   -------------------------------------------------------------------------- */
body.blogs .hero {
  background: #ffffff;
  padding: 110px 0 100px;
}
body.blogs .hero-inner { text-align: center; max-width: 900px; margin-inline: auto; }
body.blogs .hero .eyebrow {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: #aeaeae;
  font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px;
  margin-bottom: 26px;
}
body.blogs .hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF6B00; }
body.blogs .hero h1 {
  color: #0a0a0a;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.12;
  margin: 0;
}
body.blogs .hero h1 strong { color: #FF6B00; font-weight: 800; }
body.blogs .hero p.lede { color: #555555; font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 660px; margin: 24px auto 0; line-height: 1.7; }

/* --------------------------------------------------------------------------
   Sections base
   -------------------------------------------------------------------------- */
body.blogs .section { padding: 100px 0; }
body.blogs .section.tint { background: #f7f7f5; }

body.blogs .section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
body.blogs .section-head.left { margin-left: 0; text-align: left; }
body.blogs .section-head .tag-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: #FF6B00; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px;
}
body.blogs .section-head .tag-label::before { content: ""; width: 26px; height: 2px; background: #FF6B00; }
body.blogs .section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; }
body.blogs .section-head p { color: #5f5f5f; margin-top: 16px; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Category / article tag
   -------------------------------------------------------------------------- */
body.blogs .cat-tag {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #FF6B00;
}
body.blogs .cat-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF6B00; margin-right: 8px; }

/* --------------------------------------------------------------------------
   Featured article — editorial, typography-led
   -------------------------------------------------------------------------- */
body.blogs .featured {
  background: #000000;
  border-radius: 20px;
  padding: clamp(40px, 7vw, 76px) clamp(26px, 7vw, 80px);
  position: relative; overflow: hidden;
}
body.blogs .featured::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.28), transparent 65%);
  top: -140px; right: -80px;
}
body.blogs .featured-body { position: relative; z-index: 1; max-width: 720px; }
body.blogs .featured-body .cat-tag { color: #FF6B00; margin-bottom: 18px; }
body.blogs .featured-body h3 { color: #ffffff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.2; margin: 0 0 18px; }
body.blogs .featured-body h3 a { color: #ffffff; text-decoration: none; }
body.blogs .featured-body h3 a:hover { color: #FF6B00; }
body.blogs .featured-body p { color: #cfcfcf; font-size: 1.05rem; max-width: 620px; line-height: 1.7; margin: 0; }
body.blogs .featured-meta { display: flex; gap: 22px; color: #9a9a9a; font-size: 13.5px; margin-top: 26px; }
body.blogs .featured-meta i { color: #FF6B00; margin-right: 6px; }
body.blogs .featured-body .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px; font-weight: 600; font-size: 15px; color: #FF6B00;
}
body.blogs .featured-body .card-link i { transition: transform .25s; }
body.blogs .featured:hover .card-link i { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   Category filter bar
   -------------------------------------------------------------------------- */
body.blogs .filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 0 auto 48px;
}
body.blogs .filter-bar button {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px; font-weight: 600; color: #0a0a0a;
  background: #ffffff; border: 1px solid #e3ddd3;
  border-radius: 999px; padding: 9px 18px; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
body.blogs .filter-bar button:hover { border-color: #FF6B00; color: #FF6B00; }
body.blogs .filter-bar button.on {
  background: #FF6B00; border-color: #FF6B00; color: #ffffff;
  box-shadow: 0 8px 22px rgba(255,107,0,.3);
}

/* --------------------------------------------------------------------------
   Article grid — editorial cards with thumbnails
   -------------------------------------------------------------------------- */
body.blogs .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
body.blogs .blog-card {
  background: #ffffff;
  border: 1px solid #ece8e2;
  border-top: 3px solid #FF6B00;
  border-radius: 16px;
  padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body.blogs .blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.08); border-color: #FF6B00; }
body.blogs .blog-thumb {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f7f7f5;
}
body.blogs .blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
body.blogs .blog-card:hover .blog-thumb img { transform: scale(1.05); }
body.blogs .blog-card .blog-body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
body.blogs .blog-card .cat-tag { margin-bottom: 16px; }
body.blogs .blog-card h3 { font-size: 1.14rem; line-height: 1.35; margin: 0 0 12px; }
body.blogs .blog-card h3 a { color: #0a0a0a; text-decoration: none; }
body.blogs .blog-card h3 a:hover { color: #FF6B00; }
body.blogs .blog-card p { font-size: 14.5px; color: #5f5f5f; line-height: 1.65; margin: 0 0 18px; flex: 1; }
body.blogs .blog-meta { display: flex; align-items: center; color: #9a9a9a; font-size: 13px; margin-bottom: 18px; }
body.blogs .blog-meta i { color: #FF6B00; margin-right: 6px; }
body.blogs .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; color: #FF6B00;
  border-top: 1px solid #ece8e2; padding-top: 18px; margin-top: auto;
}
body.blogs .card-link i { transition: transform .25s; }
body.blogs .blog-card:hover .card-link i { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   Bottom CTA — white, typography-led
   -------------------------------------------------------------------------- */
body.blogs .bottom-cta {
  margin-top: 72px;
  text-align: center;
}
body.blogs .bottom-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.15; }
body.blogs .bottom-cta p { color: #5f5f5f; max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }
body.blogs .bottom-cta .btn-row { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Final CTA — black banner
   -------------------------------------------------------------------------- */
body.blogs .final-cta {
  background: #000000;
  border-radius: 20px;
  padding: clamp(56px, 8vw, 96px) clamp(26px, 7vw, 96px);
  text-align: center;
  color: #fff;
  position: relative; overflow: hidden;
}
body.blogs .final-cta::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.28), transparent 65%);
  top: -120px; right: -80px;
}
body.blogs .final-cta::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.2), transparent 65%);
  bottom: -130px; left: -70px;
}
body.blogs .final-cta h2 { color: #ffffff; position: relative; z-index: 1; font-size: clamp(1.9rem, 4vw, 2.9rem); }
body.blogs .final-cta p { position: relative; z-index: 1; color: #cfcfcf; max-width: 620px; margin: 18px auto 0; font-size: 1.05rem; }
body.blogs .final-cta .btn-row { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* --------------------------------------------------------------------------
   Footer — minimal, matches homepage/About/Services/Contact
   -------------------------------------------------------------------------- */
body.blogs .footer { background: #000000; color: #b5b5b5; padding: 72px 0 0; }
body.blogs .footer::before { display: none; }
body.blogs .footer .brand { color: #fff; }
body.blogs .footer .brand span { color: #FF6B00; }
body.blogs .footer h4 { color: #ffffff; font-size: 1rem; margin-bottom: 20px; letter-spacing: .02em; }
body.blogs .footer-about > p { color: #b5b5b5; }
body.blogs .footer ul a { color: #b5b5b5; }
body.blogs .footer ul a:hover { color: #FF6B00; }
body.blogs .footer .socials a { border-color: rgba(255,255,255,.22); color: #fff; }
body.blogs .footer .socials a:hover { background: #FF6B00; border-color: #FF6B00; }
body.blogs .footer .contact-list i { color: #FF6B00; }
body.blogs .footer-bottom { border-color: rgba(255,255,255,.14); color: #9a9a9a; }
body.blogs .footer-bottom p strong { color: #FF6B00; }

/* --------------------------------------------------------------------------
   Scroll-to-top / WhatsApp float
   -------------------------------------------------------------------------- */
body.blogs .to-top { background: #FF6B00; color: #fff; box-shadow: 0 10px 24px rgba(255,107,0,.4); }
body.blogs .to-top:hover { background: #ff7f1f; }
body.blogs .fwa { background: #25D366; }
body.blogs .fwa:hover { background: #1fb857; }

/* --------------------------------------------------------------------------
   Article / blog-post page — long-form reading
   -------------------------------------------------------------------------- */
body.blogs .post {
  background: #ffffff;
  padding: clamp(56px, 8vw, 84px) 0 60px;
}
body.blogs .post-inner { max-width: 760px; margin-inline: auto; }

body.blogs .post-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; color: #FF6B00;
  margin-bottom: 28px;
}
body.blogs .post-back i { transition: transform .25s; }
body.blogs .post-back:hover { color: #ff7f1f; }
body.blogs .post-back:hover i { transform: translateX(-4px); }

body.blogs .post-crumbs { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: #9a9a9a; margin-bottom: 22px; }
body.blogs .post-crumbs a { color: #9a9a9a; }
body.blogs .post-crumbs a:hover { color: #FF6B00; }
body.blogs .post-crumbs i { font-size: 9px; color: #FF6B00; }

body.blogs .post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #9a9a9a; font-size: 13.5px; margin-bottom: 18px; }
body.blogs .post-meta i { color: #FF6B00; margin-right: 6px; }

body.blogs .post h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
body.blogs .post .post-byline { color: #5f5f5f; font-size: 15px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid #ece8e2; }

body.blogs .post-hero { margin: 0 0 40px; }
body.blogs .post-hero img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px; display: block;
}
body.blogs .post-hero figcaption { font-size: 13px; color: #9a9a9a; margin-top: 10px; }

body.blogs .post p {
  font-size: 1.06rem; line-height: 1.8; color: #3a3a3a;
  margin: 0 0 24px;
}
body.blogs .post p + p { margin-top: 0; }
body.blogs .post h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin: 46px 0 16px;
  line-height: 1.25;
}
body.blogs .post h3 {
  font-size: 1.3rem;
  margin: 36px 0 14px;
  line-height: 1.3;
}
body.blogs .post ul, body.blogs .post ol { margin: 0 0 24px; padding-left: 22px; }
body.blogs .post li { font-size: 1.04rem; line-height: 1.75; color: #3a3a3a; margin-bottom: 10px; }
body.blogs .post li::marker { color: #FF6B00; }
body.blogs .post a { color: #FF6B00; font-weight: 500; }
body.blogs .post a:hover { color: #ff7f1f; }
body.blogs .post strong, body.blogs .post b { color: #0a0a0a; font-weight: 600; }
body.blogs .post blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid #FF6B00; }

body.blogs .post table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .95rem; }
body.blogs .post table th { background: #000000; color: #fff; text-align: left; padding: 12px; border: 1px solid #2a2a2a; font-weight: 600; }
body.blogs .post table td { padding: 11px 12px; border: 1px solid #e7e0d4; color: #3a3a3a; }
body.blogs .post table tr:nth-child(even) td { background: #f7f7f5; }

body.blogs .post-note {
  margin: 40px 0; padding: 26px 28px;
  background: #f7f7f5; border-left: 4px solid #FF6B00; border-radius: 0 12px 12px 0;
}
body.blogs .post-note p:last-child { margin: 0; }

body.blogs .share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
body.blogs .share-row .share-label { font-weight: 600; color: #0a0a0a; font-size: 15px; margin: 8px 0 0; }
body.blogs .share-link {
  padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: 13.5px; color: #0a0a0a;
  border: 1px solid #e3ddd3; background: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
body.blogs .share-link:hover { background: #FF6B00; border-color: #FF6B00; color: #fff; }

body.blogs .post-foot {
  margin-top: 48px; padding-top: 34px;
  border-top: 1px solid #ece8e2;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
}
body.blogs .post-foot .btn { border-radius: 999px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  body.blogs .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body.blogs .section { padding: 68px 0; }
  body.blogs .hero { padding: 84px 0 80px; }
  body.blogs .blog-grid { grid-template-columns: 1fr; }
  body.blogs .featured { padding: 34px 24px; }
}

@media print {
  body.blogs .hero, body.blogs .fwa { display: none; }
}

/* Hero image */
body.blogs .hero-media {
  margin: 0 auto 36px;
  max-width: 900px;
  border: 1px solid #ece8e2;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}
body.blogs .hero-media img {
  display: block; width: 100%; height: 380px; object-fit: cover; object-position: center;
}
@media (max-width: 640px) {
  body.blogs .hero-media img { height: 220px; }
}
