/* css/mobile/event-page.css */

.event-page-section {
    padding: 24px 0 50px;
    background: #f2ede4;
}

.event-page-container {
    width: 100%;
    margin: 0;
    padding: 0 14px;
}

/* ── Header ── */
.event-cat-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 22px;
}

.event-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cba258;
    margin-bottom: 8px;
}
.event-eyebrow::before,
.event-eyebrow::after {
    content: '';
    width: 12px; height: 1px;
    background: #cba258;
}

.event-cat-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 5.5vw, 1.4rem);
    font-weight: 800;
    color: #0a0f1e;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.event-cat-sub {
    font-size: 0.74rem;
    color: #5a6478;
    line-height: 1.5;
    font-weight: 400;
}

/* ── Grid: 2 columns, same card style as PC ── */
.event-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.event-page-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    min-width: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(20,15,5,0.05), 0 4px 10px rgba(20,15,5,0.06);
    position: relative;
}

.event-page-card:active {
    transform: scale(0.97);
}

/* ── Image zone — same rectangular banner as PC ── */
.event-page-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(160deg, #efe9dd 0%, #e3dccc 100%);
}

.event-page-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 8px;
}

/* dark gradient at bottom of image for chip legibility */
.event-page-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,8,3,0.4) 0%, rgba(10,8,3,0) 55%);
    pointer-events: none;
}

.event-card-badge {
    position: absolute;
    top: 7px; left: 7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,0.92);
    color: #8a5c10;
    font-family: 'Outfit', sans-serif;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 50px;
}
.event-card-badge::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #cba258;
}

/* ── Card body ── */
.event-page-card-body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-align: center;
}

.event-page-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.event-page-date,
.event-page-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 3px 7px 3px 5px;
    border-radius: 50px;
}

.event-page-date {
    color: #2456a8;
    background: linear-gradient(135deg, rgba(58,107,201,0.14), rgba(58,107,201,0.05));
    border: 1px solid rgba(58,107,201,0.35);
}
.event-page-location {
    color: #1d7a5f;
    background: linear-gradient(135deg, rgba(31,163,121,0.14), rgba(31,163,121,0.05));
    border: 1px solid rgba(31,163,121,0.35);
}

.event-page-date i,
.event-page-location i {
    font-size: 0.5rem;
    width: 12px; height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
}
.event-page-date i { background: linear-gradient(135deg, #4f8ef7, #2456a8); }
.event-page-location i { background: linear-gradient(135deg, #2dd4a7, #1d7a5f); }

.event-page-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0a0f1e;
    margin-bottom: 6px;
    line-height: 1.25;
    letter-spacing: -0.1px;
}

.event-page-card-desc {
    font-size: 0.66rem;
    color: #6b7280;
    line-height: 1.45;
    margin-bottom: 10px;
    font-weight: 400;
}

/* ── CTA button — colorful, compact ── */
.event-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--theme-color);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.66rem;
    letter-spacing: 0.2px;
    border: none;
    padding: 8px 10px;
    border-radius: 50px;
    margin-top: auto;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--theme-color) 40%, transparent);
}
