/* ---- Event Page Hero ---- */
.event-page-hero {
    background: linear-gradient(135deg, #dc3545 0%, #a91325 55%, #6b0d1a 100%);
    position: relative;
    overflow: hidden;
    padding: 52px 24px 56px;
    text-align: center;
}

.event-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.045'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.event-page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #f7f8fc;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.event-page-hero-inner {
    position: relative;
    z-index: 1;
}

.event-page-hero-icon {
    width: 76px;
    height: 76px;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.event-page-hero-title {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.event-page-hero-sub {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.05rem;
    margin: 0;
    font-weight: 500;
}

/* ---- Page Body ---- */
.event-page-body {
    background: #f7f8fc;
    padding-top: 20px;
    padding-bottom: 32px;
    min-height: 200px;
}

/* ---- Branch Selector ---- */
.branch-select-header {
    background: linear-gradient(135deg, #dc3545 0%, #b81f2d 100%);
    color: #fff;
    border-radius: 18px;
    padding: 16px 20px;
    margin: 10px 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.18);
}

.branch-select-sub {
    color: #5f6b7a;
    font-size: 0.96rem;
    margin: 0 0 20px;
    padding-left: 4px;
}

.branch-select-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---- Branch Card ---- */
.event-branch-card {
    background: #ffffff;
    border: 1.5px solid #eef0f4;
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    user-select: none;
}

.event-branch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.10);
    border-color: #d9dde5;
}

.event-branch-card.attrib_val_active {
    border-color: #dc3545 !important;
    box-shadow: 0 10px 32px rgba(220, 53, 69, 0.14) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff5f6 100%) !important;
}

.event-branch-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #dc3545 0%, #b81f2d 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.22);
    flex-shrink: 0;
}

.event-branch-card-body {
    flex: 1;
    min-width: 0;
}

.event-branch-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #18212f;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-branch-card-addr {
    font-size: 0.875rem;
    color: #6b7a8d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-branch-card-arrow {
    color: #c0c8d4;
    font-size: 0.85rem;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.event-branch-card:hover .event-branch-card-arrow,
.event-branch-card.attrib_val_active .event-branch-card-arrow {
    color: #dc3545;
    transform: translateX(3px);
}

/* ---- Responsive ---- */
@media (max-width: 575.98px) {
    .event-page-hero {
        padding: 38px 16px 44px;
    }

    .event-page-hero-title {
        font-size: 1.75rem;
    }

    .event-page-hero-icon {
        width: 62px;
        height: 62px;
        font-size: 1.65rem;
        margin-bottom: 16px;
    }

    .event-page-hero-sub {
        font-size: 0.96rem;
    }

    .branch-select-header {
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .event-branch-card {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 16px;
    }

    .event-branch-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .event-branch-card-name {
        font-size: 0.97rem;
    }

    .event-branch-card-addr {
        font-size: 0.82rem;
    }
}
