/* Blog module styling — built on top of the site's own style.css variables
   (--purple, --purple2, --orange, --orange2) so it inherits your real palette. */

body{
  font-family:'Poppins',sans-serif;
  background:#fbfaff;
}

/* ===== Light aurora background — fixed behind everything, drifting blobs ===== */
.bl-aurora-bg{
  position:fixed; inset:0; z-index:-1; overflow:hidden; background:#fbfaff;
}
.bl-blob{
  position:absolute; border-radius:50%; filter:blur(95px); opacity:0.55;
  animation: bl-float 24s ease-in-out infinite;
}
.bl-b1{ width:600px; height:600px; top:-160px; left:-150px; background:radial-gradient(circle,#7b2cff,transparent 70%); }
.bl-b2{ width:560px; height:560px; top:-100px; right:-170px; background:radial-gradient(circle,var(--orange),transparent 70%); animation-delay:-6s; }
.bl-b3{ width:520px; height:520px; bottom:-220px; left:18%; background:radial-gradient(circle,#ff3d5a,transparent 70%); animation-delay:-11s; }
@keyframes bl-float{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(40px,-30px) scale(1.08); }
  66%{ transform:translate(-30px,25px) scale(0.95); }
}
.bl-aurora-veil{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.55) 55%, rgba(255,255,255,0.8) 100%);
}
.bl-aurora-grain{
  position:absolute; inset:0; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}

/* header stays a normal solid white bar on top of the aurora (unchanged from site) */
header{ position:relative; z-index:5; }

/* ===== hero ===== */
.bl-hero-band{ padding:70px 24px 56px; position:relative; overflow:hidden; }
.bl-hero-inner{ max-width:820px; margin:0 auto; position:relative; }
.bl-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:11.5px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  padding:8px 16px; border-radius:30px;
  background:rgba(59,12,168,0.08);
  border:1px solid rgba(59,12,168,0.14);
  backdrop-filter:blur(10px);
  color:var(--purple); margin-bottom:22px;
}
.bl-hero-band h1{ font-size:38px; font-weight:800; line-height:1.22; margin:0 0 16px; color:#111; letter-spacing:-0.3px; }
.bl-grad-text{
  background:linear-gradient(100deg,var(--purple) 0%, var(--orange) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.bl-hero-band p{ color:#4a5262; font-size:15.5px; line-height:1.75; }

.bl-wrap{ max-width:820px; margin:0 auto; padding:10px 24px 100px; }

/* ===== featured post ===== */
.bl-featured{
  display:block; text-decoration:none; color:inherit;
  border:1px solid rgba(59,12,168,0.08); border-radius:20px; overflow:hidden;
  margin-bottom:56px;
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(18px);
  box-shadow:0 20px 50px rgba(59,12,168,0.14);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.bl-featured:hover{ transform:translateY(-3px); background:rgba(255,255,255,0.88); box-shadow:0 26px 60px rgba(59,12,168,0.18); }
.bl-featured .bl-thumb{
  display:block; width:100%;
  aspect-ratio:1200/630; object-fit:cover;
  background-color:var(--purple);
  background-image: linear-gradient(135deg,var(--purple),var(--purple2) 55%, var(--orange));
}
.bl-featured .bl-body{ padding:32px 36px 36px; }
.bl-tag{
  display:inline-block; background:rgba(59,12,168,0.08); color:var(--purple);
  font-size:11px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase;
  padding:6px 12px; border-radius:20px; margin-bottom:14px;
  border:1px solid rgba(59,12,168,0.12);
}
.bl-featured-label{ font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--orange); margin-bottom:10px; }
.bl-featured h2{ font-size:25px; line-height:1.35; font-weight:700; margin:0 0 12px; color:#111; }
.bl-excerpt{ color:#4a5262; font-size:14.5px; line-height:1.75; margin-bottom:20px; }
.bl-byline{ display:flex; align-items:center; gap:10px; font-size:12.5px; color:#6b7280; }
.bl-avatar{
  width:28px; height:28px; border-radius:50%;
  background:linear-gradient(135deg,var(--orange),#ff3d5a); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700;
}

/* ===== list ===== */
.bl-section-label{ font-size:13px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#8a93a3; margin-bottom:22px; }
.bl-post-list{ display:flex; flex-direction:column; }
.bl-list-item{
  display:flex; gap:22px; align-items:flex-start; padding:24px;
  border-radius:16px;
  text-decoration:none; color:inherit;
  margin-bottom:14px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(59,12,168,0.08);
  backdrop-filter:blur(16px);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.bl-list-item:hover{ transform:translateY(-2px); background:rgba(255,255,255,0.9); box-shadow:0 14px 30px rgba(59,12,168,0.10); }
.bl-list-thumb{
  display:block;
  width:150px; min-width:150px; height:94px; border-radius:10px;
  object-fit:cover; background-color:rgba(59,12,168,0.06);
}
.bl-list-body h3{ font-size:17px; font-weight:700; line-height:1.4; color:#111; margin-bottom:6px; }
.bl-excerpt-sm{ font-size:13px; color:#5b6472; line-height:1.6; margin-bottom:10px; }
.bl-list-meta{ font-size:11.5px; color:#8a93a3; }

/* ===== single article — content stays on a solid white card for long-form readability ===== */
.bl-article-shell{
  max-width:760px; margin:0 auto; border-radius:20px;
  overflow:hidden; background:#fff;
  box-shadow:0 20px 50px rgba(59,12,168,0.14);
}
.bl-article-hero{
  display:block; width:100%;
  aspect-ratio:1200/630; object-fit:cover;
  background-color:var(--purple);
  background-image: linear-gradient(135deg,var(--purple),var(--purple2) 55%, var(--orange));
}
.bl-article-inner{ padding:42px 56px 58px; }
.bl-article-inner h1{ font-size:32px; font-weight:800; line-height:1.3; color:#111; margin:16px 0 22px; }
.bl-article-byline{
  display:flex; align-items:center; gap:12px; font-size:13px; color:#5b6472;
  padding-bottom:26px; margin-bottom:32px; border-bottom:1px solid #eee;
}
.bl-who{ color:#111; font-weight:700; }
.bl-stats{ margin-left:auto; display:flex; gap:14px; font-size:13px; color:#8a93a3; white-space:nowrap; }
.bl-article-body{ font-size:16.5px; line-height:1.9; color:#2c333e; }
.bl-article-body p{ margin:0 0 22px; }
.bl-article-body img{ width:100%; max-width:900px; border-radius:12px; margin:20px 0; display:block; }
.bl-share-row{ display:flex; gap:10px; margin-top:36px; }
.bl-share-btn{
  font-size:12.5px; padding:9px 18px; border:1px solid #e7e9f0; border-radius:30px;
  color:#111; font-weight:600; text-decoration:none; cursor:pointer;
  background:#fff;
}
.bl-share-btn:hover{ border-color:var(--orange); color:var(--orange); }

/* ===== Tablet ===== */
@media (max-width:820px){
  .bl-hero-band{ padding:44px 20px 36px; }
  .bl-hero-band h1{ font-size:28px; }
  .bl-wrap{ padding:10px 20px 70px; }
  .bl-featured .bl-body{ padding:24px 22px 28px; }
  .bl-featured h2{ font-size:21px; }
  .bl-article-inner{ padding:32px 30px 44px; }
  .bl-article-inner h1{ font-size:26px; }
}

/* ===== Mobile ===== */
@media (max-width:640px){
  .bl-hero-band{ padding:36px 16px 28px; }
  .bl-eyebrow{ font-size:10.5px; padding:5px 11px; }
  .bl-hero-band h1{ font-size:23px; line-height:1.35; }
  .bl-hero-band p{ font-size:13.5px; }

  .bl-wrap{ padding:6px 16px 60px; }

  .bl-featured{ border-radius:14px; margin-bottom:36px; }
  .bl-featured .bl-body{ padding:20px 18px 24px; }
  .bl-featured h2{ font-size:19px; line-height:1.4; }
  .bl-excerpt{ font-size:13.5px; }
  .bl-featured-label{ font-size:10px; }
  .bl-tag{ font-size:10px; padding:5px 10px; }
  .bl-byline{ font-size:11.5px; flex-wrap:wrap; }

  .bl-section-label{ font-size:12px; margin-bottom:16px; }

  .bl-list-item{ flex-direction:column; padding:16px; border-radius:12px; gap:14px; }
  .bl-list-thumb{ width:100%; height:180px; min-width:0; }
  .bl-list-body h3{ font-size:16px; }
  .bl-excerpt-sm{ font-size:12.5px; }

  .bl-article-shell{ border-radius:14px; }
  .bl-article-inner{ padding:24px 18px 36px; }
  .bl-article-inner h1{ font-size:22px; line-height:1.35; margin:14px 0 16px; }
  .bl-article-byline{ font-size:12px; padding-bottom:20px; margin-bottom:22px; }
  .bl-article-body{ font-size:15.5px; line-height:1.8; }
  .bl-article-body p{ margin:0 0 18px; }
  .bl-share-row{ flex-wrap:wrap; }
  .bl-share-btn{ flex:1; text-align:center; }
}

@media (max-width:400px){
  .bl-hero-band h1{ font-size:20px; }
  .bl-featured h2{ font-size:17px; }
  .bl-article-inner h1{ font-size:20px; }
}

/* Fix: Bootstrap (loaded on blog pages, not on your plain HTML pages) resets
   line-height on <i> icon tags, which knocks the Font Awesome glyphs off-center
   inside the round social buttons. Force them back to dead-center. */
.socials a{
  padding:0; line-height:0;
}
.socials a i{
  line-height:1; display:inline-block; vertical-align:middle;
}

/* Tighten the gap between the email line and the social icons row */
.footer-email{ margin-bottom:14px !important; }
.socials{ margin-top:10px !important; }