.icg-983e8a8d-grid {
    display: grid;
    box-sizing: border-box;
    width: 100%;
}

.icg-983e8a8d-card {
    position: relative;
    box-sizing: border-box;
    border-top: 4px solid #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none; /* Strip link underlines */
    color: inherit;
}

.icg-983e8a8d-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
}

/* Card Content Spacing & Padding */
.icg-983e8a8d-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

/* Full Card Background Image Layout */
.icg-983e8a8d-card.icg-983e8a8d-has-bg-img {
    border-top: none;
    min-height: 280px;
    justify-content: flex-end;
}

.icg-983e8a8d-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.4s ease;
}

.icg-983e8a8d-card:hover .icg-983e8a8d-bg-img {
    transform: scale(1.05);
}

.icg-983e8a8d-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    transition: background 0.3s ease;
}

/* Top Cover Image Layout */
.icg-983e8a8d-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.icg-983e8a8d-top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.icg-983e8a8d-card:hover .icg-983e8a8d-top-img {
    transform: scale(1.05);
}

/* Icons */
.icg-983e8a8d-icon {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
    z-index: 2;
}

.icg-983e8a8d-icon svg, 
.icg-983e8a8d-icon i {
    fill: currentColor;
    color: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Titles and Typography */
.icg-983e8a8d-title {
    margin: 0 0 12px 0;
    font-weight: 600;
    line-height: 1.3;
    z-index: 2;
}

.icg-983e8a8d-desc {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    z-index: 2;
}
