.single-article {
    max-width: 1200px;
    margin: auto;
}

.single-article-header {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-height: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #EFF4F7;
    margin-bottom: 40px;
}

.single-article-header__image-wrapper {
    flex: 0 0 45%;
    width: 45%;
    height: 100%;
    position: relative;
}

.single-article-header__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-article-header__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 48px;
    box-sizing: border-box;
    gap: 30px;
    overflow: hidden;
}

.single-article-header__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.single-article-header__tag-item {
    margin: 0;
    padding: 0;
}

.single-article-header__tag-link {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #1A1A1A;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.single-article-header__tag-link:hover {
    opacity: 0.7;
}

.single-article-header__title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.25;
    color: #000000;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.single-article-header__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
}

.single-article-header__date {
    font-size: 14px;
    color: #006072;
    font-weight: 400;
}

.single-article-header__share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.single-article-header__share-title {
    font-size: 14px;
    color: #006072;
}

.single-article-header__share-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.single-article-header__share-link {
    color: #006072;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.single-article-header__share-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.single-article-header__share-link svg {
    width: 24px;
    height: 24px;
}








.single-article-body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 70px;
    width: 100%;
    margin-top: 40px;
}

.single-article-body__main {
    flex: 1 1 auto;
    min-width: 0;
}

.single-article-body__content h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 40px 0 20px 0;
    color: #006072;
    scroll-margin-top: 70px;
}

.single-article-body__content h2:first-of-type {
    margin-top: 0;
}

.single-article-body__content h3 {
    font-size: 23px;
    font-weight: 600;
    color: #006072;
    margin: 25px 0 10px;
}

.single-article-body__content {
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
}

.single-article-body__content p {
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    margin-bottom: 20px;
}

.single-article-body__content p a {
    color: #006072;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.single-article-body__content p a:hover {
    color: #61B0BC
}

.single-article-body__content ul {
    margin: 20px 0 24px 0;
    padding-left: 20px;
    list-style: disc outside;
}

.single-article-body__content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.single-article-body__content li::marker {
    color: #006072
}

.single-article-body__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.single-article-body__sidebar {
    flex: 0 0 370px;
    width: 370px;
    min-width: 370px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.article-sidebar-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #006072;
}

.article-sidebar-title-line {
    background-color: #006072;
    width: 70px;
    height: 1px;
    margin: 15px 0 20px
}

.article-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-toc__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.article-toc__num {
    font-size: 16px;
    font-weight: 500;
    color: #006072;
    background-color: #EFF4F7;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-toc__link {
    font-size: 15px;
    line-height: 1.4;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-toc__link:hover {
    color: #006072;
}

/* 2. Блок "Читайте также" */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.related-item__image-link {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.related-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-item__title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #1A1A1A;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.related-item__title:hover {
    color: #006072;
}

.related-item__date {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4)
}





.product-embed {
    display: flex;
    flex-direction: row;
    background-color: #EFF4F7;
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    gap: 32px;
    box-sizing: border-box;
    align-items: center;
}

.product-embed__image-col {
    flex: 0 0 280px;
    width: 280px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-embed__image-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.product-embed__image {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    display: block;
}

.product-embed__info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-embed__badge {
    display: inline-block;
    border: 1.5px solid #006072;
    color: #006072;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.product-embed__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #1A1A1A;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.product-embed__title:hover {
    color: #006072;
}

.product-embed__subtitle {
    font-size: 15px;
    color: #94A3B8;
    margin-bottom: 16px;
    font-weight: 400;
}

.product-embed__description {
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-embed__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.product-embed__prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.product-embed__price-main {
    font-size: 24px;
    font-weight: 700;
    color: #006072;
}

.product-embed__price-old {
    font-size: 18px;
    color: #94A3B8;
    text-decoration: line-through;
}

.product-embed__buy-btn {
    background-color: #006072;
    color: #FFFFFF;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.product-embed__buy-btn:hover {
    background-color: #004253;
}

.product-embed__buy-btn:active {
    transform: scale(0.98);
}

.product-embed__buy-btn.is-added {
    background-color: #2E7D32;
}

.single-article-body__main .shop_wrapper {
    margin-top: 35px;
}

.single-article-body__main .action_links ul {
    list-style: none;
}

.single-article-info-note {
  background-color: #EFF4F7;
  color: #006072;
  border-radius: 16px;
  padding: 32px 32px 32px 86px;
  position: relative;
  font-size: 18px;
  line-height: 1.5;
  box-sizing: border-box;
  margin: 20px 0
}

.single-article-info-note p {
  margin: 0;
}

.single-article-info-note p + p {
  margin-top: 12px;
}

.single-article-info-note::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 30px;
  width: 38px;
  height: 38px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiMwMDYwNzIiIHdpZHRoPSI4MDAiIGhlaWdodD0iODAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1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uMDU3IDEzLjUxNCA4IDggMCAwIDAgOS45NzEgMTIuNTE0YzEuNDYtMS4xNSAzNi4yNTYtMjcuODM1IDc4LjU4OS4zOSAxNy43OTEgMTEuODYgMzQuNjIzIDE1LjU0MiA0OC42NjMgMTUuNTQyYTgzLjUwNSA4My41MDUgMCAwIDAgNDguNzcyLTE1Ljk1MSA4IDggMCAwIDAtOS45NzEtMTIuNTE0eiIvPjwvc3ZnPg==");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}



.single-article__card {
    border-radius: 16px;
    padding: 30px 34px;
    margin: 25px 0 35px;
    box-shadow: 0 4px 16px rgba(11, 59, 68, .08);
    border-top: 4px solid #006072;
}

.single-article__card-title {
    color: #006072;
    font-weight: 700;
    margin-bottom: 10px;
}



table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(11,59,68,.08); margin: 28px 0; font-size: 15px; }
th { background: #006072; color: #fff; text-align: left; padding: 14px 18px; font-weight: 600; }
td { padding: 13px 18px; border-bottom: 1px solid #e8eef0; vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #eaf5ef; }


@media (max-width: 1024px) {
    .single-article-body {
        flex-direction: column;
        gap: 32px;
    }

    .single-article-body__sidebar {
        width: 100%;
        min-width: 0;
        flex: none;
        display: contents;
    }

    .article-toc {
        order: -1;
        width: 100%;
        background-color: #EFF4F7;
        padding: 24px;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .single-article-body__main {
        order: 0;
        width: 100%;
    }

    .article-related {
        order: 1;
        width: 100%;
        margin-top: 16px;
    }
}

@media (max-width: 991px) {
    .single-article-header {
        flex-direction: column;
        max-height: none;
        height: auto;
    }

    .single-article-header__image-wrapper {
        flex: none;
        width: 100%;
        height: 350px;
    }

    .single-article-header__content {
        padding: 24px;
        gap: 15px
    }

    .single-article-header__tags {
        margin: 0;
    }

    .single-article-header__title {
        font-size: 24px;
        -webkit-line-clamp: none;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .product-embed {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .product-embed__image-col {
        width: 100%;
        flex: none;
    }

    .product-embed__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .product-embed__buy-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .single-article-header__share-title {
        display: none;
    }

    .single-article-header__share-link svg {
        width: 22px;
        height: 22px;
    }

    .single-article-header__date {
        font-size: 13px;
    }

    .single-article-header__title {
       font-size: 21px;
    }
    
    .single-article-body__content h2 {
        font-size: 23px;
        margin-bottom: 15px;
    }

    .single-article-body__content h3 {
        font-size: 19px;
    }

    .single-article-info-note {
        padding: 24px 20px 24px 68px;
        font-size: 15px;
        line-height: 1.45;
        border-radius: 12px;
    }

    .single-article-info-note::before {
        left: 20px;
        top: 24px;
        width: 32px;
        height: 24px;
    }

    .single-article__card {
        padding: 20px 25px;
        margin: 25px 0 30px
    }
}

@media (min-width: 992px) {
	.single-article-body__main .shop_wrapper .col-lg-4 {
        width: 50%;
    }
}

@media (min-width: 768px) {
	.single-article-body__main .shop_wrapper .col-lg-4 {
        width: 50%;
    }
}
