/* Responsive Grid System */
.pbg-grid-container {
    display: grid;
    gap: 24px;
    width: 100%;
}

.pbg-cols-1 { grid-template-columns: repeat(1, 1fr); }
.pbg-cols-2 { grid-template-columns: repeat(2, 1fr); }
.pbg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.pbg-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .pbg-cols-tablet-1 { grid-template-columns: repeat(1, 1fr); }
    .pbg-cols-tablet-2 { grid-template-columns: repeat(2, 1fr); }
    .pbg-cols-tablet-3 { grid-template-columns: repeat(3, 1fr); }
    .pbg-cols-tablet-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
    .pbg-cols-mobile-1 { grid-template-columns: repeat(1, 1fr); }
    .pbg-cols-mobile-2 { grid-template-columns: repeat(2, 1fr); }
    .pbg-cols-mobile-3 { grid-template-columns: repeat(3, 1fr); }
    .pbg-cols-mobile-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Card Outer Styling */
.pbg-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pbg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.pbg-image-link {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.pbg-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pbg-card:hover .pbg-image-link img {
    transform: scale(1.05);
}

/* Content Area */
.pbg-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pbg-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.pbg-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.pbg-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pbg-title a:hover {
    color: #0d9488;
}

.pbg-excerpt {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Button */
.pbg-btn-wrap {
    margin-top: auto;
}

.pbg-btn {
    display: inline-block;
    padding: 10px 22px;
    background-color: #0d9488;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.pbg-btn:hover {
    background-color: #0f766e;
    color: #ffffff;
}

