/* =========================================
   CSS PARA COLEGIACIÓN EN SEDE COLEGIAL
   ========================================= */

/* Main Content */
.main-content {
    padding: 60px 0;
    min-height: 60vh;
    background-color: #f8f9fa;
}

/* Content Article */
.content-article {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Article Header */
.article-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--primary-color);
    text-align: center;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.article-subtitle {
    margin-top: 10px;
}

.article-subtitle h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

/* Article Body */
.article-body {
    line-height: 1.8;
    color: var(--text-color);
}

/* Intro Section */
.intro-section {
    background: linear-gradient(135deg, #f0f9e8 0%, #e8f5d8 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
    border-left: 5px solid var(--primary-color);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.intro-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
}

.intro-content {
    flex: 1;
}

.intro-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* Documents Section */
.documents-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    font-size: 32px;
}

/* Documents Grid - 4 columnas para 8 documentos */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Document Card */
.document-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.document-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.document-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f9e8 0%, #e8f5d8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 36px;
    margin: 0 auto;
}

.document-info {
    text-align: center;
    flex: 1;
}

.document-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-description {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 60px;
}

/* Download Button */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    background: #9AB459;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(190, 225, 100, 0.3);
    color: white;
}

.download-btn i {
    font-size: 16px;
}

/* Info Section */
.info-section {
    margin-top: 50px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    border-left: 5px solid #5bc0de;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.info-card .info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #5bc0de;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
}

.info-card .info-content {
    flex: 1;
}

.info-card .info-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.info-card .info-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .documents-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

@media (max-width: 1024px) {
    .content-article {
        padding: 40px 30px;
    }
    
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Main Content */
    .main-content {
        padding: 30px 0;
    }
    
    /* Content Article */
    .content-article {
        padding: 30px 20px;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Article Header */
    .article-header {
        margin-bottom: 40px;
        padding-bottom: 25px;
        border-bottom-width: 2px;
    }
    
    .article-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .article-subtitle h2 {
        font-size: 18px;
    }
    
    /* Intro Section */
    .intro-section {
        flex-direction: column;
        padding: 25px;
        gap: 20px;
        margin-bottom: 40px;
        border-left-width: 4px;
    }
    
    .intro-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .intro-text {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Documents Section */
    .documents-section {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .section-title i {
        font-size: 28px;
    }
    
    /* Documents Grid */
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Document Card */
    .document-card {
        padding: 25px;
        gap: 18px;
    }
    
    .document-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    .document-title {
        font-size: 20px;
        margin-bottom: 10px;
        min-height: auto;
    }
    
    .document-description {
        font-size: 14px;
        margin-bottom: 12px;
        min-height: auto;
    }
    
    /* Download Button */
    .download-btn {
        padding: 14px 26px;
        font-size: 14px;
        gap: 8px;
    }
    
    .download-btn i {
        font-size: 17px;
    }
    
    /* Info Section */
    .info-section {
        margin-top: 40px;
    }
    
    .info-card {
        flex-direction: column;
        padding: 25px;
        gap: 20px;
        border-left-width: 4px;
    }
    
    .info-card .info-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .info-card .info-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .info-card .info-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    /* Main Content */
    .main-content {
        padding: 25px 0;
    }
    
    /* Content Article */
    .content-article {
        padding: 25px 15px;
    }
    
    /* Article Header */
    .article-header {
        margin-bottom: 35px;
        padding-bottom: 20px;
    }
    
    .article-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .article-subtitle h2 {
        font-size: 16px;
    }
    
    /* Intro Section */
    .intro-section {
        padding: 20px;
        margin-bottom: 35px;
        gap: 15px;
    }
    
    .intro-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .intro-text {
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* Documents Section */
    .documents-section {
        margin-bottom: 35px;
    }
    
    .section-title {
        font-size: 20px;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .section-title i {
        font-size: 24px;
    }
    
    /* Documents Grid */
    .documents-grid {
        gap: 18px;
    }
    
    /* Document Card */
    .document-card {
        padding: 20px;
        gap: 15px;
    }
    
    .document-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .document-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .document-description {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    /* Download Button */
    .download-btn {
        padding: 12px 22px;
        font-size: 13px;
        gap: 6px;
    }
    
    .download-btn i {
        font-size: 16px;
    }
    
    /* Info Section */
    .info-section {
        margin-top: 35px;
    }
    
    .info-card {
        padding: 20px;
        gap: 18px;
    }
    
    .info-card .info-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .info-card .info-content h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .info-card .info-content p {
        font-size: 13px;
        line-height: 1.5;
    }
}

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

.article-body {
    animation: fadeIn 0.5s ease-out;
}

.document-card {
    animation: fadeIn 0.5s ease-out;
}

.document-card:nth-child(1) {
    animation-delay: 0.05s;
}

.document-card:nth-child(2) {
    animation-delay: 0.1s;
}

.document-card:nth-child(3) {
    animation-delay: 0.15s;
}

.document-card:nth-child(4) {
    animation-delay: 0.2s;
}

.document-card:nth-child(5) {
    animation-delay: 0.25s;
}

.document-card:nth-child(6) {
    animation-delay: 0.3s;
}

.document-card:nth-child(7) {
    animation-delay: 0.35s;
}

.document-card:nth-child(8) {
    animation-delay: 0.4s;
}
