:root {
    --pz-primary: #5850ec;
    --pz-primary-hover: #4a43d4;
    --pz-primary-soft: #eef0fe;
    --pz-primary-tint: #f4f3ff;
    --pz-secondary: #7b4fb3;
    --pz-bg: #ffffff;
    --pz-bg-soft: #f6f7fb;
    --pz-surface: #ffffff;
    --pz-text: #1f2a44;
    --pz-muted: #7a8194;
    --pz-border: #e8eaf2;
    --pz-shadow: 0 12px 36px rgba(31, 42, 68, 0.08);
    --pz-shadow-sm: 0 4px 16px rgba(31, 42, 68, 0.05);
    --pz-radius: 20px;
    --pz-radius-sm: 14px;
    --pz-radius-pill: 999px;
    --pz-container: 1180px;
    --pz-transition: 200ms ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

body.pz-public {
    margin: 0;
    font-family: 'Vazir', Tahoma, sans-serif;
    background: var(--pz-bg);
    color: var(--pz-text);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.pz-public a { color: var(--pz-primary); text-decoration: none; }
.pz-public a:hover { color: var(--pz-primary-hover); }

.pz-container {
    width: 100%;
    max-width: var(--pz-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* —— Buttons —— */
.pz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: background var(--pz-transition), color var(--pz-transition), box-shadow var(--pz-transition), transform var(--pz-transition), border-color var(--pz-transition);
    cursor: pointer;
    font-family: inherit;
}

.pz-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 11px; font-weight: 600; }

.pz-btn-primary {
    background: var(--pz-primary);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(88, 80, 236, 0.28);
}
.pz-btn-primary:hover {
    background: var(--pz-primary-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.pz-btn-soft {
    background: var(--pz-primary-soft);
    color: var(--pz-primary) !important;
    border-color: transparent;
}
.pz-btn-soft:hover {
    background: #e4e2fc;
    color: var(--pz-primary-hover) !important;
}

.pz-btn-ghost {
    background: #fff;
    color: var(--pz-text) !important;
    border-color: var(--pz-border);
}
.pz-btn-ghost:hover {
    background: var(--pz-primary-soft);
    border-color: transparent;
    color: var(--pz-primary) !important;
}

.pz-btn-block { width: 100%; }

.pz-btn-pill { border-radius: var(--pz-radius-pill); }

.pz-icon-soft {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--pz-primary-soft);
    color: var(--pz-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

/* —— Header —— */
.pz-site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pz-border);
}

.pz-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.pz-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pz-text) !important;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
.pz-brand:hover { color: var(--pz-text) !important; }

.pz-brand-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.pz-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6b63f5, #4f46e5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(88, 80, 236, 0.28);
}
.pz-brand-mark svg { display: block; }

.pz-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.pz-nav a {
    color: #4b5568 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    transition: color var(--pz-transition), background var(--pz-transition);
}
.pz-nav a:hover,
.pz-nav a.active {
    color: var(--pz-primary) !important;
    background: var(--pz-primary-soft);
}

.pz-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pz-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--pz-border);
    background: #fff;
    color: var(--pz-text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pz-mobile-nav {
    display: none;
    border-top: 1px solid var(--pz-border);
    padding: 12px 0 16px;
}
.pz-mobile-nav.open { display: block; }
.pz-mobile-nav a {
    display: block;
    padding: 12px 4px;
    color: var(--pz-text) !important;
    font-weight: 600;
    border-bottom: 1px solid var(--pz-border);
}
.pz-mobile-nav a:last-child { border-bottom: 0; }

/* —— Newsletter —— */
.pz-newsletter {
    margin: 56px 0 0;
}

.pz-newsletter-inner {
    background: linear-gradient(100deg, #ecebff 0%, #f5f4ff 50%, #eef0fe 100%);
    border: 1px solid #e0dff8;
    border-radius: var(--pz-radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pz-newsletter-inner::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(88, 80, 236, 0.08);
    top: -50px;
    right: -30px;
    pointer-events: none;
}

.pz-newsletter-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(88, 80, 236, 0.12);
    color: var(--pz-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.pz-newsletter h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.pz-newsletter p {
    margin: 0 0 20px;
    color: var(--pz-muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.pz-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pz-newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius-pill);
    padding: 12px 18px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    outline: none;
}
.pz-newsletter-form input:focus {
    border-color: var(--pz-primary);
    box-shadow: 0 0 0 3px rgba(88, 80, 236, 0.12);
}
.pz-newsletter-note,
.pz-newsletter-error {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
}
.pz-newsletter-note { color: var(--pz-primary); }
.pz-newsletter-error { color: #b42318; }

/* —— Footer —— */
.pz-site-footer {
    scroll-margin-top: 80px;
    margin-top: 48px;
    background: #fafbff;
    border-top: 1px solid var(--pz-border);
    padding: 48px 0 0;
}

.pz-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-bottom: 36px;
}

.pz-footer-brand p {
    margin: 12px 0 18px;
    color: var(--pz-muted);
    font-size: 13.5px;
    line-height: 1.9;
    max-width: 260px;
}

.pz-socials {
    display: flex;
    gap: 8px;
}

.pz-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pz-border);
    color: var(--pz-muted) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--pz-transition), color var(--pz-transition), border-color var(--pz-transition);
}
.pz-socials a:hover {
    background: var(--pz-primary-soft);
    color: var(--pz-primary) !important;
    border-color: transparent;
}
.pz-socials svg {
    width: 1.05em;
    height: 1.05em;
    display: block;
}

.pz-footer-col h3 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 800;
}

.pz-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pz-footer-col a {
    color: var(--pz-muted) !important;
    font-size: 13.5px;
    font-weight: 500;
}
.pz-footer-col a:hover { color: var(--pz-primary) !important; }

.pz-footer-bottom {
    border-top: 1px solid var(--pz-border);
    padding: 18px 0 calc(18px + var(--pz-support-clearance, 76px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--pz-muted);
    font-size: 12.5px;
}

.pz-footer-slogan {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    color: #9aa3b8;
    letter-spacing: 0.02em;
}

/* —— Section helpers —— */
.pz-block {
    padding: 56px 0;
}

.pz-block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.pz-block-head h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    font-weight: 800;
}

.pz-block-head p {
    margin: 0;
    color: var(--pz-muted);
    font-size: 14px;
}

.pz-link-more {
    color: var(--pz-primary) !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.pz-link-more i { margin-inline-start: 6px; }

/* —— Event card —— */
.pz-event-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pz-event-card {
    position: relative;
    background: var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: 18px;
    overflow: hidden;
    transition: transform var(--pz-transition), box-shadow var(--pz-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pz-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pz-shadow);
}

.pz-event-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #6b63f5, #4f46e5);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.pz-event-more {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}
.pz-event-more .pz-btn[disabled] {
    opacity: 0.7;
    cursor: progress;
}

.pz-event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.pz-event-card:hover .pz-event-card-media img {
    transform: scale(1.04);
}

.pz-event-card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
}

.pz-event-fav {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #9aa3b8;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}
.pz-event-fav:hover { color: #e11d48; }
.pz-event-fav.is-liked,
.pz-event-fav.is-liked:hover { color: #e11d48; }

.pz-event-loc {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    background: rgba(255,255,255,.94);
    color: var(--pz-text);
    border-radius: var(--pz-radius-pill);
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 700;
    z-index: 1;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pz-event-status {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    border-radius: var(--pz-radius-pill);
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 800;
    z-index: 1;
    background: rgba(31, 42, 68, .88);
    color: #fff;
}
.pz-event-status.is-completed { background: rgba(75, 85, 99, .92); }
.pz-event-status.is-ongoing { background: rgba(22, 163, 74, .92); }
.pz-event-status.is-cancelled { background: rgba(190, 18, 60, .92); }
.pz-event-status.is-postponed { background: rgba(180, 83, 9, .92); }

.pz-event-card-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.pz-event-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.55;
    min-height: 2.9em;
}
.pz-event-card-title a {
    color: var(--pz-text) !important;
}
.pz-event-card-title a:hover { color: var(--pz-primary) !important; }

.pz-event-card-meta {
    color: var(--pz-muted);
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pz-event-card-foot {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pz-event-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--pz-text);
}

.pz-event-price-old {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--pz-muted);
    text-decoration: line-through;
}

.pz-event-go {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pz-primary);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(88, 80, 236, 0.28);
    flex-shrink: 0;
}
.pz-event-go:hover {
    background: var(--pz-primary-hover);
    color: #fff !important;
}

.pz-soldout-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(16, 18, 28, .18) 0%, rgba(16, 18, 28, .52) 100%);
}

.pz-soldout-stamp {
    transform: rotate(-18deg);
    text-align: center;
    color: #fff;
    background: rgba(185, 18, 56, .88);
    border: 4px solid #fff;
    box-shadow:
        0 0 0 3px rgba(185, 18, 56, .35),
        0 14px 28px rgba(0, 0, 0, .28);
    border-radius: 8px;
    padding: 10px 18px 8px;
    min-width: 68%;
}

.pz-soldout-stamp strong {
    display: block;
    font-family: Impact, "Arial Black", "Vazir", sans-serif;
    font-size: clamp(1.7rem, 4.8vw, 2.5rem);
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
}

.pz-soldout-stamp em {
    display: block;
    margin-top: 7px;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    opacity: .95;
}

.pz-event-card.is-sold-out {
    box-shadow: none;
}

.pz-event-card.is-sold-out:hover {
    transform: none;
    box-shadow: none;
}

.pz-event-card.is-sold-out .pz-event-card-media img,
.pz-event-card.is-sold-out .pz-event-card-fallback {
    filter: grayscale(.35) brightness(.72);
}

.pz-event-card.is-sold-out:hover .pz-event-card-media img {
    transform: none;
}

.pz-event-card.is-sold-out .pz-event-price {
    color: #9a3412;
}

.pz-event-card.is-sold-out .pz-event-go {
    background: #9aa3b8;
    box-shadow: none;
}

.pz-event-card.is-sold-out .pz-event-go:hover {
    background: #8b93a7;
}

.pz-event-card.is-past {
    background: #f4f5f8;
    box-shadow: none;
}

.pz-event-card.is-past:hover {
    transform: none;
    box-shadow: none;
}

.pz-event-card.is-past .pz-event-card-media {
    filter: grayscale(1);
}

.pz-event-card.is-past:hover .pz-event-card-media img {
    transform: none;
}

.pz-event-card.is-past .pz-event-card-title a,
.pz-event-card.is-past .pz-event-card-meta,
.pz-event-card.is-past .pz-event-price {
    color: #8b93a7 !important;
}

.pz-event-card.is-past .pz-event-go {
    background: #b7becc;
    box-shadow: none;
}

.pz-event-card.is-past .pz-event-go:hover {
    background: #a3abbb;
}

.pz-hero-media.is-sold-out img {
    filter: grayscale(.28) brightness(.7);
}

.pz-hero:hover .pz-hero-media.is-sold-out img {
    transform: none;
}

.pz-hero-media .pz-soldout-stamp {
    min-width: 58%;
    padding: 14px 26px 12px;
}

.pz-hero-media .pz-soldout-stamp strong {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.pz-hero-media .pz-soldout-stamp em {
    font-size: 14px;
}

/* —— Home hero —— */
.pz-home-hero {
    position: relative;
    min-height: clamp(360px, 52vw, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.pz-home-hero-bg {
    position: absolute;
    inset: 0;
}
.pz-home-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pz-home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.28) 48%, rgba(15, 23, 42, 0.15) 100%),
        linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 45%);
}

.pz-home-hero-content {
    position: relative;
    z-index: 1;
    padding: 72px 0 110px;
    color: #fff;
    max-width: 560px;
}

.pz-home-hero-content h1 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.35;
}

.pz-home-hero-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.88);
    max-width: 440px;
}

.pz-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Event photos are often small or the wrong crop for a full-bleed banner.
   The same image is blurred behind the slide so low resolution reads as
   atmosphere, and the sharp copy stays inside a fixed poster frame. */
.pz-home-hero.is-carousel {
    display: block;
    min-height: 0;
    background: #16132e;
}

.pz-hero-slides {
    display: grid;
}

.pz-hero-slide {
    grid-area: 1 / 1;
    position: relative;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 480ms ease, visibility 0s linear 480ms;
}

.pz-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: opacity 480ms ease, visibility 0s;
}

.pz-hero-slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(123, 79, 179, .85), transparent 52%),
        radial-gradient(ellipse at 85% 90%, rgba(88, 80, 236, .75), transparent 48%),
        #16132e;
}

.pz-hero-slide.is-plain.tone-1 .pz-hero-slide-bg {
    background:
        radial-gradient(ellipse at 80% 15%, rgba(88, 80, 236, .9), transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(56, 120, 168, .7), transparent 46%),
        #14182f;
}

.pz-hero-slide.is-plain.tone-2 .pz-hero-slide-bg {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(168, 84, 140, .75), transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(88, 80, 236, .8), transparent 48%),
        #1a1430;
}

.pz-hero-slide.is-plain.tone-3 .pz-hero-slide-bg {
    background:
        radial-gradient(ellipse at 70% 80%, rgba(64, 96, 180, .8), transparent 52%),
        radial-gradient(ellipse at 15% 10%, rgba(123, 79, 179, .7), transparent 46%),
        #121628;
}

.pz-hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(46px) saturate(1.25);
    transform: scale(1.18);
    display: block;
}

.pz-hero-slide-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to left, rgba(12, 14, 28, .82) 0%, rgba(12, 14, 28, .55) 46%, rgba(12, 14, 28, .28) 100%),
        linear-gradient(to top, rgba(12, 14, 28, .72) 0%, transparent 46%);
}

.pz-hero-slide-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
    gap: 48px;
    align-items: center;
    min-height: clamp(460px, 52vw, 540px);
    padding: 48px 0 128px;
}

.pz-hero-copy {
    color: #fff;
    min-width: 0;
    max-width: 620px;
}

.pz-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: var(--pz-radius-pill);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 13px;
    font-weight: 700;
}

.pz-hero-kicker em {
    font-style: normal;
    font-weight: 600;
    color: #ffe08a;
}

.pz-hero-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.4;
}

.pz-hero-copy h2 a {
    color: #fff !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pz-hero-copy h2 a:hover {
    color: #fff !important;
}

.pz-hero-meta {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
}

.pz-hero-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pz-hero-meta i {
    width: 16px;
    text-align: center;
    color: rgba(255, 255, 255, .72);
    flex-shrink: 0;
}

.pz-hero-cta {
    background: #fff;
    color: var(--pz-primary) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.pz-hero-cta:hover {
    background: #f4f3ff;
    color: var(--pz-primary-hover) !important;
}

.pz-hero-poster {
    position: relative;
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 2;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
    justify-self: end;
}

.pz-hero-poster-fill,
.pz-hero-poster-photo {
    position: absolute;
    display: block;
}

.pz-hero-poster-fill {
    inset: -12%;
    width: 124%;
    height: 124%;
    object-fit: cover;
    filter: blur(16px) saturate(1.15);
}

.pz-hero-poster-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.pz-hero-poster-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.pz-hero-poster-fallback svg {
    width: 72px;
    height: 72px;
}

.pz-hero-controls-wrap {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 76px;
    pointer-events: none;
}

.pz-hero-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    width: max-content;
}

.pz-hero-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
}

.pz-hero-nav:hover {
    background: rgba(255, 255, 255, .22);
}

.pz-hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pz-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .38);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pz-hero-dot.is-active {
    width: 34px;
    background: rgba(255, 255, 255, .28);
}

.pz-hero-dot.is-active::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #fff;
    animation: pz-hero-dot 6.5s linear forwards;
}

.pz-home-hero.is-paused .pz-hero-dot.is-active::after,
.pz-home-hero.is-carousel:hover .pz-hero-dot.is-active::after {
    animation-play-state: paused;
}

@keyframes pz-hero-dot {
    to { width: 100%; }
}

.pz-search-dock {
    position: relative;
    z-index: 2;
    margin-top: -48px;
    margin-bottom: 8px;
}

.pz-search-bar {
    background: #fff;
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius-pill);
    box-shadow: var(--pz-shadow);
    padding: 10px 10px 10px 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 0;
    align-items: stretch;
}

.pz-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    min-width: 0;
    position: relative;
}
.pz-search-field:not(:last-of-type)::after {
    content: '';
    position: absolute;
    inset-inline-end: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--pz-border);
}

.pz-search-field i {
    color: var(--pz-primary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.pz-search-field select,
.pz-search-field input {
    border: 0;
    outline: none;
    background: transparent;
    width: 100%;
    min-width: 0;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pz-text);
    appearance: none;
    cursor: pointer;
}
.pz-search-field input { cursor: text; }
.pz-search-field select { padding-inline-end: 12px; }

.pz-search-bar .pz-btn {
    border-radius: var(--pz-radius-pill);
    padding: 12px 22px;
    white-space: nowrap;
}

/* —— Category slider —— */
.pz-cats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
}

.pz-cats-track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 6px 8px 16px;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pz-cats-track::-webkit-scrollbar { display: none; }

.pz-cats-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    width: max-content;
    min-width: min(100%, max-content);
}

.pz-cat-item {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: var(--pz-text) !important;
    text-decoration: none;
    gap: 10px;
}
.pz-cat-item:hover { color: var(--pz-primary) !important; }

.pz-cat-icon {
    width: 72px;
    height: 72px;
    margin: 0;
    border-radius: 50%;
    background: #eef0fe;
    color: #5850ec;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--pz-transition), box-shadow var(--pz-transition), background var(--pz-transition);
}

.pz-cat-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.pz-cat-item:hover .pz-cat-icon,
.pz-cat-item.active .pz-cat-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 80, 236, 0.16);
}

.pz-cat-item.active .pz-cat-icon {
    background: #e4e2fc;
}

.pz-cat-item span {
    display: block;
    width: 100%;
    min-height: 2.7em;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
}

.pz-cats-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--pz-border);
    background: #fff;
    color: var(--pz-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background var(--pz-transition), color var(--pz-transition), border-color var(--pz-transition);
}

.pz-cats-nav:hover {
    background: var(--pz-primary-soft);
    color: var(--pz-primary);
    border-color: transparent;
}

/* Soft circles, same family as the login page and the newsletter card. */
#events {
    position: relative;
    overflow: hidden;
}
#events::before,
#events::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
#events::before {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -50px;
    background: rgba(88, 80, 236, 0.08);
}
#events::after {
    width: 340px;
    height: 340px;
    left: -140px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(123, 79, 179, 0.10) 0%, transparent 70%);
}
#events .pz-container {
    position: relative;
    z-index: 1;
}

/* —— Why section —— */
.pz-why {
    position: relative;
    overflow: hidden;
    background: var(--pz-bg-soft);
}
.pz-why::before,
.pz-why::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.pz-why::before {
    width: 240px;
    height: 240px;
    top: -90px;
    left: -70px;
    background: rgba(91, 111, 232, 0.10);
}
.pz-why::after {
    width: 180px;
    height: 180px;
    right: -40px;
    bottom: -60px;
    background: rgba(88, 80, 236, 0.07);
}
.pz-why .pz-container {
    position: relative;
    z-index: 1;
}

.pz-why-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.pz-why-visual {
    position: relative;
    min-height: 340px;
}

.pz-why-visual img {
    width: 78%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--pz-shadow);
    display: block;
}
.pz-why-visual img:first-child {
    height: 300px;
}
.pz-why-visual img:last-child {
    position: absolute;
    width: 55%;
    height: 200px;
    bottom: 0;
    inset-inline-end: 0;
    border: 6px solid #fff;
}

.pz-why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pz-why-card {
    background: #fff;
    border: 1px solid var(--pz-border);
    border-radius: 16px;
    padding: 18px;
    transition: transform var(--pz-transition), box-shadow var(--pz-transition);
}
.pz-why-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--pz-shadow-sm);
}

.pz-why-card h3 {
    margin: 12px 0 6px;
    font-size: 15px;
    font-weight: 800;
}
.pz-why-card p {
    margin: 0;
    color: var(--pz-muted);
    font-size: 13px;
    line-height: 1.8;
}

.pz-why-intro h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 800;
}
.pz-why-intro p {
    margin: 0 0 22px;
    color: var(--pz-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* —— Internal page shell —— */
.pz-page-main {
    padding: 28px 0 8px;
    background: var(--pz-bg-soft);
    min-height: 50vh;
}

.pz-page-main.is-flush {
    padding-top: 0;
    background: transparent;
}

@media (max-width: 1199.98px) {
    .pz-event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .pz-nav { display: none; }
    .pz-nav-toggle { display: inline-flex; }
    .pz-footer-grid { grid-template-columns: 1fr 1fr; }
    .pz-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pz-why-grid { grid-template-columns: 1fr; }
    .pz-search-bar {
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 8px;
    }
    .pz-search-field:not(:last-of-type)::after { display: none; }
    .pz-search-field {
        border-bottom: 1px solid var(--pz-border);
        padding: 12px;
    }
    .pz-search-bar .pz-btn { width: 100%; margin-top: 4px; }
    .pz-home-hero-content { padding: 56px 0 96px; max-width: 100%; }
    .pz-hero-slide-layout {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
        gap: 24px;
        min-height: 420px;
        padding: 32px 0 120px;
    }
}

/* Bootstrap LTR CSS leaves checkboxes on the left; keep them on the start side in RTL. */
.pz-public .form-check {
    padding-left: 0;
    padding-right: 1.75em;
    text-align: right;
}
.pz-public .form-check .form-check-input {
    float: right;
    margin-left: 0;
    margin-right: -1.75em;
}
.pz-public .pz-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: right;
}
.pz-public .pz-check .form-check-input {
    float: none;
    margin: 0.28em 0 0;
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 1.15em;
}
.pz-public .pz-check .form-check-label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

@media (max-width: 575.98px) {
    .pz-hero-slide-layout {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 18px;
        padding: 24px 0 128px;
    }
    .pz-hero-poster {
        width: 100%;
        max-width: none;
        order: -1;
        justify-self: stretch;
    }
    .pz-hero-copy h2 { font-size: 1.45rem; }
    .pz-footer-grid { grid-template-columns: 1fr; }
    .pz-event-grid { grid-template-columns: 1fr; }
    .pz-why-features { grid-template-columns: 1fr; }
    .pz-newsletter-form { flex-direction: column; }
    .pz-cats-nav { display: none; }
    .pz-header-auth-label { display: none; }
    .pz-event-card .pz-soldout-stamp {
        min-width: 72%;
        padding: 14px 20px 12px;
    }
    .pz-event-card .pz-soldout-stamp strong {
        font-size: 2.35rem;
    }
}

.pz-support {
    position: fixed !important;
    z-index: 1000;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pz-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(88, 80, 236, 0.35);
    line-height: 0;
    text-decoration: none !important;
}

.pz-support svg {
    display: block;
    width: 56px;
    height: 56px;
}

.pz-support:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(88, 80, 236, 0.45);
}

/* —— Public profile —— */
.pz-person {
    padding-bottom: 28px;
}

.pz-person-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(88, 80, 236, 0.16), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(123, 79, 179, 0.14), transparent 38%),
        var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--pz-shadow-sm);
}

.pz-person-photo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #6d66f2, #8a5cc4);
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    box-shadow: 0 0 0 6px #fff, 0 0 0 8px #e7e5ff;
}

.pz-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pz-person-kicker {
    margin: 0 0 6px;
    color: var(--pz-primary);
    font-size: 13px;
    font-weight: 700;
}

.pz-person-copy h1 {
    margin: 0 0 6px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
}

.pz-person-since {
    margin: 0;
    color: var(--pz-muted);
    font-size: 14px;
}

.pz-person-stats {
    display: flex;
    gap: 12px;
}

.pz-person-stat {
    min-width: 96px;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--pz-border);
    border-radius: 18px;
    padding: 14px 16px;
}

.pz-person-stat strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
}

.pz-person-stat span {
    display: block;
    margin-top: 6px;
    color: var(--pz-muted);
    font-size: 12.5px;
}

.pz-person-section {
    margin-top: 32px;
}

.pz-person-section h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
    font-weight: 800;
}

.pz-person-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pz-person-event {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: 18px;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none;
    transition: transform var(--pz-transition), box-shadow var(--pz-transition);
}

.pz-person-event:hover {
    transform: translateY(-2px);
    box-shadow: var(--pz-shadow);
    color: inherit !important;
}

.pz-person-event-media {
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #6b63f5, #4f46e5);
}

.pz-person-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pz-person-event-copy h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
}

.pz-person-event-copy p {
    margin: 0;
    color: var(--pz-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.pz-person-chip {
    margin-inline-end: 16px;
    padding: 6px 12px;
    border-radius: var(--pz-radius-pill);
    background: var(--pz-primary-soft);
    color: var(--pz-primary);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.pz-person-chip.is-past {
    background: var(--pz-bg-soft);
    color: var(--pz-muted);
}

.pz-person-empty {
    margin: 0;
    padding: 22px 20px;
    border-radius: 18px;
    background: var(--pz-surface);
    border: 1px dashed var(--pz-border);
    color: var(--pz-muted);
    font-size: 14px;
}

@media (max-width: 767.98px) {
    .pz-person-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 24px 18px;
    }

    .pz-person-event {
        grid-template-columns: 112px minmax(0, 1fr);
        padding-bottom: 12px;
    }

    .pz-person-chip {
        grid-column: 2;
        justify-self: start;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pz-hero-slide { transition: none; }
    .pz-hero-dot.is-active::after { animation: none; width: 100%; }
}

@media (max-width: 991.98px) {
    body:has(.pz-mobile-cta) .pz-mobile-cta-inner {
        padding-right: var(--pz-support-reserve, 72px);
    }
}
