/*
 Theme Name:   Attorna Child
 Theme URI:    http://demo.goodlayers.com/attorna
 Description:  Goodlayers Attorna Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     attorna
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  attorna-child

 START YOUR CHILD THEME CSS HERE
*/

/* ==========================================================================
   Content Toggle - Transiciones fluidas
   ========================================================================== */

/* Contenedor base con transición */
.content-toggle {
    transition: opacity 0.4s ease, max-height 0.4s ease, transform 0.4s ease;
    overflow: hidden;
}

/* Estado visible */
.content-toggle.is-visible {
    opacity: 1;
    max-height: 2000px;
    transform: translateY(0);
    visibility: visible;
}

/* Estado oculto */
.content-toggle.is-hidden {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
}

/* Link de mostrar más */
.link-item-show a {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.link-item-show a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Estados iniciales por defecto (sin depender de JS)
   ========================================================================== */

/* Collapsed visible por defecto */
#text-content-collapsed {
    display: block;
    opacity: 1;
    max-height: 2000px;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    overflow: hidden;
}

/* Expanded oculto por defecto */
#text-content-expanded {
    display: none;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    overflow: hidden;
}

/* Cuando se activa: mostrar expanded */
#text-content-expanded.is-visible {
    display: block;
    opacity: 1;
    max-height: 2000px;
}

/* Cuando se activa: ocultar collapsed */
#text-content-collapsed.is-hidden {
    display: none;
    opacity: 0;
    max-height: 0;
}

.datos-contacto-content p{
    margin-bottom: 0;
}

.text-underline {
    text-decoration: underline;
}

.gdlr-core-personnel-list-title a{
    color: #0046aa !important;
}