/*
Theme Name:  Investingguide
Text Domain: Investingguide
Version: 1
*/

.expertise,
.education {
    margin-right: 30px;
}

.expertise__title,
.education__title {
    margin-bottom: 16px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #000000;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.expertise__list ul,
.expertise__list ol,
.education__list ul,
.education__list ol {
    display: flex;
    flex-direction: column;
    gap: 8px !important;
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 10px !important;
}

.expertise__list ul li,
.expertise__list ol li,
.education__list ul li,
.education__list ol li {
    font-family: Jost, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.expertise__list ul li::marker,
.expertise__list ol li::marker,
.education__list ul li::marker,
.education__list ol li::marker {
    color: #6D8486;
}

.author .t-content a:hover {
    opacity: 0.7;
}

.author .t-content a {
    color: #350862;
}

.t-author-info .expertise p,
.t-author-info .education p {
    padding-bottom: 0px;
}

.t-author-info .expertise p+p,
.t-author-info .education p+p {
    padding-top: 10px;

}



.wrapper-container__single {
    display: flex;
    gap: 25px;
}

.wrapper-container__single .content {
    flex-basis: calc(100% - 284px);
}

.sidebar-post {
    flex-basis: 284px;
}

.related-articles {
    position: sticky;
    top: 100px;
}

.related-articles__title {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    padding: 0 24px;
}

.related-articles__item {
    border: 1px solid #001E80;
    border-radius: 24px;
    margin-bottom: 24px;
    transition: 0.5s;
}

.related-articles__item:hover {
    /* box-shadow: 0 3px 10px 0 rgba(5, 27, 101, 0.2509803922); */
    box-shadow: 0 6px 30px 0 rgba(5, 27, 101, 0.2509803922);
}

.related-articles__link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 32px 16px 16px;
    flex-direction: column;
    position: relative;
}

.related-articles__content {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.related-articles__image {
    width: 109px;
    height: 86px;
    object-fit: cover;
    border-radius: 17px;
}

.related-articles__badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    position: absolute;
    top: calc(0% - 10px);
    left: 20px;
    max-width: 169px;
    width: 100%;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #005BDC 0%, #001E80 100%);
}

.related-articles__heading {
    margin: 0px;
    font-weight: 700;
    font-size: 24px;
    line-height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-articles__meta {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: rgba(42, 44, 51, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}



.sidebar-post__guide {
    padding: 30px 20px;
    max-width: 270px;
    min-width: 270px;
    width: 100%;
    margin-bottom: 32px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #EDF2F8;
    box-shadow: 4px 0 4px rgba(0, 0, 0, 0.15), 0 4px 4px rgba(0, 0, 0, 0.15);
    position: sticky;
    /* top: 100px; */
    height: fit-content;
    max-height: calc(100vh - 200px);
}

.t-content .sidebar-post__guide ul {
    margin-bottom: 0;
}

.t-content .sidebar-post__guide ul li {
    padding-left: 0;
}

.t-content .sidebar-post__guide ul li:before {
    display: none;
}

.sidebar-post__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 20px;
    display: block;
}

.sidebar-post__link:hover {
    color: #020674;
    transition: all 0.3s ease;
}


.wrap-cats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 42px 10px 15px;

    overflow-x: auto;
    /* горизонтальный скролл */
    overflow-y: hidden;
    white-space: nowrap;
    /* запрет переноса */
}

.wrap-cats__item {
    background-color: rgba(237, 242, 248, 1);
    border-radius: 24px;
    padding: 8px 16px;
    color: rgba(42, 44, 51, 1);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    transition: all 0.3s ease;
}

.wrap-cats__item:hover {
    color: #fff;
    background: linear-gradient(180deg, #005BDC 0%, #001E80 100%);
}

.single-post .wrapper-container+.t-content {
    padding: 20px 0 40px;
}

@media(max-width:1024px) {
    .wrapper-container__single {
        flex-direction: column;
    }
}


.cat-page .wrap-cats__item:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 24px;
    background: inherit;
    background-origin: border-box;
    background-clip: border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    -webkit-mask-repeat: no-repeat;
}
.cat-page .wrap-cats__item {
    border-radius: 24px;
    padding: 8px 16px;
    color: rgba(42, 44, 51, 1);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    transition: all 0.3s ease;
    position: relative;
    background: -webkit-linear-gradient(180deg, #005BDC 0%, #001E80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
}
.cat-page .wrap-cats__item:hover {
    opacity: 0.5;
}