/* custom-global.css - Unificación de estilos para Infonorte */

/* 1. Header & Branding */
.pro-ad-container {
    transition: transform 0.3s ease;
    display: inline-block;
}

.pro-ad-container:hover {
    transform: translateY(-4px);
}

.pro-ad-container img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    height: 152px;
    width: auto;
    max-width: 100%;
    display: block;
}

.pro-ad-container:hover img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pro-logo-container img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.pro-logo-container:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* 2. Sliders & Banners */
.slider-post {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.slider-post img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-post:hover img {
    transform: scale(1.08);
}

.slider-post .post-text {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 30px 20px 20px !important;
    border-radius: 0 0 12px 12px;
}

.post-category {
    background: #eb0254 !important;
    border-radius: 4px;
    padding: 4px 10px !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px !important;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: inline-block;
}

.slider-post h2 a,
.slider-post h4 a {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.slider-post:hover h2 a,
.slider-post:hover h4 a {
    opacity: 0.9;
}

.horizontal-banner {
    height: auto;
    width: 100%;
    border-radius: 10px;
    background: transparent;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.horizontal-banner:hover {
    transform: translateY(-5px);
    filter: brightness(1.05);
}

/* Swiper Adjustments */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    color: #000 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #eb0254;
    color: #fff !important;
    transform: scale(1.1);
}

.swiper-pagination-bullet-active {
    background: #eb0254 !important;
}

/* 3. News Listings */
.post-body {
    background: transparent !important;
    padding: 0 !important;
}

.news-list-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.news-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.news-list-item .img-wrapper {
    width: 180px !important;
    height: 120px !important;
    flex-shrink: 0;
    margin-right: 20px !important;
    border-radius: 8px;
    overflow: hidden;
}

.news-list-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-list-item:hover .img-wrapper img {
    transform: scale(1.1);
}

.news-list-item .post-info-2 .title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #111;
    transition: color 0.3s ease;
}

.news-list-item:hover .post-info-2 .title {
    color: #eb0254;
}

.news-list-item .authar-info li {
    font-size: 13px !important;
    color: #888 !important;
    margin-right: 15px !important;
}

.news-list-item .authar-info i {
    color: #eb0254;
    margin-right: 5px;
}

.news-list-item p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #666;
    margin-top: 10px !important;
}

/* Section Headers */
.post-head {
    border-bottom: 2px solid #eef0f4;
    margin-bottom: 30px !important;
    padding-bottom: 12px !important;
    position: relative;
    background: transparent !important;
}

.post-head:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 80px;
    height: 2px;
    background: #eb0254;
}

.post-head .title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #111 !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}

.post-head .title strong {
    color: #eb0254 !important;
    font-weight: 800 !important;
}

/* Category Grid Highlights */
.modern-card-highlight {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-card-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.modern-card-highlight .posts-thumb {
    position: relative;
    margin: 0;
    overflow: hidden;
    height: 250px;
}

.modern-card-highlight .posts-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.modern-card-highlight:hover .posts-thumb img {
    transform: scale(1.1);
}

.modern-card-highlight .posts-inner {
    padding: 25px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.modern-card-highlight .posts-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

.modern-list-item {
    list-style: none;
    background: #fff;
    padding: 10px !important;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modern-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.modern-list-item .thumb-small {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 4px;
}

.modern-list-item .thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-list-item:hover .thumb-small img {
    transform: scale(1.1);
}

.modern-list-item .posts-inner {
    padding: 0 !important;
    flex-grow: 1;
}

.modern-list-item .posts-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease;
}

.modern-list-item:hover .posts-title a {
    color: #eb0254 !important;
}

.modern-list-item .authar-info {
    font-size: 11px !important;
    color: #999 !important;
}

/* 4. Single News Page (Premium Design) */
.post-premium-header {
    margin-bottom: 25px;
}

.post-title-premium {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    color: #111;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.post-meta-premium {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
    list-style: none;
    padding-left: 0;
}

.post-meta-premium li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-premium i {
    color: #D60000;
}

.post-image-premium {
    position: relative;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-image-premium img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body-premium {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: #2c3e50;
}

.post-body-premium p {
    margin-bottom: 1.5em;
}

.post-body-premium img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.post-body-premium iframe {
    max-width: 100% !important;
    border-radius: 8px;
}

.post-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.share-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-right: 5px;
    text-transform: uppercase;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

.share-btn.twitter {
    background: #000;
}

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

/* News Gallery */
.post-gallery-slider {
    width: 100%;
    height: auto;
}

.post-gallery-slider .swiper-button-next,
.post-gallery-slider .swiper-button-prev {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.post-gallery-slider .swiper-pagination-bullet-active {
    background: #eb0254;
}

@media (max-width: 768px) {
    .post-title-premium {
        font-size: 28px;
    }

    .post-body-premium {
        font-size: 17px;
    }

    .gallery-item {
        height: 250px !important;
    }
}

/* 5. Footer (Black Premium) */
.footer-black-premium {
    background-color: #0F0F0F;
    color: #b0b0b0;
    padding-top: 70px;
    border-top: 4px solid #D60000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.footer-title {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: #D60000;
}

.footer-news-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-news-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.footer-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.footer-news-item:hover .footer-news-thumb img {
    transform: scale(1.1);
}

.footer-news-content h5 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
    font-weight: 600;
}

.footer-news-content h5 a {
    color: #fff;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-news-content h5 a:hover {
    color: #D60000;
}

.footer-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-categories li {
    border-bottom: 1px solid #1a1a1a;
}

.footer-categories li a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 500;
}

.footer-categories li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom-bar {
    background: #000;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid #111;
    font-size: 13px;
    color: #666;
}

.footer-bottom-link {
    color: #D60000;
    text-decoration: none;
    font-weight: 700;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #D60000;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(214, 0, 0, 0.3);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

/* Sidebar Ads */
.sidebar-ad-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.sidebar-ad-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}