﻿
main {
    margin-top: 150px;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 73vh;
    display: flex;
    flex-direction: column; /* 👈 المهم */
    align-items: stretch; /* 👈 يخلي العناصر تاخد عرضها الطبيعي */
}


.careers-frame {
    padding: 20px ;
    border-radius: 18px;
    margin-bottom: 20px;
    margin-left:20px;
     margin-left:20px;
     margin-right:20px;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
}
    .careers-frame .lead {
        margin-left: 12px;
        border-left: 2px solid var(--primary-color);
        padding-left: 10px;
        opacity: 0.95;
    }
    .careers-frame .hero-desc {
        margin-inline-start: 12px;
       
        padding-inline-start: 10px;
        opacity: 0.95;
    }
.countdown-badge {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    height:40px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}



@media (max-width: 768px) {
    .careers-frame {
        padding: 24px;
    }
}

.modal-body .date {
    color: var(--secondary-color);
}

.modal-body .location {
    color: var(--primary-color);
}

.modal-body .content {
    color: var(--dark-color);
}

.hero-section {
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

    .hero-section .hero-head {
        color: var(--secondary-color);
    }

.section-title {
    font-size: 40px;
    color: var(--secondary-color);
    font-weight: 600;
}

.section-title {
    position: relative;
    margin-bottom: 10px;
    /* padding-bottom: 15px; */
}

    .section-title + p {
        font-size: 18px;
        margin-bottom: 30px;
        max-width: 800px;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--primary-color);
    }

.card-item {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    height: 100%;
}

    .card-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

.event-card {
    border-top: 4px solid var(--accent-color);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-badge {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.card-title {
    color: var(--secondary-color);
}

.card-text {
    color: var(--dark-color);
}

.sub-title {
    color: var(--text-color);
}

.date-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
}
.event-btn {
    padding: 4px 10px; /* أقل من Bootstrap الافتراضي */
    font-size: 1.2rem; /* أصغر نص */
    width: 150px; 
    margin-left:80px;
    margin-right:60px;/* متاخدش عرض الكارت كله */
}
.status-badge {
    padding: 10px 10px;
    border-radius: 6px;
    font-size: 12px;
    height:40px;
    font-weight: 600;
    
    text-transform: uppercase;
    white-space: nowrap;
}
.status-badge.open {
    position: absolute;
    top: 0;
    right: -.7rem;
}
    .status-badge.open {
        background-color: #28a745;
        color: #fff;
     
    }

/* date + price */
.date-price {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 8px;
}

.price-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* inner modal boxes */
.inner-box {
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    padding: 15px;
    height: 100%;
}

    .inner-box h6 {
        color: var(--secondary-color);
        font-weight: 600;
        margin-bottom: 10px;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 6px;
    }

/* rules & artist distinction */
.rules-box {
    background: rgba(52, 152, 219, 0.05);
}

.artist-box {
    background: rgba(46, 204, 113, 0.05);
}


@media (max-width:500px) {
    .section-title {
        font-size: 35px;
    }

        .section-title + p {
            font-size: 16px;
        }
}
