
/* ========================================
   REVISTA DECISIÓN GERENCIAL
   DISEÑO INSTITUCIONAL NARANJA
======================================== */

.dg-institucional {
    --dg-naranja: #E65A12;
    --dg-naranja-oscuro: #B8420A;
    --dg-naranja-claro: #F07830;
    --dg-naranja-suave: #FFF0E5;
    --dg-texto: #344054;
    --dg-gris: #667085;
    --dg-fondo: #FFF7F2;
    --dg-borde: #F1E2D8;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--dg-texto);
    line-height: 1.7;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.dg-institucional *,
.dg-institucional *::before,
.dg-institucional *::after {
    box-sizing: border-box;
}

/* ========================================
   HERO - PRESENTACIÓN PRINCIPAL
======================================== */

.dg-institucional .dg-hero {
    position: relative;
    background: linear-gradient(
        125deg,
        #e65d18 0%,
        #E65A12 65%,
        #F07830 100%
    );

    border-radius: 16px;
    padding: 55px 45px;
    overflow: hidden;
    margin-bottom: 55px;
}

.dg-institucional .dg-hero::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    right: -90px;
    top: -90px;
    pointer-events: none;
}

.dg-institucional .dg-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.dg-institucional .dg-etiqueta {
    display: inline-block;
    color: #FFE4C7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.dg-institucional .dg-hero h1 {
    color: #FFFFFF !important;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
    border: 0;
    padding: 0;
}

.dg-institucional .dg-hero-descripcion {
    color: #FFF1E7;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 28px;
}

.dg-institucional .dg-hero-datos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
     color: #FFFFFF;
}

.dg-institucional .dg-hero-datos span {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 13px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 5px;
}

/* ========================================
   SECCIONES GENERALES
======================================== */

.dg-institucional .dg-seccion {
    margin-bottom: 60px;
}

.dg-institucional .dg-encabezado {
    margin-bottom: 28px;
}

.dg-institucional .dg-subtitulo {
    display: block;
    color: var(--dg-naranja);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.dg-institucional .dg-encabezado h2 {
    color: var(--dg-naranja-oscuro);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
}

.dg-institucional .dg-encabezado p {
    color: var(--dg-gris);
    font-size: 14px;
    margin: 0;
}

/* ========================================
   TARJETAS INFORMATIVAS
======================================== */

.dg-institucional .dg-grid-info {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

.dg-institucional .dg-card {
    background: #FFFFFF;
    border: 1px solid var(--dg-borde);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 18px rgba(184,66,10,.04);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.dg-institucional .dg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184,66,10,.10);
}

.dg-institucional .dg-card-principal {
    border-top: 3px solid var(--dg-naranja);
}

.dg-institucional .dg-card-icono {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--dg-naranja-suave);
    color: var(--dg-naranja);

    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dg-institucional .dg-card h3 {
    color: var(--dg-naranja-oscuro);
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 15px;
    padding: 0;
    border: 0;
}

.dg-institucional .dg-card p {
    color: var(--dg-texto);
    font-size: 14px;
    line-height: 1.85;
    text-align: left;
    margin: 0 0 15px;
}

.dg-institucional .dg-card p:last-child {
    margin-bottom: 0;
}

.dg-institucional .dg-card strong {
    color: var(--dg-naranja-oscuro);
}

/* ========================================
   CONVOCATORIA PERMANENTE
======================================== */

.dg-institucional .dg-convocatoria {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 22px;
    padding: 26px 30px;

    background: #FFF5ED;
    border-left: 4px solid var(--dg-naranja);
    border-radius: 0 10px 10px 0;
}

.dg-institucional .dg-convocatoria-etiqueta {
    display: block;
    color: #C44B0D;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 7px;
}

.dg-institucional .dg-convocatoria h3 {
    color: var(--dg-naranja-oscuro);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    border: 0;
    padding: 0;
}

.dg-institucional .dg-convocatoria p {
    color: var(--dg-texto);
    font-size: 13px;
    margin: 0;
}

.dg-institucional .dg-estado {
    flex-shrink: 0;
    background: #F07830;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 30px;
}

/* ========================================
   INFORMACIÓN DE CONTACTO
======================================== */

.dg-institucional .dg-grid-contacto {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dg-institucional .dg-contacto-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 25px;
    background: #FFFFFF;
    border: 1px solid var(--dg-borde);
    border-radius: 12px;

    text-decoration: none !important;
    min-width: 0;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.dg-institucional .dg-contacto-card:hover {
    border-color: var(--dg-naranja);
    box-shadow: 0 6px 20px rgba(184,66,10,.10);
    text-decoration: none !important;
}

.dg-institucional .dg-contacto-icono {
    width: 44px;
    height: 44px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--dg-naranja-suave);
    color: var(--dg-naranja);

    font-size: 22px;
    border-radius: 9px;
}

.dg-institucional .dg-contacto-card > div:last-child {
    min-width: 0;
}

.dg-institucional .dg-contacto-card span {
    display: block;
    color: #0e0d0d;
    font-size: 12px;
    margin-bottom: 5px;
}

.dg-institucional .dg-contacto-card strong {
    display: block;
    color: var(--dg-naranja-oscuro);
    font-size: 14px;
    overflow-wrap: anywhere;
    margin-bottom: 7px;
}

.dg-institucional .dg-contacto-card small {
    color: var(--dg-naranja);
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   DIRECTORIO INSTITUCIONAL
======================================== */

.dg-institucional .dg-grupo {
    margin-bottom: 42px;
}

.dg-institucional .dg-grupo-titulo {
    display: flex;
    align-items: center;
    gap: 13px;

    padding-bottom: 15px;
    border-bottom: 1px solid var(--dg-borde);
    margin-bottom: 20px;
}

.dg-institucional .dg-numero {
    width: 35px;
    height: 35px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--dg-naranja);
    color: #FFFFFF;

    font-size: 12px;
    font-weight: 700;
    border-radius: 7px;
}

.dg-institucional .dg-grupo-titulo h3 {
    color: var(--dg-naranja-oscuro);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    border: 0;
}

.dg-institucional .dg-grupo-descripcion {
    color: var(--dg-gris);
    font-size: 13px;
    margin: -8px 0 20px;
}

/* ========================================
   TARJETAS DE AUTORIDADES
======================================== */

.dg-institucional .dg-grid-personas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.dg-institucional .dg-persona {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--dg-borde);
    border-radius: 10px;

    padding: 23px 25px;
    min-width: 0;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.dg-institucional .dg-persona:hover {
    border-color: #F3B48D;
    box-shadow: 0 5px 18px rgba(184,66,10,.08);
}

.dg-institucional .dg-persona::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 0;

    width: 3px;
    height: 32px;

    background: var(--dg-naranja);
    border-radius: 0 3px 3px 0;
}

.dg-institucional .dg-cargo {
    display: block;
    color: var(--dg-naranja);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.dg-institucional .dg-persona h4 {
    color: var(--dg-naranja-oscuro);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
}

.dg-institucional .dg-grado {
    display: inline-block;
    color: #0e0d0d;
    font-size: 12px;
}

/* ========================================
   RESPONSIVE - TABLETS
======================================== */

@media (max-width: 768px) {

    .dg-institucional .dg-hero {
        padding: 35px 25px;
        margin-bottom: 40px;
    }

    .dg-institucional .dg-hero h1 {
        font-size: 27px;
    }

    .dg-institucional .dg-hero-descripcion {
        font-size: 14px;
    }

    .dg-institucional .dg-grid-info,
    .dg-institucional .dg-grid-contacto,
    .dg-institucional .dg-grid-personas {
        grid-template-columns: 1fr;
    }

    .dg-institucional .dg-card {
        padding: 23px;
    }

    .dg-institucional .dg-convocatoria {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }

    .dg-institucional .dg-encabezado h2 {
        font-size: 23px;
    }

    .dg-institucional .dg-grupo-titulo h3 {
        font-size: 17px;
    }

    .dg-institucional .dg-seccion {
        margin-bottom: 45px;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES
======================================== */

@media (max-width: 420px) {

    .dg-institucional .dg-hero {
        padding: 28px 20px;
    }

    .dg-institucional .dg-hero h1 {
        font-size: 24px;
    }

    .dg-institucional .dg-contacto-card {
        padding: 18px;
    }

    .dg-institucional .dg-persona {
        padding: 20px;
    }

    .dg-institucional .dg-hero-datos {
        gap: 7px;
    }

    .dg-institucional .dg-hero-datos span {
        font-size: 11px;
        padding: 6px 10px;
    }
}


.page-header {
    display: none !important;
}




/* ==========================================
   REVISTA DECISIÓN GERENCIAL
   BREADCRUMBS INSTITUCIONALES
========================================== */

/* CONTENEDOR PRINCIPAL */

nav.cmp_breadcrumbs {
    position: relative;
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 44px;

    margin: 0 0 30px;
    padding: 0;

    background: linear-gradient(
        110deg,
        #FFF8F4 0%,
        #FFF2EA 100%
    );

    border: 1px solid #F5E0D2;
    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}

/* ==========================================
   LISTA DE NAVEGACIÓN
========================================== */

nav.cmp_breadcrumbs ol.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    width: 100%;
    min-height: 44px;

    margin: 0 !important;
    padding: 0 20px 0 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    list-style: none;
}

/* ELEMENTOS */

nav.cmp_breadcrumbs .breadcrumb > li {
    display: inline-flex;
    align-items: center;

    position: relative;

    font-size: 14px;
    line-height: 1.5;

    margin: 0;
    padding: 0;
}

/* ==========================================
   PRIMER ELEMENTO - INICIO
========================================== */

nav.cmp_breadcrumbs .breadcrumb > li:first-child {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: stretch;

    min-height: 44px;

    margin-right: 28px;
    padding: 0 24px 0 22px;

    background: linear-gradient(
        135deg,
        #fc8e57 0%,
        #fc8e57 100%
    );
}

/* FLECHA DECORATIVA */

nav.cmp_breadcrumbs .breadcrumb > li:first-child::after {
    content: "";

    position: absolute;

    top: 50%;
    right: -14px;

    width: 28px;
    height: 28px;

    background: #E65A12;

    transform: translateY(-50%) rotate(45deg);

    border-radius: 2px;

    z-index: 1;
}

/* ENLACE INICIO */

nav.cmp_breadcrumbs .breadcrumb > li:first-child a {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #FFFFFF !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

    transition: opacity 0.2s ease;
}

/* ÍCONO DE CASA CON SVG EMBEBIDO */

nav.cmp_breadcrumbs .breadcrumb > li:first-child a::before {
    content: "";

    display: inline-block;

    width: 19px;
    height: 19px;

    background-color: #FFFFFF;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    flex-shrink: 0;
}

/* HOVER INICIO */

nav.cmp_breadcrumbs .breadcrumb > li:first-child a:hover {
    opacity: 0.8;
}

/* ==========================================
   SEPARADORES
========================================== */

/* ELIMINAR SEPARADOR ORIGINAL BOOTSTRAP */

nav.cmp_breadcrumbs .breadcrumb > li + li::before {
    content: "/" !important;

    color: #D7B5A2 !important;

    font-size: 17px;
    font-weight: 300;

    padding: 0 14px 0 0 !important;

    margin: 0 0 0 2px;
}

/* ==========================================
   ENLACES INTERMEDIOS
========================================== */

nav.cmp_breadcrumbs .breadcrumb > li:not(:first-child) a {
    color: #C94D0B !important;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none !important;

    transition: color 0.2s ease;
}

nav.cmp_breadcrumbs .breadcrumb > li:not(:first-child) a:hover {
    color: #A83D08 !important;
    text-decoration: underline !important;
}

/* ==========================================
   PÁGINA ACTUAL
========================================== */

nav.cmp_breadcrumbs .breadcrumb > li.active {
    color: #343434 !important;

    font-size: 14px;
    font-weight: 600;

    padding-right: 15px;
}

/* ==========================================
   DECORACIÓN DERECHA
========================================== */

nav.cmp_breadcrumbs::after {
    content: "";

    position: absolute;

    right: -35px;
    top: -45px;

    width: 140px;
    height: 140px;

    border: 18px solid rgba(230, 90, 18, 0.045);
    border-radius: 30px;

    transform: rotate(45deg);

    pointer-events: none;
}

/* ==========================================
   RESPONSIVE - TABLETS
========================================== */

@media (max-width: 768px) {

    nav.cmp_breadcrumbs {
        min-height: 44px;
        border-radius: 9px;
        margin-bottom: 22px;
    }

    nav.cmp_breadcrumbs ol.breadcrumb {
        min-height: 56px;
    }

    nav.cmp_breadcrumbs .breadcrumb > li:first-child {
        min-height: 56px;
        padding: 0 17px;
        margin-right: 24px;
    }

    nav.cmp_breadcrumbs .breadcrumb > li {
        font-size: 13px;
    }

    nav.cmp_breadcrumbs .breadcrumb > li.active {
        font-size: 13px;
    }

    nav.cmp_breadcrumbs .breadcrumb > li:first-child a {
        font-size: 13px;
    }

    nav.cmp_breadcrumbs .breadcrumb > li:first-child a::before {
        width: 17px;
        height: 17px;
    }
}

/* ==========================================   
   RESPONSIVE - MÓVILES
========================================== */

@media (max-width: 480px) {

    nav.cmp_breadcrumbs {
        min-height: 52px;
        margin-bottom: 20px;
    }

    nav.cmp_breadcrumbs ol.breadcrumb {
        min-height: 52px;
        padding-right: 12px !important;
    }

    nav.cmp_breadcrumbs .breadcrumb > li:first-child {
        min-height: 52px;
        padding: 0 14px;
        margin-right: 22px;
    }

    nav.cmp_breadcrumbs .breadcrumb > li:first-child a {
        font-size: 0;
        gap: 0;
    }

    nav.cmp_breadcrumbs .breadcrumb > li:first-child a::before {
        width: 19px;
        height: 19px;
    }

    nav.cmp_breadcrumbs .breadcrumb > li + li::before {
        padding-right: 8px !important;
    }

    nav.cmp_breadcrumbs .breadcrumb > li.active {
        font-size: 12px;
        padding-right: 5px;
        overflow-wrap: anywhere;
    }

    nav.cmp_breadcrumbs::after {
        display: none;
    }
}