.bg-4fd7ca31-container {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Header Grid Placement */
.bg-4fd7ca31-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.bg-4fd7ca31-tagline {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.bg-4fd7ca31-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.bg-4fd7ca31-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 1px solid #111111;
    padding: 12px 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
}

.bg-4fd7ca31-header-btn:hover {
    background-color: transparent;
}

/* Post Grid Layout */
.bg-4fd7ca31-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .bg-4fd7ca31-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bg-4fd7ca31-grid {
        grid-template-columns: 1fr;
    }
    .bg-4fd7ca31-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .bg-4fd7ca31-title {
        font-size: 32px;
    }
}

/* Card Styling */
.bg-4fd7ca31-card {
    border: 1px solid #E5E5E5;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bg-4fd7ca31-card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
}

.bg-4fd7ca31-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Grayscale tint effect matching the image */
.bg-4fd7ca31-grayscale img {
    filter: grayscale(100%);
}

.bg-4fd7ca31-grayscale:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.bg-4fd7ca31-placeholder-preview {
    width: 100%;
    background-color: #e5e5e5;
}

.bg-4fd7ca31-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bg-4fd7ca31-meta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bg-4fd7ca31-post-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.bg-4fd7ca31-post-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.bg-4fd7ca31-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bg-4fd7ca31-card-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.bg-4fd7ca31-arrow {
    transition: transform 0.3s ease;
}

.bg-4fd7ca31-card-btn:hover .bg-4fd7ca31-arrow,
.bg-4fd7ca31-header-btn:hover .bg-4fd7ca31-arrow {
    transform: translateX(4px);
}
