/* Fanaberiy memorial modernization — 2026-08-31 */
html { background: #101315; }

body {
  min-width: 0 !important;
  margin: 0 !important;
  background-color: #101315 !important;
  background-position: center top !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.55;
  color: #e8eaec;
}

#wrapper.container_12 {
  width: min(1180px, calc(100vw - 40px)) !important;
  margin: 0 auto !important;
  background: rgba(13, 16, 18, .96) !important;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .55);
}

#header-holder {
  box-sizing: border-box;
  height: auto !important;
  min-height: 162px;
  padding: 18px 28px 16px;
  background: linear-gradient(135deg, rgba(20, 25, 28, .98), rgba(8, 11, 13, .98)) !important;
  border-bottom: 1px solid rgba(75, 190, 232, .24);
}

#header {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 10px 28px;
  width: 100% !important;
  height: auto !important;
  min-height: 100px;
}

#logo.grid_4 {
  grid-column: 1;
  grid-row: 1 / span 2;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

#logo img {
  display: block;
  width: 100%;
  max-width: 290px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
}

#nav.grid_8 {
  grid-column: 2;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  align-self: end;
}

#nav ul.sf-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  float: none !important;
}

#nav ul.sf-menu > li { float: none !important; }
#menu-item-921 { display: none !important; }
#nav ul.sf-menu > li > a {
  padding: 9px 12px !important;
  border-radius: 8px;
  border: 1px solid transparent !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #c7d0d6 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  letter-spacing: .03em;
  transition: background-color .2s ease, color .2s ease;
}
#nav ul.sf-menu > li > a:hover,
#nav ul.sf-menu > li.current-menu-item > a {
  color: #fff !important;
  background: rgba(32, 167, 219, .14) !important;
  border-color: rgba(84, 197, 236, .2) !important;
}

#header .archive-banner,
#header > p {
  grid-column: 2;
  margin: 0 !important;
  padding: 11px 15px !important;
  border: 1px solid rgba(79, 190, 232, .26);
  border-left: 4px solid #29aee4;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(25, 140, 186, .16), rgba(255,255,255,.025));
  color: #e8f7fd !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
#header .archive-banner strong,
#header > p::before {
  content: "АРХИВ САЙТА";
  display: block;
  margin-bottom: 2px;
  color: #74d6ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
#header .archive-banner span,
#header > p span {
  color: #e8f7fd !important;
  font-family: inherit !important;
  font-size: 14px !important;
}

#main-holder {
  clear: both;
  width: 100% !important;
  padding-top: 28px;
}

#slide {
  display: flex;
  width: 100%;
  min-height: 350px;
}
#sleft.grid_4 {
  float: none !important;
  box-sizing: border-box;
  width: calc(100% - 650px) !important;
  margin: 0 !important;
  padding: 28px 34px !important;
  background: linear-gradient(145deg, #20272b, #111517) !important;
}
#sleft h1, #sleft h2, #sleft h3,
#sleft p { font-family: inherit !important; }
#sright.grid_8 {
  float: none !important;
  width: 650px !important;
  margin: 0 !important;
}
#texture { display: none !important; }

#home_content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  box-sizing: border-box;
  width: 100%;
  padding: 28px 28px 40px;
  background: #111517 !important;
}
#home_content > .grid_4 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

#footer {
  width: 100% !important;
  background: #0b0e10 !important;
}

h1, h2, h3, h4, h5, h6,
p, li, td, th, input, textarea, select, button {
  font-family: inherit !important;
}
a { text-underline-offset: 3px; }

@media (max-width: 980px) {
  #wrapper.container_12 { width: calc(100vw - 20px) !important; }
  #header { grid-template-columns: 1fr; }
  #logo.grid_4, #nav.grid_8, #header .archive-banner, #header > p {
    grid-column: 1;
    grid-row: auto;
  }
  #logo img { margin: 0 auto; }
  #nav ul.sf-menu { justify-content: center; }
  #slide { display: block; }
  #sleft.grid_4, #sright.grid_8 {
    width: 100% !important;
  }
  #sright.grid_8, #nivo { overflow: hidden; }
  #nivo { width: 100% !important; background-position: center !important; background-size: cover !important; }
  #home_content { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { background-attachment: scroll !important; font-size: 14px !important; }
  #wrapper.container_12 { width: 100% !important; }
  #header-holder { padding: 14px; }
  #nav ul.sf-menu { gap: 2px; }
  #nav ul.sf-menu > li > a { padding: 8px !important; font-size: 12px !important; }
  #sleft.grid_4 { padding: 24px 20px !important; }
  #home_content { padding: 24px 20px 34px; }
}
