
/* Hero Section */
.hero-section {
    position: relative;
    color: white !important;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 9;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /*background: linear-gradient(
        135deg,
        rgba(255, 103, 0, 0.8) 0%,
        rgba(39, 39, 39, 0.9) 100%
    );*/
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 20;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color:#ffffff !important;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-weight: 500;
}

.issue-date, .issue-number {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* Section Headers */
.section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #272727;
    margin-bottom: 1rem;
    position: relative;
}

.section-line {
    width: 80px;
    height: 4px;
    background: #000000;
    margin: 0 auto;
    border-radius: 2px;
}

/* De Primera Section */
.de-primera .featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.de-primera .featured-article:hover {
    transform: translateY(-5px);
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: -4px;
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-author {
    color: #ff6700;
    font-weight: 500;
    font-size: 0.9rem;
}

.article-category {
    background: linear-gradient(135deg, #ff6700, #272727);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #272727;
    line-height: 1.3;
}

.article-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #ff6700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    align-self: flex-start;
}

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

/* Relatos Section */
.relatos .articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.relatos .article-card {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    min-height: 280px;
}

.relatos .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.relatos .article-card:hover .article-image img {
    transform: scale(1.05);
}

.relatos .article-card:hover .article-overlay {
    background: linear-gradient(
        to bottom,
        rgba(39, 39, 39, 0.2) 0%,
        rgba(39, 39, 39, 0.4) 50%,
        rgba(39, 39, 39, 0.8) 100%
    );
}

.relatos .article-card:hover .article-title {
    color: #ff6700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.relatos .article-card .article-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.relatos .article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.relatos .article-card .article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(39, 39, 39, 0.1) 0%,
        rgba(39, 39, 39, 0.3) 50%,
        rgba(39, 39, 39, 0.7) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.relatos .article-card .article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(
        to top,
        rgba(39, 39, 39, 0.9) 0%,
        rgba(39, 39, 39, 0.7) 50%,
        transparent 100%
    );
    z-index: 2;
}

.relatos .article-card .article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.relatos .article-card .article-category {
    background: linear-gradient(135deg, #ff6700, #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}

.relatos .article-card .article-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.relatos .article-card .article-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.relatos .article-card .article-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Editorial Section */
.editorial {
    background: linear-gradient(135deg, #ff6700 0%, #272727 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.editorial-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.editorial-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.editorial-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: justify;
}

/* Garabetos Section - Ahora usa la misma estructura que De Primera */

/* Vestigios Section */
.vestigios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vestigios-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.vestigios-article:hover {
    transform: translateY(-5px);
}

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

.vestigios-content {
    padding: 1.5rem;
}

.vestigios-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vestigios-category {
    background: linear-gradient(135deg, #ff6700, #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.vestigios-date {
    color: #666;
    font-size: 0.9rem;
}

.vestigios-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #272727;
}

.vestigios-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Extralímites Section */
.extralimites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.extralimites-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.extralimites-article:hover {
    transform: translateY(-5px);
}

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

.extralimites-content {
    padding: 1.5rem;
}

.extralimites-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.extralimites-category {
    background: linear-gradient(135deg, #ff6700, #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.extralimites-date {
    color: #666;
    font-size: 0.9rem;
}

.extralimites-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #272727;
}

.extralimites-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Vida Section */
.vida-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vida-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.vida-article:hover {
    transform: translateY(-5px);
}

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

.vida-content {
    padding: 1.5rem;
}

.vida-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vida-category {
    background: linear-gradient(135deg, #ff6700, #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.vida-date {
    color: #666;
    font-size: 0.9rem;
}

.vida-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #272727;
    line-height: 1.3;
}

.vida-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* El Álbum Section */
.album-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.album-article:hover {
    transform: translateY(-5px);
}

.album-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.album-gallery {
    padding: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.album-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.album-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.album-category {
    background: linear-gradient(135deg, #ff6700, #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.album-date {
    color: #666;
    font-size: 0.9rem;
}

.album-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #272727;
    line-height: 1.3;
}

.album-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.album-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6700, #ff8c42);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 103, 0, 0.3);
}

.album-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 103, 0, 0.4);
    color: white;
    text-decoration: none;
}

.link-text {
    font-size: 1rem;
}

.link-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.album-link:hover .link-icon {
    transform: translateX(5px);
}

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

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}
