HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/dreamssalon-wp-market/wp-content/themes/dreamsalon/assets/scss/pages/_blogs.scss
/*============================
    32. Blogs
============================*/

@use "../utils/mixins" as *;
@use '../variables' as *;

// Blog Grid
.blog-grid-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;

    .badge {
        position: absolute;
        top: 14px;
        left: 18px;
    }

    .blog-grid-img {
        img {
            width: 100%;
            border-radius: 5px;
            transition: 0.6s;
        }
    }

    .blog-grid-content {
        position: absolute;
        bottom: 12px;
        left: 12px;
        right: 12px;
        background: rgb(255, 255, 247);
        border-radius: 5px;
        padding: 20px;
        backdrop-filter: blur(35px);

        p {
            font-size: 14px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        span {
            font-size: 14px;
        }
    }
    &:hover {
        img {
            transform: scale(1.1);
        }
    }
}
.load-more-btn {
    margin-top: 16px;
}
.blog-details.load-more-btn {
    margin: 16px 0 40px 0;
}

// Blog List
.blog-list-item {
    padding: 20px;
    display: flex;
    align-items: center;
    border: 1px solid $border-color;
    border-radius: 5px;
    box-shadow: $box-shadow;
    margin-bottom: 24px;

    @include respond-below(md) {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .blog-list-img {
        img {
            border-radius: $border-radius-md;
            object-fit: cover;
            object-position: top;

            @include respond-below (md) {
                height: auto;
            }
        }
    }

    .blog-list-content {
        p {
            font-size: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        hr {
            margin: 12px 0;
        }
    }
}

.blog-share,
.blog-comments {
    position: relative;
    margin-right: 20px;

    &::after {
        position: absolute;
        content: "";
        height: 10px;
        width: 1px;
        border-radius: 10px;
        background: $gray-100;
        top: 50%;
        transform: translateY(-50%);
        right: -10px;
    }
}

.styled-list {
    list-style: disc;
    padding-left: 24px;
}

.btn-toggle-group {
    display: inline-flex;
    overflow: hidden;
    border-radius: 6px;
}

.btn-toggle input[type="radio"] {
    display: none;
}

.btn-toggle {
    label {
        margin: 0;
        padding: 6px 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        color: $gray-700;
        background: $white;
        border: none;
        font-size: 14px;

        &:last-child {
            border-radius: 0 6px 6px 0 !important;
            border: 1px solid $border-color;
            border-width: 1px 1px 1px 0 !important;
        }
    }

    #yes~label {
        border-radius: 6px 0 0 6px;
        border: 1px solid $border-color;
        border-width: 1px 0 1px 1px;
    }
}

.btn-toggle input[type="radio"]:checked+label {
    background-color: $primary;
    border-color: $primary;
    color: $darkmode-white;
    @include transition(all 0.3s ease-in-out);
}

.list-styled {
    list-style-type: disc;
    padding-left: 16px;
}

.count-icon {
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.blog-item {
    border-radius: $border-radius-md;
    border: 1px solid $border-color;
    box-shadow: $box-shadow;
    @include transition(all 0.5s);
    overflow: hidden;

    .blog-img {
        position: relative;
        border-radius: $border-radius-md $border-radius-md 0 0;
        overflow: hidden;
        @include transition(all 0.5s);

        img {
            border-radius: $border-radius-md $border-radius-md 0 0;
            @include transition(all 0.5s);
        }

        .badge {
            position: absolute;
            top: 24px;
            left: 24px;
        }
    }

    .blog-content {
        padding: 24px;

        p, h3 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .view-link {
            text-decoration: underline;
            text-decoration-color: $primary !important;
        }
    }

    &:hover {
        @include transition(all 0.5s);

        .blog-img {
            img {
                transform: rotate(2deg) scale(1.1);
                @include transition(all 0.5s);
            }
        }
    }

    &-two {

        position: relative;
        margin-bottom: 100px;

        .blog-img {
            margin-bottom: 0;
        }

        .blog-item-two-content {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(8px);
            border-radius: $border-radius-md;
            padding: 20px;
            bottom: -100px;
            left: 20px;
            right: 20px;
            box-shadow: $box-shadow-sm;

            h3 {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: normal;
            }

            p {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: normal;
            }
        }
    }

    &-three {
        position: relative;
        overflow: hidden;

        &::before {
            content: "";
            background: $linear-gradient-dark;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }

        img.blog-image {
            display: block;
            width: 100%;
            transition: all 0.5s;
            z-index: 1;
            position: relative;
            overflow: hidden;
            -webkit-transition: all 0.5s;
            -ms-transition: all 0.5s;
        }

        &:hover {
            img.blog-image {
                transform: rotate(2deg) scale(1.1);
            }
        }

        .item-padding {
            z-index: 2;
        }

        a {
            color: $darkmode-white;

            &:hover {
                color: $primary;
            }
        }

        .date {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            left: 20px;
            top: 20px;
            z-index: 2;
            p {
                font-size: 20px;
                font-weight: $font-weight-bold;
                margin-bottom: 0;
                color: $heading-color;
                line-height: 1.2;
                span {
                    display: block;
                    font-size: 14px;
                    font-weight: $font-weight-normal;
                }
            }
        }
    }

    &-four {
        position: relative;
        overflow: hidden;

        .blog-img {
            position: relative;
            overflow: hidden;
            margin-bottom: 20px;

            img {
                border-radius: $border-radius-xl;
            }

            .badge {
                position: absolute;
                top: 20px;
                left: 20px;
            }

            .card-shape {
                background: $white;

                &::before {
                    background: $white;
                }

                .shape-one,
                .shape-two {
                    background: transparent;
                    box-shadow: .313rem .313rem 0 .313rem $white;
                }
            }
        }

        .blog-content {
            .user-info {
                margin-bottom: 20px;

                a {
                    color: $body-color;

                    &:hover {
                        color: $primary;
                    }
                }
            }

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

                a {
                    color: $gray-900;

                    &:hover {
                        color: $primary;
                    }
                }
            }
        }
    }

    &-five {

        border-radius: $border-radius-md;
        border: 1px solid $border-color;
        overflow: hidden;
        transition: all 0.3s ease;

        &:hover {
            transform: translateY(-5px);
        }

        .blog-img {
            position: relative;
            .badge {
                bottom: 20px;
                left: 20px;
                color: $gray-900;
            }
        }

        .blog-content {
            padding: 20px;
            padding-bottom: 0px;
            h3 {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            p {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }

        .blog-footer {
            padding-top: 20px;
            margin: 20px;
            border-top: 1px solid $border-color;
        }

    }

    &-six {
        background: $white;
        border: 1px solid $border-color;
        border-radius: $border-radius-sm;

        .blog-img {
            border-radius: $border-radius-sm $border-radius-sm 0 0;
            position: relative;
            overflow: hidden;

            .img {
                border-radius: $border-radius-sm $border-radius-sm 0 0;
            }

            .avatar {
                position: absolute;
                top: 16px;
                left: 16px;
            }

            .blog-date {
                width: 60px;
                height: 60px;
                display: flex;
                align-items: center;
                justify-content: center;
                position: absolute;
                bottom: 16px;
                right: 16px;
                background: $white;
                border-radius: $border-radius-sm;
                text-align: center;
                p {
                    font-size: 20px;
                    font-weight: $font-weight-bold;
                    margin-bottom: 0;
                    color: $heading-color;
                    line-height: 1.2;
                    span {
                        display: block;
                        font-size: 14px;
                        font-weight: $font-weight-normal;
                    }
                }
            }
        }

        .blog-content {
            padding: 24px;

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

.blog-section {
    &-two {
        .read-more {
            color: $primary;

            &:hover {
                color: $danger;
            }
        }

        .blog-section-bg {
            left: 5%;
            top: 13%;
        }
    }

    &-four {
        position: relative;
    }

    &-six {
        .blog-bg-01 {
            position: absolute;
            left: 0;
            top: 3%;
            z-index: -1;
        }

        .blog-bg-02 {
            position: absolute;
            right: 0;
            bottom: 3%;
            z-index: -1;
        }
    }
}
a {
    &.badge {
        &.bg-dark {
            &:hover {
                background: $primary !important;
                color: $darkmode-white;
            }
        }
        &.bg-primary {
            &:hover {
                background: $primary-950 !important;
                color: $darkmode-white;
            }
        }
        &.bg-orange {
            &:hover {
                background: $orange-950 !important;
                color: $darkmode-white;
            }
        }
        &.bg-secondary {
            &:hover {
                background: $secondary-950 !important;
                color: $darkmode-white;
            }
        }
        &.bg-light.text-dark,  &.bg-light {
            transition: 0.5s all ease-in-out;
            &:hover {
                background: $primary-950 !important;
                color: $darkmode-white !important;
            }
        }
    }
}
.blog-slider {
    .slick-slide {
        margin: 0 12px;
    }
}
.blockqoute {
    background: var(--light);
    border-left: 5px solid var(--primary);
    padding: 30px;
    padding: 30px 120px 30px 45px;
    font-size: 17px;
    font-style: italic;
    margin: 20px 0;
    border-radius: 0px;
    position: relative;
    z-index: 1;
    @include respond-below(md) {
        font-size: 16px;
        padding: 20px 110px 20px 35px;
    }
    &::after {
        content: "";
        background: url('../img/icons/quote.svg');
        background-size: cover;
        position: absolute;
        right: 30px;
        top: 50%;
        @include transform(translateY(-50%));
        line-height: 1;
        z-index: -1;
        width: 62px;
        height: 44px;
        @include respond-below(md) {
            width: 50px;
            height: 34px;
        }
    }
}
.blockqoute-author {
    margin-top: 20px;
    padding-left: 40px;
    position: relative;
    &::before {
        content: "";
        position: absolute;
        height: 2px;
        width: 20px;
        background: var(--primary);
        left: 0;
        top: 10px;
    }
}
.comment-wrap {
    border-bottom: 1px solid $border-color;
    margin-bottom: 40px;
    @include respond-below(lg) {
        margin-bottom: 24px;
    }
}
.latest-comments {
    .list-wrap {
        & li {
            margin-bottom: 40px;
            @include respond-below(lg) {
                margin-bottom: 24px;
            }
            &.reply-comment {
                border-bottom: none;
                & .comments-box {
                    margin-left: 96px;
                    @include respond-below(sm) {
                        margin-left: 30px;
                    }
                }
            }
        }
    }
    & .comments {
        &-box {
            display: flex;
            align-items: center;
            align-items: flex-start;
            gap: 24px;
            @include respond-below(md) {
                gap: 16px;
            }
        }
        &-avatar {
            flex: 0 0 auto;
            width: 115px;
            @include respond-below(md) {
                width: 80px;
            }
            & img {
                border-radius: 50%;
            }
        }
        &-text {
            & .avatar-name {
                display: flex;
                align-items: center;
                margin-bottom: 10px;
                @include respond-below(sm) {
                    flex-direction: column;
                    align-items: start;
                }
                & .name {
                    font-size: 20px;
                    margin-bottom: 0;
                    @include respond-below(md) {
                        font-size: 16px;
                    }
                }
                & .date {
                    font-size: 14px;
                    margin-left: auto;
                    font-weight: 500;
                    @include respond-below(sm) {
                        margin-left: 0;
                    }
                }
            }
            & p {
                margin-bottom: 15px;
            }
            & .comment-reply {
                & .comment-reply-link {
                    font-size: 14px;
                    font-weight: 500;
                    background: var(--light);
                    display: inline-block;
                    border-radius: 10px;
                    line-height: 1;
                    padding: 10px 18px;
                    &:hover {
                        background: var(--primary);
                        color: var(--white);
                    }
                }
            }
        }
    }
}
.pagination-nav {
    .pagination {
        .page-item {
            margin-right: 8px;

            &:first-child {
                margin-right: 13px;

                .page-link {
                    background: transparent;
                }
            }

            &:last-child {
                margin-right: 0;
                margin-left: 5px;

                .page-link {
                    background: transparent;
                }
            }

            .page-link {
                width: 40px;
                height: 40px;
                border: 1px solid $border-color;
                background: $light;
                color: $gray-900;
                border-radius: 50%;
                line-height: 26px;
                text-align: center;
                &:focus {
                    box-shadow: none;
                }
            }

            &.active,
            &:hover {
                .page-link {
                    background: $primary;
                    border-color: $primary;
                    color: $white;
                }
            }
        }
    }
}
.search-group.input-group-flat {
    &:focus-within .input-group-text {
        background: $primary !important;
    }
    .input-group-text {
        &:last-child {
            padding: 0 15px;
            color: $darkmode-white;
        }
        i {
            color: $darkmode-white;
        }
        &:focus {
            background: $primary !important;
        }
    }
}
.blog-details-links {
    border-top: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
    padding: 24px 0;
    margin-bottom: 48px;
    @include respond-below(lg) {
        margin-bottom: 30px;
    }
}
.blog-author {
    display: flex;
    align-items: center;
    gap: 16px;
    background: $light;
    padding: 20px;
    margin-bottom: 48px;
    @include respond-below(lg) {
        margin-bottom: 30px;
        flex-direction: column;
        text-align: center;
    }
    .avatar {
        flex-shrink: 0;
        img {
            border-radius: $border-radius-md;
        }
    }
}
.blog-paginate {
    border-top: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
    padding: 40px 0;
    margin-bottom: 40px;
    @include respond-below(lg) {
        padding: 24px 0;
        margin-bottom: 24px;
    }
    @include respond-below(sm) {
        flex-direction: column;
    }
    .blog-post-prev, .blog-post-next {
        max-width: 345px;
        @include respond-below(xl) {
            max-width: 300px;
        }
        @include respond-below(lg) {
            max-width: 330px;
        }
        @include respond-below(md) {
            max-width: 45%;
        }
        @include respond-below(sm) {
            max-width: 100%;
        }
        .avatar {
            flex-shrink: 0;
            @include respond-below(md) {
                width: 60px;
                height: 60px;
            }
            img {
                border-radius: $border-radius-md;
            }
        }
    }
}
.post-social {
    ul {
        li {
            a {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                background: $darkmode-dark;
                color: $darkmode-white;
                display: flex;
                align-items: center;
                justify-content: center;
                &:hover {
                    background: $primary;
                }
            }
        }
    }
}
.post-style {
    display: flex;
    align-items: center;
    gap: 16px;
    .post-thumbnail {
        display: block;
        width: 96px;
        flex: none;
        border-radius: $border-radius-md;
        @include respond-below(sm) {
            width: 80px;
        }
        img {
            display: block;
            width: 100%;
            height: 100%;
        }
    }
    .post-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 18px;
    }
}
.sidebar-item {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    &:not(:last-child) {
        margin-bottom: 30px;
    }
}
.sidebar-widget-title {
    font-size: 20px;
    line-height: 1.33em;
    margin-bottom: 0;
}
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}
.tag-cloud-link {
    font-size: 14px;
    line-height: 1.6em;
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    display: inline-block;
    margin: 5px;
    border-radius: 6px;
    color: var(--primary-color);
    &:hover {
        color: var(--white);
        background-color: var(--primary);
        border-color: var(--primary);
    }
}
.widget-archive,
.widget-categories {
    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        li {
            padding-left: 24px;
            position: relative;
            i {
                position: absolute;
                left: 0;
                top: 50%;
                @include transform(translateY(-50%));
                font-size: 14px;
            }
            &:not(:last-child) {
                margin-bottom: 15px;
            }
        }
    }
}
.recent-posts {
    li {
        &:not(:last-child) {
            margin-bottom: 24px;
        }
    }
}
.sidebar-search {
    position: relative;
}
.sidebar-search input {
    display: block;
    width: 100%;
    background-color: transparent;
    outline: none;
    border: 1px solid $border-color;
    padding: 9px 40px 9px 15px;
    transition: all 0.3s ease;
    border-radius: $border-radius-md;
}
.sidebar-search-btn {
    position: absolute;
    border: none;
    outline: none;
    bottom: 0px;
    right: 0;
    padding: 10px 14px;
    cursor: pointer;
    background-color: $primary;
    border-radius: 0 $border-radius-md $border-radius-md 0;
    transition: all 0.3s ease;
    color: $darkmode-white;
    &:hover {
        background-color: $primary;
    }
}
.comment-respond {
    .form-control {
        padding: 12px 16px;
        @include respond-below(md) {
            padding: 10px 12px;
        }
    }
}