.cg-b5a45f0c-wrapper {
    width: 100%;
}

.cg-b5a45f0c-grid {
    display: grid;
    width: 100%;
}

.cg-b5a45f0c-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.cg-b5a45f0c-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cg-b5a45f0c-image-wrapper.cg-ratio-1-1 {
    padding-bottom: 100%;
}

.cg-b5a45f0c-image-wrapper.cg-ratio-4-3 {
    padding-bottom: 75%;
}

.cg-b5a45f0c-image-wrapper.cg-ratio-3-2 {
    padding-bottom: 66.66%;
}

.cg-b5a45f0c-image-wrapper.cg-ratio-16-9 {
    padding-bottom: 56.25%;
}

.cg-b5a45f0c-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.cg-b5a45f0c-placeholder-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e7eb;
}

.cg-b5a45f0c-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cg-b5a45f0c-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.cg-b5a45f0c-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.cg-b5a45f0c-card:hover .cg-b5a45f0c-title {
    opacity: 0.8;
}

.cg-b5a45f0c-count {
    font-size: 0.875rem;
    color: #6b7280;
}

.cg-b5a45f0c-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cg-b5a45f0c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background-color: #1f2937;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-top: auto;
    align-self: flex-start;
}

.cg-b5a45f0c-card:hover .cg-b5a45f0c-button {
    background-color: #374151;
}
