HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/zaklada/html/lib/scss/pages/news.scss
.news {
  padding-top: 20px;
  padding-bottom: 0;
  background: $color-white;
  @media screen and (min-width: 992px) {
    padding-top: 60px;
  }
  h1 {
    color: $color-blue-dark;
    margin: 0;
    // margin-bottom: 76px;
    margin-bottom: 0;
    text-align: left;
  }
  .font-controls {
    margin-top: 0px;
    margin-bottom: 10px;
    position: static;
    top: 65px;
    z-index: 9;
    display: inline-flex;
    margin-left: calc(100% - 87px);
    @media screen and (min-width: 768px) {
      margin-top: 0;
      margin-bottom: 30px;
      top: 120px;
    }
    @media screen and (min-width: 992px) {
      display: inline-flex;
      margin-left: calc(100% - 115px);
    }
  }
}

.news-box {
  margin-bottom: 30px;
  background: $color-bg-gray;
  @media screen and (min-width: 768px) {
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
  }
  &__img-wrap {
    img {
      width: 100%;
      object-fit: cover;
    }
  }
  &__content {
    padding: 9px 18px 19px 15px;
    @media screen and (min-width: 768px) {
      padding: 20px 25px 23px 21px;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    h2,
    h2 a {
      font-weight: 700;
      text-align: left;
      color: $color-blue-dark;
      font-size: rem(18);
      line-height: 1.5;
      margin: 0;
      margin-bottom: 10px;
      text-decoration: none;
      @media screen and (min-width: 768px) {
        margin-bottom: 0;
        font-size: rem(28);
      }
    }
    h2 a {
      font-size: inherit;
    }
    time {
      font-weight: 400;
      display: block;
      color: #6b6b6b;
      font-size: rem(14);
      line-height: 1.5;
      margin-bottom: 10px;
      @media screen and (min-width: 768px) {
        font-size: rem(20);
        margin-bottom: 19px;
      }
    }
    p {
      font-size: rem(16);
      display: block;
      font-weight: 400;
      line-height: 1.5;
      color: #040404;
      margin-bottom: 30px;
      &:last-of-type {
        margin-bottom: 30px;
      }
      @media screen and (min-width: 768px) {
        font-size: rem(19);
      }
    }
  }
  &__cta {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 8;
    @media screen and (min-width: 768px) {
      margin-top: auto;
    }
  }
  &__share-icon {
    cursor: pointer;
    fill: $color-blue-dark;
    transition: all 200ms ease-in-out;
    &:hover,
    &.open {
      fill: $color-gold-dark;
    }
  }
}

.news-list {
  margin-bottom: 0px;
  @media screen and (min-width: 992px) {
    margin-bottom: 75px;
  }
}

.news-single {
  background: $color-white;
  padding: 10px 0 35px;
  @media screen and (min-width: 992px) {
    padding: 65px 0 70px 0;
  }
  h1,
  h2 {
    margin-bottom: 10px;
    text-align: left;
    @media screen and (min-width: 992px) {
      margin-bottom: 22px;
    }
  }
  .mobile-first {
    order: 1;
    @media screen and (min-width: 768px) {
      order: 2;
    }
  }

  .mobile-second {
    order: 2;
    @media screen and (min-width: 768px) {
      order: 1;
    }
  }
  .font-controls-col {
    display: none;
    order: 3;
    @media screen and (min-width: 768px) {
      display: block;
    }
  }
  &__content {
    // padding-left: 80px;
    // padding-right: 80px;

    img{
      width:auto;
      height:auto;
      max-width:100%;
    }
    .wp-caption {
      max-width: 100%;
      img {
        width: 100%;
        height: auto;
        margin-top: 30px;
        margin-bottom: 0;
        @media screen and (min-width: 992px) {
          margin-top: 50px;
        }
      }

      .wp-caption-text {
        color: #6b6b6b;
        font-weight: 400;
        border-bottom: 1px solid #6b6b6b;
        font-size: rem(14);
        margin-bottom: 10px;
        @media screen and (min-width: 992px) {
          font-size: rem(19);
          margin-bottom: 30px;
        }
      }
    }

    .gallery{
      background:transparent;

      .gallery-item{
        @media screen and (max-width: 768px) {
          width:100%;
        }
      }
    }

    #gallery-1 .gallery-item{
      @media screen and (max-width: 768px) {
        width:100%;
      }
    }


    ul {
      margin-bottom: 20px;
      padding-left: 15px;
      @media screen and (min-width: 992px) {
        padding-left: 30px;
      }
      li {
        color: $color-text-dark;
        @media screen and (min-width: 992px) {
          font-size: rem(19);
          &:before {
            top: 7px;
          }
        }
      }
    }
  }

  &__lead {
    p {
      font-size: rem(16);
      font-weight: 700;
      line-height: 1.5;
      margin-bottom: 15px;
      @media screen and (min-width: 992px) {
        margin-bottom: 43px;
        font-size: rem(24);
      }
      strong {
        font-weight: 700;
      }
    }
  }
  .font-controls {
    margin-top: 0px;
    margin-bottom: 10px;
    position: sticky;
    top: 65px;
    z-index: 9;
    display: inline-flex;
    margin-left: calc(100% - 87px);
    @media screen and (min-width: 768px) {
      margin-bottom: 30px;
      top: 120px;
    }
    @media screen and (min-width: 992px) {
      display: inline-flex;
      margin-left: calc(100% - 115px);
    }
  }
}

.other-articles {
  background: $color-white;
  &__link {
    display: block;
    font-size: rem(16);
    line-height: 1.5;
    margin-bottom: 5px;
    font-weight: 700;
    color: #6b6b6b;
    text-decoration: none;
    text-align: left;
    &:hover {
      text-decoration: underline;
    }
    @media screen and (min-width: 768px) {
      text-align: center;
      font-size: rem(28);
      margin-bottom: 26px;
    }
  }
  article.news-box {
    height: auto;
  }
}

.share-bar {
  position: sticky;
  top: 140px;
  border-top: 1px solid rgba(107, 107, 107, 0.6);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-top: 16px;
  @media screen and (min-width: 768px) {
    flex-direction: column;
    padding-top: 0;
    padding-right: 10px;
    border-top: none;
    border-right: 1px solid rgba(107, 107, 107, 0.6);
  }
  &__link {
    text-decoration: none;
    display: block;
    margin-right: 25px;
    &:last-of-type {
      margin-right: 0;
    }
    @media screen and (min-width: 768px) {
      margin-right: 0;
      margin-bottom: 24px;
      &:last-of-type {
        margin-bottom: 5px;
      }
    }
    &:hover {
      .share-bar__img {
        fill: $color-gold-dark;
      }
    }
  }
  &__img {
    margin: 0;
    width: 29px;
    height: 29px;
    transition: all 200ms ease-in-out;
  }
}

.share-box-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.share-box {
  position: absolute;
  top: 50px;
  display: flex;
  right: 0;
  z-index: 20;
  background: $color-white;
  padding: 10px 20px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: none;
  &.open {
    display: flex;
  }
  &:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 9px 11px;
    border-color: transparent transparent #ffffff;
    position: absolute;
    top: -10px;
    right: 7px;
  }
  &__link {
    text-decoration: none;
    display: flex;
    margin-right: 20px;
    &:last-of-type {
      margin-right: 0;
    }
    &:hover {
      .share-box__img {
        fill: $color-gold-dark;
      }
    }
  }
  &__img {
    margin: 0;
    width: 21px;
    height: 21px;
    transition: all 200ms ease-in-out;
    @media screen and (min-width: 768px) {
      width: 29px;
      height: 29px;
    }
  }
}