/* Шапка гороскопов - Start */
.horoskop-td-tm {
    padding-bottom: 48px;
}
.cat-head {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.cat-image {
    display: flex;
    width: calc(40% - 15px);
    border-radius: 8px;
}
.cat-image img {
    border-radius: 8px;
    object-fit: cover !important;
}
.cat-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc(60% - 15px);
}
.cat-intro h1 {
    width: 100%;
}
.cat-intro ul,
.cat-intro ol {
    margin: -6px 0 0 0 !important;
}
.cat-intro > p a {
	text-decoration: underline;
    color: var(--blue);
    transition: all 0.5s ease-in-out;
}
.cat-intro > p a:hover {
    color: var(--dark-blue);
}
@media (max-width: 1279px) {
    .cat-intro {
        row-gap: 24px;
        width: 100%;
    }
}
/* Шапка гороскопов - End */

/* Карточки гороскопов - Start */
.horoskop-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.horoskop-head .h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 56px;
    font-size: 20px;
}
.horoskop-head img {
    width: 55px;
    height: 55px;
    padding: 8px;
    border-radius: 6px;
    background: var(--dark-blue);
    object-fit: contain;
}
.horoskop-td-tm .horoskop-head + p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
}
.btn.btn-horoskop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 12px;
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    background: #dadaec;
}
.btn.btn-horoskop span {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    color: #06065f;
}
.btn.btn-horoskop img {
    transition: all 0.3s ease-in-out;
}
.btn.btn-horoskop:hover {
    background: var(--blue);
}
.btn.btn-horoskop:hover span {
    color: var(--white);
}
.btn.btn-horoskop:hover img {
    filter: brightness(1) invert(1);
}
@media (max-width: 1279px) {
    .horoskop-head .h4 {
        font-size: 16px;
        line-height: 20px;
        -webkit-line-clamp: initial;
        height: auto;
    }
    .horoskop-head + p {
        -webkit-line-clamp: initial;
        height: auto;
    }
    .btn.btn-horoskop span {
        font-size: 14px;
        line-height: 18px;
    }
}
/* Карточки гороскопов - End */

/* Default posts - Start */
.default-posts {
    margin-top: 16px;
    padding: 64px 0 64px 0;
    background: #dadaec;
}
.default-posts.more-horoskop {
    margin-top: 64px;
}
.default-posts .h2 {
    width: 100%;
}
.default-posts .container {
    justify-content: flex-start;
}
.default-posts .post-card > .post-title {
    height: 58px;
}
.default-posts .post-card > .post-excerpt {
    padding-bottom: 10px;
}
table tr td {
    min-width: unset;
	text-align: center;
}
@media (max-width: 1279px) {
    .default-posts {
        padding-top: 48px;
    }
    .default-posts .post-card > .post-title {
        height: auto;
    }
}
/* Default posts - End */

/* Holiday cards - Start */
.divedered {
    border-top: 1px solid #06065f;
    padding-top: 25px;
    justify-content: flex-start;
}
.divedered .h2 {
    width: 100%;
}
.holiday-cards {
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 25px;
}
.holiday-data {
    position: absolute;
    top: 25px;
    left: 0;
    background: #0000ef;
    color: #fff;
    padding: 10px 20px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 16px;
    font-weight: 400;
}
/* Holiday cards - End */

@media (max-width: 1279px) {
    .btn.btn-horoskop {
        margin-right: auto;
    }
    .cat-head {
        flex-direction: column;
        margin-bottom: 8px;
    }
    .cat-image {
        width: 100%;
    }
    .horoskop-td-tm .container {
        flex-direction: row;
    }
    .category-posts > .container {
        flex-direction: row;
    }

    .cat-intro br {
        display: none;
    }
}
