/home/bdqbpbxa/demo-subdomains/ping-proxies.goodface.com.ua/src/pages/Blog/CurrentPost/styles.scss
@import "styles/_typography.scss";
@import "styles/_mixins.scss";

.post {
    &-title {
        margin-bottom: 64px;
        &-tags {
            margin-top: 64px;
            display: flex;
            gap: 8px;
        }
        h2 {
            margin: 24px 0;
        }
        &-info {
            display: flex;
            gap: 16px;
            &-item {
                display: flex;
                align-items: center;
                gap: 6px;
                opacity: 0.7;
            }
        }
    }
    &-anchors {
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        border: 1px solid var(--Grey);
        // margin-bottom: 64px;
        &-item {
            @include button-text;
            padding: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: 0.5s;
            &__dot {
                opacity: 0;
                border-radius: 50%;
                height: 8px;
                width: 8px;
                background-color: var(--Blue-purple);
                transition: 0.5s;
            }
            &:hover {
                color: var(--Blue-purple);
                background-color: var(--Light-Grey);
            }
            &.active {
                color: var(--Blue-purple);
                background-color: var(--Light-Grey);
                .post-anchors-item__dot {
                    opacity: 1;
                }
            }
            &:first-child {
                border-radius: 8px 8px 0 0;
            }
            &:last-child {
                border-radius: 0 0 8px 8px;
            }
        }
    }
    @import "styles/_mixins.scss";

    &-product {
        padding: 24px;
        border-radius: 8px;
        background-color: var(--Light-Grey);
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        &:hover {
            .button {
                opacity: 0.8;
                span {
                    transform: translateX(24px);
                }
                .arrow {
                    &:first-child {
                        opacity: 1;
                        transform: translateX(0px);
                    }
                    &:last-child {
                        opacity: 0;
                        transform: translateX(24px);
                    }
                }
            }
        }

        &__icon {
            height: 72px;
            width: 72px;
            padding: 16px;
            background-color: var(--White);
            border-radius: 4px;
            img {
                height: 40px;
                width: 40px;
            }
        }
        .body2 {
            opacity: 0.6;
        }
        &__info {
            margin: 24px 0 0;
        }
        &__text-container {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            white-space: nowrap;
        }
        &__body {
            margin-top: auto;
            display: flex;
            flex-direction: column;
        }
        &__body-2 {
            margin-top: auto;
            display: flex;
            flex-direction: column;
        }
        &__price-container {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 10px 10px 16px;
            border-radius: 4px;
            gap: 20px;
            background-color: var(--Light-Grey);
            .body3 {
                display: flex;
                flex-wrap: nowrap;
                display: inline;
                opacity: 0.5;
            }
            .button-text {
                display: inline-block;
                margin: 0 8px;
                line-height: 140%;
            }
            .label {
                margin-left: auto;
            }
            @include w(1315) {
                min-height: 58px;
            }
            @include w(1257) {
                min-height: auto;
            }
        }

        ul {
            margin: 32px 0;
            li {
                .list-icon {
                    height: 24px;
                    width: 24px;
                }
                display: flex;
                gap: 8px;
                padding: 12px 0;
                border-bottom: 1px solid var(--Grey);

                &:first-child {
                    padding: 0 0 12px;
                }
                &:last-child {
                    padding: 12px 0 0;
                    border-bottom: none;
                }
            }
        }
        .button {
            margin-top: auto;
            justify-content: center;
            width: 100%;
        }
    }

    &-body {
        // padding-bottom: 64px;
        overflow: hidden;
        &__main-image {
            width: 100%;
            margin-bottom: 40px;
        }
        p {
            opacity: 0.7;
        }
        section {
            padding-bottom: 40px;
            border-bottom: 1px solid var(--Grey);
        }
        a {
            @include button-text;
            color: var(--Blue-purple);
        }
        h3 {
            margin-bottom: 24px;
            margin-top: 40px;
        }
        .description2 {
            margin: 32px 0 8px;
        }
        ul {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 24px;
            li {
                padding-left: 16px;
                opacity: 0.7;
                &::before {
                    content: "";
                    display: inline-block;
                    border-radius: 50%;
                    height: 8px;
                    width: 8px;
                    background-color: var(--Lavender);
                    margin-right: 10px;
                }
            }
        }

        ol {
            padding-left: 34px;
            margin-top: 24px;

            li {
                &::marker {
                    color: var(--Lavender);
                }
            }
        }

        blockquote {
            padding: 24px;
            border-radius: 8px;
            background: var(--Light-Grey);
            display: flex;
            @include body1;
            gap: 24px;
            margin-top: 40px;
            &::before {
                content: url("../../../assets/icons/quote.svg");
                display: block;
                height: 40px;
                width: 40px;
            }
        }
    }

    &-related {
        padding-top: 60px;
        margin-top: 64px;
        margin-bottom: 64px;
        h2 {
            margin-bottom: 64px;
        }
    }
    @include w($lg) {
        &-product:first-child {
            margin-top: 40px;
        }
    }

    @include w($sm) {
        &-title {
            margin-bottom: 32px;
            &-tags {
                margin-top: 32px;
            }
            h2 {
                margin: 16px 0;
            }
        }
        &-body {
            // padding-bottom: 40px;
            &__main-image {
                margin-bottom: 32px;
            }
            section {
                padding-bottom: 32px;
            }
            h3 {
                margin-top: 32px;
            }
            blockquote {
                padding: 16px;
                margin-top: 32px;
                gap: 16px;
            }
        }
        &-related {
            padding-top: 40px;
            margin-top: 40px;
            margin-bottom: 40px;
            h2 {
                margin-bottom: 32px;
            }
        }
    }
}