/* === Базовый шаблон сайта === */
/* Этот файл генерируется автоматически из редактора стилей */

@font-face{
  font-family: 'MyMenuFont';
  src: url('../fonts/Roboto-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
}

@font-face{
  font-family: 'MyMenuFont';
  src: url('../fonts/Roboto-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
}

@font-face{
  font-family: 'MyMenuFont';
  src: url('../fonts/Roboto-Italic.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
}

:root{
  --top: #f5e2b7;
  --blue: #2f5e8f;
  --line: #8db5db;
  --link_hover: #add8e6;
  --text: #161b22;
  --panel-bg: rgba(255,255,255,0.1);
  --panel-border: rgba(255,255,255,0.18);
  --white: rgba(255,255,255,0.82);
  --white-2: rgba(255,255,255,0.64);
  --shadow: 0 2px 10px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'MyMenuFont', Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #fcebb7;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.footer{
      width:100%;
      text-align:center;
      font-size:.75rem;
      color:#314a63;
      padding:14px 8px 18px 8px;
      text-shadow:0 1px 1px rgba(255,255,255,.45);
    }
.footer {
      text-align: center;
    }

    .footer a {
      display: block;
      margin-top: 8px;
      color: inherit;
      text-decoration: none;
    }

.line {
  border: none;
  height: 1px;
  width: 300px;
  background-color: #2f5e8f;
  margin: 10px auto;
}

.bg-fixed{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--top);
  background-image: url("../img/wheat-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

.topbar{
  min-height: 25px;
  background: rgba(245,226,179,0.22);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px 8px;
  color: var(--blue);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.22);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.page-body{ position: absolute; inset: 0; overflow-y: auto; }

.page-inner{ max-width: 1250px; margin: 0 auto 20px auto; padding: 0 0 10px 0; background: transparent; box-shadow: none; }

.logo-space{ display: flex; align-items: center; justify-content: center; padding: 10px 12px 0 12px; position: relative; z-index: 2; }
.logo-inner{ position: relative; display: inline-block; }
.main-logo{ max-width: 360px; width: 100%; height: auto; display: block; }
.side-logo{ position: absolute; top: 56%; left: -220px; width: 140px; transform: translateY(-50%); opacity: 0; z-index: 1; transition: left .8s ease-out, opacity .8s ease-out; }
.side-logo img{ width: 100%; height: auto; display: block; }
.side-logo.show{ left: -150px; opacity: 1; }
@media (max-width: 1024px){ .side-logo { display: none; } }

.welcome{ padding: 0 12px; color: var(--blue); font-size: 1.7rem; line-height: 1.2; font-weight: 400; text-align: center; text-shadow: 0 1px 2px rgba(255,255,255,.45); }

.menu{ list-style: none; margin: 6px auto 0 auto; padding: 0 4px; width: 100%; max-width: 1200px; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; }
.menu li{ display: flex; align-items: center; margin: 0 clamp(4px, .8vw, 10px); color: var(--blue); font-size: clamp(.9rem, calc(.45rem + 1vw), 1.2rem); line-height: 1.2; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 1px rgba(255,255,255,.35); }
.menu a{ position: relative; display: inline-block; color: var(--blue); text-decoration: none; white-space: nowrap; letter-spacing: 0; padding: clamp(4px, .5vw, 6px) clamp(2px, .3vw, 4px); transition: color .2s ease-out, transform .2s ease-out; transform-origin: left center; }
.menu-sticky-wrap{ position: sticky; top: 25px; z-index: 999; width: 100%; max-width: 1250px; margin: 8px auto 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.menu-glass{ position: absolute; inset: 0; background: rgba(245,226,179,0.9); -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); border: none; border-radius: 10px; z-index: 0; }
.mobile-menu-head{ display: none; position: relative; z-index: 1; width: 100%; max-width: 820px; margin: 0 auto; }
.mobile-menu-btn{ width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: transparent; border: none; color: var(--blue); font-size: 1rem; font-weight: 700; cursor: pointer; text-shadow: 0 1px 1px rgba(255,255,255,.35); }
.mobile-menu-arrow{ display: inline-block; transition: transform .2s ease; }
.mobile-menu-btn.open .mobile-menu-arrow{ transform: rotate(180deg); }
@media (hover: hover){ .menu a:hover, .menu a:focus-visible{ color: var(--link_hover); transform: scale(1.04) translateX(4px); } }

.video-wrap{ position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 6px 0 5px 0; overflow: visible; }

.awards{ position: absolute; top: 0; width: 200px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(30px); z-index: 5; }
.awards-left{ left: -80px; }
.awards-right{ right: -80px; }
.side-badge{ position: absolute; top: -28px; left: 0; right: 0; text-align: center; color: var(--blue); font-size: 1rem; font-weight: 700; line-height: 1.2; white-space: nowrap; text-shadow: 0 1px 1px rgba(255,255,255,.45); }
.awards img{ width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.25); opacity: 0; transform: translateY(20px); cursor: pointer; pointer-events: auto; position: relative; z-index: 6; }
.awards.show{ opacity: 1; transform: translateY(0); transition: opacity .8s ease-out, transform .8s ease-out; }
.awards.show img:nth-child(2){ animation: awardsFadeIn .6s ease-out 0s forwards; }
.awards.show img:nth-child(3){ animation: awardsFadeIn .6s ease-out .2s forwards; }
.awards.show img:nth-child(4){ animation: awardsFadeIn .6s ease-out .4s forwards; }
@keyframes awardsFadeIn{ from{ opacity: 0; transform: translateY(20px); } to{ opacity: 1; transform: translateY(0); } }

.news-center{ position: relative; width: 100%; max-width: 820px; margin: 0 auto; padding: 0 8px; z-index: 1; }

.news{ width: 100%; max-width: 820px; margin: 0 auto; padding: 14px 16px 14px 16px; background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 8px; box-shadow: var(--shadow); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.news-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.news-main-title{ margin: 0; font-size: 1.7rem; color: var(--blue); font-weight: 700; text-align: left; text-shadow: 0 1px 1px rgba(255,255,255,.35); }
.news-page-info{ font-size: .92rem; color: #415d79; font-weight: 600; white-space: nowrap; }
#news-list{ max-height: none; overflow-y: visible; padding-right: 0; scroll-behavior: smooth; }
.news-item{ padding: 12px 0 14px 0; border-top: 1px solid rgba(47,94,143,.18); }
.news-item:first-child{ border-top: none; padding-top: 0; }
.news-date{ font-size: .9rem; color: #415d79; margin-bottom: 2px; }
.news-title{ font-size: 1.1rem; font-weight: 700; color: var(--blue); margin: 2px 0 4px 0; }
.news-body{ font-size: .97rem; line-height: 1.45; color: #1d2b39; }
.news-body img{ max-width: 100%; height: auto; display: block; margin: 8px 0; border-radius: 4px; }
.news-body a{ color: var(--blue); text-decoration: underline; }
.news-body img, .news-body video, .news-body iframe{ max-width: 100%; height: auto; display: block; margin: 8px 0; border-radius: 4px; }
.news-pagination{ display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.news-page-btn{ min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid rgba(47,94,143,.24); border-radius: 8px; background: rgba(255,255,255,.55); color: var(--blue); font-size: .95rem; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.news-page-btn:hover{ background: rgba(255,255,255,.82); }
.news-page-btn.active{ background: rgba(47,94,143,.92); color: #fff; border-color: rgba(47,94,143,.92); }
.news-page-btn:disabled{ opacity: .45; cursor: default; }
.news-error{ color: #b00020; font-size: .95rem; margin-top: 8px; }

@media (max-width: 1100px){ .awards { display: none; } }

@media (max-width: 1024px){
  .page-inner{ max-width: 100%; margin: 0 auto 20px auto; }
  .welcome { font-size: 1.7rem; }
  .news-main-title { font-size: 1.4rem; }
  .news-body { font-size: .95rem; }
  .news-center{ width: 96%; max-width: 820px; }
}

@media (max-width: 1100px){
  .topbar{ font-size: .8rem; padding: 2px 6px; min-height: 25px; }
  .page-body { top: 25px; }
  .logo-space{ min-height: 130px; padding: 10px 8px 0 8px; }
  .menu-sticky-wrap{ width: 96%; max-width: 820px; margin: 0 auto; border-radius: 10px; overflow: hidden; }
  .mobile-menu-head { display: block; }
  .menu{ display: none; flex-direction: column; align-items: flex-start; width: 100%; max-width: none; margin: 0; padding: 4px 0 8px 0; }
  .menu.open { display: flex; }
  .menu li { display: block; width: 100%; margin: 0; font-size: 16px; line-height: 1.15; white-space: normal; text-align: left; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .menu li a { display: block; width: 100%; padding: 8px 14px; color: var(--blue); font-family: 'MyMenuFont', Arial, sans-serif; font-size: 16px; line-height: 1.15; font-weight: 700; text-align: left; letter-spacing: .01em; white-space: normal; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .welcome{ font-size: 1rem; padding: 0 8px; }
  .news{ padding: 10px 10px 12px 10px; }
  .news-head{ align-items: flex-start; gap: 4px; }
}

.awards-modal{ position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 99999; background: rgba(0,0,0,.72); }
.awards-modal.open{ display: flex !important; }
.awards-modal-backdrop{ position: absolute; inset: 0; background: transparent; }
.awards-modal-content{ position: relative; z-index: 2; max-width: 90vw; max-height: 90vh; padding: 8px; background: #fff; border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.awards-modal-content img{ display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; }
.awards-modal-close{ position: absolute; top: 4px; right: 8px; border: none; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #333; z-index: 3; }

@media screen and (max-width: 900px) and (orientation: landscape) {
  .menu li, .menu li a { font-size: 16px !important; line-height: 1.15 !important; }
  .mobile-menu-btn { font-size: 16px !important; line-height: 1.2 !important; }
  .menu a { padding-top: 6px; padding-bottom: 6px; }
}

/* === Конец сгенерированного CSS === */