.story_top_link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #8A522C99;
}
.story_hero_top {
    margin: 24px 0 40px;
    display: flex;
    gap: 22px;
    width: 100%;
}
.story_hero_top_left {
    width: 100%;
    max-width: 380px;
}
.story_hero_top_right {
    width: 100%;
    max-width: 678px;
}
.story_hero_img {
    position: relative;
    margin-bottom: 12px;
}
.story_hero_img_bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}
.story_hero_img_bg img {
    width: 100%;
    height: 100%;
}
.story_hero_img_img {
    padding: 16px;
}
.story_hero_img_img img {
    width: 100%;
    height: 195px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.story_hero_left_info {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 16px;
    margin-bottom: 8px;
}
.story_hero_top_left .story_hero_left_info:last-child {
    margin-bottom: 0;
}
.story_hero_left_info span {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #777777CC;
}
.story_hero_top_right h1 {
    font-family: 'Lora-Bold';
    font-weight: 700;
    font-size: 28px;
    line-height: 32px;
    color: #333333;
    margin: 16px 0;
}
.story_hero_description {
    line-height: 22px;
    margin-bottom: 16px;
}
.story_hero_n_c {
    margin-bottom: 24px;
}
.story_hero_n_c div {
    display: grid;
    gap: 4px;
    line-height: 22px;
}
.story_hero_n_c span, .story-panel h2 {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #9D653F;
}
.story-files {
    margin-top: 6px;
}
.story-panel_file {
    display: flex;
    gap: 8px;
    align-items: center;
}
.story-panel_file span {
    display: grid;
    gap: 4px;
}
.story-panel_file span h5 {
    word-break: break-all;
}
.story-panel_file {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #333333;
}
.story-panel_file span span {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #33333399;
}
.story_hero_bot h2 {
    font-family: 'Lora-Bold';
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    margin-bottom: 16px;
}
.story_comment_block {
    padding: 16px;
    background: #FFFFFF;
    border-radius: 16px;
}
.story_comment_new_wrap {
    display: grid;
    gap: 4px;
}
.story_comment_new {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.story_comment_new .button {
    padding: 10px;
    width: 46px;
    height: 46px;
}
.story_comment_new .textarea {
    background: #FFFFFF;
    height: 46px;
    max-height: 330px;
}
.story_comment_closed {
    margin: 0;
    color: #5c5851;
    font-size: 14px;
}
.comment-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.comment-delete-btn:hover {
    opacity: 1;
}

.comment-replies__toggle {
    list-style: none;
    cursor: pointer;
    color: var(--page-muted);
    user-select: none;
    display: inline-block;
}
.comment-replies__toggle::-webkit-details-marker {
    display: none;
}
.comment-replies__collapse {
    display: none;
}
details.comment-replies[open] .comment-replies__count {
    display: none;
}
details.comment-replies[open] .comment-replies__collapse {
    display: inline;
}
.story-person-card {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 900px;
}
.story-person-card:has(details.comment-replies[open]) {
    align-items: stretch;
}
.comment_user {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.story-person-card:has(details.comment-replies[open]) > .comment_user::after {
    content: '';
    display: block;
    flex: 1;
    width: 2px;
    background: #D6D6D6;
    margin-top: 8px;
    border-radius: 1px;
    min-height: 16px;
}
.comment_user_name {
    font-family: 'Lora-SemiBold';
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}
.comment_date {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #33333399;
}
.comment-delete-btn {
    width: 24px;
    height: 24px;
}
.comment-delete-btn img {
    width: 100%;
}
.story-soft-chip {
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #9D653F;
}
.comment_user_text {
    color: #333333CC;
    margin: 8px 0 16px;
}
.comment_answer::marker {
    font-size: 0;
    line-height: 0;
}
.comment_answer {
    color: #3D5632;
    cursor: pointer;
}
.comment-replies__count, .comment-replies__collapse {
    padding: 4px 8px;
    border-radius: 8px;
    background: #3D56321A;
    font-family: 'GolosText-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #33333399;
}
.ml_comment {
    margin-left: var(--ml-comment, 0);
}
@media screen and (max-width: 1279.98px) {
    .story_hero_top_left {
        max-width: 315px;
    }
    .story_hero_img_img img {
        height: 160px;
    }
}
@media screen and (max-width: 1023.98px) {
    .story_hero_top_left {
        max-width: 229px;
    }
    .story_hero_img_img img {
        height: 110px;
    }
    .story-files.form-grid--two, .story_hero_n_c.form-grid--two {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 767.98px) {
    .ml_comment {
        margin-left: 0;
    }
    .story_hero_top {
        flex-direction: column;
        margin: 24px 0 60px;
    }
    .story_hero_top_left {
        max-width: 100%;
    }
    .story_hero_img_img img {
        height: 210px;
    }
    .story_hero_top_right h1 {
        font-size: 20px;
        line-height: 24px;
    }
    .story-files.form-grid--two, .story_hero_n_c.form-grid--two {
        gap: 8px;
    }
}

/* Иконка сердца в кнопке лайка: обводка плавно краснеет по ховеру,
   при лайке (data-liked="1") заливается и обводка тем же цветом. */
.story-like__btn {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}
.story-like__count {
    font-family: 'Lora-Regular';
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
}
.story-like__heart-icon path {
    fill: none;
    stroke: #333333;
    transition: stroke 0.2s ease, fill 0.2s ease;
}

.story-like__btn:hover .story-like__heart-icon path {
    stroke: #D94D4D;
}

.story-like__btn[data-liked="1"] .story-like__heart-icon path {
    fill: #D94D4D;
    stroke: #D94D4D;
}
@media screen and (max-width: 659.98px) {}
@media screen and (max-width: 474.98px) {}
@media screen and (max-width: 424.98px) {}
@media screen and (max-width: 374.98px) {}
