:root{
    /** Colores **/
    --jf-prim:#8c3838;
    --jf-sec:#d4c9c3;
    --jf-enf:#3a5c50;
    --jf-enf2:#c9a16a;
    --jf-text:#2a2a2a;
    --jf-claro:#f8f5f2;
}



/*--Text styles--*/
.text-jf-prim{
    color: var(--jf-prim);
}

.text-jf-sec{
    color: var(--jf-sec);
}

.text-jf-claro{
    color: var(--jf-claro);
}

.text-jf-dark{
    color: var(--jf-text);
}

/*--Background Styles--*/
.bg-jf-prim{
    background-color: var(--jf-prim)!important;
}

.bg-jf-dark{
    background-color: var(--jf-text);
}

.bg-jf-claro{
    background-color: var(--jf-claro);
}

/* Generales*/
.title-section{
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--jf-prim);
}

.title-section::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--jf-enf2);
}

/*--Seccion header---*/
header#h-jf{
    & figure{
        background-color:var(--jf-prim);
    }

    & div#jf-info{
        min-height: 40px;
    }

    & p{
        font-size: 16px;
    }
}

@media (min-width:425px) {
    header#h-jf{
        & p{
            font-size: 18px;
        }
    }
}

/*--Seccion info institucional*/
.container-card{
    & div.wp-block-group__inner-container{
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;

        & .card{
            min-height: 180px;
            border-top: 8px solid var(--jf-prim);
        }
        & .card-title{
            font-size: 2rem;
        }
    }
}

/*--Seccion ordenanzas*/
.container-ord{
    & .card {
        min-height:150px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        cursor: pointer;
        position: relative;
    }

    & .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
    }
}

/*--Seccion Publicaciones*/
.entrada-jf{
    border-radius: 4px;
    border-top: 4px solid var(--jf-enf2)!important;
    border-bottom: 4px solid var(--jf-enf2)!important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    &:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
    }
}


.p-news{
    line-height: 1.2;
}

/*--Flotante Instagram*/

.floating-instagram {
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.instagram-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.instagram-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.qr-container {
  bottom: 60px;
  right: 0;
  border-radius: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s ease;
  pointer-events: none;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.qr-code {
  width: 220px;
  height: 220px;
  border-radius: 8px;
  margin-bottom: 8px;
}

@media (min-width:1200px) {
    /* Mostrar QR al hacer hover */
    .floating-instagram:hover .qr-container {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    }

    /* Línea decorativa que conecta el logo con el QR */
    .floating-instagram:hover .qr-container::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 21px;
    width: 2px;
    height: 8px;
    background: #e0e0e0;
    }
}

