/* search bar css */
section.blogs .searchform {
    max-width: 650px;
    width: 100%;
}

section.blogs .fg--search {
    background: white;
    position: relative;
    width: 100%;
}

section.blogs .fg--search input {
    width: 100%;
    height: 55px;
    padding: 10px 20px 10px 20px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #FAFAFA;
}

section.blogs .fg--search div.search-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 13px 20px 13px 10px;
    z-index: 2;
    color: #413F39;
}

section.blogs .fg--search input::placeholder {
    color: #9D9D9D;;
    font-family: var(--font-inter-regular);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
/* search bar css end */

section.blogs .blogs__content {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 24px; 
    grid-template-areas: 
        "blog1 blog2 blog3 blog3"
        "blog1 blog2 blog4 blog4"; 
}

.blog1 { grid-area: blog1; }
.blog2 { grid-area: blog2; }
.blog3 { grid-area: blog3; }
.blog4 { grid-area: blog4; }

section.blogs .blog3, section.blogs .blog4 {
    display: flex;
    flex-direction: row;
}

section.blogs .blog3 .blog__image, section.blogs .blog4 .blog__image {
    max-width: 296px;
    width: 100%;
    height: auto !important;
}

section.blogs .blog3 .blog__image img, section.blogs .blog4 .blog__image img {
    width: 296px;
    max-width: 296px;
}

section.blogs .blog3 .blog__text, section.blogs .blog4 .blog__text {
    width: 100%;
    max-width: 420px;
}

section.blogs .card {
    border-radius: 0;
    border: 1px solid #D6B448;
}

section.blogs .card .blog__image {
    height: 250px;
    overflow: hidden;
}

section.blogs .card .blog__text {
    background: #FFF;
    padding: 30px;
}

section.blogs .card img {
    transition: .5s ease-in-out;
    transform: scale(1);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

section.blogs .card svg {
    transition: transform 0.3s ease-in-out;
}

section.blogs .card:hover img {
    transform: scale(1.2);
}

section.blogs .card:hover a {
    color: var(--gold);
}

section.blogs .card:hover a svg path {
    fill: var(--gold);
}

section.blogs .card:hover a svg {
    transform: translateX(5px); /* Moves the SVG 5px to the right */
}

section.blogs .other-blogs .row {
    row-gap: 24px;
}

section.blogs .other-blogs .next, section.blogs .other-blogs .prev {
    border-radius: 500px;
    background: #1391C1;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none !important;
}

section.blogs .other-blogs .next:hover, section.blogs .other-blogs .prev:hover {
    background: #0E7096;
}

section.blogs .other-blogs .page-numbers {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #D6B448;
}

section.blogs .other-blogs .page-numbers.current {
    background: #D6B448;
    color: white;
    font-family: var(--font-inter-regular);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

section.blogs .other-blogs .page-numbers:not(.current, .next, .prev):hover {
    background: #D6B448;
    color: white;
    font-family: var(--font-inter-regular);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

section.blogs .other-blogs .card .blog__text {
    height: 100%;
}

@media (max-width: 1399px) {
    /* Add styles for screens smaller than 1399px here */
    section.blogs .blogs__content {
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: 1fr; 
        gap: 24px; 
        grid-template-areas: 
            "blog1 blog2"
            "blog3 blog3"
            "blog4 blog4"; 
    }

    section.blogs .blog3 .blog__image, section.blogs .blog4 .blog__image {
        max-width: 100%;
    }
}

@media (max-width: 1199px) {
    /* Add styles for screens smaller than 1199px here */
    section.blogs .searchform {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    /* Add styles for screens smaller than 991px here */
    section.blogs .blog3 .blog__image, section.blogs .blog4 .blog__image {

        height: 250px !important;
    }
}

@media (max-width: 767px) {
    section.blogs .blogs__content {
        display: grid; 
        grid-template-columns: 1fr; 
        /* grid-template-rows: 1fr;  */
        gap: 24px; 
        grid-template-areas: 
            "blog1"
            "blog2"
            "blog3"
            "blog4"; 
    }

    section.blogs .blog3, section.blogs .blog4 {
        flex-direction: column;
    }

    section.blogs .blog3 .blog__image img, section.blogs .blog4 .blog__image img {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 575px) {
    /* Add styles for screens smaller than 575px here */
}