#blog .header-container .top-header-bg  {
    background-image: url(../img/newsroom/blog/header-blog.webp);
    background-position: bottom right;
}

#blog .header-container .box-overlay {
    background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 100%);
}

#blog .box2-image.img2 {
    background-image: url(../img/newsroom/blog/filosofo.webp);
    background-position: right;
}
#blog .box2-image.img3 {
    background-image: url(../img/newsroom/blog/essential-resource.webp);
    background-color: transparent;
    height: 600px;
}



#blogIntro .section-subtitle {
    color: #333;
}

.under-image-box-shadow {
    -webkit-box-shadow: 0 25px 15px -25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 25px 15px -25px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

/*An essential resource*/
.section-lines.essential-lines .lines-3 {
    border: 1px solid #dedcdc;
    height: 120%;
    position: absolute;
    width: 50%;
    left: 50%;
    top: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
}

.cybersecurity-not-complicated li {
    font-weight: 600;
    background: #353535;
    padding: 15px;
    border-radius: 0.25rem;
    list-style-type: none;
    margin-bottom: 10px;
}

.cybersecurity-not-complicated li img {
    margin-right: 10px;
    width: 40px;
}

.cybersecurity-not-complicated ul {
    padding-left: 0;
}

.cybersecurity-not-complicated {
    padding-top: 200px;
    padding-bottom: 200px;
}

.cybersecurity-not-complicated, .cybersecurity-not-complicated p {
    color: #cecece;
}

.blog-text-box {
    background: #fafafa;
    text-align: center;
    padding: 20px;
    transition: ease 0.3s;
    border-radius: 0.5rem;
}

.blog-text-box:hover {
    transform: scale(1.05);
}

#howCanHelp .blog-text-box {
    min-height: 400px;
}
#blogFeatures .blog-text-box {
    min-height: 190px;
}

.request-info {
    border-radius: 4px;
}

@media screen and (max-width: 1200px) {

    #howCanHelp .blog-text-box, #blogFeatures .blog-text-box {
        min-height: auto;
        margin-bottom: 20px;
    }

}

/* Chatbot - Banner blog animation */

.bot-animation-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* puoi cambiare la dimensione */
    aspect-ratio: 1 / 1; /* quadrato */
    overflow: hidden;
}

.bot-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* riempie il contenitore */
    transform: translate(-50%, -50%);
}


.chat-area{
    width: 300px;
    height: 400px;
    position: absolute;
    top: 50px;
    right: 15px;
}

.chat-bubble {
    background-color: #ebf0f2;
    padding: 8px 15px;
    -webkit-border-radius: 20px;
    -webkit-border-bottom-right-radius: 2px;
    -moz-border-radius: 20px;
    -moz-border-radius-bottomright: 2px;
    border-radius: 20px;
    border-bottom-right-radius: 2px;
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 8px
}

.chat-bubble-sx {
    background-color: #cf98bb;
    padding: 8px 15px;
    -webkit-border-radius: 20px;
    -webkit-border-bottom-left-radius: 2px;
    -moz-border-radius: 20px;
    -moz-border-radius-bottomleft: 2px;
    border-radius: 20px;
    border-bottom-left-radius: 2px;
    display: inline-block;
    position: absolute;
    left: 0px;
    top: 95px
}

.typing {
    align-items: center;
    display: flex;
    height: 17px
}

.typing .dot {
    animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
    background-color: #fcd0ed;
    border-radius: 50%;
    height: 7px;
    margin-right: 4px;
    vertical-align: middle;
    width: 7px;
    display: inline-block
}

.chat-bubble .typing .dot {
    background-color: #555555;
}

.typing .dot:nth-child(1) {
    animation-delay: 200ms
}

.typing .dot:nth-child(2) {
    animation-delay: 300ms
}

.typing .dot:nth-child(3) {
    animation-delay: 400ms
}

.typing .dot:last-child {
    margin-right: 0
}

@keyframes mercuryTypingAnimation {
    0% {
        transform: translateY(0px)
    }

    28% {
        transform: translateY(-7px)
    }

    44% {
        transform: translateY(0px)
    }
}

/* Chatbot - Banner blog animation */



@media screen and (max-width: 767px) {
    .chat-area {
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        height: 200px;
    }

    .bot-animation {
        top: 70%;
    }

}

/* iPhone video autoplay*/
.bot-animation::-webkit-media-controls {
    display: none !important;
}
