* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
     .ac_footer {
          position: relative;
          text-align: center;
          overflow: hidden;
          padding: 25px 15px 50px;
          color: #5f5f5f;
          font-size: 16px;
        }
        .ac_footer a {
          color: #a12000;
        }
        .ac_footer p {
          text-align: center;
        }
        img[height="1"],
        img[width="1"] {
          display: none !important;
        }
body {
    font-family: 'Montserrat',
        sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    line-height: 1.3;
    -webkit-text-size-adjust: 100%;
    background: #f9f9f9;
}

.overflow {
    overflow: hidden;
}

img {
    max-width: 100%;
    outline: none;
    border: 0;
}

.mobile-only {
    display: none;
}

.clear {
    display: table;
    clear: both;
}

ul {
    margin: 0;
    list-style-type: none;
}

.red {
    color: red;
}

a {
 
    text-decoration: underline;
    font-weight: 700;
}

a:hover {

    text-decoration: none;
}

.wrapper {
    max-width: 1000px;
    padding: 0 15px;
    margin: auto;
}

.center {
    text-align: center;
}

/***************    header start     ************/
.header-top {
    background: #f9f9f9;
    font-size: 0;
    padding: 8px 0;
}

.header-top__nav {
    font-size: 0;
    width: 82%;
    display: inline-block;
    vertical-align: middle;
}

.header-top__nav-item {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
}

.header-top__nav-item::after {
    content: "";
    background: #d4d4d4;
    width: 4px;
    height: 4px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 13px;
}



.header-top__nav-item.upper {
    text-transform: uppercase;
}

.header-top__nav-item a {
    color: #686868;
    font-weight: 700;
    text-decoration: none;
}

.header-top__nav-item a.active,
.header-top__nav-item a:hover {
    color: #8fbf0d;
    text-decoration: none;
}

.header-top__nav-item .header-top__date {
    background: #53adb7;
    display: inline-block;
    color: #fff;
    font-size: 13px;
    padding: 5px;
}

.header-top__search {
    width: 18%;
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}


.header-top__search-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.header-top__search input {
    font-family: 'Montserrat',
        sans-serif;
    color: #000;
    font-size: 12px;
    border: 0;
    border-left: 1px solid;
    padding: 5px 10px;
    background: transparent;
    outline: none;
    transition: .3s;
}

.header-top__search input:focus {
    border-color: #8fbf0d;
}

input::-webkit-input-placeholder {
    color: #000000;
}

input::-moz-placeholder {
    color: #000000;
}

input:-moz-placeholder {
    color: #000000;
}

input:-ms-input-placeholder {
    color: #000000;
}

.header-top__search input:focus::-webkit-input-placeholder {
    color: #8fbf0d
}

.header-top__search input:focus::-moz-placeholder {
    color: #8fbf0d
}

.header-top__search input:focus::-moz-placeholder {
    color: #8fbf0d
}

.header-top__search input:focus::-ms-input-placeholder {
    color: #8fbf0d
}

.search-icon {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 19px;
    height: 19px;
    fill: #646464;
    transition: .3s;
}

.header-top__search input:focus+.search-icon {
    fill: #8fbf0d
}

.header-middle {
    padding: 10px 0;
    background: #fff;
    font-size: 0;
}

.header-middle__logo {
    display: inline-block;
    vertical-align: middle;
    width: 40%;
    font-size: 14px;
    color: #8fbf0d;
    position: relative;
    z-index: 5;
}

.header-middle__logo span {
    position: absolute;
    left: 96px;
    bottom: 6px;
    max-width: 188px;
    line-height: .9;
}

.header-middle__banner {
    display: inline-block;
    vertical-align: middle;
    width: 60%;
    background: url(../images/banner.jpg) no-repeat right center/cover;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    padding-left: 250px;
 text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}

.header-middle__banner b {
    color: #cbc749;
    font-size: 30px;
    font-weight: 900;
    max-width: 200px;
    line-height: 1;
}

.header-middle__banner p {
    max-width: 200px;
}

.header-bottom {
    border-top: 2px solid #f9f9f9;
    background: #fff;
    -webkit-box-shadow: 0px 7px 5px -2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 7px 5px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 7px 5px -2px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.header-bottom__nav {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.header-bottom__nav ul {
    display: table;
    width: 100%;
}

.header-bottom__nav-item {
    display: table-cell;
    vertical-align: middle;
    border-right: 2px solid #f9f9f9;
    text-transform: uppercase;
    padding: 12px 0;
}

.header-bottom__nav-item a {
    color: #000;
    text-decoration: none;
}

.header-bottom__nav-item a.active,
.header-bottom__nav-item a:hover {
    color: #8fbf0d;
    text-decoration: none;
}

.header-bottom__nav-item:last-child {
    border-right: 0;
}

/***************    header end    ************/
/***************    breadcrumbs start     ************/

.breadcrumbs {
    margin-bottom: 30px;
}

.breadcrumbs li {
    display: inline-block;
    vertical-align: middle;
    color: #b7b7b7;
    font-size: 14px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    display: inline-block;
    vertical-align: bottom;
    margin: 0 7px;
}

.breadcrumbs li a {
    color: #b7b7b7;
    font-weight: 400;
    text-decoration: none;
}

.breadcrumbs li a:hover,
.breadcrumbs li a.active {
    color: #000;
    text-decoration: none;
}

/***************    breadcrumbs end    ************/
.title {
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 25px;
}

/********** category end************/
/*********** info start*******************/
.info {
    font-size: 0;
    border-bottom: 2px solid #cacaca;
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.info__author {
    display: inline-block;
    vertical-align: top;
    width: 42%;
    padding-right: 10px;
}

.info__author-ava {
    display: inline-block;
    vertical-align: top;
    width: 15%;
}

.info__author-ava img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.info__author-desc {
    display: inline-block;
    vertical-align: top;
    width: 85%;
    padding-left: 10px;

    color: #686868;
}

.info__author-name {
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
    vertical-align: bottom;
    font-size: 14px;
    max-width: 130px;
}

.info__author-rate {
    padding-left: 10px;
    vertical-align: top;
    display: inline-block;
}

.info__author-rate-star {
    width: 12px;
    height: 12px;
    margin-right: 2px;
}

.info__author-desc-date,
.info__author-desc-stat,
.info__author-desc-stat li {
    display: inline-block;
    vertical-align: bottom;
}

.info__author-desc-date {
    width: 30%;
    font-size: 14px;
}

.info__author-desc-stat {
    width: 70%;
    text-align: right;
    font-size: 14px;
}

.info__author-desc-stat-item {
    margin-right: 5px;
    margin-left: 5px;
}

.info__author-desc-icon {
    vertical-align: baseline;
}

.eye-icon {
    width: 18px;
    height: 10px;
}

.comm-icon {
    width: 13px;
    height: 13px;
}

.flame-icon {
    width: 9px;
    height: 15px;
}

.info__social {
    display: inline-block;
    vertical-align: top;
    width: 58%;
    padding-left: 10px;
    color: #cacaca;
    font-size: 0;
    border-left: 1px solid #cacaca;
}

.info__social-share {
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.info__social ul {
    display: inline-block;
    vertical-align: middle;
}

.info__social-item {
    display: inline-block;
    vertical-align: top;
    margin-right: 3px;
    color: #fff;
    font-size: 10px;
    padding:
        8px 6px;
    min-height: 31px;
    text-transform: uppercase;
    font-family: sans-serif;
    transition: .2s;
}

.info__social-item:nth-child(1) {
    background: #415897;
}

.info__social-item:nth-child(2) {
    background: #3aacec;
}

.info__social-item:nth-child(3) {
  background: #c41b1f;
}

.info__social-item:nth-child(4) {
    background: #c41b1f;
    margin-right: 0;
}

.info__social-item:nth-child(1):hover {
    background: #314680;
}

.info__social-item:nth-child(2):hover {
    background: #2699db;
}

.info__social-item:nth-child(3):hover {
    background: #1c6596;
}

.info__social-item:nth-child(4):hover {
    background: #a81114;
}

.info__social-item a {
    color: #fff;
    display: block;
    text-decoration: none;
}

.info__social-icon {
    fill: #fff;
    margin-right: 2px;
    vertical-align: text-top;
    display: inline-block;
}

.info__social-item:nth-child(3) .info__social-icon {
    vertical-align: baseline;
}

.info__social-item:nth-child(1) .info__social-icon {
    width: 6px;
    height: 12px;
}

.info__social-item:nth-child(2) .info__social-icon {
    width: 11px;
    height: 11px;
}

.info__social-item:nth-child(3) .info__social-icon {
    width: 12px;
    height: 12px;

}



.info__social-item:nth-child(4) .info__social-icon {
    width: 10px;
    height: 12px;
}

/*********** info end ****************/
/***************    main start     ************/

.content {
    font-size: 0;
}

.main {
    width: 68%;
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
    margin-right: 2%;
}

.second-title {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 700;
}

.article-paragraph {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.4;
}

.blur-x {
    filter: blur(3px);
}

.article-img {
    display: block;
    margin: auto;
    margin-bottom: 25px;
    font-size: 0;
    max-width: 660px;
    width: 100%;
}

.article-img__left,
.article-img__right {
    display: inline-block;
    vertical-align: top;
    width: 50%;
}


.article-img--hand {
    max-width: 600px;
}

.article-img--hand .article-img__left {
    width: 58%;
    margin-right: 1%;
}

.article-img--hand .article-img__right {
    width: 40%;
}

.article-quote {
    color: #53adb7;
    font-style: italic;
    border-left: 5px solid;
    padding-left: 20px;
    margin: 25px 0;
    margin-left: 20px;
}

.diary {
    margin-bottom: 25px;
}

.diary__title {
    color: #53adb7;
    margin-bottom: 15px;
    padding-left: 55px;
    position: relative;
    font-weight: 700;
}

.diary__title::before {
    content: "";
    background: url(../images/arrow.svg) no-repeat;
    width: 42px;
    height: 15px;
    position: absolute;
    top: 3px;
    left: 0;
}

.diary__box {
    background: #fff;
    padding: 40px 20px 1px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
}

.diary__intro {
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}

.diary__intro::before {
    content: "";
    background: url(../images/quote.png) no-repeat;
    position: absolute;
    left: 0;
    top: -20px;
    width: 110px;
    height: 83px;
}

.diary__day {
    margin-bottom: 25px;
}

.days__caption {
    color: #fff;
    background: #53adb7;
    padding: 2px 8px 2px 12px;
    display: inline-block;
    position: relative;
    font-weight: 700;
    margin-left: -11px;

}

.days__caption::before {
    content: "";
    position: absolute;
    top: 0;
    left: -9px;
    height: 100%;
    width: 5px;
    background: #8fbf0d;
}

.table {
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    margin: auto;
    margin-bottom: 25px;
    font-size: 15px;
    display: table;
   
}

.table img {
    max-height: 105px;
}

.table p {
    min-height: 95px;
    margin-bottom: 15px;
    color: #000;
    font-size: 15px;
}

.table__row {
    display: table-row;

}

.table__row:nth-child(1) {
    text-align: center;
    font-weight: 700;
}

.table__row:nth-child(even) {
    background: #fdfdfd;
}

.table__cell {
    display: table-cell;
    vertical-align: top;
    border-right: 1px solid #f0eeee;
    border-bottom: 1px solid #f0eeee;
}

.table__cell:nth-child(1) {
    width: 55%;
    text-align: right;
    padding: 10px 20px;
    font-weight: 600;
}

.table__cell:nth-child(2) {
    width: 22.5%;
    text-align: center;
    color: #8fbf0d;
    font-weight: 700;
    vertical-align: middle;
    font-size: 16px;
}

.table__cell:nth-child(3) {
    text-align: center;
    font-weight: 700;
    color: #d30404;
    width: 22.5%;
    vertical-align: middle;
    font-size: 16px;
}

.table__row:nth-child(1) .table__cell {
    padding: 15px 20px;
}

.table__row:nth-child(1) .table__cell:nth-child(2),
.table__row:nth-child(1) .table__cell:nth-child(3) {
    vertical-align: top;
}

.table__row:nth-child(1) .table__title.table__cell {
    text-transform: uppercase;
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    padding: 40px 20px 40px 40px;
}

.form {
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    padding: 20px 50px 25px;
    font-size: 0;
    margin-bottom: 40px;
}

.form__prod {
    display: inline-block;
    vertical-align: middle;
    width: 45%;
}

.form__order {
    display: inline-block;
    vertical-align: middle;
    width: 55%;
    font-size: 22px;
    padding-bottom: 35px;
}

.form__title {
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1;
}
  .b-prices
{
  text-align: center;
  margin: -10px 0 10px;
}
.old-price, .new-price
{
  display: inline-block;
 margin: 0 10px;
}
.old-price
{
  font-size: 20px;
  text-decoration: line-through;
}
.new-price
{
  font-weight: 700;
  font-size: 24px;
  color: #8fbf0d;
}
.b-note
{
  text-align: center;
  font-size: 12px;
  margin: 10px 0 0;
}
.form input,
.form select {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #e8e8e8;
    font-family: "Montserrat", sans-serif;
    padding: 12px 15px;
    font-size: 14px;
    outline: none
}

.form input:focus,
.form select:focus {
    border-color: #8fbf0d;
}

select::-ms-expand {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none !important;
    background: #fff url(../images/sel.png) no-repeat 96% 50%;
}

.form input::-webkit-input-placeholder {
    color: #747474;
}

.form input::-moz-placeholder {
    color: #747474;
}

.form input:-moz-placeholder {
    color: #747474;
}

.form input:-ms-input-placeholder {
    color: #747474;
}

.form input:focus::-webkit-input-placeholder {
    color: transparent;
}

.form input:focus::-moz-placeholder {
    color: transparent;
}

.form input:focus:-moz-placeholder {
    color: transparent;
}

.form input:focus:-ms-input-placeholder {
    color: transparent;
}

.red {
    color: red;
}

.btn {
    background: #be3c42;
    color: #fff;
    font-weight: 700;
    display: inline-block;
    font-size: 16px;
    transition: .5s;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
        
    border: 0;
    outline: none;
    cursor: pointer;
    position: relative;
    width: 100%;
}
.btn span{
  position:relative;
  display:block;
  width:100%;
  height:100%;
   padding: 20px 28px;
}
.btn span::before {
    content: "";
    width: 50px;
    height: 50px;
    -ms-transition: .3s;
    transition: .3s;
    position: absolute;
    top: 0;
    right: 0;
    border-top: 1px solid #be3c42;
    border-right: 1px solid #be3c42;
    opacity: 0;
}

.btn span::after {
    content: "";
    width: 50px;
    height: 50px;
    -ms-transition: .3s;
    transition: .3s;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #be3c42;
    border-left: 1px solid #be3c42;
    opacity: 0;
}

.btn:hover {
    background: #d63a41;
}

.btn:hover span::before {
    opacity: 1;
    top: -5px;
    right: -5px;
}

.btn:hover span::after {
    opacity: 1;
    bottom: -5px;
    left: -5px;
}

.btn2 {
    max-width: 440px;
    text-align: center;
    margin: 20px auto;
    display: block;
    color: #fff;
}
.btn2 span {
    color: #fff;
}
.btn2:hover span {
    color: #fff;
}

.tags {
    margin-bottom: 15px;
    font-size: 15px;
}

.tags li {
    display: inline-block;
    vertical-align: top;
    line-height: 1;
    margin-right: 15px;
}

.tags a {
    display: block;
    padding: 7px 10px;
    font-weight: 400;
    background: #53adb7;
    color: #fff;
    transition: .3s;
    text-decoration: none;
}

.tags a:hover {
    background: #8fbf0d;
}

.share {
    margin-bottom: 20px;
    display: table;
    width: 100%;
}

.share li {
    display: table-cell;

    vertical-align: middle;
    padding-right: 15px;
}

.share a {
    background: #fff;
    border: 2px solid #eaeaea;
    padding: 12px;
    text-align: center;
    display: block;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: .3s;
}

.share a:hover {
    border-color: #b7b7b7
}

.share li:nth-child(1) a {
    color: #5967bd
}

.share li:nth-child(2) a {
    color: #3d9bfe
}


.share li:nth-child(3) a {
    color: #3482fe
}

.fb-square-icon {
    width: 15px;
    height: 15px;
}

.tw-icon {
    width: 19px;
    fill: #3d9bfe;
    height: 16px;
}

.messenger-icon {
    width: 30px;
    height: 18px;
}

.share svg,
.share img {
    vertical-align: text-top;
    display: inline-block;
}

.share svg {
    margin-right: 5px;

}

.read {
    margin-bottom: 40px;
    font-size: 0;
}

.read li {
    display: inline-block;

    vertical-align: top;
    width: 50%;
}

.read a {
    text-decoration: none;
    color: #000;
    transition: .3s;
    font-weight: 400;
}

.read__icon {
    display: block;
    margin: 0 auto 10px;
    vertical-align: middle;
    width: 75px;
    height: 43px;
    text-align: center;
    border-radius: 50px;
    transition: .3s;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .5);
}

.read li:nth-child(1) .read__icon {
    background: #5967bd;
    padding: 14px 0px;
}

.read li:nth-child(2) .read__icon {
    background: #379adf;
    padding: 9px 0px;
}

.read span {
    display: block;
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
   
}

.fb-icon {
    width: 8px;
    height: 16px;
    fill: #fff
}

.tg-icon {
    width: 25px;
    height: 25px;
    fill: #fff
}

.read a:hover .read__icon {
    box-shadow: 0 3px 10px -2px rgba(0, 0, 0, .5);

}

.read li:nth-child(1) a:hover {
    color: #5967bd
}

.read li:nth-child(2) a:hover {
    color: #379adf
}

.img-center {
    margin: 0 auto;
    display: block;
}

.comments__title {
    font-weight: 700;
    font-size: 28px;
    border-bottom: 2px solid #c4c4c4;
    margin-bottom: 30px;
}

.comments__item {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    font-size: 17px;

}

.comments__item:last-child {
    border: 0;
    padding-bottom: 0;
}

.comments__item--answer {
    margin-left: 30px;
}

.comments__item::after {
    content: "";
    clear: both;
    display: table;
}

.comments__img {
    float: left;
    width: 50px;
    height: 50px;
}

.comments__img img {
    margin-bottom: 0;
}

.comments__content {
    padding-left: 65px;
}

.comments__name {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 15px;
}

.comments__rate {
    display: inline-block;
    vertical-align: bottom;
    margin-bottom: 10px;
}

.comments__text {
    margin-bottom: 5px;
}

.comments__text img {
    margin-top: 15px;
    display: block;
    margin-bottom: 15px;
}

.comments__date {
    display: inline-block;
    font-size: 16px;
    color: #adb2bf;
    vertical-align: bottom;
    margin-right: 15px;
}

.comments__like {
    display: inline-block;
    vertical-align: bottom;
    font-size: 13px;
    color: #adb2bf;
}

.comments__like-negative,
.comments__like-positive {
    display: inline-block;
    vertical-align: bottom;
    margin-right: 5px;
}

.comments__like-positive {
    cursor: pointer;
}

.comments__like-negative .heart-icon {
    fill: #adb2bf
}

.comments__like-positive .heart-icon {
    fill: #adb2bf
}

.comments__like .heart-icon,
.comments__like span {
    display: inline-block;
    vertical-align: middle;
}

.star-icon,
.star-full-icon {
    width: 15px;
    height: 15px;
}

.heart-icon {
    width: 13px;
    height: 12px;
}

/***************    comments end    ************/
/***************    aside start     ************/

.aside {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
}

.news {
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    border-top: 2px solid #53adb7;
    padding: 14px 9px;
    margin-bottom: 25px;
}

.news__title {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
}

.news__item {
    font-size: 0;
    margin-bottom: 25px;
}

.news li:last-child {
    margin-bottom: 0;
}

.news__text,
.news__img {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
}

.news__img {
    width: 44%;
    position: relative;
}

.news__img img {
    display: block;
}

.news__caption {
    position: absolute;
    color: #fff;
    bottom: 0;
    left: 0;
    font-size: 12px;
    padding: 4px 4px 4px 5px;
    display: inline-block;
}

.news__caption span {
    position: relative;
    z-index: 1;
}

.news__caption::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 11px solid transparent;
    border-top-color: #000;
    top: 0;
    right: -11px;
}

.news__caption::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 11px solid transparent;
    border-bottom-color: #000;
    bottom: 0;
    right: -11px;
}

.news__caption--health {
    background: #8fbf0d;
}

.news__caption--health::after {
    border-top-color: #8fbf0d;
}

.news__caption--health::before {
    border-bottom-color: #8fbf0d;
}

.news__caption--patient {
    background: #53adb7;
}

.news__caption--patient::after {
    border-top-color: #53adb7;
}

.news__caption--patient::before {
    border-bottom-color: #53adb7;
}

.news__caption--useful {
    background: #415897;
}

.news__caption--useful::after {
    border-top-color: #415897;
}

.news__caption--useful::before {
    border-bottom-color: #415897;
}

.news__text {
    width: 56%;
    padding-left: 13px;
    line-height: 1;
}

.news__text a {
    color: #000;
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
    font-weight: 400;
    line-height: 1.3;
}

.news__text a:hover {
    color: #8fbf0d;
    text-decoration: none;
}

.news__box {
    font-size: 0;
}

.news__date,
.news__stat {
    font-size: 14px;
    color: #a4a4a5;
    font-weight: 500;
    display: inline-block;
    vertical-align: bottom;
    width: 50%;
}

.news__stat {
    text-align: right;
}

.news__watch,
.news__comm {
    display: inline-block;
    vertical-align: bottom;
}

.news__watch {
    margin-right: 5px;
}

.news__watch .eye-icon,
.news__watch span,
.news__comm .comm-icon,
.news__comm span {
    display: inline-block;
    vertical-align: text-top;
}

.news__item--main {
    display: block;
}

.news__item--main .news__img {
    display: block;
    width: 100%;
    margin-bottom: 13px;
}

.news__item--main .news__text {
    padding-left: 0;
    width: 100%;
}

.aside-banner {
    background: url(../images/aside-banner.jpg) no-repeat center/cover;
    padding: 40px 15px 30px 10px;
    color: #fff;
}

.aside-banner__prod {
    display: block;
    margin: 0 auto;
    width: 180px;
}

.aside-banner__text {
    font-size: 0;
}

.aside-banner__text-left {
    text-transform: uppercase;
    font-size: 11px;
    display: inline-block;
    vertical-align: bottom;
    font-weight: 600;
    line-height: 1;
    width: 68%;
    text-shadow: 1px 1px 2px #000;
}

.aside-banner__text-right {
    display: inline-block;
    vertical-align: bottom;
    width: 32%;
}

.aside-banner__text-left span {
    display: block;
}

.aside-banner__text-left span:nth-child(1) {
    font-size: 14px;
}

.aside-banner__text-left span:nth-child(2) {
    font-size: 25px;
    font-weight: 900;
}

.aside-btn {
    background: #be3c42;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 5px;
    width: 100%;
    font-size: 14px;
    text-decoration: none;
    transition: .3s;
    display: block;
    text-align: center;
}

.aside-btn:hover {
    border-color: #dd2f37;
    color: #fff;
    background: #e1343d;
}
.note {
    text-align: center;
    font-size: 16px;
    padding-bottom: 10px;
    color: #8fbf0d;
    font-weight: bold;
}
.terms__block {
    position: relative;
    bottom: -117px;
    text-align: center;
    z-index: 1;
}
.terms__block a {
    color: #A12000
}
@media(max-width:991px) {

    .header-top__nav,
    .header-top__search input,
    .header-bottom,
    .header-middle__banner,
    .info__social-share,
    .info__social-item span,
    .aside,
    .read,
    .share span {
        display: none;
    }


    .info__author-desc-bottom {
        margin: 5px 0;
    }

    header {
        position: relative;
    }

    .header-top {
        padding: 0;
    }

    .header-top__search {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
    }

    .search-icon {
        position: static;
    }

    .header-middle {
        padding: 5px 0;
        box-shadow: 0px 7px 5px -2px rgba(0, 0, 0, 0.2);
        margin-bottom: 10px;
    }

    .header-middle__logo {
        padding-left: 60px;
        position: relative;
        font-size: 9px;
        width: 100%;
    }

    .header-middle__logo span {
        left: 125px;
        bottom: 4px;
        max-width: 120px;
        display: none;

    }

    .header-middle__logo img {
        width: 100px;
    }

    .header-middle__logo::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 33px;
        z-index: -1;
        height: 20px;
        background: linear-gradient(#646464 0, #646464 4px, #fff 0, #fff 8px, #646464 0, #646464 12px, #fff 0, #fff 16px, #646464 0, #646464 20px);
    }

    .breadcrumbs {
        margin-bottom: 15px;
        line-height: 1;
        padding-top: 15px;
    }

    .breadcrumbs li {
        font-size: 14px;
    }

    .breadcrumbs li:not(:last-child)::after {
        margin: 0;
    }

    .main {
        width: 100%;
        margin-right: 0;
    }

    .title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .info {
        padding-bottom: 10px;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
    }

    .info__social {
        display: block;
        padding-left: 50px;
        border: 0;
        width: auto;
    }

    .info__social-item {
        width: 22px;
        min-height: 1px;
        padding: 5px;
        text-align: center;
    }

    .table p {
            min-height: 45px;
    }

    .info__social-item:nth-child(3) {
        padding: 4px 5px;
    }

    .info__author {
        width: 290px;
    }

    .info__author-name {
        margin-bottom: 0;
    }

    .second-title {
        font-size: 21px;
        margin-bottom: 15px;
    }

    .article-paragraph,
    .article-img {
        margin-bottom: 15px;
    }

    .article-paragraph {
        text-align: left;
    }

    .article-quote {
        margin: 15px 0;
    }

    .article-img__left,
    .article-img__right {
        display: block;
        width: 100%;
        margin: auto;
    }

    .article-img__left {
        margin-bottom: 5px;
    }

    .article-img--both {
  
        margin-bottom: 40px;
    }

    .diary {
        margin-bottom: 15px;
    }

    .diary__box {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .diary__intro::before {
        top: -10px;
    }

    .diary__day {
        margin-bottom: 15px;
    }

    /* .diary__day:last-child {
        margin-bottom: 0;
    } */

    .article-img--hand .article-img__left {
        width: 100%;
        margin-right: 0%;
        margin-bottom: 5px;
        text-align: center;
    }

    .article-img--hand .article-img__right {
        width: 100%;
        text-align: center;
    }

    .article-img--hand {
        margin-bottom: 0;
    }

    .table {
        display: block;
        font-size: 0;
        width: 600px;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .table__row {
        display: block;
    }

    .table__cell,
    .table__cell:nth-child(2),
    .table__cell:nth-child(3) {
        display: inline-block;
        width: 50%;
        font-size: 15px;
    }

    .table__cell:nth-child(2),
    .table__cell:nth-child(3) {
        padding: 0px 10px 10px;
        font-size: 16px;
    }

    .table__cell:nth-child(1) {
        display: block;
        width: 100%;
        text-align: center;
        border: 0;
    }

    .table__cell:nth-child(2) {
        border-right-width: 2px;
    }

    .table__cell:nth-child(3) {
        border-right: 0;
    }

    .table__row:nth-child(1) .table__title.table__cell {
        text-align: center;
        font-size: 18px;
        padding: 20px 15px;
    }

    .tags {
        margin-bottom: 10px;
    }

    .tags li {
        margin-right: 0;
        margin-bottom: 2px;
    }

    .share {
        display: block;
        margin-bottom: 30px;
    }

    .share li {
        padding-right: 5px;
    }

    .share a {
        width: 40px;
        position: relative;
        height: 40px;
    }

    .share a svg,
    .share a img {
        position: absolute;
        top: 50%;
        max-width: none;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .comments__item--answer {
        margin-left: 0px;
    }

    .comments__name {
        margin-bottom: 0;
    }

    .comments__rate {
        display: block;
        margin-bottom: 0;
    }

    .comments__text {
        font-size: 17px;
        margin-left: -65px;
        margin-top: 12px;
        margin-bottom: 5px;
    }

    .comments__date {
        margin-left: -65px;
    }
}

@media(max-width:750px) {
    .form {
        padding-left: 10px;
        padding-right: 10px;
    }

    .form__prod,
    .form__order {
        display: block;
        width: 100%;
        text-align: center;
    }

    .form__prod {

        margin-bottom: 20px;
    }

    .form__title {
        margin-bottom: 10px;
    }

    .form__order {
        max-width: 300px;
        margin: auto;
        margin-bottom: 0;
    }

    .form input,
    .form select {
        margin-bottom: 10px;
    }

    .btn {
        font-size: 14px;
        width: 100%;
    }


}

@media(max-width:319px) {
    body {
        zoom: .8;
    }
}


:root {
    --carts-gap: 20px;
    --carts-border-color: rgb(228, 228, 228);
    --carts-border-color-hover: rgb(219, 14, 24);
}

/*Bug*/
.rd-order-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 30px;
}

.rd-order-container .rd-order {
    display: none;
    position: absolute;
    transform: translateX(100%);
    opacity: 0;
}

.rd-carts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
}

.rd-carts__item {
    display: flex;
    gap: var(--carts-gap);
    flex: 1 1 calc((100% - 28px) / 3);
    border: 1px solid var(--carts-border-color);
    border-radius: 30px;
    cursor: pointer;
    padding: var(--carts-gap);
    transition: all 0.2s;
    overflow: hidden;
}

.rd-carts__item:hover {
    border-color: var(--carts-border-color-hover);
}

.rd-carts__item.active {
    border-color: var(--carts-border-color-hover);
    cursor: pointer;
}

.rd-carts__item.disabled {
    pointer-events: none;
}

.rd-carts__cart {
    display: block;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 250 / 230;
    background: url("../img/cart.png") no-repeat center center / contain;
    transition: all .2s, transform 1s;
    transform: translateX(calc(-100% - var(--carts-gap)));
}

.rd-carts__cart--sale {
    background: url("../img/cart-sale.png") no-repeat center center / contain;
}

.rd-carts__item:not(.active):hover .rd-carts__cart {
    background: url("../img/cart-active.png") no-repeat center center / contain;
}

.rd-carts__item.active .rd-carts__cart {
    transform: translateX(0);
}

@media (max-width: 639px) {
    .rd-carts__item {
        flex: 1 1 calc((100% - 14px) / 2);
    }

    .info {
        flex-direction: column;
    }
}

@media (max-width: 479px) {
    :root {
        --carts-gap: 10px;
    }

    .rd-carts__item {
        border-radius: 10px;
    }

   
}


@media (max-width: 431px) {


        .table p {
            min-height: 78px;
        }
}


/*Animations*/
.slide-out-left {
    -webkit-animation: slide-out-left 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation: slide-out-left 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes slide-out-left {
    0% {
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-100%) skewX(20deg);
        transform: translateX(-100%) skewX(20deg);
        opacity: 0;
    }
}

@keyframes slide-out-left {
    0% {
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-100%) skewX(20deg);
        transform: translateX(-100%) skewX(20deg);
        opacity: 0;
    }
}

.slide-in-right {
    -webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-right {
    0% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(100%) skewX(-20deg);
        transform: translateX(100%) skewX(-20deg);
        opacity: 0;
    }
    100% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(100%) skewX(-20deg);
        transform: translateX(100%) skewX(-20deg);
        opacity: 0;
    }
    100% {
        display: inline-block;
        position: static;
        -webkit-transform: translateX(0) skewX(0deg);
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
}
:root {
    --primary: rgb(21, 251, 238);
    --primary-hover: rgb(34 212 202);
    --bg-color-light: rgb(51, 103, 164);
    --bg-color-dark: rgb(27, 27, 77);
}

.rd-promo {
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
    gap: 20px 30px;
    color: white;
    border-radius: 16px;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.25);
    background: linear-gradient(180.00deg, var(--bg-color-light), var(--bg-color-dark) 100%);
    max-width: 1000px;
    width: 100%;
    padding: 40px 30px;
}

.rd-promo__product {
    flex-shrink: 0;
    width: 300px;
    max-width: 100%;
}

.rd-promo__pack {
    display: block;
    width: 100%;
}

.rd-promo__sale {
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 30px;
}

.rd-promo__title {
    font-size: 26px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.rd-promo__title span {
    color: var(--primary);
    white-space: nowrap;
}

.rd-promo__text {
    font-size: 16px;
    margin-bottom: 30px;
}

.rd-promo__button {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: var(--primary);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    padding: 16px 40px;
    transition: .2s ease-in-out;
}

.rd-promo__button:hover {
    background-color: var(--primary-hover);
}

@media (max-width: 767px) {
    .rd-promo {
        flex-direction: column;
        text-align: center;
    }

    .rd-promo__product {
        width: 250px;
    }

    .rd-promo__sale {
        margin-bottom: 40px;
    }
}

@media (max-width: 479px) {
    .rd-promo {
        row-gap: 15px;
        padding: 30px 15px;
    }

    .rd-promo__product {
        width: 200px;
    }

    .rd-promo__sale {
        font-size: 40px;
        margin-bottom: 25px;
    }

    .rd-promo__title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .rd-promo__text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .rd-promo__button {
        font-size: 16px;
        padding-inline: 30px;
    }
}

/*Modal*/
.rd-modal {
    z-index: 999;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
}

.rd-modal.open {
    opacity: 1;
    visibility: visible;
}

.rd-order {
    /*display: flex;*/
    /*align-items: center;*/
    /*gap: 18px;*/
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #be3c42;
    border-radius: 20px;
    border: 3px solid #be3c42;
    padding: 30px 18px 30px;
    max-height: 98vh;
    max-width: 630px;
    width: 100%;
    overflow-y: auto;
    background: rgba(167, 113, 116, 0.1);
}

.rd-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.rd-modal__close::before,
.rd-modal__close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 4px;
    background-color: white;
    transform-origin: center;
}

.rd-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.rd-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rd-order__message {
    text-align: center;
    margin-bottom: 20px;
}

.rd-order__message.hidden {
    display: none;
}

.rd-order__wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.rd-order__content {
    flex-basis: 330px;
    flex-grow: 1;
    /*max-width: 330px;*/
    /*width: 100%;*/
}

.rd-order__sale {
    display: inline-block;
    font-size: 45px;
    font-weight: 900;
    color: white;
    background: #ED1F01;
    clip-path: polygon(100% 100%, 100% 100%, 98.854% 98.62%, 97.634% 97.311%, 96.338% 96.091%, 94.965% 94.978%, 93.513% 93.988%, 91.979% 93.138%, 90.363% 92.448%, 88.662% 91.933%, 86.875% 91.611%, 85% 91.5%, 33.2% 91.5%, 33.2% 91.5%, 29.09% 90.883%, 25.222% 89.034%, 21.598% 85.96%, 18.219% 81.663%, 15.088% 76.15%, 12.205% 69.425%, 9.573% 61.492%, 7.194% 52.358%, 5.069% 42.025%, 3.2% 30.5%, 3.2% 30.5%, 2.765% 27.351%, 2.358% 24.208%, 1.98% 21.077%, 1.627% 17.964%, 1.3% 14.875%, 0.997% 11.816%, 0.716% 8.793%, 0.458% 5.812%, 0.219% 2.879%, 0% 0%, 0% 0%, 1.468% 2.135%, 3.053% 4.145%, 4.759% 6.006%, 6.59% 7.694%, 8.55% 9.188%, 10.642% 10.462%, 12.869% 11.493%, 15.235% 12.259%, 17.744% 12.736%, 20.4% 12.9%, 69.9% 12.9%, 69.9% 12.9%, 70.821% 13.217%, 72.42% 13.971%, 74.571% 15.318%, 77.148% 17.414%, 80.025% 20.413%, 83.076% 24.47%, 86.175% 29.743%, 89.196% 36.385%, 92.013% 44.552%, 94.5% 54.4%, 94.5% 54.4%, 95.569% 59.735%, 96.502% 64.931%, 97.307% 69.976%, 97.991% 74.858%, 98.563% 79.563%, 99.029% 84.078%, 99.398% 88.393%, 99.678% 92.493%, 99.876% 96.366%, 100% 100%);
    padding: 6px 12px;
    position: absolute;
    top: 0;
    right: 0;
}

.rd-order__product {
    position: relative;
    flex-basis: 180px;
    flex-shrink: 0;
    /*width: 250px;*/
    /*margin: 0 auto 15px;*/
}

.rd-order__pack {
    display: block;
    width: 100%;
    max-width: 100%;
}

.rd-order__pack--sale {
    padding-top: 20px;
}

.rd-order .rd-price {
    margin-bottom: 22px;
}

/*Price*/
.rd-price {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    width: 100%
}

.rd-price__item {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.rd-price__line {
    display: block;
    flex-shrink: 0;
    width: 1px;
    background-color: white;
}

.rd-price__title {
    font-size: 18px;
    font-weight: 400;
  
    margin: 0;
}

.rd-price__title--old {
    font-weight: 300;
    color: rgba(0, 0, 0, 1);
}

.rd-price__value {
    font-size: 40px;
    font-weight: 400;
    margin: 0;
}

.eo-quote {
  background: #f9f9f9; /* світла підложка */
  border: 1px solid #ccc; /* кольорова смужка зліва */
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}
.rd-price__value--old {
    font-weight: 300;
    color: rgba(0, 0, 0, 1);
    text-decoration-line: line-through;
}

/*light modal theme*/
.rd-modal--light .rd-order {
    background: white;
}

.rd-modal--light .rd-modal__close::before,
.rd-modal--light .rd-modal__close::after {
    background: var(--bg-color-dark);
}

.rd-modal--light .rd-order__message {
    color: var(--bg-color-dark);
}

.rd-modal--light .rd-form__button {
    color: white;
    background: rgb(237, 31, 1);
}

.rd-modal--light .rd-form__button:hover {
    background: rgb(182, 24, 1);
}

.rd-modal--light .rd-price__title {
    color: var(--bg-color-dark);
}

.rd-modal--light .rd-price__value {
    color: var(--bg-color-dark);
}

.rd-modal--light .rd-price__title--old, .rd-modal--light .rd-price__value--old {
    color: rgba(145, 145, 145, 0.5);
}

.rd-modal--light .rd-price__line {
    background: rgba(145, 145, 145, 0.5);
}

.rd-modal--light .rd-form__input {
    border: 1px solid var(--bg-color-dark);
}

/*Form*/
.rd-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.rd-form__label, .rd-form__input {
    width: 100%;
}

.rd-form__input {
    font-size: 18px;
    text-align: center;
    color: var(--bg-color-dark);
    border-radius: 100px;
    box-shadow: 0 5px 20px 0 rgba(50, 118, 71, 0.1);
    background: rgb(255, 255, 255);
    border: none;
    outline: none;
    padding: 15px 24px;
}

.rd-form__input::placeholder {
    color: var(--bg-color-dark);
}

.rd-form__button {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #be3c42;
    border: none;
    border-radius: 100px;
    outline: none;
    cursor: pointer;
    padding: 15px 24px;
    transition: background-color .2s;
    text-transform: uppercase;
}

.rd-form__button:hover {
    background-color: #d72b34;
}

@media (max-width: 767px) {
    .rd-order {
        width: auto;
    }

    .rd-order__wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .rd-order__sale {
        font-size: 38px;
    }

    .rd-order__product {
        flex-basis: auto;
        width: 160px;
    }

    .rd-order__content {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 479px) {
    .rd-order__product {
        width: 200px;
    }

    .rd-order__sale {
        font-size: 30px;
    }

    .rd-price {
        justify-content: space-evenly;
    }

    .rd-price__title {
        font-size: 14px;
    }

    .rd-price__value {
        font-size: 30px;
    }

    .rd-form__input, .rd-form__button {
        font-size: 16px;
    }
}


:root {
    --gallery-primary: rgb(28, 30, 80);
    --gallery-border-color: rgb(254, 88, 88);
    --gallery-border-radius: 30px;
}

.rd-gallery {
    font-family: 'Inter', sans-serif;
    color: var(--gallery-primary);
    max-width: 1000px;
    width: 100%;
}

.rd-gallery__title {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.nowrap {
    white-space: nowrap;
}

.rd-gallery__wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 660px;
    margin: 0 auto;
}

.rd-gallery__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    flex: 1 1 calc((100% - 28px) / 3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.5s;
    max-width: 207px;
    /*overflow: hidden;*/
}

.rd-gallery__item:not(.active):hover {
    /*transform: scale(1.03);*/
}

.rd-gallery__item.active {
    /*border-color: var(--gallery-border-color);*/
    /*cursor: pointer;*/
}

.rd-gallery__item.active .rd-gallery__overlay {
    /*opacity: 0;*/
    /*visibility: hidden;*/
}

.rd-gallery__item.disabled {
    pointer-events: none;
}

.rd-gallery__overlay {
    z-index: 2;
    position: absolute;
    inset: 0;
    transition: .2s;
}

.rd-gallery__img {
    display: block;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.rd-gallery__result {
    width: 100%;
    padding: 20px;
}

.rd-gallery__result-title,
.rd-gallery__result-subtitle {
    display: block;
    font-size: 23px;

    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.rd-gallery__result-title {
    margin-bottom: 10px;
}

.rd-gallery__percent {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

/*Flip version*/
.rd-gallery__item-wrap {
    position: absolute;
    width: 100%;
    height: 100%;

    transition: transform 1s;
    transform-style: preserve-3d;
}

.rd-gallery__overlay,
.rd-gallery__result {
    position: absolute;
    height: 100%;
    width: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*line-height: 300px;*/
    color: #03446A;
    text-align: center;
    font-size: 60px;
    border-radius: var(--gallery-border-radius);
    backface-visibility: hidden;
    overflow: hidden;
}

.rd-gallery__result {
    /*background: #03446A;*/
    /*color: white;*/
    border: 1px solid var(--gallery-border-color);
    transform: rotateY( 180deg );
}

.rd-gallery__item.active .rd-gallery__item-wrap {
    transform: rotateY( 180deg ) !important;
    transition: transform 0.5s;
}
/*End Flip version*/

@media (max-width: 1023px) {
    .rd-gallery__title {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .rd-gallery__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .rd-gallery__item {
        border-width: 1px;
    }

    .article-paragraph {
        font-size: 17px;
    }

    .ac_footer {
        padding-bottom: 20px;
        padding-top: 5px;
    }

    .diary__day {
        font-size: 17px;
    }
}

@media (max-width: 639px) {
    .rd-gallery__result-title,
    .rd-gallery__result-subtitle {
        display: block;
        font-size: 20px;
    }

    .rd-gallery__item {
        flex: 0 1 calc((100% - 14px) / 2);
    }
}

@media (max-width: 479px) {
    .rd-gallery__title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .rd-gallery__result-title,
.rd-gallery__result-subtitle {

    font-size: 15px}
.word-break {
   word-break: break-word;
  overflow-wrap: break-word;
}
.days__caption {
    display: block;
    margin-bottom: 10px;
}
    .rd-gallery__wrapper {
        gap: 10px;
    }

    .rd-gallery__item {
        flex: 0 1 calc((100% - 10px) / 2);
    }

    .rd-gallery__result {
        padding: 10px;
    }

    .rd-gallery__item {
        border-radius: 10px;
    }
}