/* Wrapper Grid */
.lrg-30a81863-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    justify-content: center; /* Center the grid items horizontally */
}

/* For centering when items are fewer than max columns */
@media (min-width: 1025px) {
    .lrg-30a81863-wrapper {
         grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .lrg-30a81863-wrapper {
         grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile: Full Width */
@media (max-width: 767px) {
    .lrg-30a81863-wrapper {
        grid-template-columns: 1fr; /* Force 1 column taking full width */
        width: 100%;
        max-width: 100%; /* Ensure no max-width restricts it */
    }
    
    .lrg-30a81863-card {
        width: 100%; /* Force card to 100% */
        margin: 0; /* Remove potential unwanted margins */
    }
}

/* Card */
.lrg-30a81863-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eaeaea;
    transition: all 0.4s ease;
    height: 100%;
    overflow: hidden;
    width: 100%; /* Ensure card stretches to grid cell */
}

.lrg-30a81863-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* Image */
.lrg-30a81863-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.lrg-30a81863-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Content Area */
.lrg-30a81863-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Typography elements */
.lrg-30a81863-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 10px;
    font-weight: 600;
}

.lrg-30a81863-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: #222;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.lrg-30a81863-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the rest to the bottom */
}

/* Features */
.lrg-30a81863-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.lrg-30a81863-feature-tag {
    font-size: 12px;
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 3px;
    color: #555;
    border: 1px solid #f0f0f0;
}

/* Divider */
.lrg-30a81863-divider {
    height: 1px;
    background: #eaeaea;
    margin-bottom: 20px;
    width: 100%;
}

/* Footer Row */
.lrg-30a81863-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.lrg-30a81863-price {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.lrg-30a81863-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lrg-30a81863-cta-icon {
    transition: transform 0.3s ease;
}

.lrg-30a81863-cta:hover {
    color: #555;
}

.lrg-30a81863-cta:hover .lrg-30a81863-cta-icon {
    transform: translateX(3px);
}
