/* FINAL: AIMS About - match visible quote and logo cards exactly.
   Loaded last; overrides earlier conflicting About styles. */

body .aims-about-reference .aims-about-right .pullquote,
body .aims-about-reference .aims-about-right #aims-about-photo-upload,
body .aims-about-reference .aims-about-right #aims-about-photo-upload .aims-upload-preview {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 205px !important;
    min-height: 205px !important;
    max-height: 205px !important;
    border: 1px solid #666 !important;
    border-radius: 25px !important;
    box-shadow: none !important;
    margin: 0 !important;
    overflow: hidden !important;
}
body .aims-about-reference .aims-about-right #aims-about-photo-upload {
    padding: 0 !important;
    background: #fff !important;
}
body .aims-about-reference .aims-about-right #aims-about-photo-upload .aims-upload-preview {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: #fff !important;
    aspect-ratio: auto !important;
}
body .aims-about-reference .aims-about-right #aims-about-photo-upload .aims-upload-preview img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 179px !important;
    object-fit: contain !important;
    object-position: center !important;
}
body .aims-about-reference .aims-about-right .pullquote {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: #eee !important;
    padding: 14px 22px !important;
    color: #333 !important;
    font-size: clamp(15px, 1.25vw, 20px) !important;
    line-height: 1.4 !important;
}
body .aims-about-reference .aims-about-right .pullquote::before {
    content: "\201C" !important;
    display: block !important;
    color: #1598cd !important;
    font: bold 40px/1 Georgia, serif !important;
    margin: 0 0 3px !important;
    flex-shrink: 0 !important;
}
body .aims-about-reference .aims-about-right {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}
body:not(.aims-editing) #aims-about-photo-upload .aims-upload-actions,
body:not(.aims-editing) #aims-about-photo-upload #aims-about-status {
    display: none !important;
}
@media(max-width:600px) {
    body .aims-about-reference .aims-about-right .pullquote {
        height: auto !important;
        min-height: 205px !important;
        max-height: none !important;
    }
}
/* END AIMS final card sizing */