/* Pew Author Vip 3.3 - horizontal author card */
.kwa-author-box{width:100%;box-sizing:border-box;margin:28px auto 14px;padding:8px!important;background:transparent!important;border:0!important}
.kwa-author-inner{display:flex;align-items:center;gap:28px;width:100%;min-height:230px;box-sizing:border-box;padding:30px 35px;border:2px solid var(--kwa-border,#d4af37);border-radius:22px;background:var(--kwa-background,#fffdf8);color:var(--kwa-text,#292929);box-shadow:0 0 12px var(--kwa-glow,#ffd700);animation:kwa-breathe 2.6s ease-in-out infinite alternate}
@keyframes kwa-breathe{from{box-shadow:0 0 7px var(--kwa-glow,#ffd700),0 0 16px color-mix(in srgb,var(--kwa-glow,#ffd700) 25%,transparent)}to{box-shadow:0 0 15px var(--kwa-glow,#ffd700),0 0 32px color-mix(in srgb,var(--kwa-glow,#ffd700) 55%,transparent)}}
.kwa-author-profile{flex:0 0 150px;display:flex;align-items:center;justify-content:center}
.kwa-avatar-wrap{width:150px;height:150px;border-radius:50%;border:3px solid var(--kwa-border,#d4af37);overflow:hidden;background:#eee;box-sizing:border-box;box-shadow:0 0 12px var(--kwa-glow,#ffd700)}
.kwa-avatar{width:100%!important;height:100%!important;object-fit:cover;display:block;margin:0!important;padding:0!important;border-radius:50%}
.kwa-avatar-empty{display:flex;align-items:center;justify-content:center;font-size:45px;font-weight:800;color:var(--kwa-text,#292929)}
.kwa-author-details{flex:1;min-width:0;text-align:left}
.kwa-author-role{display:inline-block;padding:5px 12px;margin-bottom:8px;border-radius:6px;background:var(--kwa-role-bg,#ffca08);color:var(--kwa-role-text,#fff);font-size:13px;font-weight:700}
.kwa-author-name{margin:3px 0 12px!important;color:var(--kwa-text,#292929)!important;font-size:25px!important;line-height:1.35!important;font-weight:800!important}
.kwa-author-bio,.kwa-author-bio p,.kwa-author-bio li,.kwa-author-bio strong{color:var(--kwa-text,#292929)!important;font-size:16px;line-height:1.85}
.kwa-author-bio p{margin:0 0 10px!important}
.kwa-author-socials{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:12px 0 2px}
.kwa-social-link{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--kwa-border,#d4af37);color:#111!important;text-decoration:none!important;font-size:11px;font-weight:800}
.kwa-author-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:0 24px;border-radius:8px;background:var(--kwa-button-bg,#f4ff00);color:var(--kwa-button-text,#000)!important;font-size:14px;font-weight:800;text-decoration:none!important;transition:transform .2s ease,filter .2s ease}
.kwa-author-button:hover{transform:translateY(-2px);filter:brightness(1.08);color:var(--kwa-button-text,#000)!important}
@media(max-width:768px){.kwa-author-inner{gap:15px;padding:22px 16px;flex-direction:column}.kwa-author-profile{flex:auto}.kwa-avatar-wrap{width:115px;height:115px}.kwa-author-details{text-align:center}.kwa-author-name{font-size:21px!important}.kwa-author-bio,.kwa-author-bio p{font-size:14px}.kwa-author-socials{justify-content:center}}
@media(prefers-reduced-motion:reduce){.kwa-author-inner{animation:none}}

/* Brand logo SVG instead of text abbreviations */
.kwa-social-link .kwa-social-icon{display:block!important;width:18px!important;height:18px!important;max-width:none!important;object-fit:contain;filter:brightness(0);margin:0!important;padding:0!important}
.kwa-social-link:hover{transform:translateY(-2px);filter:brightness(1.1)}

/* v3.5: khung tác giả gọn như mẫu, ánh vàng nhạt quét trái sang phải */
.kwa-author-box{width:calc(100% - 32px);max-width:1350px;margin:28px auto 22px;padding:0!important}
.kwa-author-inner{position:relative;isolation:isolate;overflow:hidden;min-height:380px;padding:34px 36px;gap:28px;border-width:1px;border-radius:20px;animation:kwa-breathe 3.2s ease-in-out infinite alternate}
.kwa-author-inner::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 0%,color-mix(in srgb,var(--kwa-sweep,#fff0a0) 8%,transparent) 30%,color-mix(in srgb,var(--kwa-sweep,#fff0a0) 38%,transparent) 49%,color-mix(in srgb,var(--kwa-sweep,#fff0a0) 18%,transparent) 57%,transparent 78%);transform:translateX(-120%);animation:kwa-yellow-sweep 5s linear infinite}
@keyframes kwa-yellow-sweep{0%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
.kwa-author-profile{flex:0 0 150px}
.kwa-author-details{position:relative;z-index:1}
.kwa-author-name{background:transparent!important;border:0!important;box-shadow:none!important;text-shadow:none!important;padding:0!important;border-radius:0!important}
@media(max-width:768px){.kwa-author-box{width:calc(100% - 20px)}.kwa-author-inner{min-height:0;padding:24px 18px;gap:16px}.kwa-author-profile{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.kwa-author-inner::before{animation:none}}
