/* =========================================================
   PERFIL PUBLICO CAB - PALETA NARANJA / VERDE
   Naranja: #E86E11
   Verde:   #1D9B97
   ========================================================= */

:root {
    --cab-orange: #E86E11;
    --cab-green: #1D9B97;
    --cab-white: #ffffff;
    --cab-light: #f4f7f7;
    --cab-soft: #eef4f4;
    --cab-text: #2f2f2f;
    --cab-footer-dark: #262b36;
}

html,
body.perfil-publico-body {
    background: var(--cab-light) !important;
}

body.perfil-publico-body .perfil-publico-page,
body.perfil-publico-body .page {
    background: var(--cab-light) !important;
    min-height: 100vh !important;
    padding-bottom: 50px !important;
}

body.perfil-publico-body .perfil-publico-header {
    background: var(--cab-green) !important;
    padding: 12px 0 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18) !important;
}

body.perfil-publico-body .perfil-publico-header img {
    max-height: 56px !important;
}

body.perfil-publico-body .perfil-wrapper {
    max-width: 1050px !important;
    margin: 35px auto !important;
    background: var(--cab-white) !important;
    overflow: hidden !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18) !important;
    position: relative !important;
}

body.perfil-publico-body .perfil-hero {
    display: grid !important;
    grid-template-columns: 50% 50% !important;
    min-height: 420px !important;
    position: relative !important;
}

body.perfil-publico-body .perfil-foto-box {
    position: relative !important;
    background: var(--cab-soft) !important;
    overflow: hidden !important;
}

body.perfil-publico-body .perfil-foto-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    min-height: 420px !important;
}

body.perfil-publico-body .perfil-hero-info {
    background: var(--cab-green) !important;
    color: var(--cab-white) !important;
    padding: 70px 65px 50px 95px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body.perfil-publico-body .perfil-hero-info:before {
    content: "" !important;
    position: absolute !important;
    left: -95px !important;
    top: 0 !important;
    width: 180px !important;
    height: 100% !important;
    background: var(--cab-green) !important;
    clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%) !important;
}

body.perfil-publico-body .perfil-hero-info:after {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    bottom: -80px !important;
    width: 90px !important;
    height: 110px !important;
    background: var(--cab-orange) !important;
    clip-path: polygon(0 0, 100% 0, 45% 100%) !important;
}

body.perfil-publico-body .perfil-label {
    color: var(--cab-white) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    font-style: italic !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    text-transform: uppercase !important;
}

body.perfil-publico-body .perfil-nombre {
    color: var(--cab-white) !important;
    font-size: 42px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    margin: 5px 0 18px !important;
    text-transform: uppercase !important;
}

body.perfil-publico-body .perfil-registro {
    display: inline-block !important;
    background: var(--cab-orange) !important;
    color: var(--cab-white) !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
    padding: 9px 16px !important;
    border-radius: 3px !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    width: fit-content !important;
    margin-bottom: 18px !important;
}

body.perfil-publico-body .perfil-descripcion {
    color: var(--cab-white) !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
    max-width: 360px !important;
    margin: 0 !important;
}

body.perfil-publico-body .perfil-body-grid {
    display: grid !important;
    grid-template-columns: 50% 50% !important;
}

body.perfil-publico-body .perfil-panel-azul {
    background: var(--cab-orange) !important;
    color: var(--cab-white) !important;
    padding: 55px 60px !important;
    position: relative !important;
}

body.perfil-publico-body .perfil-panel-azul h2 {
    color: var(--cab-white) !important;
    font-size: 31px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
}

body.perfil-publico-body .perfil-panel-azul p {
    color: var(--cab-white) !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
    margin-bottom: 34px !important;
}

body.perfil-publico-body .perfil-panel-claro {
    background: var(--cab-white) !important;
    color: var(--cab-text) !important;
    padding: 50px 58px !important;
}

body.perfil-publico-body .perfil-dato-lista {
    position: relative !important;
    padding-left: 48px !important;
}

body.perfil-publico-body .perfil-dato-lista:before {
    content: "" !important;
    position: absolute !important;
    left: 8px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 18px !important;
    background: var(--cab-green) !important;
}

body.perfil-publico-body .perfil-dato-lista:after {
	content: none !important;
    display: none !important;
    position: absolute !important;
    left: 8px !important;
    top: 72px !important;
    width: 18px !important;
    height: 18px !important;
    background: var(--cab-white) !important;
    transform: rotate(45deg) !important;
    box-shadow: 0 124px 0 var(--cab-white), 0 248px 0 var(--cab-white) !important;
}

body.perfil-publico-body .perfil-dato {
    margin-bottom: 34px !important;
}

body.perfil-publico-body .perfil-dato h3 {
    font-size: 25px !important;
    font-weight: 800 !important;
    color: var(--cab-green) !important;
    margin-bottom: 4px !important;
}

body.perfil-publico-body .perfil-dato p {
    font-size: 20px !important;
    line-height: 1.35 !important;
    color: var(--cab-text) !important;
    margin: 0 !important;
    word-break: break-word !important;
}

body.perfil-publico-body .perfil-footer-card {
    display: grid !important;
    grid-template-columns: 52% 48% !important;
    min-height: 245px !important;
}

body.perfil-publico-body .perfil-footer-info {
    background: var(--cab-green) !important;
    color: var(--cab-white) !important;
    padding: 55px 65px !important;
    position: relative !important;
}

body.perfil-publico-body .perfil-footer-info:after {
    content: "" !important;
    position: absolute !important;
    right: -85px !important;
    top: 0 !important;
    width: 150px !important;
    height: 100% !important;
    background: var(--cab-green) !important;
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%) !important;
    z-index: 2 !important;
}

body.perfil-publico-body .perfil-footer-info h2 {
    color: var(--cab-white) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    position: relative !important;
    z-index: 3 !important;
}

body.perfil-publico-body .perfil-footer-info p {
    color: var(--cab-white) !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 3 !important;
}

body.perfil-publico-body .perfil-footer-img {
    background: var(--cab-footer-dark) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 35px !important;
}

body.perfil-publico-body .perfil-footer-img img {
    max-width: 250px !important;
    width: 80% !important;
    height: auto !important;
    opacity: 1 !important;
}


body.perfil-publico-body .perfil-logos-afiliacion {
    position: relative !important;
    z-index: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
    max-width: 330px !important;
}

body.perfil-publico-body .perfil-logos-afiliacion img {
    width: 100% !important;
    max-width: 310px !important;
    height: auto !important;
    display: block !important;
    border-radius: 2px !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18) !important;
}

body.perfil-publico-body .perfil-error-card {
    max-width: 500px !important;
    margin: 30vh auto 0 !important;
}

@media (max-width: 991px) {
    body.perfil-publico-body .perfil-wrapper {
        margin: 20px 12px !important;
    }

    body.perfil-publico-body .perfil-hero,
    body.perfil-publico-body .perfil-body-grid,
    body.perfil-publico-body .perfil-footer-card {
        grid-template-columns: 1fr !important;
    }

    body.perfil-publico-body .perfil-hero-info {
        padding: 45px 35px !important;
    }

    body.perfil-publico-body .perfil-hero-info:before,
    body.perfil-publico-body .perfil-hero-info:after,
    body.perfil-publico-body .perfil-footer-info:after {
        display: none !important;
    }

    body.perfil-publico-body .perfil-foto-box img {
        min-height: 330px !important;
    }

    body.perfil-publico-body .perfil-nombre {
        font-size: 34px !important;
    }

    body.perfil-publico-body .perfil-panel-azul,
    body.perfil-publico-body .perfil-panel-claro,
    body.perfil-publico-body .perfil-footer-info {
        padding: 38px 30px !important;
    }

    body.perfil-publico-body .perfil-logos-afiliacion {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 100% !important;
        gap: 10px !important;
    }

    body.perfil-publico-body .perfil-logos-afiliacion img {
        max-width: 100% !important;
    }

    body.perfil-publico-body .perfil-footer-img {
        min-height: 190px !important;
    }

    body.perfil-publico-body .perfil-dato-lista {
        padding-left: 38px !important;
    }
}

@media (max-width: 576px) {
    body.perfil-publico-body .perfil-nombre {
        font-size: 28px !important;
    }

    body.perfil-publico-body .perfil-label {
        font-size: 19px !important;
    }

    body.perfil-publico-body .perfil-panel-azul h2 {
        font-size: 24px !important;
    }

    body.perfil-publico-body .perfil-dato h3 {
        font-size: 20px !important;
    }

    body.perfil-publico-body .perfil-footer-img img {
        max-width: 180px !important;
    }

    body.perfil-publico-body .perfil-logos-afiliacion {
        grid-template-columns: 1fr !important;
        max-width: 290px !important;
    }
}
