.unimes-discount-grid-container-736fbfa8 {
    --color-presencial: #0A2540;
    --color-ead: #7B1E3A;
    --card-radius: 16px;
    font-family: 'Inter', 'Roboto', sans-serif;
    padding: 20px 0;
}

.discount-grid-736fbfa8 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
}

.discount-card-736fbfa8 {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.3s ease;
    background-color: #1a1a1a; /* Fallback */
    isolation: isolate;
}

.discount-card-736fbfa8.is-hidden {
    display: none;
    opacity: 0;
}

/* Closed State */
.discount-card-736fbfa8.is-closed {
    opacity: 0.85;
    filter: grayscale(40%);
}

.discount-card-736fbfa8:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.discount-card-736fbfa8.is-closed:hover {
    transform: translateY(-4px); /* Less movement when closed */
}

.discount-card-bg-736fbfa8 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.8s ease;
}

.discount-card-736fbfa8:hover .discount-card-bg-736fbfa8 {
    transform: scale(1.05);
}

.discount-card-overlay-736fbfa8 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Base overlay, overridden by specific modality classes below */
    background: linear-gradient(180deg, rgba(10,37,64,0.3) 0%, rgba(10,37,64,0.95) 100%);
}

.discount-card-736fbfa8.is-presencial .discount-card-overlay-736fbfa8 {
    background: linear-gradient(180deg, rgba(10,37,64,0.4) 0%, var(--color-presencial) 95%);
}

.discount-card-736fbfa8.is-ead .discount-card-overlay-736fbfa8 {
    background: linear-gradient(180deg, rgba(123,30,58,0.3) 0%, var(--color-ead) 95%);
}

.discount-card-badge-container-736fbfa8 {
    position: relative;
    z-index: 3;
    padding: 24px 24px 0 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.discount-card-badge-736fbfa8,
.discount-card-badge-closed-736fbfa8 {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.discount-card-badge-closed-736fbfa8 {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255,255,255,0.4);
}

.discount-card-content-736fbfa8 {
    position: relative;
    z-index: 3;
    padding: 24px 24px 30px 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
}

.discount-card-title-736fbfa8 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.discount-card-highlight-736fbfa8 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FCD34D; /* Premium Gold/Yellow highlight */
    margin-bottom: 12px;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.discount-card-desc-736fbfa8 {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.discount-card-features-736fbfa8 {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}

.feature-item-736fbfa8 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon-736fbfa8 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon-736fbfa8 svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}
.feature-icon-736fbfa8 i {
    font-size: 12px;
}

.discount-card-actions-736fbfa8 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.discount-card-btn-736fbfa8,
.discount-card-btn-secondary-736fbfa8,
.discount-card-btn-closed-736fbfa8 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-align: center;
}

/* Primary Btn */
.discount-card-btn-736fbfa8 {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.discount-card-btn-736fbfa8:hover {
    background: #ffffff;
    color: var(--color-presencial); /* Fallback */
}

.discount-card-736fbfa8.is-presencial .discount-card-btn-736fbfa8:hover {
    color: var(--color-presencial);
}

.discount-card-736fbfa8.is-ead .discount-card-btn-736fbfa8:hover {
    color: var(--color-ead);
}

/* Secondary Btn */
.discount-card-btn-secondary-736fbfa8 {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid transparent;
    font-size: 0.8rem;
    padding: 10px 20px;
    cursor: pointer;
}

.discount-card-btn-secondary-736fbfa8:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Closed Btn */
.discount-card-btn-closed-736fbfa8 {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.discount-card-btn-736fbfa8:hover .btn-arrow {
    transform: translateX(4px);
}

.no-results-message-736fbfa8 {
    text-align: center;
    padding: 40px;
    color: #64748B;
    font-size: 1.1rem;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .discount-grid-736fbfa8 {
        grid-template-columns: 1fr;
    }
    
    .discount-card-736fbfa8 {
        min-height: 380px;
    }
    
    .discount-card-title-736fbfa8 {
        font-size: 1.5rem;
    }
    
    .discount-card-highlight-736fbfa8 {
        font-size: 2rem;
    }
}
