/* =====================================
   NEWS GRID – Custom Card Styling
===================================== */

/* Your custom base shadow */
.dt-css-grid article.post.category-news-articles {
    box-shadow:
        0 25px 50px rgba(14, 36, 51, 0.08),
        0 10px 20px rgba(14, 36, 51, 0.05),
        inset 0 1px 0 rgba(255,255,255,0.7) !important;
}

/* Your hover */
.dt-css-grid article.post.category-news-articles:hover {
    box-shadow:
        0 0 35px 5px #d5d5d5,
        0 0 0 1px rgba(244,196,0,0.4) !important;
}

.blog-shortcode {
    overflow: visible !important;
}

/* Card container */
.dt-css-grid article.post.category-news-articles {

    position: relative;
    z-index: 1;

    background: #f3f3f3;
    border: 1px solid #f4c400;
    border-radius: 20px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition: all 0.3s ease;
}

/* Remove default theme padding */
.dt-css-grid .post-entry-content {
    padding: 35px 35px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Image wrapper rounded top */
.dt-css-grid .post-thumbnail-wrap {
    overflow: hidden;
}

.dt-css-grid .post-thumbnail-wrap img {
    width: 100%;
    display: block;
}

/* Title */
.dt-css-grid .entry-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 15px;
}

.dt-css-grid article.post.category-news-articles .entry-title a:hover {
    color: inherit !important;
}

/* Date */
.dt-css-grid .entry-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

/* Excerpt grows */
.dt-css-grid .entry-excerpt,
.dt-css-grid .post-excerpt {
    flex-grow: 1;
}

/* Compact centered button */
.dt-css-grid article.post .dt-btn {
    padding: 8px 18px;
    font-size: 12px !important;
    border-radius: 22px;
    margin: 25px auto 0;
    display: inline-block;
}

.dt-btn i.dt-icon-the7-arrow-03 {
    font-size: 9px !important;
    width: 10px !important;
    height: 10px !important;
}