@charset "UTF-8";
@font-face {
  font-family: "MySiteFont";
  src: url("../fonts/roboto-flex.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
}
:root {
  --site-font: 'MySiteFont', sans-serif;
  --size-base: 1.6rem;
  --indent: 20px;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-black: 900;
  --line-h: 1.42857143;
  --bg: rgba(46, 139, 87, 0.1);
  --main: #009c48;
  --main-hover: #71bf43;
  --news-title-color: #0b9444;
  --color1: #58585b;
  --color2: #f5821f;
  --color3: #fdb813;
  --color4: #005825;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--main);
  overflow: visible;
  opacity: 1;
}

h1 {
  font-family: var(--site-font);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
}

p {
  font-family: var(--site-font);
  font-weight: var(--fw-light);
  text-indent: var(--indent);
  line-height: var(--line-h);
  margin: 0;
}

a {
  transition: 0.5s;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--site-font);
  margin-bottom: 0.5em;
  text-align: center;
  font-weight: 700;
  color: var(--main);
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.6rem;
}

h5 {
  font-size: 1.3rem;
}

h6 {
  font-size: 1.1rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.button-gafk, .btn-gafk {
  display: inline-flex;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428;
  border-radius: 4px;
  user-select: none;
  transition: 0.2s;
  text-decoration: none;
}
.button-gafk:hover, .btn-gafk:hover, .button-gafk:focus, .btn-gafk:focus {
  color: #cccfcd;
  text-decoration: none;
}
.button-gafk:active, .btn-gafk:active {
  background-image: none;
  outline: 0;
}

.button-gafk {
  color: #fff;
  background-color: var(--main);
  border-color: var(--main-hover);
  width: auto;
  max-width: 320px;
  font-size: calc(var(--size-base) * 1.5);
  margin: 0 auto;
}

.but-gafk {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 12px;
  transition: 0.2s;
}
.but-gafk:hover {
  color: var(--main);
}
.but-gafk:after {
  content: "";
  display: block;
  border-bottom: 1px solid #000;
  width: 30%;
  margin: 5px auto 0;
}

.gallery-index-new-1 .card, .gallery-index .container-gallery .card, .gallery-news .container-gallery .card,
.gallery-all .container-gallery .card,
.gallery-news-snau .container-gallery .card,
.gallery-gordist .container-gallery .card,
.gallery-library-1 .container-gallery .card,
.gallery-library-structure .container-gallery .card,
.gallery-index-new .container-gallery .card,
.gallery-index-new-1 .container-gallery .card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
  color: #333333;
  border-radius: 2px;
}

.gallery-news .container-gallery,
.gallery-all .container-gallery,
.gallery-news-snau .container-gallery,
.gallery-gordist .container-gallery,
.gallery-library-1 .container-gallery,
.gallery-library-structure .container-gallery,
.gallery-index-new .container-gallery,
.gallery-index-new-1 .container-gallery {
  display: grid;
  grid-gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}

.gallery-news,
.gallery-all,
.gallery-news-snau,
.gallery-gordist,
.gallery-library-1,
.gallery-library-structure,
.gallery-index-new,
.gallery-index-new-1 {
  margin: 0 auto;
  width: 100%;
}
.gallery-news .container-gallery,
.gallery-all .container-gallery,
.gallery-news-snau .container-gallery,
.gallery-gordist .container-gallery,
.gallery-library-1 .container-gallery,
.gallery-library-structure .container-gallery,
.gallery-index-new .container-gallery,
.gallery-index-new-1 .container-gallery {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
@media (max-width: 600px) {
  .gallery-news .container-gallery,
  .gallery-all .container-gallery,
  .gallery-news-snau .container-gallery,
  .gallery-gordist .container-gallery,
  .gallery-library-1 .container-gallery,
  .gallery-library-structure .container-gallery,
  .gallery-index-new .container-gallery,
  .gallery-index-new-1 .container-gallery {
    grid-template-columns: 1fr;
  }
}
.gallery-news .container-gallery .card .card-image,
.gallery-all .container-gallery .card .card-image,
.gallery-news-snau .container-gallery .card .card-image,
.gallery-gordist .container-gallery .card .card-image,
.gallery-library-1 .container-gallery .card .card-image,
.gallery-library-structure .container-gallery .card .card-image,
.gallery-index-new .container-gallery .card .card-image,
.gallery-index-new-1 .container-gallery .card .card-image {
  position: relative;
  width: 100%;
}
.gallery-news .container-gallery .card .card-image img,
.gallery-all .container-gallery .card .card-image img,
.gallery-news-snau .container-gallery .card .card-image img,
.gallery-gordist .container-gallery .card .card-image img,
.gallery-library-1 .container-gallery .card .card-image img,
.gallery-library-structure .container-gallery .card .card-image img,
.gallery-index-new .container-gallery .card .card-image img,
.gallery-index-new-1 .container-gallery .card .card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
}
.gallery-news .container-gallery .card .card-image .text,
.gallery-all .container-gallery .card .card-image .text,
.gallery-news-snau .container-gallery .card .card-image .text,
.gallery-gordist .container-gallery .card .card-image .text,
.gallery-library-1 .container-gallery .card .card-image .text,
.gallery-library-structure .container-gallery .card .card-image .text,
.gallery-index-new .container-gallery .card .card-image .text,
.gallery-index-new-1 .container-gallery .card .card-image .text {
  padding: 1rem;
}

.gallery-news .container-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  grid-gap: 1.5rem;
  align-items: start;
}
.gallery-news .card {
  height: 100%;
}
.gallery-news .card .card-image {
  width: 100%;
  aspect-ratio: 9/6;
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
}
.gallery-news .card .card-image img {
  width: 100%;
  height: 100%;
  /* contain гарантує, що ВСЕ фото влізе в рамку без обрізки */
  object-fit: contain !important;
  position: relative;
  z-index: 2;
}
@media (max-width: 600px) {
  .gallery-news .card .card-image img {
    max-height: none;
  }
}
.gallery-news .card .card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(10px);
  opacity: 0.3;
}

.gallery-gordist {
  max-width: 90%;
}
.gallery-gordist .container-gallery {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.gallery-index {
  margin: 0 auto;
  width: 100%;
}
.gallery-index .container-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-flow: dense;
  grid-gap: 1rem;
  justify-content: center;
}
.gallery-index .container-gallery .card .card-image .text {
  padding: 1rem;
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .gallery-index .container-gallery .card:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-index .container-gallery .card:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-index .container-gallery .card:nth-child(5) {
    grid-column: span 3;
    grid-row: span 1;
  }
}
@media (min-width: 1281px) {
  .gallery-index .container-gallery .card:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-index .container-gallery .card:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-index .container-gallery .card:nth-child(5) {
    grid-column: span 3;
    grid-row: span 1;
  }
  .gallery-index .container-gallery .card:nth-child(5) .card-image {
    display: grid;
    /* Ділимо на 2 колонки: ліва займає 1 частину, права — 2 частини простору */
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    /* Відступ між картинкою та текстом */
    align-items: start;
    /* Щоб картинка не розтягувалася по висоті тексту */
    /* Стиль для картинки-посилання */
  }
  .gallery-index .container-gallery .card:nth-child(5) .card-image > a {
    display: block;
    width: 100%;
  }
  .gallery-index .container-gallery .card:nth-child(5) .card-image {
    /* Стиль для тексту */
  }
}

.gallery-schedule .container-gallery {
  display: grid;
  grid-gap: 1.5rem;
  align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-library-structure .container-gallery {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-index-new .card-image .text {
  padding: 1rem;
}

.gallery-index-new-1 .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (min-width: 1281px) {
  .gallery-index-new-1 .card:nth-last-child(1) {
    grid-area: span 1/span 2;
  }
}
@media (min-width: 1025px) {
  .gallery-index-new-1 .card:nth-last-child(1) {
    grid-area: span 1/span 2;
  }
}
.gallery-index-new-1 .card .card-image {
  width: 100%;
  line-height: 0;
}
.gallery-index-new-1 .card .card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: unset !important;
  max-height: 70vh;
}
@media (max-width: 600px) {
  .gallery-index-new-1 .card .card-image img {
    max-height: none;
  }
}/*# sourceMappingURL=fancybox.css.map */