html {
  box-sizing: border-box;
}

* {
  /*color: white !important;*/
}
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

h1 {
  font-size: 50px;
}
h2 {
  font-size: 40px;
}
h3 {
  font-size: 30px;
}
h4 {
  font-size: 25px;
}
h5 {
  font-size: 20px;
}
ul,
p {
  margin: 0;
  padding: 0;
}

main {
  display: flex;
  margin: 0 auto;
  align-content: center;
  flex-direction: row;
  justify-content: space-between;
}

.layout-sidebar-left, .layout-sidebar-right {
  display: flex;
  flex-direction: column;
  padding: 0 5%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.text-white {
  color: white;
}

.text-black {
  color: black;
}

.layout-content {
  margin: 0 auto;
  width: 60%;
}

#block-vkladki-2>div.block__content>ul>li>a {
  color: #0c97ed;
}
#block-vkladki-2>div.block__content>ul {
  text-align: center;
}

body {
  width: 100%;
  margin: 0;
  color: white;
  font-family: Arial, Verdana, sans-serif;
  font-weight: 400;
  font-size: 18px;
  background: #1a1a1a;
  overflow-x: hidden;
}

.is-active {
  color: #92d2ff;
}

.contextual-links a {
  border-bottom: none;
  text-shadow: 0 0 0;
}

[hidden] {
  display: none;
}

a {
  color: whitesmoke;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

.layout-container nav ul {
  padding-top: 10px;
  display: flex;
  color: white;
  flex-direction: row;
  justify-content: space-around;
  font-size: 18px;
}

.layout-container nav ul[hidden] {
  display: none;
}

.layout-container nav li {
  list-style-type: none;
  margin-left: 14px;
}

.lead-item div div div article {
  width: 80%;
  padding: 5px;
  margin-left: 35px;
  margin-top: 50px;
  min-height: 400px;
  background: brown;
  border: 2px solid;
  border-radius: 15px;
  color: black;
}

#block-shopzu-primary-local-tasks li {
  display: inline;
}

.green {
  background: #0a9149;
}
.red {
  background: red;
  color: black;
}

.error {
  background: #ffafb9;
}

.gg-class {
  background: #000f33;
  margin: 0 auto;
  width: 60%;
}

.gg-class th {
  border: 1px solid;
  border-color: red;
  border-radius: 5px;
}

.gg-class td {
  border: 1px solid;
  border-color: #2d2d2d;
  border-radius: 1px;
}

.field-prefix {
  color: white;
}

div.block__content>ul {
  display: flex;
}

div.block__content>ul>li {
  padding-left: 10px;
  list-style-type: none;
}

.layout-content {
  min-height: calc(85vh - 80px);
}

.footer-block {
  min-height: 80px;
  background: #1e5c90;
}

.absolute {
  position: absolute;
}

.m-0 {
  margin: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mb-10 {
  margin-bottom: 10rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mt-10 {
  margin-top: 10rem;
}

.w100 {
  width: 100%;
}

.imgblock-teaser {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.imgblock-teaser img {
  height: 150px;
  width: 240px;
}

.imgblock-teaser span:first-child {
  background: rgba(0,0,0,0.75);
  color: #fff;
  border-radius: 2px;
  position: absolute;
  right: 0;
  bottom: 10px;
  font-size: 16px;
  padding: 3px 5px;
}

.imgblock-teaser .second-element {
  color: #fff;
  border-radius: 34px;
  position: absolute;
  top: 0;
  background: #222;
  right: 0;
  font-size: 16px;
  padding: 3px 5px;
  opacity: 0.8;
  text-align: right;
}

.imgblock-teaser .third-element {
  color: #fff;
  position: absolute;
  top: 0;
  background: #222;
  left: 0;
  font-size: 15px;
  padding: 3px 5px;
  opacity: 0.8;
  text-align: right;
}

.imgblock-teaser a {
  color: bisque;
  text-decoration: underline;
}

.imgblock-preview {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.imgblock-preview img {
  height: 320px;
  width: 480px;
}

.imgblock-preview span:first-child {
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 2px;
  position: absolute;
  right: 5px;
  bottom: 19px;
  font-size: 22px;
  padding: 3px 5px;
}

.imgblock-preview .second-element {
  color: #fff;
  border-radius: 4px;
  position: absolute;
  top: 0;
  background: #222;
  right: 0;
  font-size: 22px;
  padding: 3px 5px;
  opacity: 0.8;
  text-align: right;
}

.imgblock-preview .third-element {
  color: #fff;
  position: absolute;
  top: 0;
  background: #222;
  left: 0;
  font-size: 14px;
  padding: 3px 5px;
  opacity: 0.8;
  text-align: right;
}

.imgblock-preview a {
  color: bisque;
  text-decoration: underline;
}

.imgblock-preview div.third-element span{
  font-size: 14px;
  position: initial;
}

.node--type-blog-article, .node--view-mode-full .field--name-field-paragraphs {
  margin-bottom: 2rem;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.center {
  margin: 0 auto;
}

.center2 {
  display: flex;
  justify-content: center;
}

#block-brendingsayta {
  display: flex;
}

.font-size-20 {
  font-size: 20px;
  text-indent: 25px;
}

.my-link {
  color: #95b0ff;
}
.my-link:hover {
  color: #6088f8;
}

/* ===== АДАПТИВНОСТЬ ===== */

/* Для экранов меньше 1200px (ноутбуки) */
@media (max-width: 1200px) {
  .layout-content {
    width: 70%;
  }

  .layout-sidebar-left, .layout-sidebar-right {
    padding: 0 3%;
  }
}

/* Для планшетов (768px - 992px) */
@media (max-width: 992px) {
  body {
    font-size: 16px;
  }

  .layout-content {
    width: 80%;
  }

  .layout-sidebar-left, .layout-sidebar-right {
    padding: 0 2%;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
  h5 { font-size: 18px; }
}

/* Для мобильных телефонов (до 768px) */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    min-width: auto;
    overflow-x: hidden;
  }

  main {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .layout-content {
    width: 100%;
    padding: 0 12px;
    margin: 0;
    box-sizing: border-box;
  }

  .layout-sidebar-left, .layout-sidebar-right {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .layout-container nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
  }

  .layout-container nav li {
    margin-left: 0;
  }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }

  .gg-class {
    width: 100%;
  }

  .gg-class th,
  .gg-class td {
    padding: 4px 6px;
    font-size: 12px;
  }

  .imgblock-preview img {
    height: auto;
    width: 100%;
  }

  .imgblock-teaser img {
    height: auto;
    width: 100%;
  }

  #block-brendingsayta {
    flex-wrap: wrap;
  }
}

/* Для очень маленьких телефонов (до 480px) */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .layout-content {
    width: 100%;
    padding: 0 6px;
  }

  .layout-sidebar-left, .layout-sidebar-right {
    width: 100%;
    padding: 0 6px;
  }

  .layout-container nav ul {
    font-size: 12px;
    gap: 4px;
  }

  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }
  h4 { font-size: 15px; }
  h5 { font-size: 14px; }

  .gg-class th,
  .gg-class td {
    padding: 2px 4px;
    font-size: 11px;
  }
}
