body {
    font-family: 'SF Pro Display', 'Segoe UI', Arial, sans-serif;
    background: #f8fafc;
    color: #222;
    margin: 0;
    padding: 0;
}
.site-header {
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(60,60,60,0.07);
    padding: 0 0 0.5em 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eaeaea;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.7em 2em 0.7em 2em;
    gap: 2em;
}
.logo-block {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo {
    display: block;
    width: 170px;
    height: 70px;
    object-fit: contain;
    margin-right: 0.5em;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
.site-slogan {
    font-size: 1.1em;
    color: #222;
    font-weight: 400;
    line-height: 1.2;
    max-width: 350px;
    margin-right: auto;
    margin-left: 1em;
    letter-spacing: 0.01em;
}
.site-search {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 0.2em 0.9em;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
    transition: box-shadow 0.2s;
}
.site-search input[type="text"] {
    border: none;
    background: transparent;
    font-size: 1em;
    padding: 0.5em 0.5em 0.5em 0;
    outline: none;
    width: 140px;
    transition: width 0.2s;
}
.site-search input[type="text"]:focus {
    width: 200px;
}
.site-search button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0 0 0.3em;
    display: flex;
    align-items: center;
}
.site-search svg {
    display: block;
}
nav {
    position: relative;
    background: transparent;
    box-shadow: none;
}
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin: 0;
    padding: 0;
    font-size: 1.08em;
    font-weight: 500;
    background: transparent;
    transition: max-height 0.3s;
    flex-wrap: wrap;
}
.nav-list a {
    text-decoration: none;
    color: #222;
    padding: 0.5em 0.7em;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.nav-list a:hover, .nav-list a:focus {
    background: #f5f5f7;
    color: #1976d2;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
}
.nav-list a.active {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 700;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
}
.nav-toggle {
    display: none;
    position: absolute;
    right: 1em;
    top: 0.7em;
    background: none;
    border: none;
    font-size: 2em;
    color: #1976d2;
    cursor: pointer;
}
.container {
    max-width: 1400px;
    margin: 2em auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(60,60,60,0.10);
    padding: 2.5em 2em;
}
footer {
    text-align: center;
    padding: 1.5em 0 1em 0;
    background: #f1f1f1;
    color: #888;
    margin-top: 2em;
    border-top: 1px solid #eaeaea;
}
.slider {
    position: relative;
    background: linear-gradient(90deg, #e3f2fd 60%, #f8fafc 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2em;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px 0 rgba(60,60,60,0.10);
}
.slide {
    display: none;
    font-size: 1.7em;
    padding: 2.5em 1.5em;
    text-align: center;
    color: #1976d2;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.slide.active {
    display: block;
    animation: fadeIn 0.7s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #1976d2;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.3em;
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
    transition: opacity 0.2s, box-shadow 0.2s;
}
.slider button:hover {
    opacity: 1;
    box-shadow: 0 4px 16px 0 rgba(60,60,60,0.13);
}
.slider .prev {
    left: 18px;
}
.slider .next {
    right: 18px;
}
.news ul {
    padding-left: 1.2em;
}
.news-item {
    background: #f5faff;
    border-radius: 16px;
    margin-bottom: 2em;
    padding: 1.5em 2em;
    box-shadow: 0 4px 24px 0 rgba(60,60,60,0.10);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2em;
    transition: box-shadow 0.2s, transform 0.2s;
}
.news-item:hover {
    box-shadow: 0 8px 32px 0 rgba(60,60,60,0.13);
    transform: translateY(-2px) scale(1.01);
}
.news-item .news-img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
    background: #e0e0e0;
}
.news-item .news-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3em;
    margin-top: 0;
}
.news-item h2, .news-item .date, .news-item p {
    margin-top: 0;
}
.news-item .date {
    color: #888;
    font-size: 0.95em;
    margin-bottom: 0.5em;
}
.partners-logos {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    margin-top: 1em;
    flex-wrap: wrap;
}
.partner {
    background: #fff;
    border-radius: 12px;
    padding: 1em 1em 0.5em 1em;
    color: #1976d2;
    font-weight: bold;
    min-width: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
    transition: box-shadow 0.2s;
}
.partner img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5em;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
.partner:hover {
    box-shadow: 0 4px 16px 0 rgba(60,60,60,0.13);
}
.about-short {
    margin: 2em 0;
    background: #f5faff;
    border-radius: 14px;
    padding: 1.5em;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
}
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #1976d2 60%, #42a5f5 100%);
    color: #fff;
    padding: clamp(0.5em, 2vw, 0.7em) clamp(1.2em, 3vw, 1.7em);
    border-radius: 8px;
    text-decoration: none;
    margin-top: 1em;
    font-weight: 600;
    font-size: clamp(0.9em, 2.2vw, 1.08em);
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    border: none;
    white-space: nowrap;
}
.btn:hover {
    background: linear-gradient(90deg, #1565c0 60%, #1976d2 100%);
    box-shadow: 0 4px 16px 0 rgba(60,60,60,0.13);
    transform: translateY(-2px) scale(1.03);
}
.members-list {
    padding-left: 1.2em;
    columns: 2 200px;
    column-gap: 2em;
}
.documents-list {
    padding-left: 1.2em;
}
.contacts-block {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    margin-bottom: 2em;
}
.contacts-info {
    flex: 1 1 220px;
    min-width: 220px;
}
.feedback-form {
    flex: 1 1 220px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    background: #f5faff;
    border-radius: 8px;
    padding: 1em;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
}
.feedback-form input,
.feedback-form textarea {
    padding: clamp(0.4em, 1.5vw, 0.5em);
    border: 1px solid #b0bec5;
    border-radius: 4px;
    font-size: clamp(0.9em, 2.2vw, 1em);
    width: 100%;
    box-sizing: border-box;
}
.feedback-form button {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: clamp(0.5em, 1.5vw, 0.6em);
    font-size: clamp(0.9em, 2.2vw, 1em);
    cursor: pointer;
    margin-top: 0.5em;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    width: 100%;
}
.feedback-form button:hover {
    background: #0d47a1;
    box-shadow: 0 4px 16px 0 rgba(60,60,60,0.13);
}
.map-placeholder {
    background: #e0e0e0;
    border-radius: 8px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.1em;
    margin-bottom: 1em;
}
.submenu {
    margin-bottom: 2em;
    background: #f5f5f7;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
    padding: 0.5em 1em;
    overflow-x: auto;
}
.submenu ul {
    display: flex;
    gap: 1.2em;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.submenu a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5em 1.1em;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    background: transparent;
    white-space: nowrap;
}
.submenu a:hover, .submenu a:focus {
    background: #e3f2fd;
    color: #0d47a1;
}
@media (max-width: 1100px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7em;
        padding: 0.7em 1em 0.7em 1em;
    }
    .site-slogan {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    /* Улучшение навигации на больших планшетах */
    .nav-list {
        gap: 1.2em;
    }
    
    .nav-list a {
        padding: 0.5em 0.8em;
        font-size: 1.05em;
    }
}
@media (max-width: 900px) {
    .header-inner {
        max-width: 98vw;
        padding: 0.7em 0.5em 0.7em 0.5em;
    }
    .container {
        max-width: 98vw;
        padding: 1em;
    }
    
    /* Улучшение навигации на средних экранах */
    .nav-list {
        gap: 1em;
        justify-content: center;
    }
    
    .nav-list a {
        padding: 0.4em 0.6em;
        font-size: 1em;
    }
}
@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5em;
    }
    .site-slogan {
        font-size: 1em;
        text-align: left;
    }
    .news-item {
        flex-direction: column;
        gap: 1em;
        padding: 1em 1em;
    }
    .news-item .news-img {
        width: 100%;
        height: 160px;
    }
    .submenu ul {
        gap: 0.5em;
    }
    .submenu a {
        padding: 0.5em 0.7em;
        font-size: 0.98em;
    }
    .site-search button {
        padding: 0;
        margin-left: auto;
    }
}
@media (max-width: 600px) {
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 2px 8px #e0e0e0;
        z-index: 10;
    }
    .nav-list.open {
        max-height: 400px;
        padding: 1em 0;
    }
    .nav-toggle {
        display: block;
        top: 0.2em;
    }
    nav {
        min-height: 48px;
    }
    .container {
        padding: 0.5em;
    }
    .slider .slide {
        font-size: 1.1em;
        padding: 1em;
    }
    .about-short {
        padding: 1em;
        flex-direction: column;
    }
    
    .about-short img {
        order: -1;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        margin-bottom: 1em !important;
    }
    .partners-logos {
        gap: 0.7em;
    }
    .partner img {
        width: 40px;
        height: 40px;
    }
    .site-search button {
        padding: 0;
        margin-left: auto;
    }
    
    /* Скрытие текста в стрелках навигации на мобильных */
    .news-detail-nav a,
    .event-detail-nav a {
        font-size: 1.5em !important;
        padding: 0.5em !important;
        min-width: 44px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .news-detail-nav a::before,
    .news-detail-nav a::after,
    .event-detail-nav a::before,
    .event-detail-nav a::after {
        content: "";
    }
    
    .news-detail-nav a:first-child::before {
        content: "←";
    }
    
    .news-detail-nav a:last-child::after {
        content: "→";
    }
    
    .event-detail-nav a:first-child::before {
        content: "←";
    }
    
    .event-detail-nav a:last-child::after {
        content: "→";
    }
    
    /* Скрытие текста навигации на мобильных */
    .nav-text {
        display: none !important;
    }
    
    /* Переструктурирование футера на мобильных */
    footer > div {
        flex-direction: column !important;
        gap: 1.5em !important;
        text-align: center !important;
    }
    
    footer > div > div {
        min-width: auto !important;
        flex: none !important;
        max-width: none !important;
        width: 100% !important;
    }
    
    /* Центрирование контактов в мобильной версии */
    footer > div > div > div {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5em !important;
    }
}

/* Дополнительные медиа-запросы для улучшения адаптивности */
@media (max-width: 480px) {
    .header-inner {
        padding: 0.5em 0.3em;
    }
    .site-logo {
        width: 140px;
        height: 55px;
    }
    .site-slogan {
        font-size: 0.9em;
        line-height: 1.2;
    }
    .site-search input[type="text"] {
        width: 120px;
        font-size: 0.9em;
    }
    .site-search input[type="text"]:focus {
        width: 160px;
    }
    .site-search button {
        padding: 0;
        margin-left: auto;
    }
    
    /* Поднятие бургера на мобильных */
    .nav-toggle {
        top: 0.2em;
    }
    .container {
        margin: 1em auto;
        padding: 0.8em;
        border-radius: 12px;
    }
    .slider {
        min-height: 120px;
        border-radius: 12px;
    }
    .slider .slide {
        font-size: 1em;
        padding: 0.8em;
    }
    .news-item {
        padding: 0.8em;
        gap: 0.8em;
    }
    .news-item .news-img {
        height: 140px;
    }
    .about-short {
        padding: 0.8em;
        gap: 1em;
        flex-direction: column;
    }
    
    .about-short img {
        order: -1;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        margin-bottom: 1em !important;
    }
    .partners-logos {
        gap: 0.5em;
    }
    .partner {
        min-width: 80px;
        padding: 0.7em 0.5em 0.3em 0.5em;
    }
    .partner img {
        width: 35px;
        height: 35px;
    }
    .pdf-card {
        min-width: 180px;
        padding: 1em;
    }
    .about-links {
        gap: 0.8em;
        margin-bottom: 2em;
    }
    .about-links a {
        min-width: 120px;
        padding: 0.6em 0.5em;
        font-size: 0.9em;
        flex: 1 1 140px;
    }
    .about-links svg {
        width: 28px;
        height: 28px;
    }
    
    /* Скрытие текста в стрелках навигации на мобильных */
    .news-detail-nav a,
    .event-detail-nav a {
        font-size: 1.5em !important;
        padding: 0.5em !important;
        min-width: 44px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .news-detail-nav a::before,
    .news-detail-nav a::after,
    .event-detail-nav a::before,
    .event-detail-nav a::after {
        content: "";
    }
    
    .news-detail-nav a:first-child::before {
        content: "←";
    }
    
    .news-detail-nav a:last-child::after {
        content: "→";
    }
    
    .event-detail-nav a:first-child::before {
        content: "←";
    }
    
    .event-detail-nav a:last-child::after {
        content: "→";
    }
    
    /* Скрытие текста навигации на мобильных */
    .nav-text {
        display: none !important;
    }
    
    /* Переструктурирование футера на мобильных */
    footer > div {
        flex-direction: column !important;
        gap: 1.5em !important;
        text-align: center !important;
    }
    
    footer > div > div {
        min-width: auto !important;
        flex: none !important;
        max-width: none !important;
        width: 100% !important;
    }
    
    /* Центрирование контактов в мобильной версии */
    footer > div > div > div {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5em !important;
    }
}

@media (max-width: 360px) {
    .header-inner {
        padding: 0.4em 0.2em;
    }
    .site-logo {
        width: 120px;
        height: 45px;
    }
    .site-slogan {
        font-size: 0.85em;
    }
    .site-search {
        padding: 0.15em 0.6em;
    }
    .site-search input[type="text"] {
        width: 100px;
        font-size: 0.85em;
    }
    .site-search input[type="text"]:focus {
        width: 140px;
    }
    .site-search button {
        padding: 0;
        margin-left: auto;
    }
    
    /* Поднятие бургера на мобильных */
    .nav-toggle {
        top: 0.2em;
    }
    .container {
        padding: 0.6em;
        margin: 0.8em auto;
    }
    .slider .slide {
        font-size: 0.9em;
        padding: 0.6em;
    }
    .news-item {
        padding: 0.6em;
    }
    .news-item .news-img {
        height: 120px;
    }
    .about-short {
        padding: 0.6em;
        flex-direction: column;
    }
    
    .about-short img {
        order: -1;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        margin-bottom: 0.8em !important;
    }
    .partner {
        min-width: 70px;
        padding: 0.5em 0.3em 0.2em 0.3em;
    }
    .partner img {
        width: 30px;
        height: 30px;
    }
    .pdf-card {
        min-width: 160px;
        padding: 0.8em;
    }
    .about-links {
        gap: 0.6em;
        margin-bottom: 1.8em;
    }
    .about-links a {
        min-width: 100px;
        padding: 0.5em 0.4em;
        font-size: 0.85em;
        flex: 1 1 120px;
    }
    .about-links svg {
        width: 24px;
        height: 24px;
    }
    
    /* Скрытие текста в стрелках навигации на мобильных */
    .news-detail-nav a,
    .event-detail-nav a {
        font-size: 1.5em !important;
        padding: 0.5em !important;
        min-width: 44px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .news-detail-nav a::before,
    .news-detail-nav a::after,
    .event-detail-nav a::before,
    .event-detail-nav a::after {
        content: "";
    }
    
    .news-detail-nav a:first-child::before {
        content: "←";
    }
    
    .news-detail-nav a:last-child::after {
        content: "→";
    }
    
    .event-detail-nav a:first-child::before {
        content: "←";
    }
    
    .event-detail-nav a:last-child::after {
        content: "→";
    }
    
    /* Скрытие текста навигации на мобильных */
    .nav-text {
        display: none !important;
    }
    
    /* Переструктурирование футера на мобильных */
    footer > div {
        flex-direction: column !important;
        gap: 1.5em !important;
        text-align: center !important;
    }
    
    footer > div > div {
        min-width: auto !important;
        flex: none !important;
        max-width: none !important;
        width: 100% !important;
    }
    
    /* Центрирование контактов в мобильной версии */
    footer > div > div > div {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5em !important;
    }
}

/* Улучшения для планшетов */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-inner {
        padding: 0.8em 1.5em;
    }
    .site-slogan {
        font-size: 1.05em;
        max-width: 300px;
    }
    .container {
        padding: 2em 1.5em;
        margin: 1.5em auto;
    }
    .slider .slide {
        font-size: 1.4em;
        padding: 2em 1.2em;
    }
    .news-item {
        gap: 1.5em;
        padding: 1.3em 1.5em;
    }
    .news-item .news-img {
        width: 120px;
        height: 90px;
    }
    .about-short {
        padding: 1.8em;
        gap: 2.5em;
    }
    .partners-logos {
        gap: 1.2em;
    }
    .partner {
        min-width: 90px;
    }
    .partner img {
        width: 50px;
        height: 50px;
    }
}

/* Улучшения для больших экранов */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 3em 2.5em;
    }
    .header-inner {
        max-width: 1200px;
        padding: 0.8em 2.5em;
    }
    .slider .slide {
        font-size: 1.8em;
        padding: 3em 2em;
    }
    .news-item {
        padding: 2em 2.5em;
        gap: 2.5em;
    }
    .news-item .news-img {
        width: 160px;
        height: 120px;
    }
}

/* Улучшения для ландшафтной ориентации на мобильных */
@media (max-width: 600px) and (orientation: landscape) {
    .header-inner {
        flex-direction: row;
        align-items: center;
        gap: 1em;
    }
    .site-slogan {
        font-size: 0.9em;
        max-width: 200px;
    }
    .slider {
        min-height: 100px;
    }
    .slider .slide {
        font-size: 1em;
        padding: 0.8em;
    }
    .news-item {
        flex-direction: row;
        gap: 1em;
    }
    .news-item .news-img {
        width: 100px;
        height: 80px;
    }
}
.breadcrumbs {
    margin-bottom: 1.5em;
    font-size: 0.98em;
    color: #888;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5em;
    align-items: flex-start;
    overflow: hidden;
}
.breadcrumbs a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.15s;
}
.breadcrumbs a:hover {
    color: #0d47a1;
}
.breadcrumbs .sep {
    color: #bbb;
    margin: 0 0.2em;
}
.breadcrumbs span:last-child {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    flex: 1;
    min-width: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pdf-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin: 2em 0 2em 0;
}
.pdf-card {
    background: #f5faff;
    border-radius: 14px;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
    padding: 1.2em 1.5em;
    min-width: 220px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #e3f2fd;
}
.pdf-card:hover {
    box-shadow: 0 8px 32px 0 rgba(60,60,60,0.13);
    transform: translateY(-2px) scale(1.02);
}
.pdf-card .pdf-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.7em;
    color: #1976d2;
}
.pdf-card a {
    color: #1976d2;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.08em;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.pdf-card a:hover {
    color: #0d47a1;
}
.pdf-card .pdf-desc {
    color: #555;
    font-size: 0.97em;
}
.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2em 3em;
    margin-bottom: 2.5em;
}
.about-links a {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 320px;
    background: #f5f8fa;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(60,60,60,0.07);
    padding: 1.2em 1.2em 1.2em 1.2em;
    display: flex;
    align-items: center;
    gap: 1em;
    text-decoration: none;
    color: #222;
    transition: box-shadow .22s,transform .22s;
}
.about-links a:hover {
    box-shadow: 0 6px 24px 0 rgba(25,118,210,0.13),0 1.5px 8px 0 rgba(60,60,60,0.08);
    transform: translateY(-2px) scale(1.035);
    z-index: 2;
}
.about-links svg {
    flex-shrink: 0;
}
@media (max-width: 700px) {
    .about-links {
        gap: 1em;
        margin-bottom: 2.2em;
    }
    .about-links a {
        min-width: 140px;
        padding: 0.8em 0.7em 0.8em 0.7em;
        font-size: 0.98em;
        flex: 1 1 160px;
    }
    .about-links svg {
        width: 30px;
        height: 30px;
    }
} 

/* Улучшения для кнопок слайдера */
.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #1976d2;
    border: none;
    border-radius: 50%;
    width: clamp(32px, 6vw, 40px);
    height: clamp(32px, 6vw, 40px);
    font-size: clamp(1em, 2.5vw, 1.3em);
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
    transition: opacity 0.2s, box-shadow 0.2s;
}
.slider button:hover {
    opacity: 1;
    box-shadow: 0 4px 16px 0 rgba(60,60,60,0.13);
}
.slider .prev {
    left: clamp(12px, 3vw, 18px);
}
.slider .next {
    right: clamp(12px, 3vw, 18px);
}

/* Улучшения для заголовков */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Улучшения для изображений */
img {
    max-width: 100%;
    height: auto;
}

/* Улучшения для форм */
.feedback-form input,
.feedback-form textarea {
    padding: clamp(0.4em, 1.5vw, 0.5em);
    border: 1px solid #b0bec5;
    border-radius: 4px;
    font-size: clamp(0.9em, 2.2vw, 1em);
    width: 100%;
    box-sizing: border-box;
}

.feedback-form button {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: clamp(0.5em, 1.5vw, 0.6em);
    font-size: clamp(0.9em, 2.2vw, 1em);
    cursor: pointer;
    margin-top: 0.5em;
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    width: 100%;
}
.feedback-form button:hover {
    background: #0d47a1;
    box-shadow: 0 4px 16px 0 rgba(60,60,60,0.13);
}

/* Улучшения для таблиц */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: clamp(0.85em, 2vw, 1em);
}

table th,
table td {
    padding: clamp(0.5em, 1.5vw, 0.8em);
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

/* Улучшения для списков */
ul, ol {
    padding-left: clamp(1em, 3vw, 1.2em);
}

li {
    margin-bottom: clamp(0.3em, 1vw, 0.5em);
}

/* Улучшения для ссылок */
a {
    word-break: break-word;
}

/* Улучшения для текста */
p {
    line-height: 1.6;
    margin-bottom: clamp(0.8em, 2vw, 1em);
}

/* Улучшения для блоков с кодом */
pre, code {
    font-size: clamp(0.8em, 1.8vw, 0.9em);
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Улучшения для цитат */
blockquote {
    margin: clamp(1em, 3vw, 1.5em) 0;
    padding: clamp(0.8em, 2vw, 1em) clamp(1em, 3vw, 1.5em);
    border-left: 4px solid #1976d2;
    background: #f5f5f7;
    font-style: italic;
}

/* Улучшения для разделителей */
hr {
    margin: clamp(1.5em, 4vw, 2em) 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Улучшения для модальных окон (если есть) */
.modal {
    padding: clamp(1em, 3vw, 2em);
}

.modal-content {
    max-width: clamp(280px, 90vw, 600px);
    margin: 0 auto;
}

/* Улучшения для уведомлений */
.notification {
    padding: clamp(0.8em, 2vw, 1em);
    margin: clamp(0.5em, 1.5vw, 1em) 0;
    border-radius: clamp(6px, 1.5vw, 8px);
    font-size: clamp(0.9em, 2.2vw, 1em);
}

/* Улучшения для карточек */
.card {
    padding: clamp(1em, 3vw, 1.5em);
    border-radius: clamp(8px, 2vw, 12px);
    box-shadow: 0 2px 8px 0 rgba(60,60,60,0.07);
}

/* Улучшения для иконок */
.icon {
    width: clamp(16px, 3vw, 24px);
    height: clamp(16px, 3vw, 24px);
}

/* Улучшения для навигационных элементов */
.nav-item {
    padding: clamp(0.4em, 1.5vw, 0.6em);
    font-size: clamp(0.9em, 2.2vw, 1em);
}

/* Улучшения для поиска */
.search-input {
    width: clamp(120px, 25vw, 200px);
    font-size: clamp(0.85em, 2vw, 1em);
}

/* Улучшения для пагинации */
.pagination {
    display: flex;
    justify-content: center;
    gap: clamp(0.3em, 1vw, 0.5em);
    margin: clamp(1em, 3vw, 2em) 0;
}

.pagination a,
.pagination span {
    padding: clamp(0.4em, 1.5vw, 0.6em) clamp(0.6em, 2vw, 0.8em);
    border-radius: clamp(4px, 1vw, 6px);
    font-size: clamp(0.85em, 2vw, 1em);
    text-decoration: none;
} 