/* =========================================================
   PROPERA BLOG
========================================================= */

.propera-blog {
    padding: 90px 0;
    background: #f7f8f8;
}

.propera-blog__container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.propera-blog__header {
    margin-bottom: 35px;
}

.propera-blog__title {
    margin: 0 !important;
    padding: 0 !important;

    color: #151515 !important;

    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.propera-blog__description {
    margin: 10px 0 0 !important;
    padding: 0 !important;

    color: #777 !important;

    font-size: 16px !important;
    line-height: 1.4 !important;
}


/* =========================================================
   GRID
========================================================= */

.propera-blog__grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


/* =========================================================
   CARD
========================================================= */

.propera-blog__card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e1e7e9;
    border-radius: 18px;

    box-shadow: 0 4px 18px rgba(6, 63, 99, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.propera-blog__card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 24px rgba(6, 63, 99, 0.09);
}


/* =========================================================
   IMAGE
========================================================= */

.propera-blog__image-link {
    display: block;

    text-decoration: none !important;
}

.propera-blog__image {
    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #edf0f0;
}

.propera-blog__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}



.propera-blog__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #8B2C83;

    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   CONTENT
========================================================= */

.propera-blog__content {
    padding: 18px 18px 20px;
}

.propera-blog__date {
    margin-bottom: 8px;

    color: #999;

    font-size: 12px;
    line-height: 1.2;
}


/* =========================================================
   TITLE
========================================================= */

.propera-blog__post-title {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 18px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
}

.propera-blog__post-title a {
    color: #151515 !important;

    text-decoration: none !important;
}

.propera-blog__post-title a:hover {
    color: #8B2C83 !important;
}


/* =========================================================
   EXCERPT
========================================================= */

.propera-blog__excerpt {
    margin-top: 10px;

    color: #666;

    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   READ MORE
========================================================= */

.propera-blog__read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 15px;

    color: #8B2C83 !important;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;
}

.propera-blog__read-more:hover {
    gap: 10px;
}


/* =========================================================
   ALL ARTICLES
========================================================= */

.propera-blog__footer {
    display: flex;
    justify-content: center;

    margin-top: 40px;
}

.propera-blog__all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #8B2C83 !important;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;
}

.propera-blog__all-link:hover {
    opacity: 0.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .propera-blog {
        padding: 70px 0;
    }

    .propera-blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .propera-blog__title {
        font-size: 30px !important;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-blog {
        padding: 55px 0;
    }

    .propera-blog__container {
        width: calc(100% - 28px);
    }

    .propera-blog__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .propera-blog__title {
        font-size: 27px !important;
    }

    .propera-blog__description {
        font-size: 14px !important;
    }

    .propera-blog__content {
        padding: 15px 16px 17px;
    }
}












/* =========================================================
   BLOG ARCHIVE
========================================================= */

.propera-blog-archive {
    padding: 35px 0 90px;
    background: #f7f8f8;
}

.propera-blog-archive__container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.propera-blog-archive__breadcrumbs {
    margin-bottom: 45px;
}

.propera-blog-archive__breadcrumbs-inner {
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

.propera-blog-archive__breadcrumbs a {
    color: #777 !important;
    text-decoration: none !important;
}

.propera-blog-archive__breadcrumbs a:hover {
    color: #8B2C83 !important;
}


/* =========================================================
   HEADER
========================================================= */

.propera-blog-archive__header {
    margin-bottom: 30px;
}

.propera-blog-archive__title {
    margin: 0 !important;
    padding: 0 !important;

    color: #151515 !important;

    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.propera-blog-archive__description {
    margin: 10px 0 0 !important;
    padding: 0 !important;

    color: #777 !important;

    font-size: 16px !important;
    line-height: 1.4 !important;
}


/* =========================================================
   BLOG — CATEGORIES
========================================================= */

.propera-blog__categories {
    margin-bottom: 38px;
}

.propera-blog__categories-scroll {
    display: flex;
    align-items: center;
    gap: 10px;

    overflow-x: auto;

    scrollbar-width: none;
}

.propera-blog__categories-scroll::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   CATEGORY BUTTON
========================================================= */

.propera-blog__category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 40px;
    padding: 8px 16px;

    box-sizing: border-box;

    border: 1px solid #d8d8d8;
    border-radius: 22px;

    background: #fff;
    color: #555 !important;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


/* =========================================================
   HOVER
========================================================= */

.propera-blog__category-link:hover {
    border-color: #8F2A91;

    background: #fff;
    color: #8F2A91 !important;
}


/* =========================================================
   ACTIVE
========================================================= */

.propera-blog__category-link.is-active {
    border-color: #8F2A91;

    background: #8F2A91;
    color: #fff !important;
}

.propera-blog__category-link.is-active:hover {
    border-color: #8F2A91;

    background: #8F2A91;
    color: #fff !important;

    transform: translateY(-1px);
}


/* =========================================================
   ARCHIVE GRID
========================================================= */

.propera-blog-archive__grid {
    margin-top: 0;
}


/* =========================================================
   BLOG — PAGINATION
   ========================================================= */

.propera-blog__pagination {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    margin-top: 40px;
    margin-bottom: 20px;
}


/* Убираем стандартное оформление списка */

.propera-blog__pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* Каждый элемент */

.propera-blog__pagination li {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* Номера страниц и стрелки */

.propera-blog__pagination a,
.propera-blog__pagination span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 12px;

    box-sizing: border-box;

    border: 1px solid #e1e1e1;
    border-radius: 50%;

    background: #fff;
    color: #222;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none !important;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


/* Наведение */

.propera-blog__pagination a:hover {
    background: #8F2A91;
    border-color: #8F2A91;

    color: #fff !important;

    transform: translateY(-1px);
}


/* Текущая страница */

.propera-blog__pagination .current {
    background: #8F2A91;
    border-color: #8F2A91;

    color: #fff;
}


/* Предыдущая / следующая */

.propera-blog__pagination .prev,
.propera-blog__pagination .next {
    min-width: 40px;

    border-radius: 50%;
}


/* Точки */

.propera-blog__pagination .dots {
    min-width: auto;

    padding: 0 4px;

    border: none;

    background: transparent;

    color: #777;
}


/* Точки не должны реагировать как кнопка */

.propera-blog__pagination li:has(.dots) {
    min-width: auto;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .propera-blog__pagination {
        margin-top: 30px;
    }

    .propera-blog__pagination ul {
        gap: 5px;
    }

    .propera-blog__pagination a,
    .propera-blog__pagination span {
        min-width: 36px;
        height: 36px;

        padding: 0 9px;

        font-size: 13px;
    }

}


/* =========================================================
   EMPTY
========================================================= */

.propera-blog-archive__empty {
    padding: 70px 20px;

    text-align: center;

    background: #fff;

    border: 1px solid #e1e7e9;
    border-radius: 18px;
}

.propera-blog-archive__empty h2 {
    margin: 0 !important;

    color: #151515 !important;

    font-size: 24px !important;
}

.propera-blog-archive__empty p {
    margin: 10px 0 0 !important;

    color: #777;

    font-size: 15px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .propera-blog-archive {
        padding: 30px 0 70px;
    }

    .propera-blog-archive__title {
        font-size: 34px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-blog-archive {
        padding: 25px 0 55px;
    }

    .propera-blog-archive__container {
        width: calc(100% - 28px);
    }

    .propera-blog-archive__breadcrumbs {
        margin-bottom: 32px;
    }

    .propera-blog-archive__header {
        margin-bottom: 24px;
    }

    .propera-blog-archive__title {
        font-size: 27px !important;
    }

    .propera-blog-archive__description {
        font-size: 14px !important;
    }

    .propera-blog__categories {
    margin-right: -14px;
    margin-bottom: 30px;
}

.propera-blog__categories-scroll {
    gap: 8px;

    padding-right: 14px;
    padding-bottom: 4px;
}

.propera-blog__category-link {
    min-height: 38px;

    padding: 8px 14px;

    font-size: 13px;
}

    .propera-blog__pagination {
        margin-top: 35px;
        gap: 4px;
    }

    .propera-blog__pagination .page-numbers {
        min-width: 34px;
        height: 34px;

        font-size: 13px;
    }

}








/* =========================================================
   SINGLE POST
========================================================= */

.propera-blog-single {
    padding: 35px 0 90px;
    background: #f7f8f8;
}


.propera-blog-single__container {
    width: min(820px, calc(100% - 40px));
    margin: 0 auto;
}


.propera-blog-single__article {
    padding: 45px 50px 50px;

    background: #fff;

    border: 1px solid #e1e7e9;
    border-radius: 18px;

    box-shadow: 0 4px 18px rgba(6, 63, 99, 0.05);
}


/* =========================================================
   CATEGORY
========================================================= */

.propera-blog-single__category {
    margin-bottom: 14px;
}


.propera-blog-single__category a {
    color: #8B2C83 !important;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: none !important;
}


.propera-blog-single__category a:hover {
    opacity: 0.7;
}


/* =========================================================
   TITLE
========================================================= */

.propera-blog-single__title {
    margin: 0 !important;
    padding: 0 !important;

    color: #151515 !important;

    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}


/* =========================================================
   DATE
========================================================= */

.propera-blog-single__date {
    margin-top: 12px;
    margin-bottom: 35px;

    color: #999;

    font-size: 13px;
    line-height: 1.3;
}


/* =========================================================
   CONTENT
========================================================= */

.propera-blog-single__content {
    color: #666;

    font-size: 16px;
    line-height: 1.65;
}


/* TEXT */

.propera-blog-single__content p {
    margin: 0 0 20px !important;
    padding: 0 !important;
}


.propera-blog-single__content p:last-child {
    margin-bottom: 0 !important;
}


/* HEADINGS */

.propera-blog-single__content h2 {
    margin: 35px 0 15px !important;
    padding: 0 !important;

    color: #151515 !important;

    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}


.propera-blog-single__content h3 {
    margin: 30px 0 12px !important;
    padding: 0 !important;

    color: #151515 !important;

    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}


/* LINKS */

.propera-blog-single__content a {
    color: #8B2C83 !important;

    text-decoration: underline;
    text-underline-offset: 2px;
}


.propera-blog-single__content a:hover {
    opacity: 0.7;
}


/* IMAGES */

.propera-blog-single__content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 30px auto;

    border-radius: 12px;
}


/* IMAGE CAPTION */

.propera-blog-single__content figcaption {
    margin-top: -20px;
    margin-bottom: 25px;

    color: #999;

    font-size: 13px;
    line-height: 1.4;

    text-align: center;
}


/* LISTS */

.propera-blog-single__content ul,
.propera-blog-single__content ol {
    margin: 0 0 20px;
    padding-left: 25px;
}


.propera-blog-single__content li {
    margin-bottom: 8px;
}


/* BLOCKQUOTE */

.propera-blog-single__content blockquote {
    margin: 30px 0;
    padding: 20px 25px;

    border-left: 3px solid #8B2C83;

    background: #f7f8f8;

    color: #555;

    font-size: 17px;
}


/* VIDEOS / IFRAMES */

.propera-blog-single__content iframe {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 30px auto;

    border: 0;

    border-radius: 12px;
}


/* =========================================================
   POST NAVIGATION
========================================================= */

.propera-blog-single__navigation {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-top: 55px;
    padding-top: 30px;

    border-top: 1px solid #e5e5e5;
}


.propera-blog-single__nav-item {
    display: flex;
    flex-direction: column;

    padding: 18px;

    border: 1px solid #e1e1e1;
    border-radius: 12px;

    background: #fff;

    text-decoration: none !important;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}


.propera-blog-single__nav-item:hover {
    border-color: #8F2A91;

    background: #faf7fa;

    transform: translateY(-2px);
}


.propera-blog-single__nav-item--next {
    text-align: right;
}


.propera-blog-single__nav-label {
    margin-bottom: 8px;

    color: #8B2C83;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}


.propera-blog-single__nav-title {
    color: #151515;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .propera-blog-single {
        padding: 30px 0 70px;
    }

    .propera-blog-single__container {
        width: min(720px, calc(100% - 40px));
    }

    .propera-blog-single__article {
        padding: 40px;
    }

    .propera-blog-single__title {
        font-size: 32px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-blog-single {
        padding: 25px 0 55px;
    }

    .propera-blog-single__container {
        width: calc(100% - 28px);
    }

    .propera-blog-single__article {
        padding: 28px 20px 30px;

        border-radius: 14px;
    }

    .propera-blog-single__title {
        font-size: 27px !important;
    }

    .propera-blog-single__date {
        margin-bottom: 28px;
    }

    .propera-blog-single__content {
        font-size: 15px;
        line-height: 1.6;
    }

    .propera-blog-single__content h2 {
        margin-top: 30px !important;

        font-size: 22px !important;
    }

    .propera-blog-single__content h3 {
        font-size: 19px !important;
    }

    .propera-blog-single__content img {
        margin: 25px auto;
        border-radius: 10px;
    }

    .propera-blog-single__navigation {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 40px;
        padding-top: 25px;
    }

    .propera-blog-single__nav-item--next {
        text-align: left;
    }

}






/* =========================================================
   BLOG — TYPOGRAPHY FIX
========================================================= */

.propera-blog-archive,
.propera-blog-category,
.propera-blog-single {
    font-family: "Nunito", sans-serif !important;
}

.propera-blog-archive h1,
.propera-blog-archive h2,
.propera-blog-archive h3,
.propera-blog-category h1,
.propera-blog-category h2,
.propera-blog-category h3,
.propera-blog-single h1,
.propera-blog-single h2,
.propera-blog-single h3 {
    font-family: "Nunito", sans-serif !important;
}

.propera-blog-archive p,
.propera-blog-category p,
.propera-blog-single p,
.propera-blog-archive a,
.propera-blog-category a,
.propera-blog-single a,
.propera-blog-archive button,
.propera-blog-category button,
.propera-blog-single button {
    font-family: "Nunito", sans-serif !important;
}







/* =========================================================
   BLOG SINGLE — BREADCRUMBS, CATEGORY & CONTENT SPACING
========================================================= */

/* Хлебные крошки */
.propera-blog-single__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.6;
    color: #777777;
}

.propera-blog-single__breadcrumbs a {
    color: #777777 !important;
    text-decoration: none !important;
}

.propera-blog-single__breadcrumbs a:hover {
    color: #8F2A91 !important;
}

.propera-blog-single__breadcrumbs span {
    color: #777777;
}

/* Категория статьи */
.propera-blog-single__category,
.propera-blog-single__categories a {
    color: #8F2A91 !important;
    text-decoration: none !important;
	padding-bottom: 10px !important;
}

.propera-blog-single__category:hover,
.propera-blog-single__categories a:hover {
    color: #702070 !important;
}

/* Отступ между изображением и текстом статьи */
.propera-blog-single__featured-image {
    margin-bottom: 24px !important;
}

.propera-blog-single__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Если текст начинается непосредственно после изображения */
.propera-blog-single__content > p:first-child {
    margin-top: 0;
}

.propera-blog-single__content {
    line-height: 1.7;
}