/* MTG Authors: deliberately scoped, no font or network dependencies. */
/* Davenport compatibility is enabled per article by the PHP body-class filter. */
body.mtga-replace-theme-author .author-bio{display:none!important}
.mtga-author-box,.mtga-profile,.mtga-directory,.mtga-byline{--mtga-ink:#263324;--mtga-muted:#5c6859;--mtga-green:#5f7845;--mtga-line:#dce5d5;--mtga-soft:#eef4e8;box-sizing:border-box;color:var(--mtga-ink);font-family:inherit;font-size:15px;line-height:1.65;text-align:left;overflow-wrap:anywhere}
.mtga-author-box *,.mtga-profile *,.mtga-directory *,.mtga-byline *{box-sizing:border-box}
.mtga-author-box a,.mtga-profile a,.mtga-directory a,.mtga-byline a{color:var(--mtga-green);text-decoration:none;text-underline-offset:3px}
.mtga-author-box a:hover,.mtga-profile a:hover,.mtga-directory a:hover,.mtga-byline a:hover{text-decoration:underline}
.mtga-author-box a:focus-visible,.mtga-profile a:focus-visible,.mtga-directory a:focus-visible,.mtga-byline a:focus-visible{outline:2px solid var(--mtga-green);outline-offset:4px;border-radius:2px}
.mtga-author-box{width:100%;max-width:760px;margin:36px auto 24px;padding:25px 28px;background:#fafcf8;border:1px solid var(--mtga-line);border-top:3px solid #7b9961;border-radius:16px}
.mtga-eyebrow{margin:0 0 18px!important;color:var(--mtga-green);font-size:11px;font-weight:750;letter-spacing:.11em;line-height:1.5;text-transform:uppercase}
.mtga-person{display:flex;align-items:flex-start;gap:20px;min-width:0}
.mtga-author-box .mtga-person+.mtga-person{margin-top:24px;padding-top:24px;border-top:1px solid var(--mtga-line)}
.mtga-avatar{display:block;flex:0 0 76px;width:76px;height:76px;overflow:hidden;border:1px solid var(--mtga-line);border-radius:50%;background:var(--mtga-soft)}
.mtga-avatar-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:inherit!important;object-fit:cover}
.mtga-avatar-initials{display:flex;align-items:center;justify-content:center;color:var(--mtga-green);font-size:24px;font-weight:700;letter-spacing:.02em;line-height:1}
.mtga-person-content{flex:1;min-width:0}
.mtga-person-name{margin:0!important;font-size:19px;font-weight:750;line-height:1.4}
.mtga-person-name .mtga-name-link{color:var(--mtga-ink)}
.mtga-role{margin:3px 0 0!important;color:var(--mtga-green);font-size:13px;font-weight:650;line-height:1.5}
.mtga-bio{margin:10px 0 0!important;color:var(--mtga-muted);font-size:14px;line-height:1.75}
.mtga-expertise{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.mtga-topic{display:inline-block;padding:3px 9px;border-radius:6px;background:var(--mtga-soft);color:#496039;font-size:11px;font-weight:600;line-height:1.6}
.mtga-socials{display:flex;flex-wrap:wrap;gap:6px 15px;margin-top:12px;font-size:12px;font-weight:650;line-height:1.6}
.mtga-profile-link{display:inline-block;margin-top:12px;font-size:12px;font-weight:750;line-height:1.6}
.mtga-profile-link span{display:inline-block;margin-left:3px}
.mtga-review-note{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 16px;margin-top:20px;padding-top:15px;border-top:1px solid var(--mtga-line);color:var(--mtga-muted);font-size:12px;line-height:1.6}
.mtga-review-note .mtga-name-link{font-weight:650}
.mtga-byline{display:flex;flex-wrap:wrap;gap:6px 24px;max-width:760px;margin:16px auto 24px;font-size:12px;line-height:1.8}
.mtga-byline-authors,.mtga-byline-review{display:inline-block}
.mtga-byline .mtga-name-link{font-weight:700}
.mtga-byline-label,.mtga-byline-date{color:var(--mtga-muted)}
.mtga-byline-date{margin-left:5px;white-space:normal}
.mtga-profile{width:100%;max-width:760px;margin:24px auto 48px}
.mtga-profile-card{margin:0 0 28px;padding:30px;background:#fafcf8;border:1px solid var(--mtga-line);border-top:3px solid #7b9961;border-radius:18px}
.mtga-person-profile{gap:26px}
.mtga-person-profile .mtga-avatar{flex-basis:108px;width:108px;height:108px}
.mtga-person-profile .mtga-avatar-initials{font-size:32px}
.mtga-person-profile .mtga-role{margin-top:0!important;font-size:15px}
.mtga-person-profile .mtga-bio{font-size:15px}
.mtga-details{display:grid;gap:10px;margin:19px 0 0!important;font-size:13px;line-height:1.7}
.mtga-detail{display:grid;grid-template-columns:94px minmax(0,1fr);gap:12px}
.mtga-detail dt{color:var(--mtga-muted);font-weight:500}
.mtga-detail dd{margin:0;color:var(--mtga-ink)}
.mtga-profile-biography{margin-bottom:34px;color:var(--mtga-ink);font-size:16px;line-height:1.85}
.mtga-profile-biography>:first-child{margin-top:0}
.mtga-profile-biography>:last-child{margin-bottom:0}
.mtga-profile-biography img{max-width:100%;height:auto}
.mtga-profile-biography iframe,.mtga-profile-biography video{max-width:100%}
.mtga-profile-biography table{display:block;max-width:100%;overflow-x:auto}
.mtga-articles{border-top:1px solid var(--mtga-line);padding-top:25px}
.mtga-articles h2{margin:0 0 8px!important;color:var(--mtga-ink);font-size:23px;line-height:1.4}
.mtga-article-list{list-style:none!important;margin:0!important;padding:0!important}
.mtga-article{display:flex;justify-content:space-between;align-items:baseline;gap:12px 25px;margin:0!important;padding:19px 0!important;border-bottom:1px solid var(--mtga-line)}
.mtga-article-title{font-size:15px;font-weight:650;line-height:1.65}
.mtga-article time{flex-shrink:0;color:var(--mtga-muted);font-size:12px}
.mtga-pagination{margin-top:26px}
.mtga-pagination ul{display:flex;flex-wrap:wrap;gap:7px;list-style:none!important;margin:0!important;padding:0!important}
.mtga-pagination li{margin:0!important;padding:0!important}
.mtga-pagination .page-numbers{display:inline-flex;min-width:36px;min-height:36px;align-items:center;justify-content:center;padding:5px 11px;border:1px solid var(--mtga-line);border-radius:7px;font-size:13px}
.mtga-pagination .current{border-color:var(--mtga-green);background:var(--mtga-green);color:#fff}
.mtga-pagination .dots{border-color:transparent}
.mtga-empty{margin:15px 0;color:var(--mtga-muted);font-size:14px}
.mtga-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:100%;margin:24px 0}
.mtga-directory-card{padding:24px;border:1px solid var(--mtga-line);border-top:3px solid #7b9961;border-radius:16px;background:#fafcf8;gap:16px}
.mtga-directory-card .mtga-avatar{flex-basis:58px;width:58px;height:58px}
.mtga-directory-card .mtga-avatar-initials{font-size:20px}
.mtga-directory-card .mtga-person-name{font-size:18px}
@media(max-width:640px){.mtga-author-box{padding:21px 20px;margin-top:28px;border-radius:13px}.mtga-person{gap:15px}.mtga-avatar{flex-basis:58px;width:58px;height:58px}.mtga-avatar-initials{font-size:20px}.mtga-person-name{font-size:18px}.mtga-profile-card{padding:23px 20px}.mtga-person-profile{display:block}.mtga-person-profile .mtga-avatar{width:88px;height:88px;margin-bottom:18px}.mtga-detail{grid-template-columns:80px minmax(0,1fr);gap:10px}.mtga-directory{grid-template-columns:1fr}.mtga-article{display:block}.mtga-article time{display:block;margin-top:5px}.mtga-byline{gap:4px 16px}.mtga-review-note{display:block}.mtga-review-note>span{display:block}.mtga-review-note>span+span{margin-top:4px}}
@media(max-width:380px){.mtga-author-box{padding:19px 15px}.mtga-person:not(.mtga-person-profile){gap:12px}.mtga-person:not(.mtga-person-profile)>.mtga-avatar{flex-basis:44px;width:44px;height:44px;font-size:16px}.mtga-directory-card{padding:20px 15px}.mtga-detail{display:block}.mtga-detail dt{margin-bottom:2px}.mtga-byline-authors,.mtga-byline-review{width:100%}}

/* Compact top credit; the existing biographies and bottom author cards are unchanged. */
.mtga-byline.mtga-byline--compact{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0;max-width:100%;margin:14px 0 22px;padding:0;border:0;background:none;font-size:13px;line-height:1.4;letter-spacing:normal;text-transform:none}
.mtga-byline--compact .mtga-byline-authors{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;width:auto;min-width:0;max-width:100%}
.mtga-byline.mtga-byline--compact .mtga-byline-person{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%;padding:0;border:0;background:none;color:var(--mtga-green);font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;text-transform:none;text-decoration:none}
.mtga-byline.mtga-byline--compact .mtga-byline-person:hover{text-decoration:underline}
.mtga-byline--compact .mtga-byline-name{min-width:0;overflow-wrap:anywhere}
.mtga-byline--compact .mtga-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;margin:0;border-radius:50%;font-size:9px;line-height:1;letter-spacing:0}
.mtga-meta-row{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px 14px;min-width:0;max-width:100%;text-align:left}
.mtga-meta-row--wrapped{margin-bottom:6px}
.post-info-wrapper-left.mtga-meta-row{flex:1 1 auto}
.mtga-meta-row>.post-date.mtga-date-anchor{flex:0 0 auto;margin:0!important;font-size:13px;line-height:1.4;white-space:nowrap}
.mtga-meta-row>.mtga-byline.mtga-byline--compact{flex:0 1 auto!important;width:auto;min-width:0;max-width:100%;margin:0!important}
.davenport-post.davenport-post-invert .mtga-byline--compact{--mtga-green:#edf5e7;--mtga-line:rgba(255,255,255,.35);--mtga-soft:rgba(255,255,255,.15)}
@media(max-width:767px){.mtga-meta-row{gap:6px 12px}.mtga-byline--compact .mtga-avatar{flex-basis:22px;width:22px;height:22px}.mtga-byline--compact .mtga-byline-authors{width:auto;gap:6px 10px}}
