/* ========== GLOBAL BLOCK SYSTEM ========== */

/* Автоматическое чередование фонов */
section[class^="block-"]:nth-child(odd) {
    background-color: #ffffff;
}
section[class^="block-"]:nth-child(even) {
    background-color: #f8f9fa;
}

/* Исключения - блоки с собственным фоном */
.block-header,
.block-stats {
    background-color: transparent !important;
}

/* Унифицированные отступы между блоками */
section[class^="block-"] {
    padding: 30px 0;
    transition: background-color 0.3s ease;
}

/* Плавная анимация появления блоков при скролле */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section[class^="block-"] .container {
    animation: fadeInUp 0.6s ease-out;
}

/* Первый блок после header - меньший верхний отступ */
.block-header + section[class^="block-"] {
    padding-top: 30px;
}

/* Смежные текстовые блоки - убираем лишние отступы */
.block-text + .block-text {
    padding-top: 0;
}

/* Block Header */
.block-header {
    background: linear-gradient(135deg, #003366 0%, #004d80 50%, #006699 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
}
.block-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
}
.block-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: white !important;
}
.block-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Block Text */
.block-text {
    padding: 20px 0;
}
.block-text:first-child {
    padding-top: 30px;
}
.block-header + .block-text {
    padding-top: 30px;
}
.block-text + .block-text {
    padding-top: 0;
}
.block-text-content {
    max-width: 900px;
    margin: 0 auto;
}
.block-text-content h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 25px;
}
.block-text-content .text-body {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}
.block-text-content .text-body p {
    margin-bottom: 20px;
}

/* Block Section Title */
.block-section-title {
    font-size: 32px;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}
.block-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    border-radius: 2px;
}

/* Block Cards */
.block-cards {
    padding: 60px 0;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.cards-grid.cards-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.cards-grid.cards-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.cards-grid.cards-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1200px) {
    .cards-grid.cards-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .cards-grid.cards-cols-4,
    .cards-grid.cards-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .cards-grid.cards-cols-4,
    .cards-grid.cards-cols-3,
    .cards-grid.cards-cols-2 {
        grid-template-columns: 1fr;
    }
}
.card-item {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}
.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,51,102,0.12);
}
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    flex-shrink: 0;
}
.card-icon.colored-icon {
    background: transparent;
    font-size: 42px;
}
.card-item h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.card-item p {
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}
a.card-item.card-link {
    text-decoration: none;
    cursor: pointer;
}
a.card-item.card-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,51,102,0.15);
}
a.card-item.card-link h3 {
    color: #1a1a2e;
    transition: color 0.2s;
}
a.card-item.card-link:hover h3 {
    color: #006699;
}

/* Block Stats - Акцентный блок с градиентным фоном */
.block-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #004d80 50%, #006699 100%) !important;
    position: relative;
    overflow: hidden;
}
.block-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.block-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}
.block-stats .stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}
.block-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}
.block-stats .stat-number {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1;
}
.block-stats .stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Block Features */
.block-features {
    padding: 20px 0;
}
.features-list {
    max-width: 700px;
    margin: 0 auto;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}
.feature-item:last-child {
    border-bottom: none;
}
.feature-item i {
    color: #003366;
    font-size: 24px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-item span {
    font-size: 16px;
    color: #333;
}
.feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.feature-content strong {
    font-size: 17px;
    color: #1a1a2e;
}
.feature-content span {
    font-size: 14px;
    color: #6c757d;
}

/* Block Image */
.block-image {
    padding: 40px 0;
}
.image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
.image-caption {
    color: #6c757d;
    font-size: 14px;
    margin-top: 15px;
}

/* Block Accordion */
.block-accordion {
    padding: 60px 0;
}
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 500;
    color: #1a1a2e;
    transition: background 0.2s;
}
.accordion-header:hover {
    background: #f8f9fa;
}
.accordion-header i {
    transition: transform 0.3s;
    color: #6c757d;
}
.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    color: #6c757d;
    line-height: 1.7;
}
.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding-top: 15px;
    padding-bottom: 20px;
}
.accordion-content p {
    margin-bottom: 10px;
}
.accordion-content ul, .accordion-content ol {
    margin-left: 20px;
    margin-bottom: 10px;
}
.accordion-content li {
    margin-bottom: 5px;
}

/* Block CTA */
.block-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #006699 100%);
    color: white;
    text-align: center;
}
.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}
.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-content .btn-white {
    background: white;
    color: #003366;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}
.cta-content .btn-white:hover {
    transform: translateY(-2px);
}

/* Block Divider */
.block-divider {
    padding: 20px 0;
}
.block-divider hr {
    border: none;
    height: 1px;
    background: #e9ecef;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .block-header {
        padding: 50px 0;
    }
    .block-header h1 {
        font-size: 1.75rem;
    }
    .block-header p {
        font-size: 1rem;
    }
    .block-section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    /* Text Block */
    .block-text {
        padding: 40px 0;
    }
    .block-text-content h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    .block-text-content .text-body {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Cards Block */
    .block-cards {
        padding: 40px 0;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .card-item {
        padding: 24px 20px;
    }
    .card-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    .card-item h3 {
        font-size: 1.1rem;
    }
    .card-item p {
        font-size: 0.9rem;
    }

    /* Stats Block */
    .block-stats {
        padding: 50px 0;
    }
    .block-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .block-stats .stat-item {
        padding: 20px 15px;
    }
    .block-stats .stat-number {
        font-size: 2.5rem;
    }
    .block-stats .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    /* Features Block */
    .block-features {
        padding: 40px 0;
    }
    .feature-item {
        padding: 12px 0;
        gap: 12px;
    }
    .feature-item i {
        font-size: 1rem;
    }
    .feature-item span {
        font-size: 0.95rem;
    }

    /* Image Block */
    .block-image {
        padding: 24px 0;
    }
    .image-wrapper img {
        border-radius: 8px;
    }
    .image-caption {
        font-size: 0.85rem;
        margin-top: 10px;
    }

    /* Accordion Block */
    .block-accordion {
        padding: 40px 0;
    }
    .accordion-header {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    .accordion-content p {
        padding: 0 20px 16px;
        font-size: 0.9rem;
    }

    /* CTA Block */
    .block-cta {
        padding: 50px 0;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .cta-content .btn-white {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    /* Divider Block */
    .block-divider {
        padding: 16px 0;
    }
}

@media (max-width: 576px) {
    .block-header {
        padding: 40px 0;
    }
    .block-header h1 {
        font-size: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .block-stats .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .block-stats .stat-item {
        padding: 16px 12px;
    }
    .block-stats .stat-number {
        font-size: 2rem;
    }
}

/* ========== NEW BLOCKS STYLES ========== */

/* Gallery Block */
.block-gallery {
    padding: 60px 0;
}
.gallery-grid {
    display: grid;
    gap: 15px;
}
.gallery-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-cols-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Gallery Scroll Mode - горизонтальный скролл */
.gallery-scroll-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #003366 #e9ecef;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #003366;
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: #004488;
}

.gallery-scroll-item {
    flex: 0 0 auto;
    width: 280px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.gallery-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-scroll-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-scroll-item:hover .gallery-caption {
    opacity: 1;
}

/* Responsive для скролла */
@media (max-width: 768px) {
    .gallery-scroll-item {
        width: 220px;
        height: 160px;
    }

    .gallery-scroll {
        gap: 10px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}
.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.lightbox-close:hover {
    opacity: 1;
}

/* Video Block */
.block-video {
    padding: 60px 0;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}
.video-grid.single-video {
    grid-template-columns: 1fr;
    max-width: 900px;
}
.video-grid .video-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.video-grid .video-item-title {
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    background: white;
    border-bottom: 1px solid #e9ecef;
}
.video-grid .video-wrapper {
    max-width: none;
}
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.video-grid .video-wrapper iframe {
    border-radius: 0;
    box-shadow: none;
}
.video-description {
    text-align: center;
    color: #6c757d;
    margin-top: 20px;
    font-size: 16px;
}

/* Tabs Block */
.block-tabs {
    padding: 60px 0;
}
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}
.tabs-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
}
.tab-btn {
    padding: 18px 30px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    position: relative;
}
.tab-btn:hover {
    color: #003366;
    background: rgba(0,51,102,0.05);
}
.tab-btn.active {
    color: #003366;
    background: white;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #003366;
}
.tabs-content {
    padding: 30px;
}
.tab-panel {
    display: none;
    line-height: 1.7;
    color: #555;
}
.tab-panel.active {
    display: block;
}

/* Timeline Block */
.block-timeline {
    padding: 60px 0;
}
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #003366, #006699);
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-marker {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #003366;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #003366;
}
.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
}
.timeline-title {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.timeline-desc {
    color: #6c757d;
    line-height: 1.7;
}

/* Team Block */
.block-team {
    padding: 60px 0;
    background: #f8f9fa;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.team-member {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.team-member:hover {
    transform: translateY(-5px);
}
.team-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f8f9fa;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-photo-placeholder i {
    font-size: 50px;
    color: #adb5bd;
}
.team-name {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 5px;
}
.team-position {
    color: #006699;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 15px;
}
.team-bio {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.team-email {
    color: #003366;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.team-email:hover {
    text-decoration: underline;
}

/* Departments Block - Карточки департаментов */
.block-departments {
    padding: 60px 0;
}
.departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
@media (max-width: 1200px) {
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }
}
.department-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}
.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,51,102,0.12);
}
.department-header {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.department-name {
    font-size: 15px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0;
    line-height: 1.4;
}
.department-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}
.department-director {
    text-align: center;
    margin-bottom: 15px;
}
.director-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f8f9fa;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.director-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.director-photo-placeholder i {
    font-size: 35px;
    color: #adb5bd;
}
.director-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}
.director-title {
    font-size: 11px;
    color: #006699;
    font-weight: 500;
}
.department-contacts {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}
.department-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #555;
}
.department-contact-item:last-child {
    margin-bottom: 0;
}
.department-contact-item i {
    color: #003366;
    width: 14px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 12px;
}
.department-contact-item a {
    color: #006699;
    text-decoration: none;
}
.department-contact-item a:hover {
    text-decoration: underline;
}
.department-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    transition: all 0.2s;
}
.department-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,51,102,0.3);
}
.department-link i {
    font-size: 12px;
    transition: transform 0.2s;
}
.department-link:hover i {
    transform: translateX(3px);
}

/* Departments - Responsive */
@media (max-width: 768px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }
    .department-card {
        padding: 25px;
    }
    .department-name {
        font-size: 16px;
    }
    .director-photo {
        width: 100px;
        height: 100px;
    }
}

/* Divisions Block - Отделы */
.block-divisions {
    padding: 60px 0;
    background: #f8f9fa;
}
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
@media (max-width: 1200px) {
    .divisions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .divisions-grid {
        grid-template-columns: 1fr;
    }
}
.division-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}
.division-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,51,102,0.12);
}
.division-header {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.division-name {
    font-size: 15px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0;
    line-height: 1.4;
}
.division-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}
.division-head {
    text-align: center;
    margin-bottom: 15px;
}
.head-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f8f9fa;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.head-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.head-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.head-photo-placeholder i {
    font-size: 35px;
    color: #adb5bd;
}
.head-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}
.head-title {
    font-size: 11px;
    color: #006699;
    font-weight: 500;
}
.division-contacts {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}
.division-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #555;
}
.division-contact-item:last-child {
    margin-bottom: 0;
}
.division-contact-item i {
    color: #003366;
    width: 14px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 12px;
}
.division-contact-item a {
    color: #006699;
    text-decoration: none;
}
.division-contact-item a:hover {
    text-decoration: underline;
}
.division-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    transition: all 0.2s;
}
.division-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,51,102,0.3);
}
.division-link i {
    font-size: 12px;
    transition: transform 0.2s;
}
.division-link:hover i {
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .divisions-grid {
        grid-template-columns: 1fr;
    }
    .division-card {
        padding: 25px;
    }
    .division-name {
        font-size: 16px;
    }
    .head-photo {
        width: 100px;
        height: 100px;
    }
}

/* Testimonials Block */
.block-testimonials {
    padding: 60px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    position: relative;
}
.testimonial-quote {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 40px;
    color: rgba(0,51,102,0.1);
}
.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
    padding-top: 30px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-name {
    font-weight: 600;
    color: #1a1a2e;
}
.testimonial-title {
    font-size: 13px;
    color: #6c757d;
}

/* Documents Block */
.block-documents {
    padding: 60px 0;
}
.documents-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.document-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e9ecef;
}
.document-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-color: #003366;
}
.document-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003366, #006699);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.document-icon i {
    font-size: 22px;
    color: white;
}
.document-info {
    flex: 1;
}
.document-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.document-desc {
    font-size: 13px;
    color: #6c757d;
}
.document-size {
    font-size: 12px;
    color: #adb5bd;
    margin-top: 4px;
}
.document-download {
    color: #003366;
    font-size: 18px;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.document-item:hover .document-download {
    opacity: 1;
}

/* Contacts Map Block */
.block-contacts-map {
    padding: 60px 0;
}
.contacts-map-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}
.contacts-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    min-height: 350px;
}
.contacts-map iframe {
    width: 100%;
    height: 350px;
    border: none;
}
.map-placeholder {
    width: 100%;
    height: 350px;
    background: #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}
.map-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.5;
}
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.contact-item i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-item span,
.contact-item a {
    color: #1a1a2e;
    font-size: 16px;
    line-height: 1.5;
    padding-top: 10px;
}
.contact-item a {
    text-decoration: none;
}
.contact-item a:hover {
    color: #003366;
    text-decoration: underline;
}

/* Contacts Block */
.block-contacts {
    padding: 60px 0;
}
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.contact-card-header {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
}
.contact-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.contact-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #006699);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.contact-info {
    flex: 1;
    min-width: 0;
}
.contact-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    line-height: 1.3;
}
.contact-position {
    font-size: 14px;
    color: #555;
    margin-bottom: 3px;
}
.contact-department {
    font-size: 13px;
    color: #888;
}
.contact-card-body {
    padding: 20px;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}
.contact-detail:last-child {
    margin-bottom: 0;
}
.contact-detail i {
    width: 32px;
    height: 32px;
    background: #f0f4f8;
    color: #003366;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.contact-detail a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-detail a:hover {
    color: #003366;
    text-decoration: underline;
}
.contact-detail span {
    color: #555;
}

/* =============================================
   FOREIGN PARTNERS - WORLD MAP BLOCK
   ============================================= */

.fp-world-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
}

/* Hero Statistics */
.fp-hero {
    margin-bottom: 25px;
}
.fp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.fp-stat-card {
    background: white;
    border-radius: 14px;
    padding: 16px 24px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0,51,102,0.08);
    min-width: 150px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.fp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0,51,102,0.12);
}
.fp-stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}
.fp-stat-card.academic .fp-stat-icon {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
}
.fp-stat-card.scientific .fp-stat-icon {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
}
.fp-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #003366;
    line-height: 1;
    margin-bottom: 4px;
}
.fp-stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Type Switcher */
.fp-type-switch {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.fp-type-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}
.fp-type-btn:hover {
    border-color: #003366;
    color: #003366;
}
.fp-type-btn.active {
    background: linear-gradient(135deg, #003366, #004080);
    border-color: #003366;
    color: white;
}
.fp-type-btn.active[data-type="scientific"] {
    background: linear-gradient(135deg, #2e7d32, #43a047);
    border-color: #2e7d32;
}
.fp-type-btn i {
    font-size: 14px;
}
.fp-type-count {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}
.fp-type-btn.active .fp-type-count {
    background: rgba(255,255,255,0.2);
}

/* Main Container */
.fp-main-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
    height: 450px;
    align-items: start;
}

/* Map Area */
.fp-map-area {
    position: sticky;
    top: 20px;
    background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,51,102,0.12);
    height: 450px;
}
.fp-map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}
.fp-map-wrapper:active {
    cursor: grabbing;
}
.fp-map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: saturate(0.5) brightness(1.1);
}

/* Map Controls */
.fp-map-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}
.fp-control-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 16px;
    color: #003366;
    transition: all 0.2s;
}
.fp-control-btn:hover {
    background: #003366;
    color: white;
    transform: scale(1.1);
}

/* Markers Layer */
.fp-markers-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    pointer-events: none;
}
.fp-markers-layer.active {
    display: block;
}
.fp-markers-layer .fp-marker {
    pointer-events: auto;
}

/* Marker */
.fp-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: z-index 0s;
}
.fp-marker:hover {
    z-index: 100;
}
.fp-marker-pin {
    position: relative;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #003366;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.fp-marker.scientific .fp-marker-pin {
    border-color: #2e7d32;
}
.fp-marker:hover .fp-marker-pin {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.fp-marker.active .fp-marker-pin {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(0,51,102,0.2), 0 4px 15px rgba(0,0,0,0.2);
}
.fp-marker.scientific.active .fp-marker-pin {
    box-shadow: 0 0 0 6px rgba(46,125,50,0.2), 0 4px 15px rgba(0,0,0,0.2);
}
.fp-marker-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}
.fp-marker-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #003366, #0066cc);
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
}
.fp-marker.scientific .fp-marker-count {
    background: linear-gradient(135deg, #2e7d32, #43a047);
}
.fp-marker-label {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.fp-marker:hover .fp-marker-label {
    opacity: 1;
    visibility: visible;
}

/* Kazakhstan Marker */
.fp-kz-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 50;
}
.fp-kz-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,51,102,0.15);
    animation: kzPulse 2s ease-out infinite;
}
@keyframes kzPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
.fp-kz-pin {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #003366, #004080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,51,102,0.35);
    border: 3px solid #FFD700;
}
.fp-kz-pin img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.fp-kz-label {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #003366;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* Sidebar */
.fp-sidebar {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 450px;
    overflow: hidden;
}
.fp-sidebar-header {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}
.fp-search {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.fp-search:focus {
    outline: none;
    border-color: #003366;
}
.fp-country-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    overscroll-behavior: contain;
}
.fp-countries {
    display: none;
}
.fp-countries.active {
    display: block;
}

/* Country Card */
.fp-country-card {
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.2s;
}
.fp-country-card:hover {
    background: #f0f4f8;
}
.fp-country-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
}
.fp-country-flag {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.fp-country-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.fp-country-badge {
    background: linear-gradient(135deg, #003366, #0066cc);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.fp-country-badge.scientific {
    background: linear-gradient(135deg, #2e7d32, #43a047);
}
.fp-country-toggle {
    color: #999;
    font-size: 12px;
    transition: transform 0.3s;
}
.fp-country-card.open .fp-country-toggle {
    transform: rotate(180deg);
}
.fp-country-body {
    display: none;
    padding: 0 16px 16px;
}
.fp-country-card.open .fp-country-body {
    display: block;
}

/* Partner Row */
.fp-partner-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.fp-partner-row:last-child {
    margin-bottom: 0;
}
.fp-partner-row:hover {
    border-color: #003366;
    transform: translateX(5px);
}
.fp-partner-row.scientific:hover {
    border-color: #2e7d32;
}
.fp-partner-row i:first-child {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003366;
    flex-shrink: 0;
}
.fp-partner-row.scientific i:first-child {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}
.fp-partner-details {
    flex: 1;
    min-width: 0;
}
.fp-partner-name {
    font-weight: 500;
    font-size: 13px;
    color: #333;
    line-height: 1.3;
    display: block;
}
.fp-partner-city {
    font-size: 11px;
    color: #888;
    display: block;
    margin-top: 2px;
}
.fp-partner-link {
    color: #ccc;
    font-size: 12px;
    transition: color 0.2s;
}
.fp-partner-row:hover .fp-partner-link {
    color: #003366;
}

/* Modal */
.fp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.fp-modal-overlay.active {
    display: flex;
}
.fp-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.fp-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #003366, #004080);
    color: white;
}
.fp-modal-flag {
    width: 50px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.fp-modal-header h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}
.fp-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}
.fp-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}
.fp-modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}
.fp-modal-partner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
}
.fp-modal-partner:last-child {
    margin-bottom: 0;
}
.fp-modal-partner i:first-child {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}
.fp-modal-partner.scientific i:first-child {
    background: linear-gradient(135deg, #2e7d32, #43a047);
}
.fp-modal-partner div {
    flex: 1;
}
.fp-modal-partner strong {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 3px;
}
.fp-modal-partner small {
    color: #666;
}
.fp-modal-partner a {
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
}
.fp-modal-partner a:hover {
    background: #003366;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .fp-main-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .fp-map-area {
        position: relative;
        top: 0;
        height: 350px;
    }
    .fp-sidebar {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .fp-world-section {
        padding: 30px 0;
    }
    .fp-hero-stats {
        gap: 10px;
    }
    .fp-stat-card {
        padding: 12px 16px;
        min-width: 100px;
    }
    .fp-stat-value {
        font-size: 24px;
    }
    .fp-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .fp-type-switch {
        flex-direction: column;
        align-items: stretch;
    }
    .fp-type-btn {
        justify-content: center;
    }
    .fp-map-area {
        height: 280px;
    }
    .fp-marker-pin {
        width: 26px;
        height: 26px;
    }
    .fp-marker-flag {
        width: 16px;
        height: 16px;
    }
    .fp-kz-pin {
        width: 32px;
        height: 32px;
    }
}

/* Two Columns Block */
.block-two-columns {
    padding: 60px 0;
}
.two-columns-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.two-columns-text {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}
.two-columns-text h2,
.two-columns-text h3 {
    color: #003366;
    margin-bottom: 20px;
}
.two-columns-text p {
    margin-bottom: 18px;
}
.two-columns-text p:last-child {
    margin-bottom: 0;
}
.two-columns-text ul,
.two-columns-text ol {
    margin-bottom: 18px;
    padding-left: 20px;
}
.two-columns-text li {
    margin-bottom: 8px;
}
.two-columns-image {
    position: relative;
}
.two-columns-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,51,102,0.15);
    object-fit: cover;
    transition: transform 0.3s ease;
}
.two-columns-image:hover img {
    transform: scale(1.02);
}
/* Декоративный элемент за картинкой */
.two-columns-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(0,51,102,0.1), rgba(0,102,153,0.1));
    border-radius: 16px;
    z-index: -1;
}

/* Table Block */
.block-table {
    padding: 60px 0;
}
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.data-table th {
    background: linear-gradient(135deg, #003366, #004080);
    color: white;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}
.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}
.data-table tr:last-child td {
    border-bottom: none;
}
.data-table tr:hover td {
    background: #f8f9fa;
}

/* Table Sticky Header */
.table-sticky-header {
    max-height: 600px;
    overflow-y: auto;
}
.table-sticky-header thead {
    position: sticky;
    top: 0;
    z-index: 10;
}
.table-sticky-header thead th {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Quote Block */
.block-quote {
    padding: 40px 0;
}
.block-text + .block-quote {
    padding-top: 20px;
}
.block-quote + .block-text {
    padding-top: 20px;
}
.quote-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #003366;
    border-radius: 0 16px 16px 0;
    position: relative;
}
.quote-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: rgba(0,51,102,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.quote-text {
    font-size: 22px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}
.quote-footer {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.quote-author {
    font-weight: 600;
    color: #003366;
    font-size: 18px;
    font-style: normal;
}
.quote-author-title {
    color: #6c757d;
    font-size: 14px;
    font-style: normal;
}

/* Alert Block */
.block-alert {
    padding: 30px 0;
}
.block-text + .block-alert {
    padding-top: 10px;
}
.alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.alert i {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.alert-content {
    flex: 1;
}
.alert-title {
    display: block;
    margin-bottom: 5px;
}
.alert-text {
    line-height: 1.6;
}
.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}
.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}
.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Announcements Block - Объявления */
.block-announcements {
    padding: 60px 0;
}
.announcements-list {
    max-width: 1000px;
    margin: 0 auto;
}
.announcement-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    overflow: hidden;
}
.announcement-item.announcement-closed {
    opacity: 0.7;
}
.announcement-item.announcement-closed .announcement-header {
    background: #f8f9fa;
}
.announcement-header {
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.announcement-header:hover {
    background: #f8f9fa;
}
.announcement-status {
    margin-bottom: 10px;
}
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-active {
    background: #d4edda;
    color: #155724;
}
.status-closed {
    background: #e9ecef;
    color: #6c757d;
}
.announcement-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6c757d;
}
.announcement-meta i {
    margin-right: 5px;
    color: #003366;
}
.announcement-deadline {
    color: #dc3545;
}
.announcement-deadline i {
    color: #dc3545;
}
.announcement-title {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin: 0;
    padding-right: 40px;
    line-height: 1.4;
}
.announcement-chevron {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #6c757d;
    transition: transform 0.3s;
}
.announcement-item.active .announcement-chevron {
    transform: translateY(-50%) rotate(180deg);
}
.announcement-content {
    display: none;
    padding: 0 25px 25px;
    border-top: 1px solid #e9ecef;
}
.announcement-item.active .announcement-content {
    display: block;
}
.announcement-body {
    padding-top: 20px;
    line-height: 1.8;
    color: #333;
}
.announcement-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.announcement-body table th,
.announcement-body table td {
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    text-align: left;
}
.announcement-body table th {
    background: #003366;
    color: white;
    font-weight: 600;
}
.announcement-body table tr:nth-child(even) {
    background: #f8f9fa;
}
.announcement-body ul,
.announcement-body ol {
    margin: 15px 0;
    padding-left: 25px;
}
.announcement-body li {
    margin-bottom: 8px;
}
.announcement-files {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}
.announcement-files strong {
    display: block;
    margin-bottom: 10px;
    color: #003366;
}
.announcement-files ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.announcement-files li {
    margin-bottom: 5px;
}
.announcement-files a {
    color: #006699;
    text-decoration: none;
}
.announcement-files a:hover {
    text-decoration: underline;
}
.announcement-files i {
    margin-right: 8px;
    color: #dc3545;
}
.announcement-contacts {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.announcement-contacts strong {
    color: #003366;
}
.announcement-contacts a {
    color: #006699;
    text-decoration: none;
}
.announcement-contacts a:hover {
    text-decoration: underline;
}
.announcement-contacts i {
    margin-right: 5px;
}
@media (max-width: 768px) {
    .announcement-header {
        padding: 15px 20px;
    }
    .announcement-title {
        font-size: 16px;
        padding-right: 30px;
    }
    .announcement-meta {
        flex-direction: column;
        gap: 5px;
    }
    .announcement-chevron {
        right: 20px;
    }
    .announcement-content {
        padding: 0 20px 20px;
    }
    .announcement-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ========== NEW BLOCKS RESPONSIVE ========== */
@media (max-width: 1024px) {
    /* Video - 2 в ряд на планшетах */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    /* Contacts - 2 в ряд на планшетах */
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Gallery */
    .gallery-cols-3, .gallery-cols-4, .gallery-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item {
        border-radius: 8px;
    }

    /* Video - 1 в ряд на телефонах */
    .block-video {
        padding: 40px 0;
    }
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .video-grid .video-item-title {
        padding: 12px 15px;
        font-size: 16px;
    }
    .video-wrapper iframe {
        border-radius: 8px;
    }

    /* Tabs */
    .block-tabs {
        padding: 40px 0;
    }
    .tabs-nav {
        flex-wrap: nowrap;
    }
    .tab-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    .tabs-content {
        padding: 20px;
    }

    /* Timeline */
    .block-timeline {
        padding: 40px 0;
    }
    .timeline {
        padding-left: 30px;
    }
    .timeline-marker {
        left: -28px;
        width: 16px;
        height: 16px;
    }
    .timeline-year {
        font-size: 20px;
    }
    .timeline-title {
        font-size: 17px;
    }

    /* Team */
    .block-team {
        padding: 40px 0;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .team-member {
        padding: 20px;
    }
    .team-photo {
        width: 100px;
        height: 100px;
    }
    .team-name {
        font-size: 17px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 25px;
    }

    /* Documents */
    .block-documents {
        padding: 40px 0;
    }
    .document-item {
        padding: 15px 20px;
    }
    .document-icon {
        width: 40px;
        height: 40px;
    }
    .document-icon i {
        font-size: 18px;
    }

    /* Contacts Map */
    .contacts-map-wrapper {
        grid-template-columns: 1fr;
    }
    .contacts-map {
        min-height: 280px;
    }
    .contacts-map iframe {
        height: 280px;
    }

    /* Contacts Block */
    .block-contacts {
        padding: 40px 0;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-card-header {
        padding: 15px;
    }
    .contact-photo,
    .contact-photo-placeholder {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .contact-name {
        font-size: 16px;
    }
    .contact-card-body {
        padding: 15px;
    }
    .contact-detail {
        font-size: 13px;
    }
    .contact-detail i {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Foreign Partners - World Map */
    .block-foreign-partners-map {
        padding: 40px 0;
    }
    .fp-stats {
        gap: 20px;
    }
    .fp-stat-item {
        padding: 15px 20px;
        min-width: 120px;
    }
    .fp-stat-number {
        font-size: 32px;
    }
    .fp-stat-label {
        font-size: 12px;
    }
    .fp-tabs {
        flex-wrap: wrap;
    }
    .fp-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    .fp-map-container {
        flex-direction: column;
    }
    .fp-world-map {
        min-height: 350px;
    }
    .fp-flags-legend {
        width: 100%;
        max-height: none;
    }
    .fp-legend-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .fp-partners-panel {
        width: 100%;
        right: -100%;
    }
    .fp-point-marker {
        width: 32px;
        height: 32px;
    }
    .fp-point-flag {
        font-size: 16px;
    }
    .fp-point-count {
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }

    /* Two Columns */
    .two-columns-wrapper {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    .two-columns-image {
        order: -1;
    }
    .two-columns-image::before {
        display: none;
    }
    .two-columns-image img {
        border-radius: 12px;
        max-height: 350px;
        object-fit: cover;
    }

    /* Table */
    .data-table th, .data-table td {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* Quote */
    .quote-block {
        padding: 30px;
    }
    .quote-text {
        font-size: 18px;
    }
    .quote-block::before {
        font-size: 50px;
        top: 10px;
        left: 15px;
    }

    /* Alert */
    .alert {
        padding: 15px 20px;
    }
    .alert i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .gallery-cols-3, .gallery-cols-4, .gallery-cols-5 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        gap: 20px;
    }
}

/* ========== PROFILE BLOCK ========== */
.block-profile {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}
.profile-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
}
.profile-photo-side {
    position: sticky;
    top: 100px;
}
.profile-photo {
    position: relative;
    margin-bottom: 25px;
}
.profile-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,51,102,0.2);
    object-fit: cover;
    aspect-ratio: 3/4;
}
.profile-position {
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
}
.profile-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: white;
    border-radius: 10px;
    color: #003366;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.profile-contact:hover {
    background: #003366;
    color: white;
    transform: translateX(5px);
}
.profile-contact i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.profile-hours {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #fff3cd;
    border-radius: 10px;
    color: #856404;
    font-size: 14px;
}
.profile-hours i {
    font-size: 16px;
}
.profile-info-side {
    padding-top: 10px;
}
.profile-name {
    font-size: 36px;
    color: #003366;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}
.profile-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    border-radius: 2px;
}
.profile-bio {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}
.profile-bio p {
    margin-bottom: 20px;
}
.profile-bio h3,
.profile-bio h4 {
    color: #003366;
    margin: 30px 0 15px;
}
.profile-bio ul,
.profile-bio ol {
    margin-bottom: 20px;
    padding-left: 25px;
}
.profile-bio li {
    margin-bottom: 8px;
}
.profile-quote {
    margin: 40px 0 0;
    padding: 30px 35px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 5px solid #d4af37;
    border-radius: 0 16px 16px 0;
    position: relative;
}
.profile-quote::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 60px;
    color: rgba(0,51,102,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.profile-quote p {
    font-size: 20px;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .profile-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 35px;
    }
    .profile-name {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .block-profile {
        padding: 40px 0;
    }
    .profile-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .profile-photo-side {
        position: static;
        max-width: 280px;
        margin: 0 auto;
    }
    .profile-photo img {
        aspect-ratio: 1;
    }
    .profile-name {
        font-size: 26px;
        text-align: center;
    }
    .profile-name::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .profile-quote {
        padding: 25px;
    }
    .profile-quote p {
        font-size: 17px;
    }

    /* Foreign Partners Mobile */
    .fp-partners-grid {
        grid-template-columns: 1fr;
    }
    .fp-section {
        margin-bottom: 35px;
    }
    .fp-country {
        padding: 15px;
    }
    .fp-country-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    .fp-partner-card {
        padding: 12px;
        gap: 12px;
    }
    .fp-partner-logo {
        width: 45px;
        height: 45px;
    }
    .fp-partner-logo-placeholder {
        font-size: 20px;
    }
}

/* ========== ACCORDION DOCUMENTS BLOCK ========== */
.block-accordion-docs {
    padding: 60px 0;
}
.accordion-docs-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.accordion-docs-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}
.accordion-docs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}
.accordion-docs-header:hover {
    background: #f8f9fa;
}
.accordion-docs-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 17px;
}
.accordion-docs-header-content > i {
    color: #003366;
    font-size: 20px;
}
.accordion-docs-count {
    background: #003366;
    color: white;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}
.accordion-docs-arrow {
    color: #6c757d;
    font-size: 14px;
    transition: transform 0.3s;
}
.accordion-docs-item.active .accordion-docs-arrow {
    transform: rotate(180deg);
}
.accordion-docs-item.active .accordion-docs-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}
.accordion-docs-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-docs-item.active .accordion-docs-content {
    max-height: 2000px;
}
.accordion-doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}
.accordion-doc-item:last-child {
    border-bottom: none;
}
.accordion-doc-item:hover {
    background: #f8f9fa;
}
.accordion-doc-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}
.accordion-doc-icon .fa-file-pdf {
    color: #dc3545;
}
.accordion-doc-icon .fa-file-word {
    color: #2b579a;
}
.accordion-doc-icon .fa-file-excel {
    color: #217346;
}
.accordion-doc-icon .fa-file-powerpoint {
    color: #d24726;
}
.accordion-doc-icon .fa-file-archive {
    color: #6c757d;
}
.accordion-doc-icon .fa-file {
    color: #6c757d;
}
.accordion-doc-info {
    flex: 1;
}
.accordion-doc-title {
    color: #1a1a2e;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 3px;
}
.accordion-doc-size {
    color: #6c757d;
    font-size: 12px;
}
.accordion-doc-download {
    color: #003366;
    font-size: 16px;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 10px;
}
.accordion-doc-item:hover .accordion-doc-download {
    opacity: 1;
}
.accordion-docs-empty {
    padding: 20px 25px;
    color: #6c757d;
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .block-accordion-docs {
        padding: 40px 0;
    }
    .accordion-docs-header {
        padding: 15px 20px;
    }
    .accordion-docs-header-content {
        font-size: 15px;
        gap: 12px;
    }
    .accordion-doc-item {
        padding: 12px 20px;
    }
    .accordion-doc-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .accordion-doc-title {
        font-size: 14px;
    }
}

/* ========== COUNCIL LIST BLOCK ========== */
.block-council-list {
    padding: 60px 0;
}
/* Сворачиваемый заголовок */
.council-header-collapsible {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 25px;
    margin: -15px auto 30px;
    max-width: 1100px;
    background: linear-gradient(135deg, #003366 0%, #004d80 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.council-header-collapsible:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,51,102,0.25);
}
.council-header-collapsible .block-section-title {
    color: white;
    margin: 0;
    font-size: 22px;
}
.council-header-collapsible .block-section-title::after {
    display: none;
}
.council-collapse-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.council-members-count {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}
.council-collapse-icon {
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}
/* Свёрнутое состояние */
.block-council-list .container.collapsed .council-collapse-icon {
    transform: rotate(180deg);
}
.block-council-list .container.collapsed .council-collapsible-content {
    display: none;
}
.council-collapsible-content {
    transition: all 0.3s ease;
}
.council-description {
    max-width: 900px;
    margin: 0 auto 35px;
    text-align: center;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}
.council-table-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}
.council-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 700px;
}
.council-table thead {
    background: linear-gradient(135deg, #003366 0%, #004d80 100%);
}
.council-table th {
    padding: 18px 20px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.council-table th.council-col-num {
    width: 60px;
    text-align: center;
}
.council-table th.council-col-name {
    width: 28%;
}
.council-table th.council-col-role {
    width: 25%;
}
.council-table th.council-col-position {
    width: auto;
}
.council-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s;
}
.council-table tbody tr:last-child {
    border-bottom: none;
}
.council-table tbody tr:hover {
    background: #f8f9fa;
}
.council-table td {
    padding: 16px 20px;
    color: #444;
    font-size: 15px;
    vertical-align: middle;
}
.council-table td.council-col-num {
    text-align: center;
    color: #6c757d;
    font-weight: 500;
}
.council-table td.council-col-name {
    font-weight: 600;
    color: #1a1a2e;
}
.council-table td.council-col-role {
    color: #006699;
    font-weight: 500;
}
.council-table td.council-col-position {
    color: #555;
    font-size: 14px;
}
/* Выделенные строки (председатель, зампред и т.д.) */
.council-member-highlight {
    background: linear-gradient(90deg, rgba(0,51,102,0.04) 0%, rgba(0,102,153,0.02) 100%) !important;
}
.council-member-highlight td.council-col-name {
    color: #003366;
}
.council-role-badge {
    display: inline-block;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
/* Фото рядом с именем */
.council-name-with-photo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.council-mini-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}
.council-member-highlight .council-mini-photo {
    border-color: #003366;
}
/* Итоговая строка */
.council-total {
    text-align: center;
    margin-top: 25px;
    color: #6c757d;
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .council-table th,
    .council-table td {
        padding: 14px 15px;
    }
    .council-table th {
        font-size: 13px;
    }
    .council-table td {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .block-council-list {
        padding: 40px 0;
    }
    .council-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .council-table-wrapper {
        border-radius: 12px;
        margin: 0 -15px;
        width: calc(100% + 30px);
    }
    .council-table {
        min-width: 600px;
    }
    .council-table th,
    .council-table td {
        padding: 12px 10px;
    }
    .council-table th {
        font-size: 11px;
    }
    .council-table td {
        font-size: 13px;
    }
    .council-mini-photo {
        width: 32px;
        height: 32px;
    }
    .council-name-with-photo {
        gap: 8px;
    }
    .council-role-badge {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ========== COUNCIL FULL BLOCK ========== */
.block-council-full {
    padding: 60px 0;
}
.council-full-title {
    text-align: center;
    color: #003366;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.council-full-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0066cc);
    margin: 15px auto 0;
    border-radius: 2px;
}
.council-full-year {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 20px;
}
.council-full-year i {
    color: #003366;
    margin-right: 8px;
}
.council-full-description {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* Секции */
.council-full-section {
    max-width: 1100px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: white;
}
.council-full-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: linear-gradient(135deg, #003366 0%, #004d80 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}
.council-full-section-header:hover {
    background: linear-gradient(135deg, #004080 0%, #0059a3 100%);
}
.council-full-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
}
.council-full-section-title i {
    font-size: 20px;
    opacity: 0.9;
}
.council-full-count {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}
.council-full-arrow {
    color: white;
    font-size: 16px;
    transition: transform 0.3s ease;
}
.council-full-section-header.collapsed .council-full-arrow {
    transform: rotate(180deg);
}
.council-full-section-content {
    padding: 25px;
}
.council-full-section-content.hidden {
    display: none;
}

/* Таблица членов */
.council-full-table {
    width: 100%;
    border-collapse: collapse;
}
.council-full-table thead {
    background: #f8f9fa;
}
.council-full-table th {
    padding: 14px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.council-full-table th:first-child {
    width: 50px;
    text-align: center;
}
.council-full-table td {
    padding: 14px 15px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}
.council-full-table td:first-child {
    text-align: center;
    font-weight: 500;
    color: #6c757d;
}
.council-full-table tbody tr:hover {
    background: #f8f9fa;
}
.council-full-table tbody tr:last-child td {
    border-bottom: none;
}
.council-full-highlight {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f7fa 100%);
}
.council-full-highlight:hover {
    background: linear-gradient(135deg, #dbeef4 0%, #e5f2f7 100%) !important;
}
.council-full-badge {
    display: inline-block;
    background: linear-gradient(135deg, #003366 0%, #004d80 100%);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Категории документов */
.council-full-docs-category {
    margin-bottom: 25px;
}
.council-full-docs-category:last-child {
    margin-bottom: 0;
}
.council-full-docs-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}
.council-full-docs-title i {
    margin-right: 10px;
    color: #003366;
}
.council-full-docs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.council-full-doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.council-full-doc-item:hover {
    background: #e8f4f8;
    border-color: #003366;
    transform: translateX(5px);
}
.council-full-doc-item i:first-child {
    font-size: 20px;
    color: #003366;
    width: 24px;
    text-align: center;
}
.council-full-doc-item span {
    flex: 1;
    font-size: 14px;
}
.council-full-doc-item i:last-child {
    color: #6c757d;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}
.council-full-doc-item:hover i:last-child {
    opacity: 1;
}
.council-full-archive-item {
    background: #f5f5f5;
}
.council-full-archive-item i:first-child {
    color: #6c757d;
}
.council-full-no-docs {
    text-align: center;
    color: #6c757d;
    padding: 30px;
    font-style: italic;
}

/* Кнопка для текстового документа */
button.council-doc-text-btn {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
button.council-doc-text-btn:hover {
    background: #bbdefb;
    border-color: #64b5f6;
}
button.council-doc-text-btn i:first-child {
    color: #1976d2;
}
button.council-doc-text-btn i:last-child {
    color: #1976d2;
}

/* Модальное окно для текста документа */
.council-doc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.council-doc-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.council-doc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.council-doc-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}
.council-doc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}
.council-doc-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #003366;
    font-weight: 600;
}
.council-doc-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}
.council-doc-modal-close:hover {
    color: #dc3545;
}
.council-doc-modal-body {
    padding: 25px;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

@media (max-width: 992px) {
    .council-full-title {
        font-size: 26px;
    }
    .council-full-section-header {
        padding: 15px 20px;
    }
    .council-full-section-title {
        font-size: 16px;
    }
    .council-full-section-content {
        padding: 20px;
    }
    .council-full-table th,
    .council-full-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .block-council-full {
        padding: 40px 0;
    }
    .council-full-title {
        font-size: 22px;
    }
    .council-full-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .council-full-section {
        border-radius: 8px;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }
    .council-full-section-header {
        padding: 14px 15px;
    }
    .council-full-section-title {
        font-size: 14px;
        gap: 8px;
    }
    .council-full-section-content {
        padding: 15px;
        overflow-x: auto;
    }
    .council-full-table {
        min-width: 500px;
    }
    .council-full-table th,
    .council-full-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    .council-full-badge {
        padding: 3px 10px;
        font-size: 11px;
    }
    .council-full-docs-title {
        font-size: 14px;
    }
    .council-full-doc-item {
        padding: 12px 14px;
    }
    .council-full-doc-item span {
        font-size: 13px;
    }
}

/* ========== STRUCTURE BLOCK ========== */
.block-structure {
    padding: 60px 0;
}
.structure-title {
    font-size: 32px;
    color: #003366;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}
.structure-description {
    font-size: 17px;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.structure-image-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: #fff;
}
.structure-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.structure-image:hover {
    transform: scale(1.02);
}
.structure-image-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,51,102,0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.structure-image-container:hover .structure-image-hint {
    opacity: 1;
}
.structure-download {
    text-align: center;
    margin: 30px 0 40px;
}
.structure-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #003366, #004d80);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,51,102,0.3);
    transition: all 0.3s ease;
}
.structure-download-btn:hover {
    background: linear-gradient(135deg, #004d80, #006699);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,51,102,0.4);
    color: white;
}
.structure-download-btn i {
    font-size: 20px;
}
.structure-units {
    margin-top: 50px;
}
.structure-units-title {
    font-size: 24px;
    color: #003366;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}
.structure-units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.structure-unit-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}
.structure-unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,51,102,0.15);
    border-color: #003366;
}
a.structure-unit-card {
    color: inherit;
}
.structure-unit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #004d80);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.structure-unit-icon i {
    font-size: 28px;
    color: white;
}
.structure-unit-name {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
}
.structure-unit-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ========== ORG CHART STYLES ========== */
.org-chart {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 20px;
}
.org-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}
.org-connector-vertical {
    width: 3px;
    height: 30px;
    background: #003366;
    margin: 0 auto;
}
.org-connector-horizontal-split {
    width: 80%;
    max-width: 1000px;
    height: 3px;
    background: #003366;
    margin: 0 auto 20px;
    position: relative;
}
.org-connector-horizontal-split::before,
.org-connector-horizontal-split::after {
    content: '';
    position: absolute;
    top: 0;
    width: 3px;
    height: 20px;
    background: #003366;
}
.org-connector-horizontal-split::before { left: 0; }
.org-connector-horizontal-split::after { right: 0; }

.org-card {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    min-width: 180px;
    max-width: 250px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.org-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.org-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}
.org-card a:hover {
    text-decoration: underline;
}

/* Цвета карточек */
.org-card.orange {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}
.org-card.blue {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}
.org-card.lightblue {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: #003366;
}
.org-card.yellow {
    background: linear-gradient(135deg, #ffeb3b, #fdd835);
    color: #333;
}
.org-card.green {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: white;
}
.org-card.teal {
    background: linear-gradient(135deg, #26a69a, #00897b);
    color: white;
}
.org-card.purple {
    background: linear-gradient(135deg, #ab47bc, #8e24aa);
    color: white;
}
.org-card.gray {
    background: linear-gradient(135deg, #78909c, #546e7a);
    color: white;
}

/* Специальные карточки */
.org-card-top {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
}
.org-card-main {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 25px;
}
.org-card-rector {
    font-size: 15px;
    font-weight: 700;
    padding: 18px 35px;
    min-width: 280px;
}
.org-card-prorector {
    font-size: 12px;
    font-weight: 600;
    padding: 12px 15px;
    min-width: 200px;
}
.org-card-dept {
    font-size: 11px;
    padding: 10px 12px;
    min-width: 180px;
}

/* Уровень 2 - три колонки */
.org-level-2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.org-level-2-left,
.org-level-2-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.org-level-2-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Уровень 4 - колонки с подразделениями */
.org-level-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}
.org-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.org-column-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
    width: 100%;
}
.org-column-items .org-card {
    width: 100%;
    max-width: none;
    min-width: auto;
}

@media (max-width: 1200px) {
    .org-level-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .org-chart {
        padding: 10px;
    }
    .org-level-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .org-level-2-left,
    .org-level-2-right,
    .org-level-2-center {
        align-items: center;
    }
    .org-level-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .org-card {
        min-width: 150px;
        font-size: 12px;
        padding: 10px 15px;
    }
    .org-card-rector {
        min-width: 200px;
        font-size: 13px;
    }
    .org-connector-horizontal-split {
        width: 50%;
    }
}

/* Structure Modal */
.structure-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.structure-modal.active {
    display: flex;
}
.structure-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    position: relative;
}
.structure-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}
.structure-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}
.structure-modal-close:hover {
    color: #d4af37;
}

@media (max-width: 992px) {
    .structure-title {
        font-size: 26px;
    }
    .structure-description {
        font-size: 16px;
    }
    .structure-units-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .block-structure {
        padding: 40px 0;
    }
    .structure-title {
        font-size: 22px;
    }
    .structure-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .structure-download-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    .structure-units-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .structure-unit-card {
        padding: 25px 20px;
    }
    .structure-unit-icon {
        width: 60px;
        height: 60px;
    }
    .structure-unit-icon i {
        font-size: 24px;
    }
}

/* ===== ANTICORRUPTION BLOCK STYLES ===== */
.block-anticorruption {
    padding: 50px 0;
    background: #f5f7fa;
}

.ac-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #003366;
}

.ac-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 25px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ac-section:last-child {
    margin-bottom: 0;
}

/* Collapsible Sections */
.ac-collapsible-section {
    padding: 0;
}

.ac-collapsible-section .ac-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ac-collapsible-section .ac-section-header:hover {
    background: #f0f4f8;
}

.ac-collapsible-section .ac-section-title {
    margin-bottom: 0;
}

.ac-collapsible-section .ac-section-toggle {
    color: #003366;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.ac-collapsible-section.expanded .ac-section-toggle {
    transform: rotate(180deg);
}

.ac-collapsible-section .ac-section-content {
    display: none;
    padding: 0 25px 25px;
}

.ac-collapsible-section.expanded .ac-section-content {
    display: block;
}

.ac-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ac-section-title i {
    color: #003366;
}

/* Documents List */
.ac-documents-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ac-document-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #003366;
}

.ac-document-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 12px;
}

.ac-document-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    margin-bottom: 6px;
}

.ac-document-item:last-child {
    margin-bottom: 0;
}

.ac-document-item:hover {
    background: #f0f4f8;
    border-color: #003366;
    color: #003366;
}

.ac-document-item i.fa-file-pdf {
    color: #dc3545;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ac-document-item i.fa-external-link-alt {
    color: #003366;
    font-size: 0.9rem;
    margin-left: auto;
    flex-shrink: 0;
}

.ac-document-item span {
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
}

/* Info items (не ссылки, для образования, опыта и т.д.) */
.ac-info-item {
    cursor: default;
}

.ac-info-item:hover {
    background: #fff;
    border-color: #e9ecef;
    color: #333;
}

.ac-info-item i:first-child {
    color: #003366;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ac-award-item i:first-child {
    color: #f9a825;
}

/* Years Accordion */
.ac-years-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ac-year-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.ac-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ac-year-header:hover {
    background: #e9ecef;
}

.ac-year-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003366;
}

.ac-year-header i {
    color: #003366;
    transition: transform 0.3s ease;
}

.ac-year-item.active .ac-year-header i {
    transform: rotate(180deg);
}

.ac-year-content {
    display: none;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
}

.ac-year-item.active .ac-year-content {
    display: block;
}

.ac-year-docs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Subsection Title */
.ac-subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003366;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ac-subsection-title:first-child {
    margin-top: 0;
}

/* Coordinators Section */
.ac-coordinators-section {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: #fff;
}

.ac-coordinators-section .ac-section-title {
    color: #fff;
}

.ac-coordinators-section .ac-section-title i {
    color: #fff;
}

/* Расширенная карточка координатора с кнопкой внутри */
.ac-coordinator-card-extended {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Кнопка "Сообщить о нарушении" внутри карточки */
.ac-report-btn-inside {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    min-width: 180px;
}

.ac-report-btn-inside:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.ac-report-btn-inside i {
    font-size: 1.8rem;
    color: #ffc107;
}

.ac-report-btn-inside .ac-report-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

/* Coordinators Grid */
.ac-coordinators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
}

.ac-coordinator-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ac-coordinator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.ac-coordinator-photo {
    width: 100px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #003366;
}

.ac-coordinator-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.ac-coordinator-photo i {
    font-size: 2.5rem;
    color: #003366;
}

.ac-coordinator-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ac-coordinator-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ac-coordinator-position {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.ac-coordinator-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.ac-coordinator-contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #003366;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.ac-coordinator-contacts a:hover {
    color: #0066cc;
}

.ac-coordinator-contacts i {
    color: #003366;
    width: 18px;
    font-size: 1rem;
}

/* Surveys / Faculties */
.ac-surveys-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ac-survey-year {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.ac-survey-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #003366;
    color: #fff;
    cursor: pointer;
}

.ac-survey-year-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.ac-survey-year-header i {
    transition: transform 0.3s ease;
}

.ac-survey-year.active .ac-survey-year-header i {
    transform: rotate(180deg);
}

.ac-survey-year-content {
    display: none;
    padding: 20px;
}

.ac-survey-year.active .ac-survey-year-content {
    display: block;
}

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

.ac-faculty-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.ac-faculty-item:hover {
    background: #e9ecef;
    border-color: #003366;
    color: #003366;
}

.ac-faculty-item i {
    color: #003366;
    font-size: 1rem;
}

/* Monitoring */
.ac-monitoring-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ac-monitoring-subsection {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid #003366;
}

.ac-monitoring-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ac-monitoring-docs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Appeals Section */
.ac-appeals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.ac-appeal-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.ac-appeal-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ac-appeal-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.ac-appeal-card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.ac-appeal-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
}

.ac-appeal-card-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.ac-appeal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #003366;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.ac-appeal-btn:hover {
    background: #00254d;
}

.ac-telegram-card {
    background: linear-gradient(135deg, #0088cc 0%, #00a0dc 100%);
    border-color: transparent;
}

.ac-telegram-card .ac-appeal-card-icon {
    background: rgba(255,255,255,0.2);
}

.ac-telegram-card .ac-appeal-card-title,
.ac-telegram-card .ac-appeal-card-desc {
    color: #fff;
}

.ac-telegram-card .ac-appeal-btn {
    background: #fff;
    color: #0088cc;
}

.ac-telegram-card .ac-appeal-btn:hover {
    background: #f0f0f0;
}

/* Report Button */
.ac-report-button-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.ac-report-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    max-width: 500px;
    width: 100%;
}

.ac-report-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 51, 102, 0.4);
}

.ac-report-button-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ac-report-button-icon i {
    font-size: 1.3rem;
    color: #ffc107;
}

.ac-report-button-content {
    flex: 1;
    text-align: left;
}

.ac-report-button-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.ac-report-button-subtitle {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.ac-report-button-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.ac-report-button:hover .ac-report-button-arrow {
    transform: translateX(5px);
    color: #fff;
}

/* Compliance Modal */
.ac-compliance-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.ac-compliance-modal.active {
    display: flex;
}

.ac-compliance-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.ac-compliance-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ac-compliance-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.ac-compliance-modal-close:hover {
    background: #e0e0e0;
}

.ac-compliance-modal-close i {
    color: #666;
    font-size: 1rem;
}

.ac-compliance-modal-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.ac-compliance-modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.ac-compliance-modal-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.ac-compliance-modal-header h3 {
    font-size: 1.4rem;
    color: #003366;
    margin-bottom: 8px;
    font-weight: 600;
}

.ac-compliance-modal-header p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.ac-compliance-modal-options {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ac-compliance-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.ac-compliance-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0dc 100%);
}

.ac-compliance-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.ac-compliance-form {
    background: #f8f9fa;
    border-color: #e9ecef;
}

.ac-compliance-form:hover {
    background: #fff;
    border-color: #003366;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ac-compliance-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ac-compliance-telegram .ac-compliance-option-icon {
    background: rgba(255, 255, 255, 0.2);
}

.ac-compliance-telegram .ac-compliance-option-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.ac-compliance-form .ac-compliance-option-icon {
    background: #003366;
}

.ac-compliance-form .ac-compliance-option-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.ac-compliance-option-content {
    flex: 1;
}

.ac-compliance-option-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.ac-compliance-telegram .ac-compliance-option-content h4,
.ac-compliance-telegram .ac-compliance-option-content p {
    color: #fff;
}

.ac-compliance-form .ac-compliance-option-content h4 {
    color: #003366;
}

.ac-compliance-option-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.ac-compliance-form .ac-compliance-option-content p {
    color: #666;
}

.ac-compliance-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ac-compliance-features li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ac-compliance-features li i {
    font-size: 0.7rem;
    color: #4ade80;
}

.ac-compliance-option-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    align-self: center;
}

.ac-compliance-telegram .ac-compliance-option-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ac-compliance-form .ac-compliance-option-btn {
    background: #003366;
    color: #fff;
}

.ac-compliance-modal-footer {
    padding: 15px 30px 25px;
    text-align: center;
}

.ac-compliance-modal-footer p {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ac-compliance-modal-footer i {
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .block-anticorruption {
        padding: 30px 0;
    }
    .ac-main-title {
        font-size: 1.5rem;
    }
    .ac-section {
        padding: 20px;
    }
    .ac-section-title {
        font-size: 1.2rem;
    }
    .ac-coordinators-grid {
        grid-template-columns: 1fr;
    }
    .ac-coordinator-card-extended {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .ac-coordinator-card-extended .ac-coordinator-info {
        text-align: center;
    }
    .ac-coordinator-card-extended .ac-coordinator-contacts {
        align-items: center;
    }
    .ac-report-btn-inside {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    .ac-coordinator-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .ac-coordinator-photo {
        margin: 0 auto 15px;
    }
    .ac-coordinator-contacts {
        align-items: center;
    }
    .ac-faculties-grid,
    .ac-appeals-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== RATINGS BLOCK ===== */
.block-ratings {
    padding: 60px 0;
    background: #f8f9fa;
}

.ratings-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rating-card {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.rating-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rating-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rating-info {
    flex: 1;
}

a.rating-agency-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

a.rating-agency-name:hover {
    color: var(--secondary-color);
}

a.rating-agency-name i {
    font-size: 0.8em;
    opacity: 0.6;
}

h3.rating-agency-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

.rating-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 5px 0 0;
}

.rating-table-wrapper {
    overflow-x: auto;
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
}

.rating-table th,
.rating-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.rating-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--gray-700);
}

.rating-table tbody tr:hover {
    background: #fafafa;
}

.rating-table .rating-position-cell {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

/* Overall Position Badge */
.rating-overall {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
}

.rating-overall-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

.rating-overall-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 3px;
}

/* Positions with Badges */
.rating-positions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rating-position-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.rating-position-item .position-badge {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.rating-position-item .position-name {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.rating-position-item .position-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* HTML Table styling */
.rating-html-table {
    margin-top: 15px;
    overflow-x: auto;
}

.rating-html-table table {
    width: 100%;
    border-collapse: collapse;
}

.rating-html-table th,
.rating-html-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #e9ecef;
}

.rating-html-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.rating-html-table tbody tr:hover {
    background: #fafafa;
}

/* Responsive */
@media (max-width: 768px) {
    .block-ratings {
        padding: 40px 0;
    }

    .rating-card {
        padding: 20px;
    }

    .rating-header {
        flex-direction: column;
        text-align: center;
    }

    .rating-logo {
        margin: 0 auto;
    }

    .rating-overall {
        margin-top: 15px;
    }

    .rating-positions {
        justify-content: center;
    }

    .rating-position-item {
        flex: 1 1 100%;
    }
}

/* ===== RATINGS ARCHIVE ===== */
.ratings-archive {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.ratings-archive-title {
    font-size: 1.3rem;
    color: var(--gray-700);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ratings-archive-title i {
    color: var(--gray-500);
}

.archive-year-block {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.archive-year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-700);
    transition: background 0.2s;
}

.archive-year-header:hover {
    background: #e9ecef;
}

.archive-year-header span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-year-header span i {
    color: var(--secondary-color);
}

.archive-year-header > i {
    transition: transform 0.3s;
    color: var(--gray-400);
}

.archive-year-block.expanded .archive-year-header > i {
    transform: rotate(180deg);
}

.archive-year-content {
    display: none;
    padding: 20px 25px;
}

.archive-year-block.expanded .archive-year-content {
    display: block;
}

.archive-rating-card {
    background: #fafafa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.archive-rating-card:last-child {
    margin-bottom: 0;
}

.archive-rating-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.archive-rating-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.archive-rating-info {
    flex: 1;
}

.archive-rating-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0 0 5px;
}

.archive-rating-info p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

.archive-rating-position {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.archive-rating-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.archive-rating-table th,
.archive-rating-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #e9ecef;
}

.archive-rating-table th {
    background: white;
    font-weight: 600;
    color: var(--gray-700);
}

.archive-rating-table tbody tr:hover {
    background: white;
}

.archive-position-cell {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

/* Archive positions list */
.archive-positions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.archive-position-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    min-width: 120px;
}

.archive-position-name {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 5px;
    text-align: center;
}

.archive-position-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.archive-html-table {
    margin-top: 10px;
}

.archive-html-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.archive-html-table th,
.archive-html-table td {
    padding: 8px 10px;
    text-align: left;
    border: 1px solid #e9ecef;
}

.archive-html-table th {
    background: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .archive-rating-header {
        flex-direction: column;
        text-align: center;
    }

    .archive-rating-logo {
        margin: 0 auto;
    }

    .archive-rating-position {
        margin-top: 10px;
    }

    .archive-year-header {
        padding: 15px 18px;
    }
}

/* ========== SMK BLOCK - Система менеджмента качества ========== */
.block-smk {
    padding: 60px 0;
}

.smk-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 40px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Сертификаты */
.smk-certificates {
    margin-bottom: 50px;
}

.smk-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smk-section-title i {
    color: var(--primary-color);
}

.smk-cert-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.smk-cert-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: var(--gray-700);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.smk-cert-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.smk-cert-link i {
    font-size: 1.5rem;
    color: #dc3545;
}

/* Уровни СМК */
.smk-level {
    margin-bottom: 50px;
}

.smk-level-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.smk-level-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Сворачиваемые уровни */
.smk-level-collapsible .smk-level-title {
    cursor: pointer;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px;
    margin-bottom: 0;
    transition: all 0.3s;
}

.smk-level-collapsible .smk-level-title:hover {
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.smk-level-collapsible .smk-level-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.smk-level-arrow {
    margin-left: auto;
    transition: transform 0.3s;
    transform: rotate(-90deg);
}

.smk-level-collapsible.expanded .smk-level-arrow {
    transform: rotate(0deg);
}

.smk-level-content {
    display: none !important;
    padding-top: 25px;
}

.smk-level-collapsible.expanded .smk-level-content {
    display: block !important;
}

/* Для grid контейнера в level 1 */
.smk-level-collapsible.expanded .smk-level-content.smk-policies {
    display: grid !important;
}

/* Уровень 1: Политики */
.smk-policies {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.smk-policy-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.smk-policy-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.smk-policy-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.smk-policy-header i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.smk-policy-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.4;
}

.smk-policy-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 15px;
    display: none;
}

.smk-policy-card.expanded .smk-policy-text {
    display: block;
}

/* Статичные карточки (уровень 1) - текст всегда виден */
.smk-policy-card-static {
    cursor: default;
}

.smk-policy-text-static {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.smk-policy-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #003366;
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.smk-policy-view:hover {
    background: #002244;
    color: white;
}

.smk-policy-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.smk-policy-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.smk-policy-download:hover {
    background: #c82333;
    color: white;
}

.smk-policy-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-color, #003366);
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.smk-policy-more:hover {
    background: var(--primary-dark, #0056b3);
}

.smk-policy-more i {
    transition: transform 0.3s;
}

.smk-policy-card.expanded .smk-policy-more i {
    transform: rotate(180deg);
}

.smk-policy-card.expanded .smk-policy-more {
    background: var(--gray-500);
}

/* Уровень 2: Стандарты */
.smk-standards-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.smk-standards-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.smk-standards-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.smk-standards-table th:first-child {
    border-radius: 12px 0 0 0;
}

.smk-standards-table th:last-child {
    border-radius: 0 12px 0 0;
    width: 80px;
    text-align: center;
}

.smk-standards-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.smk-standards-table tr:hover td {
    background: #f8f9fa;
}

.smk-std-code {
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    width: 120px;
}

.smk-std-file {
    text-align: center;
}

.smk-file-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #dc3545;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.smk-file-link:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

/* Уровень 3: Регламенты - секции */
.smk-sections {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.smk-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.smk-section-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
    gap: 15px;
}

.smk-section-header:hover {
    background: #e9ecef;
}

.smk-section-name {
    flex: 1;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--gray-800);
}

.smk-section-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    background: var(--primary-color);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 15px;
}

.smk-section-arrow {
    color: var(--gray-400);
    transition: transform 0.3s;
    font-size: 1rem;
}

.smk-section.expanded .smk-section-arrow {
    transform: rotate(180deg);
}

.smk-section-content {
    display: none;
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
}

.smk-section.expanded .smk-section-content {
    display: block;
}

/* Таблица регламентов */
.smk-regulations-table {
    width: 100%;
    border-collapse: collapse;
}

.smk-regulations-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 2px solid #e9ecef;
}

.smk-regulations-table th:first-child {
    width: 100px;
}

.smk-regulations-table th:last-child {
    width: 60px;
    text-align: center;
}

.smk-regulations-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.smk-regulations-table tr:hover td {
    background: #f8f9fa;
}

.smk-reg-code {
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
}

.smk-reg-file {
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .smk-policies {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .block-smk {
        padding: 40px 0;
    }

    .smk-intro {
        padding: 20px;
        font-size: 1rem;
    }

    .smk-cert-links {
        flex-direction: column;
    }

    .smk-cert-link {
        justify-content: center;
    }

    .smk-level-title {
        font-size: 1.2rem;
    }

    .smk-level-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .smk-policy-card {
        padding: 20px;
    }

    .smk-policy-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .smk-policy-header i {
        margin-top: 0;
    }

    .smk-standards-table th,
    .smk-standards-table td {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .smk-std-code {
        width: auto;
    }

    .smk-section-header {
        padding: 15px 20px;
    }

    .smk-section-content {
        padding: 15px 20px;
    }

    .smk-regulations-table th,
    .smk-regulations-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ===============================================
   БЛОК ИНФРАСТРУКТУРА
   =============================================== */

.infra-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Статистика */
.infra-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.infra-stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.infra-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.3);
}

.infra-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.infra-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Категории инфраструктуры */
.infra-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.infra-category {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.infra-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    background: white;
    transition: background 0.3s;
}

.infra-category-header:hover {
    background: var(--gray-50);
}

.infra-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.infra-category-icon i {
    font-size: 1.8rem;
    color: white;
}

.infra-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    flex: 1;
}

.infra-category-arrow {
    font-size: 1.2rem;
    color: var(--gray-400);
    transition: transform 0.3s;
    transform: rotate(-90deg);
}

.infra-category.expanded .infra-category-arrow {
    transform: rotate(0deg);
}

.infra-category-content {
    display: none;
    padding: 0 30px 30px;
    border-top: 1px solid var(--gray-200);
}

.infra-category.expanded .infra-category-content {
    display: block;
}

.infra-category-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Характеристики */
.infra-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.infra-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--gray-50);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.infra-feature-label {
    font-weight: 600;
    color: var(--gray-700);
}

.infra-feature-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* Галерея фотографий */
.infra-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.infra-gallery-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.infra-gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.infra-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.infra-gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.infra-gallery-item:hover::after {
    opacity: 1;
}

/* Адаптивность инфраструктуры */
@media (max-width: 768px) {
    .infra-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-stat-card {
        padding: 20px 15px;
    }

    .infra-stat-value {
        font-size: 1.8rem;
    }

    .infra-category-header {
        padding: 20px;
        gap: 15px;
    }

    .infra-category-icon {
        width: 50px;
        height: 50px;
    }

    .infra-category-icon i {
        font-size: 1.4rem;
    }

    .infra-category-title {
        font-size: 1.1rem;
    }

    .infra-category-content {
        padding: 0 20px 20px;
    }

    .infra-features {
        grid-template-columns: 1fr;
    }

    .infra-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .infra-stats {
        grid-template-columns: 1fr;
    }

    .infra-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* ==============================================
   КОРПОРАТИВНОЕ УПРАВЛЕНИЕ (Corporate Governance)
   ============================================== */

.corporate-governance-block {
    padding: 60px 0;
    background: var(--gray-50);
}

/* Секции */
.cg-section {
    margin-bottom: 50px;
}

.cg-section:last-child {
    margin-bottom: 0;
}

.cg-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.cg-section-title i {
    font-size: 1.4rem;
    opacity: 0.8;
}

/* Карточки персон */
.cg-persons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cg-person-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cg-person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cg-person-card.cg-chairman {
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 25px rgba(0, 51, 102, 0.15);
}

.cg-person-card.cg-chairman::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0066cc);
}

.cg-person-photo {
    width: 100px;
    height: 100px;
    margin: 15px auto 10px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border: 3px solid #e8ecf1;
    flex-shrink: 0;
}

.cg-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.cg-person-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.cg-person-placeholder i {
    font-size: 2.5rem;
    color: var(--gray-400);
}

.cg-person-info {
    padding: 0 15px 15px;
    text-align: center;
}

.cg-person-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.3;
}

.cg-person-position {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 3px;
}

.cg-person-workplace {
    font-size: 0.7rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.35;
}

.cg-person-appointed {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.cg-person-bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.cg-person-bio-toggle:hover {
    color: #0066cc;
}

.cg-person-bio-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.cg-person-bio-toggle.expanded i {
    transform: rotate(180deg);
}

.cg-person-bio {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
    display: none;
}

.cg-person-bio.expanded {
    display: block;
}

/* Корпоративный секретарь */
.cg-secretary-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cg-secretary-card .cg-person-photo {
    width: 200px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 12px;
}

.cg-secretary-card .cg-person-info {
    padding: 0;
    flex: 1;
}

.cg-secretary-card .cg-person-bio {
    display: block;
    border-top: none;
    padding-top: 0;
    margin-top: 15px;
}

/* Комитеты */
.cg-committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cg-committee-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cg-committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cg-committee-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-committee-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.cg-committee-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
    line-height: 1.4;
}

.cg-committee-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cg-committee-doc:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Службы */
.cg-services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cg-service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.cg-service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cg-service-header:hover {
    background: var(--gray-50);
}

.cg-service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cg-service-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.cg-service-name {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.cg-service-arrow {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cg-service-card.expanded .cg-service-arrow {
    transform: rotate(180deg);
}

.cg-service-content {
    display: none;
    padding: 0 25px 25px;
    padding-left: 90px;
}

.cg-service-card.expanded .cg-service-content {
    display: block;
}

.cg-service-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 15px;
}

.cg-service-responsible {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 15px;
    padding: 12px 15px;
    background: var(--gray-50);
    border-radius: 8px;
}

.cg-service-docs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cg-service-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-decoration: none;
    padding: 10px 15px;
    background: var(--gray-50);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cg-service-doc-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.cg-service-doc-link i {
    font-size: 1.1rem;
}

/* Документы - табы */
.cg-docs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.cg-docs-tab {
    background: #fff;
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cg-docs-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cg-docs-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.cg-docs-content {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.cg-docs-panel {
    display: none;
}

.cg-docs-panel.active {
    display: block;
}

/* Документы по годам */
.cg-docs-years {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cg-docs-year {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.cg-docs-year-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--gray-50);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cg-docs-year-header:hover {
    background: var(--gray-100);
}

.cg-docs-year-header span:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.cg-docs-count {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 20px;
}

.cg-docs-year-header i {
    margin-left: auto;
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.cg-docs-year.expanded .cg-docs-year-header i {
    transform: rotate(180deg);
}

.cg-docs-year-content {
    display: none;
    padding: 15px 20px;
    background: #fff;
}

.cg-docs-year.expanded .cg-docs-year-content {
    display: block;
}

/* Список документов */
.cg-docs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cg-doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.cg-doc-link:hover {
    background: var(--gray-50);
    color: var(--primary-color);
}

.cg-doc-link i {
    color: #dc3545;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Кнопка текстового документа CG */
button.cg-doc-text-btn {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
button.cg-doc-text-btn:hover {
    background: #bbdefb;
    border-color: #64b5f6;
}
button.cg-doc-text-btn i {
    color: #1976d2;
}

/* Модальное окно для текста документа CG */
.cg-doc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.cg-doc-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cg-doc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.cg-doc-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}
.cg-doc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}
.cg-doc-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #003366;
    font-weight: 600;
}
.cg-doc-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}
.cg-doc-modal-close:hover {
    color: #dc3545;
}
.cg-doc-modal-body {
    padding: 25px;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

/* Адаптивность для корпоративного управления */
@media (max-width: 992px) {
    .cg-persons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cg-secretary-card {
        flex-direction: column;
    }

    .cg-secretary-card .cg-person-photo {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .cg-persons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .corporate-governance-block {
        padding: 40px 0;
    }

    .cg-section-title {
        font-size: 1.3rem;
    }

    .cg-persons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cg-person-photo {
        width: 80px;
        height: 80px;
    }

    .cg-committees-grid {
        grid-template-columns: 1fr;
    }

    .cg-docs-tabs {
        gap: 8px;
    }

    .cg-docs-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .cg-service-content {
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .cg-section {
        margin-bottom: 35px;
    }

    .cg-section-title {
        font-size: 1.15rem;
        gap: 10px;
    }

    .cg-persons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cg-person-photo {
        width: 70px;
        height: 70px;
    }

    .cg-service-header {
        padding: 15px;
    }

    .cg-service-icon {
        width: 40px;
        height: 40px;
    }

    .cg-service-name {
        font-size: 1rem;
    }

    .cg-docs-content {
        padding: 15px;
    }
}

/* ========================================
   PERSON MODAL (для карточек персонала)
   ======================================== */

.person-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.person-modal.active {
    display: flex;
    opacity: 1;
}

.person-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: personModalSlide 0.3s ease;
}

@keyframes personModalSlide {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.person-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    z-index: 10;
    transition: all 0.3s ease;
}

.person-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.person-modal-body {
    display: flex;
    gap: 30px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
}

.person-modal-photo {
    flex-shrink: 0;
    width: 250px;
}

.person-modal-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.person-modal-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #e8ecf1 0%, #d4dae3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.person-modal-placeholder i {
    font-size: 80px;
    color: #9aa3b0;
}

.person-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.person-modal-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #003366;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.person-modal-position {
    font-size: 1.1rem;
    color: #2d6ca3;
    font-weight: 600;
    margin-bottom: 8px;
}

.person-modal-workplace {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf1;
}

.person-modal-bio {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.person-modal-bio::-webkit-scrollbar {
    width: 5px;
}

.person-modal-bio::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.person-modal-bio::-webkit-scrollbar-thumb {
    background: #c4cdd6;
    border-radius: 3px;
}

/* Hover effect for person cards */
.cg-person-card,
.cg-secretary-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cg-person-card:hover,
.cg-secretary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive for person modal */
@media (max-width: 768px) {
    .person-modal-body {
        flex-direction: column;
        padding: 20px;
        padding-top: 50px;
    }

    .person-modal-photo {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .person-modal-photo img,
    .person-modal-placeholder {
        height: 250px;
    }

    .person-modal-name {
        font-size: 1.4rem;
        text-align: center;
    }

    .person-modal-position,
    .person-modal-workplace {
        text-align: center;
    }

    .person-modal-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .person-modal-content {
        border-radius: 12px;
    }

    .person-modal-body {
        padding: 15px;
        padding-top: 45px;
    }

    .person-modal-photo {
        max-width: 160px;
    }

    .person-modal-photo img,
    .person-modal-placeholder {
        height: 200px;
    }

    .person-modal-name {
        font-size: 1.2rem;
    }

    .person-modal-position {
        font-size: 1rem;
    }

    .person-modal-bio {
        font-size: 0.9rem;
    }
}

/* ========================================
   FACULTY PAGE BLOCK - Комплексный блок страницы факультета
   ======================================== */

.faculty-page-block {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.faculty-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ===== ЛЕВАЯ КОЛОНКА: КАФЕДРЫ ===== */
.faculty-departments-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    padding: 24px;
    position: sticky;
    top: 100px;
    border: 2px solid #e8ecf1;
}

.faculty-depts-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color, #003366);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8ecf1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faculty-depts-title i {
    color: var(--accent-color, #ffcc02);
}

.faculty-depts-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faculty-dept-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8f9fa;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faculty-dept-item:hover {
    background: #e3f2fd;
    border-color: var(--primary-color, #003366);
    transform: translateX(5px);
}

.faculty-dept-item.active {
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.faculty-dept-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color, #003366), #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faculty-dept-item.active .faculty-dept-icon {
    background: rgba(255, 255, 255, 0.2);
}

.faculty-dept-icon i {
    font-size: 1rem;
    color: white;
}

.faculty-dept-info {
    flex: 1;
    min-width: 0;
}

.faculty-dept-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800, #333);
    line-height: 1.3;
    margin-bottom: 3px;
}

.faculty-dept-item.active .faculty-dept-name {
    color: white;
}

.faculty-dept-head {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500, #666);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faculty-dept-item.active .faculty-dept-head {
    color: rgba(255, 255, 255, 0.8);
}

.faculty-dept-arrow {
    font-size: 0.75rem;
    color: var(--gray-400, #999);
    transition: transform 0.3s ease;
}

.faculty-dept-item:hover .faculty-dept-arrow {
    transform: translateX(3px);
    color: var(--primary-color, #003366);
}

.faculty-dept-item.active .faculty-dept-arrow {
    color: white;
}

/* ===== ПРАВАЯ КОЛОНКА: ОСНОВНОЙ КОНТЕНТ ===== */
.faculty-main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===== СЕКЦИЯ ДЕКАНА ===== */
.faculty-dean-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faculty-dean-card {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.faculty-dean-photo {
    width: 200px;
    height: 260px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faculty-dean-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-dean-info {
    flex: 1;
}

.faculty-dean-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color, #ffcc02), #ffd633);
    color: var(--primary-color, #003366);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.faculty-dean-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color, #003366);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.faculty-dean-position {
    font-size: 1rem;
    color: var(--gray-600, #555);
    margin: 0 0 5px 0;
}

.faculty-dean-degree {
    font-size: 0.9rem;
    color: var(--gray-500, #666);
    font-style: italic;
    margin: 0 0 20px 0;
}

.faculty-dean-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.faculty-dean-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-700, #444);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.faculty-dean-contact:hover {
    color: var(--primary-color, #003366);
}

.faculty-dean-contact i {
    color: var(--primary-color, #003366);
    font-size: 0.9rem;
}

.faculty-dean-schedule {
    background: linear-gradient(135deg, #fff8e1, #fffde7);
    border: 2px solid var(--accent-color, #ffcc02);
    border-radius: 12px;
    padding: 15px 20px;
}

.faculty-dean-schedule h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f57c00;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faculty-dean-schedule p {
    font-size: 0.85rem;
    color: var(--gray-700, #444);
    margin: 0;
    line-height: 1.6;
}

/* ===== СЕКЦИИ ИСТОРИЯ / О ФАКУЛЬТЕТЕ ===== */
.faculty-history-section,
.faculty-about-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
}

.faculty-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color, #003366);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color, #ffcc02);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faculty-section-title i {
    color: var(--accent-color, #ffcc02);
}

.faculty-section-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700, #444);
}

/* ===== СЕКЦИЯ ЦИТАТА ===== */
.faculty-quote-section {
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.faculty-quote-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.faculty-quote {
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
}

.faculty-quote > i {
    font-size: 3rem;
    color: var(--accent-color, #ffcc02);
    opacity: 0.5;
    margin-bottom: 15px;
    display: block;
}

.faculty-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    font-style: italic;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .faculty-layout {
        flex-direction: column;
        gap: 25px;
    }

    .faculty-departments-sidebar {
        width: 100%;
        position: static;
    }

    .faculty-depts-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .faculty-dept-item {
        flex: 1 1 calc(50% - 5px);
        min-width: 220px;
    }

    .faculty-dept-item:hover {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .faculty-page-block {
        padding: 25px 0;
    }

    .faculty-departments-sidebar {
        padding: 18px;
    }

    .faculty-depts-nav {
        flex-direction: column;
    }

    .faculty-dept-item {
        flex: 1 1 100%;
        padding: 12px 14px;
    }

    .faculty-dept-icon {
        width: 36px;
        height: 36px;
    }

    .faculty-dean-card {
        flex-direction: column;
        padding: 20px;
    }

    .faculty-dean-photo {
        width: 150px;
        height: 200px;
        margin: 0 auto;
    }

    .faculty-dean-name {
        font-size: 1.3rem;
        text-align: center;
    }

    .faculty-dean-badge {
        display: flex;
        justify-content: center;
    }

    .faculty-dean-contacts {
        flex-direction: column;
        gap: 10px;
    }

    .faculty-history-section,
    .faculty-about-section {
        padding: 20px;
    }

    .faculty-section-title {
        font-size: 1.1rem;
    }

    .faculty-quote-section {
        padding: 20px;
    }

    .faculty-quote > i {
        font-size: 2rem;
    }

    .faculty-quote p {
        font-size: 1rem;
    }
}


/* ========================================
   DEPARTMENT PAGE BLOCK - Комплексный блок страницы кафедры
   ======================================== */

.department-page-block {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* ===== СЕКЦИЯ ЗАВЕДУЮЩЕГО КАФЕДРОЙ ===== */
.department-head-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.department-head-card {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.department-head-photo {
    width: 200px;
    height: 260px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.department-head-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-head-info {
    flex: 1;
}

.department-head-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color, #ffcc02), #ffd633);
    color: var(--primary-color, #003366);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.department-head-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color, #003366);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.department-head-position {
    font-size: 1rem;
    color: var(--gray-600, #555);
    margin: 0 0 5px 0;
}

.department-head-degree {
    font-size: 0.9rem;
    color: var(--gray-500, #666);
    font-style: italic;
    margin: 0 0 20px 0;
}

.department-head-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.department-head-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-700, #444);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.department-head-contact:hover {
    color: var(--primary-color, #003366);
}

.department-head-contact i {
    color: var(--primary-color, #003366);
    font-size: 0.9rem;
}

.department-head-schedule {
    background: linear-gradient(135deg, #fff8e1, #fffde7);
    border: 2px solid var(--accent-color, #ffcc02);
    border-radius: 12px;
    padding: 15px 20px;
}

.department-head-schedule h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f57c00;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.department-head-schedule p {
    font-size: 0.85rem;
    color: var(--gray-700, #444);
    margin: 0;
    line-height: 1.6;
}

/* ===== СЕКЦИИ ИСТОРИЯ / НАУЧНАЯ / УЧЕБНАЯ ===== */
.department-history-section,
.department-science-section,
.department-education-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-bottom: 30px;
}

/* ===== СВОРАЧИВАЕМЫЕ СЕКЦИИ КАФЕДРЫ (стиль SMK) ===== */
.dept-collapse-section {
    margin-bottom: 15px;
}

.dept-collapse-title {
    cursor: pointer;
    padding: 18px 25px;
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
    border-radius: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dept-collapse-title:hover {
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.35);
    transform: translateY(-2px);
}

.dept-collapse-title > i:first-child {
    font-size: 1.1rem;
    opacity: 0.9;
}

.dept-collapse-title span {
    flex: 1;
}

.dept-collapse-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
    font-size: 0.9rem;
}

.dept-collapse-section.expanded .dept-collapse-arrow {
    transform: rotate(0deg);
}

.dept-collapse-content {
    display: none;
    padding: 25px;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-top: -8px;
}

.dept-collapse-section.expanded .dept-collapse-content {
    display: block;
}

.dept-collapse-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700, #444);
}

.department-section-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700, #444);
}

/* ===== СЕКЦИЯ ПРЕПОДАВАТЕЛИ ===== */
/* .department-teachers-section - стили убраны, использует dept-collapse-section */

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

.department-teacher-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.department-teacher-card:hover {
    background: #e3f2fd;
    border-color: var(--primary-color, #003366);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.15);
}

.department-teacher-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.department-teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-teacher-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    display: flex;
    align-items: center;
    justify-content: center;
}

.department-teacher-placeholder i {
    font-size: 1.8rem;
    color: white;
}

.department-teacher-info {
    min-height: 60px;
}

.department-teacher-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color, #003366);
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.department-teacher-position {
    font-size: 0.75rem;
    color: var(--gray-600, #555);
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.department-teacher-degree {
    font-size: 0.7rem;
    color: var(--gray-500, #666);
    font-style: italic;
    margin: 0;
}

/* ===== МОДАЛЬНОЕ ОКНО ПРЕПОДАВАТЕЛЯ ===== */
.teacher-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.teacher-modal.active {
    opacity: 1;
    visibility: visible;
}

.teacher-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.teacher-modal.active .teacher-modal-content {
    transform: scale(1);
}

.teacher-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.teacher-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.teacher-modal-body {
    padding: 30px;
    display: flex;
    gap: 25px;
}

.teacher-modal-photo {
    width: 180px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.teacher-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-modal-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-modal-placeholder i {
    font-size: 4rem;
    color: white;
}

.teacher-modal-info {
    flex: 1;
}

.teacher-modal-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color, #003366);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.teacher-modal-position {
    font-size: 1rem;
    color: var(--gray-600, #555);
    margin-bottom: 5px;
}

.teacher-modal-degree {
    font-size: 0.9rem;
    color: var(--gray-500, #666);
    font-style: italic;
    margin-bottom: 15px;
}

.teacher-modal-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.teacher-modal-email,
.teacher-modal-phone {
    font-size: 0.9rem;
    color: var(--gray-700, #444);
}

.teacher-modal-email a,
.teacher-modal-phone a {
    color: var(--primary-color, #003366);
    text-decoration: none;
}

.teacher-modal-email a:hover,
.teacher-modal-phone a:hover {
    text-decoration: underline;
}

.teacher-modal-email i,
.teacher-modal-phone i {
    color: var(--primary-color, #003366);
    margin-right: 8px;
}

.teacher-modal-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-700, #444);
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Структурированные секции биографии преподавателя */
.teacher-modal-sections {
    margin-top: 20px;
}

.teacher-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color, #003366);
}

.teacher-section h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: var(--primary-color, #003366);
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-section h4 i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.teacher-section-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-700, #444);
}

#teacher-disciplines-section {
    border-left-color: #1565c0;
}

#teacher-disciplines-section h4 {
    color: #1565c0;
}

#teacher-education-section {
    border-left-color: #2e7d32;
}

#teacher-education-section h4 {
    color: #2e7d32;
}

#teacher-qualifications-section {
    border-left-color: #e65100;
}

#teacher-qualifications-section h4 {
    color: #e65100;
}

#teacher-experience-section {
    border-left-color: #7b1fa2;
}

#teacher-experience-section h4 {
    color: #7b1fa2;
}

/* ===== RESPONSIVE для блока кафедры ===== */
@media (max-width: 768px) {
    .department-page-block {
        padding: 25px 0;
    }

    .department-head-card {
        flex-direction: column;
        padding: 20px;
    }

    .department-head-photo {
        width: 150px;
        height: 200px;
        margin: 0 auto;
    }

    .department-head-name {
        font-size: 1.3rem;
        text-align: center;
    }

    .department-head-badge {
        display: flex;
        justify-content: center;
    }

    .department-head-contacts {
        flex-direction: column;
        gap: 10px;
    }

    .department-history-section,
    .department-science-section,
    .department-education-section {
        padding: 20px;
    }

    .department-section-title {
        font-size: 1.1rem;
    }

    .department-teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .department-teacher-card {
        padding: 15px;
    }

    .department-teacher-photo {
        width: 80px;
        height: 80px;
    }

    .department-teacher-name {
        font-size: 0.85rem;
    }

    .teacher-modal-body {
        flex-direction: column;
        padding: 20px;
    }

    .teacher-modal-photo {
        width: 120px;
        height: 150px;
        margin: 0 auto;
    }

    .teacher-modal-name {
        font-size: 1.2rem;
        text-align: center;
    }

    .teacher-modal-position,
    .teacher-modal-degree {
        text-align: center;
    }
}

/* ===== СОЦСЕТИ ЗАВЕДУЮЩЕГО КАФЕДРОЙ ===== */
.department-head-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.department-head-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.department-head-social.facebook {
    background: linear-gradient(135deg, #1877f2, #3b5998);
}

.department-head-social.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.department-head-social:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== ГРАФИК ПРИЕМА ЗАВЕДУЮЩЕГО ===== */
.department-head-schedule {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-radius: 12px;
    border-left: 4px solid #2e7d32;
}

.department-head-schedule h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: #2e7d32;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.department-head-schedule h4 i {
    font-size: 1rem;
}

.department-head-schedule p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

/* ===== ГАЛЕРЕЯ МТБ ===== */
.mtb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.mtb-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mtb-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mtb-gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.mtb-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Модальное окно для галереи МТБ */
.mtb-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mtb-gallery-modal.active {
    display: flex;
}

.mtb-gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.mtb-gallery-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.mtb-gallery-modal-caption {
    text-align: center;
    color: white;
    font-size: 1rem;
    margin-top: 15px;
    padding: 0 20px;
}

.mtb-gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.mtb-gallery-modal-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .mtb-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mtb-gallery-caption {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
}

/* ===== СЕКЦИЯ БАЗЫ ПРАКТИК И ПАРТНЕРЫ ===== */
.practices-content {
    line-height: 1.8;
    color: #333;
}

.practices-content p {
    margin-bottom: 15px;
}

.practices-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.practices-content h1,
.practices-content h2,
.practices-content h3 {
    color: #003366;
    margin-top: 20px;
    margin-bottom: 10px;
}

.practices-content ul,
.practices-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.practices-content li {
    margin-bottom: 8px;
}

.practices-content a {
    color: #00796b;
    text-decoration: none;
}

.practices-content a:hover {
    text-decoration: underline;
}

/* ===== СЕКЦИЯ ОБРАЗОВАТЕЛЬНЫХ ПРОГРАММ ===== */
.department-programs-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-bottom: 30px;
}

.department-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.department-program-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #e3f2fd, #f5f5f5);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.department-program-card.has-link:hover {
    background: linear-gradient(135deg, #bbdefb, #e3f2fd);
    border-color: var(--primary-color, #003366);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.15);
}

.department-program-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.department-program-icon i {
    font-size: 1.3rem;
    color: white;
}

.department-program-info {
    flex: 1;
}

.department-program-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color, #003366);
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.department-program-code {
    display: inline-block;
    background: var(--accent-color, #ffcc02);
    color: var(--primary-color, #003366);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 15px;
    margin-right: 8px;
}

.department-program-degree {
    font-size: 0.8rem;
    color: var(--gray-600, #555);
}

.department-program-arrow {
    width: 35px;
    height: 35px;
    background: var(--primary-color, #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.department-program-arrow i {
    color: white;
    font-size: 0.9rem;
}

.department-program-card.has-link:hover .department-program-arrow {
    opacity: 1;
}

/* ===== СЕКЦИЯ ДОКУМЕНТОВ КАФЕДРЫ ===== */
.department-documents-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-bottom: 30px;
}

.department-documents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.department-document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px 20px;
    transition: all 0.2s ease;
}

.department-document-item:hover {
    background: #e9ecef;
}

.department-document-icon {
    width: 45px;
    height: 45px;
    background: #e3f2fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.department-document-icon i {
    font-size: 1.2rem;
    color: var(--primary-color, #003366);
}

.department-document-info {
    flex: 1;
}

.department-document-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800, #333);
}

.department-document-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.department-document-btn.file-btn {
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
}

.department-document-btn.file-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.department-document-btn.text-btn {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.department-document-btn.text-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

/* ===== МОДАЛЬНОЕ ОКНО ДОКУМЕНТА КАФЕДРЫ ===== */
.dept-doc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.dept-doc-modal.active {
    opacity: 1;
    visibility: visible;
}

.dept-doc-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.dept-doc-modal.active .dept-doc-modal-content {
    transform: scale(1);
}

.dept-doc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
}

.dept-doc-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.dept-doc-modal-close {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dept-doc-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.dept-doc-modal-body {
    padding: 25px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700, #444);
}

/* ===== СЕКЦИЯ СТУДЕНЧЕСКИХ ОРГАНИЗАЦИЙ КАФЕДРЫ ===== */
.department-organizations-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.department-organizations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.dept-organization-card {
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.dept-organization-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.15);
    border-color: rgba(0, 51, 102, 0.2);
}

.dept-org-banner {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.dept-org-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.dept-org-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dept-organization-card:hover .dept-org-banner img {
    transform: scale(1.05);
}

.dept-org-name {
    padding: 20px 20px 15px;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color, #003366);
    line-height: 1.4;
}

.dept-org-head {
    display: flex;
    gap: 15px;
    padding: 0 20px 20px;
    align-items: flex-start;
}

.dept-org-head-photo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color, #003366);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.dept-org-head-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dept-org-head-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dept-org-head-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color, #003366);
    font-weight: 600;
    opacity: 0.7;
}

.dept-org-head-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.dept-org-head-position {
    font-size: 0.85rem;
    color: #666;
}

.dept-org-head-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}

.dept-org-head-contacts a {
    font-size: 0.8rem;
    color: var(--primary-color, #003366);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.dept-org-head-contacts a:hover {
    color: #1a4d8c;
}

.dept-org-head-contacts a i {
    width: 14px;
    text-align: center;
    font-size: 0.75rem;
}

.dept-org-description {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    border-top: 1px solid rgba(0, 51, 102, 0.1);
    margin-top: 0;
    padding-top: 15px;
}

.dept-org-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 20px 20px;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.03), transparent);
    border-top: 1px solid rgba(0, 51, 102, 0.08);
}

.dept-org-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dept-org-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.dept-org-link i {
    font-size: 0.7rem;
}

/* Состав участников организации */
.dept-org-members {
    padding: 15px 20px 20px;
    background: linear-gradient(to bottom, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.1));
    border-top: 1px solid rgba(76, 175, 80, 0.2);
}

.dept-org-members-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dept-org-members-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.dept-org-members-table thead {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
}

.dept-org-members-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.dept-org-members-table th:first-child {
    width: 40px;
    text-align: center;
}

.dept-org-members-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e8f5e9;
    font-size: 0.85rem;
    color: #333;
}

.dept-org-members-table td:first-child {
    text-align: center;
    font-weight: 600;
    color: #4caf50;
}

.dept-org-members-table tbody tr:hover {
    background: #e8f5e9;
}

.dept-org-members-table tbody tr:last-child td {
    border-bottom: none;
}

/* Документы организации */
.dept-org-docs {
    padding: 15px 20px 20px;
    background: linear-gradient(to bottom, rgba(255, 152, 0, 0.05), rgba(255, 152, 0, 0.1));
    border-top: 1px solid rgba(255, 152, 0, 0.2);
}

.dept-org-docs-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e65100;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dept-org-docs-title i {
    font-size: 0.9rem;
}

.dept-org-doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid rgba(255, 152, 0, 0.2);
    transition: all 0.2s ease;
}

.dept-org-doc-item:hover {
    background: #fff3e0;
    border-color: #ff9800;
    transform: translateX(5px);
}

.dept-org-doc-item i:first-child {
    font-size: 1.2rem;
    color: #d32f2f;
    width: 24px;
    text-align: center;
}

.dept-org-doc-item span {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.dept-org-doc-arrow {
    font-size: 0.75rem;
    color: #999;
    transition: all 0.2s ease;
}

.dept-org-doc-item:hover .dept-org-doc-arrow {
    color: #ff9800;
    transform: translateX(3px);
}

/* ===== ПРЕВЬЮ КАРТОЧКИ ОРГАНИЗАЦИИ ===== */
.dept-org-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.dept-org-preview:hover {
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.15);
    border-color: var(--primary-color, #003366);
    transform: translateY(-2px);
}

.dept-org-preview-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #e8f4fc;
}

.dept-org-preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dept-org-preview-photo-empty {
    background: linear-gradient(135deg, #e8f4fc, #d4e8f7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-org-preview-photo-empty i {
    font-size: 1.5rem;
    color: var(--primary-color, #003366);
    opacity: 0.5;
}

.dept-org-preview-info {
    flex: 1;
    min-width: 0;
}

.dept-org-preview-name {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}

.dept-org-preview-head {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

.dept-org-preview-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #4caf50;
    font-weight: 500;
}

.dept-org-preview-count i {
    font-size: 0.75rem;
}

.dept-org-preview-arrow {
    color: #ccc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.dept-org-preview:hover .dept-org-preview-arrow {
    color: var(--primary-color, #003366);
    transform: translateX(4px);
}

/* ===== МОДАЛЬНОЕ ОКНО ОРГАНИЗАЦИИ ===== */
.org-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.org-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.org-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    margin: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.org-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
}

.org-modal-close:hover {
    background: #ff4444;
    color: white;
}

.org-modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #f8f9fa, #e8f4fc);
}

.org-modal-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color, #003366);
    padding-right: 40px;
}

.org-modal-body {
    padding: 0;
}

/* Руководитель в модалке */
.org-modal-head {
    display: flex;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(to bottom, #e8f4fc, white);
    border-bottom: 1px solid #e0e0e0;
}

.org-modal-head-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.org-modal-head-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-modal-head-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.org-modal-head-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary-color, #003366);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.org-modal-head-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.org-modal-head-position {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.org-modal-head-contacts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.org-modal-head-contacts a {
    font-size: 0.85rem;
    color: var(--primary-color, #003366);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.org-modal-head-contacts a:hover {
    text-decoration: underline;
}

/* Описание */
.org-modal-description {
    padding: 20px 30px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
}

/* Секции в модалке */
.org-modal-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.org-modal-section-title i {
    color: var(--primary-color, #003366);
}

.org-modal-members-count {
    font-weight: 400;
    color: #888;
    font-size: 0.9rem;
}

/* Документы в модалке */
.org-modal-docs {
    padding: 20px 30px;
    background: linear-gradient(to bottom, rgba(255, 152, 0, 0.05), rgba(255, 152, 0, 0.08));
    border-bottom: 1px solid rgba(255, 152, 0, 0.15);
}

.org-modal-docs .org-modal-section-title i {
    color: #e65100;
}

.org-modal-doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.org-modal-doc-item:last-child {
    margin-bottom: 0;
}

.org-modal-doc-item:hover {
    background: #fff8e1;
    border-color: #ff9800;
    transform: translateX(4px);
}

.org-modal-doc-item i:first-child {
    font-size: 1.2rem;
    color: #e65100;
}

.org-modal-doc-item span {
    flex: 1;
    font-size: 0.9rem;
}

.org-modal-doc-item i:last-child {
    font-size: 0.75rem;
    color: #999;
}

/* Состав участников в модалке */
.org-modal-members {
    padding: 20px 30px;
    background: linear-gradient(to bottom, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.08));
}

.org-modal-members .org-modal-section-title i {
    color: #2e7d32;
}

.org-modal-members-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.org-modal-members-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.org-modal-members-table thead {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
}

.org-modal-members-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.org-modal-members-table th:first-child {
    width: 50px;
    text-align: center;
}

.org-modal-members-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e8f5e9;
    font-size: 0.9rem;
    color: #333;
}

.org-modal-members-table td:first-child {
    text-align: center;
    font-weight: 600;
    color: #4caf50;
}

.org-modal-members-table tbody tr:hover {
    background: #e8f5e9;
}

.org-modal-members-table tbody tr:last-child td {
    border-bottom: none;
}

/* Ссылки в модалке */
.org-modal-links {
    padding: 20px 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: #f5f5f5;
}

.org-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.org-modal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

/* ===== RESPONSIVE для новых секций кафедры ===== */
@media (max-width: 768px) {
    .department-head-socials {
        justify-content: center;
    }

    .department-programs-section,
    .department-documents-section {
        padding: 20px;
    }

    .department-programs-grid {
        grid-template-columns: 1fr;
    }

    .department-program-card {
        padding: 15px;
    }

    .department-program-icon {
        width: 40px;
        height: 40px;
    }

    .department-program-name {
        font-size: 0.9rem;
    }

    .department-document-item {
        flex-wrap: wrap;
        padding: 12px 15px;
    }

    .department-document-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .dept-doc-modal-content {
        max-height: 90vh;
        border-radius: 16px;
    }

    .dept-doc-modal-header {
        padding: 15px 20px;
    }

    .dept-doc-modal-body {
        padding: 20px;
    }

    /* Модалка организации на мобильных */
    .org-modal {
        padding: 10px;
    }

    .org-modal-content {
        border-radius: 12px;
        max-height: 95vh;
    }

    .org-modal-header {
        padding: 20px 15px 15px;
    }

    .org-modal-title {
        font-size: 1.1rem;
        padding-right: 30px;
    }

    .org-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
        top: 12px;
        right: 12px;
    }

    .org-modal-head {
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .org-modal-head-photo {
        width: 80px;
        height: 80px;
    }

    .org-modal-head-contacts {
        justify-content: center;
    }

    .org-modal-description {
        padding: 15px;
    }

    .org-modal-docs,
    .org-modal-members,
    .org-modal-links {
        padding: 15px;
    }

    .org-modal-members-table-wrapper {
        margin: 0 -15px;
        border-radius: 0;
    }

    .org-modal-members-table {
        min-width: 500px;
    }

    /* Организации - мобильная версия */
    .department-organizations-section {
        padding: 20px;
    }

    .department-organizations-list {
        grid-template-columns: 1fr;
    }

    .dept-org-banner {
        height: 150px;
    }

    .dept-org-name {
        font-size: 1.05rem;
        padding: 15px 15px 12px;
    }

    .dept-org-head {
        padding: 0 15px 15px;
        gap: 12px;
    }

    .dept-org-head-photo {
        width: 60px;
        height: 60px;
    }

    .dept-org-description {
        padding: 12px 15px 15px;
    }

    .dept-org-links {
        padding: 12px 15px 15px;
    }
}


/* ========================================
   QUESTION MODAL - Форма "Задать вопрос"
   ======================================== */

/* Кнопка "Задать вопрос" в блоке профиля (в левой колонке под телефоном) */
.profile-photo-side .profile-question-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    margin-top: 15px;
}

.profile-photo-side .profile-question-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
    background: linear-gradient(135deg, #1a4d8c, #003366);
}

.profile-photo-side .profile-question-btn i {
    font-size: 1rem;
}

/* Модальное окно */
.question-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.question-modal.active {
    opacity: 1;
    visibility: visible;
}

.question-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.question-modal.active .question-modal-content {
    transform: scale(1) translateY(0);
}

.question-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
    color: white;
}

.question-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.question-modal-header {
    background: linear-gradient(135deg, var(--primary-color, #003366), #1a4d8c);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.question-modal-header i {
    font-size: 2rem;
    opacity: 0.9;
}

.question-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: white !important;
}

#question-form {
    padding: 30px;
}

.question-form-group {
    margin-bottom: 20px;
}

.question-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700, #444);
    margin-bottom: 8px;
}

.question-form-group label i {
    color: var(--primary-color, #003366);
    margin-right: 6px;
}

.question-form-group .required {
    color: #dc3545;
}

.question-form-group input,
.question-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.question-form-group input:focus,
.question-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color, #003366);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.question-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.question-form-row {
    display: flex;
    gap: 15px;
}

.question-form-row .question-form-group {
    flex: 1;
}

.question-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.question-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Результат отправки */
.question-success,
.question-error {
    text-align: center;
    padding: 40px 30px;
}

.question-success i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 15px;
    display: block;
}

.question-success p {
    font-size: 1.1rem;
    color: var(--gray-700, #444);
    margin: 0;
}

.question-error i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 15px;
    display: block;
}

.question-error p {
    font-size: 1rem;
    color: #dc3545;
    margin: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .question-modal-content {
        border-radius: 15px;
    }

    .question-modal-header {
        padding: 20px;
        border-radius: 15px 15px 0 0;
    }

    .question-modal-header h3 {
        font-size: 1.2rem;
    }

    #question-form {
        padding: 20px;
    }

    .question-form-row {
        flex-direction: column;
        gap: 0;
    }

    .profile-question-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ========================================
   CALL CENTER BLOCK - Контакты поддержки
   ======================================== */

.block-callcenter {
    padding: 60px 0;
    background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
}

.block-callcenter .container {
    max-width: 1000px;
}

.block-callcenter .block-section-title {
    text-align: center;
    margin-bottom: 20px;
}

.callcenter-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #444;
    max-width: 850px;
    margin: 0 auto 40px;
    line-height: 1.8;
    padding: 25px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    border-left: 4px solid var(--primary-color, #003366);
}

.callcenter-lines {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.callcenter-line-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    border: 1px solid rgba(0, 51, 102, 0.06);
    transition: all 0.3s ease;
}

.callcenter-line-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.15);
}

.callcenter-line-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.callcenter-line-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color, #003366) 0%, #1a5c99 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.25);
}

.callcenter-line-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.callcenter-line-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.callcenter-phone,
.callcenter-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color, #003366);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    border-radius: 10px;
    transition: all 0.2s ease;
    width: fit-content;
    border: 1px solid rgba(0, 51, 102, 0.1);
}

.callcenter-phone:hover,
.callcenter-email:hover {
    background: linear-gradient(135deg, #e0efff 0%, #d6e8f8 100%);
    transform: translateX(3px);
}

.callcenter-phone i,
.callcenter-email i {
    font-size: 0.85rem;
    color: var(--primary-color, #003366);
}

.callcenter-line-note {
    margin-top: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 3px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .callcenter-lines {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .block-callcenter {
        padding: 40px 0;
    }

    .callcenter-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 20px;
    }

    .callcenter-line-card {
        padding: 20px;
    }

    .callcenter-line-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .callcenter-line-title {
        font-size: 0.9rem;
    }

    .callcenter-phone,
    .callcenter-email {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* ========== BUTTON BLOCK ========== */
.block-button {
    padding: 30px 0;
}

.block-button .button-wrapper {
    display: flex;
}

.block-button-align-left .button-wrapper {
    justify-content: flex-start;
}

.block-button-align-center .button-wrapper {
    justify-content: center;
}

.block-button-align-right .button-wrapper {
    justify-content: flex-end;
}

.block-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

/* Button sizes */
.block-btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.block-btn-medium {
    padding: 14px 28px;
    font-size: 16px;
}

.block-btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Button styles */
.block-btn-primary {
    background: #003366;
    color: white;
    border-color: #003366;
}

.block-btn-primary:hover {
    background: #002244;
    border-color: #002244;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.block-btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.block-btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
}

.block-btn-success {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.block-btn-success:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-2px);
}

.block-btn-warning {
    background: #ffc107;
    color: #212529;
    border-color: #ffc107;
}

.block-btn-warning:hover {
    background: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.block-btn-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.block-btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
}

.block-btn-outline {
    background: transparent;
    color: #003366;
    border-color: #003366;
}

.block-btn-outline:hover {
    background: #003366;
    color: white;
    transform: translateY(-2px);
}

/* Button icon */
.block-btn i {
    font-size: 1em;
}

/* Responsive */
@media (max-width: 768px) {
    .block-button {
        padding: 20px 0;
    }

    .block-btn-small {
        padding: 8px 16px;
        font-size: 13px;
    }

    .block-btn-medium {
        padding: 12px 24px;
        font-size: 15px;
    }

    .block-btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* ========== ACCORDION TEXT BLOCK ========== */
.block-accordion-text {
    padding: 30px 0;
}

.accordion-text-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.accordion-text-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.accordion-text-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-text-item.expanded .accordion-text-header {
    background: linear-gradient(135deg, #003366 0%, #004488 100%);
}

.accordion-text-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #003366;
}

.accordion-text-item.expanded .accordion-text-title {
    color: #ffffff;
}

.accordion-text-title i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.accordion-text-arrow {
    color: #6c757d;
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-text-item.expanded .accordion-text-arrow {
    transform: rotate(180deg);
    color: #ffffff;
}

.accordion-text-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-text-item.expanded .accordion-text-content {
    max-height: 2000px;
}

.accordion-text-body {
    padding: 25px;
    line-height: 1.8;
    color: #333;
}

.accordion-text-body p {
    margin-bottom: 15px;
}

.accordion-text-body p:last-child {
    margin-bottom: 0;
}

.accordion-text-body ul,
.accordion-text-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.accordion-text-body li {
    margin-bottom: 8px;
}

.accordion-text-body h3,
.accordion-text-body h4 {
    margin: 20px 0 10px;
    color: #003366;
}

.accordion-text-body a {
    color: #003366;
    text-decoration: underline;
}

.accordion-text-body a:hover {
    color: #004488;
}

/* Responsive */
@media (max-width: 768px) {
    .block-accordion-text {
        padding: 20px 0;
    }

    .accordion-text-header {
        padding: 15px 20px;
    }

    .accordion-text-title {
        font-size: 1rem;
        gap: 10px;
    }

    .accordion-text-body {
        padding: 20px;
        font-size: 0.95rem;
    }
}

/* ========================================
   DORMITORY BLOCK - Блок общежития
======================================== */

.block-dormitory {
    padding: 40px 0;
}

/* CTA баннер подачи заявления - сверху страницы */
.dormitory-cta-banner {
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 50%, #0d47a1 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(21, 101, 192, 0.3);
    position: relative;
}

.dormitory-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.dormitory-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 35px;
}

.dormitory-cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.dormitory-cta-icon i {
    font-size: 36px;
    color: white;
}

.dormitory-cta-text {
    flex: 1;
}

.dormitory-cta-text h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 8px;
    font-weight: 700;
}

.dormitory-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 1rem;
}

.dormitory-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    white-space: nowrap;
}

.dormitory-cta-btn:hover {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.5);
    color: white;
}

.dormitory-cta-btn i {
    font-size: 1.2rem;
}

/* Responsive для CTA баннера */
@media (max-width: 992px) {
    .dormitory-cta-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 25px;
    }

    .dormitory-cta-icon {
        width: 70px;
        height: 70px;
    }

    .dormitory-cta-icon i {
        font-size: 30px;
    }

    .dormitory-cta-text {
        flex: 1 1 100%;
        order: 2;
        margin-top: 10px;
    }

    .dormitory-cta-btn {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .dormitory-cta-banner {
        margin-bottom: 25px;
        border-radius: 16px;
    }

    .dormitory-cta-content {
        padding: 20px;
    }

    .dormitory-cta-icon {
        width: 60px;
        height: 60px;
    }

    .dormitory-cta-icon i {
        font-size: 26px;
    }

    .dormitory-cta-text h3 {
        font-size: 1.25rem;
    }

    .dormitory-cta-text p {
        font-size: 0.9rem;
    }

    .dormitory-cta-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* Сетка общежитий - 2 в ряд */
.dormitories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.dormitory-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dormitory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.dormitory-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    flex-shrink: 0;
}

.dormitory-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
    display: block;
}

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

.dormitory-info {
    padding: 25px;
    flex: 1;
}

/* Общая информация под сеткой */
.dormitory-common-info {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dormitory-name {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dormitory-name i {
    color: #ff6b35;
}

.dormitory-address,
.dormitory-capacity,
.dormitory-free-places {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dormitory-address i,
.dormitory-capacity i,
.dormitory-free-places i {
    color: #003366;
    width: 20px;
}

.dormitory-free-places {
    color: #28a745;
    font-weight: 600;
}

.dormitory-free-places i {
    color: #28a745 !important;
}

.dormitory-manager {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.dormitory-manager h4 {
    font-size: 1rem;
    color: #003366;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dormitory-manager h4 i {
    color: #28a745;
}

.dormitory-manager .manager-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.dormitory-manager .manager-phone,
.dormitory-manager .manager-email {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dormitory-manager .manager-phone i,
.dormitory-manager .manager-email i {
    color: #003366;
    width: 16px;
}

.dormitory-manager a {
    color: #003366;
    text-decoration: none;
}

.dormitory-manager a:hover {
    text-decoration: underline;
}

/* Секции общежития */
.dormitory-section {
    padding: 25px 30px;
    border-top: 1px solid #e9ecef;
}

.dormitory-section h4 {
    font-size: 1.1rem;
    color: #003366;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dormitory-section h4 i {
    color: #ff6b35;
}

/* Документы для заселения */
.dormitory-documents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.dormitory-documents-header h4 {
    margin-bottom: 0 !important;
}

.dormitory-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.dormitory-apply-btn:hover {
    background: linear-gradient(135deg, #218838, #1aa179);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.dormitory-apply-btn i {
    font-size: 1rem;
}

.dormitory-documents .documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.dormitory-documents .documents-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
}

.dormitory-documents .documents-list li i {
    color: #28a745;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Порядок подачи заявления */
.dormitory-procedure .procedure-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: procedure-counter;
}

.dormitory-procedure .procedure-list li {
    counter-increment: procedure-counter;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed #e9ecef;
    font-size: 1rem;
    color: #333;
}

.dormitory-procedure .procedure-list li:last-child {
    border-bottom: none;
}

.dormitory-procedure .procedure-list li::before {
    content: counter(procedure-counter);
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366, #004488);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Контактное лицо */
.dormitory-contact .contact-info {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
}

.dormitory-contact .contact-name {
    font-size: 1.1rem;
    color: #003366;
    margin-bottom: 10px;
}

.dormitory-contact .contact-position {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.dormitory-contact .contact-phone,
.dormitory-contact .contact-email,
.dormitory-contact .contact-whatsapp {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dormitory-contact .contact-phone i,
.dormitory-contact .contact-email i {
    color: #003366;
    width: 16px;
}

.dormitory-contact .contact-whatsapp i {
    color: #25d366;
    width: 16px;
}

.dormitory-contact a {
    color: #003366;
    text-decoration: none;
}

.dormitory-contact a:hover {
    text-decoration: underline;
}

/* Примечание */
.dormitory-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border-top: 1px solid #e9ecef;
}

.dormitory-note i {
    color: #856404;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.dormitory-note p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #856404;
}

/* Дополнительный текст */
.dormitory-text {
    background: #f8f9fa;
}

.dormitory-text-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.dormitory-text-content p {
    margin-bottom: 1rem;
}

.dormitory-text-content p:last-child {
    margin-bottom: 0;
}

.dormitory-text-content ul,
.dormitory-text-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.dormitory-text-content li {
    margin-bottom: 0.5rem;
}

.dormitory-text-content h1,
.dormitory-text-content h2,
.dormitory-text-content h3 {
    color: #003366;
    margin-bottom: 1rem;
}

.dormitory-text-content a {
    color: #003366;
    text-decoration: underline;
}

.dormitory-text-content a:hover {
    color: #004488;
}

/* Документы для скачивания */
.dormitory-files-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.dormitory-file-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dormitory-file-item:hover {
    background: #f8f9fa;
    border-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dormitory-file-item .file-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    border-radius: 10px;
    flex-shrink: 0;
}

.dormitory-file-item .file-icon i {
    font-size: 1.3rem;
    color: #1976d2;
}

.dormitory-file-item .file-icon i.fa-file-pdf {
    color: #d32f2f;
}

.dormitory-file-item .file-icon i.fa-file-word {
    color: #1565c0;
}

.dormitory-file-item .file-icon i.fa-file-excel {
    color: #2e7d32;
}

.dormitory-file-item .file-info {
    flex: 1;
    min-width: 0;
}

.dormitory-file-item .file-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.dormitory-file-item .file-size {
    font-size: 0.8rem;
    color: #888;
}

.dormitory-file-item .file-download-icon {
    color: #003366;
    font-size: 1.1rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.dormitory-file-item:hover .file-download-icon {
    opacity: 1;
}

/* Responsive */
/* Tablet - 1 в ряд */
@media (max-width: 992px) {
    .dormitories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dormitory-card {
        flex-direction: row;
    }

    .dormitory-image {
        width: 300px;
        padding-top: 0;
        height: 180px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .block-dormitory {
        padding: 20px 0;
    }

    .dormitories-grid {
        gap: 15px;
        margin-bottom: 25px;
    }

    .dormitory-card {
        flex-direction: column;
    }

    .dormitory-image {
        width: 100%;
        padding-top: 56.25%;
        height: auto;
    }

    .dormitory-files-list {
        grid-template-columns: 1fr;
    }

    .dormitory-info {
        padding: 20px;
    }

    .dormitory-name {
        font-size: 1.25rem;
    }

    .dormitory-section {
        padding: 20px;
    }

    .dormitory-documents .documents-list {
        grid-template-columns: 1fr;
    }

    .dormitory-documents-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dormitory-apply-btn {
        width: 100%;
        justify-content: center;
    }

    .dormitory-note {
        padding: 15px 20px;
    }
}

/* ========== BACHELOR ADMISSION BLOCK ========== */
/* ==================== DOCTORAL ADMISSION BLOCK ==================== */
.block-doctoral-admission {
    padding: 40px 0 60px;
}

.doct-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.doct-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f0c850);
    border-radius: 2px;
}

.doct-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}
.doct-nav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.doct-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,51,102,0.12);
    border-color: #003366;
}
.doct-nav-icon {
    width: 44px; height: 44px; min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #003366, #006699);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
}
.doct-nav-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    color: #003366;
}

.doct-section {
    margin-bottom: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.doct-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8edf2;
}
.doct-section-title i {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #003366, #006699);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px;
}
.doct-section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 10px 0;
}

/* Documents */
.doct-documents-list {
    list-style: none;
    padding: 0;
    counter-reset: doc-counter;
}
.doct-documents-list > li {
    counter-increment: doc-counter;
    position: relative;
    padding: 14px 14px 14px 55px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #003366;
    font-size: 15px;
    line-height: 1.6;
    transition: background 0.2s;
}
.doct-documents-list > li:hover {
    background: #eef2f7;
}
.doct-documents-list > li::before {
    content: counter(doc-counter) ")";
    position: absolute;
    left: 16px;
    top: 14px;
    font-weight: 700;
    color: #003366;
    font-size: 15px;
}
.doct-doc-subitems {
    margin-top: 12px;
}
.doct-doc-subcategory {
    margin-bottom: 8px;
}
.doct-doc-subcategory strong {
    color: #003366;
    display: block;
    margin-bottom: 4px;
}
.doct-doc-subcategory ul {
    list-style: disc;
    padding-left: 20px;
    margin: 4px 0 0;
}
.doct-doc-subcategory ul li {
    padding: 3px 0;
    font-size: 14px;
}
.doct-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5;
}
.doct-warning i {
    color: #e6a800;
    font-size: 18px;
    margin-top: 2px;
}

/* Deadlines */
.doct-deadlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.doct-deadline-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f4f8, #e8edf2);
    border-radius: 14px;
    border: 1px solid #d0d8e0;
    transition: transform 0.2s;
}
.doct-deadline-card:hover {
    transform: translateY(-2px);
}
.doct-deadline-icon {
    width: 50px; height: 50px; min-width: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #003366, #006699);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px;
}
.doct-deadline-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}
.doct-deadline-value {
    font-size: 17px;
    font-weight: 700;
    color: #003366;
}

/* State Order & Tables */
.doct-state-order-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    font-weight: 500;
}
.doct-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}
.doct-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.doct-table th {
    background: linear-gradient(135deg, #003366, #004080);
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}
.doct-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e9ecef;
    color: #444;
    font-size: 14px;
}
.doct-table tbody tr:hover td {
    background: #f8f9fa;
}
.doct-table-total td {
    font-weight: 700;
    background: #f0f4f8 !important;
    color: #003366;
    border-top: 2px solid #003366;
}
.doct-table-gre th {
    font-size: 12px;
    white-space: normal;
}
.doct-table-gre td {
    font-size: 13px;
}
.doct-th-code {
    min-width: 200px;
}

/* Testing */
.doct-testing-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}
.doct-testing-text p {
    margin-bottom: 12px;
}
.doct-cert-notes {
    background: #f0f4f8;
    padding: 16px 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.doct-cert-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}
.doct-cert-note i {
    color: #003366;
    margin-top: 3px;
}
.doct-admission-conditions {
    font-size: 15px;
    line-height: 1.7;
    margin: 20px 0;
}
.doct-admission-conditions ul {
    padding-left: 20px;
}
.doct-admission-conditions li {
    margin-bottom: 6px;
}
.doct-subsection-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #003366;
    margin: 30px 0 12px;
}
.doct-scoring-note {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Programs */
.doct-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.doct-program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.doct-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,51,102,0.12);
}
.doct-program-header {
    padding: 20px;
    background: linear-gradient(135deg, #003366, #004d80);
    color: white;
}
.doct-program-code {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.doct-program-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.doct-program-body {
    padding: 18px 20px;
    flex: 1;
}
.doct-program-info {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}
.doct-program-label {
    color: #888;
    white-space: nowrap;
}
.doct-program-value {
    color: #333;
    font-weight: 500;
}
.doct-program-group-tag {
    background: #e8edf2;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #003366;
}
.doct-program-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-top: 10px;
}
.doct-program-footer {
    padding: 14px 20px;
    border-top: 1px solid #e8edf2;
    display: flex;
    gap: 10px;
    align-items: center;
}
.doct-program-essay-link,
.doct-program-more-link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}
.doct-program-essay-link {
    color: #003366;
    background: #e8edf2;
}
.doct-program-essay-link:hover {
    background: #003366;
    color: white;
}
.doct-program-more-link {
    color: white;
    background: linear-gradient(135deg, #003366, #006699);
    margin-left: auto;
}
.doct-program-more-link:hover {
    background: linear-gradient(135deg, #004080, #0077b3);
}

/* Contacts */
.doct-contacts-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}
.doct-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}
.doct-contact-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    transition: all 0.3s;
}
.doct-contact-card:hover {
    box-shadow: 0 6px 25px rgba(0,51,102,0.1);
}
.doct-contact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4f8, #e8edf2);
}
.doct-contact-avatar {
    width: 60px; height: 60px; min-width: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #006699);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px;
    overflow: hidden;
}
.doct-contact-avatar img {
    width: 100%; height: 100%; object-fit: cover;
}
.doct-contact-name {
    font-size: 16px;
    font-weight: 700;
    color: #003366;
    margin: 0 0 4px;
}
.doct-contact-position {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.doct-contact-department {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
.doct-contact-details {
    padding: 16px 20px;
}
.doct-contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #444;
}
.doct-contact-detail i {
    width: 32px; height: 32px; min-width: 32px;
    border-radius: 8px;
    background: #f0f4f8;
    display: flex; align-items: center; justify-content: center;
    color: #003366; font-size: 14px;
}
.doct-contact-detail a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
}
.doct-contact-detail a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .doct-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    .doct-programs-grid {
        grid-template-columns: 1fr;
    }
    .doct-contacts-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .doct-nav {
        grid-template-columns: 1fr;
    }
    .doct-nav-card {
        padding: 14px 16px;
    }
    .doct-section {
        padding: 20px 16px;
    }
    .doct-main-title {
        font-size: 1.6rem;
    }
    .doct-section-title {
        font-size: 1.2rem;
    }
    .doct-table th, .doct-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
    .doct-deadlines-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== END DOCTORAL ADMISSION BLOCK ==================== */

/* ==================== MASTER ADMISSION BLOCK ==================== */
.block-master-admission {
    padding: 40px 0 60px;
}

.mast-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a5276;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.mast-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2980b9, #5dade2);
    border-radius: 2px;
}

.mast-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}
.mast-nav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.mast-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26,82,118,0.12);
    border-color: #1a5276;
}
.mast-nav-icon {
    width: 44px; height: 44px; min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
}
.mast-nav-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    color: #1a5276;
}

.mast-section {
    margin-bottom: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.mast-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a5276;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8edf2;
}
.mast-section-title i {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px;
}
.mast-section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2980b9, transparent);
    margin: 10px 0;
}

/* Documents - 3 columns */
.mast-docs-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.mast-docs-column {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-top: 3px solid #1a5276;
}
.mast-docs-column-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}
.mast-docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: mast-doc-counter;
}
.mast-docs-list li {
    counter-increment: mast-doc-counter;
    position: relative;
    padding: 8px 8px 8px 35px;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 6px;
    transition: background 0.2s;
}
.mast-docs-list li:hover {
    background: #eef2f7;
}
.mast-docs-list li::before {
    content: counter(mast-doc-counter) ")";
    position: absolute;
    left: 8px;
    font-weight: 700;
    color: #1a5276;
    font-size: 13px;
}
.mast-doc-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: #e8f4fd;
    border-left: 4px solid #2980b9;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.5;
    font-style: italic;
    color: #555;
}
.mast-doc-note i {
    color: #2980b9;
    font-size: 16px;
    margin-top: 2px;
}

/* Deadlines */
.mast-deadlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.mast-deadline-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f4f8, #e8edf2);
    border-radius: 14px;
    border: 1px solid #d0d8e0;
    transition: transform 0.2s;
}
.mast-deadline-card:hover {
    transform: translateY(-2px);
}
.mast-deadline-icon {
    width: 50px; height: 50px; min-width: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px;
}
.mast-deadline-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}
.mast-deadline-value {
    font-size: 17px;
    font-weight: 700;
    color: #1a5276;
}

/* Cost table */
.mast-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}
.mast-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.mast-table th {
    background: linear-gradient(135deg, #1a5276, #21618c);
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}
.mast-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e9ecef;
    color: #444;
    font-size: 14px;
}
.mast-table tbody tr:hover td {
    background: #f8f9fa;
}
.mast-table-compact th {
    padding: 10px 14px;
    font-size: 12px;
}
.mast-table-compact td {
    padding: 10px 14px;
    font-size: 13px;
}
.mast-price {
    font-weight: 700;
    color: #1a5276;
    text-align: center;
    white-space: nowrap;
}

/* Testing */
.mast-testing-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}
.mast-testing-text p {
    margin-bottom: 12px;
}
.mast-subsection-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a5276;
    margin: 30px 0 15px;
}
.mast-test-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}
.mast-test-type-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #2980b9;
}
.mast-test-type-num {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 16px;
}
.mast-test-type-content {
    flex: 1;
}
.mast-test-type-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 8px 0;
}
.mast-test-type-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}
.mast-test-type-scores {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.mast-score-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.mast-score-max {
    background: #e8f5e9;
    color: #2e7d32;
}
.mast-score-threshold {
    background: #fff3e0;
    color: #e65100;
}
.mast-test-type-details {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}
.mast-cert-note-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    background: #e8f5e9;
    border-left: 4px solid #2e7d32;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.5;
}
.mast-cert-note-block i {
    color: #2e7d32;
    font-size: 18px;
    margin-top: 2px;
}
.mast-cert-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.mast-cert-table-block {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}
.mast-cert-table-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #2980b9;
}
.mast-admission-conditions {
    font-size: 15px;
    line-height: 1.7;
    margin: 20px 0;
    padding: 16px 20px;
    background: #f0f4f8;
    border-radius: 10px;
    border-left: 4px solid #1a5276;
}

/* MBA */
.mast-mba-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}
.mast-mba-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26,82,118,0.3);
}
.mast-mba-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,82,118,0.4);
    background: linear-gradient(135deg, #21618c, #3498db);
}

/* Programs */
.mast-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.mast-program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.mast-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26,82,118,0.12);
}
.mast-program-header {
    padding: 20px;
    background: linear-gradient(135deg, #1a5276, #2471a3);
    color: white;
}
.mast-program-code {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.mast-program-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.mast-program-body {
    padding: 18px 20px;
    flex: 1;
}
.mast-program-info {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}
.mast-program-label {
    color: #888;
    white-space: nowrap;
}
.mast-program-value {
    color: #333;
    font-weight: 500;
}
.mast-program-group-tag {
    background: #e8edf2;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #1a5276;
}
.mast-program-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-top: 10px;
}
.mast-program-disciplines {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e8edf2;
}
.mast-program-disc-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 8px;
}
.mast-program-disc-title i {
    margin-right: 4px;
}
.mast-program-disc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mast-program-disc-list li {
    padding: 4px 0;
    font-size: 13px;
}
.mast-disc-link {
    color: #2980b9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.mast-disc-link:hover {
    color: #1a5276;
    text-decoration: underline;
}
.mast-disc-link i {
    font-size: 10px;
    margin-left: 4px;
}
.mast-disc-nolink {
    color: #888;
}
.mast-program-footer {
    padding: 14px 20px;
    border-top: 1px solid #e8edf2;
    display: flex;
    justify-content: flex-end;
}
.mast-program-more-link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    transition: all 0.2s;
}
.mast-program-more-link:hover {
    background: linear-gradient(135deg, #21618c, #3498db);
}

/* Contacts */
.mast-contacts-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}
.mast-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}
.mast-contact-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    transition: all 0.3s;
}
.mast-contact-card:hover {
    box-shadow: 0 6px 25px rgba(26,82,118,0.1);
}
.mast-contact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4f8, #e8edf2);
}
.mast-contact-avatar {
    width: 60px; height: 60px; min-width: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px;
}
.mast-contact-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 4px;
}
.mast-contact-position {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.mast-contact-department {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
.mast-contact-details {
    padding: 16px 20px;
}
.mast-contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #444;
}
.mast-contact-detail i {
    width: 32px; height: 32px; min-width: 32px;
    border-radius: 8px;
    background: #f0f4f8;
    display: flex; align-items: center; justify-content: center;
    color: #1a5276; font-size: 14px;
}
.mast-contact-detail a {
    color: #1a5276;
    text-decoration: none;
    font-weight: 500;
}
.mast-contact-detail a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .mast-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    .mast-programs-grid {
        grid-template-columns: 1fr;
    }
    .mast-contacts-grid {
        grid-template-columns: 1fr;
    }
    .mast-docs-columns {
        grid-template-columns: 1fr;
    }
    .mast-cert-tables {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .mast-nav {
        grid-template-columns: 1fr;
    }
    .mast-nav-card {
        padding: 14px 16px;
    }
    .mast-section {
        padding: 20px 16px;
    }
    .mast-main-title {
        font-size: 1.6rem;
    }
    .mast-section-title {
        font-size: 1.2rem;
    }
    .mast-table th, .mast-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
    .mast-deadlines-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== END MASTER ADMISSION BLOCK ==================== */

/* ==================== INTERNATIONAL STUDENTS BLOCK ==================== */

.block-international-students { padding: 40px 0 60px; }

.intl-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #003366;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}
.intl-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #003366, #d4af37);
    border-radius: 2px;
}

.intl-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #d4af37, #c9a032);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.intl-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Navigation */
.intl-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}
.intl-nav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.intl-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #003366;
}
.intl-nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.intl-nav-text {
    font-weight: 600;
    font-size: 14px;
    color: #003366;
}

/* Sections */
.intl-section {
    margin-bottom: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    scroll-margin-top: 80px;
}
.intl-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}
.intl-section-title i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.intl-collapsible .intl-section-title {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 40px;
}
.intl-collapsible .intl-section-title::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    font-size: 14px;
    color: #003366;
    transition: transform 0.3s;
}
.intl-collapsible.intl-expanded .intl-section-title::after {
    transform: rotate(180deg);
}
.intl-collapsible .intl-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.intl-collapsible.intl-expanded .intl-section-body {
    max-height: 5000px;
}
.intl-section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 10px 0;
}
.intl-subsection-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #003366;
    margin: 30px 0 16px;
}

/* Text content */
.intl-text-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.intl-text-content p { margin-bottom: 12px; }
.intl-text-content a { color: #003366; text-decoration: underline; }
.intl-text-content a:hover { color: #006699; }
.intl-text-content strong { color: #003366; }
.intl-text-content ul, .intl-text-content ol { margin-left: 20px; margin-bottom: 12px; }
.intl-text-content li { margin-bottom: 6px; line-height: 1.6; }

.intl-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.intl-link-btn:hover {
    background: linear-gradient(135deg, #004080, #0077b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,51,102,0.3);
}

/* Steps */
.intl-steps { display: flex; flex-direction: column; gap: 16px; }
.intl-step-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}
.intl-step-card:hover { background: #eef2f7; }
.intl-step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
}
.intl-step-content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}
.intl-step-content a { color: #003366; text-decoration: underline; font-weight: 600; }
.intl-step-content a:hover { color: #006699; }

/* Activities intro */
.intl-activities-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}
.intl-activities-intro a { color: #003366; text-decoration: underline; font-weight: 600; }

/* Service Cards */
.intl-service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.intl-service-card {
    background: #f8f9fa;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e8edf2;
}
.intl-service-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.intl-service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0f4f8, #e8edf2);
}
.intl-service-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.intl-service-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #003366;
    margin: 0;
}
.intl-service-card-list {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
}
.intl-service-card-list li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}
.intl-service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #003366;
}

/* Events */
.intl-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.intl-event-card {
    background: #f8f9fa;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s;
}
.intl-event-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.intl-event-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.intl-event-title {
    font-size: 15px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
}
.intl-event-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}
.intl-event-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.intl-event-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e8edf2;
}
.intl-event-links { display: flex; flex-wrap: wrap; gap: 8px; }
.intl-event-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #e8edf2;
    color: #003366;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}
.intl-event-link:hover { background: #003366; color: white; }

/* Entry rules */
.intl-entry-rules-text ul, .intl-entry-rules-text ol { margin-left: 20px; margin-bottom: 15px; }
.intl-entry-rules-text li { margin-bottom: 8px; line-height: 1.6; }
.intl-entry-rules-text h3, .intl-entry-rules-text h4 { color: #003366; margin: 20px 0 10px; }
.intl-entry-rules-text a { color: #003366; text-decoration: underline; }

/* Contacts */
.intl-contacts-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}
.intl-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}
.intl-contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border: 1px solid #e8edf2;
    overflow: hidden;
    transition: all 0.3s;
}
.intl-contact-card:hover { box-shadow: 0 6px 25px rgba(0,0,0,0.1); }
.intl-contact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4f8, #e8edf2);
}
.intl-contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #006699);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.intl-contact-name {
    font-size: 16px;
    font-weight: 700;
    color: #003366;
    margin: 0 0 4px;
}
.intl-contact-position {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.intl-contact-department {
    font-size: 12px;
    color: #888;
}
.intl-contact-details { padding: 16px 20px; }
.intl-contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #444;
}
.intl-contact-detail i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f4f8;
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.intl-contact-detail a {
    color: #003366;
    text-decoration: none;
}
.intl-contact-detail a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 992px) {
    .intl-main-title { font-size: 1.8rem; }
    .intl-nav { grid-template-columns: repeat(2, 1fr); }
    .intl-service-cards-grid { grid-template-columns: 1fr; }
    .intl-events-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .intl-main-title { font-size: 1.5rem; }
    .intl-nav { grid-template-columns: 1fr; gap: 10px; }
    .intl-section { padding: 20px; }
    .intl-section-title { font-size: 1.2rem; }
    .intl-step-card { flex-direction: column; gap: 10px; }
    .intl-contacts-grid { grid-template-columns: 1fr; }
    .intl-cta-btn { padding: 12px 24px; font-size: 1rem; }
}

/* ==================== END INTERNATIONAL STUDENTS BLOCK ==================== */

.block-bachelor-admission {
    padding: 40px 0 60px;
}

.bach-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
    text-align: center;
}

/* Навигация по секциям */
.bach-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.bach-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.bach-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.bach-nav-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.bach-nav-text {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Секции */
.bach-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.bach-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.bach-section-title i {
    color: #667eea;
    font-size: 1.3rem;
}

/* Info cards */
.bach-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.bach-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: #fff;
    border-radius: 12px;
    font-size: 1.3rem;
}

.bach-info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

.bach-info-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* Подсекции */
.bach-subsection {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.bach-subsection:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bach-subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bach-subsection-title i {
    color: #667eea;
}

/* Документы список */
.bach-documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bach-documents-list li {
    padding: 12px 15px 12px 40px;
    position: relative;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #333;
}

.bach-documents-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
}

/* Стоимость обучения - табы */
.bach-tuition-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.bach-tuition-tab {
    padding: 10px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bach-tuition-tab:hover {
    background: #e0e0e0;
}

.bach-tuition-tab.active {
    background: #667eea;
    color: #fff;
}

.bach-tuition-panel {
    display: none;
}

.bach-tuition-panel.active {
    display: block;
}

.bach-tuition-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bach-tuition-table thead {
    background: #667eea;
    color: #fff;
}

.bach-tuition-table th {
    padding: 14px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.bach-tuition-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.bach-tuition-table tbody tr:last-child td {
    border-bottom: none;
}

.bach-tuition-table tbody tr:hover {
    background: #f8f9ff;
}

.bach-tuition-empty {
    padding: 30px;
    text-align: center;
    color: #888;
    background: #f9f9f9;
    border-radius: 10px;
}

/* Грантовый конкурс */
.bach-grant-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #fff8e5;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
}

.bach-grant-info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffc107;
    color: #fff;
    border-radius: 10px;
    font-size: 1.2rem;
}

.bach-grant-info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 3px;
}

.bach-grant-info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.bach-grant-docs h4,
.bach-grant-npa h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 12px;
}

.bach-grant-docs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.bach-grant-docs-list li {
    padding: 10px 15px 10px 35px;
    position: relative;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.bach-grant-docs-list li:before {
    content: '\f15b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 0.8rem;
}

/* НПА файлы */
.bach-grant-npa-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bach-npa-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8f9ff;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.bach-npa-file:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.bach-npa-file i:first-child {
    font-size: 1.3rem;
    color: #dc3545;
}

.bach-npa-file:hover i:first-child {
    color: #fff;
}

.bach-npa-file span {
    flex: 1;
    font-size: 0.95rem;
}

.bach-npa-file i:last-child {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Таблицы грантов */
.bach-grant-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.bach-grant-table-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bach-grant-table-wrapper h4 {
    padding: 15px 18px;
    background: #f8f9fa;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
}

.bach-grant-table {
    width: 100%;
    border-collapse: collapse;
}

.bach-grant-table th {
    padding: 12px 15px;
    text-align: left;
    background: #667eea;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.bach-grant-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.bach-grant-table tbody tr:last-child td {
    border-bottom: none;
}

/* Образовательные программы */
.bach-programs-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.bach-filter-search {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.bach-filter-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.bach-filter-search input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.bach-filter-search input:focus {
    outline: none;
    border-color: #667eea;
}

.bach-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bach-filter-group label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.bach-filter-group select {
    padding: 12px 35px 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center/12px;
    cursor: pointer;
    appearance: none;
}

.bach-filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* Карточки программ */
.bach-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.bach-program-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.bach-program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.bach-program-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.bach-program-code {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 5px;
}

.bach-program-name {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.bach-program-body {
    padding: 18px 20px;
    flex: 1;
}

.bach-program-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.bach-program-label {
    color: #666;
    flex-shrink: 0;
}

.bach-program-value {
    color: #333;
    font-weight: 500;
}

.bach-program-group-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 15px;
    font-size: 0.8rem;
}

.bach-program-score {
    color: #28a745;
    font-weight: 700;
}

.bach-program-desc-wrapper {
    position: relative;
    margin: 12px 0;
}

.bach-program-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bach-program-desc.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.bach-program-desc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 10px;
    font-size: 0.8rem;
    color: #1a73e8;
    background: #e8f0fe;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bach-program-desc-toggle:hover {
    background: #d2e3fc;
    color: #1557b0;
}

.bach-program-desc-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.bach-program-desc-toggle.expanded i {
    transform: rotate(180deg);
}

.bach-program-career {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.bach-program-career .bach-program-label {
    color: #888;
}

.bach-program-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eee;
}

.bach-program-dept-link,
.bach-program-more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.bach-program-dept-link {
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
}

.bach-program-dept-link:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.bach-program-more-link {
    color: #fff;
    background: #667eea;
}

.bach-program-more-link:hover {
    background: #5567d5;
}

.bach-programs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #888;
    text-align: center;
}

.bach-programs-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.bach-programs-empty p {
    font-size: 1rem;
    margin: 0;
}

.bach-no-data {
    text-align: center;
    color: #888;
    padding: 40px;
}

/* Контакты */
.bach-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.bach-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid #e8ebf5;
}

.bach-contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: #fff;
    border-radius: 12px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.bach-contact-telegram .bach-contact-icon {
    background: #0088cc;
}

.bach-contact-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.bach-contact-value {
    font-size: 1rem;
    color: #1a1a2e;
    font-weight: 500;
}

.bach-phone-link,
.bach-email-link,
.bach-telegram-link {
    display: block;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.bach-phone-link:hover,
.bach-email-link:hover,
.bach-telegram-link:hover {
    color: #5054a5;
    text-decoration: underline;
}

.bach-telegram-link {
    color: #0088cc;
}

/* Социальные сети */
.bach-social-links {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.bach-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.bach-social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.bach-social-link.facebook {
    background: #1877f2;
}

.bach-social-link.youtube {
    background: #ff0000;
}

.bach-social-link.tiktok {
    background: #000;
}

.bach-social-link:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .bach-nav {
        grid-template-columns: 1fr;
    }

    .bach-nav-card {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding: 18px 20px;
    }

    .bach-nav-icon {
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    .bach-grant-tables {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .block-bachelor-admission {
        padding: 30px 0 40px;
    }

    .bach-main-title {
        font-size: 1.6rem;
    }

    .bach-section {
        padding: 20px;
        border-radius: 12px;
    }

    .bach-section-title {
        font-size: 1.25rem;
    }

    .bach-tuition-tabs {
        flex-direction: column;
    }

    .bach-tuition-tab {
        width: 100%;
        text-align: center;
    }

    .bach-tuition-table {
        font-size: 0.85rem;
    }

    .bach-tuition-table th,
    .bach-tuition-table td {
        padding: 10px 12px;
    }

    .bach-programs-grid {
        grid-template-columns: 1fr;
    }

    .bach-filter-search {
        min-width: 100%;
    }

    .bach-filter-group {
        width: 100%;
    }

    .bach-filter-group select {
        flex: 1;
    }

    .bach-contacts-grid {
        grid-template-columns: 1fr;
    }

    .bach-program-footer {
        flex-direction: column;
    }

    .bach-program-dept-link,
    .bach-program-more-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bach-info-card {
        flex-direction: column;
        text-align: center;
    }

    .bach-grant-info {
        flex-direction: column;
        text-align: center;
    }

    .bach-contact-card {
        flex-direction: column;
        text-align: center;
    }

    .bach-contact-icon {
        margin: 0 auto;
    }

    .bach-social-links {
        justify-content: center;
    }
}

/* Дополнительные стили для bachelor_admission */

/* Разделитель между секциями */
.bach-section-divider {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 40px 0;
}

/* Сроки обучения */
.bach-duration-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.bach-duration-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #f8f9ff;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.bach-duration-item i {
    color: #667eea;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.bach-duration-item span {
    font-size: 0.95rem;
    color: #333;
}

.bach-duration-item strong {
    color: #1a1a2e;
    font-weight: 700;
}

.bach-duration-notes {
    display: flex;
    gap: 12px;
    padding: 15px 18px;
    background: #fff8e5;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin-top: 15px;
}

.bach-duration-notes > i {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 2px;
}

.bach-duration-notes div {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Примечание к документам для грантов */
.bach-grant-docs-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #e3f2fd;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 3px solid #2196f3;
}

.bach-grant-docs-note i {
    color: #2196f3;
    margin-top: 2px;
}

.bach-grant-docs-note span {
    font-size: 0.88rem;
    color: #444;
    font-style: italic;
}

/* Нумерованный список для грантов */
ol.bach-grant-docs-list {
    list-style: decimal;
    padding-left: 25px;
    margin: 0;
}

ol.bach-grant-docs-list li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: #333;
    border-bottom: 1px dashed #e0e0e0;
}

ol.bach-grant-docs-list li:last-child {
    border-bottom: none;
}

/* Отключаем иконку документа для нумерованных списков */
ol.bach-grant-docs-list li:before {
    content: none;
}

/* Полноширинная таблица грантов */
.bach-grant-table-full {
    width: 100%;
}

.bach-grant-table-full th:first-child {
    width: 100px;
}

.bach-grant-table-full th:last-child {
    width: 80px;
    text-align: center;
}

.bach-grant-table-full td:last-child {
    text-align: center;
    font-weight: 600;
    color: #2e7d32;
}

/* Таблица стоимости обучения wrapper */
.bach-tuition-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bach-tuition-table th:nth-child(n+3),
.bach-tuition-table td:nth-child(n+3) {
    text-align: center;
    white-space: nowrap;
}

.bach-tuition-table th:first-child {
    width: 100px;
}

/* Футер программы */
.bach-program-footer {
    flex-direction: column;
    gap: 8px;
}

.bach-program-dept-link {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.82rem;
    padding: 10px 14px;
}

.bach-program-dept-link span {
    white-space: normal;
    text-align: left;
}

.bach-program-more-link {
    width: auto;
    align-self: flex-end;
}

/* Контакт на всю ширину */
.bach-contact-full {
    grid-column: 1 / -1;
}

/* WhatsApp иконка */
.bach-social-link.whatsapp {
    background: #25d366;
}

@media (min-width: 769px) {
    .bach-program-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .bach-program-dept-link {
        width: auto;
        flex: 1;
    }

    .bach-program-more-link {
        flex-shrink: 0;
    }
}

/* ==============================================
   EDUCATIONAL PROGRAM BLOCK STYLES
   ============================================== */

.block-educational-program {
    padding: 60px 0;
    background: #fff;
}

/* Navigation */
.ep-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.ep-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 2px solid transparent;
}

.ep-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.2);
    border-color: #7b1fa2;
    background: #fce4ec;
    color: #7b1fa2;
}

.ep-nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7b1fa2, #ba68c8);
    border-radius: 12px;
    margin-bottom: 12px;
}

.ep-nav-icon i {
    font-size: 22px;
    color: white;
}

.ep-nav-text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* Content Sections */
.ep-content-section {
    scroll-margin-top: 100px;
}

/* Header */
.ep-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #7b1fa2 0%, #ba68c8 100%);
    border-radius: 20px;
    color: white;
}

.ep-header-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.ep-header-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Classification Grid - Область, Направление, Группа ОП */
.ep-classification-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.ep-class-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f4fc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e1bee7;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ep-class-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.1);
}

.ep-class-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.ep-class-content {
    flex: 1;
}

.ep-class-label {
    font-size: 11px;
    color: #7b1fa2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.ep-class-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

/* Degree Card - Присваиваемая степень */
.ep-degree-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 50%, #ba68c8 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    color: white;
}

.ep-degree-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.ep-degree-icon i {
    font-size: 28px;
    color: white;
}

.ep-degree-content {
    flex: 1;
}

.ep-degree-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.ep-degree-value {
    font-size: 20px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

/* Professional Sphere Section */
.ep-prof-sphere-section .ep-section-title i {
    color: #00796b;
}

/* Qualifications Section */
.ep-qualifications-section .ep-section-title i {
    color: #1976d2;
}

/* Disciplines Text Section (с форматированием) */
.ep-disciplines-text-section .ep-section-title i {
    color: #388e3c;
}

.ep-disciplines-formatted {
    white-space: normal;
}

.ep-disciplines-formatted ul,
.ep-disciplines-formatted ol {
    margin: 10px 0;
    padding-left: 25px;
}

.ep-disciplines-formatted li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.ep-disciplines-formatted h1,
.ep-disciplines-formatted h2,
.ep-disciplines-formatted h3 {
    color: #333;
    margin: 15px 0 10px;
}

/* Info Grid */
.ep-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ep-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 4px solid #7b1fa2;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ep-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ep-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7b1fa2, #ba68c8);
    border-radius: 12px;
    flex-shrink: 0;
}

.ep-info-icon i {
    font-size: 22px;
    color: white;
}

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

.ep-info-label {
    font-size: 12px;
    color: #7b1fa2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.ep-info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Sections */
.ep-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.ep-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ep-section-title i {
    color: #7b1fa2;
    font-size: 24px;
}

.ep-section-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    white-space: pre-line;
}

/* Goal Section */
.ep-goal-section .ep-section-title i {
    color: #e91e63;
}

/* Unique Section */
.ep-unique-section .ep-section-title i {
    color: #ff9800;
}

/* Accreditation */
.ep-accred-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: none;
}

.ep-accred-section .ep-section-title i {
    color: #e65100;
}

.ep-accred-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ep-accred-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.ep-accred-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e65100;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    align-self: flex-start;
}

.ep-accred-btn:hover {
    background: #bf360c;
    transform: translateY(-2px);
    color: white;
}

/* Disciplines */
.ep-disciplines-section .ep-section-title i {
    color: #2e7d32;
}

.ep-disciplines-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.ep-discipline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    background: #e8f5e9;
    border-radius: 10px;
    transition: transform 0.2s, background 0.2s;
}

.ep-discipline-item:hover {
    transform: translateX(5px);
    background: #c8e6c9;
}

.ep-discipline-item i {
    color: #2e7d32;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ep-discipline-item span {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

/* Teachers */
.ep-teachers-section .ep-section-title i {
    color: #1565c0;
}

.ep-teachers-table-wrapper {
    overflow-x: auto;
}

.ep-teachers-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.ep-teachers-table thead {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    color: white;
}

.ep-teachers-table th {
    padding: 15px 20px;
    font-weight: 600;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ep-teachers-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e3f2fd;
    font-size: 15px;
}

.ep-teachers-table tbody tr:hover {
    background: #e3f2fd;
}

.ep-teachers-table tbody tr:last-child td {
    border-bottom: none;
}

.ep-teacher-num {
    width: 60px;
    text-align: center;
    font-weight: 600;
    color: #1565c0;
}

.ep-teacher-disc {
    color: #555;
}

.ep-teacher-name {
    font-weight: 500;
    color: #333;
}

.ep-teacher-name a {
    color: #1565c0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.ep-teacher-name a:hover {
    color: #0d47a1;
}

.ep-teacher-name a i {
    font-size: 12px;
}

/* Professional Standards */
.ep-standards-section .ep-section-title i {
    color: #c2185b;
}

.ep-standards-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.ep-standards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ep-standard-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    background: #fce4ec;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.2s, background 0.2s;
}

.ep-standard-item:last-child {
    margin-bottom: 0;
}

.ep-standard-item:hover {
    transform: translateX(5px);
    background: #f8bbd9;
}

.ep-standard-item > i {
    color: #c2185b;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ep-standard-item span,
.ep-standard-item a {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

.ep-standard-item a {
    color: #c2185b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.ep-standard-item a:hover {
    color: #880e4f;
}

.ep-standard-item a i.fa-external-link-alt {
    font-size: 12px;
}

/* Documents */
.ep-documents-section .ep-section-title i {
    color: #424242;
}

.ep-doc-groups {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ep-doc-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--group-color, #7b1fa2);
}

.ep-doc-group-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--group-color, #7b1fa2);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ep-doc-group-title i {
    font-size: 20px;
}

.ep-doc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ep-doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
}

.ep-doc-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
}

.ep-doc-item > i.fa-file-pdf {
    color: #d32f2f;
    font-size: 24px;
    flex-shrink: 0;
}

.ep-doc-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.ep-doc-action {
    color: #7b1fa2;
    font-size: 14px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .ep-header {
        padding: 30px 20px;
    }

    .ep-header-title {
        font-size: 26px;
    }

    .ep-section {
        padding: 25px 20px;
    }

    .ep-section-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .block-educational-program {
        padding: 40px 0;
    }

    .ep-header {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .ep-header-code {
        font-size: 12px;
        padding: 6px 15px;
    }

    .ep-header-title {
        font-size: 22px;
    }

    .ep-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ep-info-card {
        padding: 20px;
    }

    .ep-section {
        padding: 20px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .ep-section-title {
        font-size: 18px;
        flex-wrap: wrap;
    }

    .ep-disciplines-list {
        grid-template-columns: 1fr;
    }

    .ep-discipline-item {
        padding: 12px 15px;
    }

    .ep-teachers-table th,
    .ep-teachers-table td {
        padding: 12px 15px;
        font-size: 14px;
    }

    .ep-teacher-num {
        width: 40px;
    }

    .ep-standard-item {
        padding: 12px 15px;
    }

    .ep-doc-group {
        padding: 20px 15px;
    }

    .ep-doc-item {
        padding: 12px 15px;
    }

    .ep-doc-item > i.fa-file-pdf {
        font-size: 20px;
    }

    .ep-doc-name {
        font-size: 14px;
    }

    .ep-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ep-nav-card {
        padding: 15px 10px;
    }

    .ep-nav-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .ep-nav-icon i {
        font-size: 18px;
    }

    .ep-nav-text {
        font-size: 12px;
    }

    /* Classification Grid responsive */
    .ep-classification-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ep-class-card {
        padding: 15px;
    }

    .ep-class-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .ep-class-label {
        font-size: 10px;
    }

    .ep-class-value {
        font-size: 14px;
    }

    /* Degree Card responsive */
    .ep-degree-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .ep-degree-icon {
        width: 50px;
        height: 50px;
    }

    .ep-degree-icon i {
        font-size: 22px;
    }

    .ep-degree-value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ep-header-title {
        font-size: 20px;
    }

    .ep-nav {
        grid-template-columns: 1fr 1fr;
    }

    .ep-nav-card {
        padding: 12px 8px;
    }

    .ep-nav-text {
        font-size: 11px;
    }

    .ep-info-icon {
        width: 40px;
        height: 40px;
    }

    .ep-info-icon i {
        font-size: 18px;
    }

    .ep-accred-btn {
        width: 100%;
        justify-content: center;
    }

    .ep-teachers-table thead {
        display: none;
    }

    .ep-teachers-table tbody tr {
        display: block;
        margin-bottom: 15px;
        background: #e3f2fd;
        border-radius: 10px;
        padding: 15px;
    }

    .ep-teachers-table tbody td {
        display: block;
        padding: 5px 0;
        border-bottom: none;
    }

    .ep-teachers-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1565c0;
        display: block;
        font-size: 12px;
        margin-bottom: 3px;
    }

    .ep-teacher-num {
        width: auto;
        text-align: left;
    }
}

/* ========== MINOR PROGRAMS BLOCK ========== */

.block-minor-programs {
    padding: 60px 0;
}

/* Main Title */
.minor-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 25px;
    text-align: center;
}

/* Intro Text */
.minor-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Apply Button Wrapper */
.minor-apply-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.minor-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.3);
}

.minor-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.4);
    color: white;
}

.minor-apply-btn i {
    font-size: 20px;
}

/* Programs Grid */
.minor-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Program Card */
.minor-program-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s, box-shadow 0.3s;
}

.minor-program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Program Header */
.minor-program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e3f2fd;
}

.minor-program-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a237e;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* Presentation Link */
.minor-presentation-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    color: white;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.minor-presentation-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    color: white;
}

.minor-presentation-link i {
    font-size: 16px;
}

/* Disciplines */
.minor-disciplines {
    margin-top: 15px;
}

.minor-disciplines-title {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.minor-disciplines-title i {
    color: #7b1fa2;
    font-size: 16px;
}

.minor-disciplines-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.minor-discipline-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    transition: background 0.2s;
}

.minor-discipline-item:hover {
    background: #e8e8e8;
}

.minor-discipline-item i {
    color: #4caf50;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.minor-discipline-item span {
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
    .minor-programs-grid {
        grid-template-columns: 1fr;
    }

    .minor-main-title {
        font-size: 28px;
    }

    .minor-program-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .block-minor-programs {
        padding: 40px 0;
    }

    .minor-main-title {
        font-size: 24px;
    }

    .minor-intro-text {
        font-size: 15px;
    }

    .minor-apply-btn {
        padding: 14px 30px;
        font-size: 16px;
    }

    .minor-program-header {
        flex-direction: column;
        gap: 15px;
    }

    .minor-program-name {
        font-size: 18px;
    }

    .minor-presentation-link {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .minor-main-title {
        font-size: 20px;
    }

    .minor-apply-btn {
        width: 100%;
        justify-content: center;
    }

    .minor-program-card {
        padding: 20px 15px;
    }

    .minor-discipline-item {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* ========== Vacant Grants Block ========== */
.block-vacant-grants {
    padding: 40px 0;
    background: #f8f9fa;
}

.vg-announcement {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #003087;
}

.vg-announcement-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.vg-deadline {
    font-size: 18px;
    color: #003087;
    margin-bottom: 10px;
}

.vg-phone {
    font-size: 16px;
    color: #555;
}

.vg-phone a {
    color: #003087;
    text-decoration: none;
    font-weight: 600;
}

.vg-phone a:hover {
    text-decoration: underline;
}

.vg-grants-section,
.vg-applicants-section {
    margin-bottom: 40px;
}

.vg-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #003087;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #003087;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vg-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.vg-table thead {
    background: #003087;
    color: #fff;
}

.vg-table thead th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.vg-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.vg-table tbody tr:hover {
    background: #f8f9fa;
}

.vg-table tbody tr:last-child {
    border-bottom: none;
}

.vg-table tbody td {
    padding: 14px 12px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.vg-table tbody td:first-child {
    font-weight: 600;
    color: #003087;
}

/* Responsive */
@media (max-width: 992px) {
    .vg-table thead th,
    .vg-table tbody td {
        padding: 12px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .block-vacant-grants {
        padding: 30px 0;
    }

    .vg-announcement {
        padding: 20px;
        margin-bottom: 30px;
    }

    .vg-announcement-text {
        font-size: 15px;
    }

    .vg-section-title {
        font-size: 18px;
    }

    .vg-table thead th,
    .vg-table tbody td {
        padding: 10px 8px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .vg-announcement {
        padding: 15px;
    }

    .vg-deadline {
        font-size: 16px;
    }
}

/* ========== SCHEDULE BLOCK ========== */
.block-schedule {
    padding: 50px 0;
    background: #f8f9fa;
}

.block-schedule .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация по расписанию */
.schedule-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.schedule-nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.schedule-nav-classes {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 2px solid transparent;
}

.schedule-nav-classes:hover {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.3);
}

.schedule-nav-exams {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
    border: 2px solid transparent;
}

.schedule-nav-exams:hover {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.3);
}

.schedule-nav-item i {
    font-size: 20px;
}

@media (max-width: 600px) {
    .schedule-nav {
        flex-direction: column;
        gap: 10px;
    }

    .schedule-nav-item {
        padding: 15px 20px;
        font-size: 14px;
    }

    .schedule-nav-item i {
        font-size: 18px;
    }
}

/* Секции расписания */
.schedule-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.schedule-section:last-child {
    margin-bottom: 0;
}

/* Заголовки секций */
.schedule-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.schedule-classes-title {
    color: #1565c0;
}

.schedule-classes-title i {
    color: #1e88e5;
}

.schedule-exams-title {
    color: #c62828;
}

.schedule-exams-title i {
    color: #e53935;
}

/* Категории расписания занятий */
.schedule-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-category {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.schedule-category:hover {
    border-color: #1565c0;
    box-shadow: 0 2px 10px rgba(21, 101, 192, 0.1);
}

.schedule-category.expanded {
    border-color: #1565c0;
}

.schedule-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.schedule-category-header:hover {
    background: #e3f2fd;
}

.schedule-category.expanded .schedule-category-header {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

.schedule-category.expanded .schedule-category-title {
    color: white;
}

.schedule-category.expanded .schedule-category-title i {
    color: rgba(255, 255, 255, 0.9);
}

.schedule-category.expanded .schedule-category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.schedule-category.expanded .schedule-arrow {
    color: white;
    transform: rotate(180deg);
}

.schedule-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.schedule-category-title i {
    color: #1565c0;
    font-size: 18px;
}

.schedule-category-count {
    background: #1565c0;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.schedule-arrow {
    color: #6c757d;
    font-size: 14px;
    transition: transform 0.3s ease, color 0.2s ease;
}

.schedule-category-content {
    display: none;
    padding: 0 20px 20px;
    background: white;
}

.schedule-category.expanded .schedule-category-content {
    display: block;
}

/* Ссылки на расписания */
.schedule-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
}

.schedule-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    color: #1565c0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.schedule-link:hover {
    background: #bbdefb;
    transform: translateX(5px);
    color: #0d47a1;
}

.schedule-link i {
    font-size: 12px;
    opacity: 0.7;
}

/* Дополнительные документы */
.schedule-docs {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px dashed #e9ecef;
}

.schedule-docs-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
}

.schedule-docs-title i {
    color: #6c757d;
}

.schedule-docs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    color: #e65100;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.schedule-doc-link:hover {
    background: #ffe0b2;
    transform: translateX(5px);
    color: #bf360c;
}

.schedule-doc-link i:first-child {
    font-size: 18px;
}

.schedule-doc-link span {
    flex: 1;
}

.schedule-doc-arrow {
    font-size: 12px;
    opacity: 0.6;
}

/* Период сессии */
.schedule-session-period {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 1px solid #ffd54f;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.session-period-content {
    font-size: 15px;
    line-height: 1.8;
    color: #5d4037;
}

.session-period-content strong {
    color: #e65100;
}

/* Ссылки на расписания экзаменов */
.schedule-exams-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.schedule-exam-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 1px solid #ef9a9a;
    border-radius: 10px;
    color: #c62828;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.schedule-exam-link:hover {
    background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.2);
    color: #b71c1c;
}

.schedule-exam-link i:first-child {
    font-size: 20px;
}

.schedule-exam-link span {
    flex: 1;
}

.schedule-exam-link i:last-child {
    font-size: 12px;
    opacity: 0.6;
}

/* Документы экзаменов (памятка) */
.schedule-exams-docs {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid #c8e6c9;
}

.schedule-exams-docs .schedule-docs-title {
    color: #2e7d32;
}

.schedule-exams-docs .schedule-docs-title i {
    color: #43a047;
}

.schedule-memo-link {
    background: white;
    border-color: #a5d6a7;
    color: #2e7d32;
}

.schedule-memo-link:hover {
    background: #c8e6c9;
    color: #1b5e20;
}

/* Адаптивность */
@media (max-width: 768px) {
    .block-schedule {
        padding: 30px 0;
    }

    .schedule-section {
        padding: 20px;
        border-radius: 12px;
    }

    .schedule-section-title {
        font-size: 20px;
        flex-wrap: wrap;
    }

    .schedule-category-header {
        padding: 14px 16px;
    }

    .schedule-category-title {
        font-size: 14px;
    }

    .schedule-link {
        padding: 10px 14px;
        font-size: 13px;
    }

    .schedule-exams-links {
        grid-template-columns: 1fr;
    }

    .schedule-exam-link {
        padding: 14px 16px;
        font-size: 14px;
    }

    .schedule-session-period {
        padding: 15px 18px;
    }

    .session-period-content {
        font-size: 14px;
    }

    .schedule-doc-link {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* ========== SURVEYS BLOCK ========== */
.block-surveys {
    padding: 50px 0;
}

.block-surveys .block-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.surveys-description {
    text-align: center;
    color: #666;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.surveys-categories {
    max-width: 900px;
    margin: 0 auto;
}

.surveys-category {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

.surveys-category:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.surveys-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: background 0.3s ease;
}

.surveys-category-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.surveys-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 17px;
    color: #003366;
}

.surveys-category-title i {
    font-size: 22px;
    color: #00a0e3;
}

.surveys-count {
    background: #003366;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 5px;
}

.surveys-arrow {
    color: #6c757d;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.surveys-category.expanded .surveys-arrow {
    transform: rotate(180deg);
}

.surveys-category-content {
    display: none;
    padding: 0 25px 25px;
    background: #fafafa;
}

.surveys-category.expanded .surveys-category-content {
    display: block;
}

.surveys-subcategory {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.surveys-subcategory:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.surveys-subcategory-title {
    font-weight: 600;
    font-size: 15px;
    color: #1565c0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.surveys-subcategory-title i {
    font-size: 14px;
}

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

.surveys-links-direct {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.survey-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.survey-link:hover {
    background: #003366;
    color: white;
    border-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,51,102,0.2);
}

.survey-link i {
    font-size: 12px;
    color: #00a0e3;
    flex-shrink: 0;
}

.survey-link:hover i {
    color: white;
}

.survey-link span {
    line-height: 1.3;
}

.surveys-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.surveys-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.surveys-empty p {
    font-size: 16px;
}

/* Responsive Surveys */
@media (max-width: 768px) {
    .block-surveys {
        padding: 30px 0;
    }

    .block-surveys .block-section-title {
        font-size: 22px;
    }

    .surveys-category-header {
        padding: 15px 18px;
    }

    .surveys-category-title {
        font-size: 15px;
    }

    .surveys-category-content {
        padding: 0 18px 18px;
    }

    .surveys-links {
        grid-template-columns: 1fr;
    }

    .survey-link {
        padding: 12px 15px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .surveys-category-title i {
        font-size: 18px;
    }

    .surveys-count {
        font-size: 11px;
        padding: 2px 8px;
    }
}

/* Ombudsman block теперь использует стили anticorruption (.block-anticorruption) */

/* ========================================
   Academic Mobility Block Styles
   ======================================== */

.block-academic-mobility {
    padding: 40px 0 60px;
}

/* Info Cards Row */
.am-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.am-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.am-info-card:hover {
    border-color: #003366;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
}

a.am-info-card:hover {
    transform: translateY(-2px);
}

.am-info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-info-card-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.am-info-card-content {
    flex: 1;
    min-width: 0;
}

.am-info-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #003366;
    line-height: 1.4;
    margin-bottom: 5px;
}

.am-info-card-action {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.am-info-card-action i {
    font-size: 0.75rem;
}

.am-info-card-count {
    background: #003366;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.am-info-card-position {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.am-info-card-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.am-info-card-contacts a {
    color: #003366;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.am-info-card-contacts a:hover {
    color: #f9a825;
}

.am-info-card-contacts i {
    width: 16px;
    text-align: center;
}

/* Toggle card */
.am-info-card-toggle {
    cursor: pointer;
    position: relative;
}

.am-info-card-toggle .am-card-toggle {
    color: #666;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.am-info-card-toggle.expanded .am-card-toggle {
    transform: rotate(180deg);
}

/* Documents Dropdown */
.am-documents-dropdown {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: -10px;
}

.am-info-card-toggle.expanded + .am-documents-dropdown {
    display: flex;
}

/* Calendar Table */
.am-calendar-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.am-calendar-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: #fff;
    font-weight: 600;
}

.am-calendar-header .am-calendar-cell {
    padding: 15px 20px;
    font-size: 0.95rem;
}

.am-calendar-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    transition: background 0.2s;
}

.am-calendar-row:last-child {
    border-bottom: none;
}

.am-calendar-row:hover {
    background: #f8f9fa;
}

.am-calendar-cell {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.am-calendar-program {
    font-weight: 500;
    color: #003366;
}

.am-calendar-dates,
.am-calendar-study {
    color: #666;
    font-size: 0.9rem;
}

.am-calendar-dates i,
.am-calendar-study i {
    color: #003366;
    font-size: 0.85rem;
}

/* Periods List */
.am-periods-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.am-period-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    border-left: 4px solid #003366;
}

.am-period-dates {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #003366;
    min-width: 250px;
}

.am-period-dates i {
    color: #f9a825;
}

.am-period-desc {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .am-period-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .am-period-dates {
        min-width: auto;
    }
}

/* Steps Timeline */
.am-steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.am-step {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 25px;
}

.am-step:last-child {
    padding-bottom: 0;
}

.am-step:last-child::before {
    display: none;
}

.am-step::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.am-step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.am-step-content {
    flex: 1;
    padding-top: 8px;
}

.am-step-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 5px;
}

.am-step-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Partners Grid */
.am-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.am-partner-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.am-partner-card:hover {
    border-color: #003366;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
}

.am-partner-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.am-partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.am-partner-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.am-partner-name {
    font-size: 1rem;
    font-weight: 600;
    color: #003366;
    line-height: 1.4;
}

.am-partner-country {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.am-partner-country i {
    color: #f9a825;
    font-size: 0.85rem;
}

.am-partner-link {
    margin-top: auto;
    padding-top: 10px;
    color: #003366;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.am-partner-link:hover {
    color: #f9a825;
}

/* Navigation */
.am-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    border-radius: 12px;
}

.am-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.am-nav-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.am-nav-item i {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Financing */
.am-financing-intro {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.am-financing-sources {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.am-financing-sources li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.am-financing-sources li:hover {
    border-color: #28a745;
}

.am-financing-sources li i {
    color: #28a745;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Participant Years */
.am-participant-years {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.am-participant-year-block {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.am-participant-year-block:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.am-participant-year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    color: white;
    cursor: pointer;
    user-select: none;
}

.am-participant-year-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.am-participant-year-info i {
    font-size: 1.1rem;
}

.am-participant-year-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.am-participant-count {
    font-size: 0.85rem;
    opacity: 0.9;
}

.am-participant-year-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.am-order-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.am-order-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.am-year-toggle {
    transition: transform 0.3s;
}

.am-participant-year-block.collapsed .am-year-toggle {
    transform: rotate(-90deg);
}

.am-participant-year-content {
    padding: 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.am-participant-year-block.collapsed .am-participant-year-content {
    display: none;
}

.am-participants-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.am-participants-table th,
.am-participants-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.am-participants-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #003366;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.am-participants-table tbody tr:hover {
    background: #f8f9fa;
}

.am-participants-table td:first-child {
    font-weight: 600;
    color: #f57c00;
    width: 40px;
}

.am-no-participants {
    padding: 30px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.am-no-participants i {
    margin-right: 8px;
    color: #f9a825;
}

/* Documents Accordion */
.am-documents-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-doc-category {
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.am-doc-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.am-doc-category-header:hover {
    background: #e9ecef;
}

.am-doc-category-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.am-doc-category-info i {
    color: #1565c0;
    font-size: 1.1rem;
}

.am-doc-category-title {
    font-weight: 600;
    color: #003366;
    font-size: 0.95rem;
}

.am-doc-count {
    font-size: 0.8rem;
    color: #666;
}

.am-cat-toggle {
    color: #666;
    transition: transform 0.3s;
}

.am-doc-category.expanded .am-cat-toggle {
    transform: rotate(180deg);
}

.am-doc-category-content {
    display: none;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
}

.am-doc-category.expanded .am-doc-category-content {
    display: block;
}

.am-documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.am-documents-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.am-documents-list li a:hover {
    background: #e3f2fd;
    color: #1565c0;
}

.am-documents-list li a i {
    color: #dc3545;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .am-navigation {
        gap: 8px;
        padding: 15px;
    }

    .am-nav-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .am-calendar-header,
    .am-calendar-row {
        grid-template-columns: 1fr;
    }

    .am-calendar-header .am-calendar-cell:not(:first-child) {
        display: none;
    }

    .am-calendar-row {
        padding: 15px;
        gap: 10px;
    }

    .am-calendar-cell {
        padding: 5px 0;
    }

    .am-calendar-program {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .block-academic-mobility {
        padding: 30px 0 40px;
    }

    .am-info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .am-info-card {
        padding: 15px;
    }

    .am-info-card-icon {
        width: 45px;
        height: 45px;
    }

    .am-info-card-icon i {
        font-size: 1.1rem;
    }

    .am-partners-grid {
        grid-template-columns: 1fr;
    }

    .am-step {
        gap: 15px;
    }

    .am-step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .am-step::before {
        left: 19px;
        top: 40px;
    }

    .am-navigation {
        flex-direction: column;
        gap: 8px;
    }

    .am-nav-item {
        justify-content: center;
    }

    .am-participant-year-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .am-participant-year-actions {
        width: 100%;
        justify-content: space-between;
    }

    .am-participants-table {
        font-size: 0.8rem;
    }

    .am-participants-table th,
    .am-participants-table td {
        padding: 10px 8px;
    }

    .am-financing-sources li {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .am-info-card-title {
        font-size: 0.95rem;
    }

    .am-step-title {
        font-size: 1rem;
    }

    .am-step-description {
        font-size: 0.9rem;
    }

    .am-partner-name {
        font-size: 0.95rem;
    }
}

/* ==============================================
   STAFF INTERNSHIPS BLOCK - Зарубежные стажировки ППС
   ============================================== */

.block-staff-internships {
    padding: 60px 0;
    background: #f8f9fa;
}

.si-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #003366;
    text-align: center;
    margin-bottom: 30px;
}

.si-intro {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 25px 30px;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #1565c0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Navigation */
.si-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 40px;
    padding: 20px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border-radius: 12px;
    justify-content: center;
}

.si-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.si-nav-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.si-nav-item i {
    font-size: 1rem;
    opacity: 0.9;
}

.si-section {
    margin-bottom: 50px;
}

.si-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.si-section-title i {
    color: #1565c0;
}

/* Formats List */
.si-formats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}

.si-formats-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #2e7d32;
    font-size: 0.95rem;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.si-formats-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.si-formats-list li i {
    color: #2e7d32;
    font-size: 1rem;
}

/* Programs Grid */
.si-programs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.si-program-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #e65100;
    transition: box-shadow 0.2s;
}

.si-program-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.si-program-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #e65100 0%, #ff9800 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.si-program-content {
    flex: 1;
}

.si-program-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003366;
    margin: 0 0 10px 0;
}

.si-program-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.si-program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e65100;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.si-program-link:hover {
    color: #bf360c;
}

/* Year Filter */
.si-year-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.si-year-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.si-year-btn:hover {
    border-color: #7b1fa2;
    color: #7b1fa2;
}

.si-year-btn.active {
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%);
    border-color: #7b1fa2;
    color: white;
}

/* Internships Container */
.si-internships-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

.si-internship-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.si-internship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.si-internship-card.hidden {
    display: none;
}

.si-internship-header {
    padding: 20px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: white;
}

.si-internship-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.si-internship-position {
    font-size: 0.85rem;
    opacity: 0.9;
}

.si-internship-body {
    padding: 20px;
}

.si-internship-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.si-internship-row:last-child {
    margin-bottom: 0;
}

.si-internship-item {
    flex: 1;
    min-width: 0;
}

.si-internship-item.si-full-width {
    flex: none;
    width: 100%;
}

.si-internship-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.si-internship-label i {
    margin-right: 4px;
    color: #1565c0;
}

.si-internship-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.si-internship-footer {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.si-internship-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    color: #1565c0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.si-internship-link:hover {
    background: #1565c0;
    color: white;
    border-color: #1565c0;
}

.si-internship-year-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .block-staff-internships {
        padding: 40px 0;
    }

    .si-main-title {
        font-size: 1.5rem;
    }

    .si-intro {
        padding: 20px;
        font-size: 0.95rem;
    }

    .si-formats-list {
        grid-template-columns: 1fr;
    }

    .si-program-card {
        flex-direction: column;
        text-align: center;
    }

    .si-program-number {
        margin: 0 auto 15px;
    }

    .si-internships-container {
        grid-template-columns: 1fr;
    }

    .si-internship-row {
        flex-direction: column;
        gap: 15px;
    }

    .si-year-filter {
        justify-content: center;
    }
}

/* ==============================================
   PROFESSIONAL DEVELOPMENT BLOCK - Повышение квалификации
   ============================================== */

.block-professional-development {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Navigation */
.pd-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 40px;
    padding: 20px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border-radius: 12px;
    justify-content: center;
}

.pd-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pd-nav-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    color: white;
}

.pd-nav-item i {
    font-size: 18px;
}

/* Sections */
.pd-section {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    scroll-margin-top: 100px;
}

.pd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    cursor: pointer;
    transition: background 0.3s;
}

.pd-section-header:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.pd-section-header h2 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-section-header h2 i {
    font-size: 1.5rem;
}

.pd-section-toggle {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.pd-section.pd-collapsed .pd-section-toggle {
    transform: rotate(0deg);
}

.pd-section:not(.pd-collapsed) .pd-section-toggle {
    transform: rotate(180deg);
}

.pd-section-body {
    padding: 25px;
    display: block;
}

.pd-section.pd-collapsed .pd-section-body {
    display: none;
}

/* Intro text */
.pd-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1565c0;
}

/* Subsection title */
.pd-subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-subsection-title i {
    color: #1565c0;
}

/* Year items */
.pd-year-item {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.pd-year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    cursor: pointer;
    transition: background 0.3s;
}

.pd-year-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.pd-year-badge {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1565c0;
}

.pd-year-toggle {
    color: #666;
    font-size: 1rem;
    transition: transform 0.3s;
}

.pd-year-item.pd-collapsed .pd-year-toggle {
    transform: rotate(0deg);
}

.pd-year-item:not(.pd-collapsed) .pd-year-toggle {
    transform: rotate(180deg);
}

.pd-year-body {
    padding: 20px;
    background: white;
    display: block;
}

.pd-year-item.pd-collapsed .pd-year-body {
    display: none;
}

/* Schedule link */
.pd-schedule-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.pd-schedule-link:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: white;
}

.pd-schedule-link i {
    font-size: 1.2rem;
}

/* Training cards */
.pd-trainings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pd-training-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.pd-training-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.pd-training-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.pd-training-period {
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}

.pd-training-period i {
    margin-right: 5px;
    color: #1565c0;
}

.pd-training-topics {
    font-size: 0.95rem;
    color: #555;
}

.pd-training-topics strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.pd-training-topics ul {
    margin: 0;
    padding-left: 20px;
}

.pd-training-topics li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Courses grid */
.pd-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.pd-course-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pd-course-card:hover {
    border-color: #1565c0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.15);
}

.pd-course-direction {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    background: #1565c0;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
}

.pd-course-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.pd-course-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

.pd-course-link {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1565c0;
}

.pd-course-link i {
    margin-right: 5px;
}

/* Documents list */
.pd-documents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pd-document-item:hover {
    border-color: #1565c0;
    background: #f8f9fa;
}

.pd-doc-icon {
    font-size: 1.5rem;
    color: #e53935;
}

.pd-doc-title {
    flex-grow: 1;
    font-weight: 500;
}

.pd-doc-download {
    color: #1565c0;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .block-professional-development {
        padding: 40px 0;
    }

    .pd-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .pd-nav-item {
        justify-content: center;
    }

    .pd-section-header h2 {
        font-size: 1.1rem;
    }

    .pd-courses-grid {
        grid-template-columns: 1fr;
    }

    .pd-training-header {
        flex-direction: column;
    }
}

/* ==============================================
   CAREER BLOCK - Карьера и трудоустройство
   ============================================== */

.block-career {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Coordinator Section (exactly like ac-coordinators-section) */
.career-coordinators-section {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.career-coordinators-section .career-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.career-coordinators-section .career-section-title i {
    color: #fff;
}

/* Coordinator Card - balanced layout */
.career-coordinator-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.career-coordinator-photo {
    flex-shrink: 0;
    width: 150px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #003366;
}

.career-coordinator-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-coordinator-photo i {
    font-size: 3.5rem;
    color: #003366;
}

.career-coordinator-info {
    flex: 1;
    min-width: 0;
}

.career-coordinator-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
    line-height: 1.3;
}

.career-coordinator-position {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.career-coordinator-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 0;
}

.career-coordinator-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #003366;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.career-coordinator-contacts a i {
    color: #003366;
    width: 18px;
    font-size: 1rem;
}

.career-coordinator-contacts a:hover {
    color: #0066cc;
}

/* Schedule inside coordinator card */
.career-schedule-inside {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #003366;
}

.career-schedule-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.career-schedule-title i {
    color: #003366;
}

.career-schedule-inside .career-schedule-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.7;
}

.career-schedule-room {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #003366;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.career-schedule-room a {
    color: #003366;
    text-decoration: none;
}

.career-schedule-room a:hover {
    text-decoration: underline;
}

/* CTA Button inside card (like ac-report-btn-inside) */
.career-cta-btn-inside {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    min-width: 180px;
}

.career-cta-btn-inside:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.career-cta-btn-inside i {
    font-size: 1.8rem;
    color: #fff;
}

.career-cta-btn-inside .career-cta-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

/* Info Cards (Schedule + Services) */
.career-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.career-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    gap: 15px;
}

.career-info-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.career-schedule-card .career-info-card-icon {
    background: #e3f2fd;
    color: #1565c0;
}

.career-services-card .career-info-card-icon {
    background: #e8f5e9;
    color: #43a047;
}

.career-info-card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.career-schedule-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.career-schedule-room {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.career-services-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.career-services-text ul {
    margin: 0;
    padding-left: 20px;
}

/* Services Section */
.career-services-section {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.career-services-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.career-services-title i {
    color: #43a047;
}

/* Old consultation section - keep for backwards compatibility */
.career-consultation-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.career-services-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.career-services-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.career-services-text li {
    margin-bottom: 8px;
}

.career-schedule {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.career-schedule h4 {
    margin: 0 0 12px 0;
    color: #1565c0;
    font-size: 1.1rem;
}

.career-schedule-text {
    color: #333;
    line-height: 1.8;
}

.career-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.career-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    color: white;
}

/* Navigation */
.career-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border-radius: 12px;
    justify-content: center;
}

.career-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.career-nav-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    color: white;
}

.career-nav-item i {
    font-size: 18px;
}

/* Sections */
.career-section {
    margin-bottom: 50px;
}

.career-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.career-section-title i {
    color: #1565c0;
}

.career-subsection {
    margin-bottom: 35px;
}

.career-subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.career-subsection-title i {
    color: #1565c0;
}

/* Platforms Grid */
.career-platforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.career-platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.career-platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Vacancies Grid */
.career-vacancies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.career-vacancy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.career-vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    color: #1565c0;
}

.career-vacancy-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 15px;
    margin-bottom: 15px;
}

.career-vacancy-icon i {
    font-size: 26px;
    color: #1565c0;
}

.career-vacancy-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.career-vacancy-link {
    font-size: 0.85rem;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Employers Grid */
.career-employers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.career-employer-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.career-employer-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.career-employer-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.career-employer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
    background: #f5f5f5;
    padding: 5px;
}

.career-employer-logo-placeholder {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    flex-shrink: 0;
}

.career-employer-logo-placeholder i {
    font-size: 28px;
    color: #1565c0;
}

.career-employer-title h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a237e;
}

.career-employer-title p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.career-employer-contacts {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.career-employer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.career-employer-contact i {
    color: #1565c0;
    width: 16px;
    text-align: center;
}

.career-employer-contact a {
    color: #1565c0;
    text-decoration: none;
}

.career-employer-contact a:hover {
    text-decoration: underline;
}

/* Documents List */
.career-documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.career-document-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.career-document-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.career-doc-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border-radius: 12px;
    flex-shrink: 0;
}

.career-doc-icon i {
    font-size: 24px;
    color: #c62828;
}

.career-doc-info {
    flex: 1;
}

.career-doc-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1a237e;
    margin-bottom: 5px;
}

.career-doc-desc {
    font-size: 0.85rem;
    color: #666;
}

.career-doc-download {
    color: #1565c0;
    font-size: 20px;
}

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

    .career-employers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .career-vacancies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .block-career {
        padding: 40px 0;
    }

    .career-coordinator-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }

    .career-coordinator-photo {
        margin: 0 auto 20px;
        width: 130px;
        height: 160px;
    }

    .career-coordinator-info {
        text-align: center;
        width: 100%;
    }

    .career-coordinator-name {
        font-size: 1.3rem;
    }

    .career-coordinator-position {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 15px;
    }

    .career-coordinator-contacts {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .career-schedule-inside {
        text-align: left;
    }

    .career-cta-btn-inside {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .career-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .career-navigation {
        flex-direction: column;
    }

    .career-nav-item {
        justify-content: center;
    }

    .career-vacancies-grid,
    .career-employers-grid {
        grid-template-columns: 1fr;
    }

    .career-employer-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .career-document-item {
        flex-direction: column;
        text-align: center;
    }

    .career-platforms-grid {
        flex-direction: column;
    }

    .career-platform-btn {
        justify-content: center;
    }
}

/* ==============================================
   MOP CATALOG BLOCK - Каталог модульных ОП
   ============================================== */

.block-mop-catalog {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Navigation Cards */
.mop-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.mop-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mop-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.15);
    border-color: #003366;
    color: #003366;
}

.mop-nav-card.external {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.mop-nav-card.external:hover {
    border-color: #2e7d32;
    color: #2e7d32;
}

.mop-nav-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366, #006699);
    border-radius: 16px;
    margin-bottom: 15px;
}

.mop-nav-card.external .mop-nav-icon {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
}

.mop-nav-icon i {
    font-size: 26px;
    color: white;
}

.mop-nav-text {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* Section */
.mop-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.mop-section:last-child {
    margin-bottom: 0;
}

.mop-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #003366;
}

.mop-section-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366, #006699);
    border-radius: 12px;
}

.mop-section-icon i {
    font-size: 22px;
    color: white;
}

.mop-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    margin: 0;
}

/* Table */
.mop-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mop-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.mop-table thead {
    background: linear-gradient(135deg, #003366 0%, #004d80 100%);
}

.mop-table th {
    padding: 18px 20px;
    font-weight: 600;
    text-align: left;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.mop-table th:first-child {
    border-radius: 16px 0 0 0;
    width: 60px;
    text-align: center;
}

.mop-table th:last-child {
    border-radius: 0 16px 0 0;
}

.mop-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.mop-table tbody tr:hover {
    background: #f0f7ff;
}

.mop-table tbody tr:last-child {
    border-bottom: none;
}

.mop-table td {
    padding: 18px 20px;
    font-size: 15px;
    color: #333;
    vertical-align: middle;
}

.mop-table td:first-child {
    text-align: center;
    font-weight: 600;
    color: #003366;
}

/* Program Link */
.mop-program-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.mop-program-link:hover {
    color: #003366;
}

.mop-program-link:hover .mop-program-name {
    color: #003366;
    text-decoration: underline;
}

.mop-program-code {
    font-size: 13px;
    font-weight: 600;
    color: #006699;
    letter-spacing: 0.5px;
}

.mop-program-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.mop-degree {
    font-size: 14px;
    color: #666;
}

/* Document Dropdown */
.mop-doc-dropdown {
    position: relative;
    display: inline-block;
}

.mop-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f0f7ff;
    border: 1px solid #cce0f5;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #003366;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: space-between;
}

.mop-doc-btn:hover {
    background: #e0efff;
    border-color: #003366;
}

.mop-doc-btn i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.mop-doc-dropdown.open .mop-doc-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.mop-doc-btn i.fa-file-pdf {
    color: #d32f2f;
}

.mop-doc-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: none;
    overflow: hidden;
}

.mop-doc-dropdown.open .mop-doc-menu {
    display: block;
    animation: mopDropdownFade 0.2s ease;
}

@keyframes mopDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mop-doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mop-doc-item:last-child {
    border-bottom: none;
}

.mop-doc-item:hover {
    background: #f0f7ff;
    color: #003366;
}

.mop-doc-item i {
    color: #d32f2f;
    font-size: 16px;
}

.mop-doc-year {
    font-weight: 600;
    min-width: 50px;
}

.mop-doc-label {
    color: #666;
    font-size: 12px;
}

/* Empty dropdown */
.mop-doc-btn.empty {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: default;
}

.mop-doc-btn.empty:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

/* Responsive */
@media (max-width: 1200px) {
    .mop-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .block-mop-catalog {
        padding: 40px 0;
    }

    .mop-section-title {
        font-size: 24px;
    }

    .mop-table th,
    .mop-table td {
        padding: 14px 15px;
    }
}

@media (max-width: 768px) {
    .mop-nav {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mop-nav-card {
        flex-direction: row;
        padding: 18px 20px;
        gap: 15px;
    }

    .mop-nav-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }

    .mop-nav-icon i {
        font-size: 22px;
    }

    .mop-nav-text {
        text-align: left;
    }

    .mop-section-header {
        flex-wrap: wrap;
    }

    .mop-section-title {
        font-size: 20px;
    }

    .mop-table-wrapper {
        border-radius: 12px;
    }

    .mop-table {
        min-width: 700px;
    }

    .mop-table th,
    .mop-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .mop-doc-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .mop-section-icon {
        width: 40px;
        height: 40px;
    }

    .mop-section-icon i {
        font-size: 18px;
    }

    .mop-table th:first-child {
        border-radius: 12px 0 0 0;
    }

    .mop-table th:last-child {
        border-radius: 0 12px 0 0;
    }
}

/* ==============================================
   DUAL DIPLOMA BLOCK - Двудипломные программы
   ============================================== */

.block-dual-diploma {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Stats Section */
.dual-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.dual-stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eef5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dual-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
}

.dual-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #003366;
    line-height: 1;
    margin-bottom: 8px;
}

.dual-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Programs Grid */
.dual-programs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Program Card - Accordion Style */
.dual-program-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e8eef5;
    transition: box-shadow 0.3s ease;
}

.dual-program-card:hover {
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
}

.dual-program-card.open {
    box-shadow: 0 8px 35px rgba(0, 51, 102, 0.15);
}

/* Program Header */
.dual-program-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dual-program-header:hover {
    background: #f8fafc;
}

.dual-program-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366, #006699);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.dual-program-main {
    flex: 1;
    min-width: 0;
}

.dual-program-code {
    font-size: 13px;
    font-weight: 600;
    color: #006699;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.dual-program-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
}

.dual-program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.dual-program-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.dual-program-badge.degree {
    background: #e3f2fd;
    color: #1565c0;
}

.dual-program-badge.type-dual {
    background: #e8f5e9;
    color: #2e7d32;
}

.dual-program-badge.type-joint {
    background: #fff3e0;
    color: #e65100;
}

.dual-program-badge i {
    font-size: 11px;
}

.dual-program-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 10px;
    color: #003366;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dual-program-card.open .dual-program-toggle {
    background: #003366;
    color: white;
    transform: rotate(180deg);
}

/* Program Content */
.dual-program-content {
    display: none;
    padding: 0 30px 30px;
    border-top: 1px solid #e8eef5;
    animation: dualSlideDown 0.3s ease;
}

.dual-program-card.open .dual-program-content {
    display: block;
}

@keyframes dualSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Partner Info */
.dual-partner-section {
    padding-top: 25px;
}

.dual-partner-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border-radius: 12px;
    margin-bottom: 25px;
}

.dual-partner-flag {
    width: 60px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.dual-partner-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dual-partner-flag .flag-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003366, #006699);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.dual-partner-info {
    flex: 1;
}

.dual-partner-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.dual-partner-country {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dual-partner-country i {
    color: #003366;
}

/* Documents Section */
.dual-docs-section {
    margin-top: 20px;
}

.dual-docs-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dual-docs-title i {
    color: #003366;
}

.dual-docs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dual-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dual-doc-link:hover {
    background: #f0f7ff;
    border-color: #003366;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.15);
}

.dual-doc-link i {
    font-size: 18px;
    color: #d32f2f;
}

.dual-doc-link span {
    white-space: nowrap;
}

/* No Documents Message */
.dual-no-docs {
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 10px;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dual-no-docs i {
    color: #999;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .dual-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .block-dual-diploma {
        padding: 40px 0;
    }

    .dual-program-header {
        padding: 20px 25px;
    }

    .dual-program-name {
        font-size: 16px;
    }

    .dual-partner-card {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .dual-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dual-stat-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        text-align: left;
    }

    .dual-stat-number {
        font-size: 32px;
        margin-bottom: 0;
        order: 2;
    }

    .dual-stat-label {
        order: 1;
    }

    .dual-program-header {
        flex-wrap: wrap;
        padding: 18px 20px;
        gap: 15px;
    }

    .dual-program-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .dual-program-main {
        flex: 1 1 calc(100% - 100px);
    }

    .dual-program-toggle {
        width: 35px;
        height: 35px;
    }

    .dual-program-content {
        padding: 0 20px 20px;
    }

    .dual-partner-card {
        padding: 15px;
    }

    .dual-docs-list {
        flex-direction: column;
    }

    .dual-doc-link {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .dual-program-meta {
        gap: 8px;
    }

    .dual-program-badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .dual-partner-flag {
        width: 50px;
        height: 33px;
    }

    .dual-partner-name {
        font-size: 14px;
    }

    .dual-partner-country {
        font-size: 13px;
    }
}

/* ============================================================
   MICRO QUALIFICATIONS BLOCK - Программы дополнительного образования
   ============================================================ */
.block-micro-qualifications {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Контактная панель */
.mq-contacts-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #003366 0%, #0056a0 100%);
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.mq-registry-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mq-registry-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mq-registry-link i {
    font-size: 18px;
}

.mq-contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.mq-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.mq-contact-item i {
    color: rgba(255, 255, 255, 0.7);
}

/* Сетка программ */
.mq-programs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Карточка программы */
.mq-program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
}

.mq-program-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Заголовок карточки */
.mq-program-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 25px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mq-program-header:hover {
    background: #f8f9fa;
}

.mq-program-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #003366 0%, #0056a0 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.mq-program-main {
    flex: 1;
    min-width: 0;
}

.mq-program-name {
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}

.mq-program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.mq-badge.credits {
    background: #e8f4fd;
    color: #0056a0;
}

.mq-badge.languages {
    background: #e8f5e9;
    color: #2e7d32;
}

.mq-badge i {
    font-size: 12px;
}

.mq-program-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    border-radius: 50%;
    color: #6c757d;
    transition: all 0.3s ease;
}

.mq-program-card.open .mq-program-toggle {
    background: #003366;
    color: white;
}

.mq-program-card.open .mq-program-toggle i {
    transform: rotate(180deg);
}

.mq-program-toggle i {
    transition: transform 0.3s ease;
}

/* Контент программы (скрытый по умолчанию) */
.mq-program-content {
    display: none;
    padding: 0 25px 25px;
    border-top: 1px solid #e8ecef;
    animation: fadeIn 0.3s ease;
}

.mq-program-card.open .mq-program-content {
    display: block;
}

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

/* Детали программы */
.mq-program-details {
    padding: 20px 0;
}

.mq-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
}

.mq-detail-row:last-child {
    border-bottom: none;
}

.mq-detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.mq-detail-label i {
    width: 18px;
    color: #003366;
}

.mq-detail-value {
    flex: 1;
    color: #1a1a2e;
    font-size: 14px;
    line-height: 1.5;
}

/* Результаты обучения */
.mq-outcomes-section {
    background: #f8fafb;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.mq-outcomes-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px 0;
    font-size: 15px;
    font-weight: 600;
    color: #003366;
}

.mq-outcomes-title i {
    color: #28a745;
}

.mq-outcomes-list {
    margin: 0;
    padding-left: 25px;
    counter-reset: outcome-counter;
}

.mq-outcomes-list li {
    position: relative;
    padding: 8px 0 8px 10px;
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
    list-style: decimal;
}

.mq-outcomes-list li::marker {
    color: #003366;
    font-weight: 600;
}

/* Кнопка записи */
.mq-apply-section {
    padding-top: 15px;
}

.mq-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #003366 0%, #0056a0 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.25);
}

.mq-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 51, 102, 0.35);
}

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

/* Ссылка на кафедру */
.mq-department-link {
    color: #0056a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mq-department-link:hover {
    color: #003366;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
    .mq-contacts-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .mq-detail-row {
        flex-direction: column;
        gap: 8px;
    }

    .mq-detail-label {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .block-micro-qualifications {
        padding: 40px 0;
    }

    .mq-contacts-bar {
        padding: 18px 20px;
    }

    .mq-registry-link {
        width: 100%;
        justify-content: center;
    }

    .mq-contact-info {
        width: 100%;
        justify-content: center;
    }

    .mq-program-header {
        flex-wrap: wrap;
        padding: 18px 20px;
        gap: 15px;
    }

    .mq-program-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }

    .mq-program-main {
        flex: 1 1 calc(100% - 100px);
    }

    .mq-program-name {
        font-size: 15px;
    }

    .mq-program-toggle {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .mq-program-content {
        padding: 0 20px 20px;
    }

    .mq-outcomes-section {
        padding: 15px;
    }

    .mq-apply-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .mq-program-meta {
        gap: 8px;
    }

    .mq-badge {
        padding: 4px 10px;
        font-size: 12px;
    }

    .mq-detail-label {
        font-size: 13px;
    }

    .mq-detail-value {
        font-size: 13px;
    }
}

/* ==========================================
   Additional Education Block Styles
   ========================================== */
.block-additional-education {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f7fa 0%, #e8f4f8 100%);
}

.ae-programs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ae-program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74, 144, 164, 0.12);
    border: 1px solid #b8d4e3;
    transition: all 0.3s ease;
}

.ae-program-card:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.2);
}

.ae-program-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    cursor: pointer;
    background: linear-gradient(135deg, #4a90a4 0%, #5fa8bc 100%);
    color: white;
    transition: all 0.3s ease;
}

.ae-program-header:hover {
    background: linear-gradient(135deg, #3d7a8c 0%, #4a90a4 100%);
}

.ae-program-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.ae-program-main {
    flex: 1;
    min-width: 0;
}

.ae-program-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 4px;
    font-weight: 500;
}

.ae-program-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.ae-program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ae-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.ae-badge i {
    font-size: 12px;
}

.ae-program-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ae-program-toggle i {
    transition: transform 0.3s ease;
}

.ae-program-card.open .ae-program-toggle i {
    transform: rotate(180deg);
}

.ae-program-content {
    display: none;
    padding: 25px;
    background: #fafcfd;
}

.ae-program-card.open .ae-program-content {
    display: block;
}

.ae-program-details {
    margin-bottom: 25px;
}

.ae-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e8f4f8;
}

.ae-detail-row:last-child {
    border-bottom: none;
}

.ae-detail-label {
    min-width: 150px;
    font-size: 14px;
    color: #4a90a4;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ae-detail-label i {
    width: 18px;
    text-align: center;
}

.ae-detail-value {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.ae-contact-info {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.ae-contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ae-department-link {
    color: #4a90a4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ae-department-link:hover {
    color: #2d5a6b;
    text-decoration: underline;
}

/* Certificates Section */
.ae-certificates-section {
    background: #fff8e1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.ae-certificates-title {
    font-size: 16px;
    color: #e65100;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ae-certificates-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ae-cert-year-group {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ae-cert-year-label {
    min-width: 60px;
    padding: 6px 12px;
    background: #ff9800;
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.ae-cert-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ae-cert-item {
    display: inline-block;
}

.ae-cert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #ffe082;
    border-radius: 6px;
    color: #e65100;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ae-cert-link:hover {
    background: #fff3e0;
    border-color: #ff9800;
}

.ae-cert-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
}

/* Materials Section */
.ae-materials-section {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.ae-materials-title {
    font-size: 16px;
    color: #2e7d32;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ae-materials-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ae-material-item {
    display: inline-block;
}

.ae-material-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: white;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    color: #2e7d32;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ae-material-link:hover {
    background: #c8e6c9;
    border-color: #4caf50;
}

.ae-material-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
}

/* Apply Button */
.ae-apply-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8f4f8;
}

.ae-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4a90a4 0%, #5fa8bc 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.25);
}

.ae-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 144, 164, 0.35);
}

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

/* Responsive */
@media (max-width: 992px) {
    .ae-detail-row {
        flex-direction: column;
        gap: 8px;
    }

    .ae-detail-label {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .ae-program-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .ae-program-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .ae-program-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .ae-program-header {
        position: relative;
        padding-right: 60px;
    }

    .ae-cert-year-group {
        flex-direction: column;
        gap: 10px;
    }

    .ae-cert-year-label {
        min-width: auto;
        align-self: flex-start;
    }

    .ae-apply-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .ae-program-name {
        font-size: 16px;
    }

    .ae-badge {
        padding: 4px 10px;
        font-size: 12px;
    }

    .ae-detail-label,
    .ae-detail-value {
        font-size: 13px;
    }
}

/* ===========================================
   Inclusive Education Block (EDI Policy)
   =========================================== */

.block-inclusive-education {
    padding: 0;
}

/* Top Text Section */
.ie-top-text {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: white;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

/* Curators Section */
.ie-curators-section {
    padding: 50px 20px;
    background: #f8f9fa;
}

.ie-section-title {
    text-align: center;
    font-size: 28px;
    color: #1a5276;
    margin-bottom: 40px;
    font-weight: 700;
}

.ie-section-title i {
    margin-right: 12px;
    color: #2980b9;
}

.ie-curators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.ie-curator-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-left: 5px solid #2980b9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ie-curator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.ie-curator-dept {
    font-size: 18px;
    font-weight: 700;
    color: #1a5276;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.ie-curator-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ie-curator-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #555;
}

.ie-curator-info i {
    width: 20px;
    color: #2980b9;
    font-size: 16px;
}

.ie-curator-info a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.2s;
}

.ie-curator-info a:hover {
    color: #1a5276;
    text-decoration: underline;
}

/* Navigation Section */
.ie-nav-section {
    padding: 50px 20px;
    background: white;
}

.ie-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ie-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
}

.ie-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.4);
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
}

.ie-nav-item i {
    font-size: 24px;
    opacity: 0.9;
}

/* Strategy Section */
.ie-strategy-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a5276 0%, #154360 100%);
    color: white;
}

.ie-strategy-section .ie-section-title {
    color: white;
}

.ie-strategy-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.9;
    text-align: justify;
}

.ie-strategy-content p {
    margin-bottom: 20px;
}

/* Principles Section */
.ie-principles-section {
    padding: 60px 20px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ie-principles-section .ie-section-title {
    text-align: center;
    margin-bottom: 40px;
}

ul.ie-principles-list {
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    list-style: none;
}

ul.ie-principles-list .ie-principle-item {
    width: 100%;
}

.ie-principle-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    text-align: left;
}

.ie-principle-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.ie-principle-item i {
    flex-shrink: 0;
    font-size: 24px;
    color: #27ae60;
    margin-top: 2px;
}

.ie-principle-item span {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    text-align: left;
}

/* Remove ul/li default styles */
ul.ie-principles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Collapsible Sections */
.ie-collapsible-section {
    background: white;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 1100px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ie-collapsible-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ie-collapsible-header:hover {
    background: linear-gradient(135deg, #154360 0%, #1f618d 100%);
}

.ie-collapsible-header > i:first-child {
    font-size: 24px;
    margin-right: 15px;
    color: white !important;
}

.ie-collapsible-header h2 {
    flex: 1;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white !important;
}

.ie-collapse-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: white !important;
}

.ie-collapsible-section.open .ie-collapse-icon {
    transform: rotate(180deg);
}

.ie-collapsible-content {
    display: none;
    padding: 30px;
}

.ie-collapsible-section.open .ie-collapsible-content {
    display: block;
}

/* Programs Section */
.ie-programs-section {
    padding: 60px 20px;
    background: white;
}

.ie-programs-section.ie-collapsible-section {
    padding: 0;
}

.ie-programs-table {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.ie-programs-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ie-programs-table th,
.ie-programs-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.ie-programs-table th {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: white;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ie-programs-table tbody tr {
    transition: background 0.2s ease;
}

.ie-programs-table tbody tr:hover {
    background: #f8f9fa;
}

.ie-programs-table tbody tr:last-child td {
    border-bottom: none;
}

.ie-programs-table td {
    font-size: 15px;
    color: #444;
}

.ie-programs-table td:first-child {
    font-weight: 600;
    color: #1a5276;
}

/* Policy Section */
.ie-policy-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.ie-policy-blocks {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Center the last card when there's an odd number of items */
.ie-policy-blocks .ie-policy-block:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
}

.ie-policy-block {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.ie-policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ie-policy-header:hover {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
}

.ie-policy-header > i:first-child {
    font-size: 24px;
    margin-right: 15px;
    opacity: 0.9;
    color: white !important;
}

.ie-policy-header i,
.ie-policy-header span {
    color: white !important;
}

.ie-policy-header h3 {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white !important;
}

.ie-policy-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
}

.ie-policy-title i {
    font-size: 24px;
    opacity: 0.9;
}

.ie-policy-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.ie-policy-block.active .ie-policy-toggle,
.ie-policy-block.open .ie-policy-toggle {
    transform: rotate(180deg);
}

.ie-policy-content {
    display: none;
    padding: 30px;
}

.ie-policy-block.active .ie-policy-content,
.ie-policy-block.open .ie-policy-content {
    display: block;
}

.ie-policy-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.ie-policy-text p {
    margin-bottom: 15px;
}

.ie-policy-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.ie-policy-text li {
    margin-bottom: 10px;
}

/* Policy Gallery Wrapper */
.ie-policy-gallery-wrapper {
    margin-top: 25px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.ie-policy-gallery-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.ie-policy-gallery-header i {
    font-size: 18px;
}

.ie-policy-gallery-count {
    margin-left: auto;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Policy Gallery */
.ie-policy-gallery {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.ie-policy-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.ie-policy-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ie-policy-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    z-index: 2;
}

.ie-policy-img:hover::after {
    opacity: 1;
}

.ie-policy-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ie-policy-img:hover img {
    transform: scale(1.1);
}

/* Zoom icon on hover */
.ie-policy-img::before {
    content: "🔍";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.ie-policy-img:hover::before {
    opacity: 1;
}

/* Gallery open button */
.ie-gallery-open-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.ie-gallery-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.ie-gallery-open-btn i {
    font-size: 20px;
}

.ie-gallery-btn-count {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-left: auto;
}

/* Gallery grid modal */
.ie-gallery-grid-modal {
    background: rgba(0,0,0,0.9);
}

.ie-gallery-modal-container {
    background: white;
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    width: 1000px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

.ie-gallery-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ie-gallery-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ie-gallery-modal-count {
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
}

.ie-gallery-modal-close {
    margin-left: auto;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

.ie-gallery-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.ie-gallery-modal-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.ie-modal-gallery-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.ie-modal-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.ie-modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ie-modal-gallery-item:hover img {
    transform: scale(1.1);
}

/* Image viewer */
.ie-image-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.98);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ie-image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.ie-viewer-backdrop {
    position: absolute;
    inset: 0;
}

.ie-viewer-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ie-viewer-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

.ie-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.ie-viewer-close:hover {
    background: rgba(220, 53, 69, 0.8);
    border-color: transparent;
    transform: rotate(90deg);
}

/* Gallery modal overlay improvements */
.ie-gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ie-gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.ie-gallery-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

.ie-gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ie-gallery-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* Gallery modal backdrop */
.ie-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
}

/* Gallery content container */
.ie-gallery-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.ie-gallery-image {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    transition: opacity 0.15s ease;
}

/* Gallery counter */
.ie-gallery-counter {
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Gallery navigation buttons */
.ie-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.ie-gallery-nav:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.ie-gallery-prev {
    left: 30px;
}

.ie-gallery-next {
    right: 30px;
}

/* Gallery close button */
.ie-gallery-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.ie-gallery-close:hover {
    background: rgba(220, 53, 69, 0.8);
    border-color: transparent;
    transform: rotate(90deg) scale(1.1);
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .ie-policy-gallery-wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .ie-policy-gallery-header {
        padding: 12px 15px;
        font-size: 14px;
    }

    .ie-policy-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .ie-policy-img {
        aspect-ratio: 1;
    }

    .ie-gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .ie-gallery-prev {
        left: 10px;
    }

    .ie-gallery-next {
        right: 10px;
    }

    .ie-gallery-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .ie-gallery-image {
        max-width: 95vw;
        max-height: 70vh;
    }

    .ie-gallery-open-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    .ie-gallery-modal-container {
        max-width: 95vw;
        max-height: 95vh;
        border-radius: 16px;
    }

    .ie-gallery-modal-header {
        padding: 15px 20px;
    }

    .ie-gallery-modal-header h3 {
        font-size: 16px;
    }

    .ie-gallery-modal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .ie-viewer-content img {
        max-width: 95vw;
        max-height: 80vh;
    }

    .ie-viewer-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ie-policy-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
    }

    .ie-policy-gallery-header span:not(.ie-policy-gallery-count) {
        display: none;
    }

    .ie-policy-gallery-header i {
        margin-right: 5px;
    }

    .ie-policy-gallery-header::after {
        content: "Фото";
    }
}

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

.ie-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.ie-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.ie-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 13px;
}

/* Policy Links */
.ie-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ie-policy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ecf0f1;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ie-policy-link:hover {
    background: #2980b9;
    color: white;
}

.ie-policy-link i {
    font-size: 16px;
}

/* Documents Section */
.ie-documents-section {
    padding: 60px 20px;
    background: white;
}

.ie-documents-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ie-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ie-document-item:hover {
    background: #ecf0f1;
    transform: translateX(5px);
}

.ie-document-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.ie-document-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ie-document-name {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
}

.ie-document-links {
    display: flex;
    gap: 10px;
}

.ie-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #2980b9;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.ie-doc-link:hover {
    background: #1a5276;
}

.ie-doc-link i {
    font-size: 14px;
}

/* Gallery Modal for IE */
.ie-gallery-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.ie-gallery-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.ie-gallery-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    z-index: 1;
}

.ie-gallery-close,
.ie-gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
}

.ie-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.2s;
}

.ie-gallery-nav:hover {
    background: rgba(255,255,255,0.2);
}

.ie-gallery-prev { left: 20px; }
.ie-gallery-next { right: 20px; }

.ie-gallery-modal-content {
    max-width: 90%;
    max-height: 85vh;
    text-align: center;
}

.ie-gallery-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.ie-gallery-modal-caption {
    color: white;
    margin-top: 15px;
    font-size: 14px;
}

.ie-gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
}

/* Additional Curator Card Styles */
.ie-curator-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.ie-curator-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.ie-curator-director {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.ie-curator-director i {
    color: #2980b9;
}

.ie-curator-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ie-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
}

.ie-contact-item i {
    width: 18px;
    color: #2980b9;
    font-size: 15px;
}

.ie-contact-item a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.2s;
}

.ie-contact-item a:hover {
    color: #1a5276;
    text-decoration: underline;
}

/* Navigation Card Alias */
.ie-nav-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
}

.ie-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.4);
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: white;
}

.ie-nav-card i {
    font-size: 24px;
    opacity: 0.9;
}

/* Policy Main Title */
.ie-policy-main-title {
    text-align: center;
    font-size: 32px;
    color: #1a5276;
    margin-bottom: 40px;
    font-weight: 700;
}

.ie-policy-main-title i {
    margin-right: 15px;
    color: #2980b9;
}

/* Policy Toggle Icon */
.ie-toggle-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: white !important;
}

.ie-policy-block.open .ie-toggle-icon {
    transform: rotate(180deg);
}

.ie-policy-block.open .ie-policy-content {
    display: block;
}

/* Document Card Styles (alternative) */
.ie-document-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ie-document-card:hover {
    background: #ecf0f1;
    transform: translateX(5px);
}

.ie-document-card > i {
    font-size: 32px;
    color: #c0392b;
    flex-shrink: 0;
}

.ie-document-card .ie-document-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ie-document-card .ie-document-name {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
}

.ie-document-card .ie-document-note {
    font-size: 13px;
    color: #7f8c8d;
    font-style: italic;
}

.ie-document-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #2980b9;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ie-document-download:hover {
    background: #1a5276;
    transform: scale(1.1);
}

.ie-document-download i {
    font-size: 18px;
}

/* Responsive Styles for IE Block */
@media (max-width: 992px) {
    .ie-curators-grid {
        grid-template-columns: 1fr;
    }

    .ie-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ie-top-text {
        font-size: 17px;
        padding: 30px 15px;
    }

    .ie-section-title {
        font-size: 24px;
    }

    .ie-nav-grid {
        grid-template-columns: 1fr;
    }

    .ie-nav-item {
        padding: 20px;
    }

    .ie-curator-card {
        padding: 25px;
    }

    .ie-principle-item {
        padding: 20px;
    }

    .ie-policy-blocks {
        grid-template-columns: 1fr;
    }

    .ie-policy-blocks .ie-policy-block:last-child:nth-child(odd) {
        max-width: 100%;
    }

    .ie-policy-header {
        padding: 20px;
    }

    .ie-policy-title {
        font-size: 16px;
    }

    .ie-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ie-document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .ie-document-links {
        width: 100%;
    }

    .ie-doc-link {
        flex: 1;
        justify-content: center;
    }

    .ie-gallery-nav {
        width: 40px;
        height: 40px;
    }

    .ie-gallery-prev { left: 10px; }
    .ie-gallery-next { right: 10px; }
}

@media (max-width: 576px) {
    .ie-curators-section,
    .ie-nav-section,
    .ie-strategy-section,
    .ie-principles-section,
    .ie-programs-section,
    .ie-policy-section,
    .ie-documents-section {
        padding: 40px 15px;
    }

    .ie-principle-item {
        flex-direction: column;
        gap: 15px;
    }

    .ie-principle-num {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .ie-programs-table th,
    .ie-programs-table td {
        padding: 12px 15px;
        font-size: 14px;
    }

    .ie-policy-content {
        padding: 20px;
    }

    .ie-gallery-grid {
        grid-template-columns: 1fr;
    }

    .ie-document-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .ie-document-name {
        font-size: 14px;
    }
}

/* ==================== SERVICE PAGE BLOCK ==================== */
.block-service-page {
    padding: 40px 0 60px;
}

.sp-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #003366;
}

/* Contact Section — стиль как ac-coordinators-section */
.sp-contact-section {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sp-contact-description {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    opacity: 0.92;
}
.sp-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 24px;
    background: #ff6f00;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.sp-action-btn:hover {
    background: #e65100;
    color: #fff;
    transform: translateY(-1px);
}

/* Guidebook download card */
.guidebook-download {
    max-width: 500px;
    margin: 30px auto;
}
.guidebook-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 32px rgba(26,35,126,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.guidebook-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26,35,126,0.35);
    color: #fff;
}
.guidebook-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ef5350;
}
.guidebook-card-info {
    flex: 1;
}
.guidebook-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.guidebook-card-desc {
    font-size: 0.85rem;
    opacity: 0.75;
}
.guidebook-card-action {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s;
}
.guidebook-card:hover .guidebook-card-action {
    background: rgba(255,255,255,0.35);
}
.sp-contact-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sp-contact-section-title i {
    color: #fff;
}
.sp-contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.sp-contact-photo-wrap {
    width: 100px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #003366;
    overflow: hidden;
}
.sp-contact-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}
.sp-contact-photo-wrap i {
    font-size: 2.5rem;
    color: #003366;
}
.sp-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sp-contact-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
    line-height: 1.3;
}
.sp-contact-position {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}
.sp-contact-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}
.sp-contact-contacts a,
.sp-contact-contacts span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #003366;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.sp-contact-contacts a:hover {
    color: #0066cc;
}
.sp-contact-contacts i {
    color: #003366;
    width: 18px;
    font-size: 1rem;
}

/* Tabs */
.sp-tabs-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}
.sp-tabs-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: thin;
}
.sp-tab-btn {
    padding: 16px 28px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s;
    position: relative;
    flex-shrink: 0;
}
.sp-tab-btn:hover {
    color: #003366;
    background: rgba(0,51,102,0.05);
}
.sp-tab-btn.active {
    color: #003366;
    background: white;
    font-weight: 600;
}
.sp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #003366;
}
.sp-tab-docs {
    margin-left: auto;
}
.sp-tab-docs i {
    margin-right: 6px;
}
.sp-tabs-content {
    padding: 0;
}
.sp-tab-panel {
    display: none;
    padding: 35px 40px;
    line-height: 1.8;
    color: #444;
}
.sp-tab-panel.active {
    display: block;
}
.sp-tab-body h3 {
    color: #003366;
    margin: 28px 0 14px 0;
    font-size: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}
.sp-tab-body h3:first-child {
    margin-top: 0;
}
.sp-tab-body ul {
    padding-left: 20px;
    margin: 10px 0;
}
.sp-tab-body li {
    margin-bottom: 6px;
}
.sp-tab-body p {
    margin: 10px 0;
}
.sp-tab-body strong {
    color: #333;
}

/* Documents Accordion */
.sp-docs-accordion {
    padding: 10px 0;
}
.sp-doc-section {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.sp-doc-section:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.sp-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.2s;
}
.sp-doc-header:hover {
    background: #eef2f7;
}
.sp-doc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #333;
}
.sp-doc-header-left i {
    color: #e65100;
    font-size: 18px;
}
.sp-doc-count {
    background: #e65100;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.sp-doc-chevron {
    color: #999;
    transition: transform 0.3s;
}
.sp-doc-section.expanded .sp-doc-chevron {
    transform: rotate(180deg);
}
.sp-doc-body {
    display: none;
    padding: 0;
}
.sp-doc-section.expanded .sp-doc-body {
    display: block;
}
.sp-doc-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    border-top: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.sp-doc-file:hover {
    background: #f8f9fa;
    color: #003366;
}
.sp-doc-file i:first-child {
    color: #c62828;
    font-size: 18px;
    width: 20px;
    text-align: center;
}
.sp-doc-file span {
    flex: 1;
    font-size: 14px;
}
.sp-doc-file i:last-child {
    color: #999;
    font-size: 14px;
}
.sp-doc-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-contact-section {
        padding: 20px;
    }
    .sp-contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .sp-contact-info {
        text-align: center;
    }
    .sp-contact-contacts {
        align-items: center;
    }
    .sp-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .sp-tab-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    .sp-tab-panel {
        padding: 20px;
    }
    .sp-tab-docs {
        margin-left: 0;
    }
}

/* ==================== SUMMER SCHOOLS BLOCK ==================== */
.block-summer-schools { margin-bottom: 40px; }
.ss-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 800px;
}
.ss-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff9800;
}
.ss-section-title i { color: #ff9800; margin-right: 8px; }

/* School Cards */
.ss-schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.ss-school-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 25px;
    border-top: 4px solid #ff9800;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ss-school-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.ss-school-card-header { margin-bottom: 15px; }
.ss-school-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #003366;
    margin: 0;
}
.ss-school-name i { color: #ff9800; margin-right: 6px; }
.ss-school-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}
.ss-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}
.ss-badge i { font-size: 0.8rem; }
.ss-badge-audience { background: #e3f2fd; color: #1565c0; }
.ss-badge-dates { background: #fff3e0; color: #e65100; }
.ss-badge-format { background: #e8f5e9; color: #2e7d32; }
.ss-school-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Documents inside school card */
.ss-school-docs { margin-bottom: 15px; }
.ss-doc-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 6px;
    overflow: hidden;
}
.ss-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}
.ss-doc-header i.fa-folder { color: #ff9800; margin-right: 6px; }
.ss-doc-chevron { transition: transform 0.3s; font-size: 0.8rem; color: #999; }
.ss-doc-section.expanded .ss-doc-chevron { transform: rotate(180deg); }
.ss-doc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}
.ss-doc-section.expanded .ss-doc-body { max-height: 500px; }
.ss-doc-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    color: #1565c0;
    text-decoration: none;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
}
.ss-doc-file:hover { background: #e3f2fd; }
.ss-doc-file .fa-download { margin-left: auto; font-size: 0.8rem; }

/* Register Button */
.ss-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}
.ss-register-btn:hover {
    background: linear-gradient(135deg, #f57c00, #e65100);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,152,0,0.4);
    color: #fff;
}
.ss-register-btn.disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    pointer-events: none;
}

/* Archive */
.ss-archive-title { margin-top: 50px; }
.ss-archive-year-block {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.ss-archive-year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #003366, #004080);
    cursor: pointer;
    color: #fff;
}
.ss-archive-year-header h3 { margin: 0; font-size: 1.1rem; }
.ss-archive-year-header h3 i { margin-right: 8px; }
.ss-archive-chevron { transition: transform 0.3s; color: rgba(255,255,255,0.7); }
.ss-archive-year-block.expanded .ss-archive-chevron { transform: rotate(180deg); }
.ss-archive-year-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}
.ss-archive-year-block.expanded .ss-archive-year-body { max-height: 5000px; }
.ss-archive-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 15px;
    padding: 20px;
}
.ss-archive-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px;
    border-left: 4px solid #003366;
}
.ss-archive-card-info h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #003366;
}
.ss-news-links {
    margin-top: 10px;
    font-size: 0.9rem;
}
.ss-news-label {
    color: #888;
    margin-right: 4px;
}
.ss-news-links a {
    color: #1565c0;
    text-decoration: none;
}
.ss-news-links a:hover { text-decoration: underline; }

/* Certificates */
.ss-certs-section {
    margin-top: 12px;
    border: 1px solid #fce4ec;
    border-radius: 8px;
    overflow: hidden;
}
.ss-certs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #fce4ec;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #c62828;
}
.ss-certs-header i.fa-certificate { margin-right: 5px; }
.ss-certs-chevron { transition: transform 0.3s; font-size: 0.75rem; }
.ss-certs-section.expanded .ss-certs-chevron { transform: rotate(180deg); }
.ss-certs-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}
.ss-certs-section.expanded .ss-certs-body { max-height: 2000px; }
.ss-cert-link {
    display: block;
    padding: 6px 12px;
    color: #c62828;
    text-decoration: none;
    font-size: 0.85rem;
    border-top: 1px solid #fce4ec;
}
.ss-cert-link:hover { background: #ffebee; }
.ss-cert-link i { margin-right: 5px; }

/* Responsive */
@media (max-width: 768px) {
    .ss-schools-grid { grid-template-columns: 1fr; }
    .ss-archive-cards { grid-template-columns: 1fr; padding: 12px; }
    .ss-school-card { padding: 18px; }
    .ss-school-meta { flex-direction: column; }
}

/* ==================== SERVICE PAGE: Service Lists ==================== */
.ss-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ss-service-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
    position: relative;
    padding-left: 28px;
}
.ss-service-list li::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 8px;
    top: 13px;
    color: #003366;
}
.ss-service-list li:last-child { border-bottom: none; }
.ss-service-list li a {
    color: #1565c0;
    text-decoration: none;
    border-bottom: 1px dashed #1565c0;
}
.ss-service-list li a:hover {
    color: #003366;
    border-bottom-style: solid;
}
.sp-service-time {
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
}
.sp-service-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #003366;
}
.sp-service-item h3 {
    margin: 0 0 8px 0;
    color: #003366;
    font-size: 1.1rem;
}
.sp-service-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #003366;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.sp-service-btn:hover {
    background: #004080;
    color: #fff;
}
.sp-service-group {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.sp-service-group h3 {
    margin: 0 0 15px 0;
    color: #003366;
    font-size: 1.1rem;
}
.sp-service-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.sp-service-group-header h3 { margin: 0; }
.sp-service-note {
    background: #e3f2fd;
    border-left: 4px solid #1565c0;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.6;
}
.sp-service-note i { color: #1565c0; margin-right: 8px; }


/* GRANTS INFO BLOCK */

.block-grants-info {
    padding: 40px 0 60px;
}

.gi-main-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}
.gi-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #003366, #d4af37);
    border-radius: 2px;
}

/* Navigation - 2 rows of buttons centered */
.gi-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}
.gi-nav-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.gi-nav-btn {
    padding: 12px 24px;
    background: #003366;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,51,102,0.2);
}
.gi-nav-btn:hover {
    background: #004488;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,51,102,0.3);
    color: #fff;
    text-decoration: none;
}

/* Section divider (gold) */
.gi-section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 40px 0;
}

/* Section container */
.gi-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    scroll-margin-top: 100px;
}

/* Section title with gradient icon */
.gi-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.gi-section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003366, #006699);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.gi-section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003366;
    margin: 0;
}

/* Text content */
.gi-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 20px;
    white-space: pre-line;
}
.gi-text-content p { margin-bottom: 12px; }

/* Document list (numbered items) */
.gi-doc-list {
    margin: 20px 0;
}
.gi-doc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #003366;
}
.gi-doc-number {
    background: linear-gradient(135deg, #003366, #006699);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Notes */
.gi-notes {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #856404;
    white-space: pre-line;
}

/* Tables */
.gi-table-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #003366;
    margin: 30px 0 5px;
    text-align: center;
}
.gi-table-year {
    font-weight: 400;
    font-size: 0.95rem;
    color: #666;
}
.gi-table-wrapper {
    overflow-x: auto;
    margin: 15px 0 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.gi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.gi-table thead th {
    background: linear-gradient(135deg, #003366, #004488);
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}
.gi-table thead th:first-child {
    border-radius: 10px 0 0 0;
}
.gi-table thead th:last-child {
    border-radius: 0 10px 0 0;
}
.gi-table tbody td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}
.gi-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.gi-table tbody tr:hover {
    background: #e8f0fe;
}
.gi-table-num {
    text-align: center;
    font-weight: 600;
}
.gi-table-highlight {
    color: #003366;
    font-weight: 700;
    background: rgba(0,51,102,0.05);
}

/* Logo (for Серпін and Қазақстан халқына) */
.gi-logo {
    text-align: center;
    margin-bottom: 25px;
}
.gi-logo img {
    max-height: 100px;
    width: auto;
}

/* Benefits box */
.gi-benefits {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    line-height: 1.8;
    white-space: pre-line;
}

/* Categories (numbered list for khalyk) */
.gi-categories {
    margin: 20px 0;
}
.gi-category-item {
    display: flex;
    gap: 8px;
    padding: 8px 15px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border-radius: 6px;
}
.gi-category-number {
    color: #003366;
    font-weight: 700;
}

/* Document link button */
.gi-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #003366, #006699);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s;
}
.gi-doc-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,51,102,0.3);
    color: #fff;
    text-decoration: none;
}
.gi-doc-link i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .gi-main-title { font-size: 1.6rem; }
    .gi-nav-btn { padding: 10px 16px; font-size: 0.85rem; }
    .gi-section { padding: 20px; }
    .gi-section-title h2 { font-size: 1.2rem; }
    .gi-table { font-size: 0.8rem; }
    .gi-table thead th, .gi-table tbody td { padding: 8px 10px; }
}

/* END GRANTS INFO BLOCK */

/* ========== RESOURCE CARDS BLOCK ========== */
.block-resource-cards { padding: 60px 0; }
.rc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.rc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.rc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,51,102,0.12);
}
.rc-card-header {
    background: linear-gradient(135deg, #003366, #004d80);
    padding: 20px 24px;
}
.rc-card-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}
.rc-card-body {
    padding: 20px 24px;
    flex: 1;
}
.rc-card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    white-space: pre-line;
}
.rc-card-desc ul, .rc-card-desc ol {
    margin: 8px 0;
    padding-left: 20px;
}
.rc-card-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.rc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.rc-card-link--platform {
    background: #003366;
    color: #fff;
}
.rc-card-link--platform:hover {
    background: #004d80;
    color: #fff;
}
.rc-card-link--instr {
    background: #f0f4f8;
    color: #003366;
    border: 1px solid #d0d8e0;
}
.rc-card-link--instr:hover {
    background: #e0e8f0;
}

@media (max-width: 768px) {
    .rc-grid { grid-template-columns: 1fr; gap: 16px; }
    .rc-card-header { padding: 16px 18px; }
    .rc-card-body { padding: 16px 18px; }
    .rc-card-footer { padding: 12px 18px; }
}
/* END RESOURCE CARDS BLOCK */
