/* Author box (end of every blog post) + author page /author/anoob-p-t/. See inc/author.php. */

/* ---------- Shared buttons ---------- */
.au-social{display:flex;flex-wrap:wrap;gap:10px}
.au-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:#fff;border:1px solid #e4e2f3;font-weight:700;font-size:14px;color:var(--ink);transition:border-color .2s,transform .2s,box-shadow .2s}
.au-btn svg{width:16px;height:16px;flex:none}
.au-btn:hover{border-color:var(--g1);transform:translateY(-1px);box-shadow:0 10px 22px -16px rgba(91,69,245,.7)}
.au-btn.au-li svg{color:#0A66C2}
.au-more{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--g1)}
.au-more svg{width:16px;height:16px;transition:transform .2s}
.au-more:hover svg,.au-news-card:hover .au-more svg{transform:translateX(3px)}

/* ---------- Author box at the end of blog posts ---------- */
.au-box{margin:48px 0 8px;padding:2px;border-radius:26px;background:var(--brand-grad);box-shadow:0 30px 60px -40px rgba(91,69,245,.55)}
.au-box-in{border-radius:24px;padding:30px;background:radial-gradient(120% 140% at 0% 0%,#f1edff 0%,#fbf0fd 52%,#fff6ec 100%)}
.au-box-head{display:flex;gap:22px;align-items:center}
.au-photo{flex:none;width:112px;height:112px;border-radius:50%;padding:3px;background:var(--brand-grad)}
.au-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;border:3px solid #fff}
.au-box-id{display:flex;flex-direction:column;gap:4px;min-width:0}
.au-label{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;background:var(--brand-grad);-webkit-background-clip:text;background-clip:text;color:transparent;width:max-content}
.au-name{font-size:26px;font-weight:800;color:var(--ink);line-height:1.15}
.au-name:hover{color:var(--g1)}
.au-role{color:var(--ink-2);font-size:15px;margin-bottom:8px}
.au-bio{margin:20px 0 0;color:var(--ink-2);font-size:16.5px;line-height:1.75}
.au-bio a,.au-about p a{color:var(--g1);font-weight:700;text-decoration:underline;text-decoration-color:rgba(91,69,245,.35);text-underline-offset:3px}
.au-bio a:hover,.au-about p a:hover{text-decoration-color:var(--g1)}
.au-box-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding-top:18px;border-top:1px solid rgba(91,69,245,.15)}
.au-news{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.au-news-k{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--muted);margin-right:4px}
.au-news-k svg{width:16px;height:16px}
.au-news a{font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid #e4e2f3;color:var(--ink)}
.au-news a:hover{border-color:var(--g1);color:var(--g1)}
@media (max-width:640px){
  .au-box-in{padding:22px}
  .au-box-head{flex-direction:column;align-items:flex-start;gap:14px}
  .au-photo{width:88px;height:88px}
  .au-name{font-size:22px}
}

/* ---------- Author page ---------- */
#pg-author .sec{padding:56px 0}
#pg-author h2{font-size:clamp(28px,2.8vw,40px);line-height:1.12;letter-spacing:-.02em;font-weight:800;margin-top:10px}
.au-hero{padding:36px 0 8px}
.au-crumbs{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--muted);max-width:1232px;margin:0 auto 18px}
.au-crumbs a:hover{color:var(--g1)}
.au-hero-card{max-width:1232px;margin:0 auto;display:grid;grid-template-columns:auto minmax(0,1fr);gap:28px 44px;align-items:center;padding:48px;border-radius:32px;background:radial-gradient(120% 140% at 0% 0%,#efeaff 0%,#fbeffd 55%,#fff5ea 100%);position:relative;overflow:hidden}
.au-hero-card:before{content:"";position:absolute;inset:auto -120px -160px auto;width:420px;height:420px;border-radius:50%;background:var(--brand-grad);opacity:.12;filter:blur(10px)}
.au-hero-photo{width:240px;height:240px;border-radius:50%;padding:5px;background:var(--brand-grad);box-shadow:0 30px 60px -30px rgba(91,69,245,.6)}
.au-hero-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;border:5px solid #fff}
.au-hero-b{position:relative}
.au-hero-b h1{font-size:clamp(36px,4vw,58px);line-height:1.05;letter-spacing:-.025em;font-weight:900;margin:10px 0 6px}
.au-hero-role{font-weight:700;color:var(--ink-2);font-size:17px}
.au-hero-lead{color:var(--ink-2);font-size:17px;line-height:1.65;margin:14px 0 20px;max-width:680px}
.au-stats{grid-column:1/-1;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;position:relative}
.au-stats li{background:rgba(255,255,255,.85);border:1px solid #ece8f7;border-radius:18px;padding:16px 18px}
.au-stats b{display:block;font-size:28px;font-weight:900;background:var(--brand-grad);-webkit-background-clip:text;background-clip:text;color:transparent;width:max-content}
.au-stats span{font-size:14px;color:var(--ink-2)}

.au-about-grid{max-width:1232px;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:start}
.au-about p{color:var(--ink-2);font-size:17px;line-height:1.75;margin-top:16px}
.au-side{background:#f6f5fb;border-radius:24px;padding:26px}
.au-side h3{font-size:15px;font-weight:800;margin:18px 0 10px}
.au-side h3:first-child{margin-top:0}
.au-chips{display:flex;flex-wrap:wrap;gap:8px}
.au-chips span{background:#fff;border:1px solid #e7e5f2;border-radius:999px;padding:6px 12px;font-size:14px;font-weight:700}
.au-skills{list-style:none;display:grid;gap:8px}
.au-skills li{position:relative;padding-left:22px;font-size:15px;color:var(--ink-2)}
.au-skills li:before{content:"";position:absolute;left:0;top:7px;width:10px;height:10px;border-radius:50%;background:var(--brand-grad)}

.au-head{max-width:720px;margin:0 auto 28px;text-align:center}
.au-news-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.au-news-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #eceef4;border-radius:22px;padding:26px;transition:transform .2s,border-color .2s,box-shadow .2s}
.au-news-card:hover{transform:translateY(-3px);border-color:rgba(91,69,245,.45);box-shadow:0 24px 40px -30px rgba(18,24,38,.5)}
.au-news-o{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--g1);text-transform:uppercase;letter-spacing:.08em}
.au-news-o svg{width:18px;height:18px}
.au-news-card h3{font-size:19px;line-height:1.35}
.au-news-card p{color:var(--ink-2);font-size:15px;line-height:1.55;flex:1}

.au-posts .bl-related{max-width:1232px;margin:0 auto;padding:0;border:0}
.au-all{text-align:center;margin-top:28px}

.au-cta{max-width:1232px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:40px 48px;border-radius:28px;background:linear-gradient(135deg,var(--navy-1),var(--navy-3));color:#fff}
#pg-author .au-cta h2{color:#fff;font-size:clamp(24px,2.4vw,34px);margin:0}
.au-cta p{color:rgba(255,255,255,.75);margin-top:8px}
.au-cta-b{display:flex;gap:12px;flex-wrap:wrap;flex:none}
.au-btn-light{background:#fff;color:var(--ink);padding:14px 26px;border-radius:999px;font-weight:700;display:inline-flex;align-items:center}

@media (max-width:960px){
  .au-hero-card{grid-template-columns:1fr;padding:28px;text-align:left}
  .au-hero-photo{width:160px;height:160px}
  .au-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .au-about-grid{grid-template-columns:1fr;gap:24px}
  .au-news-grid{grid-template-columns:1fr}
  .au-cta{flex-direction:column;align-items:flex-start;padding:28px}
}
