/* -----------------------------------------------------------------
    Custom News/Blog Styling for DPAY (Light Gray Theme)
----------------------------------------------------------------- */

.news-section.white-theme {
    background-color: var(--bg3) !important;
    /* Using the theme's light gray variable */
}

.news-section.white-theme .section-title h2 {
    color: #1F2937 !important;
    /* Dark grayish blue for contrast */
}

.news-white-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    margin-bottom: 30px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f2f2f2;
}

.news-white-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.08);
}

.news-white-card .thumb {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.news-white-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.news-white-card:hover .thumb img {
    transform: scale(1.1);
}

.news-white-card .content {
    padding: 30px;
}

.news-white-card .content ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}

.news-white-card .content ul li a {
    display: inline-block;
    padding: 4px 15px;
    background: #f8f5ff;
    color: var(--theme);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-white-card .content ul li a:hover {
    background: var(--theme);
    color: #ffffff;
}

.news-white-card .content ul li span {
    font-size: 13px;
    color: #888;
}

.news-white-card .content h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

.news-white-card .content h3 a {
    color: #111;
    transition: all 0.3s ease;
}

.news-white-card .content h3 a:hover {
    color: var(--theme);
}

.news-white-card .news-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;
}

.news-white-card .news-bottom .link-btn {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-white-card .news-bottom .link-btn:hover {
    color: var(--theme);
}

.news-white-card .news-bottom p {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}