/*ОСНОВНОЕ ДЛЯ ВСЕГО*/
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #BBECC8;
    --text-black: #000000;
    --text-gray: #9D9D9D;
    --light-gray: #F3F3F3;
    --medium-gray: #E5E5E5;
    --white: #ffffff;
    --black: #000000;
}

html, body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: "Jost", sans-serif;
    background-color: var(--white);
    color: var(--black);
}

*, *::before, *::after {
    box-sizing: inherit;
}

html {
overflow-y: scroll;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    place-items: start center;
}

.poas-container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-header {
    background-color: var(--white);
    padding: 30px 0 30px 0;
    width: 100%;
}

.site-title {
    color: var(--text-black);
    font-size: 32px;
    font-weight: 500;
    text-align: left;
    margin: 0;
    width: 100%;
}

/* БУРГЕР-МЕНЮ */
.poas-burger-container {
    display: none;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.poas-b-container {
      display: flex !important;
      align-items: center; /* Центрирование по вертикали */
      justify-content: center; /* Центрирование по горизонтали */
      gap: 10px;
}

.poas-burger-checkbox {
    position: absolute;
    visibility: hidden;
}

.poas-burger {
    position: relative;
    z-index: 3;
    cursor: pointer;
    display: none; /* По умолчанию скрыто */
    border: none;
    background: transparent;
    width: 30px;
    height: 26px;
    margin: 15px 10px;

}
.poas-burger::before,
.poas-burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: var(--black);
    transition: all 0.5s ease;

}
.poas-burger::before {
    top: 0;
    box-shadow: 0 11px 0 #000;
    transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}
.poas-burger::after {
    bottom: 0;
    transition: bottom .3s .15s, transform .3s;
}

.poas-burger-checkbox:checked + .poas-burger::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0,0,0,0);
    transition: box-shadow .15s, top .3s, transform .3s .15s;
}
.poas-burger-checkbox:checked + .poas-burger::after {
    bottom: 12px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .15s;
}

.poas-menu-list {
    z-index: 1;
    top: 0;
    left: 0;
    position: absolute;
    display: none;
    gap: 10px;
    padding: 44px 35px 15px 48px;
    margin: 0;
    background: var(--primary-color);
    list-style: none;
    transform: translateX(-100%);
    transition: .3s;
    width: 180px;
    border-bottom-right-radius: 8px;
}
.poas-menu-item {
    display: block;
    padding: 8px;
    color: black;
    font-size: 18px;
    font-weight: 300;
    text-align: left;
    text-decoration: none;
    position: relative;

    background-color: transparent;
    border: 1px solid transparent;
    font-family: "Jost", sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    transition: all 0.3s ease;
    white-space: nowrap;
}


.poas-menu-item:hover {
    transition: transform 0.2s ease;
    transform: scale(1.1);
}
.poas-burger-checkbox:checked ~ .poas-menu-list {
    transform: translateX(0);
}

.poas-dropdown-container {
    position: relative;
}
.poas-dropdown-container:hover .poas-dropdown-burger-menu {
    opacity: 1;
    visibility: visible;
}

.poas-dropdown-burger-menu {
    position: absolute;
    top: 0;
    left: 90%;
    margin-left: 10px; /* Отступ от основного меню */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    background-color: var(--primary-color);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    min-width: 180px;
    max-width: max-content;
    white-space: nowrap;
    z-index: 2;
    list-style: none;
    padding: 3px 15px 3px;
}

.poas-burger-dropdown-link {
    font-size: 16px;
    color: var(--black);
    text-decoration: none;
    display: block;
    font-weight: 300;
    padding: 10px;
}

.poas-burger-dropdown-link:hover {
    transition: transform 0.2s ease;
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .poas-nav-menu {
        gap: 0 !important;
    }
}
@media (max-width: 768px) {
    .poas-burger-container {
        display: flex !important;
    }

    .poas-b-container {
        display: flex !important;
    }

    .poas-burger {
        display: block !important;/* Показываем бургер */
    }
    .poas-menu-list {
        display: grid !important;
        /* Показываем бургер */
    }

    .poas-nav-menu {
        display: none !important;
    }
}

/*ДЛЯ ФУТЕРА*/
.poas-footer {
    background-color: var(--medium-gray);
    color: #000;
    margin-top: 44px;
    font-size: clamp(14px, 2vw, 16px); /* Адаптивный размер шрифта */
    min-height: 70px;
    max-height: max-content;
    grid-row: 3;
    display: flex;
    align-items: center;
    padding: 10px 0;
    width: 100%;

}

.poas-footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.poas-footer-text {
    text-align: left;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.poas-footer-social {
    display: flex;
    align-items: center;
    gap: 20px; /* Фиксированный отступ от фоток */
}

.poas-footer-social img {
    width: clamp(20px, 6vw, 40px); /* Резиновые фотки */
    height: clamp(20px, 6vw, 40px);
    transition: transform 0.3s ease;
}

.poas-footer-social img:hover {
    transform: scale(1.1);
}

/* Для экранов с разрешением <=980px */
@media (max-width: 768px) {
    .poas-footer-content {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .poas-footer-text {
        text-align: center;
        min-width: 100%;
    }
}

/* Для экранов с разрешением <=768px */
@media (max-width: 768px) {
    .poas-footer-social {
        gap: 15px;
    }

    .poas-footer-social img {
        width: clamp(25px, 6vw, 40px);
        height: clamp(25px, 6vw, 40px);
    }
}

/*ДЛЯ НАВБАРА*/
/* Главный контейнер навбара */
.poas-navbar {
    background-color: var(--primary-color);
    color: var(--black);
    height: 72px;
    min-height: 44px;
    font-weight: 300;
    width: 100%;

    display: flex;               /* FLEX! */
    align-items: center;         /* Вертикальное центрирование */
    justify-content: center;     /* Горизонтальное центрирование */
}

/* Список меню */
.poas-nav-menu {
    display: flex;
    align-items: center;         /* Вертикальное центрирование пунктов */
    gap: 15px;                   /* Расстояние между пунктами */
    margin: 0;
    padding: 0;                  /* Убираем отступы */
    list-style: none;            /* Убираем маркеры */
}

.poas-nav-item {
   position: relative;
   padding: 0 clamp(15px, 2vw, 17px);
}

.poas-nav-item:hover {
    position: relative;
    transition: transform 0.1s ease;
}

.poas-nav-link {
    background-color: transparent;
    border: 1px solid transparent;
    font-family: "Jost", sans-serif;
    font-weight: 300;
    color: #000;
    text-decoration: none;
    font-size: clamp(16px, 2vw, 18px);
    display: block;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0;
}

.poas-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    min-width: 100px;
    width: max-content;
    white-space: nowrap;
    z-index: 1000;
    list-style: none;
    padding: 5px 5px 0px;

}

#profile {
    transform: translateX(-55%);
    .poas-dropdown-item {
        display: flex;
        justify-content: end;
    }
}

.poas-nav-item:hover .poas-dropdown-menu {
    opacity: 1;
    visibility: visible;
}



.poas-dropdown-item {
    padding: clamp(5px, 2vw, 8px) clamp(16px, 2vw, 25px);
    font-size: clamp(14px, 2vw, 16px);
}

.poas-dropdown-link {
    color: var(--black);
    text-decoration: none;
    display: block;
    font-weight: 300;
}

.poas-dropdown-link:hover {
    transition: transform 0.2s ease;
    transform: scale(1.1);
}

.language-btn {
    display: inline-block;  /* важно! */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    background-color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    padding: 2px 13px;
    border-radius: 8px;
    cursor: pointer;
    font-size: clamp(16px, 0.5vw, 18px);
    align-items: center;
    font-weight: 400;
    min-width: 40px;
    padding: 0px 5px;
    text-align: center;

}

/* Стиль для контейнера языка */
.language-item {
    position: relative;
    font-size: clamp(16px, 2vw, 18px);
    white-space: nowrap;
     display: inline-block;
}

/* Стиль для выпадающего списка языков */
.language-dropdown {
    position: absolute;
    top: 0%;
    left: 0%;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    margin: 0;
    list-style: none;
}

.language-dropdown li:first-child .language-btn {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: none;

}
.language-dropdown li:last-child .language-btn {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow:
        -5px 0 8px -5px rgba(0, 0, 0, 0.1), /* Тень слева */
        5px 0 8px -5px rgba(0, 0, 0, 0.1),   /* Тень справа */
        0 3px 5px -3px rgba(0, 0, 0, 0.1);    /* Нижняя тень */
}

/* Показываем выпадающий список при наведении */
.language-item:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
}

/* Кнопки в выпадающем списке */
.language-dropdown .language-btn {
    border-radius: 0; /* Убираем скругления у внутренних кнопок */
    text-align: center;
    width: 40px;
    background-color: var(--primary-color);
    box-shadow:
        -5px 0 8px -5px rgba(0, 0, 0, 0.2), /* Тень слева */
        5px 0 8px -5px rgba(0, 0, 0, 0.2);   /* Тень справа */
    padding: 5px 0;
}


.login-btn {
    width: clamp(40px, 2vw, 30px); /* Резиновые фотки */
    height: clamp(45px, 2vw, 30px);
}

.logo-btn-home-page {
    padding: 0;
    width: clamp(55px, 2vw, 70px); /* Резиновые фотки */
    height: clamp(60px, 2vw, 70px);
    margin-right: 20px;
}


/*ОБЩИЙ СТИЛЬ КАРТОЧЕК*/
.poas-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
/*.poas-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}*/



/* Новости */
/* ДЛЯ НОВОСТИ */

.new-image
{
    margin: 40px 0;
    border-radius: 5px;
    width: 450px;
    height: 256px;
}

.new-text
{
    display: flex;
    flex-wrap: wrap;
    font-size: 18px;
    text-align: justify;
}

.news-list {
    gap: 30px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-grid {
    width: 100%;
}

.news-card {
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    margin: 0 auto;
}

/* 2 колонки на средних экранах */
@media (max-width: 900px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-card {
        padding: 15px;
    }
}

/* 1 колонка на мобильных */

@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 15px;
    }

    .new-text {
        width: 100% !important;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }


    .site-header {
        width: 100%;
            }
    .site-title {
        width: 100%;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .news-list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .news-card {
        padding: 15px;
    }

    .news-title {
        font-size: 16px;
    }
}

.news-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 5px ;
}

.news-content {
    justify-content: space-between;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    color: var(--text-black);
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    text-overflow: ellipsis;
    min-height: 50px;
    margin: 10px 0px 0px 0px;
    display: -webkit;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-date {
    color: var(--text-black);
    font-size: 14px;
    font-weight: 400;
    display: block;
}

.news-text-container {
    flex-grow: 1;
    margin-bottom: 5px;
}

.news-text {
    color: var(--text-black);
    line-height: 1.5;
    flex-grow: 1;
    min-height: 115px;
    max-height: calc(1.5em * 5);
    font-size: 14px;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    border: 1px solid var(--white);
}

.news-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

.load-more-container {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
}

.read-more-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    cursor: pointer;
    display: block;
    width: max-content;
    padding: 3px 20px;
    background-color: var(--primary-color);
    border-radius: 8px;
    color: var(--text-black);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
}

.load-more-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    cursor: pointer;
    display: block;
    width: 80px;
    padding: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
    color: var(--text-black);
    font-weight: 400;
    font-size: 16px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
}

/* ---------- Стили из 2.txt ---------- */
/* Общие стили */

  /* button */
.poas-button {
    width: 160px;
    height: 40px;
    color: #BBECC8;
    border-radius: 5px;
    padding: 7px 20px;
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    background: #BBECC8;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-self: center;
}
.poas-btn-1 {
    border: none;
    color: #000;
    z-index: 1;
}
.poas-btn-1:active {
    top: 2px;
}

/* Абитуриенту */
/* Стили для АБИТУРИЕНТУ */
.subtitle {
    color: var(--text-black);
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    margin-bottom: 50px;
    margin-top: 20px;
    width: 100%;
}

.section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 15px;
  margin-right: 160px;
  text-align: left;
  display: flex;
flex: 0 0 200px;
    max-width: 168px;
    padding-right: 15px;
    text-align: left;
}

.section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.image-grid-schedule {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}


.image-grid--basis_four div {
    flex-basis: 25%;
}

.image-item {
    text-align: center;
    margin-bottom: 15px;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: 33%;

}

.img-code {
    text-align: center;
    margin-bottom: 15px;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: 33%;
}
.img-code img {
    width: 550px;
    height: 300px;
    object-fit: contain;
}
@media (max-width: 768px) {
  .img-code img {
    width: 340px;
    height: 250px;
    object-fit: contain;
}
}

.image-item1 {
    text-align: center;
    margin-bottom: 5px;
    flex: 1;
}

.image-item1 img {
  width: 252px;
  height: 252px;
  object-fit: contain;
}
.image-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.image-item p {
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: -10px;
}

.image-description {
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: -10px;
    width: 150px;
    color: #515151;
}




.section-container > *:not(.section-title) {
    flex: 1;
}

.section-container .image-grid {
    justify-content: flex-start;
}


.section-container ul {
    padding-left: 20px;
    margin: 0;
}

.section-container a {
    color: black;
}

.section-container li {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.nomarker ul {
    padding-left: 0;
}

.nomarker li {
    list-style-type: none;
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 15px;
}


@media (max-width: 768px) {
  .main-title {
      font-size: 1.75rem;
  }

  .subtitle {
      font-size: 1.25rem;
  }


  .section-container .image-grid {
       flex-direction: row;
       align-items: center;
       justify-content: center;
  }

  .image-item {
      width: 80%;
  }

  .section-title {
      flex: none;
      font-size: 1.5rem;
      margin-bottom: 10px;
      padding-right: 0;
      margin-right: 0;
      max-width: fit-content;
  }

  .section-container {
      flex-direction: column;
      margin-top: 60px;
      gap: 20px;
  }

}
@media (max-width: 1440px) {
  .poas-container {
    max-width: 960px;
  }
}

@media (max-width: 1200px) {
  .poas-container {
    max-width: 960px;
  }
}

@media (max-width: 768px) {
  .poas-container {
    max-width: 90%;
    padding-left: 10px;
    padding-right: 10px;
  }
}



/* СОТРУДНИКИ и ЖУРНАЛЫ */

.index-journal-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-black);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    background: transparent;
    width: fit-content;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.staff-card {
    display: flex;
    overflow: hidden;

}

.staff-photo {
    width: 130px;
    height: 170px;
    object-fit: cover;
}

.staff-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staff-info h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #000;
    font-weight: 500;
}

.staff-position {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-style: italic;
}


@media (max-width: 780px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
    .staff-info h3 {
        font-size: 15px;
        margin: 0 0 10px 0;
        color: #000;
        font-weight: 500;
    }
}



@media (max-width: 768px) {
    .staff-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .staff-photo {
        margin 5px;
        width: 100px;
        height: 130px;
    }
}

/* Фильтры */
/* ФИЛЬТРЫ */
.filters {
    display: flex;
    justify-content: space-between; /* заменить на: */
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: 'Jost', sans-serif;
    font-size: clamp(16px, 2vw, 18px); /* ← вот это добавь */
}

.filter-value {
    font-size:18px
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: center;
    }
    .filter-value {
        font-size:13px
    }
}

/* Пересдачи */
/* ТАБЛИЦЫ ДЛЯ ПЕРЕСДАЧ */

.table-container {
    width: 100%;
    overflow: hidden;
}

.poas-table {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 0;
    width: calc(100% - 40px); /* с учётом отступов */
    margin: 20px auto; /* по центру */
    table-layout: fixed;
}

@media (max-width: 780px) {
    .poas-table {
        table-layout: auto;
    }
    .table-container {
        width: 100%;
        overflow: scroll;
        max-width: 600px;
    }
}

@media (max-width: 690px) {
    .poas-table {
        table-layout: auto;
    }
    .table-container {
        width: 100%;
        overflow: scroll;
        max-width: 450px;
    }
}

th, td {
    border: 0;
    padding: 10px 16px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}
th {
    background-color: #f2f2f2;
}
td:empty {
    background-color: #f9f9f9;
}

td:nth-child(1) { width: 25%; } /* Преподаватель */
td:nth-child(2) { width: 25%; } /* Предмет */
td:nth-child(3) { width: 15%; } /* Дата */
td:nth-child(4) { width: 10%; } /* Время */
td:nth-child(5) { width: 15%; } /* Аудитория */

.date-room-retakes {
    display: inline-flex;
    color: black;
    border-radius: 13px;
    padding: 3px 10px;
    background: #f5f5f5;
    width: fit-content;
    text-decoration: none;
}

.time-retakes {
    display: inline-flex;
    color: black;
    border-radius: 13px;
    padding:3px 10px;
    background: #BBECC8;
    width: fit-content;
    text-decoration: none;
}

/* КОНТАКТЫ и ПАРТНЕРЫ */

.back-button {
    height: max-content;
    width: auto;
    color: #BBECC8;
    border-radius: 50%;
    padding: 7px;
    font-family: 'Jost', sans-serif;
    background: #BBECC8;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    justify-self: center;
    margin-right: 20px;
}

.back-site-header{
    display: flex;
    background-color: var(--white);
    padding: 30px 0 30px 0;
    width: 100%;
    align-items: center;
}

.partner-photo {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.poas-button-span{
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-social-container{
    padding: 30px 0 30px 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.contacts-button {
    height: 40px;
    border-radius: 5px;
    padding: 7px 20px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    background: #BBECC8;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
 }
.contacts-btn-1 {
    border: none;
    color: #000;
}
.contacts-btn-1:active {
    top: 2px;
}
.container-contacts {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 768px) {
    .container-contacts {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        width: 100%;
    }
}


.partners-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 0 40px 0;
}

.partner-card {
    display: flex;
    overflow: hidden;

}

.partner-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 180px;
    height: 130px;
    object-fit: cover;
    margin-right: 30px;
}

.partner-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-info h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #000;
    font-weight: 500;
}

.partner-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .partner-logo {
        width: 120px;
    }
    .partner-image {
        max-width: 100%;
    }
}

.partners-page{
    background-color: #fff;
    padding: 20px;
    color: #000000;
    font-size: 40px;
}

.partners-container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.partners-text {
    text-align: left;
}

.partners-heading {
    text-align: left;
    font-size: 40px;
    margin-bottom: 40px
}

.partners-list {
    display: block;
    flex-wrap: nowrap;
    justify-content: left;
    gap: 30px;
    list-style: none;
}

.partners-logo {
    max-width: 300px;
    max-height: 250px;
    margin: 0 0 15px 50px;
    display: block;
}

.partners-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
}

.partners-description {
    font-size: 20px;
    color: #000000;
}


.contact-us-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    cursor: pointer;
    display: block;
    width: 100px;
    padding: 8px 18px;
    background-color: var(--primary-color);
    border-radius: 10px;
    color: var(--text-black);
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
}

.picture-item {
    width: 350px;
    height: 325px;
    object-fit: cover;
    }

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 15px;
}

.contact-item svg {
   width: 20px;
   height: 20px;
   margin-right: 10px;
   fill: #333;
}

.contact-item span {
     font-size: 16px;
        }

.buttons {
      margin-top: 20px;
      display: flex;
      gap: 10px;
}

.button svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: #333;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    width: 500px;
    height: 300px;
}


@media (max-width: 768px) {
    .map-container {
        width: 350px;
        height: 200px;
    }
}

@media (max-width: 500px) {
    .map-container {
        width: 300px;
        height: 200px;
    }
}

@media (max-width: 400px) {
    .map-container {
        width: 250px;
        height: 200px;
    }
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 28px;
    margin: 0;
}

.header button {
    background-color: #b2fab4;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
}

.partner-item {
    display: flex;
    align-items: center;
    padding: 20px;
}

.partner-item img {
    width: 150px;
    height: auto;
    margin-right: 30px;
}

.partner-details {
    display: flex;
    flex-direction: column;
}

.partner-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.partner-description {
    font-size: 16px;
    color: #555;
}

@media (max-width: 768px) {
    .partner-description {
        font-size: 14px;
    }
}
.intervolga-name {
    font-size: 24px;
    font-weight: bold;
}
.dots {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: black;
    margin: 5px;
}

.mini-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}
.container-text {
      display: block;
      max-width: 750px;
      text-align: left;
}

.container-how-become-block {
      width: 100%;
      max-width: 1200px;
      gap: 40px;
      margin: 0 auto;
      background-color: #fff;
      padding: 0px;
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: center;
}
.container-how-become-block-reverse {
      width: 100%;
      max-width: 1200px;
      gap: 40px;
      margin: 0 auto;
      background-color: #fff;
      padding: 0px;
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: center;
      flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .container-how-become-block {
          width: 100%;
          max-width: 1200px;
          gap: 40px;
          padding: 0px;
          flex-direction: column;
    }
    .container-how-become-block-reverse {
          width: 100%;
          max-width: 1200px;
          gap: 40px;
          padding: 0px;
          flex-direction: column;
    }
}

.container-text h2{
      font-size: 28px;
      font-weight: 500;
}

.container-text p{
      font-size: 18px;
      font-weight: 400;
}

.container-text li{
      font-size: 18px;
      font-weight: 400;
}

.button-how-partner{
    padding: 0 0 30px 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-self: right;
}

.title-schedule {
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .title-schedule {
        font-size: 18px;
        font-weight: 400;
    }
}



/* ВХОД И РЕГИСТРАЦИЯ */

.form-login {
    display: flex;
    flex-direction: column;
    gap: 13px;
    max-width: 400px;
    margin: 0 auto;
    padding: 15px;
    background: transparent;
    border-radius: 8px;
    text-align: center; /* выравнивание текста по центру */
}

/* Обёртка для полей */
.form-group {
    margin-bottom: 15px;
    text-align: left; /* чтобы текст в инпутах остался слева */
}

/* Поля ввода */
.form-input {
    width: 100%;
    padding: 10px;
    padding-left: 25px;
    font-size: 16px;
    font-family: "Jost", sans-serif;
    border: 0;
    box-sizing: border-box;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 0px 16px rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Плейсхолдер */
.form-input::placeholder {
    font-size: 16px;
    color: #999;
}

.form-input:-webkit-autofill {
    background-color: #eafbee !important; /* мягкий зелёный */
    -webkit-box-shadow: 0 0 0 30px #eafbee inset !important;
    color: #000 !important;
    transition: background-color 9999s ease-in-out 0s;
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 60px 0 30px 0;
    width: 100%;
}

.register-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 30px 0 15px 0;
    width: 100%;
}
.login-title {
    color: var(--text-black);
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}
.login-header-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    width: 100%;
}
.login-description {
    color: #858585;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

.form-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    padding-left: 5px;
}


/* Стили для пагинации страниц */
.poas-pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.poas-pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.poas-page-item {
    margin: 0 2px;
}

.poas-page-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: black;
    transition: all 0.3s;
}

.poas-page-item.active .poas-page-link {
    background-color: #dbd9d9;
    color: black;
    border-color: #dbd9d9;
}

.poas-page-link:hover {
    background-color: #f0f0f0;
}


/* Стили для страницы 404 */
.error-page {
    text-align: center;
    padding: 30px 20px 30px;
}
.error-image {
    width: 400px;
    height: auto;
    margin-bottom: 30px;
}
.poas-error-p {
    font-size: 28px;
    font-weight: 400;
}
.error-page ul {
    padding-left: 0;
    list-style-type: none;
    margin-top: 20px;
}
.error-page a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.service-image {
    width: 550px;
    height: auto;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .error-image {
        width: 200px;
        height: auto;
        margin-bottom: 30px;
    }
    .poas-error-p {
        font-size: 22px;
        font-weight: 400;
    }
    .service-image {
        width: 350px;
        height: auto;
        margin-bottom: 30px;
    }
}

/* Стили для страниц трекера публикаций */
.account-nav-link {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    padding: 14px 0;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.account-nav-link:hover {
    color: #2a2a2a;
    transform: translateX(2px);
}

.account-nav-link.active {
    font-weight: 600;
    border-left: 3px solid #999;
}

.account-sidebar-wrapper {
    margin-top: 60px;
}

.account-sidebar {
    width: 100%;
    padding-left: 10px;
    text-align: left;
}

.form-submit-publ-custom-margin {
    margin-left: 100px;
    margin-right: 20px;
    max-width: 600px;
    margin-top: 20px;
}

.publ-tracker-custom-btn {
    background-color: var(--primary-color);
    color: var(--black);
    border: none;
}

.publ-tracker-custom-btn:hover {
    background-color: #A3D7B3;
}


.page-container {
    min-height: calc(100vh - 80px); /* высота без футера */
    display: flex;
    flex-direction: column;
}

.content-body {
    flex: 1;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.publication-card {
    display: flex;
    gap: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    align-items: center;
    max-width: 900px;
}

.publication-btn {
    background-color: #e0e0e0;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    height: fit-content;
    transition: background-color 0.3s ease;
}

.publication-btn:hover {
    background-color: #c7c7c7;
}

.publication-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.publication-title {
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    word-break: break-word;
}

.publication-authors,
.publication-place {
    font-weight: 500;
    text-align: left;
    margin-top: 6px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.pagination-custom .btn {
    padding: 4px 10px;
    font-size: 14px;
}.page-container {
    min-height: calc(100vh - 80px); /* высота без футера */
    display: flex;
    flex-direction: column;
}

.content-body {
    flex: 1;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.publication-card {
    display: flex;
    gap: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    align-items: center;
    max-width: 900px;
}

.publication-btn {
    background-color: #e0e0e0;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    height: fit-content;
    transition: background-color 0.3s ease;
}

.publication-btn:hover {
    background-color: #c7c7c7;
}

.publication-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.publication-title {
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    word-break: break-word;
}

.publication-authors,
.publication-place {
    font-weight: 500;
    text-align: left;
    margin-top: 6px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-bottom: 0px;
}

.pagination-custom .btn {
    padding: 4px 10px;
    font-size: 14px;
}

.status-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    width: 100%;
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.status-date {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.status-publication {
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    max-width: 400px;
    line-height: 1.3;
}

.status-publication-label {
    font-weight: 400;
    font-size: 16px;
    color: #777;
    margin-bottom: 4px;
}

.archive-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 250px); /* подгоняем под header + footer */
}

.archive-content {
    flex: 1;
}

.pagination-wrapper {
    margin-top: auto;
    padding-top: 2rem;
}


.profile-card {
    padding: 10px; /* Было 30px */
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ccc;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
    margin-top: 15px;
}

.profile-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    font-size: 1rem;
    background: transparent;
}

.profile-form .btn {
    background-color: #c7f0ce;
    padding: 10px 24px;
    font-weight: normal; /* Было bold */
    border-radius: 6px;
    border: none;
}

.profile-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 15px;
}