.cta-grid-48f29f09 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .cta-grid-48f29f09 {
        grid-template-columns: 1fr !important;
    }
    .cta-card-48f29f09.span-2 {
        grid-column: span 1 !important;
    }
}

.cta-card-48f29f09 {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    text-decoration: none;
    color: #fff;
    background: #eaeaea;
    transition: transform 0.3s ease;
}

.cta-card-48f29f09:hover {
    transform: translateY(-5px);
}

.cta-card-48f29f09.span-2 {
    grid-column: span 2;
}

/* Text Overlay Layout (Standard) */
.cta-card-48f29f09.text-overlay-48f29f09 .cta-card-bg-48f29f09 {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-card-48f29f09.text-overlay-48f29f09 .cta-card-content-48f29f09 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
}

/* Text Below Layout (New) */
.cta-card-48f29f09.text-below-48f29f09 {
    min-height: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.cta-card-48f29f09.text-below-48f29f09 .cta-card-bg-48f29f09 {
    position: relative;
    height: 240px;
    width: 100%;
    z-index: 1;
}

.cta-card-48f29f09.text-below-48f29f09 .cta-card-content-48f29f09 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
    flex-grow: 1;
    background: #ffffff;
}

/* Force Pill Tag to stay overlayed at top-left of card */
.cta-card-48f29f09.text-below-48f29f09 .cta-top-48f29f09 {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}

.cta-card-48f29f09.text-below-48f29f09 .cta-heading-48f29f09 {
    color: #0f172a;
    font-size: 24px;
}

.cta-card-48f29f09.text-below-48f29f09 .cta-desc-48f29f09 {
    color: #475569;
}

.cta-card-48f29f09.text-below-48f29f09 .cta-button-48f29f09 {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    align-self: flex-end;
    background: #f1f5f9;
    color: #0f172a;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.cta-card-48f29f09.text-below-48f29f09:hover .cta-button-48f29f09 {
    background: #0f172a;
    color: #ffffff;
}

.cta-card-bg-48f29f09 img,
.cta-card-bg-48f29f09 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-top-48f29f09 {
    display: flex;
    justify-content: flex-start;
    margin-bottom: auto;
}

.cta-tag-48f29f09 {
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-bottom-48f29f09 {
    max-width: 80%;
}

.cta-heading-48f29f09 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: #fff;
}

.cta-desc-48f29f09 {
    font-size: 15px;
    margin: 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.cta-button-48f29f09 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    right: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-card-48f29f09:hover .cta-button-48f29f09 {
    background: #333;
    color: #fff;
}
