/* ============================================================
   BLOG POST  —  blog/how-to-rank-on-google-maps/
   File: assets/css/blog-maps.css   (sirf is article ke liye, prefix bl-*)
   Hero / FAQ / Final CTA shared hain (hero.css) — yahan nahi chhede gaye.
   Sirf CSS hai: index.php mein koi tabdeeli nahi chahiye.
   ============================================================ */
 
.bl-article {
  --b1: var(--teal-main, #00A896);
  --b2: var(--teal-deep, #007A78);
  --b3: var(--teal-darker, #04322F);
  --bm50: var(--mint-50, #F1FBF9);
  --bm100: var(--mint-100, #D9F5EF);
  --bm200: var(--mint-200, #B9EBE1);
  --bink: var(--text-dark, #0F172A);
  --bbody: var(--text-body, #475569);
  --bmut: var(--text-muted, #64748B);
  --bpink: #FF7A9A;
  --bease: cubic-bezier(0.22, 1, 0.36, 1);
  --bpop: cubic-bezier(0.34, 1.56, 0.64, 1);
 
  position: relative;
  max-width: 880px;            /* parhne ke liye aarām-deh width, hamesha center mein */
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--bbody);
  counter-reset: blsec;
}
.bl-article > * { max-width: 100%; }
 
/* ---------- lead ---------- */
.bl-lead {
  position: relative;
  overflow: hidden;
  margin: 0 0 12px;
  padding: 26px 30px 26px 36px;
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--bink);
  background: linear-gradient(135deg, var(--bm50), #FFFFFF);
  border: 1px solid var(--bm200);
  border-radius: 24px;
  box-shadow: 0 18px 36px -24px rgba(0, 90, 88, 0.45);
  animation: blUp 0.9s var(--bease) both;
}
.bl-lead::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--b1), var(--bpink));
}
.bl-lead::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.16), transparent 70%);
  animation: blFloat 8s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes blUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes blFloat { to { transform: translate(-30px, 24px) scale(1.25); } }
 
/* ---------- text ---------- */
.bl-article p { margin: 0 0 20px; }
.bl-article b, .bl-article strong { font-weight: 700; color: var(--bink); }
 
.bl-article a:not(.bl-rel) {
  color: var(--b2);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--b1), var(--b1)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.35s ease, color 0.2s ease;
}
.bl-article a:not(.bl-rel):hover { background-size: 100% 2px; color: var(--b1); }
 
/* ---------- section headings (01, 02 ... auto-number) ---------- */
.bl-article > h2 {
  position: relative;
  margin: 64px 0 18px;
  padding-top: 52px;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--bink);
  letter-spacing: -0.01em;
}
.bl-article > h2::before {
  counter-increment: blsec;
  content: counter(blsec, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  display: inline-grid; place-items: center;
  min-width: 42px; height: 34px; padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--b1), var(--b2));
  box-shadow: 0 10px 18px -8px rgba(0, 90, 88, 0.6);
}
.bl-article > h2::after {
  content: ""; position: absolute; left: 56px; top: 16px;
  width: 64px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--b1), var(--bpink));
}
 
/* ---------- step headings ---------- */
.bl-article > h3 {
  position: relative;
  margin: 38px 0 12px;
  padding: 14px 20px 14px 24px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--bink);
  background: var(--bm50);
  border: 1px solid var(--bm200);
  border-radius: 16px;
  transition: transform 0.35s var(--bease), border-color 0.3s ease, box-shadow 0.35s ease, background 0.3s ease;
}
.bl-article > h3::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 5px; border-radius: 0 5px 5px 0;
  background: linear-gradient(180deg, var(--b1), var(--b2));
  transition: top 0.35s ease, bottom 0.35s ease;
}
.bl-article > h3:hover {
  transform: translateX(8px);
  background: #FFFFFF;
  border-color: var(--b1);
  box-shadow: 0 18px 30px -18px rgba(0, 90, 88, 0.5);
}
.bl-article > h3:hover::before { top: 0; bottom: 0; }
 
/* ---------- lists ---------- */
.bl-article > ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.bl-article > ul > li {
  position: relative;
  padding: 12px 18px 12px 52px;
  background: #FFFFFF;
  border: 1px solid var(--bm100);
  border-radius: 14px;
  line-height: 1.7;
  transition: transform 0.3s var(--bease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.bl-article > ul > li::before {
  content: ""; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat,
    linear-gradient(135deg, var(--b1), var(--b2));
  transition: transform 0.45s var(--bpop);
}
.bl-article > ul > li:hover { transform: translateX(8px); border-color: var(--b1); box-shadow: 0 16px 26px -18px rgba(0, 90, 88, 0.55); }
.bl-article > ul > li:hover::before { transform: rotate(360deg) scale(1.12); }
 
/* "Mistakes" list: cross marks in pink */
.bl-article > h2:nth-of-type(4) + ul > li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 13px no-repeat,
    linear-gradient(135deg, var(--bpink), #E8486F);
}
.bl-article > h2:nth-of-type(4) + ul > li:hover { border-color: var(--bpink); }
 
/* ---------- table ---------- */
.bl-tablewrap {
  margin: 8px 0 28px;
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid var(--bm200);
  border-radius: 24px;
  box-shadow: 0 26px 44px -30px rgba(0, 90, 88, 0.5);
  -webkit-overflow-scrolling: touch;
}
.bl-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 0.96rem; line-height: 1.6; }
.bl-table thead th {
  padding: 16px 20px; text-align: left; white-space: nowrap;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #FFFFFF; background: linear-gradient(135deg, var(--b2), var(--b3));
}
.bl-table td { padding: 18px 20px; vertical-align: top; border-top: 1px solid var(--bm100); color: var(--bbody); transition: background 0.3s ease; }
.bl-table tbody tr:nth-child(even) td { background: var(--bm50); }
.bl-table tbody tr:hover td { background: var(--bm100); }
.bl-table td:first-child { white-space: nowrap; }
.bl-table td:first-child b {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--b1), var(--b2)); color: #FFFFFF;
  font-size: 0.86rem; box-shadow: 0 8px 14px -8px rgba(0, 90, 88, 0.7);
}
 
/* ---------- author ---------- */
.bl-author {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 22px;
  margin: 64px 0 40px; padding: 28px 30px;
  background: linear-gradient(135deg, var(--b3), var(--b2));
  border-radius: 28px;
  color: #FFFFFF;
  box-shadow: 0 34px 54px -30px rgba(0, 70, 68, 0.75);
}
.bl-author::before {
  content: ""; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 154, 0.35), transparent 70%);
  animation: blFloat 9s ease-in-out infinite alternate; pointer-events: none;
}
.bl-amono {
  position: relative; flex: 0 0 76px; width: 76px; height: 76px;
  display: grid; place-items: center; border-radius: 50%;
  font-size: 1.5rem; font-weight: 800; letter-spacing: 0.04em; color: var(--b2);
  background: #FFFFFF;
  box-shadow: 0 16px 26px -10px rgba(0, 0, 0, 0.4);
}
.bl-amono::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.65);
  animation: blSpin 14s linear infinite;
}
@keyframes blSpin { to { transform: rotate(360deg); } }
.bl-author > div { position: relative; }
.bl-author h3 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; color: #FFFFFF; }
.bl-author p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: rgba(255, 255, 255, 0.9); }
.bl-author a { color: #FBBF77 !important; background-image: linear-gradient(#FBBF77, #FBBF77) !important; }
 
/* ---------- related ---------- */
.bl-related h2 { margin: 0 0 22px; font-size: 1.5rem; font-weight: 800; color: var(--bink); }
.bl-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bl-rel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px 54px;
  background: #FFFFFF; border: 1px solid var(--bm200); border-radius: 22px;
  box-shadow: 0 10px 26px -18px rgba(0, 90, 88, 0.45);
  text-decoration: none;
  transition: transform 0.4s var(--bease), border-color 0.3s ease, box-shadow 0.4s ease;
}
.bl-rel::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(160deg, var(--b1), var(--b2));
  transition: opacity 0.35s ease;
}
.bl-rel > * { position: relative; }
.bl-rel b { font-size: 1.02rem; font-weight: 800; line-height: 1.4; color: var(--bink); transition: color 0.3s ease; }
.bl-rel span { font-size: 0.88rem; line-height: 1.6; color: var(--bbody); transition: color 0.3s ease; }
.bl-rel::after {
  content: "\2192";
  position: absolute; left: 22px; bottom: 18px;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  font-size: 1rem; font-weight: 700; color: var(--b2); background: var(--bm100);
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.bl-rel:hover { transform: translateY(-8px); border-color: var(--b2); box-shadow: 0 32px 48px -24px rgba(0, 90, 88, 0.6); }
.bl-rel:hover::before { opacity: 1; }
.bl-rel:hover b { color: #FFFFFF; }
.bl-rel:hover span { color: rgba(255, 255, 255, 0.9); }
.bl-rel:hover::after { transform: translateX(8px); background: #FFFFFF; color: var(--b2); }
.bl-rel:focus-visible { outline: 3px solid var(--b1); outline-offset: 3px; }
 
/* ---------- scroll animations (Chrome/Edge: sirf support hone par) ---------- */
@supports (animation-timeline: view()) {
  .bl-article > h2, .bl-article > h3, .bl-article > p, .bl-article > ul > li,
  .bl-tablewrap, .bl-author, .bl-related h2, .bl-rel {
    animation: blUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }
  .bl-lead { animation-timeline: auto; animation: blUp 0.9s var(--bease) both; }
 
  /* reading progress bar (page ke top par) */
  .bl-article::before {
    content: ""; position: fixed; left: 0; top: 0; z-index: 1060;
    width: 100%; height: 4px; transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, var(--b1), var(--bpink));
    animation: blProg linear both; animation-timeline: scroll(root);
    pointer-events: none;
  }
  @keyframes blProg { to { transform: scaleX(1); } }
}
 
/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .bl-rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .bl-article { font-size: 1rem; }
  .bl-lead { padding: 22px 20px 22px 26px; font-size: 1.04rem; }
  .bl-article > h2 { margin-top: 48px; }
  .bl-article > h3 { padding: 12px 16px 12px 20px; font-size: 1.05rem; }
  .bl-article > ul > li { padding: 11px 14px 11px 48px; }
  .bl-author { flex-direction: column; text-align: center; padding: 26px 20px; }
}
 
/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bl-lead, .bl-lead::after, .bl-author::before, .bl-amono::before { animation: none !important; }
  .bl-article > h2, .bl-article > h3, .bl-article > p, .bl-article > ul > li,
  .bl-tablewrap, .bl-author, .bl-related h2, .bl-rel { animation: none !important; }
  .bl-article::before { display: none; }
  .bl-article > h3, .bl-article > ul > li, .bl-rel { transition: none; }
}
 