/* Special Events — hire baristas banner */

.barista-events {
    --events-brown: #B77211;
    --events-brown-dark: #9a5f0e;
    --events-tan: #f5ebdf;
    --events-ink: #1a1a1a;
    --events-muted: #5f5f5f;
    padding: 24px 0 72px;
    background: #fafafa;
}

.barista-events-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
}

.barista-events-content {
    max-width: 34rem;
}

.barista-events-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--events-tan);
    color: var(--events-brown);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.barista-events-title {
    margin: 0 0 14px;
    color: var(--events-ink);
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.barista-events-text {
    margin: 0 0 22px;
    color: var(--events-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.barista-events-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.barista-events-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 14px;
    color: #3a3a3a;
    font-size: 0.98rem;
    line-height: 1.35;
}

.barista-events-list li:last-child {
    margin-bottom: 0;
}

.barista-events-list-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--events-tan);
    color: var(--events-brown);
}

.barista-events-list-icon i {
    font-size: 18px;
    line-height: 1;
}

.barista-events-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.6rem;
    border-radius: 12px;
    background: var(--events-brown);
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(183, 114, 17, 0.22);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.barista-events-btn:hover,
.barista-events-btn:focus {
    background: var(--events-brown-dark);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(183, 114, 17, 0.28);
}

.barista-events-media {
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
}

.barista-events-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    object-position: center 28%;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    transform: translateY(28px);
}

@media (max-width: 991.98px) {
    .barista-events {
        padding: 16px 0 56px;
    }

    .barista-events-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .barista-events-content {
        max-width: none;
        order: 1;
    }

    .barista-events-media {
        order: 0;
        overflow: hidden;
        min-height: 360px;
        height: 360px;
    }

    .barista-events-media img {
        width: 100%;
        height: 100%;
        max-height: none;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center top;
        transform: translateY(48px);
    }
}

@media (max-width: 575.98px) {
    .barista-events-title {
        font-size: 1.55rem;
    }

    .barista-events-media {
        min-height: 400px;
        height: 400px;
    }

    .barista-events-media img {
        transform: translateY(56px);
    }
}
