/*
=======================================================
  BuzzLocal Media — Blog Pages Stylesheet
  Shared across all blog pages
  Style: Crown Haleem editorial — Poppins only
=======================================================
  TABLE OF CONTENTS
  01. Base & Reset
  02. Progress Bar
  03. Blog Hero Banner
  04. Blog Services Bar
  05. Blog Body & Overview Card
  06. Blog Section Cards
  07. Comparison Table
  08. Blog CTA Section
  09. Footer
  10. WhatsApp Float
  11. Responsive
=======================================================
*/

/* =======================================================
   01. BASE & RESET
======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  background: #fafaf8;
  color: #1a1a1a;
  scroll-behavior: smooth;
}

a { text-decoration: none; }


/* =======================================================
   NAVBAR OVERRIDES (templatemo header on blog pages)
======================================================= */


/* =======================================================
   02. PROGRESS BAR
======================================================= */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  background: #F5C30B;
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}


/* =======================================================
   03. BLOG HERO BANNER
======================================================= */
.blog-hero-section {
  position: relative;
  background: #111;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* yellow left bar */
.blog-hero-section::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: #F5C30B;
  z-index: 2;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.3);
  transform: scale(1.04);
  transition: transform 8s ease;
}

.blog-hero-section:hover .blog-hero-bg { transform: scale(1.0); }

.blog-hero-content {
  position: relative;
  z-index: 3;
  padding: 60px 8% 70px;
  max-width: 860px;
}

.blog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #F5C30B;
  margin-bottom: 18px;
}

.blog-hero-eyebrow span {
  width: 30px; height: 1px;
  background: #F5C30B;
  display: inline-block;
}

.blog-hero-section h1 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 28px;
}

.blog-hero-section h1 em {
  font-style: normal;
  color: #F5C30B;
}

.blog-hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.blog-meta-item { display: flex; flex-direction: column; gap: 4px; }

.blog-meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

.blog-meta-value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* back link inside hero */
.blog-back {
  position: absolute;
  top: 28px; left: 8%;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s;
}

.blog-back i { font-size: 11px; transition: transform 0.25s; }
.blog-back:hover { color: #F5C30B; }
.blog-back:hover i { transform: translateX(-4px); }


/* =======================================================
   04. BLOG TAGS BAR (below hero)
======================================================= */
.blog-tags-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 8%;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-tags-bar > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-right: 4px;
}

.blog-tag {
  background: rgba(245,195,11,0.1);
  border: 1px solid rgba(245,195,11,0.3);
  color: #b08a00;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 20px;
  white-space: nowrap;
}


/* =======================================================
   05. BLOG BODY & OVERVIEW CARD
======================================================= */
.blog-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 8% 90px;
}

/* Section number label */
.blog-section-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #F5C30B;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-section-number::after {
  content: '';
  width: 36px; height: 1px;
  background: #F5C30B;
  display: inline-block;
}

/* Overview/intro card */
.blog-overview {
  background: #fff;
  border-radius: 20px;
  padding: 52px 60px;
  margin-bottom: 60px;
  border: 1px solid #eee;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.blog-overview.blog-in-view { opacity: 1; transform: translateY(0); }

/* watermark quote */
.blog-overview::before {
  content: '"';
  position: absolute;
  top: -10px; left: 38px;
  font-size: 180px;
  font-weight: 800;
  color: rgba(245,195,11,0.07);
  line-height: 1;
  pointer-events: none;
}

.blog-overview h2 {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.35;
}

.blog-overview p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 14px;
}

.blog-overview p:last-child { margin-bottom: 0; }

/* hero image inside overview or as standalone */
.blog-featured-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 28px;
}


/* =======================================================
   06. BLOG SECTION CARDS
======================================================= */
.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 48px 56px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.blog-card.blog-in-view { opacity: 1; transform: translateY(0); }

/* yellow left bar on cards */
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: #F5C30B;
  border-radius: 4px 0 0 4px;
}

/* top accent bar variant */
.blog-card.blog-card--accent::before {
  top: 0; left: 0; right: 0; bottom: auto;
  height: 3px;
  width: auto;
  background: linear-gradient(90deg, #F5C30B, transparent);
  border-radius: 0;
}

.blog-card h2 {
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.35;
  margin-top: 10px;
}

.blog-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 22px 0 10px;
}

.blog-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 14px;
}

.blog-card p:last-child { margin-bottom: 0; }

.blog-card strong { color: #111; font-weight: 700; }

/* list inside cards */
.blog-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
}

.blog-card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 10px;
}

.blog-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: #F5C30B;
  border-radius: 2px;
}

.blog-card ul li strong { color: #111; font-weight: 700; }

/* 2-col grid inside a card */
.blog-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.blog-mini-card {
  background: #fafaf8;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.blog-mini-card:hover {
  border-color: rgba(245,195,11,0.4);
  box-shadow: 0 5px 18px rgba(245,195,11,0.08);
}

.blog-mini-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}

.blog-mini-card p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* stat highlight pill */
.blog-stat {
  display: inline-block;
  background: rgba(245,195,11,0.12);
  border: 1px solid rgba(245,195,11,0.3);
  color: #b08a00;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 6px 4px 6px 0;
}


/* =======================================================
   07. COMPARISON TABLE
======================================================= */
.blog-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  margin-top: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.comparison-table th {
  background: #111;
  color: #F5C30B;
  padding: 15px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.comparison-table td {
  padding: 13px 20px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #444;
  background: #fff;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:nth-child(even) td { background: #fafaf8; }

.comparison-table tr:hover td {
  background: rgba(245,195,11,0.05);
  transition: background 0.2s;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: #111;
}


/* =======================================================
   08. BLOG CTA SECTION
======================================================= */
.blog-cta-section {
  text-align: center;
  background: linear-gradient(135deg, #111, #000);
  border-radius: 24px;
  padding: 70px 40px;
  margin: 0 8% 80px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.blog-cta-section.blog-in-view { opacity: 1; transform: translateY(0); }

.blog-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F5C30B, transparent);
}

.blog-cta-section h2 {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  color: #F5C30B;
  margin-bottom: 12px;
}

.blog-cta-section p {
  color: #bbb;
  font-size: 15px;
  margin-bottom: 30px;
  max-width: 460px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F5C30B;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 30px;
  transition: all 0.3s;
}

.blog-cta-btn:hover { background: #fff; color: #000; }


/* =======================================================
   09. FOOTER
======================================================= */
.footer {
  background: #0a0a0a;
  color: #ccc;
  padding: 70px 10% 40px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-col { flex: 1; min-width: 220px; }

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img { height: 35px; width: auto; }

.footer-col > p {
  font-size: 14px; line-height: 1.8; color: #999; max-width: 280px;
  margin-top: 10px;
}

.footer-col h3 {
  font-size: 12px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 20px; padding-bottom: 10px;
  position: relative;
}

.footer-col h3::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: #F5C30B; border-radius: 2px;
}

.footer-social { display: flex; gap: 10px; margin-top: 18px; }

.footer-social a {
  width: 38px; height: 38px;
  background: #1a1a1a; border: 1px solid #333;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 15px;
  text-decoration: none; transition: all 0.3s;
}

.footer-social a:hover {
  background: #F5C30B; border-color: #F5C30B;
  color: #000; transform: translateY(-3px);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li::before { content: none; }

.footer-col ul li a {
  color: #999; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s; text-decoration: none;
}

.footer-col ul li a i { font-size: 10px; color: #F5C30B; }
.footer-col ul li a:hover { color: #F5C30B; padding-left: 4px; }

.contact-info li { margin-bottom: 12px; }
.contact-info li::before { content: none; }

.contact-info li a {
  display: flex; align-items: center; gap: 12px;
  color: #999; font-size: 14px;
  text-decoration: none; transition: all 0.3s;
}

.contact-info li a i {
  width: 34px; height: 34px; min-width: 34px;
  background: #1a1a1a; border: 1px solid #2a2a2a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #F5C30B; font-size: 13px; transition: all 0.3s;
}

.contact-info li a:hover { color: #F5C30B; transform: translateX(5px); }
.contact-info li a:hover i { background: #F5C30B; color: #000; }

.footer-bottom {
  text-align: center;
  padding-top: 28px; margin-top: 48px;
  border-top: 1px solid #1e1e1e;
  font-size: 13px; color: #555;
}


/* =======================================================
   10. WHATSAPP FLOAT
======================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 100px; right: 25px;
  width: 56px; height: 56px;
  background: #25D366; color: #fff;
  border-radius: 50%; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; z-index: 9999;
  animation: wp-pulse 2s infinite;
  transition: transform 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

@keyframes wp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}


/* =======================================================
   11. RESPONSIVE
======================================================= */
@media (max-width: 900px) {
  .blog-hero-content { padding: 50px 6% 60px; }
  .blog-back { left: 6%; }
  .blog-tags-bar { padding: 14px 6%; }
  .blog-body { padding: 56px 6% 70px; }
  .blog-overview { padding: 38px 30px; margin-bottom: 44px; }
  .blog-card { padding: 36px 28px; }
  .blog-two-col { grid-template-columns: 1fr; gap: 14px; }
  .blog-cta-section { margin: 0 6% 60px; padding: 52px 28px; border-radius: 18px; }
  .footer { padding: 50px 6% 30px; }
  .footer-container { flex-direction: column; gap: 32px; }
  .footer-col { min-width: 100%; }
}

@media (max-width: 480px) {
  .blog-hero-section { min-height: 380px; }
  .blog-hero-section h1 { font-size: 24px; }
  .blog-hero-meta { gap: 16px; }
  .blog-overview { padding: 28px 20px; }
  .blog-card { padding: 28px 20px; }
  .blog-overview::before { font-size: 120px; }
  .blog-cta-section { margin: 0 4% 50px; padding: 42px 20px; }
  .blog-cta-section h2 { font-size: 18px; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 22px; bottom: 70px; right: 16px; }
}