.banner-article{
    margin: 3rem 0;
    text-align: center;
}

.ts-hotnews {
    background: #0669ff !important;
    
}

.t3-footer {
    padding: 0 !important;
}

.t3-footer-black {
    background: #161619;
    color: #ffffff;
    padding: 20px 0;
    line-height: 32px;
    text-align: left;
}

.footer-contact-info p {
    color: #ffffff !important;
    font-size: 13px !important;
}

.t3-copyright ul li a {
    font-size: 13px !important;
    
}

.title-arrow.red h3.module-title > span {
  background: #cf1e18  !important;
}

.title-arrow.red h3.module-title > span:after {
    border-color: #cf1e18  rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) !important;    
}

.nspArts .nspArt h4.nspHeader a:hover {
    color: #ffffff !important;
}

.portadaSlide .vina-camera-slider-content .camera_caption > div h3 {
    font-size: 35px !important;
}

.vina-camera-slider-content .cameraContent {    
    background-color: #00000024;
}

.com-content-article h1 {
    font-size: 20px !important;
}

h2 {
    font-size: 20px !important;
}

.t3-mainbody {
    padding-top: 0px !important;
}

.com-content-article .banner-article img {
    width: 100% !important;
    height: auto;
}

.com-content-article .pagination {    
    padding: 0 0 20px 0 !important;
}

.com-content-article .pagination a.btn {    
    white-space: normal !important;
    text-align: left !important;
}

.com-content-article .pagination a.btn-sm {    
    padding: 0 !important;
}

.com-content-article .item-image img{
    width: 100%;
}

.com-content-article__body p {
    margin-bottom: 25px;
    line-height: 26px;
}

.page-title, .page-header h1 {
    line-height: 1.4 !important;
}

.ts-hotnews {
    margin: 15px 0 !important;
}

.logo {
    text-align: left !important;
}

.header2 .logo a {
    margin-top: 0px !important;
}

.header2 .logo a img{
    width: 120px;
}

.t3-copyright {
    background: #2b436b !important;
    margin-top: 0 !important;
    
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #212121 !important;
    background-color: #ffe14f !important;
}

.ts-hotnews::after {    
    border-color: rgb(8 84 199) #ffffff !important;
}

.somos{
    margin-bottom: 2rem;
}

.somos h3, .menu-footer h3{
color: #ffb100;
font-size: 15px !important;
}

.t3-copyright ul {    
    display: flex !important;
    flex-direction: column !important;
}

.t3-copyright ul li {    
    margin: 0 2px 8px 0 !important;
}

.t3-copyright ul li a:before {
    content: "\f105";
    font-family: 'FontAwesome';
    color: #ffffff;
    font-size: 13px;
    display: inline-block;
    line-height: 18px;
    width: 12px;
    text-align: left;
}

.off-canvas-toggle {
    display: none !important;
}

.ba__newsticker-header {    
    background: #ffe14f;
    color: #1e0f46;
    font-weight: 400;    
}

.ba__newsticker-inner {    
    background: #e6e6ee00 !important;
    color: #ffffff !important;
}

.topSocial ul li a i {    
    color: #ffffff !important;    
}

.ba__newsticker-body > * > *{
    font-weight: 100 !important;
}

.ba__newsticker-buttons {
    background: #55556400;
}

.t3-hotnews .col-lg-11{
    display: flex;
}

.t3-hotnews .col-lg-11 {
        width: 88.6%;
        padding-right: 0;
    }

.t3-hotnews .col-lg-1 {
        width: 11.33333333%;
    }

.modulo-fecha-personalizado p {
    color: #fff;
    padding: 1rem;
    line-height: 23px;
    margin-bottom: 0;
}

.navbar-toggle {
    
    float: left !important;
    
}

.lupasearchcam {
    display: none;
    position: absolute;
    pointer-events: none;
    color: #f2f2f2;
    font-size: 18px;
    top: 18px;
    left: 18px;
}


.head-search .lupasearchcam {
    display: block;
    
}


.t3-hotnews #Mod217{
    flex-shrink: 0;
}

.t3-hotnews .ticker-module{
    flex: 1 0 100px;
}

.t3-hotnews .ba__newsticker-body .title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 10px);
    width: auto;
    word-wrap: normal;    
    position: absolute;
}

.ba__newsticker-body .ba__blink:not(:empty):after {
    display: none !important;
}

.gtranslate_wrapper .gt_switcher_wrapper{
    position: fixed;    
    left: unset !important;
    right: 8%;
    z-index: 999999;
}

.gtranslate_wrapper .gt_switcher_wrapper .gt_selected{
    padding: 15px;
}

.gtranslate_wrapper .gt_switcher {
    border-radius: 8px 8px 0 0 !important;    
}

.gtranslate_wrapper .gt_switcher .gt_selected {
    background: #000000 linear-gradient(180deg, #1E1E1E 0%, #1E1E1E 70%) !important;    
}

.gtranslate_wrapper .gt_switcher .gt_selected a {
    border: 0 !important;
    color: #aaaaaa !important;    
}

.gtranslate_wrapper .gt_switcher .gt_selected a:hover {
    background-color: #1E1E1E !important;    
}

.gtranslate_wrapper .gt_switcher .gt_option {    
    background-color: #1E1E1E !important;    
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    padding: 15px !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

.gtranslate_wrapper .gt_switcher .gt_option a {
    color: #aaaaaa !important;
    padding-bottom: 10px !important;
}

.gtranslate_wrapper .gt_switcher .gt_option a:hover {
    background-color: #1E1E1E !important; 
}

.portadaSlide .vina-camera-slider-content .camera_caption > div h3 {
    line-height: 1.4 !important;    
}


.navbar-default .navbar-toggle {
    border-color: #dddddd;
    color: #dddddd !important;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: transparent !important;
}



/* Lista de artículos */
#search-result-list .articles-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#search-result-list .article-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

#search-result-list .article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* Estructura horizontal del artículo */
#search-result-list .article-card-horizontal {
    display: grid;
    grid-template-columns: 390px 1fr;
    grid-template-areas: "image text";
    min-height: 220px;
    position: relative;
}

#search-result-list .article-card-horizontal .article-image {
    grid-area: image; /* Asignamos la imagen al área 'image' */
}

#search-result-list .article-card-horizontal .article-text {
    grid-area: text; /* Asignamos el texto al área 'text' */
}

/* Badge de categoría */
#search-result-list .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

#search-result-list .category-name {
    background: #2c3b5c;
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(44, 59, 92, 0.3);
    transition: all 0.3s ease;
}

#search-result-list .category-badge.special .category-name {
    background: linear-gradient(135deg, #26b7de, #cf9858);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(38, 183, 222, 0.3);
    }
    50% {
        box-shadow: 0 4px 15px rgba(38, 183, 222, 0.6);
    }
}

/* Imagen del artículo */
.article-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #edc9a5, #dca09d);
    max-height: 265px;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(1.05);
}

.article-item:hover .thumbnail {
    transform: scale(1.05);
    filter: brightness(1.15);
}

/* Contenido del artículo */
.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: relative;
}

/* Metadatos */
.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0px;
    font-size: 12px;
    color: #93979d;
    justify-content: left;
    padding-left: 0;
}

.article-meta li{
    list-style: none;
}

.author {
    color: #2c3b5c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.author::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #26b7de;
    transition: width 0.3s ease;
}

.author:hover {
    color: #26b7de;
}

.author:hover::after {
    width: 100%;
}

.date {
    position: relative;
    font-weight: 500;
}

.date::before {
    content: '•';
    margin: 0 6px;
    color: #cbd1d4;
}

.comments {
    color: #ad9418;
    font-weight: 600;
    background: rgb(222 135 38 / 10%);
    padding: 2px 6px;
    border-radius: 8px;
    position: relative;
}

.comments::before {
    content: '🔥';
    margin-right: 4px;
}

/* Título del artículo */
.article-webcam-search .article-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 5px 0;
}

.title-link {
    color: #2c3b5c;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.title-link:hover {
    color: #26b7de;
}

/* Extracto */
.article-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* Enlace leer más */
.read-more {
    color: #26b7de;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #cf9858;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
    font-weight: bold;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Paginación */
.pagination {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
}

.pagination-link {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #26b7de, #2c3b5c);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(38, 183, 222, 0.3);
}

.pagination-link:hover {
    background: linear-gradient(135deg, #cf9858, #c04d57);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207, 152, 88, 0.4);
}

/* Efectos adicionales */
.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #26b7de, #cf9858);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-item:hover::before {
    opacity: 1;
}


/* Categories Block */
.categories-block {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

/* Categories Title */
.categories-title {
    font-size: 16px;
    font-weight: 600;
    color: #313b52;
    background-color: #f8f9fa;
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
    text-transform: none;
}

/* Categories List */
.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    
   
}

.categoria-derecha .category-item {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    height: 90px;
    flex-basis: 100%;
    position: relative;
    border-radius: 5px;
}

.categoria-derecha .category-item:last-child {
    border-bottom: none;
}

.categoria-derecha .category-item:after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    transition: opacity 0.2s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
}

.categoria-derecha .category-item:hover:after {
    opacity: 0.7;
}

/* Category Links */
.categoria-derecha .category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #313b52;
    transition: all 0.2s ease;
    font-size: 14px;
    height: 100%;
    flex-grow: 1;
    z-index: 1;
}

/* Category Name */
.categoria-derecha .category-nombre {
    font-weight: bold;
    flex: 1;
    color: #ffffff;
    font-size: 16px;
}

/* Category Count */
.categoria-derecha .category-count {
    background-color: #f1f1f1;
    color: #666;
    border-radius: 100%;
    font-size: 12px;
    font-weight: 500;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    transition: all 0.2s ease;
}

.categoria-derecha .category-link:hover .category-count {
    background-color: #0669ff;
    color: white;
}


.btnsearchcam {
    vertical-align: top;
    margin-top: 0 !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    margin-left: 15px;
}

.searchcam {
    margin-bottom: 15px !important;
}

.t3-megamenu .nav .fas, .t3-mainnav .t3-navbar-collapse .navbar-nav li > a .fas {
    margin-right: 5px;
}

.ts-topbar {
    border-bottom: 0 !important;
}

@media (min-width: 320px) and (max-width: 478px) {
    .header2 #t3-header .logo a {
        margin: 0px 0 0 !important;
        display: flex;
        justify-content: center;
    }

    .topSocial {
    float: left !important;
}

    #t3-header .logo-image img {
        width: 90px !important;        
    }

    .tab-news .nspArts .nspArt h4.nspHeader a, .nspBg .nspArts .nspArt .nspHeader a {
        font-size: 16px !important;
    }

    .chatuSlide .rightNewsBlock .nspArts .nspArt .nspInfo {
    padding: 10px 20px 35px !important;
    }

    .chatuSlide .rightNewsBlock .nspArts .nspArt .nspHeader {
        padding-bottom: 65px !important;
    }

   .portadaSlide .nspCol2 {
    padding: 0 15px 1px 15px !important;
}

.portadaSlide .nspBg.nspFullslide .nspArts .nspArt h4.nspHeader a {        
        max-height: 35px !important;
    }

    .portadaSlide .ts-slideshow .t3-module, .ts-showcase .t3-module {
        margin-bottom: 0 !important;
    }

    #Mod197.tab-news .gkTabsWrap.vertical ol.gkTabsNav li {
        padding: 0 10px 0 3px !important;
    }

}

@media (min-width: 992px) {
    .t3-hotnews  .col-lg-11 {
        width: 85% !important;
    }

    .t3-hotnews .col-lg-1 {
    width: 14.3% !important;
    }

}

@media (max-width: 992px) {

    .t3-hotnews  .col-lg-11 {
        width: 97% !important;
    }

    .t3-hotnews #Mod217 {
    display: none;
}

.t3-hotnews .col-lg-1 {
    display: none;
    }

}

/* Responsive Design */
@media (max-width: 768px) {   

    .vina-camera-slider-content .cameraContent .introtext, .vina-camera-slider-content .cameraContent .datevina{
    display: none !important;
}

    .categoria-derecha .categories-block {
        margin: 0;
    }

    .t3-header {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }

    .portadaSlide .vina-camera-slider-content .camera_caption > div {
    padding: 10px 10px 0px !important;
}

.portadaSlide .vina-camera-slider-content .camera_caption > div h3 {
    font-size: 16px !important;
}

    .ts-topbar {
        padding: 0 !important;
    }

  /* .portadaSlide  .vina-camera-slider-content .camera_wrap img {
        width: 320px !important; 
        height: 280px !important; 
        object-fit: cover; 
        object-position: center;
        max-width: unset !important;
} */

    .chatuSlide .nspArt img.nspImage {
        width: 320px !important; 
        height: 280px !important; 
        object-fit: cover; 
        object-position: center;
  }

  .eventosSlide .nspArt img.nspImage {
        width: 100% !important; 
        height: 280px !important; 
        object-fit: cover; 
        object-position: center;
  }

  .portadaSlide .nspArt img.nspImage {
        width: 360px !important; 
        height: 350px !important; 
        object-fit: cover; 
        object-position: center;
    }

   .tabsPopular .nspArt img.nspImage {
        width: 100% !important; 
        height: 260px !important; 
        object-fit: cover; 
        object-position: center;
    }

   .tabsPopular .nspImageWrapper {
        margin: 0 0 8px 0 !important;        
    }

  .tabsPopular .nspArt {
        margin-bottom: 20px;
    }
    

}

/* Responsive design */
@media (max-width: 1024px) {
    #search-result-list  .article-card-horizontal {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 768px) {    

    #search-result-list .article-card-horizontal {
        display: flex;
        flex-wrap: wrap;
    }

        .dontMiss .nspArt {
        width: 100% !important;
    }

    .t3-footerwrap .col-xs-6{
        width: 100% !important;
    }


    

    .search-section {
        padding: 20px;
    }

    .search-title {
        font-size: 24px;
    }

    
    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 18px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ts-hotnews {
    margin: 15px -15px !important;
}

}

@media (max-width: 480px) {
    .search-bar {
        flex-direction: column;
    }

    .search-button {
        align-self: flex-start;
        width: fit-content;
    }

    .article-card-horizontal {
        grid-template-rows: 180px 1fr;
    }

    .article-content {
        padding: 15px;
    }

    .article-title {
        font-size: 16px;
    }

    .category-badge {
        top: 10px;
        left: 10px;
    }

    .ba__newsticker-buttons-wrap{
        display: none;
    }
}

/* Animaciones de carga */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-item {
    animation: fadeInUp 0.6s ease forwards;
}

.article-item:nth-child(1) { animation-delay: 0.1s; }
.article-item:nth-child(2) { animation-delay: 0.2s; }
.article-item:nth-child(3) { animation-delay: 0.3s; }
.article-item:nth-child(4) { animation-delay: 0.4s; }
.article-item:nth-child(5) { animation-delay: 0.5s; }