:root {
    --pros-pop-surface-container-low: #f6f2f7;
    --pros-pop-surface-lowest: #ffffff;
    --pros-pop-on-surface: #1b1b1e;
    --pros-pop-on-surface-variant: #434653;
    --pros-pop-primary: #003c90;
    --pros-pop-outline-variant: #c3c6d5;
    --pros-pop-success: #22c55e;
    --pros-pop-error: #ef4444;
}

.pros-pop-col {
    background-color: var(--pros-pop-surface-lowest);
    padding: 4rem 0; /* py-16 */
    border-bottom: 1px solid var(--pros-pop-outline-variant);
    font-family: 'Inter', sans-serif;
}

.pros-pop-col__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px; /* px-margin-mobile */
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 768px) {
    .pros-pop-col__container {
        padding: 0 48px; /* px-margin-desktop */
    }
}

.pros-pop-col__heading {
    font-size: 32px; /* headline-lg */
    font-weight: 600;
    line-height: 1.2;
    color: var(--pros-pop-on-surface);
    margin-top: 0;
    margin-bottom: 2rem; /* mb-8 */
}

.pros-pop-col__wrapper {
    display: grid;
    grid-template-columns: 1fr; /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) {
    .pros-pop-col__wrapper {
        grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
    }
}

@media (min-width: 1024px) {
    .pros-pop-col__wrapper {
        grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
    }
}

.pros-pop-col__card {
    display: flex;
    flex-direction: column;
    background-color: var(--pros-pop-surface-lowest);
    border: 1px solid var(--pros-pop-outline-variant);
    border-radius: 0.125rem; /* rounded-sm */
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease-in-out;
}

.pros-pop-col__card:hover {
    border-color: #a0a4b8; /* hover:border-outline */
}

.pros-pop-col__img-wrapper {
    position: relative;
    height: 240px; /* h-[240px] */
    width: 100%;
    overflow: hidden;
    background-color: var(--pros-pop-surface-container-low);
}

.pros-pop-col__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pros-pop-col__badge-wrapper {
    position: absolute;
    top: 0.5rem; /* top-2 */
    left: 0.5rem; /* left-2 */
}

.pros-pop-col__badge {
    display: inline-block;
    padding: 0.25rem 0.5rem; /* px-2 py-1 */
    font-size: 0.75rem; /* text-xs */
    font-weight: 700; /* font-bold */
    text-transform: uppercase;
    border-radius: 0.125rem; /* rounded-sm */
}

.pros-pop-col__badge--success {
    background-color: var(--pros-pop-success);
    color: #ffffff;
}

.pros-pop-col__badge--gray {
    background-color: #e3e1e6; /* surface-variant approximate */
    color: var(--pros-pop-on-surface);
}

.pros-pop-col__badge--error {
    background-color: var(--pros-pop-error);
    color: #ffffff;
}

.pros-pop-col__badge--primary {
    background-color: var(--pros-pop-primary);
    color: #ffffff;
}

.pros-pop-col__content {
    padding: 1rem; /* p-4 */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pros-pop-col__title {
    font-size: 18px; /* text-[18px] / headline-md */
    font-weight: 600; /* font-semibold */
    color: var(--pros-pop-on-surface);
    line-height: 1.4;
    margin: 0 0 0.25rem 0; /* mb-1 */
}

.pros-pop-col__desc {
    font-size: 16px; /* body-md */
    color: var(--pros-pop-on-surface-variant);
    margin: 0 0 1rem 0; /* mb-4 */
}

.pros-pop-col__link {
    margin-top: auto;
    font-size: 16px;
    font-weight: 500; /* font-nav-link */
    color: var(--pros-pop-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem; /* gap-1 */
}

.pros-pop-col__link:hover {
    text-decoration: underline;
    text-decoration-color: var(--pros-pop-primary);
}

.pros-pop-col__link-icon {
    font-size: 16px;
}
