/* Oxygen shortcode wrapper replaced the full-width code block. */
#shortcode-37-15165 { width: 100%; }
.ct-shortcode:has(.pet-card-grid) { width: 100%; }

.pet-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    padding: 20px 0;
}

.pet-album-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #f0f0f0;
}

.pet-album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
}

.card-description {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.4;
}

.card-badge {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f5f9;
    color: #0f172a;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-badge svg {
    stroke: #e11d48;
}
