/* ========================================
   ESTILOS - MÓDULO NOTICIAS GAMC
   ======================================== */

:root {
    --gamc-blue: #1a365d;
    --gamc-gold: #d69e2e;
    --gamc-blue-light: #2c5282;
    --gamc-blue-dark: #0f2540;
    --gamc-gray: #718096;
    --gamc-gray-light: #e2e8f0;
    --gamc-white: #ffffff;
    --gamc-text: #2d3748;
    --gamc-text-light: #4a5568;
    --gamc-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gamc-shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
    --gamc-transition: all 0.3s ease;
}

/* Prevenir scroll automático al interactuar con selects */
html, body {
    scroll-behavior: auto !important;
}

*:focus {
    outline: none !important;
}

/* ========================================
   BANNER PRINCIPAL
   ======================================== */
.noticias-banner {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gamc-blue) 0%, var(--gamc-blue-light) 100%);
}

.noticias-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(214, 158, 46, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(237, 137, 54, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.noticias-banner__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.noticias-banner__image.loaded {
    opacity: 0.4;
}

.noticias-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(26, 54, 93, 0.7) 0%, 
        rgba(26, 54, 93, 0.5) 40%,
        rgba(26, 54, 93, 0.7) 100%
    );
    z-index: 2;
}

.noticias-banner__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
    animation: noticiasFadeInUp 1s ease;
    max-width: 900px;
}

@keyframes noticiasFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.noticias-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gamc-gold);
}

.noticias-banner__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gamc-gold);
    border-radius: 50%;
    animation: noticiasPulse 2s infinite;
}

@keyframes noticiasPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.noticias-banner__title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.noticias-banner__title span {
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gamc-gold);
    margin-bottom: 8px;
}

.noticias-banner__subtitle {
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.noticias-banner__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--gamc-transition);
}

.noticias-banner__scroll:hover { color: var(--gamc-gold); }
.noticias-banner__scroll i { font-size: 1.2rem; animation: noticiasBounce 2s infinite; }

@keyframes noticiasBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ========================================
   FILTROS
   ======================================== */
.noticias-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px 30px;
    border-bottom: 3px solid var(--gamc-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

.noticias-filters__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
}

.noticias-filters__group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.noticias-filters__label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gamc-blue);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ocultar select original cuando Tom Select está activo */
.noticias-filters__select.ts-hidden {
    display: none !important;
}

/* Estilos para selects */
.noticias-filters__select {
    width: auto;
    font-size: 1rem;
    border: 1px solid var(--gamc-gray-light);
    border-radius: 6px;
    background-color: var(--gamc-white);
    cursor: pointer;
    min-width: 150px;
}

.noticias-filters__select--seccion {
    min-width: 280px;
}

/* Tom Select - Estilos personalizados */
.ts-wrapper {
    font-size: 1.1rem;
}

.ts-wrapper.single .ts-control {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 40px 10px 15px !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ts-wrapper.single .ts-control:hover {
    border-color: var(--gamc-blue) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ts-wrapper.single .ts-control.ts-focused {
    border-color: var(--gamc-blue) !important;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

.ts-wrapper.single .ts-control::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    color: var(--gamc-gray) !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    position: absolute !important;
    margin-top: 0 !important;
}

.ts-wrapper.single.active .ts-control::after {
    content: '\f077' !important;
}

.ts-dropdown {
    background: #ffffff !important;
    border: 2px solid var(--gamc-blue) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    margin-top: 8px !important;
    padding: 8px 0 !important;
    z-index: 1000 !important;
}

.ts-dropdown .option {
    padding: 12px 18px !important;
    font-size: 1.2rem !important;
    color: #2d3748 !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background: var(--gamc-blue) !important;
    color: #ffffff !important;
}

.ts-dropdown .option.selected {
    background: var(--gamc-gold) !important;
    color: #ffffff !important;
}

.ts-dropdown .create {
    padding: 12px 18px !important;
    color: var(--gamc-blue) !important;
    font-style: italic;
}

.ts-item.ts-selected {
    color: #2d3748 !important;
    font-weight: 500;
}

/* Placeholder */
.ts-wrapper.single .ts-control .item.ts-placeholder {
    color: #718096 !important;
    font-style: italic;
}

/* Ocultar input de búsqueda */
.ts-wrapper .ts-control input {
    display: none !important;
}

/* Botón de cleanup */
.ts-wrapper .ts-control .item {
    background: var(--gamc-gray-light) !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    margin-right: 4px !important;
}

.ts-wrapper .ts-control .item a.remove {
    color: #718096 !important;
    margin-left: 4px !important;
}

.ts-wrapper .ts-control .item a.remove:hover {
    color: #e53e3e !important;
}

.ts-hidden {
    display: none !important;
}

/* Tom Select - una sola caja */
.ts-wrapper.single .ts-control {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    min-height: 48px !important;
}

.ts-wrapper.single .ts-control:focus {
    border-color: var(--gamc-blue) !important;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1) !important;
}

.noticias-filters__select:focus {
    border-color: var(--gamc-blue) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Buscador */
.noticias-filters__search-full {
    display: flex;
    gap: 0;
    background: var(--gamc-white);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--gamc-gray-light);
    transition: all 0.3s ease;
}

.noticias-filters__search-full:focus-within {
    border-color: var(--gamc-blue);
    box-shadow: 0 8px 30px rgba(26, 54, 93, 0.2);
}

.noticias-filters__input-full {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1.3rem;
    background: transparent;
    transition: all 0.3s ease;
}

.noticias-filters__input-full:focus {
    outline: none;
    background: rgba(26, 54, 93, 0.03);
}

.noticias-filters__input-full::placeholder {
    color: var(--gamc-gray);
}

.noticias-filters__btn-full {
    padding: 16px 35px;
    background: linear-gradient(135deg, var(--gamc-blue) 0%, var(--gamc-blue-light) 100%);
    color: var(--gamc-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.noticias-filters__btn-full:hover {
    background: linear-gradient(135deg, var(--gamc-blue-light) 0%, var(--gamc-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
}

.noticias-filters__btn-full:active {
    transform: translateY(0);
}

.noticias-filters__search {
    display: flex;
    align-items: center;
    gap: 0;
}

.noticias-filters__input {
    padding: 12px 18px;
    border: 1px solid var(--gamc-gray-light);
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 1.3rem;
    width: 320px;
    transition: var(--gamc-transition);
}

.noticias-filters__input:focus {
    outline: none;
    border-color: var(--gamc-blue);
}

.noticias-filters__btn {
    padding: 10px 18px;
    background: var(--gamc-blue);
    color: var(--gamc-white);
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: var(--gamc-transition);
}

.noticias-filters__btn:hover {
    background: var(--gamc-blue-light);
}

/* ========================================
   LISTADO DE NOTICIAS (Estilo Vertical)
   ======================================== */
.noticias-list {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.noticias-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tarjeta de noticia estilo vertical */
.noticias-item {
    background: var(--gamc-white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--gamc-shadow);
    transition: var(--gamc-transition);
    width: 100%;
}

.noticias-item:hover {
    box-shadow: var(--gamc-shadow-hover);
    transform: translateY(-3px);
}

/* 1. Imagen */
.noticias-item__image-wrapper {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.noticias-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--gamc-transition);
}

.noticias-item:hover .noticias-item__image {
    transform: scale(1.05);
}

/* 2. Logo centrado debajo de la imagen */
.noticias-item__logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    background: var(--gamc-white);
}

.noticias-item__logo {
    width: 150px;
    height: auto;
}

/* 3. Contenido */
.noticias-item__content {
    width: 100%;
    padding: 25px 40px 0;
    overflow: hidden;
}

/* 4. Título */
.noticias-item__titulo {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gamc-blue);
    margin: 0 0 15px;
    line-height: 1.4;
}

.noticias-item__titulo a {
    color: var(--gamc-blue);
    text-decoration: none;
    transition: var(--gamc-transition);
}

.noticias-item__titulo a:hover {
    color: var(--gamc-gold);
}

/* 5. Sección y Fecha (a la izquierda) */
.noticias-item__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.noticias-item__seccion {
    background: var(--gamc-gold);
    color: var(--gamc-white);
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.noticias-item__fecha {
    font-size: 1.1rem;
    color: var(--gamc-gray);
}

.noticias-item__fecha i {
    margin-right: 5px;
}

/* 6. Línea divisora */
.noticias-item__divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gamc-gold), var(--gamc-blue));
    border-radius: 2px;
    margin-bottom: 18px;
}

/* 7. Resumen amplio */
.noticias-item__extracto {
    font-size: 1.3rem;
    color: var(--gamc-text-light);
    line-height: 1.8;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 8. Leer más */
.noticias-item__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gamc-blue);
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    transition: var(--gamc-transition);
    border-bottom: 2px solid var(--gamc-gold);
    padding-bottom: 3px;
    margin-bottom: 15px;
}

.noticias-item__link:hover {
    color: var(--gamc-gold);
    gap: 12px;
}

/* Estado vacío */
.noticias-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gamc-gray);
    font-size: 1.1rem;
}

/* Loading */
.noticias-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--gamc-primary);
    font-size: 1.1rem;
}

.noticias-loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   PAGINACIÓN
   ======================================== */
.noticias-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--gamc-gray-light);
}

.noticias-pagination__prev,
.noticias-pagination__next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gamc-white);
    color: var(--gamc-blue);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--gamc-transition);
    border: 1px solid var(--gamc-gray-light);
}

.noticias-pagination__prev:hover,
.noticias-pagination__next:hover {
    background: var(--gamc-blue);
    color: var(--gamc-white);
    border-color: var(--gamc-blue);
}

.noticias-pagination__numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.noticias-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gamc-white);
    color: var(--gamc-text);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--gamc-transition);
    border: 1px solid var(--gamc-gray-light);
}

.noticias-pagination__num:hover {
    background: var(--gamc-blue-light);
    color: var(--gamc-white);
    border-color: var(--gamc-blue-light);
}

.noticias-pagination__num.active {
    background: var(--gamc-blue);
    color: var(--gamc-white);
    border-color: var(--gamc-blue);
}

.noticias-pagination__dots {
    padding: 0 5px;
    color: var(--gamc-gray);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .noticias-banner__title { font-size: 3.5rem; }
    .noticias-banner__title span { font-size: 1.4rem; }
    .noticias-banner__subtitle { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .noticias-banner {
        height: 350px;
    }
    
    .noticias-banner__title {
        font-size: 2.5rem;
    }
    
    .noticias-banner__title span {
        font-size: 1.2rem;
    }
    
    .noticias-banner__subtitle {
        font-size: 1rem;
    }

    .noticias-filters__wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .noticias-filters__group {
        flex-direction: column;
        align-items: stretch;
    }

    .noticias-filters__label {
        margin-bottom: 5px;
    }

    .noticias-filters__select {
        width: 100% !important;
        min-width: unset !important;
    }

    .noticias-filters__select--seccion {
        min-width: unset !important;
        width: 100% !important;
    }

    /* Choices responsive */
    .choices {
        width: 100% !important;
    }

    .choices__inner {
        width: 100% !important;
        min-height: 48px !important;
    }

    .noticias-filters__search-full {
        flex-direction: column;
        padding: 15px;
        border-radius: 10px;
    }

    .noticias-filters__input-full {
        width: 100%;
        border-radius: 6px;
        border: 2px solid var(--gamc-gray-light) !important;
        margin-bottom: 10px;
    }

    .noticias-filters__btn-full {
        width: 100%;
        border-radius: 6px;
        justify-content: center;
    }

    .noticias-filters__search {
        width: 100%;
    }

    .noticias-filters__input {
        width: 100%;
    }

    .noticias-item__image-wrapper {
        height: 250px;
    }

    .noticias-item__logo {
        width: 70px;
    }

    .noticias-item__content {
        padding: 20px;
    }

    .noticias-item__titulo {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .noticias-banner__title {
        font-size: 1.8rem;
    }

    .noticias-item__image-wrapper {
        height: 200px;
    }

    .noticias-item__logo {
        width: 55px;
    }

    .noticias-item__titulo {
        font-size: 1.1rem;
    }

    .noticias-item__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ========================================
   VISTA DETALLE DE NOTICIA (SHOW)
   ======================================== */

/* Hero Banner */
.noticia-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--gamc-blue);
}

.noticia-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.noticia-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(26, 54, 93, 0.7) 0%, 
        rgba(26, 54, 93, 0.85) 50%,
        rgba(26, 54, 93, 0.95) 100%
    );
    z-index: 2;
}

.noticia-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.noticia-hero__category {
    display: inline-block;
    background: var(--gamc-gold);
    color: white;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.noticia-hero__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.noticia-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.noticia-hero__meta i {
    color: var(--gamc-gold);
    margin-right: 8px;
}

/* Contenido Principal */
.noticia-main {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.noticia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.noticia-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* Artículo Principal */
.noticia-article {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.noticia-article__content {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--gamc-text);
    margin-bottom: 40px;
}

.noticia-article__content p {
    margin-bottom: 25px;
}

.noticia-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.noticia-article__share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid var(--gamc-gray-light);
    border-bottom: 1px solid var(--gamc-gray-light);
    margin-bottom: 30px;
}

.noticia-article__share span {
    font-weight: 600;
    color: var(--gamc-blue);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.noticia-share--facebook {
    background: #3b5998;
}

.noticia-share--twitter {
    background: #1da1f2;
}

.noticia-share--whatsapp {
    background: #25d366;
}

.noticia-share__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.noticia-back__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gamc-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid var(--gamc-blue);
    border-radius: 8px;
}

.noticia-back__link:hover {
    background: var(--gamc-blue);
    color: white;
}

.noticia-back__link i {
    transition: transform 0.3s ease;
}

.noticia-back__link:hover i {
    transform: translateX(-5px);
}

/* Sidebar */
.noticia-sidebar {
    position: sticky;
    top: 20px;
}

.noticia-sidebar__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gamc-blue);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gamc-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.noticia-sidebar__item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.noticia-sidebar__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.noticia-sidebar__item a {
    text-decoration: none;
    display: block;
}

.noticia-sidebar__image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.noticia-sidebar__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.noticia-sidebar__item:hover .noticia-sidebar__image img {
    transform: scale(1.1);
}

.noticia-sidebar__item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gamc-blue);
    padding: 15px;
    padding-bottom: 10px;
    line-height: 1.4;
    margin: 0;
}

.noticia-sidebar__date {
    display: block;
    padding: 0 15px 15px;
    font-size: 0.85rem;
    color: var(--gamc-gray);
}

/* Responsive Vista Detalle */
@media (max-width: 1024px) {
    .noticia-layout {
        grid-template-columns: 1fr;
    }
    
    .noticia-sidebar {
        position: static;
    }
    
    .noticia-hero__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .noticia-hero {
        height: 400px;
    }
    
    .noticia-hero__content {
        padding: 30px 20px;
    }
    
    .noticia-hero__title {
        font-size: 1.6rem;
    }
    
    .noticia-article {
        padding: 30px 20px;
    }
    
    .noticia-article__content {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .noticia-hero {
        height: 300px;
    }
    
    .noticia-hero__title {
        font-size: 1.3rem;
    }
    
    .noticia-article__share {
        flex-wrap: wrap;
    }
}

/* ========================================
   VISTA DETALLE PROFESIONAL (SHOW PRO)
   ======================================== */

/* Hero Professional */
.noticia-hero-pro {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.noticia-hero-pro__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.noticia-hero-pro__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.noticia-hero-pro:hover .noticia-hero-pro__image {
    transform: scale(1.05);
}

.noticia-hero-pro__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.noticia-hero-pro__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    z-index: 10;
}

.noticia-hero-pro__category {
    display: inline-block;
    background: var(--gamc-gold);
    color: white;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

.noticia-hero-pro__title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    max-width: 900px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.noticia-hero-pro__meta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.noticia-hero-pro__date,
.noticia-hero-pro__read-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.noticia-hero-pro__date i,
.noticia-hero-pro__read-time i {
    color: var(--gamc-gold);
}

.noticia-hero-pro__decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(to left, rgba(214, 158, 46, 0.1), transparent);
    pointer-events: none;
}

/* Main Content */
.noticia-main-pro {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.noticia-container-pro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.noticia-layout-pro {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

/* Article Professional */
.noticia-article-pro {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.noticia-article-pro__content {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--gamc-text);
    margin-bottom: 40px;
    text-align: justify;
    white-space: pre-line;
}

.noticia-article-pro__content p {
    margin-bottom: 24px;
}

.noticia-article-pro__content p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 15px;
    margin-top: 5px;
    color: var(--gamc-blue);
}

.noticia-article-pro__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 35px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Tags */
.noticia-article-pro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px 0;
    border-top: 1px solid var(--gamc-gray-light);
    border-bottom: 1px solid var(--gamc-gray-light);
    margin-bottom: 30px;
}

.noticia-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 54, 93, 0.08);
    color: var(--gamc-blue);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 500;
}

.noticia-tag i {
    font-size: 0.75rem;
    color: var(--gamc-gold);
}

/* Share */
.noticia-article-pro__share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px 0;
    margin-bottom: 20px;
}

.noticia-share-label {
    font-weight: 600;
    color: var(--gamc-blue);
    font-size: 1rem;
}

.noticia-share-buttons {
    display: flex;
    gap: 12px;
}

.noticia-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.noticia-share-btn--facebook {
    background: #1877f2;
}

.noticia-share-btn--twitter {
    background: #1da1f2;
}

.noticia-share-btn--whatsapp {
    background: #25d366;
}

.noticia-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Back Button */
.noticia-article-pro__back {
    margin-top: 20px;
}

.noticia-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--gamc-blue) 0%, var(--gamc-blue-light) 100%);
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.35);
}

.noticia-back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.45);
    color: white;
}

.noticia-back-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.noticia-back-btn:hover i {
    transform: translateX(-8px);
}

/* Sidebar Professional */
.noticia-sidebar-pro {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.noticia-sidebar-pro__card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.noticia-sidebar-pro__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gamc-blue);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gamc-gold);
}

.noticia-sidebar-pro__title i {
    color: var(--gamc-gold);
}

.noticia-sidebar-pro__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.noticia-sidebar-pro__item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.noticia-sidebar-pro__item:hover {
    background: var(--gamc-blue);
    transform: translateX(5px);
}

.noticia-sidebar-pro__item:hover .noticia-sidebar-pro__item-title {
    color: white;
}

.noticia-sidebar-pro__item:hover .noticia-sidebar-pro__date {
    color: rgba(255, 255, 255, 0.8);
}

.noticia-sidebar-pro__image {
    position: relative;
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.noticia-sidebar-pro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-sidebar-pro__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.noticia-sidebar-pro__item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gamc-blue);
    margin-bottom: 4px;
    line-height: 1.4;
    transition: color 0.3s;
}

.noticia-sidebar-pro__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--gamc-gray);
    transition: color 0.3s;
}

.noticia-sidebar-pro__date i {
    color: var(--gamc-gold);
    font-size: 0.7rem;
}

/* Widget */
.noticia-sidebar-pro__widget {
    background: linear-gradient(135deg, var(--gamc-blue) 0%, var(--gamc-blue-light) 100%);
    border-radius: 16px;
    padding: 30px;
    color: white;
}

.noticia-sidebar-pro__widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.noticia-sidebar-pro__widget-text {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.noticia-sidebar-pro__widget-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gamc-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.noticia-sidebar-pro__widget-btn:hover {
    gap: 12px;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .noticia-layout-pro {
        grid-template-columns: 1fr;
    }
    
    .noticia-hero-pro__title {
        font-size: 2.2rem;
    }
    
    .noticia-article-pro {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .noticia-hero-pro {
        height: 400px;
    }
    
    .noticia-hero-pro__content {
        padding: 30px 20px;
    }
    
    .noticia-hero-pro__title {
        font-size: 1.6rem;
    }
    
    .noticia-hero-pro__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .noticia-article-pro {
        padding: 20px;
        border-radius: 12px;
    }
    
    .noticia-article-pro__content {
        font-size: 1.1rem;
    }
    
    .noticia-article-pro__content p:first-of-type::first-letter {
        font-size: 3rem;
    }
    
    .noticia-article-pro__share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .noticia-share-buttons {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .noticia-share-btn {
        flex: 1 1 45%;
        justify-content: center;
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .noticia-back-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .noticia-hero-pro {
        height: 300px;
    }
    
    .noticia-hero-pro__title {
        font-size: 1.3rem;
    }
    
    .noticia-hero-pro__category {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    .noticia-hero-pro__date,
    .noticia-hero-pro__read-time {
        font-size: 0.9rem;
    }
    
    .noticia-article-pro {
        padding: 15px;
        border-radius: 10px;
    }
    
    .noticia-article-pro__content {
        font-size: 1rem;
    }
    
    .noticia-article-pro__content p:first-of-type::first-letter {
        font-size: 2.5rem;
    }
    
    .noticia-article-pro__tags {
        padding: 15px 0;
    }
    
    .noticia-tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .noticia-sidebar-pro__item {
        flex-direction: column;
    }
    
    .noticia-sidebar-pro__image {
        width: 100%;
        height: 120px;
    }
}
