:root {
    --luxury-bg-main: #000;
    --luxury-bg-content: #ffffff;
    --luxury-text-dark: #ddd;
    --luxury-text-medium: #ddd;
    --luxury-text-light: #ddd;
    --luxury-border-soft: #eeeeee;
    --luxury-border-strong: #dddddd;
    --luxury-accent-gold: #c0a062;
    --luxury-accent-dark: #4a4a4a;
    --luxury-accent-mint-light: #e8f3ef;

    --primary-color: var(--luxury-accent-dark);
    --secondary-color: var(--luxury-text-dark);
    --accent-color: var(--luxury-accent-gold);
    --text-color: var(--luxury-text-dark);
    --text-light: var(--luxury-text-medium);
    --text-muted: var(--luxury-text-light);
    --border-color: var(--luxury-border-soft);
    --background-light: #000;
    --white: #ffffff;
    
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
    
    --font-eventsHeading: 'Cormorant Garamond', 'Playfair Display', serif;
    --font-body: 'Mabry Mono Pro', 'Montserrat', sans-serif;
    --font-alt: 'Monospace 821 BT', 'Courier New', monospace;
}

body.post-type-archive-event,
body.page-template-page-events {
    overflow-x: hidden;
    overflow-y: auto;
}

body .events-page-container,
.page .events-page-container,
.post .events-page-container {
    padding: 0;
    margin: 0;
    background-color: #000;
    position: relative;
}

body .events-header,
.page .events-header {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/offers/slider/offers-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
    border-bottom: none;
    position: relative;
    padding: 20px;
}

body .events-header::before,
.page .events-header::before {
    display: none;
}

body .events-main-title,
.page .events-main-title {
    font-family: var(--font-heading) !important;
    font-size: 20px;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body .events-subtitle,
.page .events-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    margin: 0 auto;
    opacity: 0.9;
    font-style: normal;
    color: var(--white);
    text-transform: uppercase;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

body .events-filters-section,
.page .events-filters-section {
    background: var(--luxury-bg-main);
    padding: 40px 0;
    margin-top: 0;
    margin-bottom: 50px;
    position: relative;
    z-index: 100;
}

@media (min-width: 769px) {
    body .events-filters-section,
    .page .events-filters-section {
        position: sticky !important;
        top: 120px !important;
    }
}

.events-filters-form {
    max-width: 1400px;
    margin: 0 auto;
}

.filter-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.filter-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


body.post-type-archive-event .filter-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    font-family: var(--font-alt);
    text-transform: uppercase;
}


.filter-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 2px;
    display: block;
    height: 1.2em;
    line-height: 1.2em;
}

.filter-group.button-group {
    justify-content: flex-end;
    gap: 10px;
    align-items: flex-end;
}

.reset-filters-text {
    display: flex;
    align-items: flex-end;
    margin-bottom: 3px;
}   

.reset-filters-text a {
    font-family: var(--font-alt);
    font-size: 0.85rem;
    color: var(--luxury-text-medium);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reset-filters-text a:hover {
    color: #ddd;
    text-decoration: underline;
}

.filter-group.button-group .filter-events-button {
    margin-top: auto;
     font-family: var(--font-alt);
     text-transform: uppercase;
}

.events-search-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 0;
    border: 1px solid var(--luxury-border-soft);
    font-family: var(--font-alt);
    text-transform: uppercase;
    font-size: 1rem;
    background: var(--luxury-bg-content);
    color: #000;
    box-shadow: none;
    height: 40px;
}

.events-search-input:focus {
    outline: none;
    border-color: var(--luxury-accent-gold);
    box-shadow: 0 0 0 2px rgba(192, 160, 98, 0.2);
}

.events-search-input::placeholder {
    color: var(--luxury-text-light);
    font-style: normal;
}

.events-category-select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 0;
    border: 1px solid var(--luxury-border-soft);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--luxury-bg-content);
    color: var(--luxury-text-dark);
    cursor: pointer;
    box-shadow: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8" fill="none" stroke="%23666666" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M1 1l5 5 5-5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    font-size: 14px;
}

.events-category-select:focus {
    outline: none;
    border-color: var(--luxury-accent-gold);
    box-shadow: 0 0 0 2px rgba(192, 160, 98, 0.2);
}


.events-date-input {
    width: 100%;
    padding: 8px 20px;
    border-radius: 0;
    border: 1px solid var(--luxury-border-soft);
    font-family: var(--font-alt);
    font-size: 1rem;
    background: var(--luxury-bg-content);
    color: #000;
    box-shadow: none;
    cursor: pointer;
    height: 40px;
    font-size: 14px;    
}

.events-date-input:focus {
    outline: none;
    border-color: var(--luxury-accent-gold);
    box-shadow: 0 0 0 2px rgba(192, 160, 98, 0.2);
}

.choices {
    height: 40px;
}


.filter-events-button {
    padding: 8px 20px;
    border-radius: 0;
    border: 1px solid #fff;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    margin-bottom: 1px;
    height: 40px;
}

.filter-events-button:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: none;
    box-shadow: none;
}

.filter-events-button i {
    font-size: 1.1em;
    color: var(--white);
}

.filter-events-button:hover i {
    color: #000;
}

.events-list-section {
    padding: 0 0 80px;
    position: relative;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.event-header-row {
    display: grid;
    grid-template-columns: 10px 1fr 180px;
    gap: 40px;
    align-items: center;
    padding: 20px 0 20px 0;
    margin-bottom: 0px;
    font-family: var(--font-alt);
    font-size: 0.9rem;
    background: var(--luxury-bg-main);
    font-weight: 400;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: sticky !important;
    top: 270px !important;
    z-index: 98 !important;
}

.event-header-date {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    align-items: baseline;
    white-space: nowrap;
}

.header-day {
    color: #fff;
    font-weight: 600;
    font-size: 46px !important;
}

.header-month {
    color: #ddd;
}

.event-header-type {
    text-align: center;
    color: #ddd;
}

.event-header-category {
    text-align: right;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.event-item {
    display: grid;
    grid-template-columns: 100px 450px 1fr 200px;
    gap: 20px;
    align-items: start;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 20px 0 50px 0;
    position: relative;
}

.event-item:hover {
    transform: none;
    box-shadow: none;
}

.event-left-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100px;
}

.event-date-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.event-day-number {
    font-family: var(--font-eventsHeading);
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 5px;
    color: #c0a062;
}

.event-month-day {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-month,
.event-day {
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1;
    color:#ddd;
    text-transform: uppercase;
}

.event-time-location {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.event-time,
.event-location-meta,
.event-type {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 400;
    color:#ddd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.event-type {
    color: #ddd;
    margin-top: 5px;
}

.event-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

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

.event-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: none;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-description {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.4;
    color:#ddd;
    margin: 0;
}

.event-description p {
    margin: 0 0 1em;
}

.event-description p:last-child {
    margin-bottom: 0;
}

.event-actions {
    margin-top: 10px;
}

.read-more-btn {
    display: inline-block;
    padding: 0;
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    font-family: var(--font-alt);
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
}

.read-more-btn:hover {
    color: #c0a062;
    border-color: #c0a062;
}

.event-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: space-between;
    padding-top: 10px;
    width: 200px;
    min-height: 300px;
}

.event-category {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.event-sidebar .reserve-btn {
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid #fff;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: auto;
}

.event-sidebar .reserve-btn:hover {
    background: #fff;
    color: #fff;
}

.events-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.events-loading p,
.no-events-message p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.no-events-found p,
.no-events-message p {
    text-align: center;
    padding: 60px 20px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
}

.events-faqs-section {
    background: var(--luxury-bg-content);
    padding: 80px 0;
    margin-top: 0;
    border-top: 1px solid var(--luxury-border-soft);
}

.faq-layout-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    max-width: 1400px;
    gap: 60px;
    background-color: #f5f5f480;
    margin: 0 auto;
    padding: 30px;
    align-items: flex-start;
    border: 1px solid #e7e5e4;
}

.faq-left-column {
    padding-right: 30px;
}

.faq-section-subtitle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.faq-section-subtitle-container .line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--luxury-border-soft);
}

.faq-section-subtitle {
    font-family: var(--font-alt, 'Montserrat', sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--luxury-text-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.faq-main-title {
    font-family: var(--font-elegant, 'Cormorant Garamond', serif) !important;
    font-size: 54px;
    font-weight: 500;
    color: var(--luxury-text-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.faq-contact-prompt {
    margin-top: 30px;
}

.faq-prompt-heading {
    font-family: var(--font-alt, 'Montserrat', sans-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--luxury-text-dark);
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 0.05em;
}

.faq-contact-prompt p {
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.9rem;
    color: var(--luxury-text-medium);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn.btn-contact-faq {
    font-family: var(--font-alt, 'Montserrat', sans-serif);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--luxury-text-dark);
    background-color: transparent;
    border: 1px solid var(--luxury-border-strong);
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    text-decoration: none;
}

.btn.btn-contact-faq:hover {
    background-color: var(--luxury-bg-main);
    color: var(--luxury-text-dark);
    border-color: var(--luxury-border-strong);
}

.faq-right-column .faq-item {
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--luxury-border-soft);
}


.faq-right-column .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--luxury-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-right-column .faq-question:hover {
    background: none;
    color: var(--luxury-accent-gold);
}

.faq-right-column .faq-question.active {
    background: none;
    color: var(--luxury-accent-gold);
    font-weight: 500;
}

.faq-right-column .faq-icon {
    color: var(--luxury-text-medium);
    font-size: 0.8em;
}

.faq-right-column .faq-question:hover .faq-icon,
.faq-right-column .faq-question.active .faq-icon {
    color: var(--luxury-accent-gold);
}

.faq-right-column .faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-right-column .faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    max-height: 0;
    padding: 0 20px;
}

.faq-right-column .faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

.faq-right-column .faq-answer-content {
    gap: 10px;
    padding: 10px 0 25px 0;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 18px;
    line-height: 1.7;
    color: var(--luxury-text-medium);
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faqs-header, .faqs-title { display: none; }

@media (max-width: 1200px) {
    .event-title {
        font-size: 2rem;
    }
}

@media (max-width: 968px) {
    .filter-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .search-group {
        grid-column: 1 / -1;
    }
    
    .button-group {
        grid-column: 1 / -1;
        text-align: center;
        flex-direction: column;
        align-items: center !important;
        gap: 15px;
    }
    
    .reset-filters-text {
        margin-bottom: 0;
    }
    
    .filter-events-button {
        width: 100%;
        justify-content: center;
    }
    
    .event-header-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: left;
        padding: 15px 0 20px 0;
        margin-bottom: 0;
        top: 55px !important;
        z-index: 999 !important;
        box-shadow: none !important;
    }
    
    .event-header-date {
        text-align: left;
        justify-content: flex-start;
        order: 1;
        font-size: 18px;
        align-items: baseline;
    }
    
    .event-header-type {
        display: none;
    }
    
    .event-header-category {
        display: none;
    }
    
    .event-item {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px 0;
    }
    
    .event-left-info {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        width: auto;
    }
    
    .event-date-display {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: auto;
        text-align: left;
    }
    
    .event-day-number {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
    
    .event-time-location {
        align-items: flex-start;
        text-align: left;
    }
    
    .event-image {
        width: 100%;
        height: auto;
    }
    
    .event-content {
        gap: 15px;
        padding-top: 0;
    }
    
    .event-sidebar {
        align-items: flex-start;
        text-align: left;
        width: auto;
        padding-top: 0;
        min-height: 100px;
    }


    .faq-main-title {
        font-size: 48px;
    }

    .faq-layout-container {
        grid-template-columns: 1fr;
    }

    .faq-left-column {
        padding-right: 0;
    }

    .faq-right-column {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .events-header {
        padding: 40px 0 60px;
        height: 20vh !important;
    }
    
    .events-main-title {
        font-size: 24px;
    }
    
    .events-subtitle {
        font-size: 1.1rem;
    }
    
    .events-filters-section {
        padding: 30px 0;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .events-search-input,
    .events-category-select,
    .events-date-input,
    .filter-events-button {
        font-size: 14px;
    }
    
    .event-item {
        padding: 20px 0;
        gap: 20px;
    }
    
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px;
        font-size: 14px;
    }
    
    .faqs-title {
        font-size: 2rem;
    }

    .event-ticket-info{
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .events-main-title {
        font-size: 22px;
    }

    .event-ticket-info{
        text-align: left !important;
    }
    
    .events-subtitle {
        font-size: 1rem;
    }
    
    .event-item {
        padding: 0 0 20px 0;
    }
    
    .event-title {
        font-size: 1.5rem;
    }
    
    .event-sidebar .reserve-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

.events-category-select option {
    background-color: var(--luxury-bg-content);
    color: var(--luxury-text-dark);
    padding: 10px 20px;
}

.events-date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.6) sepia(0.2) saturate(5) hue-rotate(320deg) brightness(0.9);
    opacity: 0.7;
    cursor: pointer;
}

.events-date-input::-moz-calendar-picker-indicator {
    filter: invert(0.6) sepia(0.2) saturate(5) hue-rotate(320deg) brightness(0.9);
    opacity: 0.7;
    cursor: pointer;
}

.event-ticket-info {
    text-align: right;
}

.ticket-price {
    font-family: var(--font-alt);
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.ticket-availability {
    font-family: var(--font-alt);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--luxury-text-medium);
    margin-bottom: 15px;
}

.ticket-availability.low-stock {
    color: #e74c3c;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.ticket-sales-end-date {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--luxury-text-medium);
    margin-bottom: 10px;
    text-align: right;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.reserve-btn-outline {
    font-family: var(--font-heading);
    text-transform: uppercase;
    text-align: center;
    padding: 15px 20px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    text-decoration: none;
    display: block;
    margin-top: 15px;
    letter-spacing: 1px;
    font-size: 12px;
    width: 100%;
    cursor: pointer;
}

.reserve-btn-outline:hover {
    background: #fff;
    color: #000;
}

.buy-tickets-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-family: 'MabryMonoPro', monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.buy-tickets-btn:hover {
    background: linear-gradient(135deg, #34495e 0%, #2980b9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.buy-tickets-btn:active {
    transform: translateY(0);
}

.ticket-status {
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-family: 'MabryMonoPro', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ticket-status.sold-out {
    color: var(--luxury-accent-gold);
    font-weight: 600;
}


@media (max-width: 768px) {
}

.faq-question .faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(180deg);
} 