/* Claustro Events Elementor Widget Styles */
.claustro-events-showcase * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.claustro-events-showcase :root {
    --gold: #b8924a;
    --gold-light: #d4ac6e;
    --gold-pale: #f0e0c0;
    --stone: #2a2520;
    --stone-mid: #4a3f35;
    --stone-light: #8a7a6a;
    --cream: #f8f4ee;
    --parchment: #ede5d8;
}

.claustro-events-showcase {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--stone);
    overflow-x: hidden;
}

.claustro-events-showcase h1,
.claustro-events-showcase h2,
.claustro-events-showcase h3,
.claustro-events-showcase h4,
.claustro-events-showcase h5 {
    font-family: 'Cormorant Garamond', serif;
}

/* HERO */
.claustro-events-showcase .hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.claustro-events-showcase .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1510 0%, #2d251c 40%, #1a1510 100%);
}

.claustro-events-showcase .hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(184, 146, 74, 0.5) 40px, rgba(184, 146, 74, 0.5) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(184, 146, 74, 0.5) 40px, rgba(184, 146, 74, 0.5) 41px);
}

.claustro-events-showcase .hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(10, 8, 5, 0.7) 100%);
}

.claustro-events-showcase .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 860px;
}

.claustro-events-showcase .hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.claustro-events-showcase .hero-title {
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 300;
    color: #f0e8dc;
    line-height: 1.08;
    margin-bottom: 1.2rem;
}

.claustro-events-showcase .hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.claustro-events-showcase .hero-subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(240, 232, 220, 0.75);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.85;
}

.claustro-events-showcase .hero-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 2.5rem;
}

.claustro-events-showcase .hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.claustro-events-showcase .btn-primary {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--stone);
    padding: 1rem 2.2rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.claustro-events-showcase .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.claustro-events-showcase .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(240, 232, 220, 0.5);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.claustro-events-showcase .scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(184, 146, 74, 0.4);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* SECTIONS */
.claustro-events-showcase section {
    padding: 7rem 4rem;
}

.claustro-events-showcase .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: block;
}

.claustro-events-showcase .section-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    color: var(--stone);
}

/* EVENTS */
.claustro-events-showcase .events-section {
    background: var(--cream);
}

.claustro-events-showcase .events-intro {
    max-width: 560px;
    margin-bottom: 4rem;
}

.claustro-events-showcase .events-intro p {
    font-size: 1rem;
    color: var(--stone-light);
    line-height: 1.85;
    margin-top: 1rem;
    font-weight: 300;
}

.claustro-events-showcase .events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1px;
    background: rgba(74, 63, 53, 0.15);
}

.claustro-events-showcase .event-card {
    background: var(--cream);
    padding: 2.75rem;
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}

.claustro-events-showcase .event-card:hover {
    background: var(--parchment);
}

.claustro-events-showcase .event-card.wide {
    grid-column: span 2;
}

.claustro-events-showcase .event-card.dark {
    background: var(--stone);
    color: var(--cream);
}

.claustro-events-showcase .event-card.dark:hover {
    background: var(--stone-mid);
}

.claustro-events-showcase .event-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.claustro-events-showcase .event-icon-svg {
    width: 30px;
    height: 30px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.2;
}

.claustro-events-showcase .dark .event-icon-svg {
    stroke: var(--gold-light);
}

.claustro-events-showcase .event-card h4 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.claustro-events-showcase .dark h4 {
    color: #f0e8dc;
}

.claustro-events-showcase .event-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--stone-light);
    font-weight: 300;
}

.claustro-events-showcase .dark p {
    color: rgba(240, 232, 220, 0.75);
}

.claustro-events-showcase .event-card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: rgba(184, 146, 74, 0.4);
    font-weight: 300;
    line-height: 1;
}

.claustro-events-showcase .dark .event-card-number {
    color: rgba(184, 146, 74, 0.45);
}

/* GALLERY */
.claustro-events-showcase .gallery-section {
    background: var(--stone);
    padding: 7rem 4rem;
}

.claustro-events-showcase .gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.claustro-events-showcase .gallery-header .section-title {
    color: #f0e8dc;
}

.claustro-events-showcase .gallery-note {
    font-size: 0.85rem;
    color: rgba(240, 232, 220, 0.45);
    font-weight: 300;
    max-width: 280px;
    text-align: right;
    line-height: 1.6;
}

.claustro-events-showcase .gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 320px 220px;
    gap: 3px;
}

.claustro-events-showcase .gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--stone-mid);
}

.claustro-events-showcase .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.claustro-events-showcase .gallery-item:hover img {
    transform: scale(1.05);
}

.claustro-events-showcase .gallery-item.tall {
    grid-row: span 2;
}

.claustro-events-showcase .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 5, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.claustro-events-showcase .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.claustro-events-showcase .gallery-overlay-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(184, 146, 74, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.claustro-events-showcase .gallery-overlay-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold-light);
    fill: none;
    stroke-width: 1.5;
}

/* LIGHTBOX */
.claustro-events-showcase .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 5, 0.95);
    z-index: 999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.claustro-events-showcase .lightbox.active {
    display: flex;
    opacity: 1;
}

.claustro-events-showcase .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    z-index: 1000000 !important;
}

.claustro-events-showcase .lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid rgba(184, 146, 74, 0.2);
}

.claustro-events-showcase .lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--cream);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1000001 !important;
}

.claustro-events-showcase .lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 2rem;
    pointer-events: none;
    z-index: 1000002 !important;
}

.claustro-events-showcase .lightbox-nav button {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    visibility: visible !important;
    opacity: 1 !important;
}

.claustro-events-showcase .lightbox-nav button:hover {
    background: var(--gold) !important;
    border-color: var(--gold-light) !important;
    transform: scale(1.1);
}

.claustro-events-showcase .lightbox-nav svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

.claustro-events-showcase .lightbox-img-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: none;
}

.claustro-events-showcase .lightbox-counter {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 16px;
    border-radius: 20px;
}

/* THUMBNAILS */
.claustro-events-showcase .lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.claustro-events-showcase .lightbox-thumbnails::-webkit-scrollbar {
    display: none;
}

.claustro-events-showcase .thumb-item {
    width: 60px;
    height: 40px;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0.6;
    transition: all 0.3s;
    overflow: hidden;
}

.claustro-events-showcase .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.claustro-events-showcase .thumb-item.active {
    border-color: var(--gold);
    opacity: 1;
    transform: scale(1.1);
}

.claustro-events-showcase .thumb-item:hover {
    opacity: 1;
    border-color: rgba(184, 146, 74, 0.5);
}

/* SPECS */
.claustro-events-showcase .specs-section {
    background: #1e1a14;
    padding: 7rem 4rem;
}

.claustro-events-showcase .specs-title-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.claustro-events-showcase .specs-title-block .section-title {
    color: #f0e8dc;
}

.claustro-events-showcase .specs-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(240, 232, 220, 0.5);
    max-width: 320px;
    text-align: right;
    line-height: 1.4;
}

.claustro-events-showcase .specs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.claustro-events-showcase .spec-item {
    padding: 2.25rem 1.75rem;
    border-left: 1px solid rgba(184, 146, 74, 0.15);
    transition: border-color 0.3s;
}

.claustro-events-showcase .spec-item:hover {
    border-color: rgba(184, 146, 74, 0.5);
}

.claustro-events-showcase .spec-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1.25rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.2;
}

.claustro-events-showcase .spec-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.claustro-events-showcase .spec-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: rgba(240, 232, 220, 0.95);
    font-weight: 400;
    line-height: 1.4;
}

/* CONDITIONS */
.claustro-events-showcase .conditions-section {
    background: var(--parchment);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6rem;
    padding: 7rem 4rem;
}

.claustro-events-showcase .conditions-left p {
    font-size: 1rem;
    color: var(--stone-light);
    line-height: 1.85;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.claustro-events-showcase .conditions-notice {
    background: var(--stone);
    color: var(--cream);
    padding: 1.75rem;
    border-left: 3px solid var(--gold);
}

.claustro-events-showcase .conditions-notice h5 {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.claustro-events-showcase .conditions-notice p {
    font-size: 0.9rem;
    color: rgba(240, 232, 220, 0.8);
    line-height: 1.7;
}

.claustro-events-showcase .conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.claustro-events-showcase .condition-item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(74, 63, 53, 0.15);
}

.claustro-events-showcase .condition-item:nth-child(odd) {
    padding-right: 3rem;
}

.claustro-events-showcase .condition-item:nth-child(even) {
    padding-left: 3rem;
    border-left: 1px solid rgba(74, 63, 53, 0.15);
}

.claustro-events-showcase .condition-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.claustro-events-showcase .condition-value {
    font-size: 1rem;
    color: var(--stone);
    font-weight: 300;
    line-height: 1.6;
}

/* CONTACT SECTION */
.claustro-events-showcase .contact-section {
    background: var(--stone);
    padding: 7rem 4rem;
    color: var(--cream);
}

.claustro-events-showcase .contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.claustro-events-showcase .contact-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: var(--gold-pale);
}

.claustro-events-showcase .contact-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(240, 232, 220, 0.7);
    font-weight: 300;
}

.claustro-events-showcase .contact-info-item {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: rgba(240, 232, 220, 0.7);
    font-weight: 300;
}

.claustro-events-showcase .contact-info-item strong {
    color: var(--gold);
    font-weight: 400;
    display: inline-block;
    width: 85px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .claustro-events-showcase section,
    .claustro-events-showcase .gallery-section,
    .claustro-events-showcase .specs-section,
    .claustro-events-showcase .conditions-section,
    .claustro-events-showcase .contact-section {
        padding: 5rem 1.5rem;
    }

    .claustro-events-showcase .events-grid {
        grid-template-columns: 1fr;
    }

    .claustro-events-showcase .event-card.wide {
        grid-column: span 1;
    }

    .claustro-events-showcase .specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .claustro-events-showcase .specs-title-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .claustro-events-showcase .specs-tagline {
        text-align: left;
    }

    .claustro-events-showcase .conditions-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .claustro-events-showcase .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .claustro-events-showcase .gallery-item.tall {
        grid-row: span 1;
    }

    .claustro-events-showcase .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .claustro-events-showcase .gallery-note {
        text-align: left;
    }

    .claustro-events-showcase .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}