/* ============================================
   БАЗОВЫЕ СТИЛИ — ЗАГОЛОВКИ И СЕТКИ
   ============================================ */

/* Заголовок страницы */
.materials-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #475663;
  margin: 0 0 25px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
  letter-spacing: 1px;
  line-height: 1.2;
}

.materials-description {
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a3c6c;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

/* Секция года */
.materials-year {
  margin-bottom: 30px;
  display: block;
}

/* Заголовок года */
.year-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: #475663;
  margin: 0 0 15px 0;
  padding-left: 8px;
  border-left: 0px solid #475663;
  line-height: 1.2;
}

/* ============================================
   СЕТКА МАТЕРИАЛОВ — БАЗОВЫЕ КОНТЕЙНЕРЫ
   ============================================ */

/* Сетка: вариант с колонками (центрованное выравнивание) */
.materials-grid-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Сетка: вариант со строками (выравнивание по левому краю) */
.materials-grid-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  text-align: left;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* ============================================
   КАРТОЧКА МЕСЯЦА / МАТЕРИАЛА
   ============================================ */

.material-item {
  display: block;
  background: #ffffff;
  border-radius: 6px;
  padding: 10px 12px;
  text-decoration: none;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease-in-out;
  font-family: 'Helvetica', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
  min-height: auto;
}

.material-item:hover {
  border-color: #275591;
  background: #475663;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.material-month {
  font-weight: 500;
  display: block;
}

/* ============================================
   АДАПТИВНОСТЬ — БРЕЙКПОИНТЫ
   ============================================ */

/* Планшеты и меньше: до 992px */
@media screen and (max-width: 992px) {
  
  .materials-title {
    font-size: 26px;
    margin: 0 0 22px 0;
    padding-bottom: 10px;
  }
  
  .year-header {
    font-size: 21px;
    margin: 0 0 14px 0;
    padding-left: 8px;
  }
  
  .materials-grid-column {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }
  
  .materials-grid-line {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
  }
  
  .material-item {
    padding: 9px 11px;
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Мобильные: до 768px */
@media screen and (max-width: 768px) {
  
  .materials-title {
    font-size: 24px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
  }
  
  .year-header {
    font-size: 20px;
    margin: 0 0 12px 0;
    padding-left: 6px;
  }
  
  .materials-year {
    margin-bottom: 24px;
  }
  
  .materials-grid-column {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .materials-grid-line {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .material-item {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.35;
    border-radius: 5px;
  }
  
  .material-item:hover {
    transform: translateY(0);
  }
}

/* Маленькие мобильные: до 480px */
@media screen and (max-width: 480px) {
  
  .materials-title {
    font-size: 22px;
    margin: 0 0 18px 0;
    padding-bottom: 8px;
    letter-spacing: 0.3px;
  }
  
  .year-header {
    font-size: 19px;
    margin: 0 0 10px 0;
    padding-left: 5px;
  }
  
  .materials-year {
    margin-bottom: 20px;
  }
  
  /* Фиксированная сетка 2 колонки для очень маленьких экранов */
  .materials-grid-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .materials-grid-line {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .material-item {
    padding: 8px;
    font-size: 13px;
    line-height: 1.3;
    border-radius: 4px;
  }
  
  .material-month {
    font-weight: 500;
  }
}

/* ============================================
   ДОПОЛНИТЕЛЬНАЯ АДАПТИВНОСТЬ — ОЧЕНЬ МАЛЫЕ ЭКРАНЫ
   ============================================ */

/* Экраны меньше 360px — экстремальная адаптация */
@media screen and (max-width: 360px) {
  
  .materials-title {
    font-size: 20px;
    margin: 0 0 16px 0;
  }
  
  .year-header {
    font-size: 18px;
  }
  
  .materials-grid-column,
  .materials-grid-line {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .material-item {
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.25;
  }
}

/* ============================================
   ПЕЧАТНЫЕ СТИЛИ (ОПЦИОНАЛЬНО, НО ПОЛЕЗНО)
   ============================================ */

@media print {
  .materials-grid-column,
  .materials-grid-line {
    grid-template-columns: repeat(3, 1fr);
    gap: 5mm;
  }
  
  .material-item {
    break-inside: avoid;
    border: 1px solid #000;
    color: #000;
    background: #fff;
  }
  
  .material-item:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Стили для выезжающей области */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    touch-action: none; /* Для предотвращения скролла при открытом сайдбаре */
}

.sidebar-container {
    position: fixed;
    font-size: 14px;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    box-sizing: border-box;
    will-change: transform; /* Оптимизация анимации */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

.sidebar-container.open {
    transform: translateX(-400px);
}

.sidebar-overlay.open {
    display: block;
    opacity: 1;
}

.sidebar-close-btn {
    position: absolute;
    top: 0px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 10px;
    z-index: 10000;
}

.sidebar-content {
    height: calc(100% - 40px);
    overflow-y: auto;
    padding-top: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Стиль для кнопки меню (добавьте класс к вашей кнопке меню) */
.menu-toggle-button {
    cursor: pointer;
    padding: 0px;
    -webkit-tap-highlight-color: transparent;
}

    .menu-toggle-button {
        display:none;
    }


/* Адаптация для мобильных */
@media (max-width: 768px) {
    .sidebar-container {
        width: 90%;
        right: -90%;
    }

.sidebar-close-btn {
    top: 0px;
    right: 35px;
}
    
    .sidebar-container.open {
        transform: translateX(-90%);
    }
    
    .menu-toggle-button {
        height:50px;
        margin-top:-5px;
        display:block;
    }
.sidebar-content {
    height: calc(100% - 40px);
    width: calc(100% - 30px);
    overflow-y: auto;
    padding-top: 20px;
    -webkit-overflow-scrolling: touch;
}
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: var(--shadow-md);
    z-index: 1001;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

.close-modal svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.modal h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #1d4ed8;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.forgot-password, .register-link {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.forgot-password:hover, .register-link:hover {
    color: var(--primary-color);
}

/* Стили для версии для слабовидящих */
body.accessibility-mode {
    --text-color: #000;
    --primary-color: #0000ff;
    background-color: #fff !important;
    color: #000 !important;
    font-size: 18px !important;
}

.accessibility-mode .nav-link,
.accessibility-mode .footer-link,
.accessibility-mode .social-link,
.accessibility-mode .auth-btn,
.accessibility-mode .accessibility-btn {
    color: #000 !important;
}

.accessibility-mode .nav-link::after {
    background-color: #000 !important;
}

.accessibility-mode .submit-btn {
    background-color: #0000ff !important;
    color: #fff !important;
}

.visually-hidden {
    display: none;
}

.mylink:link {
    color: red;
    font-size: 12pt;
}

.mylink {
    color: red;
    font-size: 12pt;
}

.mylink:hover {
    color: red;
    font-size: 16pt;
}

.mylink:active {
    color: red;
    font-size: 16pt;
}

.mylink:visited {
    color: red;
    font-size: 16pt;
}

.grid * {
    box-sizing: border-box;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    column-gap: 30px;
    row-gap: 30px;
    padding: 20px 0;
}

.grid-item {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.2);
    transition: box-shadow .3s;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    font-family: Bebas Neue;
    background-color: #fff;
}

.grid-item .image {
    height: 200px;
    overflow: hidden;
}

.grid-item .info {
    position: relative;
    height: calc(100% - 200px);
    padding: 16px 14px 70px 14px;
}

.grid-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
}

.grid-item .image img {
    transition: transform 280ms ease-in-out;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item:hover .image img {
    transform: scale(1.1);
}

.info h2 {
    color: #337AB7;
    font-size: 16px;
    font-weight: bold;
    margin: -15 0 -10 0;
    text-align: left;
}

.info-text p {
    font-size: 13px;
    font-weight: bold;
    line-height: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.grid-item .button-wrap {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 14px;
    left: 0;
    text-align: center;
}

/* Кнопка подробнее */
.atuin-btn {
    display: inline-flex;
    text-decoration: none;
    position: relative;
    font-size: 16px;
    line-height: 20px;
    padding: 8px 30px;
    color: #337AB7;
    font-weight: bold;
    text-transform: uppercase;
    background: #FFF;
    cursor: pointer;
    border: 2px solid #BFE2FF;
    border-radius: 8px;
}

.atuin-btn:hover {
    color: #337AB7;
}

.atuin-btn:active {
    color: #FFF;
}

.atuin-btn:focus {
    color: #FFF;
}

.atuin-btn:after,
.atuin-btn:before {
    position: absolute;
    color: #FFF;
    height: 4px;
    left: 50%;
    background: #337AB7;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}

.atuin-btn:before {
    top: -6px;
}

.atuin-btn:hover:after,
.atuin-btn:hover:before,
.atuin-btn:active:after,
.atuin-btn:active:before,
.atuin-btn:focus:after,
.atuin-btn:focus:before {
    width: 100%;
    left: 0;
}

.limiter {
    max-height: 1175px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.limiter .bottom {
    position: block;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgb(255 255 255 / 0%),
        rgb(255, 255, 255) 100%);
    width: 100%;
    height: 190px;
    opacity: 1;
    transition: 0.3s;
}

.read-more-checker {
    opacity: 0;
    position: absolute;
}

.read-more-checker:checked ~ .limiter {
    max-height: none;
    width: 100%;
}

.read-more-checker:checked ~ .limiter .bottom {
    opacity: 0;
    transition: 0.3s;
}

.read-more-checker ~ .read-more-button:before {
    margin: 0px 0px 0px 0px;
    cursor: pointer;
    font-family: Bebas Neue;
    font-size: 22px;
    padding: 10px 0px 0px 20px;
    display: inline-block;
    position: sticky;
    color: #486DAA;
    text-decoration: none;
    content: "Развернуть";
}

.read-more-checker:checked ~ .read-more-button:before {
    margin: 0px 0px 0px 0px;
    cursor: pointer;
    font-family: Bebas Neue;
    font-size: 22px;
    padding: 10px 0px 0px 20px;
    display: inline-block;
    position: sticky;
    color: #486DAA;
    text-decoration: none;
    content: "Свернуть";
}

@media screen and (max-width:1200px) {
    .object {
        display: none;
    }
}

@media screen and (min-width:1200px) {
    .object2 {
        display: none;
    }
}

.topbutton {
    width: 100px;
    border: 2px solid #ccc;
    background: rgba(255, 250, 250, 0.6);
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    color: #f7f7f7;
    font-family: Bebas Neue;
    font-size: 20px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
}

.headerhr {
    background: rgba(255, 250, 250, 0);
}

.footerlinks {
    width:100%;
    background: rgba(255, 250, 250, 0.6);
}
.footerlinks2 {
    margin-left: auto;
    margin-right: auto;
    text-align:center;
}

.box {
    height: 100px;
    width: 135px;
    margin-bottom: 25px;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 100%;
    margin-bottom: 15px;
    padding-bottom: 5px;
    padding-top: 14px;
    border-bottom: 1px solid #CCCCCC;
}

h2, h3 {
    font-size: 100%;
}

h2 {
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #CCCCCC;
}

h4, h5, h6 {
    font-size: 100%;
}

/*Information block*/
.information-block {
    width: 180px;
    margin-bottom: 16px;
}

.information-block-head {
    color: #BC262C;
    font-weight: bold;
    font-size: 85%;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 4px;
    padding-bottom: 5px;
}

.information-block-body {
    font-size: 85%;
    color: #737373;
    margin-right: 20px;
}

/*Content block*/
.content-block {
    border-top-color: #ffff;
    margin-bottom: 5px;
    width: 100%;
}

.content-block-head {
    font-weight: bold;
    font-size: 95%;
    margin: 2px;
    padding: 5px 9px;
}

.content-block-body {
    padding: 4px 5px;
    width: 100%;
}

code {
    font-size: 100%;
    font-weight: normal;
    display: block;
    padding: 1.5em 1em 1em 1em;
    border-style: solid;
    border-width: 1px;
    border-width: 1px 0;
    margin: 1em 0;
    background-color: #F5F5F5;
    font-family: Bebas Neue;
}

html, body, form {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    background-image: url("/images/Background.png");
    background-size: cover;
    background-position: center;
}

body {
    height: auto !important;
    height: 100%;
    min-height: 100%;
    min-width: 400px;
}

/*Font*/
body {
    font-size: 100%;
    letter-spacing: 0.56px;
    font-family: Helvetica, Impact, Verdana, sans-serif;
    color: #333;
}

/*Font in table*/
table {
    font-size: 100%;
    font-family: Helvetica, Impact, Verdana, sans-serif;
}

/*Font in content table*/
table {
    font-size: 100%;
    font-family: Helvetica, Impact, Verdana, sans-serif;
}

/*Links*/
mylink:link {
    color: red;
    font-size: 12pt;
}

mylink {
    color: red;
    font-size: 12pt;
}

mylink:hover {
    color: red;
    font-size: 16pt;
}

mylink:active {
    color: red;
    font-size: 16pt;
}

mylink:visited {
    color: red;
    font-size: 16pt;
}

a {
    text-decoration: none;
}

a:link {
    color: #FFF;
}

a:link {
    color: #486DAA;
}

a:visited {
    color: #486DAA;
}

a:active {
    color: #486DAA;
}

a:hover {
    text-decoration: underline;
}

small {
    font-size: 85%;
}

hr {
    width: 100%;
    height: 1px;
    border: medium none;
    color: #d1d0d0;
    background-color: #d1d0d0;
    margin: 8px 0
}

/* НОВЫЕ СТИЛИ ДЛЯ БЛОЧНОЙ ВЕРСТКИ */

/* Строка быстрых ссылок */
.header-links-row {
    background: rgba(77, 105, 144, 0.1);
    width: 100%;
    margin: 0 auto;
    padding: 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-links-container {
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.header-links-container a {
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header-links-container a:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.header-links-container2 {
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.header-links-container2 a {
    color: #000000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header-links-container2 a:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}


/* ========================================
   АДАПТИВНЫЕ СТИЛИ
   ======================================== */

@media (min-width: 768px) {

        /* Строка быстрых ссылок - показать на мобильных */
    .header-links-row2 {
        display: none !important;
    }

}

@media (max-width: 768px) {
    
    /* Строка быстрых ссылок - скрыть на мобильных */
    .header-links-row {
        display: none !important;
    }
        /* Строка быстрых ссылок - показать на мобильных */
    .header-links-row2 {
    /*    background: rgba(77, 105, 144, 0.1);*/
        width: 100%;
        margin: 0 auto;
        padding: 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

}

/* Контентная область */
#content {
    max-width: 1250px;
    margin: 10px auto;
    padding: 20px;
    min-width: 400px;
    border-radius: 8px;
    box-shadow: 0px 0px 38px 1px rgb(0 0 0 / 5%);
    background-color: rgba(255, 255, 255, 0.4);
}

.main-column {
    width: 100%;
}

/* Футер */

.footer-container {
    width:100%;
    margin: 0 auto;
    padding: 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
    min-height: 250px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section-title {
    color: #fff;
    font-family: Bebas Neue;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.footer-links a {
    display: block;
    color:#21385c;
    margin-bottom: 8px;
    text-decoration: none;
    font-family: Bebas Neue;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Баннеры в футере */
.footer-banners {
    background: rgba(255, 250, 250, 0.6);
    padding: 15px 0;
    width: 100%;
}

.footer-banners-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-banners-container a {
    margin: 5px;
}

.footer-banners-container img {
    max-height: 40px;
    width: auto;
}

/* Блок авторизации в футере */
.footer-auth-block {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

/* QR-коды в футере */
.footer-qr-section {
    margin: 15px 0;
}

.footer-qr-section img {
    max-width: 100px;
    margin: 10px 0;
    display: block;
}

/* Баннеры Ура победе и НФ */
.footer-banner-images {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.footer-banner-images img {
    max-width: 100px;
    height: auto;
}

/* Адаптивность */
@media screen and (min-width: 768px) {
    .menu-sidebar-dec {
        display: block;
    }
    .menu-sidebar-mob {
        display: none;
    }

}

@media screen and (max-width: 768px) {
        .menu-sidebar-dec {
        display: none;
    }
        .menu-sidebar-mob {
        display: block;
    }

    .header-links-container {
        justify-content: center;
    }
    
    .header-links-container a {
        margin: 5px 10px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-banners-container {
        justify-content: center;
    }
}

/**Top menu**/ #horizontal-multilevel-menu { margin:0; padding:0; background:none; min-height:27px; width:100%; list-style:none; font-size:16px; float:center; /*font-size:90%*/ }

/* Стили для кнопок */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 8px;
    background:
        linear-gradient(rgba(56, 75, 105, 0), rgba(56, 75, 105, 0)),
        linear-gradient(138deg, rgba(17, 58, 112, 0.35), rgba(17, 58, 112, 0.25));
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button:hover {
    background: #2667cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

/* Дополнительно: вариант для secondary-кнопки */
.button--secondary {
    background: transparent;
    color: #3a86ff;
    border: 2px solid #3a86ff;
}

.button--secondary:hover {
    background: rgba(58, 134, 255, 0.1);
}

.accessibility-btn {
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}

.accessibility-btn:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 0.4rem;
    margin: 0 0 0 0rem;
}

.social-link {
    color: var(--dark-gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.social-link:hover {
    color: var(--primary-color);
}

.auth-btn {
    background: none;
    border: 0px solid var(--dark-gray);
    color: var(--dark-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.auth-btn:hover {
    color: var(--primary-color);
}

@font-face {
    font-family: "Bebas Neue";
    src: local("Bebas Neue Regular"), 
         local("BebasNeue-Regular"), 
         url("/local/templates/PushkinKubannet/fonts/bebasneueregular.woff2") format("woff2"), 
         url("/local/templates/PushkinKubannet/fonts/bebasneueregular.woff") format("woff");
    font-weight: 400; /* Regular = 400 */
    font-style: normal; /* было: none */
    font-display: swap; /* ускорит отрисовку текста */
}

@font-face {
    font-family: "Helvetica";
    src: local("Helvetica Medium"), 
         local("Helvetica-Medium"), 
         url("/local/templates/PushkinKubannet/fonts/Helvetica/HelveticaMedium.woff") format("woff");
    font-weight: 500; /* Medium = 500 */
    font-style: normal;
    font-display: swap;
}