/* Reset and Layout */
.ps-container-ea5d87f9 {
    width: 100%;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

/* Tabs Bar */
.ps-tabs-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.ps-filter-tab {
    cursor: pointer;
    border: 1px solid #000000;
    border-radius: 50px;
    padding: 10px 24px;
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.ps-filter-tab.active,
.ps-filter-tab:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* 4-Column Grid */
.ps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

/* Responsive Grid overrides */
@media (max-width: 1024px) {
    .ps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ps-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styling */
.ps-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.08);
}

/* Image Wrap with 16:9 Aspect Ratio and curved top corners */
.ps-card-image-wrap {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #f5f5f5;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.ps-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Content Area */
.ps-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Badge (Number) */
.ps-card-badge {
    background: #000000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 12px;
}

/* Question Heading H3 */
.ps-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Direct Answer */
.ps-card-answer {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 16px;
}

/* Checklist Block */
.ps-card-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.ps-card-checklist li {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.ps-checkmark {
    color: #000000;
    font-weight: bold;
    margin-right: 8px;
}

/* Full Width Capsule Button Pinned to Bottom */
.ps-card-cta-wrapper {
    margin-top: auto; /* Push CTA button to the bottom of the card */
}

.ps-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.ps-card-btn:hover {
    background-color: #333333;
}
