.glb-events-grid,
.glb-event-single,
.glb-my-tickets {
    direction: ltr;
    text-align: left;
    box-sizing: border-box;
    color: #111827;
}

.glb-events-grid *,
.glb-event-single *,
.glb-my-tickets * {
    box-sizing: border-box;
}

.glb-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 32px 0;
}

.glb-events-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.glb-events-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glb-events-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.glb-event-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glb-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.14);
}

.glb-event-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.glb-event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.glb-event-card:hover .glb-event-card-image img {
    transform: scale(1.04);
}

.glb-event-card-body {
    padding: 22px;
}

.glb-event-card-label,
.glb-event-kicker,
.glb-catalog-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 7px 12px;
    background: #eef4ff;
    color: #385bff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.glb-event-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.35;
}

.glb-event-card h3 a {
    color: #111827;
    text-decoration: none;
}

.glb-event-card p,
.glb-event-excerpt {
    color: #667085;
    margin: 0 0 18px;
    line-height: 1.8;
}

.glb-event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.glb-event-card-meta span {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 999px;
    padding: 7px 11px;
    color: #475467;
    font-size: 13px;
}

.glb-event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #eef2f7;
    padding-top: 18px;
}

.glb-event-card-footer strong {
    color: #111827;
    font-size: 17px;
}

.glb-event-card-button,
.glb-event-pay-button,
.glb-catalog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 14px;
    border: 0;
    background: #385bff;
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 14px 28px rgba(56, 91, 255, 0.25);
}

.glb-event-card-button:hover,
.glb-event-pay-button:hover,
.glb-catalog-button:hover {
    transform: translateY(-1px);
    background: #2448f5;
    box-shadow: 0 18px 34px rgba(56, 91, 255, 0.35);
}

.glb-event-single {
    margin: 34px 0;
}

.glb-event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
}

.glb-event-main,
.glb-event-sidebar {
    min-width: 0;
}

.glb-event-sidebar {
    order: 2;
}

.glb-event-main {
    order: 1;
}

.glb-event-checkout-card {
    position: sticky;
    top: 28px;
}

.glb-event-hero-card,
.glb-event-info-card,
.glb-event-catalog-card,
.glb-event-content-card,
.glb-event-checkout-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.glb-event-hero-card {
    overflow: hidden;
}

.glb-event-featured-image,
.glb-event-featured-placeholder {
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 8.8;
    background: linear-gradient(135deg, #eff6ff, #f8fafc 45%, #eef4ff);
}

.glb-event-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glb-event-featured-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.glb-event-featured-placeholder span {
    border-radius: 999px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.82);
    color: #385bff;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.glb-event-hero-body {
    padding: 28px 30px 30px;
}

.glb-event-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    color: #0f172a;
}

.glb-event-info-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 22px;
}

.glb-event-info-item {
    min-height: 98px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 16px;
}

.glb-event-info-item span {
    display: block;
    font-size: 13px;
    color: #667085;
    margin-bottom: 7px;
    font-weight: 700;
}

.glb-event-info-item strong {
    display: block;
    color: #111827;
    line-height: 1.6;
    font-size: 15px;
}

.glb-price-item {
    background: linear-gradient(135deg, #eef4ff, #f8fafc);
    border-color: #dbe6ff;
}

.glb-event-catalog-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    background: linear-gradient(135deg, #fff, #f8fafc);
}

.glb-event-catalog-card strong {
    display: block;
    color: #111827;
    line-height: 1.6;
}

.glb-catalog-button {
    flex: 0 0 auto;
    background: #111827;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.20);
}

.glb-catalog-button:hover {
    background: #0b1220;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.28);
}

.glb-event-content-card {
    padding: 30px;
    color: #344054;
    line-height: 1.9;
}

.glb-event-content-card h1,
.glb-event-content-card h2,
.glb-event-content-card h3,
.glb-event-content-card h4 {
    color: #111827;
    line-height: 1.35;
}

.glb-event-checkout-card {
    padding: 26px;
}

.glb-event-sidebar-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(135deg, #eef4ff, #f8fafc);
    border: 1px solid #dbe6ff;
}

.glb-event-sidebar-price span {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.glb-event-sidebar-price strong {
    color: #0f172a;
    font-size: 20px;
}

.glb-event-checkout-card h3 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 22px;
}

.glb-event-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.glb-event-form label span {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-weight: 800;
    font-size: 14px;
}

.glb-event-form input {
    width: 100%;
    height: 48px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    padding: 0 14px;
    background: #fff;
    color: #111827;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.glb-event-form input:focus {
    border-color: #385bff;
    box-shadow: 0 0 0 4px rgba(56, 91, 255, 0.12);
}

.glb-event-pay-button {
    width: 100%;
    margin-top: 4px;
    font-size: 16px;
}

.glb-notice,
.glb-empty-state {
    padding: 14px 16px;
    border-radius: 16px;
    margin: 16px 0;
    line-height: 1.8;
}

.glb-notice-success { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.glb-notice-warning { background: #fffaeb; color: #b54708; border: 1px solid #fedf89; }
.glb-notice-info { background: #eff8ff; color: #175cd3; border: 1px solid #b2ddff; }
.glb-notice-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.glb-empty-state { background: #f8fafc; color: #667085; border: 1px dashed #d0d5dd; }

.glb-ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
}

.glb-ticket-card span {
    display: block;
    color: #667085;
    margin-top: 6px;
}

.glb-ticket-code {
    direction: ltr;
    background: #111827;
    color: #fff;
    border-radius: 12px;
    padding: 9px 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 1100px) {
    .glb-event-layout {
        grid-template-columns: 1fr;
    }

    .glb-event-sidebar,
    .glb-event-main {
        order: initial;
    }

    .glb-event-checkout-card {
        position: static;
    }
}

@media (max-width: 900px) {
    .glb-events-grid,
    .glb-events-columns-2,
    .glb-events-columns-3,
    .glb-events-columns-4,
    .glb-event-info-card {
        grid-template-columns: 1fr;
    }

    .glb-event-card-footer,
    .glb-ticket-card,
    .glb-event-catalog-card {
        align-items: stretch;
        flex-direction: column;
    }

    .glb-event-hero-body,
    .glb-event-content-card,
    .glb-event-checkout-card {
        padding: 22px;
    }
}
