

/* Start:/media/css/styles.css?177244046055637*/
:root {
    --text-primary: #4E5255;
    --text-secondary: #727272;

    --page-background: #fff;

    --color-pagination-active-bg: rgba(247, 174, 73, 0.3);

    --color-border: #CACFD2;

    --color-sub-header-bg: #FFECD6;
    --color-sub-body-bg: #FFFCF6;
    --color-sub-accent: #F7AE49;
    --color-sub-text: #4A4A4A;
    --color-sub-border: #DDE2E5;
    --color-error: red;
}

main {
    margin: 0 auto;
    background-color: var(--page-background);

    font-family: 'Open Sans', sans-serif;
    padding: 0 30px 72px 30px;

    max-width: 1440px;
}

.breadcrumbs {
    margin: 0!important;
    padding: 20px 0!important;;
}


@media (max-width: 768px) {
    main {
        padding: 0 20px 48px 20px;
    }
}

* {
    margin: 0;
    padding: 0;
}

/* Common styles */
h3 {
    font-weight: 700;
    font-size: 18px;
    color: #4E5255;
}

p {
    font-weight: 400;
    font-size: 16px;
    color: #4E5255;
}

.arrow-right-icon {
    background-image: url('/media/css/../assets/arrow-right.svg');
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center center;
}

.media-btn {
    background-color: #F7AE49;
    border-radius: 5px;
    padding: 10px 24px;
    color: #fff;
    transition: background-color 0.2s;

    &:hover {
        background-color: #F59D22;
    }
}

/* End common styles */

/* Start breadcrumbs */
.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    overflow: hidden;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;

    font-size: 14px;
    line-height: 1;
    color: #CACFD2;
}

.breadcrumbs-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.breadcrumbs-link:hover {
    color: var(--color-sub-accent);
}

.breadcrumbs-item.active {
    color: #4E5255;
    cursor: default;
    margin-bottom: .25rem;
}
/* End breadcrumbs */

/* Headliner */
.headliner {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.media-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.main-title {
    text-transform: uppercase;
}

.headliner .stroke {
    flex: 1;
    width: 100%;
    height: 0.5px;
    background-color: var(--color-border);
    border-radius: 2px;
}

.headliner-link {
    font-size: 14px;
    font-weight: 700;
    color: #F7AE49;

    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;

    transition: color .4s ease-in;

    &:hover {
        color: #F59D22;
    }
}

@media (max-width: 768px) {
    .media-section-title {
        font-size: 18px
    }

    .headliner .stroke {
        display: none;
    }
}

/* End Headliner */

/* Start card media block */
.card-grid {
    display: grid;
    gap: 24px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.card-grid+.card-grid {
    margin-top: 24px;
}

.card {
    border-radius: 14px;
    border: 1px solid rgba(202, 207, 210, 1);

    background-color: #ffffff;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.card-tags {
    font-size: 14px;
    font-weight: 700;
    color: #F7AE49;
}


.card-image {
    flex-shrink: 0;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);

    .card {
        max-width: 447px;
        height: 460px;
    }

    .card-image {
        height: 240px;
    }
}

.card-title {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.card-title--articles{
    overflow: unset;
}
@media (min-width: 768px) {
    #articles-tag .card-title {
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);

    .card {
        max-width: 330px;
        height: 300px;
    }


    .card-title {
        font-size: 16px;
    }

    .card-image {
        height: 155px;
    }
}

.section-articles .card {
    height: 100%;
    min-height: 348px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 24px 20px;
    color: var(--text-secondary);

    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.card-description {
    margin: 8px 0 0 0;

    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;

    margin-top: auto;

    padding-top: 8px;
    flex-shrink: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.meta-item svg {
    width: 18px;
    height: 18px;
}



@media (max-width: 1200px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);

        .card {
            max-width: 330px;
        }
    }

    .grid-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 768px) {

    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;

        .card {
            max-width: 100%;
            height: 280px;
        }

        .card-title {
            font-size: 14px;
            line-clamp: 2;
            -webkit-line-clamp: 2;
        }

        .card-image {
            height: 155px;
        }
    }

    .card .card-description {
        display: none;
    }

    .card-content {
        padding: 16px;
    }
}

/* End card media block */

/* Start article details*/
.detail-breadcrumbs-container {
    background-color: #fff;
    padding: 20px 30px;
}

.detail-breadcrumbs {
    margin: auto;
    padding-bottom: 0;
}

.article-details {
    max-width: 914px;
    margin: 32px auto auto auto;
    color: #4E5255;

    .article-container {
        background-color: #fff;
        padding: 40px;
        border-radius: 16px;
        overflow: hidden;
        width: 100%;

        &+.article-container {
            margin-top: 24px;
        }
    }

    .article-header {
        margin-bottom: 16px;
        display: flex;
        justify-content: space-between;
    }

    .article-title {
        padding-bottom: 40px;
        border-bottom: 1px solid #CACFD2;
        margin: 0 0 32px;
    }

    .article-notification {
        font-weight: 700;
        border-left: 4px solid #F7AE49;
        padding-left: 8px;
        margin: 28px 0;
        font-style: italic;
    }

    .article-questions .article-notification {
        margin-bottom: 12px;
    }

    .article-warning {
        font-weight: 700;
        padding: 24px;
        background-color: #FBE8CF;
        border-radius: 10px;
        margin: 28px 0;
    }

    li {
        font-size: 16px;
    }

    p a {
        color: #F7AE49;

        &:hover {
            text-decoration: underline;
        }
    }

    .toc-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .toc-link {
        text-decoration: none;
        color: var(--color-sub-accent);
        font-size: 16px;
        transition: opacity 0.2s;
        line-height: 1.4;
    }

    .toc-link:hover {
        opacity: 0.8;
        text-decoration: underline;
    }

    .toc-link.level-h2 {
        margin-left: 0;
    }

    .toc-link.level-h3 {
        margin-left: 20px;
    }

    .toc-link.level-h4 {
        margin-left: 40px;
    }

    .toc-container {
        padding-bottom: 40px;
        border-bottom: 1px solid #CACFD2;
        margin: 0 0 32px;
    }

    .table-container {
        overflow-x: auto;
        border: 1px solid #CACFD2;
        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        min-width: 700px;

        th, td {
            padding: 13px 16px;
            text-align: left;
            color: #4E5255;

            border-right: 1px solid #CACFD2;
            border-bottom: 1px solid #CACFD2;
        }

        td {
            font-size: 14px;
        }

        th {
            font-weight: 700;
            color: #4E5255;
            vertical-align: top;
        }

        th:last-child,
        td:last-child {
            border-right: none;
        }

        tr:last-child td {
            border-bottom: none;
        }

        th:first-child,
        td:first-child {
            width: 25%;
        }
    }

    .rating-stars {
        display: flex;
        gap: 8px;
        cursor: pointer;
    }

    .star-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: transform 0.1s;
    }

    .star-btn:hover {
        transform: scale(1.1);
    }

    .star-btn svg {
        width: 36px;
        height: 36px;
        fill: #CACFD2;
        transition: fill 0.2s;
    }

    .star-btn.filled svg {
        fill: #F7AE49;
    }

    .star-btn.hovered svg {
        fill: #F7AE49;
    }

    .rating-message {
        margin-top: 24px;
        margin-bottom: 0;
        color: #F7AE49;
        font-weight: 700;
        font-size: 16px;
    }

    .article-header {
        .star-btn svg {
            width: 20px;
            height: 20px;
        }

        .rating-stars,
        .star-btn {
            cursor: default;
        }

        .star-btn:hover {
            transform: none;
        }
    }

    @media (max-width: 768px) {
        margin: 0;

        .detail-breadcrumbs-container,
        .article-container {
            padding: 20px;
        }
    }
}

.details-tags {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;

    a {
        color: #F7AE49;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
    }
}
/* End article details */

/* Start video details */

.details-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.video-details-section {
    display: flex;
    gap: 20px;


    .video-frame {
        width: 100%;
        height: 514px;
        overflow: hidden;
        border-radius: 20px;
        border: 1px solid #CACFD2;
        margin-bottom: 24px;
        object-fit: cover;
    }

    .video-details-content {
        max-width: 913px;
        width: 100%;
    }

    .video-details-others {
        display: flex;
        flex-direction: column;
        gap: 28px;
        max-width: 447px;
        flex-basis: 447px;
        flex-shrink: 1;
        min-width: 250px;
    }



    @media (max-width: 768px) {
        flex-direction: column;

        .video-details-section {
            gap: 48px;
        }

        .video-details-others {
            max-width: 100%;
            flex-direction: row;
            overflow-y: auto;
            scrollbar-width: none;
            flex-basis: auto;
            user-select: none;
        }
    }
}

/* End video details */

/* Start video details */
.news-details-section {
    max-width: 913px;
    margin-top: 16px;

    .photo-container {
        overflow: hidden;
        border-radius: 20px;
        position: relative;
        margin-bottom: 20px;
        display: grid;
        grid-template-areas: "stack";
        justify-items: center;

        .slider-img {
            grid-area: stack;
            width: auto;
            height: 100%;
            max-height: 514px;
            object-fit: cover;

            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease-in-out, visibility 0.4s;
            z-index: 1;
        }

        .slider-img.active {
            opacity: 1;
            visibility: visible;
            z-index: 2;
        }

        img {
            flex-shrink: 0;
        }

        .counter {
            position: absolute;
            top: 15px;
            right: 15px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            background-color: rgba(0, 0, 0, 0.4);
            border-radius: 20px;
            padding: 4px 14px;
            box-sizing: border-box;
            z-index: 4;
        }

        .photo-container-btn {
            z-index: 4;
            position: absolute;
            top: 50%;
            font-weight: 700;
            background-color: rgba(0, 0, 0, 0.4);
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;

            &:hover {
                background-color: rgba(0, 0, 0, 0.7);
            }
        }

        .photo-container-next {
            right: 15px;
        }

        .photo-container-prev {
            left: 15px;
            transform: rotate(-180deg);
        }
    }
}

.news-details-another {
    margin-top: 60px;
}
/* End video details */

/* Start pagination */
.pagination {
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 32px;
}


.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination-link.active {
    background-color: var(--color-pagination-active-bg);
    font-weight: 700;
    color: var(--text-primary);
}

.pagination-link.prev {
    transform: rotate(-180deg);
}

.pagination-link.disabled {
    color: var(--color-border);
    opacity: 0.7;
    pointer-events: none;
}

.pagination-link:not(.active):not(.disabled):hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .pagination-list {
        gap: 10px;
    }

    .news-details-section {
        margin-top: 12px;
    }
}

/* End pagination */

/* Start subscription */
.media-info-container {

    .subscription-card {
        width: 100%;
        max-width: 50%;
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 20px;
        height: 100%;
    }

    .sub-header {
        background-color: #FFEFD5;
        padding: 23px 52px;
    }

    .sub-title {
        font-weight: 700;
        font-size: 28px;
        color: #4E5255;
        margin-bottom: 20px;
        display: inline-block;
        position: relative;
    }

    .sub-title::after {
        content: '';
        display: block;
        width: 100%;
        height: 4px;
        background-color: #F7AE49;
        margin-top: 8px;
    }

    .sub-description {
        font-size: 16px;
        line-height: 1.5;
        color: #4E5255;
        margin: 0;
    }

    .sub-body {
        background-color: #FEF7EC;
        padding: 37px 52px;
        position: relative;
        min-height: 500px;
    }
    .sub-checkbox-container--error .checkmark {
        border-color: #e53935;
    }
    .sub-label {
        display: block;
        font-weight: 700;
        font-size: 16px;
        color: #727272;
        margin-bottom: 12px;
    }

    .sub-input-group {
        display: flex;
        gap: 12px;
        margin-bottom: 12px;
    }

    .sub-input-group input {
        flex: 1;
        padding: 10px;
        border: 1px solid var(--color-sub-border);
        border-radius: 5px;
        font-size: 16px;
        outline: none;
        transition: border-color 0.2s;
    }
    .sub-input-group input:focus {
        border-color: var(--color-sub-accent);
    }

    .sub-input-group input.error {
        border-color: #D71515;
        background-color: #fff0f0;
    }

    .text-error {
        font-size: 14px;
        color: #D71515;
    }

    .success-form {
        position: absolute;
        background-color: #FEF7EC;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        display: flex;
        gap: 16px;
        padding: 65px 52px;

        h4,
        p {
            font-weight: 700;
            font-size: 16px;
            color: #4E5255;
            margin: 0;
            padding: 0;
        }

        p {
            margin-top: 8px;
            font-weight: 400;
        }

        .success-form-icon {
            width: 48px;
            height: 48px;
            background-color: #fff;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

    .sub-button {
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
    }

    .sub-checkbox-container {
        display: flex;
        align-items: center;
        cursor: pointer;
        user-select: none;
        font-size: 14px;
        color: var(--color-sub-text);
    }

    .sub-checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .checkmark {
        height: 20px;
        width: 20px;
        background-color: transparent;
        border: 2px solid var(--color-sub-accent);
        border-radius: 4px;
        margin-right: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s;
        flex-shrink: 0;
    }

    .checkmark:after {
        content: "";
        display: none;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg) translate(-1px, -1px);
    }

    .sub-checkbox-container input:checked ~ .checkmark {
        background-color: var(--color-sub-accent);
    }

    .sub-checkbox-container input:checked ~ .checkmark:after {
        display: block;
    }

    .sub-checkbox-container.error .checkmark {
        border-color: var(--color-error);
    }
    .sub-checkbox-container.error .checkbox-text {
        color: var(--color-error);
    }

    .checkbox-text a {
        color: inherit;
        text-decoration: underline;
    }

    @media (max-width: 768px) {
        .sub-input-group {
            flex-direction: column;
            gap: 10px;
        }
        .sub-button {
            width: 100%;
        }
    }
}
/* End subscription */

/* Start item of the day */
.media-info-container {
    display: flex;
    margin-top: 80px;
    gap: 20px;

    .product-day-section {
        max-width: 50%;
    }

    .pd-viewport {
        overflow: hidden;
        border: 1px solid #CACFD2;
        border-radius: 14px;
    }

    .pd-track {
        display: flex;
        transition: transform 0.4s ease-in-out;
    }

    .pd-card {
        min-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .pd-header {
        background-color: #F7AE49;
        color: #fff;
        padding: 15px;
        display: flex;
        justify-content: center;
        gap: 28px;
        align-items: center;
        font-weight: 700;
        font-size: 22px;
    }

    .pd-timer {
        display: flex;
        align-items: center;
        gap: 5px;
        font-variant-numeric: tabular-nums;
    }

    .pd-body {
        display: flex;
        padding: 20px 40px;
        gap: 20px;
    }

    .pd-image {
        flex: 0 0 40%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pd-image img {
        width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: contain;
    }

    .pd-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        max-width: 319px;
    }

    .pd-meta-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    .pd-status {
        padding: 4px 8px;
        border-radius: 4px;
        font-weight: 600;
        font-size: 14px;
    }

    .pd-status.available {
        background-color: #EBFFE9;
        color: #11B300;
    }

    .pd-status.non-available {
        background-color: #EBEBEB;
        color: #727272;
    }

    .pd-art {
        color: #727272;
        font-size: 16px;
    }

    .pd-title {
        font-size: 16px;
        font-weight: 600;
        color: #4E5255;
        margin: 0 0 4px 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pd-brand {
        font-size: 16px;
        color: #4E5255;
        line-height: 1.6;
        margin: 0 0 14px 0;
        text-decoration: underline;
    }

    .pd-price-block {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-end;
        gap: 16px;
    }

    .pd-price-current {
        font-size: 24px;
        font-weight: 700;
        color: #222222;
    }

    .pd-price-old {
        font-size: 16px;
        color: #727272;
        position: relative;
        background: linear-gradient(to left top, transparent 47%, #D71515 48%, #D71515 52%, transparent 53%);
    }

    .pd-btn {
        width: 100%;
        margin-top: auto;
        font-size: 14px;
        font-weight: 700;
    }

    .pd-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 20px;
    }

    .pd-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background-color 0.2s;
        background-color: #F4F4F4;
    }

    .pd-dot.active {
        background-color: #F7AE49;
    }
}

@media (max-width: 1200px) {
    .media-info-container {
        flex-direction: column;
        gap: 44px;

        .product-day-section,
        .subscription-card {
            max-width: 100%;
        }
    }
}

@media (max-width: 768px) {
    .media-info-container {
        .pd-body {
            flex-direction: column;
        }

        .pd-body {
            padding: 12px;
        }

        .pd-price-current,
        .pd-header {
            font-size: 16px;
        }

        .pd-image img {
            max-height: 200px;
        }

        .pd-status {
            font-size: 10px;
        }

        .pd-title {
            font-size: 14px;
        }

        .pd-price-old,
        .pd-brand,
        .pd-art {
            font-size: 12px;
        }

        .pd-brand {
            margin-bottom: 12px;
        }

        .pd-info {
            max-width: 100%;
        }
    }
}

/* End item of the day */

/* Start news */
.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.news-feed {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-card {
    display: flex;
    border: 1px solid #CACFD2;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.news-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.news-img-wrapper {
    width: 216px;
    flex-shrink: 0;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.news-date {
    font-size: 14px;
    color: #727272;
    display: block;
}

.news-title {
    font-size: 18px;
    font-weight: 700;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.news-title a {
    text-decoration: none;
    color: #4E5255;
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--color-sub-accent);
}

.news-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: #727272;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-section:not(.news-separated-page) {
    .news-title {
        padding-bottom: 16px;
        margin: 0;
    }

    .news-excerpt {
        margin: 0;
        padding-bottom: 10px;
    }
}


.sidebar-header {
    font-size: 22px;
    font-weight: 700;
    color: #4E5255;
    margin-bottom: 24px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item + .sidebar-item {
    margin-top: 24px;
}

.sidebar-link {
    display: block;
    text-decoration: none;
    color: #4E5255;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    transition: color 0.2s;
    margin-top: 8px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-link:hover {
    color: var(--color-sub-accent);
}

.news-container .pagination {
    grid-column: 1 / -1;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .news-container {
        grid-template-columns: 1fr;
    }

    .news-feed {
        order: 1;
    }

    .news-container .pagination {
        order: 2;
    }

    .news-sidebar {
        order: 3;
    }
}

.media-grid-container {
    .sidebar-link {
        font-size: 14px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }

    .sidebar-list {
        display: flex;
        gap: 12px;
        flex-direction: column;
    }

    .sidebar-item {
        max-width: 330px;
        height: 116px;
        padding: 16px;
        box-sizing: border-box;
        margin: 0;
        flex-shrink: 0;
        border: 1px solid #CACFD2;
        border-radius: 10px;
    }
    .sidebar-item + .sidebar-item {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        max-height: 100%;
        width: 335px;
        height: 273px;
    }

    .news-feed {
        gap: 12px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .news-img-wrapper {
        width: 100%;
        height: 166px;
    }

    .news-content {
        padding: 16px;
    }

    .news-title {
        font-size: 14px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        padding: 0;
    }

    .news-excerpt {
        display: none;
    }

    .news-sidebar {
        overflow: hidden;
    }

    .sidebar-header {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .sidebar-link {
        font-size: 14px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }

    .sidebar-list {
        display: flex;
        gap: 16px;
    }

    .sidebar-item {
        width: 240px;
        padding: 16px;
        box-sizing: border-box;
        margin: 0;
        flex-shrink: 0;
        border: 1px solid #CACFD2;
        border-radius: 10px;
    }
    .sidebar-item + .sidebar-item {
        margin: 0;
    }
}


.news-details-another {
    .sidebar-link {
        font-size: 14px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }

    .sidebar-list {
        display: flex;
        gap: 16px;
        flex-direction: row;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sidebar-item {
        width: 240px;
        padding: 16px;
        box-sizing: border-box;
        margin: 0;
        flex-shrink: 0;
        border: 1px solid #CACFD2;
        border-radius: 10px;
    }
    .sidebar-item + .sidebar-item {
        margin: 0;
    }
}
/* End news */

/* Start video */
.stories-section {
    margin-bottom: 48px;
}

.stories-container {
    overflow: hidden;
}

.stories-scroll-wrapper {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 5px;

    scrollbar-width: none;
    -ms-overflow-style: none;

    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.story-item img {
    pointer-events: none;
}

#articles-tag .card-image img,
.magazine-card img,
.video-thumb img {
    pointer-events: none;
}

.stories-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.stories-scroll-wrapper.active .story-item,
.stories-scroll-wrapper.active {
    cursor: grabbing;
}

.story-item:hover {
    transform: scale(1.05);
}

.story-ring {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #F7AE49;

    display: flex;
    align-items: center;
    justify-content: center;
}

.story-item.viewed .story-ring {
    background-color: #fff;
    opacity: 0.9;
}

.story-gap {
    width: 102px;
    height: 102px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-gap img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .story-ring {
        width: 84px;
        height: 84px;
    }
    .story-gap {
        width: 76px;
        height: 76px;
    }
    .story-gap img {
        width: 70px;
        height: 70px;
    }
    .stories-scroll-wrapper {
        gap: 8px;
    }
}

.section-video {
    gap: 40px 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.media-video-section .section-video {
    display: flex;
    justify-content: space-between;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.video-thumb-link {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.materials-section-container .materials-content-container .video-thumb-link.video-line--1{
    height: 260px;
    width: 100%;
}
.materials-section-container .materials-content-container .news-img-wrapper{
    height: 166px;
    width: 216px;
}
.materials-section-container .materials-content-container .card-image{
    height: 241px;
}
.video-thumb {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumb-link:hover img {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 52px;
    height: 52px;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background-color 0.2s ease, transform 0.2s ease;
}

.play-icon {
    width: 24px;
    height: 17px;
    margin-left: 2px;
}

.video-thumb-link:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    margin-top: 20px;
}

.video-title {
    font-size: 18px;
    font-weight: 700;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-title a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.2s;

    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-title a:hover {
    color: var(--color-sub-accent);
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #727272;
}

.video-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

@media (max-width: 768px) {

    .section-video {
        grid-template-columns: repeat(1, 1fr);
    }

    .section-video {
        gap: 24px;
    }

    .video-title {
        font-size: 16px;
    }

    .video-thumb-link {
        height: 188px;
    }
}
/* End video */

/* Start story modal */
.story-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.story-open .story-modal-overlay {
    opacity: 1;
    visibility: visible;
}

.story-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .story-content-wrapper {
        max-width: 100%;
        height: 100%;
    }
    .story-modal-overlay {
        background-color: #000;
    }
}

.story-progress-container {
    position: absolute;
    top: 15px;
    left: 10px;
    right: 10px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    z-index: 2005;
    overflow: hidden;
}

.story-progress-bar {
    height: 100%;
    width: 0;
    background-color: #fff;
    border-radius: 2px;
}

.story-media-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    touch-action: pan-y;
}

@media (max-width: 600px) {
    .story-media-container {
        border-radius: 0;
    }
}

.story-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.story-media.active {
    display: block;
}

.story-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2010;
    background: none;
    border: none;
    color: #727272;
    font-size: 40px;
    cursor: pointer;

    &:hover {
        color: #fff;
    }
}

@media (max-width: 600px) {
    .story-close-btn {
        top: 25px;
        right: 15px;
    }
}

.story-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2005;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;

    background-color: rgba(255, 255, 255, 0.4);
    background-image: url('/media/css/../assets/arrow.svg');
    background-position: 56%;
    background-repeat: no-repeat;
}

.story-nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.story-nav-arrow.prev { left: -60px;
    transform: translateY(-50%) rotate(-180deg); }
.story-nav-arrow.next { right: -60px; }

@media (max-width: 600px) {
    .story-nav-arrow {
        display: none;
    }
}
/* End story modal */

/*Start magazine*/
#articles-tag,
.magazine-section {
    margin-top: 80px;
}
.media-materials-section,
.media-events-section {
    margin-top: 48px;
}

.media-description {
    font-size: 18px;
    margin-top: 24px;
    max-width: 797px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 10px;
}

.header-link-list {
    list-style-type: none;
    display: flex;
    gap: 32px;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.header-link-item {
    flex-shrink: 0;
}

.header-link {
    font-size: 18px;
    color: #727272;
    cursor: pointer;
    transition: color 0.2s ease;

    &:hover {
        color: #F7AE49
    }
}

/* Start magazine */
.magazine-grid {
    display: flex;
    flex-direction: row;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 24px;
}

.magazine-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    max-width: 326px;
    flex-shrink: 0;
}

.magazine-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.magazine-btn {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    background-color: #ffffff;
    color: #727272;
    border: none;
    border-radius: 8px;
    padding: 12px 0;

    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;

    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.magazine-btn:hover {
    background-color: var(--color-sub-accent);
    color: #fff;
}


@media (max-width: 768px) {
    .magazine-card {
        max-width: 280px;
    }
    .magazine-btn {
        width: 85%;
        bottom: 15px;
    }
}
/* End magazine */

/* Start events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.event-card {
    display: flex;
    gap: 16px;
}

.event-image {
    width: 180px;
    height: 160px;
    flex-shrink: 0;
    background-color: #D94444;
    border-radius: 10px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-content {
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    color: #4E5255;
    font-size: 14px;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-desc {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #4E5255;
}
.event-desc--custom{
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.event-btn {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: auto;
}


@media (max-width: 1028px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .events-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .event-card {
        flex-direction: column;
        max-width: 335px;
        width: 100%;
    }

    .event-image {
        width: 335px;
        height: 200px;
    }

    .event-btn {
        width: 100%;
    }
}
/* End events */

/* Start materials */
.materials-section {
    .materials-counter {
        font-size: 14px;
        color: #727272;
    }

    .materials-description {
        font-size: 16px;
        color: #4E5255;
        line-height: 1.5;
    }

    .materials-header {
        display: flex;
        margin-bottom: 55px;
        gap: 20px;
    }

    .materials-header-container {
        max-width: 64%;
    }

    .tags-section {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .tags-container {
        display: flex;
        align-items: center;
        position: relative;
        gap: 24px;

        font-size: 18px;
        font-weight: 600;
    }

    .tags-fixed-left {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-shrink: 0;
    }

    .tags-link-all {
        white-space: nowrap;
        transition: opacity 0.2s;
    }

    .tags-link-all:hover {
        opacity: 0.8;
    }

    .tags-divider {
        width: 1px;
        height: 24px;
        background-color: #727272;
        display: block;
    }

    .tags-scroll-area {
        flex-grow: 1;
        display: flex;
        align-items: center;
        gap: 24px;
        overflow-x: auto;
        white-space: nowrap;

        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }

    .tags-scroll-area::-webkit-scrollbar {
        display: none;
    }

    .tag-link {
        color: #727272;
        text-decoration: none;
        transition: color 0.2s;
    }

    .tag-link.active,
    .tag-link:hover {
        color: #F7AE49;
    }

    .tags-fixed-right {
        flex-shrink: 0;
        position: relative;
        display: flex;
        align-items: center;
        background-color: #fff;
        padding-left: 10px;
    }

    @media (max-width: 768px) {
        .tags-container {
            gap: 10px;
            padding: 0 15px;
        }

        .tags-divider {
            display: none;
        }

        .tags-fixed-left {
            gap: 10px;
        }

        .tags-link-all {
            font-size: 14px;
        }

        .tag-link {
            font-size: 14px;
        }
    }

    .tags-fixed-arrow {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        background-color: #fff;
        z-index: 2;

        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 1;
        visibility: visible;
        position: absolute;
    }

    .tags-fixed-arrow.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .tags-fixed-arrow.right {
        padding-left: 10px;
        right: 0;
    }
    .tags-fixed-arrow.left {
        padding-right: 10px;
        left: 0;
    }

    .tags-nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--color-sub-accent, #F5A623);
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color 0.2s;
        flex-shrink: 0;
    }

    .tags-nav-btn:hover {
        background-color: #FFF8F0;
    }

    .tags-fixed-arrow.left svg {
        transform: rotate(180deg);
    }

    .stories-section {
        margin: 0;
    }

    .materials-stories {
        max-width: 36%;
        margin-left: auto;
    }

    @media (max-width: 768px) {
        .materials-stories {
            max-width: 100%;
            margin: 0;
            order: 1;
        }

        .materials-header-container {
            max-width: 100%;
            order: 2;
            margin-bottom: 40px;
        }

        .materials-header {
            margin-bottom: 24px;
            flex-wrap: wrap;
        }
    }
}

.materials-details-container {
    margin-top: 60px;
    max-width: 908px;
}


.materials-details-text {
    transition: max-height 0.5s ease;
    overflow: hidden;
    position: relative;
}

.materials-details-text.collapsed {
    max-height: 200px;
}

#details-top-text.collapsed {
    max-height: 72px;
}
.materials-details-text ul li{
    font-size: 16px;
}
.materials-details-text.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.materials-details-text.expanded {
    max-height: 2000px;
}

.details-read-more-btn.open svg {
    transform: rotate(180deg);
}

.details-btn-container {
    .details-read-more-btn {
        color: #F0A63F;

        &:hover {
            opacity: 0.8;
        }
    }
}

.details-tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;

    .details-tags a:hover {
        opacity: 0.8;
    }


    .details-tags-toggle {
        background: none;
        border: 1px solid #F7AE49;
        border-radius: 12px;
        padding: 2px 8px;

        font-size: 14px;
        font-weight: 700;
        color: #F7AE49;

        align-items: center;
        gap: 4px;
        cursor: pointer;
        transition: background-color 0.2s;
        display: none;
    }

    .details-tags-toggle:hover {
        background-color: #FFF8F0;
    }

    .toggle-icon {
        transition: transform 0.3s ease;
    }

    .details-tags a:nth-child(n+3) {
        display: none;
    }

    &.expanded {
        .details-tags a:nth-child(n+3) {
            display: inline;
        }

        .toggle-icon {
            transform: rotate(180deg);
        }
    }
}

.section-articles {
    .details-tags {
        justify-content: flex-start;
        gap: 4px;
    }
}



.materials-content {
    column-count: 3;
    column-gap: 20px;
    row-gap: 40px;
    width: 100%;

    .materials-content-container {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 24px;
        display: block;

        .news-title,
        .card-title,
        .video-title {
            a:hover {
                color: var(--color-sub-accent);
            }
        }

        .card {
            cursor: default;

            &:hover {
                border-color: #CACFD2;
            }
        }

        &:hover {
            .news-card,
            .video-card {
                border-color: #CACFD2;
                box-shadow: none;
            }
        }
    }

    .video-thumb-link:hover .play-button-overlay {
        transform: translate(-50%, -50%) scale(1);
    }

    .video-thumb-link:hover img {
        transform: none;
    }

    .card-description {
        padding-bottom: 4px;
    }

    .video-card {
        border-radius: 14px;
        border: 1px solid rgba(202, 207, 210, 1);
        overflow: hidden;
    }

    .video-thumb-link {
        border-radius: 0;
    }

    .video-content {
        margin: 0;
        padding: 24px 20px;
    }

    .news-img-wrapper {
        max-height: 100px;
        width: 30%;
        border-radius: 12px;
        overflow: hidden;
    }

    .news-card {
        padding: 16px;
        gap: 16px;
        width: 100%;
        max-height: 100%;
    }

    .news-content {
        padding: 0;
    }

    .details-tags {
        justify-content: flex-start;
        gap: 8px;
        align-items: center;

        a {
            margin: 0;
            font-size: 14px;
        }
    }
}

.materials-section {
    display: flex;
    flex-direction: column;

    .materials-more-btn {
        margin: 24px auto auto auto;
    }
}

.sub-headliner {
    display: none;
}

@media (max-width: 1200px) {
    .materials-content {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .materials-content {
        column-count: 1;

        .news-card {
            height: auto;
            flex-direction: row;
        }
    }

    .headliner {
        margin-bottom: 18px
    }

    .materials-section {
        .tags-section {
            padding: 24px 0;
            margin: 0;

            .tags-container {
                padding: 0;
            }
        }

        .materials-header {
            margin: 0;
        }
    }
}


/* End materials */

/*Main page*/
.media-grid-container {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    gap: 20px;
}

@media (max-width: 768px) {
    .media-grid-container {
        flex-direction: column;
    }
}

.media-news-container {
    max-width: 330px;
    width: 100%;
    flex-shrink: 0;
}

.media-video-section {

    .video-card {
        position: relative;
        max-width: 330px;
    }

    .video-thumb-link {
        max-width: 330px;
        height: 324px;
    }

    .video-title {
        margin: 0;
    }

    .video-content {
        margin: 0;
        position: absolute;
        bottom: 0;
        padding: 16px;
        color: #fff;

        a {
            color: #fff;
        }
    }

    .video-card:hover {
        .video-thumb-link img {
            transform: scale(1.05);
        }

        .video-thumb-link .play-button-overlay {
            transform: translate(-50%, -50%) scale(1.1);
        }

        .video-title a {
            color: var(--color-sub-accent);
        }
    }

    .video-thumb-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
                to bottom,
                transparent 50%,
                rgba(0, 0, 0, 0.8) 100%
        );
        pointer-events: none;
    }

    .vk-video-icon {
        background-image: url('/media/css/../assets/vk-video.svg');
        width: 36px;
        height: 36px;
    }

    .vk-subscribe-button {
        background-color: #447BBA;
        color: #fff;
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
        padding: 6px 16px;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s ease;

        &:hover {
            background-color: #33659e;
        }
    }
}

@media (max-width: 1400px) {
    #articles-tag .card-grid,
    .media-grid-container .section-video,
    .sidebar-list {
        user-select: none;
    }

    .media-grid-container {
        flex-direction: column;

        .sidebar-list {
            flex-direction: row;
            overflow-y: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            flex-wrap: wrap;
        }
    }

    .media-news-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .media-grid-container {
        .sidebar-list {
            flex-wrap: nowrap;
        }
    }

    .sidebar-list {
        flex-direction: row;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;

        li:not(:last-child) {
            margin: 0;
        }
    }

    #articles-tag,
    .media-materials-section, .media-events-section,
    .magazine-section,
    .subscription-section,
    .media-grid-container {
        margin-top: 36px;
    }

    .vk-subscribe-button,
    .vk-video-icon {
        display: none;
    }

    .media-info-container {
        .sub-body,
        .sub-header {
            padding: 24px;
        }

        .sub-title {
            font-size: 20px;
        }
    }

    #articles-tag {
        .card-grid {
            display: flex;
            flex-direction: row;
            overflow-y: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            gap: 12px;
        }

        .card {
            flex-shrink: 0;
            max-width: 312px;
        }
    }

    .headliner-link {
        span {
            overflow: hidden;
            max-width: 27px;
            white-space: nowrap;
        }
    }

    .media-video-section .video-card {
        max-width: 280px;
    }

    .media-video-section .video-thumb-link {
        max-width: 280px;
        height: 300px;
    }

    .header-link-list {
        gap: 8px;

        li:not(:last-child) {
            margin: 0;
        }
    }

    .header-link-item {
        border-radius: 4px;
        border: 1px solid #CACFD2;
    }

    .media-description {
        font-size: 16px;
    }

    .header-link {
        font-size: 12px;
        padding: 4px 8px;
    }
}

.materials-left {
    max-width: 1030px;

    .materials-cnt {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;

        .card-title {
            line-clamp: 3;
            -webkit-line-clamp: 3;
        }

        .card-description {
            line-clamp: 2;
            -webkit-line-clamp: 2;
        }

        .news-content {
            padding: 16px;
        }

        .news-title {
            font-size: 16px;
        }

        .materials-content-container:nth-child(3n + 1) {
            grid-row: span 2;
        }

    }

    .materials-cnt-second {
        margin-top: 24px;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 0 20px;

        .card-title {
            line-clamp: 2;
            -webkit-line-clamp: 2;
        }

        .card-description {
            line-clamp: 2;
            -webkit-line-clamp: 2;
        }

        .card-content {
            padding: 22px;
        }

        .card-title {
            font-size: 16px;
        }

        .materials-content-container .card {
            height: 100%;
        }
    }

    @media (max-width: 768px) {
        .materials-cnt,
        .materials-cnt-second {
            .news-card {
                height: auto;
                width: auto;
            }
        }
    }

    @media (max-width: 611px) {
        .materials-cnt,
        .materials-cnt-second {
            gap: 20px;
            flex-wrap: wrap;
            display: flex;
            flex-direction: column;

            .materials-content-container {
                max-width: 335px;
            }

            .news-card {
                height: auto;
            }

            .card-content {
                padding: 16px;
            }
        }
    }

    .link-more {
        margin: 20px auto auto auto;
        display: block;
        text-align: center;

        a {
            display: block;
            width: 220px;
            text-align: center;
            margin: auto;
        }
    }


    @media (max-width: 768px) {
        .materials-content {
            column-count: 1;
        }
    }
}

.materials-section-container {
    display: flex;
    gap: 32px;

    .material-tag-link {
        padding: 8px 12px;
        font-size: 14px;
        color: #4E5255;
        border: 1px solid #CACFD2;
        display: block;
        border-radius: 5px;
        cursor: pointer;
        transition: color 0.2s ease, border-color 0.2s ease;
        white-space: nowrap;
        user-select: none;

        &:hover {
            border-color: #F7AE49;
            color: #F7AE49;
        }
    }

    .materials-right-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        max-width: 318px;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

@media (max-width: 968px) {
    .materials-section-container {
        gap: 24px;
        flex-direction: column;

        .materials-left {
            order: 2;
        }

        .materials-right {
            order: 1;
        }

        .materials-right-tags {
            flex-wrap: nowrap;
            max-width: 100%;
        }
    }
}

@media (min-width: 1200px) {
    .subscription-card,
    .product-day-section .pd-viewport {
        max-height: 345px;
        height: 345px;
    }

    .pd-track, .pd-body {
        height: 100%;
    }
}
.news-card{
    height: 100%;
}
.materials-content-container .video-thumb-link--custom{
    height: 100%;
    max-width: 680px;
}
.materials-content-container .video-thumb-link--custom .video-card{
    height: 100%;
}
.materials-content-container .video-thumb-link--custom .video-card .video-thumb-link{
    height: 100%;
}
.product-item-new.product-item .product-item-basket__btn--quantity {
    display: none;
    align-items: center;
}

.product-item-new.product-item .product-item-basket__btn--quantity.active {
    display: flex;
    flex: 1;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 4px;
}
.media-btn.w-100{
    width: 100%;
    display: block;
    text-align: center;
}
.media-btn{
    cursor: pointer;
}

.product-item-new.product-item .product-item-basket__btn--quantity.active.media{
    display: block;
    flex: none;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
}

.product-item-new.product-item .quantity-wrap {
    display: flex;
    gap: 3px;
    flex: 1;
    align-items: center;
    background-color: #F4F4F4;
    border-radius: 8px;
    justify-content: space-between;
}

.product-item-new.product-item .quantity-wrap input {
    flex: 1;
    border: none;
    background-color: #F4F4F4;
}

.product-item-new.product-item .quantity-wrap .btn.btn-icon {
    width: 50px;
    height: 44px;
    padding: 0;
    background-color: #F4F4F4;
    border: none;
    color: #727272;
}


.product-item-new.product-item .quantity-wrap .btn {
    cursor: pointer;
}

.news-details-section li{
    font-size: 16px;
}
.news-details-section a{
    color: #F7AE49;
}
.news-details-section a:hover{
    text-decoration: underline;
}

.media-card--custom{
    min-width: 330px;
}

.news-title--articles{
    overflow: unset;
}
@media (max-width: 768px) {
    .breadcrumbs-list{
        overflow: visible;
    }
    .breadcrumbs{
        overflow-y: hidden;
        overflow-x: auto;
    }
}
.img_desc{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 50px;
}
.article-details .details-tags{
    justify-content: flex-end;
}
/* End */
/* /media/css/styles.css?177244046055637 */
