.news{
    video{
        width: 800px;
        height: 450px;
        display: flex;
        margin: 50px auto;
    }
}
.news_video {
    position: relative;
}

.video {
    margin-top: 150px;
    max-width: 1006px;
    position: relative;
    margin: auto;
    display: flex;

}

.news_video_start {
    position: absolute;
    top: 45%;
    left: 25%;
    z-index: 1;
}

.news_video_butten {
    display: flex;
    text-align: center;
    margin: 50px auto;
}

.news_video_butten a {
    text-decoration: none;

}

@media screen and (max-width: 768px) {
    .news{
        video{
            width: 90%;
            height:auto;
            display: flex;
            margin: 50px 20px;
        }
    }
    .video {
        max-width: 100%;
        height: 180px;
    }

    .news_video_start {
        top: 18%;
        left: 15%;
    }

}

/* --------------------------------------news_content-------------------------------------- */

.news_content_title {
    margin-top: 62px;
    font-size: 20px;
    text-align: center;
}

.news_content_boxs {
    display: flex;
    justify-content: center;
    gap: 20px;

}

.news_content_box {
    margin-top: 38px;
    background-color: #EDF8FF;
    padding: 52px;
    border-radius: 10px;
    max-width: 622px;
    height: 342px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.news_content_box_title {
    line-height: 1.5;
    margin-top: 40px;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #ED1D24;
}

.news_content_text {
    text-align: center;
    max-width: 742px;
    margin: 40px auto;
}

@media screen and (max-width: 768px) {
    .news_content_title {
        width: 100%;
        margin: 43px auto;
    }

    .news_content_boxs {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;

    }

    .news_content_box {
        margin: auto;
        max-width: 100%;
        height: 277px;
        gap: 20px;
        padding: 20px;
    }
    .news_content_box_title {
        margin-top: 0px;
        font-size: 18px;
    }
    .news_content_sub_title {
        margin: 46px auto;
        font-size: 18px;
        text-align: center;
        width: 100%;
    }

    .news_content_text {
        text-align: center;
        max-width: 100%;
    }


}

/* -----------------------------------strategy----------------------------------- */
.news_strategy {
    padding: 37px;
    margin: 64px 0;
    background: #F9F7F7;
    height: 554px;
    background-image: url(../image/bg_tavas_news.svg);
    background-position: center bottom;
    background-repeat: no-repeat;
}

.strategy_title,
.news_strategy_title {
    text-align: center;
}

.news_strategy_items {
    margin-top: 90px;
    display: flex;
    justify-content: center;
    gap: 20px;

}

.news_strategy_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 239px;
}

.news_strategy_item:not(:last-child)::after {
    content: '';
    width: 100%;
    height: 100%;
    border-left: 1px solid #B3DDFF;
    position: absolute;
    top: 0;
    right: 10px;
}

.news_strategy_item_title {
    font-size: 20px;
    text-align: center;
    color: #ED1D24;
    font-weight: 700;
    line-height: 1.5;
}

.news_strategy_item_link {
    text-align: center;
    line-height: 1.5;
    color: #0081E8;

}

.news_strategy_item_text {
    font-size: 20px;
    text-align: center;
    line-height: 1.5;
    color: #58595B;
    padding: 0 20px;

}

@media screen and (max-width: 768px) {
    .news_strategy {
        padding: 37px;
        height: 366px;
    }

    .news_strategy_title {
        line-height: 1.5;
    }

    .news_strategy_slider {
        position: relative;
        overflow: hidden;
        padding-bottom: 92px;
        margin-top: 72px;
    }

    .news_strategy_item {
        position: relative;
        width: 100%;
    }

    .news_strategy_item:not(:last-child)::after {
        display: none;
    }

    .news_strategy_item_title {
        font-size: 18px;
    }

    .news_strategy_item_link {
        font-size: 18px;
    }

    .news_strategy_item_text {
        font-size: 18px;

    }

}

/* ----------------------------------------robot---------------------------------------- */

.news_robot_title_1,
.news_robot_title_2 {
    font-size: 42px;
}

.news_robot_text {
    margin-top: 36px;
    font-size: 20px;
    color: #4D4D4D;
    line-height: 1.53;
}
.news-detail-text {
  margin: 36px 0px;
    font-size: 20px;
    color: #4D4D4D;
    line-height: 1.53;
}

.news_robot_box_1,
.news_robot_box_2 {
    margin-top: 119px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;


}

.news_robot_box_1_right {
    width: 50%;
    max-width: 672px;
}

.news_robot_box_1_items,
.news_robot_box_2_items {
    margin-top: 50px;
    display: flex;
    flex-direction: column;

}

.news_robot_box_1_items {
    padding-bottom: 20px;
}

.news_robot_box_1_item {
    display: flex;
    gap: 20px;
    position: relative;
    align-items: start;
    padding: 20px 0;
}

.news_robot_box_1_item:not(:last-child)::after {
    content: '';
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #B3DDFF;
    position: absolute;
    top: 0;
    left: 0;
}

.news_robot_box_1_item_title {
    font-size: 20px;
    color: #ED1D24;
    font-weight: 700;
    line-height: 1.5;
}

.news_robot_box_1_item_text,
.news_robot_box_2_text {
    font-size: 20px;
    max-width: 672px;
    line-height: 1.5;
    color: #58595B;

}

.news_robot_box_2_items {
    margin: auto;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

.news_robot_box_2_item {
    padding: 20px;
    display: flex;
    justify-content: center;
}
.news_robot_box_1_img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}
@media screen and (max-width: 768px) {

    .news_robot_title_1,
    .news_robot_title_2 {
        font-size: 35px;
        align-items: flex-start;
    }

    .news_robot_text {
        margin-top: 28px;
    }

    .toggle-content {
        /* display: none; */
        transition: all 0.3s ease;
        padding-top: 10px;
    }

    /* .toggle-item.open .toggle-content {
        display: block;
    } */

    .news_robot_box_1_item_header.toggle-header {
        display: flex;
        justify-content: space-between;
        width: 70vw;
    }

    .service-arrow {
        transition: transform 0.3s ease;
    }

    .toggle-item.open .service-arrow {
        transform: rotate(180deg);
    }
    .toggle-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
      }
      
      .toggle-item.open .toggle-content {
        max-height: 1000px; /* מספיק גבוה לכל טקסט */
      }
      

    .news_robot_box_1,
    .news_robot_box_2 {
        margin-top: 41px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;


    }

    .news_robot_box_1_right {
        width: 100%;

    }

    .news_robot_box_1_items,
    .news_robot_box_2_items {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
    }

    .news_robot_box_1_items {
        padding-bottom: 20px;
        width: 100%;
    }

    .news_robot_box_1_item {
        padding: 20px 0;
    }

    .news_robot_box_1_item_text,
    .news_robot_box_2_text {
        font-size: 18px;
    }

    .news_robot_box_2_items {
        margin: auto;
        order: 1;
        padding: 20px;
        width: 100%;
    }

    .news_robot_box_2_item {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 110px;
    }

    .news_robot_box_2_text {
        order: 0;
    }
    .news_robot_box_1_img {
        width: 100%;
        margin: auto;
   
    }
}

/* ------------------------------------rooms------------------------------------ */
.news_rooms {
    /* height: 1142px; */
    margin-top: 129px;
    background: #F9F7F7;
    padding: 72px;
}

.news_rooms_flex {
    margin-top: 36px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news_rooms_right {
    max-width: 50%;
}
.news_rooms_left {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
    margin: auto;
}
.news_rooms_title_1,
.news_rooms_title_2 {
    font-size: 42px;
}

.news_rooms_items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news_rooms_item {
    display: flex;
    gap: 20px;
    position: relative;
    padding: 10px 0;
}

.news_rooms_item:not(:last-child)::after {
    content: '';
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #B3DDFF;
    position: absolute;
    top: 0;
    left: 0;
}

.news_rooms_button_item {
    margin: 54px 0;
}

@media screen and (max-width: 768px) {
    .news_rooms {
        height: auto;
        margin-top: 56px;
        padding: 45px 20px;
    }

    .news_rooms_flex {
        margin-top: 0px;
        flex-direction: column;
        gap: 0;
    }

    .news_rooms_items {
        margin: 33px auto;
        width: 100%;
    }

    .news_rooms_right {
        max-width: 100%;
    }

    .news_rooms_title_1,
    .news_rooms_title_2 {
        font-size: 35px;
    }

    .news_rooms_text_1 {
        margin-top: 28px;
    }

    .news_rooms_text_2 {
        margin: 0;
    }

    .news_rooms_item_title {
        font-size: 20px;
        line-height: 1.5;
    }

    .news_rooms_button_item {
        margin: 57px auto;
    }

    .news_rooms_item:last-child::after {
        content: none;
    }

    .news_rooms_left img {
        height: 296px;
        margin: -16px auto;
    }
}

/* ------------------------------------height------------------------------------ */
.news_height_flex {
    margin-top: 94px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news_height_right {
    width: 50%;
    max-width: 738px;
}

.news_height_title {
    font-size: 42px;
}

.news_height_text {
    margin-top: 36px;
}
.news_height_left {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

@media screen and (max-width: 768px) {
    section.news_height.container {
        height: auto;
        padding-bottom: 50px;
    }

    .news_height_flex {
        margin-top: 50px;
        flex-direction: column;
    }

    .news_height_right {
        width: 100%;
        max-width: 100%;
    }

    .news_height_title {
        font-size: 35px;
    }

    .news_height_text {
        margin-top: 36px;
    }
    .news_height_left {
        width: 200px;
        margin: auto;
    }
    .news_height_left img {
        margin: auto;
    }

}

/* -------------------------------------tpt------------------------------------- */
.news_tpt {
    height: 704px;
    margin-top: 94px;
    margin-bottom: 5px;
    padding: 77px 0;
    background: #F9F7F7;
}

.news_tpt_right {
    width: 50%;
    max-width: 738px;
}

.news_tpt_flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news_tpt_title_1,
.news_tpt_title_2 {
    font-size: 42px;
}

.news_tpt_text {
    margin-top: 43px;
}

.news_tpt_button_item {
    margin: 43px 0;
}
.news_tpt_left {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}
@media screen and (max-width: 768px) {
    .news_tpt {
        height: auto;
        margin-top: 0px;
        padding: 48px 0;
    }

    .news_height_text {
        margin-top: 37px;
    }

    .news_tpt_right {
        width: 100%;
        max-width: 100%;
    }

    .news_tpt_flex {
        flex-direction: column;
    }

    .news_tpt_title_1,
    .news_tpt_title_2 {
        font-size: 35px;
    }

    .news_tpt_text {
        margin-top: 43px;
        margin-bottom: 27px;
    }

    .news_tpt_left {
        order: 1;
        /* margin: 37px auto; */
        width: 100%;
    }
    /* .news_tpt_left img{
       height: 194px;
    } */

    .news_tpt_button_item {
        margin: 37px auto;
        height: 56px;
        width: 100%;
        padding: 0 24px;
    }
}

/* ------------------------------------articles------------------------------------ */
/* ========================================================================= */

/* ////////////  The design is located in home.css under blog.  //////////          */

    .box-blog-img {
    width: 100%; 
    height: 329px;
    overflow: hidden; 
}

.box-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
    border-radius: 20px;
}
.box-blog-subtitle-articles {
    height: 120px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    word-wrap: break-word;
    max-height: 4.2em; /* 3 שורות * 1.4 line-height */
}
 
/* ========================================================================== */
.box-blog-articles {
    flex-wrap: wrap;
}

@media screen and (max-width:768px) {
    .box-blog-articles {
        padding: 20px;
    }
}

/* ---------------------------------single------------------------------------------------ */
.single_banner {
    background: #EDF8FF;
    margin-top: 150px;
    padding: 75px;
}

.single_banner_flex {

    display: flex;
    justify-content: center;
    gap: 150px;
}

.single_banner_right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    max-width: 397px;
}
.single_banner_left img{
    width: 750px;
    height: 500px;
}
.single_banner_date {
    color: #ED1D24;
    font-size: 16px;
    line-height: 1.5;
}

.single_banner_title {

    font-size: 42px;
    font-weight: 300;
    color: #58595B;

}

.single_banner_role {
    font-size: 20px;
    font-weight: 600;
    color: #58595B;
}

.single_banner_text {
    font-size: 20px;
    color: #58595BB2;
    line-height: 1.5;
}

.single_banner_links {
    display: flex;
    gap: 10px;
}
.single_banner_img img{
border-radius: 20px;
clip-path: inset(0 100% 0 0);
transition: clip-path 1s ease-out;
}
.single_content {
    max-width: 1004px;
    margin: auto;
    position: relative;
}

.single_content::after {
    content: '';
    width: 100%;
    height: 100%;
    border-bottom: 1.1px solid #D3EBFF;
    position: absolute;
    top: 93px;
    left: 0;
    pointer-events: none;
}
.more_articles.container {
    margin-top: 186px;
}
.single_content_sub_title {
    color: #58595B;
    line-height: 1.5;
    font-weight: 700;
    font-size: 20px;
    margin-top: 49px;
    margin-bottom: 19px;
}

.single_content_box {
    margin: 49px 0;
    background: #F9F7F7;
    height: 246px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 54px;
}

.single_content_img img {
    margin: 72px auto;
    display: flex;
    flex-direction: column;
    max-width: 749px;
    border-radius: 20px;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-out;
}

.single_content_img_text {
    color: #58595BB2;
    margin: -50px auto 20px;
    max-width: 749px;
}

.copy-link-btn,
.share-link-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.copy-wrapper {
    position: relative;
    display: inline-block;
}

.copy-toast {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    background-color: #1e90ff;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {
    .single_banner {
        margin-top: 56px;
        padding: 80px 20px 40px;
    }

    .single_banner_flex {
        flex-direction: column;
        gap: 20px;
    }

    .single_banner_left {
        order: 0;
    }
    .single_banner_left img {
        height: auto;
    }

    .single_banner_right {
        max-width: 100%;
        order: 1;
    }

    .single_banner_date {
        font-size: 14px;
    }

    .single_banner_title {
        font-size: 35px;
        line-height: 1.2;
    }

    .single_banner_role {
        font-size: 18px;
        line-height: 1.2;
        font-weight: 400;
    }

    .single_banner_text {
        font-size: 18px;
    }

    .single_content {
        max-width: 100%;
    }

    .single_content_sub_title {
        font-size: 18px;
        margin-top: 49px;
        margin-bottom: 19px;
    }

    .single_content_box {
        margin: 49px 0;
        height: 314px;
        padding: 30px;
    }
    .single_content_text {
        padding-bottom: 20px;
    }
    .single_content_img {
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
    .single_content_img img{
        max-width: 100%;
        margin: 0;
    }

    .single_content_img_text {
        margin-top: 18px;
    }
    .single_content::after {
        top: 55px;
    }
    .more_articles.container {
        margin-top: 110px;
    }

}