.event-box-items {
    margin-top: 30px;
    background-color: $white;
    border-radius: 16px;

    .event-image {
        padding: 20px 20px 0 20px;
        position: relative;

        img {
            @include imgw;
        }

        .event-shape {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;

            img {
                width: 100%;
            }
        }

        .post-date {
            position: absolute;
            top: 35px;
            left: 35px;
            border-radius: 6px;
            padding: 8px 14px;
            background-color: $theme-color;
            color: $white;

            li {
                @include flex;
                gap: 8px;
            }
        }
    }

    .event-content {
        padding: 30px;

        @include breakpoint (max-sm){
            padding: 20px 25px;
        }

        ul {
            margin-bottom: 10px;

            li {
                i {
                    color: $theme-color;
                }
                
                span {
                    margin-left: 5px;
                    font-size: 16px;
                    font-weight: 500;
                }
            }
        }

        h3 {
            border-bottom: 2px dotted $theme-color;
            padding-bottom: 20px;

            a {
                &:hover {
                    color: $theme-color;
                }
            }
        }

        .event-author {
            margin-top: 30px;
            @include flex;
            justify-content: space-between;

            @include breakpoint (max-sm){
                margin-top: 20px;
            }

            .theme-btn {
                @include breakpoint (max-xl){
                    padding: 20px 30px;
                }

                @include breakpoint (max-lg){
                    padding: 18px 25px;
                }
            }

            .author-ratting {
                span {
                    margin-left: 0;
                    color: $header-color;
                    font-weight: 500;
                }

                .star {
                    margin-top: 3px;
                    i {
                        color: $theme-color;
                    }

                    .color-1 {
                        color: #808080;
                    }
                }
            }
        }
    }

    &.style-bottom {
        margin-bottom: 50px;
    }
}

.event-details-wrapper {
    .event-details-items {
        .details-image {
            img {
                @include imgw;
            }
        }

        .event-details-content {
            margin-top: 30px;

            .post-items {
                @include flex;
                gap: 25px;
                margin-bottom: 30px;

                .post-date {
                    display: inline-block;
                    padding: 8px 14px;
                    font-size: 16px;
                    font-weight: 600;
                    background-color: $theme-color;
                    border-radius: 6px;
                    color: $white;

                    i {
                        margin-right: 5px;
                    }
                }

                .post-time {
                    display: inline-block;
                    padding: 7px 14px;
                    font-size: 16px;
                    font-weight: 600;
                    background-color: transparent;
                    border-radius: 6px;
                    border: 1px solid $theme-color;
                    color: $theme-color;

                    i {
                        margin-right: 5px;
                    }
                }
            }

            h2 {
                font-size: 30px;
                margin-bottom: 20px;
                line-height: 130%;

                @include breakpoint (max-sm){
                    font-size: 26px;
                    margin-bottom: 10px;
                }
            }

            .list {
                li {
                    &:not(:last-child){
                        margin-bottom: 10px;
                    }

                    i {
                        margin-right: 5px;
                        color: $theme-color;
                    }
                }
            }

            .thumb {
                img {
                    @include imgw;
                    border-radius: 8px;
                }
            }
        }

        .about-author {
            @include flex;
            gap: 30px;
            margin-top: 50px;
            border-top: 1px solid $border-color;
            border-bottom: 1px solid $border-color;
            padding: 25px 0;

            @include breakpoint (max-xl){
                flex-wrap: wrap;
            }

            @include breakpoint (max-md){
               margin-top: 30px;
            }

            @include breakpoint (max-sm){
                margin-top: 20px;
            }

            .author-icon {
                @include flex;
                gap: 20px;

                .icon {
                    width: 48px;
                    height: 48px;
                    line-height: 48px;
                    text-align: center;
                    background-color: $theme-color;
                    text-align: center;
                    color: $white;
                    border-radius: 50%;
                    position: relative;

                    &::before {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        right: 0;
                        bottom: 0;
                        width: 60px;
                        height: 60px;
                        border-radius: 50%;
                        border: 1px solid $theme-color;
                        content: "";
                        transform: translate(-50%,-50%);
                    }
                    
                }
            }
        }
    }

    .details-list-area {
        padding: 30px 40px;
        border-radius: 10px;
        position: relative;
        z-index: 9;
        border: 1px solid $border-color;

        @include breakpoint (max-xl){
            padding: 30px 20px;
        }

        @include breakpoint (max-lg){
            padding: 30px 40px;
        }

        @include breakpoint (max-sm){
            padding: 25px 20px;
        }

        h3 {
            font-size: 24px;
            border-bottom: 1px solid $border-color;
            padding-bottom: 20px;
        }

        @include breakpoint (max-xl){
            margin-right: 0;
        }

        @include breakpoint (max-lg){
            margin-top: 0;
        }

        .details-list {
            margin-bottom: 30px;

            li {
                @include flex;
                justify-content: space-between;
                padding: 15px 0;
                border-bottom: 1px solid $border-color;

                span {
                    i {
                        color: $theme-color;
                    }
                }
            }
        }

        .theme-btn {
            padding: 19px 40px;

            &.border-style {
                border: 1px solid $theme-color;
                color: $theme-color;
                background-color: transparent;
                padding: 18px 40px;

                &::after,&::before {
                    background-color: $theme-color;
                }

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

        .social-icon {
            justify-content: center;
            gap: 15px;
            margin-top: 30px;

            a {
                width: 36px;
                height: 36px;
                line-height: 36px;
                text-align: center;
                font-size: 16px;
                display: block;
                color: $theme-color;
                transition: all .4s ease-in-out;
                text-align: center;
                background-color: transparent;
                border: 1px solid $theme-color;

                    &:hover {
                        background-color: $theme-color;
                        color: $white;
                        border: 1px solid transparent
                    }
                }
        }
    }

    .map-items {
        margin-top: 30px;

        iframe {
            width: 100%;
            height: 300px;
        }
    }
}

.event-section-2 {
    margin-bottom: -50px;
}

.event-section {
    position: relative;
    margin-top: 120px;

    .event-top-shape {
        height: 160px; 
        width: 100%;
        position: absolute;
        top: -120px;
        left: 0;
        right: 0;
        overflow-x: hidden;
        //z-index: -1;
    }
      
    .wave {
        position: absolute;
        width: 200%;
        height: 100%;
        animation: wave 10s -3s linear infinite;
        transform: translate3d(0, 0, 0);
        background-size: cover;
    }
    
    .wave:nth-of-type(2) {
        bottom: 0;
        animation: wave 18s linear reverse infinite;
    }
    
    .wave:nth-of-type(3) {
        bottom: 0;
        animation: wave 20s -1s linear infinite;
    } 
}