:root {
    --bg-page: #7B8FDE;
    --bg-card: #ffffff;
    --bg-index-item: #EEF1F8;
    --primary-dark: #2C4A7C;
    --primary-medium: #4A6FA5;
    --primary-light: #6B83C4;
    --text-dark: #1a1a1a;
    --text-main: #333333;
    --text-muted: #666666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    padding: 20px;
}

.institutional-header {
    background: var(--bg-card);
    border-radius: 8px 8px 0 0;
    padding: 25px 40px;
    border-bottom: 3px solid var(--primary-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-text { flex: 1; text-align: center; }

.header-text h1 {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.header-text h2 {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.header-text h3, .header-text h4 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: var(--text-main);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 4px;
}

.title-banner {
    background: var(--primary-dark);
    color: white;
    padding: 45px 40px;
    text-align: center;
    border-radius: 0 0 8px 8px;
    margin-bottom: 25px;
}

.title-banner h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.title-banner .subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 8px;
}

.title-banner .subtitle-small {
    font-size: 0.95rem;
    opacity: 0.85;
}

.index-section { margin-bottom: 25px; }

.index-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 30px 35px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.index-title {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.index-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-index-item);
    padding: 15px 18px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-medium);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.index-item:hover {
    background: #e4eaf5;
    border-left-color: var(--primary-dark);
    transform: translateX(3px);
}

.index-number {
    width: 38px;
    height: 38px;
    background: var(--primary-medium);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.index-item div { display: flex; flex-direction: column; }

.index-item strong {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.index-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.page-footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 18px;
    border-radius: 8px;
    margin-top: 25px;
    font-size: 0.9rem;
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
    transition: opacity 0.2s;
}

.back-link:hover { opacity: 0.8; }

@media (max-width: 768px) {
    body { padding: 10px; }
    .institutional-header { padding: 20px; }
    .header-inner { flex-direction: column; text-align: center; }
    .header-logo { width: 70px; height: 70px; }
    .header-text h1 { font-size: 1rem; }
    .title-banner { padding: 30px 20px; }
    .title-banner h1 { font-size: 1.4rem; }
    .index-card { padding: 25px 20px; }
    .index-grid { grid-template-columns: 1fr; }
}