/**
 * Expert article detail + medical ack on /post/ (scoped).
 * Do not edit custom.css / custom.min.css.
 */

.article-detail-page .cotinder-article-detail-h2 {
    margin: 1.35em 0 0.65em;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-color, #2d2d2d);
}

.article-detail-page .cotinder-article-detail-h2:first-child {
    margin-top: 0;
}

.article-detail-page .cotinder-article-detail-list {
    margin: 0 0 1em 1.1em;
    padding: 0;
    list-style: disc;
}

.article-detail-page .cotinder-article-detail-list li {
    margin: 0 0 0.45em;
}

.article-detail-page .expert-article-detail__editorial-attribution {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff9f0;
    border: 1px solid #f0e0c8;
    font-size: 14px;
    line-height: 1.45;
    color: #5a4a32;
}

.article-detail-page .expert-article-detail__medical-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--main-color, #41a3d0) 35%, #e4e8ec);
    background: #f7fbfd;
    box-sizing: border-box;
}

.article-detail-page .expert-article-detail__medical-notice-mark {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    margin-top: 2px;
    border-radius: 4px;
    background-color: #fff;
    background-image: url(/image/check2.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    border: 2px solid var(--main-color, #41a3d0);
    box-sizing: border-box;
}

.article-detail-page .expert-article-detail__medical-notice-text {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-color2, #3d4a56);
}

.article-detail-page .article-detail-page__curator-sidebar-tool-promos {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-top: 18px;
    box-sizing: border-box;
}

.article-detail-page .article-detail-page__curator-sidebar-tool-promos .sk-tool-promo {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    margin: 0;
    padding: 12px 14px;
    width: 100%;
    max-width: 100%;
}

.article-detail-page .article-detail-page__curator-sidebar-tool-promos .sk-tool-promo__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.article-detail-page .article-detail-page__curator-sidebar-tool-promos .sk-tool-promo__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.article-detail-page .article-detail-page__curator-sidebar-tool-promos .sk-tool-promo__title,
.article-detail-page .article-detail-page__curator-sidebar-tool-promos .sk-tool-promo__desc {
    flex: none;
    width: 100%;
}

.article-detail-page .article-detail-page__curator-sidebar-tool-promos .sk-tool-promo__cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
}

/* /post/ — мед. галка (без «битого» пустого checkbox) */
.post-create__article-medical-ack-label.checkbox {
    align-items: flex-start;
    gap: 14px;
    max-width: 100%;
}

.post-create__article-medical-ack-label input[type="checkbox"] {
    flex: 0 0 auto;
    width: 25px;
    height: 0;
    margin: 4px 0 0;
}

.post-create__article-medical-ack-label input[type="checkbox"]::before {
    position: relative;
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    background-color: #fff;
    border: 2px solid var(--main-color, #41a3d0);
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
}

.post-create__article-medical-ack-label input[type="checkbox"]:checked::before {
    background-image: url(/image/check2.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    border: none;
}

.post-create__article-medical-ack-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-color2, #3d4a56);
}

.article-detail-page .article-detail-page__title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.tabs__content_left--expert-article-detail .tabs__content_left-wrapper {
    max-width: 100%;
}

@media (max-width: 991px) {
    .article-detail-page .article-detail-page__curator-sidebar-tool-promos {
        margin-top: 16px;
    }
}