/* GRID */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 570px);
    gap: 60px;
    justify-content: start; /* centers grid on page */
    margin-top: 40px;
	margin-bottom: 60px;
}

/* WRAPPER */
.post-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* CARD */
.post-card {
    width: 570px;
    height: 330px;
    display: block;
    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: -12px 12px 25px rgba(0, 0, 0, 0.25);

    text-decoration: none;
    overflow: hidden;
    border-radius: 20px;
    margin: 20px 0 30px 0;

    z-index: 0; /* important */
}

.post-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url("../images/white.png") center repeat;
    opacity: 0.9;

    -webkit-mask-image: linear-gradient(
        to right,
        black 0%,
        black 40%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.2) 85%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        black 0%,
        black 40%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.2) 85%,
        transparent 100%
    );

    z-index: 1;
    pointer-events: none;
}

/* TITLE TOP LEFT */
.post-title {
    position: absolute;
    top: 20px;
    left: 20px;
	font-family: var(--font-title);
    color: #033b80;
    font-size: 25px;
    line-height: 35px;
    font-weight: 500;
	width:45%;
    z-index: 2;
}

/* BUTTON UNDER CARD */
.post-button {
    margin-left:20px;
}


/* RESPONSIVE */
@media (max-width: 1280px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
    }

    .post-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
		margin:0;
		padding:0;
    }
	
	
	
.post-title {
    font-size: 20px;
    line-height: 30px;

}
}