/* Blog author pop-up (inc/blog-author.php; Scott, 18 November 2026). */
.b-author { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(238, 75, 157, .7); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.b-author:hover { text-decoration-color: currentColor; }
.b-author:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.b-author__face { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255, 255, 255, .7); }
.b-banner__meta .b-author { font-weight: 600; }
.b-end__by .b-author { color: var(--b-ink, #02003e); font-weight: 700; }
.ba { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(120deg, #f6f1fb, #fdf2f8); color: #02003e; box-shadow: var(--shadow-2); }
.ba::backdrop { background: rgba(2, 0, 62, .6); backdrop-filter: blur(4px); }
.ba[open] { animation: ba-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes ba-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.ba__close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #d9d2e6; border-radius: 50%; background: #fff; color: #02003e; cursor: pointer; }
.ba__close .icon { width: 18px; height: 18px; }
.ba__panes { display: grid; max-height: calc(100vh - 32px); overflow-y: auto; }
.ba__panes > * { grid-area: 1 / 1; min-width: 0; }
.ba__card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; padding: 36px 36px 34px; transition: opacity .3s ease, transform .4s ease; }
.ba__photo img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 5px solid #fff; box-shadow: var(--shadow-1); display: block; }
.ba__ey { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d0337f; }
.ba__name { margin: 0; font: 900 30px/1.1 var(--display); }
.ba__role { margin: 4px 0 12px; font-size: 14px; color: #55537a; }
.ba__line { display: block; margin: 0 0 18px; font: 400 17px/1.55 var(--serif); quotes: "“" "”"; }
.ba__btns, .ba__send { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ba__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 999px; font: 700 14px/1.2 var(--sans); text-decoration: none !important; cursor: pointer; }
.ba__btn .icon { width: 16px; height: 16px; }
.ba__btn--ask { background: var(--pink); color: #fff !important; }
.ba__btn--more { background: transparent; color: #02003e !important; box-shadow: inset 0 0 0 2px #02003e; }
.ba__btn:focus-visible, .ba__back:focus-visible, .ba__close:focus-visible { outline: 3px solid #02003e; outline-offset: 3px; }
.ba__form { padding: 30px 32px 28px; background: #fff; opacity: 0; transform: translateX(40px); visibility: hidden; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility .45s; }
.ba.is-form .ba__form { opacity: 1; transform: none; visibility: visible; }
.ba.is-form .ba__card { opacity: 0; transform: translateX(-30px); visibility: hidden; }
.ba__back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 0; border: 0; background: none; color: #55537a; font: 600 13px/1 var(--sans); cursor: pointer; }
.ba__back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.ba__ftitle { margin: 0; font: 900 26px/1.1 var(--display); color: #02003e; }
.ba__fsub { margin: 4px 0 16px; font-size: 14px; color: #55537a; }
.ba__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.ba__field { margin: 0; }
.ba__field--wide { grid-column: 1 / -1; }
.ba__field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.ba__field label i { font-style: normal; font-weight: 500; color: #625f88; }
.ba__field input, .ba__field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid #c9c7dc; border-radius: 10px; background: #fafaff; color: #02003e; font: 400 15px/1.4 var(--sans); }
.ba__field textarea { min-height: 84px; resize: vertical; }
.ba__field input:focus, .ba__field textarea:focus { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(238, 75, 157, .2); }
.ba__field [aria-invalid="true"] { border-color: #c4003b; }
.ba__hp { position: absolute; left: -9999px; }
.ba__err { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fde8ef; color: #8a0030; font-size: 14px; }
.ba__send { margin-top: 16px; justify-content: flex-end; }
.ba__btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.ba__form.is-sent .ba__fields, .ba__form.is-sent .ba__send, .ba__form.is-sent .ba__err, .ba__form.is-sent > .ba__ftitle, .ba__form.is-sent > .ba__fsub { display: none; }
.ba__done p:last-child { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 560px) {
	.ba__card { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; padding: 30px 22px 26px; }
	.ba__photo img { width: 96px; height: 96px; }
	.ba__fields { grid-template-columns: minmax(0, 1fr); }
	.ba__form { padding: 26px 22px 24px; }
	.ba__send .ba__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ba[open] { animation: none; } .ba__card, .ba__form { transition: none; } }
/* The "Message <name>" pop-up (inc/message-dialog.php): the form alone, with the person's photo. */
.ba--msg { background: #fff; }
.ba__form--only { opacity: 1; transform: none; visibility: visible; }
.ba__fhead { display: flex; align-items: center; gap: 14px; margin: 0 48px 16px 0; }
.ba__fphoto { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.ba__fhead .ba__fsub { margin: 4px 0 0; }
.ba__form.is-sent .ba__fhead { display: none; }
