/*
 INDEXIS
 0. Besed
 1. Slick Slider
 2. Article block 1
 3. Article block 2
 4. Article block 3
 5. Article block 4
 6. Article block 5
 */

/*
 0. Besed
 */
.section-24 {
    clear: both;
    margin: 0 auto 50px;
    max-width: 1200px;
    position: relative;
}
.section-24 h2 {
    font-size: 30px;
    line-height: 35px;
    font-weight: 800;
    margin-bottom: 32px;
}
.section-24 .cfix {
    clear: both;
}
.section-24 .all-article {
    float: right;
    margin: 0 0 20px 0;
    color: #333;
    text-decoration: underline;
}
.section-24 .all-article:hover {
    text-decoration: none;
}
main.articles .container {
    margin: 90px auto 0;
}
main.articles .banner-breadcrumb {
    position: relative;
    top: 0 !important;
}
.all-more {
    color: #333;
    text-decoration: underline;
    display: inline-block;
    margin: 0 0 20px 0;
}
.all-more:hover {
    text-decoration: none;
}

/*
 1. Slick Slider
 */
.section-24 .slick-prev {
    border-radius: 7px;
    background-color: #6BB7D6 !important;
    box-shadow: 0px 5px 15px 0px rgba(255, 133, 98, 0.3) !important;
    width: 53px;
    height: 42px;
    left: -69px;
    color: #fff !important;
    z-index: 10;
}
.section-24 .slick-next {
    border-radius: 7px;
    background-color: #6BB7D6 !important;
    box-shadow: 0px 5px 15px 0px rgba(255, 133, 98, 0.3) !important;
    width: 53px;
    height: 42px;
    right: -69px;
    color: #fff !important;
    z-index: 10;
}
.section-24 .slick-prev::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.section-24 .slick-next::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.section-24 .slick-prev::before {
    background: url('https://klining24.ru/wp-content/themes/klining24/assets/img/main-slider-prev.svg');
}
.section-24 .slick-next::before {
    background: url('https://klining24.ru/wp-content/themes/klining24/assets/img/main-slider-next.webp');
}
@media (max-width: 800px) {
  .section-24 .slick-prev {
    left: 19px;
  }
  .section-24 .slick-next {
    right: 19px;
  }
}
/*
 2. Article block 1
 */
.section-24.art-1 .rws {
    clear: both;
}
.section-24.art-1 .rw {
    width: 34%;
    background: #FFF;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 30px;
    float: left;
    position: relative;
}
.section-24.art-1 .rw .photo {
    width: 110px;
    margin-right: 10px;
    height: 110px;
    overflow: hidden;
    float: left;
    border-radius: 10px;
}

.section-24.art-1 .rw .title {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin: 10px 0;
    line-height: 20px;
    display: block;
}
.section-24.art-1 .rw .title:hover {
    text-decoration: underline;
}
.section-24.art-1 .rw img {
    border-radius: 10px;
    max-height: 110px;
}
.section-24.art-1 .rw:nth-child(1) {
    width: 63%;
    margin-right: 3%;
    background: #FFF;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}
.section-24.art-1 .rw:nth-child(1) .photo {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    text-align: center;
    border-radius: 10px;
    height: unset;
    float: unset;
}
.section-24.art-1 .rw:nth-child(1) img {
    max-height: unset;
}
.section-24.art-1 .rw:nth-child(1) .title {
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    margin: 10px 0;
}
.section-24.art-1 .rw .tags {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    color: #000;
    opacity: .35;
    gap: 15px;
}
.section-24.art-1 .more {
    width: 42px;
    height: 42px;
    background: url(images/more.png) 0 0 no-repeat;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
@media (max-width: 800px) {
  .section-24.art-1 .rw {
    width: 100%;
    float: unset;
    margin-bottom: 15px;
  }
  .section-24.art-1 .rw:nth-child(1) {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0;
  }
}
@media (max-width: 480px) {
  .section-24.art-1 .rw:nth-child(1) .photo {
    max-height: 280px;
  }
}

/*
 3. Article block 2
 */
.section-24.art-2 .rws {
    clear: both;
}
.section-24.art-2 .rw {
    position: relative;
    padding: 0 10px;
}
.section-24.art-2 .rw .title {
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin: 10px 50px 10px 0;
    line-height: 20px;
    display: block;
    min-height: 40px;
}
.section-24.art-2 .rw .title:hover {
  text-decoration: underline;
}
.section-24.art-2 .more {
    width: 42px;
    height: 42px;
    background: url(images/more.png) 0 0 no-repeat;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.section-24.art-2 .tags {
    position: absolute;
    top: 10px;
    left: 20px;
    background: #fff;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 12px;
}
.section-24.art-2 img {
    display: block;
    width: 100%;
    border-radius: 10px;
    max-height: 390px;
}
@media (max-width: 800px) {
  .section-24.art-2 img {
    max-height: unset;
  }
}

/*
 4. Article block 3
 */
.section-24.art-3 .rws {
    clear: both;
}
.section-24.art-3 .rws {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2%;
}
.section-24.art-3 .rw {
    position: relative;
    padding: 0;
    background: #FFF;
    padding: 10px;
    border-radius: 10px;
}
.section-24.art-3 .rw .title {
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin: 10px 50px 0 0;
    line-height: 20px;
    display: block;
    min-height: 40px;
}
.section-24.art-3 .rw .title:hover {
  text-decoration: underline;
}
.section-24.art-3 .more {
    width: 42px;
    height: 42px;
    background: url(images/more.png) 0 0 no-repeat;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.section-24.art-3 .photo {
    width: 100%;
    border-radius: 10px;
    max-height: 280px;
    overflow: hidden;
}
.section-24.art-3 img {
    display: block;
    width: 100%;
    border-radius: 10px;
}
@media (max-width: 800px) {
  .section-24.art-3 img {
    max-height: unset;
  }
  .section-24.art-3 .rws {
    flex-direction: column;
  }
  .section-24.art-3 .rw {
    margin: 0 0 20px 0;
  }
}

/*
 5. Article block 4
 */
.section-24.art-4 .rws {
    clear: both;
}
.section-24.art-4 .rw {
    width: 34%;
    background: #FFF;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 30px;
    float: right;
    position: relative;
}
.section-24.art-4 .rw .photo {
    width: 110px;
    margin-right: 10px;
    height: 110px;
    overflow: hidden;
    float: left;
    border-radius: 10px;
}

.section-24.art-4 .rw .title {
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin: 10px 0;
    line-height: 20px;
    display: block;
}
.section-24.art-4 .rw .title:hover {
    text-decoration: underline;
}
.section-24.art-4 .rw img {
    border-radius: 10px;
    max-height: 110px;
}
.section-24.art-4 .rw:nth-child(1) {
    width: 63%;
    margin-left: 3%;
    background: #FFF;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}
.section-24.art-4 .rw:nth-child(1) .photo {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    text-align: center;
    border-radius: 10px;
    height: unset;
    float: unset;
}
.section-24.art-4 .rw:nth-child(1) img {
    max-height: unset;
}
.section-24.art-4 .rw:nth-child(1) .title {
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    margin: 10px 0;
}
.section-24.art-4 .rw .tags {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    color: #000;
    opacity: .35;
    gap: 15px;
}
.section-24.art-4 .more {
    width: 42px;
    height: 42px;
    background: url(images/more.png) 0 0 no-repeat;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
@media (max-width: 800px) {
  .section-24.art-4 .rw {
    width: 100%;
    float: unset;
    margin-bottom: 15px;
  }
  .section-24.art-4 .rw:nth-child(1) {
    width: 100%;
    margin-bottom: 15px;
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  .section-24.art-4 .rw:nth-child(1) .photo {
    max-height: 280px;
  }
}

/*
 6. Article block 5
 */
.section-24.art-5 .rws {
    clear: both;
}
.section-24.art-5 .rws {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2%;
}
.section-24.art-5 .rw {
    position: relative;
    padding: 0;
    background: #FFF;
    padding: 10px;
    border-radius: 10px;
}
.section-24.art-5 .rw .title {
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin: 10px 50px 0 0;
    line-height: 20px;
    display: block;
    min-height: 40px;
}
.section-24.art-5 .rw .title:hover {
  text-decoration: underline;
}
.section-24.art-5 .more {
    width: 42px;
    height: 42px;
    background: url(images/more.png) 0 0 no-repeat;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.section-24.art-5 .photo {
    width: 100%;
    border-radius: 10px;
    max-height: 220px;
    overflow: hidden;
}
.section-24.art-5 img {
    display: block;
    width: 100%;
    border-radius: 10px;
}
.section-24.art-5 .rw .tags {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    color: #000;
    opacity: .35;
    gap: 15px;
}
.section-24.art-5 .rw:has(.rw) {
    background: none;
}
.section-24.art-5 .rw>.rw {
    margin-bottom: 30px;
}
.section-24.art-5 .rw>.rw .photo {
    width: 110px;
    margin-right: 10px;
    height: 110px;
    overflow: hidden;
    float: left;
    border-radius: 10px;
}

.section-24.art-5 .rw>.rw  .title {
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin: 10px 0;
    line-height: 20px;
    display: block;
}
.section-24.art-5 .rw>.rw  img {
    border-radius: 10px;
    max-height: 110px;
    width: unset;
}

@media (max-width: 800px) {
  .section-24.art-5 img {
    max-height: unset;
  }
  .section-24.art-5 .rws {
    flex-direction: column;
  }
  .section-24.art-5 .rw {
    margin: 0 0 20px 0;
  }
}
