/* GrowWithAIBiz — Author profile styles (added 2026-10-28)
   Separate file so the frozen master CSS (styles.css / article.css) stays untouched.
   Works on both template families: styles.css pages and article.css pages. */

/* ---------- Author profile page ---------- */
.author-hero{padding:56px 0 58px;background:radial-gradient(circle at 88% 18%,rgba(37,99,235,.12),transparent 34%),radial-gradient(circle at 8% 70%,rgba(20,184,166,.10),transparent 32%),linear-gradient(180deg,#fbfdff,#f7f9fc);border-bottom:1px solid #e6ebf1}
.author-crumbs{display:flex;gap:8px;align-items:center;font-size:13px;color:#617083;margin-bottom:30px}
.author-crumbs a:hover{color:#2563eb}
.author-hero-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;align-items:center}
.author-photo{width:220px;height:220px;border-radius:50%;object-fit:cover;background:#0b2a55;box-shadow:0 22px 55px rgba(16,32,51,.22);border:4px solid #fff}
.author-hero h1.author-name{font-size:clamp(38px,5.2vw,58px);line-height:1.05;letter-spacing:-1.8px;margin:14px 0 6px}
.author-role{font-size:19px;font-weight:700;color:#2453a5;margin:0 0 14px}
.author-role a{border-bottom:2px solid rgba(36,83,165,.25)}
.author-role a:hover{border-color:#2453a5}
.author-lead{font-size:18px;color:#405065;max-width:680px;margin:0 0 20px}
.author-tags{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px;padding:0}
.author-tags li{padding:7px 14px;border-radius:999px;background:#fff;border:1px solid #d9e4fb;color:#31558e;font-size:13px;font-weight:800}
.author-actions{display:flex;gap:12px;flex-wrap:wrap}

.author-section{padding:68px 0}
.author-section.alt{background:#f7f9fc}
.author-section h2{font-size:32px;letter-spacing:-1.1px;margin:0 0 8px}
.author-section .section-sub{color:#617083;margin:0 0 30px;max-width:720px}
.author-about{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:46px;align-items:start}
.author-about p{color:#405065;font-size:17px;margin:0 0 18px}
.author-facts{background:#fff;border:1px solid #e6ebf1;border-radius:20px;padding:26px;box-shadow:0 14px 40px rgba(16,32,51,.07)}
.author-facts h3{margin:0 0 14px;font-size:17px}
.author-facts dl{margin:0;display:grid;gap:14px}
.author-facts dt{font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#718096}
.author-facts dd{margin:2px 0 0;font-weight:650;color:#102033;font-size:15px}
.author-facts dd a{color:#2563eb}
.author-facts dd a:hover{text-decoration:underline}

.author-method{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.author-method .card h3{font-size:18px}
.author-links{margin-top:26px;display:flex;gap:14px;flex-wrap:wrap;font-weight:750;font-size:15px}
.author-links a{color:#2563eb}
.author-links a:hover{text-decoration:underline}

.author-cta{border-radius:25px;padding:40px;background:linear-gradient(135deg,#102033,#183e74);color:#fff;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.author-cta h2{color:#fff;margin:0 0 6px;font-size:28px}
.author-cta p{margin:0;color:#cbd7e6;max-width:640px}

/* ---------- Byline link inside article meta row ---------- */
.meta a[rel~="author"]{color:inherit;font-weight:800;border-bottom:1px solid currentColor}
.meta a[rel~="author"]:hover{color:#1178d1}

/* ---------- Author box at the end of articles ---------- */
.authorbox.author-card{display:flex;gap:20px;align-items:flex-start;background:#f6fafc;border:1px solid #dce7ef;border-radius:20px;padding:22px;margin-top:42px}
.authorbox.author-card .author-avatar{flex:0 0 88px;width:88px;height:88px;border-radius:50%;object-fit:cover;background:#0b2a55;border:3px solid #fff;box-shadow:0 8px 22px rgba(16,37,63,.18)}
.authorbox.author-card .author-card-body{min-width:0}
.author-card-label{display:block;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#718096;margin-bottom:2px}
.authorbox.author-card strong{display:block;font-size:20px;line-height:1.25;color:#10253f}
.authorbox.author-card strong a{color:inherit}
.authorbox.author-card strong a:hover{color:#1178d1}
.author-card-role{display:block;font-size:14px;font-weight:700;color:#2453a5;margin:2px 0 8px}
.authorbox.author-card p{margin:0 0 8px;font-size:15px;color:#405065;line-height:1.6}
.authorbox.author-card .author-card-links{font-size:14px;font-weight:700;margin:4px 0 0}
.authorbox.author-card .author-card-links a{color:#1178d1}
.authorbox.author-card .author-card-links a:hover{text-decoration:underline}

/* ---------- Editor promo card (About page) ---------- */
.editor-promo{display:grid;grid-template-columns:132px minmax(0,1fr);gap:30px;align-items:center;background:#fff;border:1px solid #e6ebf1;border-radius:22px;padding:30px;margin:0 0 70px;box-shadow:0 10px 32px rgba(16,32,51,.06)}
.editor-promo img{width:132px;height:132px;border-radius:50%;object-fit:cover;background:#0b2a55;border:4px solid #fff;box-shadow:0 12px 32px rgba(16,32,51,.18)}
.editor-promo h2{font-size:30px;letter-spacing:-.9px;margin:10px 0 2px}
.editor-promo .editor-role{margin:0 0 10px;font-weight:700;color:#2453a5}
.editor-promo p{color:#405065;margin:0 0 16px;max-width:660px}

/* ---------- Responsive ---------- */
@media(max-width:900px){
 .author-hero-grid{grid-template-columns:1fr;gap:26px}
 .author-photo{width:160px;height:160px}
 .author-about{grid-template-columns:1fr;gap:30px}
 .author-method{grid-template-columns:1fr}
 .author-cta{grid-template-columns:1fr;padding:30px}
}
@media(max-width:680px){
 .author-hero{padding:34px 0 42px}
 .author-section{padding:48px 0}
 .author-section h2{font-size:27px}
 .authorbox.author-card{flex-direction:column;gap:14px}
 .editor-promo{grid-template-columns:1fr;gap:18px;padding:24px;text-align:left}
 .editor-promo img{width:104px;height:104px}
 .author-actions .btn,.author-cta .btn{flex:1 1 100%}
}

/* ---------- Bio additions (2026-10-28) ---------- */
.author-principles{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:0}
.author-principles li{padding:8px 15px;border-radius:12px;background:#eef4ff;border:1px solid #d9e4fb;color:#2453a5;font-size:14px;font-weight:800}
.author-mission{margin:26px 0 0;padding:18px 22px;border-left:4px solid #2563eb;background:#f2f7ff;border-radius:0 14px 14px 0}
.author-mission p{margin:0 0 6px;font-weight:650;color:#102033}
.author-mission p:last-child{margin:0;font-weight:500;color:#405065}
