#navbar{
    border: none !important;
}
.red {
    color: #f55b63;
}
.orange {
    color: #C8841C;
}
.green {
    color: #bce13b;
}

.blue {
    color: #42a3ee;
}

.yellow {
    color: #e6e837;
}

.gold {
    color: #e8c537;
}

body, html {
    height: 100%;
}

html {
    font-size: 18px;
}

body {
    font-family: "EB Garamond", serif;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    color: #3a3230;
    background-color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    font-weight: normal;
}
/**preloader**/
.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out; }
.container{padding: 0 !important;}
/* Previene scroll horizontal (Bootstrap rows tienen margin negativo de -15px).
   Se aplica al wrapper, no a body/html, para no romper position:fixed del navbar. */
.wrapper { overflow-x: hidden; }
a {
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-decoration: none;
    color: #8B6A4A;
}
a:hover, a:focus {
    text-decoration: none;
    outline: 0 !important;
    color: #C22E1C;
}

button {
    border: 0px;
}
button:focus {
    outline: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0px;
    font-weight: 700;
}

hr.separator {
    border-top: 2px solid #C22E1C;
    margin: 10px auto;
    width: 60px;
    opacity: 0.75;
}

.margin-b-30 {
    margin-bottom: 30px;
}

/**spaces**/
.space-20 {
    width: 100%;
    height: 20px;
    clear: both;
}

.space-30 {
    width: 100%;
    height: 30px;
    clear: both;
}

.space-40 {
    width: 100%;
    height: 40px;
    clear: both;
}

.space-50 {
    width: 100%;
    height: 50px;
    clear: both;
}

.space-60 {
    width: 100%;
    height: 60px;
    clear: both;
}

@media (min-width: 768px) {
    .btn-skin {
        background-color: #C22E1C;
        color: #fff;
    }
    .btn-skin:hover, .btn-skin:focus {
        color: #fff;
        background-color: #8B1808;
    }
    @media (min-width: 992px) {

    }
    @media (min-width: 768px) {
        .navbar-nav > li > a {
            padding-top: 20px;
            padding-bottom: 20px;
        }

        .navbar-right li.button-nav a {
            background-color: #C22E1C;
            color: #fff;
            padding: 8px 15px;
            margin-top: 12px;
            font-size: 12px;
            font-weight: 400;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            -ms-border-radius: 20px;
            border-radius: 20px;
        }
        .navbar-right li.button-nav a:hover, .navbar-right li.button-nav a:focus {
            background-color: #8B1808;
            color: #fff !important;
        }


    }
    .p-t-section{
        padding-top: 120px;
    }
    .p-b-section{
        padding-bottom: 80px;
    }

    .footer {
        background: linear-gradient(135deg, #1A0E06 0%, #C22E1C 50%, #C8841C 100%);
        padding-top: 60px;
    }
    .footer h2 {
        color: #fff;
        margin-bottom: 20px;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 18px;
    }
    .footer p {
        color: #FFF;
        font-size: 15px;
    }

    footer ul li i {
        float: left;
        color: #fff;
        font-size: 30px;
        margin-right: 20px;
    }
    .footer ul li span {
        display: block;
        overflow: hidden;
        color: #ced3d8;
        font-size: 16px;
    }
    .footer ul.list-inline li {
        padding: 0px;
    }
    .footer ul.list-inline li a {
        margin: 5px;
    }
    .footer ul.list-inline li a i {
        color: #a4a4a4;
        margin: 0px;
        font-size: 30px;
    }
    .footer ul.list-inline li:hover i {
        color: #C8841C;
    }
    .footer .footer-bottom {
        padding-top: 40px;
        padding-bottom: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer .footer-bottom .list-inline li a {
        color: #fff;
        font-weight: 400;
        text-transform: uppercase;
    }
    .footer .footer-bottom .list-inline li a:hover {
        color: #C8841C;
    }
    .footer .footer-bottom span {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 300;
        font-size: 13px;
    }

    .redes{
        font-size: 35px;
        color:#fff;
        margin:2px;
    }
    .redes:hover{
        color:#fff;
    }
    #features {
        padding: 40px 0;
        background-color: #fff;
    }

    .feature-box {
        margin-bottom: 40px;
        text-align: center;
    }
    .feature-box i {
        font-size: 40px;
        display: block;
        margin-bottom: 15px;
    }
    .feature-box h3 {
        color: #000;
        font-size: 19px;
        font-weight: 400;
        text-transform: capitalize;
    }

    .aside-feature-row {
        padding: 50px 0;
        overflow: hidden;
    }
    .aside-feature-row h3 {
        color: #000;
        font-size: 30px;
        line-height: 44px;
        font-weight: 400;
    }
    .aside-feature-row p {
        font-weight: normal;
        font-size: 15px;
    }
    .aside-feature-row ul {
        margin-bottom: 30px;
    }
    .aside-feature-row ul li {
        font-size: 16px;
        line-height: 40px;
        display: block;
        font-weight: normal;
    }
    .aside-feature-row ul li i {
        margin-right: 10px;
        color: #C8841C;
    }




    @media (max-width: 991px) {
        .contact-home-text {
            padding: 40px 0;
        }
    }
    @media (max-width: 767px) {
        .banner-intro h1 {
            font-size: 17px;
            line-height: 10px;
        }

        .contact-home-text {
            padding: 0px 0;
        }

        .banner-intro .banner-buttons .btn-white {
            display: none;
        }

        .banner-intro .banner-buttons {
            margin-top: 0px;
        }

        .header-v1 .navbar-brand {
            line-height: 33px;
        }

        .header-v2 .navbar-brand {
            line-height: 16px;
        }

        .home-newsletter {
            padding-top: 80px;
            padding-bottom: 40px;
        }

        .assan-newsletter .input-group, .assan-newsletter .input-group-btn, .assan-newsletter .btn {
            width: 100%;
            display: block;
        }

        .home-newsletter h2 {
            font-size: 25px;
            font-weight: 700;
            line-height: 30px;
        }

        .assan-newsletter .form-control {
            margin-bottom: 10px;
            font-size: 13px;
        }
    }
    @media (max-width: 375px) {
        .input-group .form-control, .input-group-addon, .input-group-btn {
            display: inherit;
        }

        .assan-newsletter .form-control {
            margin-bottom: 10px;
            font-size: 13px;
        }

        .footer .footer-bottom .list-inline li a {
            font-size: 12px;
        }
    }

    .back-to-top {
        position: fixed;
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        bottom: 10px;
        right: 10px;
        background: #C22E1C;
        color: #c1c1c1;
        line-height: 50px;
        opacity: 0;
        visibility: hidden;
        z-index: 9;
        -webkit-transition: -webkit-transform 0.2s ease-out;
        -moz-transition: -moz-transform 0.2s ease-out;
        transition: transform 0.2s ease-out;
        transform: translate3d(0, 15px, 0);
        -webkit-transform: translate3d(0, 15px, 0); }
    .back-to-top i {
        display: block;
        font-size: 25px;
        line-height: 50px;
        text-align: center; }
    .back-to-top:hover {
        box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.2);
        color: #fff; }
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0px, 0);
        -webkit-transform: translate3d(0, 0px, 0); }


    /* Smart form customization */
    .smart-container {
        box-shadow: none; }

    .smart-wrap {
        padding: 0px; }

    .smart-container {
        margin: 0 auto; }

    .smart-forms .form-body {
        padding: 0px;
        padding-bottom: 20px; }

    .smart-forms .form-footer {
        overflow: hidden;
        padding: 0px;
        padding-top: 0px;
        background: #fff;
        background-image: none; }

    .smart-forms .refresh-captcha {
        background-color: #5bc0de;
        border-color: #3483de; }

    .smart-forms .button {
        padding: 13px 25px 13px !important;
        font-family: "EB Garamond", serif;
        text-transform: uppercase; }

    .smart-forms .btn-primary {
        background-color: #3483de; }
    .smart-forms .btn-primary:active {
        background-color: #3483de; }
    .smart-forms .btn-primary:hover, .smart-forms .btn-primary:focus {
        background-color: #3483de; }

    .smart-forms .input-hint {
        font-family: "EB Garamond", serif;}


    /*************parallax*************/
    .parallax {
        background-position: 0% !important;
        background-repeat: no-repeat  !important;
        background-size: 100% auto  !important;
        width: 100%  !important;
        background-size: cover  !important;
        background-attachment: fixed  !important;
        min-height: 350px  !important;
    }
    .img-equipo{
        width: 100%;
        margin: 5px 0 70px 0;
        /*border: 12px solid #b6b6b6;*/
        border-radius: 7px;
        text-align: center;
    }
    @media (max-width: 767px) {
        .img-equipo { margin: 10px 0 30px 0; }
    }


    .video{
        width:100%;
    }




    /*------------------------------------------------------------------
        Post
    -------------------------------------------------------------------*/
    .post-grid,
    .post-list-aside {
        display: inline-block;
        width: 100%;
    }

    .post-grid {
        margin: 0 15px;
    }

    .post-grid .col-lg-1,
    .post-grid .col-lg-10,
    .post-grid .col-lg-11,
    .post-grid .col-lg-12,
    .post-grid .col-lg-2,
    .post-grid .col-lg-3,
    .post-grid .col-lg-4,
    .post-grid .col-lg-5,
    .post-grid .col-lg-6,
    .post-grid .col-lg-7,
    .post-grid .col-lg-8,
    .post-grid .col-lg-9,
    .post-grid .col-md-1,
    .post-grid .col-md-10,
    .post-grid .col-md-11,
    .post-grid .col-md-12,
    .post-grid .col-md-2,
    .post-grid .col-md-3,
    .post-grid .col-md-4,
    .post-grid .col-md-5,
    .post-grid .col-md-6,
    .post-grid .col-md-7,
    .post-grid .col-md-8,
    .post-grid .col-md-9,
    .post-grid .col-sm-1,
    .post-grid .col-sm-10,
    .post-grid .col-sm-11,
    .post-grid .col-sm-12,
    .post-grid .col-sm-2,
    .post-grid .col-sm-3,
    .post-grid .col-sm-4,
    .post-grid .col-sm-5,
    .post-grid .col-sm-6,
    .post-grid .col-sm-7,
    .post-grid .col-sm-8,
    .post-grid .col-sm-9,
    .post-grid .col-xs-1,
    .post-grid .col-xs-10,
    .post-grid .col-xs-11,
    .post-grid .col-xs-12,
    .post-grid .col-xs-2,
    .post-grid .col-xs-3,
    .post-grid .col-xs-4,
    .post-grid .col-xs-5,
    .post-grid .col-xs-6,
    .post-grid .col-xs-7,
    .post-grid .col-xs-8,
    .post-grid .col-xs-9 {
        padding-right: 0; 
        padding-left: 0;
    }

    .post-single .post-img,
    .post-single .post-desk .date,
    .post-single .post-cat li a,
    .post-single .post-desk,
    .post-list .post-single .post-desk a.author {
        position: relative;
    }

    .post-grid .post-single .post-img {
        width: 100%;
        height: 230px;
    }

    .post-grid .post-single .post-img img {
        width: 100%;
        height: 100%;
    }

    .post-single .post-img.top:after {
        top: -7px;
    }

    .post-single .post-img.bottom:after {
        bottom: -7px;
    }

    .post-single .post-img.top:after,
    .post-single .post-img.bottom:after {
        position: absolute;
        left: 50%;
        display: block;
        width: 15px; 
        height: 14px;
        margin-left: -7px;
        content: "";
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        border-style: none;
        border-color: #fff;
        border-right: 1px solid #fff;
        -o-border-image: none;
        border-image: none;
        background-color: #fff;
    }

    .post-single .post-desk {
        /*height: 250px;*/
        padding: 30px 0;
    }

    .post-grid .post-single .post-desk {
        height: 309px; 
        padding: 40px;
    }

    .pad-left-less {
        padding-left: 0 !important;
    }

    .post-single .post-desk h4,
    .post-single .post-desk .date,
    .post-single .post-cat li a,
    .p-read-more,
    .post-sub-title {
        /*font-family: "EB Garamond", serif;*/
        letter-spacing: 1px;
    }

    .post-single .post-desk .date,
    .post-single .post-desk h4 a,
    .p-read-more:hover {
        color: #222;
    }

    .post-sub-title {
        font-size: 16px;
    }

    .post-single .post-desk .date {
        float: left;
        width: 100%;
        height: auto;
        margin-right: 0; 
        margin-bottom: 25px;
        padding-top: 0;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: transparent;
        background: none;
        font-size: 14px;
    }

    .post-single .post-desk .date:after {
        position: absolute;
        top: 30px;
        left: 0;
        width: 60px;
        height: 1px;
        content: "";
        background: #222;
    }

    .post-single .post-desk .mid-align {
        position: absolute;
        top: 50%;
        padding-right: 40px; 
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }

    .post-single .post-cat {
        padding: 0;
        list-style: none;
    }

    .post-single .post-cat li {
        display: inline-block;
        margin-right: 10px;
    }

    .post-single .post-cat li a {
        text-transform: uppercase;
        color: #909090;
        font-size: 12px;
    }

    .post-single .post-cat li a:after {
        content: ",";
    }

    /*-------*/
    .post-list .post-single .post-desk p,
    .post-list-aside .post-single .post-desk p {
        line-height: 30px;
    }

    .post-list .post-single .post-desk {
        /* padding: 40px 0; */
    }

    .post-list .post-single .post-desk .date,
    .post-list-aside .post-single .post-desk .date,
    .post-list .post-single .post-desk a.author,
    .post-list-aside .post-desk a.author {
        color: #909090; 
        font-size: 12px;
    }

    .post-list .post-single .post-desk h4 {
        margin-bottom: 10px;
    }

    .post-list .post-single .post-desk .date:after,
    .post-list-aside .post-single .post-desk .date:after {
        background: none;
    }

    .post-list .post-single .post-desk a.author:after {
        padding-right: 5px; 
        padding-left: 10px;
        content: "|";
    }

    .post-list .post-single .post-img img {
        width: 100%;
        height: auto;
    }

    .post-list .post-single .post-cat li a:hover {
        color: #000;
    }

    .p-read-more {
        position: relative;
        text-transform: uppercase;
        color: #bbb;
    }

    .p-read-more i {
        position: absolute;
        top: 2px;
        margin-left: 10px;
        font-weight: bold;
    }

    /*-------*/
    .post-list-aside .post-single .post-desk h4 {
        margin-bottom: 10px;
    }

    .post-list-aside .post-img img {
        width: 100%;
        height: auto;
    }

    .post-list-aside .post-desk a.author:after {
        padding-right: 5px; 
        padding-left: 10px;
        content: "|";
    }

    /*------------------*/
    .img-post.col-2 .item {
        width: 50%;
    }

    .img-post.col-3 .item {
        width: 33.3333333%;
    }

    .img-post.col-4 .item {
        width: 25%;
    }

    .img-post .item {
        position: relative;
        float: left;
        cursor: pointer;
    }

    .img-post .item img {
        width: 100%;
        height: auto;
    }

    .img-post .post-desk {
        position: absolute;
        top: 10%;
        left: 0;
        padding: 10%;
    }

    .img-post.col-3 .post-desk {
        top: 15%;
        padding: 5%;
    }

    .img-post.col-4 .post-desk {
        top: 0;
        padding: 5%;
    }

    .img-post .post-desk .light-txt a {
        color: #fff;
    }

    /*--------------------------*/
    .title-img {
        position: relative;
    }

    .title-img img {
        width: 100%;
        height: auto; 
        border: none !important;
    }

    .title-img .info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%; 
        padding: 10px;
        color: #fff;
        background: rgba(0, 0, 0, .5);
    }

    .right-side,
    .left-side {
        padding: 110px 0;
    }

    .gap-less .col-md-6 {
        padding: 0;
    }
    .mi-web {
        background-color: #2E1A0C !important;
        margin-top: 1.5em;
    }
    .mi-web h3 {
        color: #F5EDE0 !important;
    }
    .breadcrumb li > a {
        color: #C8841C !important;
        font-weight: bold;
    }
    .featured-item.border-box:hover {

        background: inherit !important; 
    }
    .featured-item.border-box:hover h4 {
        color: inherit !important; 
    }
    .toggle.time-line > dt > a:after {
        background: #C22E1C;
    }
    .item-noticia iframe {
        object-fit: contain;
        width: 100%;
        height: 210px;
    }



}
/* ================================================================
   MEJORAS DE TIPOGRAFÍA Y TAMAÑOS POR SECCIÓN
   ================================================================ */

/* Encabezados de sección */
.heading-title h3,
.heading-title h2 {
    font-size: 2rem;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    font-weight: 700;
}
.heading-title h4 {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

/* Títulos de sección (page-title banner) */
.page-title h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Contenido del artículo (view) */
.blog-classic .blog-post h3 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin-bottom: 10px;
}
.blog-classic .blog-post h5 {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.blog-classic .blog-post p {
    font-size: 1.1rem;
    line-height: 1.6;
}
.blog-classic blockquote p {
    font-size: 1.1rem;
    font-style: italic;
}

/* Sidebar widget */
.widget h6 {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}
.widget-latest-post a {
    font-size: 0.95rem;
    line-height: 1.4;
}
.widget-tags a {
    font-size: 0.9rem;
    padding: 5px 12px;
    margin: 3px;
    display: inline-block;
    border: 1px solid #ddd;
    color: #5a5050;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}
.widget-tags a:hover {
    background: #C22E1C;
    color: #fff;
    border-color: #C22E1C;
}

/* Post cards en home (novedades / archivos) - ya manejadas con home-card,
   pero se refuerzan los estilos heredados del tema */
.post-single .post-desk h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 8px;
}
.post-list .post-single .post-desk .date,
.post-list-aside .post-single .post-desk .date {
    font-size: 0.82rem;
    letter-spacing: 1.2px;
}

/* Texto corrido en secciones públicas */
.body-content p {
    font-size: 1.05rem;
    line-height: 1.55;
}

/* Comunicados y acciones */
.page-content h4 {
    font-size: 1.3rem;
}

/* Paginación */
.pagination > li > a,
.pagination > li > span {
    font-size: 1rem;
}

@media (max-width: 767px) {
    .heading-title h3 { font-size: 1.5rem; }
    .blog-classic .blog-post h3 { font-size: 1.5rem; }
}

@media (max-width: 359px){
    .col-xs-8, .col-xs-4{width: 100% !important;padding: 0 !important;}
}
@media (min-width: 360px) and (max-width: 768px) {
}

@media (max-width: 639px) {
}
@media (max-width: 639px) and (max-height: 360px){
}
@media (min-width: 640px) and (max-width: 700px) {
}
@media (min-width: 701px) and (max-width: 767px) {
}
@media (min-width: 1023px) and (max-width: 1366px) {
}
/*TABLETS*/
@media (min-width: 768px) and (max-width: 1023px) {
}
/*FULL-HD*/
@media (min-width: 1490px){

}
@media (max-width: 767px) {
    .navbar-nav {
        /*background-color: #e7e7e7;*/
        margin: 0px;
    }

}

/* ================================================================
   FIXES: SOMBRA EN INICIO + IDIOMAS + COLORES LOGO
   ================================================================ */

/* Quitar la sombra del navbar sticky que aparece sobre la sección inicio */
.l-navbar-wrapper_has-sticky .l-navbar,
.l-navbar_s-left,
.l-navbar.sticky,
.l-navbar.js-navbar-sticky {
    box-shadow: none !important;
}

/* Separador hr con colores del logo */
.heading-title hr.separator { border-color: #C22E1C; }

/* Redes sociales en navbar */
.menuzord-menu > li.nav-social-item { padding: 0 2px; }
.menuzord-menu > li.nav-social-item > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0 !important;
    font-size: 14px;
    color: #5C4A3A !important;
    border-radius: 2px;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}
.menuzord-menu > li.nav-social-item > a:hover {
    color: #C22E1C !important;
    background: rgba(194, 46, 28, 0.08);
}

/* Selector de idioma en navbar */
.menuzord-menu > li.nav-lang-item { overflow: visible !important; padding: 0 4px; }
.menuzord-menu > li.nav-lang-item > div { padding: 0; display: flex; align-items: center; }
.nav-lang-wrap { display: flex; align-items: center; }
.nav-lang-wrap .gtranslate_wrapper { display: inline-block !important; line-height: 1; }
/* Asegurar visibilidad de las banderas */
.gtranslate_wrapper img { display: inline-block !important; max-width: none !important; width: auto !important; }
.gtranslate_wrapper * { overflow: visible !important; }

/* Colores de paginación activa con paleta del logo */
.novedades-pagination .pagination > li.active > a,
.archivos-pagination .pagination > li.active > a {
    background-color: #C22E1C !important;
    border-color: #C22E1C !important;
}

/* Redes sociales del footer */
.redes { color: #F5EDE0; }
.redes:hover { color: #C8841C; }

/* ================================================================
   NAV EXTRA (social icons + language selector in navbar)
   ================================================================ */
.nav-extra { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; float: right; margin-top: 0; height: 100%; padding: 0 6px; }
.nav-extra-social { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-size: 14px; color: #5C4A3A; border-radius: 2px; text-decoration: none; transition: color 0.2s, background 0.2s; line-height: 1; }
.nav-extra-social:hover { color: #C22E1C; background: rgba(194, 46, 28, 0.08); }
.nav-extra-lang { display: inline-flex; align-items: center; margin-left: 6px; }
.nav-extra-lang .gtranslate_wrapper { display: inline-block !important; }

/* ================================================================
   PORTADA / BANNER / CAROUSEL
   ================================================================ */
.portada-banner { position: relative; background-size: cover; background-position: center center; background-repeat: no-repeat; height: 91vh; min-height: 360px; max-height: 720px; }
.portada-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18,12,8,0.5); display: flex; align-items: center; }
.portada-content { text-align: left; padding: 20px 0; }
.portada-titulo { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.75); font-size: 2rem; line-height: 1.2; margin-bottom: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.portada-volanta { color: #ede8e4; text-shadow: 0 1px 6px rgba(0,0,0,0.6); font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; max-width: 740px; }
.portada-cta { display: inline-block; padding: 9px 26px; border: 1px solid rgba(255,255,255,0.75); color: #fff; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.78rem; transition: background 0.3s; background: rgba(255,255,255,0.1); text-decoration: none; }
.portada-cta:hover, .portada-cta:focus { background: rgba(255,255,255,0.28); color: #fff; text-decoration: none; }

#portada-carousel .item { background-size: cover; background-position: center center; background-repeat: no-repeat; height: 62vh; min-height: 360px; max-height: 720px; position: relative; }
#portada-carousel .portada-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18,12,8,0.5); display: flex; align-items: center; }
#portada-carousel .carousel-control { background-image: none; width: 6%; opacity: 0.7; }
#portada-carousel .carousel-control:hover { opacity: 1; }
#portada-carousel .carousel-indicators li { border-color: rgba(255,255,255,0.65); }
#portada-carousel .carousel-indicators .active { background-color: #fff; }

@media (min-width: 992px) {
    .portada-titulo { font-size: 2.8rem; }
    .portada-volanta { font-size: 1.15rem; }
}
@media (max-width: 767px) {
    .portada-banner, #portada-carousel .item { height: 55vh; min-height: 300px; }
    .portada-titulo { font-size: 1.3rem; letter-spacing: 0.02em; }
    .portada-volanta { font-size: 0.9rem; margin-bottom: 16px; }
    #portada-carousel .carousel-control { width: 10%; }
}

/* ================================================================
   SLIDER PRINCIPAL (Ken Burns)
   ================================================================ */
.slider { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.slide { position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.slide::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(18,12,8,0.5); z-index: 1; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 110%; height: 110%; object-fit: cover; animation: kenburns 8s ease-in-out infinite alternate; }
.caption { position: absolute; bottom: 35%; left: 10%; right: 10%; color: white; z-index: 2; }
.caption h1 { font-size: 3rem; margin: 0; }
.caption p { font-size: 1.2rem; }
@media (max-width: 767px) {
    .caption { bottom: 20%; left: 5%; right: 5%; }
    .caption h1 { font-size: 1.4rem; line-height: 1.25; }
    .caption p { font-size: 0.95rem; margin-top: 8px; }
}
@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(-5%, -5%); }
}

/* ================================================================
   TARJETAS HOME (novedades / archivos)
   ================================================================ */
.home-section { background: #fff; }
.home-section.alt { background: #F0E8D8; }
.home-cards-row { margin-top: 10px; }
.home-card { background: #fff; border: 1px solid #E0D5C4; border-radius: 3px; margin-bottom: 28px; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; height: calc(100% - 28px); display: flex; flex-direction: column; }
.home-section.alt .home-card { background: #fff; }
.home-card:hover { box-shadow: 0 6px 22px rgba(194,46,28,0.12); transform: translateY(-3px); }
.home-card-img-wrap { display: block; overflow: hidden; flex-shrink: 0; }
.home-card-img { width: 100%; height: auto; object-fit: cover; display: block; transition: transform 0.4s; }
.home-card:hover .home-card-img { transform: scale(1.04); }
.home-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.home-card-fecha { font-size: 0.78rem; color: #a09590; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.home-card-titulo { font-size: 1.2rem; font-weight: 700; line-height: 1.35; color: #2a2320; margin: 0 0 14px; flex: 1; }
.home-card-titulo a { color: inherit; text-decoration: none; transition: color 0.25s; }
.home-card-titulo a:hover { color: #C22E1C; }
.home-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: #5C4A3A; font-weight: 600; text-decoration: none; transition: color 0.25s, gap 0.25s; margin-top: auto; }
.home-card-link:hover { color: #C22E1C; gap: 10px; text-decoration: none; }
.home-ver-mas { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: #C22E1C; font-weight: 600; text-decoration: none; border-bottom: 1px solid #C22E1C; padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; }
.home-ver-mas:hover { color: #8B1808; border-color: #8B1808; text-decoration: none; }
.home-section-footer { padding: 10px 0 30px; text-align: right; }

/* ================================================================
   SECCIÓN EQUIPO
   ================================================================ */
.eq-section { background: #F5EDE0; }
.eq-group-label { text-align: center; position: relative; margin: 48px 0 30px; }
.eq-group-label::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #D4B896; z-index: 0; }
.eq-group-label span { display: inline-block; position: relative; background: #F5EDE0; padding: 0 20px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2.8px; color: #8B6A4A; font-weight: 600; z-index: 1; }
.eq-grid { display: flex; flex-wrap: wrap; }
.eq-grid > [class*="col-"] { display: flex; flex-direction: column; }
.eq-card { background: #fff; border: 1px solid #e8e3df; border-radius: 4px; padding: 26px 18px 22px; text-align: center; flex: 1; margin-bottom: 22px; transition: box-shadow 0.25s, transform 0.25s; }
.eq-card:hover { box-shadow: 0 5px 20px rgba(42,35,32,0.09); transform: translateY(-2px); }
.eq-card-director { border-color: #C22E1C; border-width: 2px; }
.eq-avatar { width: 52px; height: 52px; border-radius: 50%; background: #8B5C3A; color: #fff; font-size: 0.95rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; letter-spacing: 0.05em; flex-shrink: 0; }
.eq-avatar-director { width: 70px; height: 70px; background: #C22E1C; font-size: 1.25rem; margin-bottom: 16px; }
.eq-avatar-warpe { background: #7A3C18; }
.eq-avatar-externo { background: #3A5868; }
.eq-nombre { font-size: 1.12rem; font-weight: 700; color: #2a2320; margin: 0 0 5px; line-height: 1.3; }
.eq-rol { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.3px; color: #a09590; margin-bottom: 10px; }
.eq-afiliacion { font-size: 0.97rem; color: #5a5050; line-height: 1.65; margin: 0; }
.eq-avatar-foto { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 14px; border: 2px solid #e8e3df; flex-shrink: 0; }
@media (max-width: 767px) {
    .eq-group-label { margin: 34px 0 20px; }
    .eq-card { padding: 20px 14px 18px; }
    .eq-nombre { font-size: 1rem; }
    .eq-afiliacion { font-size: 0.9rem; }
}

/* ================================================================
   TEXTO INICIO (home editable)
   ================================================================ */
#div_texto_inicio { font-size: 1.05rem; line-height: 1.85; padding: 10px; }
@media (min-width: 768px) { #div_texto_inicio { font-size: 1.2rem; padding: 10px 20px; } }
@media (min-width: 992px) { #div_texto_inicio { font-size: 1.35rem; padding: 10px 0; } }

/* ================================================================
   LISTADO ARCHIVOS (búsqueda + tarjetas)
   ================================================================ */
.listado-search-wrap { background: #F5EDE0; border-bottom: 1px solid #D4B896; padding: 22px 0; }
.listado-search-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.listado-search-form .search-input { flex: 1; min-width: 220px; max-width: 480px; height: 44px; border: 1px solid #ccc8c4; border-radius: 3px; padding: 0 16px; font-size: 1rem; font-family: "EB Garamond", serif; color: #3a3230; background: #fff; outline: none; transition: border-color 0.2s; }
.listado-search-form .search-input:focus { border-color: #2a2320; }
.listado-search-form .btn-buscar { height: 44px; padding: 0 22px; background: #C22E1C; color: #fff; border: none; border-radius: 3px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; font-family: "EB Garamond", serif; transition: background 0.25s; }
.listado-search-form .btn-buscar:hover { background: #8B1808; }
.listado-search-form .btn-limpiar { font-size: 0.85rem; color: #9a8f8a; text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.listado-search-form .btn-limpiar:hover { color: #2a2320; text-decoration: none; }
.search-result-info { font-size: 0.9rem; color: #9a8f8a; margin-top: 8px; }
.search-result-info strong { color: #2a2320; }

.archivos-listado { padding: 50px 0 60px; }
.archivo-card { display: flex; padding: 38px 0; border-bottom: 1px solid #e8e3df; transition: background 0.2s; }
.archivo-card:last-child { border-bottom: none; }
.archivo-card:hover { background: #faf8f6; }
.archivo-card-img { flex: 0 0 260px; width: 260px; max-width: 260px; margin-right: 38px; overflow: hidden; background: #ede7e1; align-self: flex-start; }
.archivo-card-img img { width: 100%; height: auto; object-fit: cover; display: block; transition: transform 0.35s; }
.archivo-card:hover .archivo-card-img img { transform: scale(1.03); }
.archivo-sin-img { width: 100%; height: 190px; display: flex; align-items: center; justify-content: center; background: #ede7e1; color: #b9abac; font-size: 2.8rem; }
.archivo-card-body { flex: 1; display: flex; flex-direction: column; padding-right: 10px; }
.archivo-badge { display: inline-block; background: #C22E1C; color: #fff; font-size: 0.68rem; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; align-self: flex-start; }
.archivo-fecha { font-size: 0.82rem; color: #9a8f8a; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.archivo-titulo { font-size: 1.55rem; font-weight: 700; line-height: 1.3; margin: 0 0 14px; color: #2a2320; }
.archivo-titulo a { color: inherit; text-decoration: none; transition: color 0.25s; }
.archivo-titulo a:hover { color: #7a6e6b; }
.archivo-descripcion { font-size: 1.05rem; color: #5a5050; line-height: 1.75; margin-bottom: 20px; flex: 1; }
.archivo-acciones { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: auto; }
.archivo-ver-mas { display: inline-flex; align-items: center; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.8px; color: #2a2320; font-weight: 600; gap: 7px; transition: color 0.25s, gap 0.25s; text-decoration: none; }
.archivo-ver-mas:hover { color: #7a6e6b; gap: 12px; text-decoration: none; }
.archivo-empty { padding: 70px 20px; text-align: center; color: #9a8f8a; font-size: 1.1rem; }
li.categ_active{background: #c88419 !important;}
li.categ_active:focus{background: #c88419 !important;}
li.categ_active a{
    color: #fff!important;
}
@media (max-width: 767px) {
    .archivo-card { flex-direction: column; padding: 26px 0; }
    .archivo-card-img { flex: none; width: 100%; max-width: 100%; margin-right: 0; margin-bottom: 18px; }
    .archivo-card-img img, .archivo-sin-img { height: 210px; }
    .archivo-titulo { font-size: 1.3rem; }
    .archivo-descripcion { font-size: 1rem; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .archivo-card-img { flex: 0 0 210px; width: 210px; max-width: 210px; }
}

/* ================================================================
   FILTROS DE CATEGORÍA (listado)
   ================================================================ */
.cat-filter-bar { background: #F5EDE0; border-bottom: 1px solid #D4B896; padding: 10px 0; }
.cat-filter-list { margin: 0; flex-wrap: wrap; display: flex; gap: 6px; }
.cat-filter-list > li > a { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; }

/* ================================================================
   ARCHIVO — vista detalle (botones descarga / embeds)
   ================================================================ */
.archivo-descargar { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; background: #C22E1C; padding: 7px 18px; border-radius: 2px; text-decoration: none; transition: background 0.25s; }
.archivo-descargar:hover { background: #8B1808; color: #fff; text-decoration: none; }
.archivo-doc-item { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.2px; color: #5C4A3A; background: #F0E8D8; padding: 7px 18px; border-radius: 2px; text-decoration: none; transition: background 0.25s; margin: 4px 6px 4px 0; border: 1px solid #D4B896; }
.archivo-doc-item:hover { background: #e0d0b8; color: #3a2a1a; text-decoration: none; }
.archivo-embeds { margin-top: 28px; }
.archivo-embed-item { margin-bottom: 20px; }

/* ================================================================
   AUDIO TOGGLE (web.ctp)
   ================================================================ */
#btn-audio-toggle { position: fixed; bottom: 28px; left: 28px; z-index: 9999; width: 46px; height: 46px; border-radius: 50%; background: rgba(92,74,58,0.88); border: none; color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,0,0,0.25); transition: background 0.25s; }
#btn-audio-toggle:hover { background: #C22E1C; }

/* ================================================================
   NOVEDADES LISTADO (tarjetas)
   ================================================================ */
.novedades-listado { padding: 50px 0 60px; }
.novedad-card { display: flex; gap: 0; padding: 38px 0; border-bottom: 1px solid #e8e3df; transition: background 0.2s; }
.novedad-card:last-child { border-bottom: none; }
.novedad-card:hover { background: #faf8f6; }
.novedad-card-img { flex: 0 0 290px; width: 290px; max-width: 290px; margin-right: 38px; overflow: hidden; background: #ede7e1; align-self: flex-start; }
.novedad-card-img img { width: 100%; height: auto; object-fit: cover; display: block; transition: transform 0.35s; }
.novedad-card:hover .novedad-card-img img { transform: scale(1.03); }
.novedad-card-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-right: 10px; }
.novedad-fecha { font-size: 0.82rem; color: #9a8f8a; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.novedad-titulo { font-size: 1.55rem; font-weight: 700; line-height: 1.3; margin: 0 0 14px; color: #2a2320; }
.novedad-titulo a { color: inherit; text-decoration: none; transition: color 0.25s; }
.novedad-titulo a:hover { color: #7a6e6b; }
.novedad-bajada { font-size: 1.05rem; color: #5a5050; line-height: 1.75; margin-bottom: 18px; flex: 1; }
.novedad-tags { margin-bottom: 16px; }
.novedad-tags .tag { display: inline-block; background: #f0ebe7; color: #7a6e6b; font-size: 0.75rem; padding: 3px 10px; border-radius: 2px; margin-right: 5px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.8px; text-decoration: none; transition: background 0.2s; }
.novedad-tags .tag:hover { background: #ddd5cf; color: #2a2320; text-decoration: none; }
.novedad-leer-mas { display: inline-flex; align-items: center; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.8px; color: #2a2320; font-weight: 600; gap: 7px; transition: color 0.25s, gap 0.25s; text-decoration: none; margin-top: auto; }
.novedad-leer-mas:hover { color: #7a6e6b; gap: 12px; text-decoration: none; }
.novedades-pagination { padding: 36px 0 0; }
.novedades-pagination .pagination > li > a, .novedades-pagination .pagination > li > span { color: #5a5050; border-color: #ddd; font-size: 1rem; padding: 7px 14px; }
.novedad-empty { padding: 70px 20px; text-align: center; color: #9a8f8a; font-size: 1.1rem; }
@media (max-width: 767px) {
    .novedad-card { flex-direction: column; padding: 26px 0; }
    .novedad-card-img { flex: none; width: 100%; max-width: 100%; margin-right: 0; margin-bottom: 18px; }
    .novedad-card-img img { height: 220px; }
    .novedad-titulo { font-size: 1.3rem; }
    .novedad-bajada { font-size: 1rem; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .novedad-card-img { flex: 0 0 230px; width: 230px; max-width: 230px; }
}

/* ================================================================
   INTERNA LAYOUT — TIPOGRAFÍA + LEGACY COMPONENTES
   ================================================================ */
h1 { font-weight: 300; font-size: 35px; }
.fullwidth-slider .item { height: 290px; position: relative; width: 100%; }
#intro .owl-wrapper-outer { height: 400px !important; }
.content-caption { padding-top: 10%; vertical-align: inherit !important; }
.content-caption { padding: 3% 0 1% 0 !important; color: #f3ebeb; background-image: linear-gradient(to right, #e8791f 0%, #e8791f 100%); }
p { text-align: justify !important; }
@media (min-width: 360px) and (max-width: 768px) { #logo { float: left; margin: -4% 0 0 4%; width: 90%; } }

/* ================================================================
   SITIOS / BLOG POSTS
   ================================================================ */
.blog-post { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 2px solid #e8791f; }
.blog-post .post-meta { margin: 10px 0; padding: 0; }
.blog-post h3.post-title { margin-top: 20px; margin-bottom: 0; font-weight: 400; color: #2c3e50; }

/* ================================================================
   STAFFS — modal de CV
   ================================================================ */
.modal-dialog { width: 95%; }
.modal-content { background-color: #f6f6f6; }
.modal-body { padding: 15px; padding-bottom: 0; }
.staff-cv span, .staff-cv h4 { color: #000; font-size: 16px !important; font-family: 'Lato' !important; line-height: 1.4 !important; font-weight: 300; }

/* ================================================================
   TRACKS / SMART FORMS
   ================================================================ */
.smart-forms .smart-option { background: none; }