.page-section { padding: 40px 0; }

.page-header { 
    text-align: center; 
    margin-bottom: 40px; 
    padding-top: 30px; 
}

.page-header h1 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: #222; 
    margin-bottom: 10px;
}

.page-header p { 
    color: #717171; 
    font-size: 1.1rem;
}

.section-header {
    margin: 60px 0 10px 0;
    padding-bottom: 15px;
    border-bottom: 0px solid #e0e6ed;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.section-header p {
    color: #717171;
    font-size: 0.95rem;
    margin: 5px 0 0 0;
}

.overlay-title a,
.overlay-title a:hover {
    color: #fff;
    text-decoration: none;
}

.overlay-title a:hover {
    text-decoration: underline;
}

.event-card {
    transition: all .3s ease;
    border: 1px solid #e0e6ed;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 7px 12px rgba(0, 0, 0, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.event-card.inactive {
    opacity: 0.7;
}

.event-card.inactive .event-image {
    filter: grayscale(50%);
}

.event-image-wrap {
    position: relative;
    width: 100%;
    height: 240px;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.badge-event-status {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem .85rem;
    border-radius: 20px;
    color: white;
}

.badge-event-status.today { background: #0c9b87; }
.badge-event-status.upcoming { background: #222; }
.badge-event-status.expired { background: #dc3545; }



.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    margin-right: 1rem;
    flex-shrink: 0;
}



.card-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.event-info-item {
    background-color: #e5e7eb;
    border-radius: 50px;
    color: #2d3436;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-info-item i {
    font-size: .85rem;
    margin-right: 5px;
}

.event-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-spots {
    background: #f7f7f7;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #222;
    font-size: 0.9rem;
}

.price-section {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.price-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-label {
    font-size: .8rem;
    color: #6c757d;
    margin-bottom: .25rem;
}

.price-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: #212529;
    margin: 0;
}

.price-amount span {
    font-weight: 400;
    font-size: .9rem;
}

.btn-event {
    padding: .6rem 1.1rem;
    background: #222;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-event:hover {
    background: #000;
    color: white;
}

.btn-event:disabled,
.btn-event.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.no-events {
    text-align: center;
    padding: 80px 20px;
    color: #717171;
}

.no-events i {
    font-size: 6rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    display: block;
}

.no-events h3 {
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #222;
}

.pill-rating {
    background: #227950;
    border-color: #227950;
    border-radius: 4px;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .col-lg-3 {
        flex: 0 0 auto;
        width: 100%;
    }
}
