/* Adaptaciones del layout público sobre los componentes instalados de Cuba. */
.ajayus-public { --ajayus-photo-size: 112px; }
.ajayus-public .page-wrapper { min-height:100vh; display:flex; flex-direction:column; }
.ajayus-public .ajayus-footer { margin-top:auto; margin-left:0; width:100%; padding:32px 0 22px; border-top:1px solid var(--recent-border); }
.ajayus-public .ajayus-footer p { overflow-wrap:anywhere; }
.ajayus-public a:focus-visible,.ajayus-public button:focus-visible { outline:3px solid var(--theme-default); outline-offset:3px; }
.ajayus-public .section-space { padding-block:40px; }
.ajayus-public .custom-card .card-profile { margin-top:calc(var(--ajayus-photo-size) / -2); }
.ajayus-public .custom-card .card-profile img[data-memorial-photo] { width:var(--ajayus-photo-size); height:var(--ajayus-photo-size); border-radius:50%; object-fit:cover; }
.ajayus-public .custom-card .card-profile figure { width:auto; margin-bottom:0; }
.ajayus-public .custom-card .profile-details { padding-inline:20px; min-height:88px; }
.ajayus-public .custom-card .profile-details h5,.ajayus-public .custom-card .profile-details h6 { overflow-wrap:anywhere; }
.ajayus-profile .user-profile .hovercard .cardheader { min-height:370px; height:auto!important; padding:34px 24px; }
.ajayus-profile .user-profile .hovercard .user-image { position:relative; inset:auto; padding:0; }
.ajayus-profile .user-profile .hovercard .avatar { margin:0; }
.ajayus-profile .user-profile .hovercard .common-align { gap:20px; }
.ajayus-profile .user-profile .hovercard .avatar img[data-memorial-photo] { width:175px; height:175px; object-fit:cover; border-radius:50%; padding:5px; border:3px solid white; background:white; }
.ajayus-profile .user-designation { min-width:0; text-align:left; }
.ajayus-profile .user-designation h1 { font-size:clamp(1.5rem,3vw,2.25rem); overflow-wrap:anywhere; }
.ajayus-profile .user-designation .desc { color:white; overflow-wrap:anywhere; }
.ajayus-profile .button-dejar-dadivas { height:auto!important; min-height:48px; display:inline-flex; align-items:center; gap:10px; white-space:normal; }
.ajayus-profile .button-dejar-dadivas svg { position:static!important; transform:none!important; width:26px; height:26px; flex-shrink:0; }
.ajayus-profile .tabs-scoial { display:flex; flex-wrap:wrap; justify-content:space-around; gap:12px; border:0; }
.ajayus-profile .tabs-scoial .nav-link { padding:0; }
.ajayus-profile .filter-cards-view .theme-form { display:flex; flex-direction:column; gap:8px; }
.ajayus-profile .filter-cards-view .btn { width:100%; white-space:normal; }
.ajayus-profile .dark-timeline { max-height:600px; overflow:auto; }
.ajayus-profile .dark-timeline h6,.ajayus-profile .dark-timeline .c-o-light { overflow-wrap:anywhere; }
.ajayus-profile .recent-images img { width:100px; height:100px; object-fit:contain; }
.ajayus-profile .ajayus-map { height:360px; width:100%; border-radius:8px; }
.ajayus-public .ajayus-about-image { width:100%; height:auto; max-height:480px; object-fit:contain; }
@media(min-width:360px) { .ajayus-public { --ajayus-photo-size:120px; } }
@media(min-width:768px) { .ajayus-public { --ajayus-photo-size:130px; } }
@media(min-width:1200px) { .ajayus-public { --ajayus-photo-size:145px; } }
@media(max-width:1199.98px) {
 .ajayus-profile .user-profile .hovercard .avatar img[data-memorial-photo] { width:155px; height:155px; }
}
@media(max-width:767.98px) {
 .ajayus-public .section-space { padding-block:24px; }
 .ajayus-profile .user-profile .hovercard .cardheader { padding:24px 16px; }
 .ajayus-profile .user-profile .hovercard .common-align { flex-direction:column; }
 .ajayus-profile .user-profile .hovercard .avatar img[data-memorial-photo] { width:140px; height:140px; }
 .ajayus-profile .user-designation { text-align:center; }
 .ajayus-profile .user-profile .hovercard .follow { position:static; margin-top:16px; justify-content:center; }
 .ajayus-profile .user-profile .hovercard .follow>div { padding-inline:12px; }
 .ajayus-profile .tabs-scoial .nav-item { width:100%; }
 .ajayus-profile .button-dejar-dadivas { width:100%; justify-content:center; }
 .ajayus-profile .ajayus-map { height:280px; }
}
.ajayus-profile .floating-button { position:fixed; right:20px; bottom:20px; z-index:1000; }
@media(prefers-reduced-motion:reduce) { .ajayus-public .wow { animation:none!important; } }
.ajayus-profile { --ajayus-profile-photo-size:175px; }
.ajayus-profile #output { width:var(--ajayus-profile-photo-size)!important; height:var(--ajayus-profile-photo-size)!important; border-radius:50%!important; object-fit:cover; padding:4px; border:3px solid white; background:white; }
.ajayus-profile .ajayus-present-actions .btn { flex:0 1 auto; min-width:180px; }
@media(max-width:1199.98px) { .ajayus-profile { --ajayus-profile-photo-size:155px; } }
@media(max-width:767.98px) {
 .ajayus-profile { --ajayus-profile-photo-size:140px; }
 .ajayus-profile .ajayus-present-actions { flex-direction:column; }
 .ajayus-profile .ajayus-present-actions .btn { width:100%; }
}
.ajayus-profile .floating-button .btn { width:48px; height:48px; padding:0; display:flex; align-items:center; justify-content:center; }

/* Cuba aplica fondos blancos a la landing incluso con dark-only. */
.ajayus-public.dark-only .ajayus-footer { background:var(--white,#262932)!important; color:var(--body-font-color); }
.ajayus-public.dark-only .ajayus-footer img { filter:brightness(0) invert(1); }
.ajayus-profile .user-profile .hovercard .avatar { width:100%; }
.ajayus-profile #output { max-width:none!important; flex-shrink:0; }

.ajayus-profile .user-profile .hovercard .common-align>div:first-child { flex:0 0 auto; }
.ajayus-profile #output { min-width:var(--ajayus-profile-photo-size); min-height:var(--ajayus-profile-photo-size); max-height:none!important; }
