.banner-img-child {
    width: 100%;
    overflow: hidden;
}


.banner-img-child img {
    width: 100%;
    height: 620px;
    object-fit: contain;
}

/* article card */

.article-header {
    background-color: #f8f9fa;
    color: black;
    width: 60%;
    margin: auto;
    padding: 9px 60px;
    position: relative;
    bottom: 140px;
    border-radius: 27px;
}

.title-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.title-wrapper button {
    color: #fff;
    background: #73bb44;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
}

.mmain-title {
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
    font-weight: bolder;
}

.meta-post {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meta-post img {
    width: 40px;
    height: 40px;
}

.name-author {
    font-weight: 600;
}

.comment-link {
    text-decoration: none;
    color: inherit;
}


/* Q section */

.blog-content {
    position: relative;
    bottom: 100px;
    max-width: 700px;
    margin: 0 auto;
    padding: 11px 39px;
    line-height: 1.8;
    font-size: 1rem;
}

.blog-content .dropcap {
    position: relative;
    text-align: justify;
}

.dropcap-letter {
    float: left;
    font-size: 4rem;
    line-height: 1;
    font-weight: bold;
    margin-right: 12px;
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #73bb44
}

.blog-content .iimage-row {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}



/* quote */

.pull-quote {
    font-size: 20px;
    border-left: 4px solid #6600ff;
    padding: 20px 30px;
    margin: 40px 0;
}

.pull-quote::before,
.pull-quote::after {
    font-family: 'Times New Roman', serif;
    font-size: 40px;
    color: #6600ff;
    opacity: 0.7;
}

.pull-quote::before {
    content: open-quote;
    left: -20px;
    top: -20px;
}

.pull-quote::after {
    content: close-quote;
    right: -20px;
    bottom: -40px;
}

.full-img {
    width: 100%;
}


/* posts section */
.posts-container {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 250px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.blog-card p {
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.blog-card span {
    background-color: #6600ff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline;
    width: 50px;
    padding: 0px 5px;
    border-radius: 12px;
    text-align: center;
    margin: 5px;
}
.blog-card p:hover {
    color: green;
}

.blog-card h4 {
    font-size: 20px;
    margin: 0px;
    font-weight: bolder;
    cursor: pointer;
}

/* Add this to your CSS file */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 50%;

}

.blog-card-link:hover .blog-card {
    /* Add any hover effects you want */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* footer */





/* ***************************************************media query*********************************** */

@media screen and (max-width: 786px) {
    .article-header {
        width: 60%;
    }

    .mmain-title {
        font-size: 28px;
    }

    .meta-post {
        gap: 17px;
    }

    .meta-post time {
        font-size: 12px;
    }

    .name-author {
        font-size: 12px;
    }

    .comment-link {
        font-size: 12px;
    }

    .footer-right {
        gap: 50px;
        margin-top: 40px;
    }

    .footer-bottom-child {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .banner-img-child img {
        /* maybe make it shorter on phones */
        height: 40vh;
        /* for Approach 1 */
        /* or reduce padding-top for Approach 2 */
    }
}





@media screen and (max-width: 480px) {
    .article-header {
        width: 50%;
    }

    .mmain-title {
        font-size: 19px;
    }

    .meta-post {
        gap: 10px;
    }

    .meta-post time {
        font-size: 8px;
    }

    .name-author {
        font-size: 8px;
    }

    .comment-link {
        font-size: 8px;
    }
}

@media screen and (max-width: 412px) {
    .footer-bottom-child {
        width: 85%;
    }
}

@media screen and (max-width: 320px) {
    .article-header {
        width: 40%;
    }

    .mmain-title {
        font-size: 15px;
    }

    .meta-post {
        gap: 10px;
    }

    .meta-post time {
        font-size: 8px;
    }

    .name-author {
        font-size: 8px;
    }

    .comment-link {
        font-size: 8px;
    }

    .footer-bottom-child {
        width: 80%;
    }
}