        
        .nav1 ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            padding: 12px 0;
        }
        
        .nav1 a {
            text-decoration: none;
            color: #7ea8dc;
            padding: 8px 18px;
            border: 2px solid #7ea8dc;
            border-radius: 6px;
            transition: all 0.3s;
            font-weight: bold;
            background-color: white;
        }
        
        .nav1 a:hover,
        .nav1 a.active {
            background-color: #7ea8dc;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(126, 168, 220, 0.3);
        }
        
        .main1 {
            padding: 25px;
            background-color: white;
            border-radius: 8px;
            margin-top: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        h1 {
            color: #4a7bb8;
            margin-bottom: 25px;
            border-bottom: 3px solid #7ea8dc;
            padding-bottom: 15px;
        }
        
        h2 {
            color: #5c94d1;
            margin: 25px 0 20px 0;
            padding-top: 15px;
            border-top: 2px solid #e8f1ff;
        }
        
        h3 {
            color: #6a9cdb;
            margin: 18px 0 10px 0;
            font-size: 1.25em;
        }
        
        .social-platform {
            background-color: #e8f1ff;
            padding: 15px;
            border-radius: 8px;
            border-left: 5px solid #7ea8dc;
            margin-top: 25px;
        }
        
        .social-section {
            margin: 40px 0;
            padding: 25px;
            background-color: #f0f7ff;
            border-radius: 12px;
            border: 2px solid #7ea8dc;
        }
        
        p {
            margin-bottom: 15px;
        }
        
        .position {
            font-size: 0.95em;
            margin-left: 25px;
            color: #555;
        }
        
        .researcher-id {
            font-size: 0.9em;
            color: #777;
            margin-left: 25px;
            font-style: italic;
        }
        
        .interests {
            margin-left: 25px;
            padding: 8px 0 20px 0;
            border-bottom: 2px dashed #e8f1ff;
            color: #666;
        }
        
        ul, ol {
            margin-left: 40px;
            margin-bottom: 20px;
        }
        
        li {
            margin-bottom: 10px;
            padding-left: 5px;
        }
        
        a {
            color: #5c94d1;
            text-decoration: none;
            font-weight: bold;
        }
        
        a:hover {
            color: #4a7bb8;
            text-decoration: underline;
        }
        
        .schedule-link {
            background-color: #e8f1ff;
            padding: 8px 15px;
            border-radius: 6px;
            border: 2px solid #7ea8dc;
            display: inline-block;
            margin: 10px 0;
            font-weight: bold;
        }
        
        .schedule-link:hover {
            background-color: #7ea8dc;
            color: white;
            text-decoration: none;
        }
        
        .social-link {
            display: inline-block;
            padding: 10px 15px;
            margin: 5px 0;
            border-radius: 6px;
            transition: all 0.3s;
            font-weight: normal;
        }
        
        .vk-link {
            background-color: #4a76a8;
            color: white !important;
            border: 1px solid #4a76a8;
        }
        
        .vk-link:hover {
            background-color: #3a6698;
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(74, 118, 168, 0.3);
        }
        
        .tg-link {
            background-color: #2aabee;
            color: white !important;
            border: 1px solid #2aabee;
        }
        
        .tg-link:hover {
            background-color: #1a9bde;
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(42, 171, 238, 0.3);
        }
        
        footer {
            margin-top: 50px;
            padding-top: 25px;
            border-top: 2px solid #e8f1ff;
            text-align: center;
            color: #777;
            font-size: 0.9em;
        }
        
        /* Стили для карточек преподавателей */
        .teacher-card {
            margin-bottom: 30px;
            padding: 25px;
            background-color: #f0f7ff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(126, 168, 220, 0.1);
            transition: all 0.3s ease;
            display: flex;
            align-items: flex-start;
            gap: 25px;
            border: 1px solid #e8f1ff;
        }
        
        .teacher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(126, 168, 220, 0.2);
            border-color: #7ea8dc;
        }
        
        .teacher-photo {
            width: 150px;
            height: 150px;
            min-width: 150px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid #7ea8dc;
            box-shadow: 0 4px 10px rgba(126, 168, 220, 0.3);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .teacher-card:hover .teacher-photo {
            transform: scale(1.05);
            border-color: #5c94d1;
            box-shadow: 0 6px 15px rgba(126, 168, 220, 0.4);
        }
        
        .teacher-photo::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(126, 168, 220, 0.1), rgba(92, 148, 209, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 50%;
            z-index: 1;
        }
        
        .teacher-card:hover .teacher-photo::before {
            opacity: 1;
        }
        
        .teacher-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .teacher-card:hover .teacher-photo img {
            transform: scale(1.1);
        }
        
        .teacher-info {
            flex: 1;
        }
        
        .teacher-name {
            color: #4a7bb8;
            margin-bottom: 10px;
            font-size: 1.4em;
            font-weight: bold;
        }
        
        .teacher-position {
            font-size: 1em;
            color: #555;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .teacher-researcher-id {
            font-size: 0.9em;
            color: #777;
            margin-bottom: 15px;
            font-style: italic;
        }
        
        .teacher-interests {
            font-size: 0.95em;
            color: #666;
            line-height: 1.5;
            margin-bottom: 0;
        }
        
        .teacher-interests-title {
            color: #5c94d1;
            font-weight: bold;
            margin-right: 5px;
        }
        
        .separator {
            height: 20px;
        }
        
        /* Стили для страницы "поступающим" */
        .social-buttons {
            display: flex;
            gap: 20px;
            margin: 20px 0 40px 0;
            flex-wrap: wrap;
        }
        
        .social-button {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px 30px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            min-width: 200px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        
        .social-button.vk {
            background-color: #4a76a8;
            color: white;
        }
        
        .social-button.tg {
            background-color: #2aabee;
            color: white;
        }
        
        .social-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }
        
        .social-icon {
            font-size: 32px;
            font-weight: bold;
            background: rgba(255,255,255,0.2);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .social-text {
            font-size: 1.2em;
        }
        
        .representative-title {
            font-size: 1.1em;
            margin-top: 20px;
            color: #4a7bb8;
        }
        
        .representative-name {
            font-size: 1.05em;
            font-weight: bold;
            margin: 5px 0;
        }
        
        .representative-degree {
            color: #666;
            margin-bottom: 15px;
        }
        
        .representative-contacts {
            background-color: #e8f1ff;
            padding: 15px;
            border-radius: 8px;
            border-left: 5px solid #7ea8dc;
            margin: 20px 0;
        }
        
        .who-we-are-looking {
            font-size: 1.1em;
            line-height: 1.7;
            background-color: #f0f7ff;
            padding: 20px;
            border-radius: 10px;
            border: 2px solid #7ea8dc;
            margin: 20px 0;
        }
        
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .benefit-card {
            background: linear-gradient(135deg, #7ea8dc 0%, #5c94d1 100%);
            color: white;
            padding: 25px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(126, 168, 220, 0.3);
            transition: all 0.3s ease;
        }
        
        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(126, 168, 220, 0.4);
        }
        
        .benefit-number {
            font-size: 48px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .benefit-title {
            font-size: 1.1em;
            line-height: 1.4;
        }
        
        .benefit-item {
            padding-left: 20px;
            position: relative;
            margin: 10px 0;
        }
        
        .benefit-item::before {
            content: "•";
            color: #7ea8dc;
            font-size: 24px;
            position: absolute;
            left: 0;
            top: -5px;
        }
        
        .discipline-item {
            padding-left: 20px;
            position: relative;
            margin: 10px 0;
            padding: 10px 15px;
            background-color: #f9fbff;
            border-radius: 6px;
            border-left: 4px solid #7ea8dc;
        }
        
        .discipline-item::before {
            content: "?";
            color: #7ea8dc;
            font-weight: bold;
            position: absolute;
            left: 5px;
            top: 10px;
        }
        
        /* Стили для компактных изображений интервью - кликабельные, без подписей, на 20% крупнее */
        .compact-image-container {
            margin: 20px 0;
            text-align: center;
            border: 2px solid #7ea8dc;
            border-radius: 10px;
            padding: 15px;
            background-color: #f0f7ff;
            max-width: 360px; /* На 20% больше чем 300px */
            display: inline-block;
            margin-right: 20px;
            vertical-align: top;
        }
        
        .interview-container {
            transition: all 0.3s ease;
        }
        
        .interview-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(126, 168, 220, 0.3);
            border-color: #5c94d1;
        }
        
        .interview-link {
            display: block;
            text-decoration: none;
        }
        
        .compact-interview-image {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            object-fit: contain;
        }
        
        .interview-large {
            max-height: 240px; /* На 20% больше чем 200px */
        }
        
        /* Старые стили для изображений (для обратной совместимости) */
        .image-container {
            margin: 25px 0;
            text-align: center;
            border: 2px solid #7ea8dc;
            border-radius: 8px;
            padding: 15px;
            background-color: #f0f7ff;
        }
        
        .interview-image {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .image-caption {
            margin-top: 10px;
            font-style: italic;
            color: #666;
            font-size: 0.9em;
        }
        
        /* Стили для таблицы расписания */
        .schedule-table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            box-shadow: 0 3px 10px rgba(126, 168, 220, 0.15);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .schedule-table th {
            background-color: #7ea8dc;
            color: white;
            padding: 15px 20px;
            text-align: left;
            font-weight: bold;
            font-size: 1.1em;
        }
        
        .schedule-table td {
            padding: 15px 20px;
            border-bottom: 1px solid #e8f1ff;
        }
        
        .schedule-table tbody tr:hover {
            background-color: #f0f7ff;
        }
        
        .schedule-table .day {
            font-weight: bold;
            background-color: #e8f1ff;
            color: #4a7bb8;
        }
        
        .schedule-table .time {
            color: #5c94d1;
            font-weight: bold;
        }
        
        .schedule-table .teacher {
            font-style: italic;
            color: #666;
        }
        
        .schedule-table .course {
            color: #6a9cdb;
            font-weight: 500;
        }
        
        .schedule-table .empty {
            text-align: center;
            color: #aaa;
            font-style: italic;
        }
        
        .schedule-table tr:nth-child(even) {
            background-color: #f9fbff;
        }
        
        /* Стили для таймлайна */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 40px auto;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            width: 4px;
            background-color: #7ea8dc;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
        }
        
        .timeline-item {
            padding: 20px 0;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }
        
        .timeline-item.left {
            left: 0;
            padding-right: 40px;
            text-align: right;
        }
        
        .timeline-item.right {
            left: 50%;
            padding-left: 40px;
        }
        
        .timeline-content {
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(126, 168, 220, 0.15);
            border: 2px solid #e8f1ff;
            transition: transform 0.3s;
        }
        
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(126, 168, 220, 0.25);
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: white;
            border: 4px solid #7ea8dc;
            border-radius: 50%;
            top: 30px;
        }
        
        .timeline-item.left::before {
            right: -10px;
        }
        
        .timeline-item.right::before {
            left: -10px;
        }
        
        .timeline-date {
            font-size: 1.2em;
            font-weight: bold;
            color: #7ea8dc;
            margin-bottom: 10px;
        }
        
        .timeline-event {
            font-size: 1.1em;
            color: #333;
        }
        
        @media (max-width: 768px) {
            .timeline::before {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
                text-align: left;
            }
            
            .timeline-item.right,
            .timeline-item.left {
                left: 0;
                padding-right: 25px;
            }
            
            .timeline-item::before {
                left: 21px;
                right: auto;
            }
            
            nav ul {
                flex-direction: column;
                gap: 8px;
            }
            
            nav a {
                display: block;
                text-align: center;
            }
            
            body {
                padding: 15px;
            }
            
            .schedule-table {
                display: block;
                overflow-x: auto;
            }
            
            .schedule-table th,
            .schedule-table td {
                padding: 12px 15px;
                font-size: 0.95em;
            }
            
            h1 {
                font-size: 1.5em;
            }
            
            h2 {
                font-size: 1.3em;
            }
            
            .image-container {
                padding: 10px;
                margin: 15px 0;
            }
            
            /* Адаптация для карточек преподавателей */
            .teacher-card {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 20px;
            }
            
            .teacher-photo {
                width: 120px;
                height: 120px;
                min-width: 120px;
                margin-bottom: 15px;
            }
            
            .teacher-name {
                font-size: 1.3em;
            }
            
            .teacher-info {
                width: 100%;
            }
            
            /* Адаптация для страницы "поступающим" */
            .social-buttons {
                flex-direction: column;
            }
            
            .social-button {
                width: 100%;
                justify-content: center;
            }
            
            .benefits-grid {
                grid-template-columns: 1fr;
            }
            
            /* Адаптация для компактных изображений */
            .compact-image-container {
                max-width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
                display: block;
            }
            
            .interview-large {
                max-height: 180px; /* На 20% больше чем 150px для мобильных */
            }
        }
        
        @media (max-width: 480px) {
            header {
                padding: 1rem;
            }
            
            main {
                padding: 15px;
            }
            
            .timeline-content {
                padding: 15px;
            }
            
            .timeline-date {
                font-size: 1.1em;
            }
            
            .timeline-event {
                font-size: 1em;
            }
            
            .image-caption {
                font-size: 0.8em;
            }
            
            .teacher-photo {
                width: 100px;
                height: 100px;
                min-width: 100px;
            }
            
            .teacher-card {
                padding: 15px;
            }
            
            .social-icon {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
            
            .social-text {
                font-size: 1em;
            }
            
            .benefit-number {
                font-size: 36px;
            }
            
            .benefit-title {
                font-size: 1em;
            }
            
            .compact-image-container {
                padding: 10px;
            }
            
            .interview-large {
                max-height: 144px; /* На 20% больше чем 120px для маленьких экранов */
            }
        }
