
.custom-post-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.custom-post-grid .post-item {
    display: flex;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
    flex-wrap: wrap; /* Allow wrapping for responsive design */
}
.custom-post-grid .post-item:hover {
    background-color: #f9f9f9;
}
.custom-post-grid .post-left {
    background-color: #e2e2e2;
    padding: 20px;
    width: 45%; /* Default width for larger screens */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center */
    align-items: center; /* Horizontally center */
    text-align: center;
    min-height: 200px; /* Optional: Ensure consistent height */
}
.custom-post-grid .post-right {
    padding: 20px;
    width: 55%; /* Default width for larger screens */
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
    .custom-post-grid .post-left,
    .custom-post-grid .post-right {
        width: 100%; /* Make both columns 100% on smaller screens */
    }
    .custom-post-grid .post-item {
        flex-direction: column; /* Stack columns vertically on mobile */
    }
}
.custom-post-grid h2, 
.custom-post-grid h3 {
    margin: 0 0 10px;
}
.custom-post-grid p {
    margin: 0 0 10px;
}
.custom-post-grid a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

/* my own css */

.post-left h2 {
    color: #005880 !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
}

.post-left h3 {
    color: #005880 !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
    margin-top: 10px !important;
    margin-bottom: 25px !important;
}

.post-left img {
    width: 34% !important;
    margin-bottom: 20px !important;
}

.post-left p {
    color: #005880 !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
}

.post-left p span{
    color: #FF0000 !important;
}

.post-right button {
    font-family: "Noto Sans", Sans-serif !important;
    font-size: 12px !important;
    line-height: 12px !important;
    font-weight: 400 !important;
    fill: #005880 !important;
    color: #005880 !important;
    background-color: #CBDBE2 !important;
    border-radius: 3px 3px 3px 3px !important;
    padding: 4px 8px 4px 8px !important;
    width: fit-content !important;
    margin-bottom: 10px !important;
    }

.post-right h3 {
    color: #000000 !important;
    font-family: "DM Sans", Sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 32px !important;
    margin-bottom: 15px !important;
}

.post-right p {
    color: #555555 !important;
    font-family: "DM Sans", Sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 23px !important;
    margin-bottom: 7px !important;
}

.post-right {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center  !important;
    }