/* Nubilo author detail: styles scoped to this page only */
.nubilo-author-page {
    --na-ink: #172b3a;
    --na-muted: #647586;
    --na-accent: #a3278c;
    --na-border: #e6eaf0;
    --na-surface: #ffffff;
    background: #f5f7fb;
    min-height: 100vh;
    padding: 28px 24px 60px;
    color: var(--na-ink);
}
.nubilo-author-page *, .nubilo-author-page *::before, .nubilo-author-page *::after { box-sizing: border-box; }
.nubilo-author-shell { max-width: 1320px; margin: 0 auto; }
.nubilo-author-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(36px, 5vw, 70px); border-radius: 24px;
    background: linear-gradient(120deg, #182c43 0%, #273e60 55%, #70366e 100%);
    box-shadow: 0 20px 44px rgba(25,42,68,.12);
    color: white;
}
.nubilo-author-hero__inner { position: relative; z-index: 1; max-width: 730px; }
.nubilo-author-eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .15em; font-weight: 750; font-size: 12px; color: #f4d7ec; margin-bottom: 18px; }
.nubilo-author-eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: #ffbd75; }
.nubilo-author-hero h1 { color: #fff; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; margin: 0 0 16px; }
.nubilo-author-hero p { color: #e4e8f1; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; max-width: 620px; margin: 0; }
.nubilo-author-hero__decoration { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; right: -100px; top: -175px; box-shadow: 0 0 0 65px rgba(255,255,255,.035), 0 0 0 135px rgba(255,255,255,.025); pointer-events: none; }
.nubilo-author-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 340px); gap: 28px; align-items: start; margin-top: 30px; }
.nubilo-author-main, .nubilo-author-sidebar { min-width: 0; }
.nubilo-author-card, .nubilo-author-sidebar__panel { background: var(--na-surface); border: 1px solid var(--na-border); border-radius: 20px; box-shadow: 0 8px 30px rgba(25,42,68,.045); overflow: hidden; }
.nubilo-author-card { padding: clamp(20px, 3vw, 38px); }
.nubilo-author-card__heading { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--na-border); padding-bottom: 22px; margin-bottom: 28px; }
.nubilo-author-card__icon { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; background: #f8eaf4; border-radius: 15px; color: var(--na-accent); font-size: 25px; }
.nubilo-author-kicker { display: block; color: var(--na-accent); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .13em; margin-bottom: 7px; }
.nubilo-author-card h2, .nubilo-author-sidebar h2 { color: var(--na-ink); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; margin: 0; font-weight: 800; }
.nubilo-author-profile { font-size: 16px; line-height: 1.8; color: #344657; overflow-wrap: anywhere; }
.nubilo-author-profile p { line-height: 1.8; margin-bottom: 1.15em; }
.nubilo-author-profile img { max-width: 100%; height: auto; border-radius: 14px; }
.nubilo-author-profile a, .nubilo-author-articles a { color: #953178; text-decoration: none; }
.nubilo-author-profile a:hover, .nubilo-author-articles a:hover { color: #6b2055; text-decoration: underline; }
.nubilo-author-profile h1, .nubilo-author-profile h2, .nubilo-author-profile h3 { color: var(--na-ink); line-height: 1.3; }
.nubilo-author-profile .row, .nubilo-author-articles .row { max-width: 100%; }
.nubilo-author-sidebar__panel { padding: 26px; }
.nubilo-author-sidebar__heading { padding-bottom: 20px; border-bottom: 1px solid var(--na-border); margin-bottom: 20px; }
.nubilo-author-sidebar__heading p { color: var(--na-muted); font-size: 14px; line-height: 1.6; margin: 10px 0 0; }
.nubilo-author-articles { min-width: 0; overflow-wrap: anywhere; }
.nubilo-author-articles img { max-width: 100%; height: auto; border-radius: 10px; }
.nubilo-author-articles > * + * { margin-top: 12px; }
.nubilo-author-page a:focus-visible { outline: 3px solid #bf60a4; outline-offset: 3px; border-radius: 3px; }
@media (max-width: 991px) { .nubilo-author-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; } .nubilo-author-sidebar__panel { padding: 20px; } }
@media (max-width: 767px) { .nubilo-author-page { padding: 15px 12px 36px; } .nubilo-author-hero { border-radius: 16px; padding: 35px 24px; } .nubilo-author-layout { grid-template-columns: minmax(0, 1fr); margin-top: 18px; gap: 18px; } .nubilo-author-card, .nubilo-author-sidebar__panel { border-radius: 16px; } .nubilo-author-card__heading { margin-bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { .nubilo-author-page *, .nubilo-author-page *::before, .nubilo-author-page *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Integrated author profile - standalone page enhancements */
.nubilo-author-hero--profile .nubilo-author-hero__inner { max-width: 1000px; }
.nubilo-author-hero__profile { display:flex; align-items:center; gap:clamp(22px,4vw,48px); }
.nubilo-author-avatar { flex:0 0 clamp(112px,14vw,164px); width:clamp(112px,14vw,164px); height:clamp(112px,14vw,164px); border:5px solid rgba(255,255,255,.55); border-radius:50%; background:rgba(255,255,255,.16); box-shadow:0 15px 30px rgba(0,0,0,.18); overflow:hidden; display:grid; place-items:center; }
.nubilo-author-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.nubilo-author-avatar > span { font-size:60px; color:white; }
.nubilo-author-hero__label { color:#f6d8ee !important; font-size:13px !important; font-weight:800; letter-spacing:.13em; text-transform:uppercase; margin:0 0 9px !important; }
.nubilo-author-hero__identity { min-width:0; }
.nubilo-author-hero__identity h1 { overflow-wrap:anywhere; }
.nubilo-author-socials { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.nubilo-author-socials a { display:inline-flex; align-items:center; gap:9px; border:1px solid rgba(255,255,255,.32); background:rgba(255,255,255,.12); color:white; padding:9px 14px; border-radius:999px; font-weight:700; font-size:13px; text-decoration:none; transition:background .2s,transform .2s; }
.nubilo-author-socials a:hover { background:rgba(255,255,255,.24); color:white; transform:translateY(-2px); text-decoration:none; }
.nubilo-author-card + .nubilo-author-card { margin-top:24px; }
.nubilo-author-biography { font-size:17px; line-height:1.85; }
.nubilo-author-biography > :last-child { margin-bottom:0; }
.nubilo-author-back { display:inline-flex; gap:10px; align-items:center; margin-top:22px; padding:12px 20px; border-radius:10px; background:white; color:#172b3a; font-weight:700; }
.nubilo-author-back:hover { color:#953178; }
.nubilo-author-articles--tiled { overflow:hidden; }
@media(max-width:767px) { .nubilo-author-hero__profile { flex-direction:column; align-items:flex-start; gap:20px; } .nubilo-author-avatar { width:120px; height:120px; flex-basis:120px; } .nubilo-author-socials a { padding:9px 12px; } }
