/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* =========================================================
   DIGITAL BAL MANDIR BLOG
   ========================================================= */

.dbm-blog-page {
    background: #fff;
    color: #252525;
}


/* ---------------------------------------------------------
   Container
   --------------------------------------------------------- */

.dbm-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.dbm-blog-hero {
    position: relative;
    padding: 75px 0 80px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 193, 7, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(239, 83, 80, 0.14),
            transparent 30%
        ),
        #fff9f2;
}


.dbm-hero-content {
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
}


.dbm-eyebrow {
    display: inline-block;

    margin-bottom: 15px;
    padding: 7px 16px;

    border-radius: 50px;

    background: #fff;
    color: #ef476f;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}


.dbm-blog-hero h1 {
    margin: 0 0 18px;

    color: #252525;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 800;
}


.dbm-blog-hero p {
    max-width: 650px;
    margin: 0 auto;

    color: #666;

    font-size: 18px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Blog Listing
   --------------------------------------------------------- */

.dbm-blog-listing {
    padding: 75px 0 90px;
}


/* ---------------------------------------------------------
   Grid
   --------------------------------------------------------- */

.dbm-blog-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* ---------------------------------------------------------
   Card
   --------------------------------------------------------- */

.dbm-blog-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #eeeeee;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.dbm-blog-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
}


/* ---------------------------------------------------------
   Image
   --------------------------------------------------------- */

.dbm-blog-image {
    display: block;

    position: relative;

    height: 230px;

    overflow: hidden;

    background: #f3f3f3;
}


.dbm-blog-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.dbm-blog-card:hover .dbm-blog-image img {
    transform: scale(1.05);
}


/* ---------------------------------------------------------
   Placeholder
   --------------------------------------------------------- */

.dbm-blog-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        135deg,
        #ffcf70,
        #ef476f
    );

    color: #fff;

    font-size: 20px;
    font-weight: 800;
}


/* ---------------------------------------------------------
   Card Content
   --------------------------------------------------------- */

.dbm-blog-card-content {
    padding: 25px 25px 28px;
}


/* ---------------------------------------------------------
   Meta
   --------------------------------------------------------- */

.dbm-blog-meta {
    display: flex;

    align-items: center;
    gap: 9px;

    margin-bottom: 12px;

    color: #888;

    font-size: 13px;
    font-weight: 600;
}


.dbm-meta-divider {
    color: #ef476f;
}


/* ---------------------------------------------------------
   Title
   --------------------------------------------------------- */

.dbm-blog-title {
    margin: 0 0 13px;

    font-size: 22px;
    line-height: 1.35;
    font-weight: 750;
}


.dbm-blog-title a {
    color: #272727;

    text-decoration: none;

    transition: color 0.25s ease;
}


.dbm-blog-title a:hover {
    color: #ef476f;
}


/* ---------------------------------------------------------
   Excerpt
   --------------------------------------------------------- */

.dbm-blog-excerpt {
    margin-bottom: 20px;

    color: #666;

    font-size: 15px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Read More
   --------------------------------------------------------- */

.dbm-read-more {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: #ef476f;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition: gap 0.25s ease;
}


.dbm-read-more:hover {
    gap: 13px;
    color: #d92e57;
}


.dbm-read-more span {
    font-size: 18px;
}


/* ---------------------------------------------------------
   Pagination
   --------------------------------------------------------- */

.dbm-pagination {
    margin-top: 55px;

    text-align: center;
}


.dbm-pagination ul {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.dbm-pagination li {
    margin: 0;
}


.dbm-pagination a,
.dbm-pagination span {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    padding: 0 14px;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    background: #fff;

    color: #333;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.25s ease;
}


.dbm-pagination a:hover,
.dbm-pagination .current {
    border-color: #ef476f;

    background: #ef476f;
    color: #fff;
}


/* ---------------------------------------------------------
   No Posts
   --------------------------------------------------------- */

.dbm-no-posts {
    padding: 80px 20px;

    text-align: center;
}


.dbm-no-posts h2 {
    margin-bottom: 10px;

    font-size: 32px;
}


.dbm-no-posts p {
    color: #777;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .dbm-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .dbm-container {
        width: min(100% - 30px, 600px);
    }


    .dbm-blog-hero {
        padding: 55px 0 60px;
    }


    .dbm-blog-hero h1 {
        font-size: 38px;
    }


    .dbm-blog-hero p {
        font-size: 16px;
    }


    .dbm-blog-listing {
        padding: 50px 0 65px;
    }


    .dbm-blog-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .dbm-blog-image {
        height: 220px;
    }


    .dbm-blog-card-content {
        padding: 22px;
    }


    .dbm-blog-title {
        font-size: 21px;
    }

}