
.brush_script_font {
    color: #D81251;
    font-family: "GoodBrush", cursive;
    font-weight: bold;
}


.practice-heading {
    position: relative;
    min-height: 230px;
    padding: 80px 20px 35px;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.practice-bg-title {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 800;
    color: rgba(0, 0, 0, 0.04);
    letter-spacing: 10px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.practice-main-title {
    position: relative;
    z-index: 1;
    margin: 35px 0 0;
    color: #292929;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
   

}
.heading-section {
    padding: 35px 0 65px;
    background: #fff;
}

.practice-featured-heading {
    margin-bottom: 30px;
    text-align: center;
    font-family: Roboto;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 56px;
    leading-trim: CAP_HEIGHT;
    line-height: 60px;
    letter-spacing: 0%;
    text-align: center;
}

.section-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 22px;
    border-radius: 30px;
    background: #fce7ef;
    color: #d81251;
    font-size: 15px;
    font-weight: 600;
}

.why-learn-content {
    max-width: 610px;
    margin: 0 auto;
    color: #222;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: break-word;
}


.why-learn-content h1,
.why-learn-content h2,
.why-learn-content h3 {
    color: #222;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 15px;
}

.why-learn-content p {
    margin-bottom: 15px;
}

.practice-featured-heading h2 {
    margin: 0;
    color: #222;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}


.practice-hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 auto 38px;
    padding: 0 0 0 28px;
}

/* Static Blue Background */
.practice-image-blue-bg {
    position: absolute;
    top: -20px;
    left: 0;
    width: 97%;
    height: 100%;
    background: #1B60CE;
    border-radius: 5px;
}

/* Dynamic Image */
.practice-hero-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    /* aspect-ratio: 1.95 / 1; */
    /* aspect-ratio: 16 / 9; */
    object-fit: cover;
    border-radius: 5px;
}

.practice-post-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 18px;
    padding: 7px 14px;
    background: #eef4ff;
    border-left: 3px solid #2162d5;
    border-radius: 4px;
    color: #2162d5;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Latest Posts Section */
.latest-post-section {
    padding: 35px 0 45px;
    background: #fff;
}

.latest-post-heading {
    margin-bottom: 30px;
    text-align: center;
}

.latest-post-heading h2 {
    margin: 0;
    color: #222;
    font-size: 32px;
    font-weight: 700;
}

/* Two-column grid */
.latest-post-list {
    row-gap: 25px;
}

.latest-post-item {
    margin-bottom: 0;
}

/* Whole card is clickable */
.latest-post-card {
    display: block;
    height: 100%;
    color: #222;
    text-decoration: none;
}

.latest-post-card:hover {
    color: #222;
    text-decoration: none;
}

/* Image */
.latest-post-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    border: 2px solid #e1e5eb;
    border-radius: 7px;
    background: #e8eef6;
}

.latest-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-post-card:hover .latest-post-image {
    transform: scale(1.04);
}

/* Blue gradient: strongest at the bottom */
.latest-post-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 91, 190, 0.96) 0%,
        rgba(31, 105, 201, 0.72) 28%,
        rgba(39, 115, 205, 0.28) 58%,
        rgba(39, 115, 205, 0) 100%
    );
    pointer-events: none;
}

/* Date badge at bottom-left of image */
.latest-post-date {
    position: absolute;
    z-index: 1;
    bottom: 7px;
    left: 8px;
    padding: 3px 6px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;
}

/* Title below image */
.latest-post-content {
    padding: 8px 2px 0;
}

.latest-post-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Description: maximum three lines */
.latest-post-description {
    display: -webkit-box;
    overflow: hidden;
    color: #333;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* See More */
.latest-post-more {
    margin-top: 30px;
    text-align: center;
}

#loadMorePosts {
    padding: 5px 10px;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

#loadMorePosts span {
    color: #d81251;
    font-size: 18px;
    vertical-align: -1px;
}

#loadMorePosts:hover {
    color: #d81251;
}

#loadMorePosts:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Mobile */
@media (max-width: 575px) {
    .latest-post-section {
        padding: 25px 0 35px;
    }

    .latest-post-heading {
        margin-bottom: 22px;
    }

    .latest-post-heading h2 {
        font-size: 27px;
    }

    .latest-post-list {
        row-gap: 20px;
        --bs-gutter-x: 14px;
    }

    .latest-post-image-wrap {
        aspect-ratio: 1.25 / 1;
    }

    .latest-post-title {
        font-size: 11px;
    }

    .latest-post-description {
        font-size: 9px;
        line-height: 1.55;
    }

    .latest-post-date {
        bottom: 5px;
        left: 5px;
        padding: 2px 4px;
        font-size: 8px;
    }
}
/* Responsive */
@media (max-width: 767px) {
    .practice-heading {
        min-height: 160px;
        padding: 55px 15px 25px;
    }

    .practice-bg-title {
        top: 20px;
        letter-spacing: 3px;
    }

    .practice-main-title {
        margin-top: 30px;
        font-size: 25px;
    }

    .why-learn-section {
        padding: 25px 0 40px;
    }

    .why-learn-content p {
        font-size: 17px;
        line-height: 1.7;
    }

    .why-learn-content .why-learn-intro {
        font-size: 21px;
    }

    .practice-hero-section {
        padding: 0 0 50px;
    }

    .practice-hero-image-wrap {
        border-radius: 12px;
    }

    .practice-hero-image {
        min-height: 200px;
    }

    .latest-post-section {
        padding: 20px 0 55px;
    }

    
}
