/* === page-title  === */
.page-title-area {

    .page-title-area-inner {
        padding-top: 250px;
        padding-bottom: 130px;

        @media #{$lg} {
            padding-top: 160px;
            padding-bottom: 100px;
        }

        @media #{$md} {
            padding-top: 130px;
            padding-bottom: 60px;
        }

        @media #{$xs} {
            padding-top: 110px;
            padding-bottom: 60px;
        }
    }

    .page-title-wrapper {

        .page-sub-title {
            font-size: 18px;
            font-weight: 500;
            line-height: 22px;
            margin-bottom: 50px;
            color: var(--primary);
            letter-spacing: -0.54px;

            @media #{$lg} {
                margin-bottom: 30px;
            }

            @media #{$md} {
                margin-bottom: 20px;
            }

            @media #{$xs} {
                margin-bottom: 10px;
            }
        }

        .page-title {
            font-size: 130px;
            font-weight: 500;
            line-height: 105px;
            color: var(--primary);
            letter-spacing: -6.5px;

            @media #{$lg} {
                font-size: 110px;
            }

            @media #{$md} {
                font-size: 90px;
                line-height: 90px;
            }

            @media #{$xs} {
                font-size: 60px;
                line-height: 60px;
                letter-spacing: -2px;
            }

            span {
                font-style: italic;
            }
        }
    }

    .page-title-meta {
        display: flex;
        margin-bottom: 30px;
        align-items: center;
        justify-content: space-between;

        .developed {
            font-size: 16px;
            font-weight: 500;
            line-height: 20px;
            color: var(--primary);
            letter-spacing: -0.48px;
        }

        .year {
            font-size: 16px;
            font-weight: 500;
            line-height: 20px;
            color: var(--primary);
            letter-spacing: -0.48px;
        }
    }
}

/* === blog Section === */
.blog {

    &__wrapper {
        display: grid;
        gap: 80px 20px;
        grid-template-columns: repeat(4, 1fr);

        @media #{$lg} {
            grid-template-columns: repeat(3, 1fr);
            gap: 50px 20px;
        }

        @media #{$md} {
            grid-template-columns: repeat(2, 1fr);
        }

        @media #{$xs} {
            grid-template-columns: repeat(1, 1fr);
            gap: 30px 20px;
        }
    }

    &__item {

        .media {
            overflow: hidden;

            img {
                width: 100%;
                height: auto;
                object-fit: cover;
                transition: all 0.6s ease-in-out;
            }
        }

        &:hover {
            .media {
                img {
                    transform: scale(1.2);
                }
            }
        }

        .content {
            margin-top: 14px;

            .meta-date {
                gap: 50px;
                display: flex;
                flex-wrap: wrap;
                list-style: none;
                align-items: center;
                margin-bottom: 5px;

                li {
                    color: #555;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 27px;
                }
            }

            .title {
                font-size: 24px;
                font-weight: 500;
                line-height: 26px;
                color: var(--primary);
                letter-spacing: -1.2px;

                @media #{$lg} {
                    br {
                        display: none;
                    }
                }


                @media #{$xs} {
                    font-size: 20px;
                }

                a {
                    &:hover {
                        color: #555;
                    }
                }
            }
        }
    }
}

/* === blog-4 Section === */
.blog-4__inner {

    .section-title-4 {

        &__wrapper {
            margin-bottom: 67px;

            @media #{$md} {
                margin-bottom: 40px;
            }

            .sub-title {
                font-size: 14px;
                font-weight: 500;
                padding: 2px 15px;
                line-height: 24px;
                margin-bottom: 20px;
                border-radius: 500px;
                display: inline-block;
                color: var(--primary);
                letter-spacing: 0.84px;
                text-transform: uppercase;
                border: 1.2px solid rgba(17, 17, 17, 0.10);
            }

            .title {
                font-size: 50px;
                font-weight: 500;
                line-height: 56px;
                color: var(--primary);
                letter-spacing: -1.5px;

                @media #{$lg} {
                    font-size: 45px;
                    line-height: 50px;
                }

                @media #{$xs} {
                    font-size: 30px;
                    line-height: 35px;
                    letter-spacing: -1px;
                }

                span {
                    font-family: var(--font_tartuffotrial);
                }
            }
        }
    }

    .blog-4 {

        &__wrapper {
            gap: 28px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);

            @media #{$md} {
                grid-template-columns: repeat(2, 1fr);
            }

            @media #{$xs} {
                grid-template-columns: 1fr;
            }
        }

        &__item {

            .media {
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: all 0.5s;
                }
            }

            &:hover {

                .media {
                    img {
                        transform: scale(1.1);
                    }
                }
            }

        }

        &__content {
            margin-top: 26px;

            .title {
                font-size: 24px;
                font-weight: 500;
                line-height: 30px;
                margin-bottom: 10px;
                letter-spacing: -0.48px;

                @media #{$sm} {
                    font-size: 20px;
                    line-height: 25px;
                }

                a {
                    &:hover {
                        color: var(--secondary);
                    }
                }
            }
        }

        &__meta-list {
            list-style: none;

            li {
                display: flex;
                gap: 10px 32px;
                font-size: 14px;
                font-weight: 500;
                line-height: 24px;
                align-items: center;
                letter-spacing: -0.28px;
                color: rgba(17, 17, 17, 0.70);

                @media #{$xs} {
                    gap: 10px 20px;
                }

                span {
                    position: relative;
                    display: inline-block;

                    &::before {
                        top: 50%;
                        left: -16px;
                        width: 4px;
                        height: 4px;
                        content: "";
                        position: absolute;
                        border-radius: 500px;
                        background: var(--primary);
                        transform: translate(-50%, -50%);
                    }
                }


                span {
                    font-weight: 600;
                    color: var(--primary);
                }
            }
        }
    }
}

/* === blog-5 Section === */
.blog-5 {

    .section-title-5 {
        &__wrapper {
            display: grid;
            grid-template-columns: 412px 413px 1fr;
            border-top: 1px solid var(--border);

            @media #{$xl} {
                grid-template-columns: 389px 391px 1fr;
            }

            @media #{$md} {
                grid-template-columns: 299px 1fr;
                border-right: none;
            }

            @media #{$sm} {
                border-bottom: none;
                grid-template-columns: 1fr;
            }

            .wrp {
                padding-left: 30px;
                padding-top: 30px;

                @media #{$sm} {
                    padding-left: 0;
                }
            }

            .sub-title {
                font-size: 16px;
                font-weight: 500;
                line-height: 20px;
                position: relative;
                padding-left: 25px;
                color: var(--primary);
                letter-spacing: -0.48px;


                &::before {
                    left: 0;
                    content: "";
                    width: 20px;
                    height: 1px;
                    bottom: 5px;
                    position: absolute;
                    background: var(--primary);
                }
            }

            .title {
                padding: 26px 30px;
                font-size: 36px;
                font-weight: 500;
                padding-right: 0;
                line-height: 36px;
                letter-spacing: -1.8px;
                border-left: 1px solid var(--border);
                border-right: 1px solid var(--border);

                @media #{$md} {
                    max-width: 100%;
                    font-size: 30px;
                    letter-spacing: -1px;
                }

                @media #{$sm} {
                    border-left: none;
                    padding: 0;
                }

                @media #{$xs} {
                    font-size: 28px;
                }
            }
        }
    }
}

.blog-5__inner {
    display: grid;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    grid-template-columns: repeat(3, 1fr);

    @media #{$md} {
        grid-template-columns: repeat(2, 1fr);
    }

    @media #{$sm} {
        border-bottom: none;
        border-top: none;
        gap: 20px;
        margin-top: 30px;
    }

    @media #{$xs} {
        grid-template-columns: 1fr;
    }

    .blog-5 {
        &__item {
            padding: 30px;

            @media #{$lg} {
                padding: 30px 20px;
            }

            @media #{$sm} {
                padding: 0;
            }

            &:not(:last-child) {
                border-right: 1px solid var(--border);

                @media #{$sm} {
                    border-right: none;
                }
            }


            .media {
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: all 0.5s;
                }
            }

            &:hover {
                .media {
                    img {
                        transform: scale(1.1);
                    }
                }
            }

            .content {
                margin-top: 14px;

                .meta-list {
                    gap: 5px;
                    display: flex;
                    flex-wrap: wrap;
                    list-style: none;
                    align-items: center;

                    li {
                        color: #555;
                        font-size: 14px;
                        font-weight: 500;
                        line-height: 27px;
                    }
                }

                .title {
                    font-size: 20px;
                    font-weight: 500;
                    line-height: 24px;
                    letter-spacing: -1px;
                }
            }
        }
    }
}

/* === blog-56 Section === */
.blog-6__inner {
    display: grid;
    gap: 0 54px;
    padding-top: 14px;
    margin-top: 70px;
    grid-template-columns: 841px 1fr;
    border-top: 1px solid var(--border);

    @media #{$xl} {
        grid-template-columns: 600px 1fr;
    }

    @media #{$lg} {
        gap: 0 30px;
        grid-template-columns: 450px 1fr;
    }

    @media #{$md} {
        gap: 30px;
        grid-template-columns: 1fr;
    }

    .blog-6 {

        &__media {
            height: 475px;

            @media #{$sm} {
                height: 300px;
            }

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

            .title {
                margin-top: 14px;
                font-size: 24px;
                font-weight: 500;
                line-height: 30px;
                letter-spacing: -0.72px;

                @media #{$xs} {
                    font-size: 20px;
                }

                a {

                    &:hover {
                        color: var(--secondary);
                    }
                }
            }
        }

        &__meta-list {
            gap: 32px;
            display: flex;
            list-style: none;
            margin-top: 20px;
            align-items: center;

            @media #{$xs} {
                flex-wrap: wrap;
                gap: 25px;
            }

            li {
                color: #555;
                font-size: 16px;
                font-weight: 500;
                line-height: 22px;
                position: relative;
                letter-spacing: -0.48px;
                display: inline-block;

                &:not(:last-child) {

                    &::before {
                        content: "";
                        position: absolute;
                        right: 0%;
                        top: 50%;
                        width: 4px;
                        height: 4px;
                        border-radius: 500px;
                        background: currentColor;
                        transform: translate(20px, -50%);
                    }
                }
            }
        }

        &__item {
            display: flex;
            align-items: center;
            padding-bottom: 26px;
            transition: all 0.3s;
            margin-bottom: 28px;
            justify-content: space-between;
            border-bottom: 1px solid var(--border);

            &:hover {
                border-color: var(--primary);

                .icon {
                    background: var(--primary);
                    color: var(--white);
                }
            }

            @media #{$xs} {
                flex-wrap: wrap;
                gap: 10px;
            }

            .text {

                .title {
                    font-size: 24px;
                    font-weight: 500;
                    line-height: 30px;
                    letter-spacing: -0.72px;

                    @media #{$xs} {
                        font-size: 20px;
                    }

                    a {

                        &:hover {
                            color: var(--secondary);
                        }
                    }
                }

                .meta-list {
                    gap: 32px;
                    display: flex;
                    list-style: none;
                    margin-top: 14px;
                    align-items: center;


                    @media #{$xs} {
                        flex-wrap: wrap;
                        gap: 25px;
                    }

                    li {
                        color: #555;
                        font-size: 16px;
                        font-weight: 500;
                        line-height: 22px;
                        position: relative;
                        letter-spacing: -0.48px;
                        display: inline-block;

                        &:not(:last-child) {

                            &::before {
                                content: "";
                                position: absolute;
                                right: 0%;
                                top: 50%;
                                width: 4px;
                                height: 4px;
                                border-radius: 500px;
                                background: currentColor;
                                transform: translate(20px, -50%);

                                @media #{$xs} {
                                    transform: translate(15px, -50%);
                                }
                            }
                        }
                    }
                }
            }

            .icon {
                width: 44px;
                height: 44px;
                display: flex;
                rotate: -45deg;
                align-items: center;
                transition: all 0.3s;
                color: var(--primary);
                border-radius: 500px;
                justify-content: center;
                border: 1px solid #0000001A;
            }

        }

        &__content {

            @media #{$md} {
                margin-top: 100px;
            }

            .rr-btn-primary {
                gap: 8px;
                margin-top: 30px;
                border-radius: 0;
                color: var(--white);
                padding: 15px 29.71px;
                background-color: var(--primary);

                .text span {
                    color: var(--white);
                }

                i {
                    font-weight: 400;
                    color: var(--white);
                    transform: rotate(-45deg);
                }
            }
        }

    }
}