// News single items
.news-section-start {
    margin-top: 116px;

    &.home-three {
        background: #F8F8FF;
        padding: 115px 0px 92px 0px;
    }

    .section-title {
        .subtitle {
            .icon {
                margin-top: 0;
                color: var(--main-color-one);

                i {
                    +i {
                        margin-left: 5px;
                    }
                }
            }
        }
    }
}

.our-speeches-section {
    margin-top: 106px;
}

.news-single-items {
    margin-bottom: 30px;

    &.style-01 {
        position: relative;
        z-index: 0;

        .tropics {
            .date {
                position: absolute;
                font-size: 14px;
                line-height: 32px;
                font-weight: 400;
                font-family: var(--body-font);
                color: #fff;
                top: 25px;
                right: 20px;
                ;
            }
        }

        .content {
            bottom: 60px;
        }
    }

    &.home-six {
        .news-bg {
            border-radius: 0px;

            &::before {
                border-radius: 0px;
            }
        }

        .even {
            border-radius: 0px;
            left: 0px;
        }
    }

    .news-bg {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 425px;
        width: 100%;
        position: relative;
        border-radius: 10px;

        &.speeches-bg {
            &::before {
                background: transparent linear-gradient(180deg, #04072E00 0%, #04072E 100%);
            }
        }

        &::before {
            content: '';
            position: absolute;
            height: 100%;
            width: 100%;
            background: linear-gradient(160deg, rgba(4, 7, 46, 0) 50%, rgba(4, 7, 46, 1) 100%);
            border-radius: 10px;
            z-index: 0;
        }
    }

    .even {
        font-size: 14px;
        font-weight: 500;
        line-height: 28px;
        color: #fff;
        background: var(--main-color-one);
        padding: 0px 15px;
        border-radius: 5px;
        position: absolute;
        left: 20px;
        top: 25px;
    }

    .content {
        position: absolute;
        bottom: 15px;
        justify-content: center;
        width: 100%;
        padding: 0px 30px;

        .title {
            font-size: 20px;
            line-height: 32px;
            font-weight: 700;
            font-family: var(--body-font);
            color: #fff;
            cursor: pointer;
            transition: .5s all ease;

            &:hover {
                color: var(--main-color-one);
            }
        }

        .author-meta {
            display: flex;
            justify-content: space-between;

            .author-name {
                font-size: 14px;
                line-height: 32px;
                font-weight: 400;
                font-family: var(--body-font);
                color: #fff;
                margin-right: 40px;
            }

            p {
                font-size: 14px;
                line-height: 32px;
                font-weight: 400;
                font-family: var(--body-font);
                color: #fff;
            }
        }
    }
}


.news-single-items-two {
    margin-bottom: 30px;

    &.department-two {
        &:hover {
            .thumbnail {
                .icon {
                    background: $white;
                    color: var(--main-color-one);
                }
            }

            .content {
                .title {
                    color: var(--main-color-one);
                }
            }
        }

        .thumbnail {
            .icon {
                width: 72px;
                height: 72px;
                line-height: 65px;
                text-align: center;
                background: var(--main-color-one);
                color: #fff;
                font-size: 41px;
                position: absolute;
                bottom: -20px;
                left: 20px;
                transition: .3s all ease;
            }
        }

        .content {
            .title {
                margin-top: 10px;
                transition: .3s all ease;
            }
        }
    }

    .thumbnail {
        position: relative;
        z-index: 0;

        .tag {
            display: inline-block;
            font-size: 14px;
            line-height: 1.72;
            font-weight: 400;
            color: $white;
            background: var(--main-color-one);
            padding: 3px 10px;
            text-transform: uppercase;
            position: absolute;
            left: 0;
            top: 20px;
        }
    }

    .content {
        border: 1px solid rgba(204, 204, 204, 0.5);
        border-top: 0;
        padding: 20px;

        .tag {
            display: inline-block;
            font-size: 14px;
            line-height: 1.72;
            font-weight: 400;
            color: #fff;
            background: var(--main-color-one);
            padding: 3px 10px;
            text-transform: uppercase;
            margin-bottom: 18px;
        }

        .post-meta {
            display: flex;
            align-items: center;
            margin-bottom: 12px;

            .author {
                display: flex;
                align-items: center;
                margin-right: 20px;

                .icon {
                    width: 26px;
                    height: 26px;
                    line-height: 26px;
                    text-align: center;
                    background: #282828;
                    border-radius: 50%;
                    margin-right: 10px;
                }

                p {
                    margin-bottom: 0;
                    font-size: 14px;
                    line-height: 2;
                    font-weight: 400;
                    color: #505050;
                }
            }

            .post-date {
                display: flex;
                align-items: center;

                p {
                    margin-bottom: 0;
                    font-size: 14px;
                    line-height: 2;
                    font-weight: 400;
                    color: #505050;
                    margin-left: 10px;
                }
            }
        }

        .title {
            font-size: 21px;
            line-height: 1.5;
            font-weight: 600;
            color: var(--heading-color);
            margin-bottom: 15px;
        }

        p {
            font-size: 16px;
            line-height: 1.8;
            font-weight: 400;
            color: #505050;
            margin-bottom: 0px;
        }

        .btn-wrapper {
            border-top: 1px solid rgba(204, 204, 204, 0.5);
            margin-top: 15px;
            padding-top: 20px;

            .event-btn {
                font-size: 14px;
                font-weight: 500;
                text-transform: uppercase;

                i {
                    font-size: 14px;
                    margin-right: 8px;
                }
            }
        }
    }
}

.news-single-list {
    list-style: none;
    border: 1px dashed #cccccc;
    border-radius: 10px;
    margin: 0;
    padding: 19px;

    &.home-six {
        border: none;
        border-radius: 0;
        padding: 0;

        .news-single-list-items {
            margin-bottom: 25px;

            +li {
                border-top: 1px solid rgba(14, 17, 90, 0.2);
                padding-top: 25px;
            }

            .thumb {
                img {
                    border-radius: 0px;
                }
            }
        }
    }

    .news-single-list-items {
        display: flex;
        margin-bottom: 20px;

        &:last-child {
            margin-bottom: 0;
        }

        +li {
            border-top: 1px dashed #CCCCCC;
            padding-top: 20px;
        }

        .thumb {
            img {
                border-radius: 10px;
                margin-right: 17px;
                width: 100px;
            }
        }

        .content {
            flex: 1;

            .date {
                font-size: 14px;
                line-height: 32px;
                font-weight: 400;
                font-family: var(--body-font);
                color: #747474;
            }

            .title {
                font-size: 18px;
                line-height: 28px;
                font-weight: 700;
                font-family: var(--body-font);
                color: var(--heading-color);
                transition: .5s all ease;

                &:hover {
                    color: var(--main-color-one);
                }
            }
        }
    }
}