.iia-proj-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.iia-proj-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.iia-proj-filters,
.iia-proj-search-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.iia-proj-filters select,
.iia-proj-search-sort input,
.iia-proj-search-sort select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    flex: 1;
    min-width: 200px;
    font-size: 1rem;
}

.iia-proj-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iia-proj-row {
    background: #fff;
    border-radius: 10px;
    border-left: 5px solid #28527a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.iia-proj-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.iia-proj-row-title {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #333;
}

.iia-proj-row-meta p {
    margin: 5px 0;
    color: #555;
    font-size: 1.05rem;
}

.iia-proj-row-meta strong {
    color: #222;
}

.iia-proj-pagination {
    text-align: center;
    margin-top: 40px;
}

#iia-proj-load-more {
    background: #28527a;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

#iia-proj-load-more:hover {
    background: #1a365d;
}

.iia-proj-no-results,
.iia-loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Single View - Academic Style */
.iia-proj-single {
    max-width: 900px;
    margin: 40px auto;
    background: #fdfdfd;
    padding: 50px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #111;
}

.iia-proj-back-link {
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.iia-proj-back-link a {
    color: #333;
    text-decoration: underline;
}

.iia-proj-divider-thick {
    border: 0;
    border-top: 2px solid #222;
    margin: 20px 0;
}

.iia-proj-single-title {
    font-size: 2rem;
    font-weight: bold;
    color: #111;
    margin: 20px 0;
    line-height: 1.3;
}

.iia-proj-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.iia-proj-fechas {
    border-left: 1px solid #444;
    padding-left: 40px;
}

.iia-proj-info-general h3,
.iia-proj-fechas h3,
.iia-proj-section h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
    margin-top: 0;
}

.iia-proj-info-general p,
.iia-proj-fechas p {
    margin: 8px 0;
    font-size: 1.05rem;
}

.iia-proj-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.iia-proj-table th,
.iia-proj-table td {
    border-bottom: 1px solid #999;
    padding: 10px 5px;
    text-align: left;
    font-size: 1.05rem;
}

.iia-proj-table th {
    font-weight: bold;
    border-bottom: 2px solid #666;
}

.iia-proj-text-content {
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: justify;
}

.iia-proj-list-content ul {
    list-style: none;
    padding-left: 0;
}

.iia-proj-list-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.iia-proj-list-content li::before {
    content: "📄";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .iia-proj-header-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .iia-proj-fechas {
        border-left: none;
        border-top: 1px solid #444;
        padding-left: 0;
        padding-top: 20px;
    }
}