/*
 * rc259 · Perfil público: pestañas, respuestas y columna fija.
 * Selector doble #cp-community#cp-community, como en rc255-rc257, para ganar a las reglas del tema.
 */

/* Columna izquierda fija en escritorio; el script calcula --cp-col-top. */
@media (min-width:861px){
    #cp-community#cp-community .cp-community-profile-layout>aside{position:sticky!important;top:var(--cp-col-top,calc(18px + var(--wp-admin--admin-bar--height,0px)))!important;align-self:start!important}
}

/* Pestañas del perfil. */
#cp-community#cp-community .cp-profile-tabs{display:flex;gap:4px;margin:0 0 14px;padding:5px;overflow-x:auto;border:1px solid #d7e5dc;border-radius:14px;background:#fff;scroll-margin-top:calc(18px + var(--wp-admin--admin-bar--height,0px));scrollbar-width:none}
#cp-community#cp-community .cp-profile-tabs::-webkit-scrollbar{display:none}
#cp-community#cp-community .cp-profile-tabs a{display:inline-flex;flex:1 0 auto;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border-radius:10px;color:#4a5f54!important;font-size:13.5px;font-weight:700;text-decoration:none!important;white-space:nowrap}
#cp-community#cp-community .cp-profile-tabs a:hover{background:#f1f7f3;color:#08783d!important}
#cp-community#cp-community .cp-profile-tabs a.is-active{background:#eaf7ef;color:#08733a!important}
#cp-community#cp-community .cp-profile-tabs a b{min-width:20px;padding:1px 7px;border-radius:99px;background:#eef3f0;color:inherit;font-size:11.5px;font-weight:800;text-align:center}
#cp-community#cp-community .cp-profile-tabs a.is-active b{background:#cfeedb}

/* Respuestas del socio. */
#cp-community#cp-community .cp-profile-reply{display:grid;gap:6px;padding:14px 0;border-top:1px solid #edf2ee}
#cp-community#cp-community .cp-profile-reply:first-of-type{border-top:0}
#cp-community#cp-community .cp-profile-reply>a{display:grid;gap:1px;text-decoration:none!important}
#cp-community#cp-community .cp-profile-reply>a small{color:#6b7d73;font-size:11.5px;font-weight:600}
#cp-community#cp-community .cp-profile-reply>a strong{color:#173c2c;font-size:15px;font-weight:700;line-height:1.35}
#cp-community#cp-community .cp-profile-reply>a:hover strong{color:#08783c}
#cp-community#cp-community .cp-profile-reply>b{justify-self:start;padding:2px 9px;border-radius:99px;background:#dff3e7;color:#08783d;font-size:11px;font-weight:800}
#cp-community#cp-community .cp-profile-reply>p{margin:0;color:#52675e;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
#cp-community#cp-community .cp-profile-reply>time{color:#7d8d84;font-size:12px}

/* Muro para visitantes. */
#cp-community#cp-community .cp-wall-login{margin:10px 0 0;padding:12px 14px;border-radius:12px;background:#f4fbf7;color:#365648;font-size:13.5px}
#cp-community#cp-community .cp-wall-login a{color:#00743d;font-weight:800}

@media (max-width:620px){
    #cp-community#cp-community .cp-profile-tabs a{flex:0 0 auto;padding:0 12px;font-size:13px}
}
