/* Modern Gente y Poder Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #880000;
    --dark-red: #660000;
    --light-gray: #f8f9fa;
    --text-gray: #666;
    --border-gray: #e0e0e0;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.header-top {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
}

.logo-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    max-height: 80px;
}

.partner-logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.partner-logos img {
    max-height: 50px;
}

/* Navigation */
.nav {
    background: var(--primary-red);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: var(--dark-red);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid var(--border-gray);
}

.dropdown-menu a:hover {
    background: var(--light-gray);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px 20px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

/* News Slider */
.news-slider {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    height: 633px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 40px 20px 20px;
}

.slide-content h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 30px;
   
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.prev-btn, .next-btn {
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--white);
}

/* Edition Preview */
.edition-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.edition-card img {
    width: 100%;
    height: auto;
}

.edition-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary, .btn-secondary {
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-red);
}

.btn-secondary {
    background: var(--light-gray);
    color: #333;
    border: 1px solid var(--border-gray);
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* Content Section */
.content-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.section-title {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

/* Video Section */
.video-section {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Opinion Section */
.opinion-section {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.opinion-card {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
}

.opinion-card:last-child {
    border-bottom: none;
}

.opinion-card h3 {
    margin-bottom: 10px;
}

.opinion-card h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
}

.opinion-card h3 a:hover {
    color: var(--primary-red);
}

.author {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* Footer */
.footer {
    background: #333;
    color: var(--white);
    margin-top: 50px;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-red);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section,
    .content-section {
        grid-template-columns: 1fr;
    }

    .logo-section {
        flex-direction: column;
        gap: 20px;
    }

    .partner-logos {
        justify-content: center;
    }

    .slider-controls {
        display: none;
    }

    .slide-content h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .video-section,
    .opinion-section {
        padding: 20px;
    }

    .edition-links {
        padding: 15px;
    }
}
/* Article-specific styles */
.breadcrumb {
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Section Header */
.section-header {
    text-align: center;
    margin: 0px 0 10px;
    padding: 5px 0;
    border-bottom: 2px solid var(--primary-red);
}

.page-title {
    color: var(--primary-red);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-description {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 30px;
    margin: 30px 0;
}

.main-section {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Articles Grid - 3 columns */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-gray);
}

.page-btn {
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-gray);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* News Columns Section */
.news-columns-section {
    margin: 30px 0;
}

.news-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-column {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-article.featured {
    margin-bottom: 20px;
}

.news-article.featured img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.news-article.featured h3 {
    margin-bottom: 15px;
}

.news-article.featured h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.4;
}

.news-article.featured h3 a:hover {
    color: var(--primary-red);
}

.news-article.featured hr {
    border: none;
    height: 1px;
    background: var(--border-gray);
    margin: 15px 0;
}

.news-article h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.news-article h4 a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
}

.news-article h4 a:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .news-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-column {
        padding: 20px;
    }
}

/* Two Column Section */
.two-column-section {
    margin: 30px 0;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Sidebar Sections */
.ad-section,
.general-articles {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.ad-section h3,
.general-articles h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.ad-banner img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.general-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.general-item {
    display: flex;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-gray);
}

.general-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.general-item img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;    
}

.item-content h4 {
    margin-bottom: 5px;
}

.item-content h4 a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.3;
}

.item-content h4 a:hover {
    color: var(--primary-red);
}

.item-content .date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.article-card a {
    text-decoration: none;
    color: inherit;
}

.article-card.featured {
    grid-column: 1 / -1;
}

.article-card.featured .card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card.featured img {
    height: 300px;
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    color: var(--primary-blue);
    margin: 10px 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.card-content h3 {
    color: var(--primary-blue);
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.card-content p {
    color: var(--text-gray);
    margin: 10px 0;
    line-height: 1.5;
}

/* Article Content */
.article-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.article-main {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.article-header h1 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 15px 0;
}

.article-image {
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.article-body .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.article-body h2 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

.article-body p {
    margin-bottom: 20px;
}

.article-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-gray);
}

.tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--text-gray);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin: 5px 5px 5px 0;
}

.social-share {
    padding: 20px 0;
    border-top: 1px solid var(--border-gray);
}

.social-share h4 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

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

.share-btn {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

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

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

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

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.related-articles {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-articles h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-gray);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.related-content h4 {
    margin-bottom: 5px;
}

.related-content h4 a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
}

.related-content h4 a:hover {
    color: var(--primary-red);
}

.related-content .date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.video-grid-section {
    padding: 2rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.video-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
}

.video-container2columns iframe {
    width: 100%;
    height: 390px;
    border: none;
    border-radius: 8px;
}

.advertisement-container {
    width: 100%;
    border: none;
    border-radius: 8px;
}

.advertisement-container iframe{
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Grid Image Responsive Class */
.grid-image {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}



@media (max-width: 768px) {
    .grid-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .grid-image {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        grid-template-columns: 1fr;
    }

    .article-card.featured .card-content {
        grid-template-columns: 1fr;
    }

    .article-main {
        padding: 20px;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .related-item {
        flex-direction: column;
    }

    .related-item img {
        width: 100%;
        height: 120px;
    }
}

