/*
Theme Name: Главная тема блога Tutortop
Theme URI: https://blog.tutortop.ru/
Author: Tutortop team
Author URI: https://tutortop.ru/
Description: В данной теме сосредоточены все кастомные программные изменения Блога
Version: От 03.07.25
Text Domain: tutortop
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

html {
    margin: 0 !important;
}

.blog-page {
    margin-top: 30px;
    font-family: Raleway, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    min-height: calc(100vh - 106px - 60px - 70px - 106px);
}

.blog-page__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 120%;
    margin-bottom: 32px;
}

.blog-page__list-item {
    margin-bottom: 40px;
}

.blog-page__list-item-cover {
    border-radius: 8px;
    margin-bottom: 16px;
    height: 220px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.blog-page__list-item-date-views-block {
    color: #757575;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 12px;
}

.blog-page__list-item-views {
    padding-left: 27px;
}

.blog-page__list-item-title {
    font-weight: 800;
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 12px;
}

.blog-page__list-item-wrapper-link:hover {
    color: #333;
}

.page-content a {
    text-decoration: none;
    text-decoration-skip-ink: none;
    color: #333333;
}

/* TODO: временный фикс, переделать нормально в рамках решения задачи перевёрстки дизайна страниц блога */
.colored-links a {
    color: #007bff;
}

.page-content a:hover {
    text-decoration: none;
}

.edvisor-blog-post {
    font-family: Raleway, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #000;
}

.edvisor-blog-post ol {
    list-style: decimal inside none;
    margin: 0 0 16px 0;
    padding: 0;
}

.edvisor-blog-post ol li {
    margin-bottom: 16px;
}

.edvisor-blog-post ol li:last-child {
    margin-bottom: 0;
}

.edvisor-blog-post em,
.edvisor-blog-post i {
    font-style: italic;
}

.edvisor-blog-post p {
    margin-bottom: 16px;
}

.edvisor-blog-post .header-btn-modal-activator p {
    margin-bottom: 0;
}

.edvisor-blog-post a {
    text-decoration: underline;
    color: #9B5DE5;
}

.edvisor-blog-post a:hover,
.edvisor-blog-post a:focus {
    text-decoration: none;
}

.edvisor-blog-post ul {
    list-style-type: none;
    margin-bottom: 16px;
}

.edvisor-blog-post ul li:before {
    content: "\2022";
    color: #9B5DE5; /* Change the color */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.edvisor-blog-post ul li:first-child {
    padding-left: 0;
}

.edvisor-blog-post__cover {
    min-height: 240px;
    overflow: hidden;
    background-size: cover;
    margin: 0 -15px;
    background-position: center center;
    background-repeat: no-repeat;
}

.edvisor-blog-post__title {
    font-weight: 800;
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 16px;
    word-break: break-word;
}

.edvisor-blog-post__lead-paragraph {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 150%;
}

.edvisor-blog-post__content {
    margin-bottom: 60px;
}

@media only screen and (max-width: 1199px) {
    .edvisor-blog-post__content {
        margin-bottom: 40px;
    }
}

.edvisor-blog-post__quote-in-the-end {
    padding-left: 48px;
    background-size: 24px 18px !important;
    margin-bottom: 32px;
}

.edvisor-blog-post__quote-in-the-end p {
    margin-bottom: 20px;
}

.edvisor-blog-post__quote-in-the-end-author-name {
    text-align: right;
    font-style: italic;
}

.edvisor-blog-post__selected-text-in-the-end {
    margin-bottom: 32px;
    font-size: 18px;
    background-color: #F2F2F2;
    border-left: 4px solid #9B5DE5;
    padding: 20px;
}

.edvisor-blog-post__video-in-the-end {
    margin-bottom: 32px;
}

.edvisor-blog-post__image-in-the-end {
    margin-bottom: 32px;
    border-radius: 16px;
}

.edvisor-blog-post__banner {
    padding: 32px;
    background-color: #9B5DE5;
    color: #fff;
    margin: 0 -15px 32px -15px;
}

.edvisor-blog-post__banner-title {
    font-weight: 800;
    font-size: 28px;
    line-height: 120%;
    margin-bottom: 20px;
}

.edvisor-blog-post__banner-text {
    margin-bottom: 24px;
}

.edvisor-blog-post__banner-button {
    display: inline-block;
    padding: 15px 32px;
    background-color: #fff;
    color: #9B5DE5;
    font-weight: 800;
    font-size: 16px;
    line-height: 120%;
    text-decoration: none !important;
    border-radius: 100px;
}

.edvisor-blog-post__share-block {
    margin-bottom: 40px;
}

.edvisor-blog-post__share-block-title {
    font-weight: 800;
    margin-bottom: 13px;
}

.edvisor-blog-post .edvisor-blog-post__share-block-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.edvisor-blog-post .edvisor-blog-post__share-block-list li {
    padding-left: 0;
    margin-right: 16px;
}

.edvisor-blog-post .edvisor-blog-post__share-block-list li:last-child {
    margin-right: 0;
}

.edvisor-blog-post .edvisor-blog-post__share-block-list li:before {
    content: "";
    font-weight: bold;
    display: inline-block;
    width: auto;
    margin-left: 0;
}

.edvisor-blog-post figure.wp-block-embed-youtube.wp-block-embed {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 16px;
}

.edvisor-blog-post figure.wp-block-embed-youtube.wp-block-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body h2 {
    margin-bottom: 40px;
    line-height: 120%;
    font-size: 40px;
    font-weight: 800;
}

/*Media*/

@media (max-width: 768px) {
    img {
        max-height: 80vw;
        object-fit: cover
    }
}

@media (min-width: 768px) {
    .edvisor-blog-post__cover {
        min-height: 400px;
        margin: 0;
    }

    .edvisor-blog-post__banner {
        margin: 0 0 32px 0;
        border-radius: 16px;
    }
}

@media (min-width: 1200px) {
    .edvisor-blog-post {
        margin-top: 40px;
    }

    .container {
        max-width: 1170px !important;
    }
}

@media (max-width: 700px) {
    .page-content {
        margin-top: 77px;
    }

    .blog-page {
        margin-top: 100px;
    }
}

@media (max-width: 678px) {
    .page-content {
        margin-top: 91px;
    }
}

@media (max-width: 568px) {
    .page-content {
        margin-top: 72px;
    }
}

.content {
    max-width: 1170px;
    margin: 0 auto;
}

.content {
    max-width: 1170px;
    margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
    .content {
        width: 100%;
        max-width: 100%;
        padding: 0 46px;
    }
}

@media only screen and (max-width: 750px) {
    .content {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 678px) {
    .blog-page {
        margin-top: 100px;
    }
}

html, body {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1 1 auto;
}

.page-content_404-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.not-found__description, .not-found__title {
    text-align: center;
}

.not-found__title {
    font-size: 1.5em;
}

.edvisor-blog-post__info-container {
    margin-left: 30px;
}

@media only screen and (min-width: 991px) {
    .show-author-info-shortcode-container {
        max-width: 70%;
    }
}

.blog-page__categories a {
    border-color: #0562D0;
}

.blog-page__categories a:hover {
    border-color: #0562D0;
    background-color: #0562D0;
}

.blog-page__categories .btn-primary {
    background-color: #0562D0;
    color: white;
}

.page-content .nav-link:hover {
    color: #0562D0 !important;
}

#breadcrumbs a:hover {
    color: #0562D0 !important;
}

.blog-page__list-item-views {
    background: url('assets/images/eye.svg') no-repeat left center;
}

.tt-custom-breadcrumb {
    padding: 0;
    margin-bottom: 32px !important;
    line-height: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #999999;
}

@media only screen and (max-width: 1199px) {
    .tt-custom-breadcrumb {
        margin-top: 28px !important;
        margin-left: 0 !important;
    }
}

.tt-custom-breadcrumb a {
    text-decoration: none;
    color: #999999;
    padding: 0;
}

.tt-custom-breadcrumb a:hover {
    color: #0562D0;
}

.tt-custom-breadcrumb li {
    display: inline;
    padding: 0 3px;
}

.tt-custom-breadcrumb li::before {
    content: none !important;
}

/* Классы для большей катомизации внешнего вида содержания статей, созданного в плагине LuckyWP Table of Contents */
.table-of-contents__margin-bottom-30 .lwptoc_header {
    margin-bottom: 30px;
}
