:root {
  --gegeny-green: #c8d971;
  --gegeny-green-text: #464f16;
  --gegeny-brown: #928072;
  --gegeny-red: #c66765;
  --gegeny-slate: #616f78;
  --gegeny-text: #434d56;
  --gegeny-page: #e6e6e6;
  --gegeny-width: 1200px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--gegeny-page);
  color: var(--gegeny-text);
  font-family: Verdana, Arial, sans-serif;
}
body {
  font-size: 14px;
}
a {
  color: inherit;
}
.site-shell {
  width: min(var(--gegeny-width), calc(100% - 32px));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.07);
}
.corner-campaign {
  position: fixed;
  top: 0;
  z-index: 20;
}
.corner-campaign-left {
  left: 0;
}
.corner-campaign-right {
  right: 0;
}
.corner-campaign img {
  display: block;
  max-width: 260px;
  height: auto;
}
.header-inner {
  min-height: 184px;
  padding: 16px 28px;
}
.brand img {
  width: 360px;
  max-width: 100%;
  height: auto;
}
.header-date {
  width: 300px;
  margin-top: 74px;
  color: var(--gegeny-slate);
  font-size: 12px;
  line-height: 1.55;
}
.header-icons {
  width: 50px;
  height: 140px;
  background: url("../images/header_icons.png") center/contain no-repeat;
  margin: 0 12px;
}
.header-contact {
  min-width: 245px;
  color: var(--gegeny-slate);
  font-size: 14px;
  line-height: 2.7;
}
.main-nav {
  background: var(--gegeny-green);
}
.main-nav .navbar-nav {
  align-items: stretch;
}
.main-nav .nav-item {
  display: flex;
  flex: 1 1 auto;
  border-right: 1px solid #f3febc;
}
.main-nav .nav-item:last-child {
  border-right: 0;
}
.main-nav .nav-link {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 7px;
  color: var(--gegeny-green-text);
  font: 700 11px/1.15 Arial, sans-serif;
  white-space: nowrap;
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.2);
  color: var(--gegeny-green-text);
}
.main-nav .two-line {
  line-height: 1.15;
}
.dropdown-menu {
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  font-size: 13px;
  padding: 6px 0;
}
.dropdown-item {
  padding: 8px 14px;
  color: var(--gegeny-text);
}
.dropdown-item:hover {
  background: #f3f6e6;
}
.separator-line {
  height: 16px;
  background: var(--gegeny-slate);
  margin-bottom: 10px;
}
.main-layout {
  /* display: grid;
  grid-template-columns: minmax(0, 2.03fr) minmax(300px, 1fr); */
  gap: 10px;
  background: #fff;
}
.content-column {
  min-width: 0;
  background: #fff;
}
.sidebar-column {
  min-width: 0;
  /* padding: 0 18px 24px; */
  background: #fff;
}
.sidebar-column a {
  display: block;
  margin: 0 0 14px;
}
.sidebar-column img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.section-heading {
  position: relative;
  min-height: 50px;
  padding: 14px 28px 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 28px;
  height: 12px;
  background: url("../images/title_corner.png") left top/auto 12px no-repeat;
}
.section-heading-brown {
  background: var(--gegeny-brown);
}
.section-heading-green {
  background: var(--gegeny-green);
  margin-top: 34px;
}
.section-heading-red {
  background: var(--gegeny-red);
  margin-top: 34px;
}
.quote {
  padding: 24px 36px 8px;
  text-align: center;
  color: var(--gegeny-red);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.legacy-article {
  padding: 22px 34px 6px;
}
.legacy-article h2 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--gegeny-text);
}
.legacy-article p,
.legacy-article a {
  font-size: 13px;
  line-height: 1.65;
}
.legacy-article a {
  text-decoration: none;
  font-weight: 700;
}
.legacy-article a:hover {
  text-decoration: underline;
}
.article-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}
.article-image.contain {
  object-fit: contain;
  object-position: left top;
  max-height: 270px;
}
.compact {
  padding-bottom: 10px;
}
.online-service {
  padding: 28px 34px 4px;
  text-align: center;
}
.online-service img {
  max-width: 100%;
  height: auto;
}
.site-footer > * {
  background: var(--gegeny-slate);
  color: #fff;
}
.footer-grid {
  /* display: grid;
  grid-template-columns: 1.05fr 1.15fr 1fr;
  gap: 36px;
  padding: 38px 46px 28px;
  align-items: start; */
}
.footer-brand img {
  width: 100%;
  max-width: 330px;
  height: auto;
}
.site-footer h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 15px;
}
.site-footer p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.copyright {
  text-align: center;
  color: #fefdcb;
  font-size: 11px;
  padding: 8px 20px 22px;
}
@media (max-width: 1599px) {
  .corner-campaign img {
    max-width: 180px;
    opacity: 0.95;
  }
}
@media (max-width: 1199px) {
  .site-shell {
    width: min(100% - 24px, 1100px);
  }
  .header-inner {
    min-height: 150px;
  }
  .brand img {
    width: 320px;
  }
  .header-contact {
    margin-left: auto;
  }
  .main-nav .navbar-collapse {
    width: 100%;
  }
  .main-nav .navbar-nav {
    align-items: stretch;
  }
  .main-nav .nav-item {
    display: block;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }
  .main-nav .nav-link {
    min-height: auto;
    justify-content: flex-start;
    text-align: left;
    padding: 11px 18px;
    white-space: normal;
  }
  .main-nav .nav-link br {
    display: none;
  }
  .dropdown-menu {
    margin: 0 12px 8px;
    border-radius: 0;
  }
  .main-layout {
    grid-template-columns: minmax(0, 2fr) minmax(250px, 0.85fr);
  }
}
@media (max-width: 991px) {
  .site-shell {
    width: 100%;
    box-shadow: none;
  }
  .header-inner {
    padding: 18px 20px;
    gap: 14px;
  }
  .brand {
    width: 100%;
    text-align: center;
  }
  .brand img {
    width: 300px;
  }
  .header-contact {
    width: 100%;
    text-align: center;
    line-height: 1.8;
  }
  .main-layout {
    display: block;
  }
  .sidebar-column {
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px; */
  }
  .sidebar-column a {
    margin: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
    text-align: center;
  }
  .footer-brand img {
    max-width: 300px;
  }
}
@media (max-width: 575px) {
  body {
    font-size: 13px;
  }
  .header-inner {
    min-height: auto;
  }
  .brand img {
    width: 260px;
  }
  .section-heading {
    font-size: 16px;
    padding: 12px 18px;
    min-height: 44px;
  }
  .quote {
    padding: 22px 20px 6px;
    font-size: 14px;
  }
  .legacy-article {
    padding: 20px 18px 4px;
  }
  .legacy-article h2 {
    font-size: 15px;
  }
  .online-service {
    padding: 24px 18px 2px;
  }
  .sidebar-column {
    grid-template-columns: 1fr;
    padding: 18px 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 24px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .copyright {
    line-height: 1.5;
  }
}
