.pgf-section {
    padding: 60px 0;
}

.pgf-subtitle-wrapper {
    display: inline-block;
    background: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 50px;
    padding: 5px 15px;
    margin-bottom: 15px;
}

.pgf-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-body-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pgf-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-heading-color);
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pgf-card {
    background-color: var(--bs-light);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pgf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pgf-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    /* Aspect Ratio */
    overflow: hidden;
}

.pgf-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pgf-card:hover .pgf-image-wrapper img {
    transform: scale(1.05);
}

.pgf-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pgf-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.pgf-post-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.pgf-post-title a:hover {
    color: var(--theme-primary);
}

.pgf-excerpt {
    font-size: 0.95rem;
    color: var(--bs-body-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pgf-footer {
    margin-top: auto;
}

.pgf-btn {
    display: block;
    width: 100%;
    background-color: var(--theme-primary);
    color: var(--bs-white);
    font-weight: 600;
    text-align: center;
    padding: 14px 0;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 0 0 16px 16px;
}

.pgf-btn-full {
    background: var(--theme-primary);
    color: var(--bs-white);
    font-weight: 600;
    text-align: center;
    padding: 15px;
    display: block;
    text-decoration: none;
}

.pgf-btn-full:hover {
    background: var(--theme-secondary);
    color: var(--bs-white);
}