/* Profile photos: round pictures, upload box, and the quote header. */
.gpm-av { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #072355; color: #fff; font-weight: 800; font-size: 18px; line-height: 1; }
.gpm-av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gpm-av-lg { width: 76px; height: 76px; font-size: 30px; }

.gpm-avedit { position: relative; flex: none; display: inline-block; }
.gpm-avedit-btn { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #EE3749; color: #fff; cursor: pointer; }
.gpm-avedit-btn:hover { background: #D42B3D; }
.gpm-avmenu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; min-width: 150px; padding: 6px; background: #fff; border: 1px solid #E3E8F1; border-radius: 14px; box-shadow: 0 18px 36px -16px rgba(7, 35, 85, 0.45); }
.gpm-avmenu[hidden], .gpm-avform[hidden] { display: none; }
.gpm-avmenu button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #072355; font: inherit; font-size: 14.5px; font-weight: 600; text-align: left; cursor: pointer; }
.gpm-avmenu button:hover, .gpm-avmenu button:focus-visible { background: #F1F3F8; }
.gpm-avlight { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 20px; background: rgba(7, 35, 85, 0.82); cursor: zoom-out; }
.gpm-avlight img { max-width: min(92vw, 560px); max-height: 82vh; border-radius: 18px; background: #fff; object-fit: contain; }
.gpm-av-msg { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; }
.gpm-av-ok { color: #1c7a43; }
.gpm-av-err { color: #D42B3D; }
@media (max-width: 599px) {
	.gpm-av-lg { width: 64px; height: 64px; font-size: 26px; }
}

/* Large centred profile photo with a small edit badge */
.gpm-av-xl { width: 104px; height: 104px; font-size: 42px; border: 4px solid #fff; box-shadow: 0 10px 26px -10px rgba(7, 35, 85, 0.45); }
.gpm-av-xl + .gpm-avedit-btn { right: 2px; bottom: 2px; width: 34px; height: 34px; border-width: 3px; box-shadow: 0 6px 14px -6px rgba(7, 35, 85, 0.5); }
.gpm-pro-head .gpm-avmenu { left: 50%; transform: translateX(-50%); top: calc(100% + 10px); text-align: left; }
@media (max-width: 599px) {
	.gpm-av-xl { width: 96px; height: 96px; font-size: 38px; }
}

/* Keep the edit badge and menu looking the same whatever the theme does to buttons */
.gpm-avedit .gpm-avedit-btn, .gpm-avedit .gpm-avedit-btn:hover, .gpm-avedit .gpm-avedit-btn:focus, .gpm-avedit .gpm-avedit-btn:active { background: #EE3749 !important; color: #fff !important; box-shadow: 0 6px 14px -6px rgba(7, 35, 85, 0.5); outline-offset: 2px; }
.gpm-avedit .gpm-avmenu button { display: block !important; width: 100% !important; margin: 0 !important; padding: 11px 12px !important; border: 0 !important; border-radius: 10px !important; background: #fff !important; color: #072355 !important; font: inherit !important; font-size: 14.5px !important; font-weight: 600 !important; text-align: left !important; text-transform: none !important; box-shadow: none !important; }
.gpm-avedit .gpm-avmenu button:hover, .gpm-avedit .gpm-avmenu button:focus { background: #F1F3F8 !important; color: #072355 !important; }
