/* Neosoft Dynamic Menu Card Container */
.neosoft-dynamic-menu-card { width: 393px; max-width: 100%; margin-left: auto; font-family: inherit; }
.neosoft-dynamic-menu-card a { padding: 0 !important;}
/* Case Study Card CSS (Exact from casestudies.css) */
.case-card { border-radius: 5px; overflow: hidden; position: relative; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); background: transparent; }
.case-carousel-img { position: relative; overflow: hidden; height: 238px; }
.case-carousel-img img { width: 100%; height: 100%; object-fit: cover; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.case-card:hover .case-carousel-img img { transform: scale(1.05); }
.case-studies-carousel-text { padding: 3.2rem 2.1rem; position: absolute; top: 100%; left: 0; right: 0; background: rgba(34, 34, 36, 0.29); height: 200px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); z-index: 1; transform: translateY(-148px); }
.case-card:hover .case-studies-carousel-text { transform: translateY(-84%); height: 78%; background-color: rgba(0, 0, 0, 0.45); padding-top: 24px; }
.case-studies-carousel-text .case-studies-desc { opacity: 0; visibility: hidden; font-size: 0.875rem; transition: all 0.4s ease; position: absolute; left: 20px; right: 24px; margin: 0; color: #fff; }
.case-card:hover .case-studies-carousel-text .case-studies-desc { opacity: 1; visibility: visible; }
.tag-date { display: flex; gap: 10px; color: #fff; margin-bottom: 20px; }
.tag-badge { font-size: 14px; color: #fff; }
.card-heading-flex {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1.8rem;
    margin-top: 0;
    color: #fff;
}
/* Article Card CSS */
.artl-card{
    width: 380px;
    background:#2a2a2f;
    overflow:hidden;
    padding: 3rem;
}
.artl-card img{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
}
.artl-content{
    padding:25px 0 15px;
}
.artl-content .date {
    color: #9d9d9d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 200;
}
.artl-title{
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    line-height: 1.4;
    font-weight: 400;
    margin-top: 0;
}
.artl-card .card-footer{
    display:flex;
    justify-content:flex-start;
    align-items:center;
}
.artl-card .card-footer .btn {
    font-size: 1.6rem;
    line-height: 2.2rem;
}
/* News Image Card CSS */
.image-card { position: relative; border-radius: 5px; overflow: hidden; }
.image-card img { width: 100%; height: 238px; object-fit: cover; }
.image-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; }
.nr-date { font-size: 12px; margin-bottom: 5px; }
.image-content h3 { font-size: 18px; margin: 0 0 10px; }
.image-content p { font-size: 13px; margin: 0; opacity: 0.9; }

/* New Card CSS */
.card0 {
    width: 380px;
    overflow: hidden;
    background: #1b1b1b;
    position: relative;
}

.card0 img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.card-content .btn {
    font-size: 1.6rem !important;
    line-height: 2.2rem !important;
    padding: 1rem 1.5rem !important;
}

.btn span {
    font-size: 18px;
}

/* Event Card CSS */
.event-card { background: #fff; transition: 0.4s; width: 100%; height: auto; display: flex; flex-direction: column; overflow: hidden; }
.event-image { overflow: hidden; height: auto; flex-shrink: 0; }
.event-image img { width: 100%; transition: 0.5s; height: auto; display: block; object-fit: cover; aspect-ratio: 16/9; }
.event-content { padding: 16px 20px; display: flex; flex-direction: column; flex: 1; }
.event-title { font-size: 18px !important; font-weight: 600 !important; color: #000 !important; padding-bottom: 12px; margin: 0; line-height: 1.2 !important; }
.event-info { display: flex; gap: 10px; margin-bottom: 10px; color: #2B2B2B; font-size: 12px; line-height: 1.1; }
.event-info i { color: #2B2B2B; line-height: 1; }
.event-info-icon::before { content: ""; width: 15px; height: 15px; display: inline-flex; margin: 0; padding: 0; max-width: 100%; }
i.fa-calendar::before { background: url(/wp-content/themes/neosoft/app/images/event-calendar-icon.svg); background-size: contain; background-repeat: no-repeat; }
.event-info span { font-size: 15px !important; font-weight: 400 !important; color: #2B2B2B !important; }
i.fa-location-dot::before { background: url(/wp-content/themes/neosoft/app/images/event-location-icon.svg); background-size: contain; background-repeat: no-repeat; }
.event-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: auto; padding-top: 10px; flex-wrap: nowrap; }
.booth-btn { background: #EF1119 !important; color: #fff !important; border: none !important; height: 36px !important; padding: 0 16px !important; font-size: 12px !important; font-weight: 600 !important; display: flex !important; align-items: center !important; justify-content: center !important; white-space: nowrap !important; transition: 0.3s !important; cursor: pointer !important; text-decoration: none !important; border-radius: 4px !important; }
.register-link { display: flex !important; align-items: center !important; gap: 8px !important; color: #2B2B2B !important; font-size: 14px !important; font-weight: 600 !important; white-space: nowrap !important; transition: 0.3s !important; cursor: pointer !important; margin-left: auto !important; text-decoration: none !important; }
.register-link svg { width: 14px; height: 14px; }

/* Blog Card CSS */
.blog-card {
    background: #28282c;
    transition: 0.4s;
    width: 380px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 3rem;
}
.blog-image {
    overflow: hidden;
    height: auto;
    flex-shrink: 0;
}
.blog-image img {
    width: 100%;
    transition: 0.5s;
    height: 200px;
    object-fit: cover;
}
.blog-content {
    padding: 25px 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blogsection__date {
    font-size: 1.2rem;
    font-weight: 200;
    color: #9f9f9f;
    padding-bottom: 0;
    margin-bottom: 1rem;
}
.blog-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    padding-bottom: 25px;
    margin: 0;
    line-height: 1.4;
}

/* Responsive on small device */

@media only screen and (max-width: 1024px) {
    .card-content .btn {
        padding: 1rem 1.5rem !important;
        width: 140px;
        font-size: 1.4rem !important;
    }
}
@media (max-width: 1024px) {
.neosoft-dynamic-menu-card {
        width:310px;
    }
            .card0 {
                width: 100%;
                height: 320px;
            }
            .card-heading-flex {
                font-size: 1.6rem;
            }
            
        }