/* Branded Posts Grid – f302b5cd */

.bpg-f302b5cd-grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

.bpg-f302b5cd-cols-1 { grid-template-columns: 1fr; }
.bpg-f302b5cd-cols-2 { grid-template-columns: repeat(2, 1fr); }
.bpg-f302b5cd-cols-3 { grid-template-columns: repeat(3, 1fr); }
.bpg-f302b5cd-cols-4 { grid-template-columns: repeat(4, 1fr); }

.bpg-f302b5cd-card {
    border: 0.5px solid rgba(196, 119, 59, 0.2);
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bpg-f302b5cd-card:hover {
    box-shadow: 0 4px 20px rgba(196, 119, 59, 0.12);
    transform: translateY(-2px);
}

.bpg-f302b5cd-thumbnail {
    display: block;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px 8px 0 0;
}

.bpg-f302b5cd-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bpg-f302b5cd-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    color: #2C1810;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.bpg-f302b5cd-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bpg-f302b5cd-title a:hover {
    color: #C4773B;
}

.bpg-f302b5cd-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5C3D2E;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.bpg-f302b5cd-readmore {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #2C1810;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: auto;
}

.bpg-f302b5cd-readmore:hover {
    color: #C4773B;
}

/* Responsive */
@media (max-width: 1024px) {
    .bpg-f302b5cd-cols-3,
    .bpg-f302b5cd-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .bpg-f302b5cd-cols-2,
    .bpg-f302b5cd-cols-3,
    .bpg-f302b5cd-cols-4 {
        grid-template-columns: 1fr;
    }
}
