﻿/* ===== Base Reset ===== */
/* 
html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #1a1a1a;
  line-height: 1.6;
} */

/* ===== Layout Wrapper ===== */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* ===== Main Content ===== */
main.site-content {
  flex: 1;
  padding: 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #f5f5f5;
    padding: 2rem;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-contact {
    font-size: 0.95rem;
    color: #333;
}

.footer-address {
    white-space: pre-line;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin: 0.3rem 0;
}

.footer-contact a {
    color: #007BFF;
    text-decoration: none;
}

    .footer-contact a:hover {
        text-decoration: underline;
    }

.hero {
    min-height: 300px;
    color: white;
    display: flex;
    align-items: center;
}

.hero.align-left .content {
    text-align: left;
    margin-left: 5%;
}

.hero.align-right .content {
    text-align: right;
    margin-left: auto;
    margin-right: 5%;
}

.hero.align-center .content {
    text-align: center;
    margin: 0 auto;
}

.event-list {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.badge {
    background: gold;
    color: black;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-left: 10px;
}

.footer-contact a:hover {
    text-decoration: underline;
}


/* Base nav */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    position: relative;
}

.nav-item {
    position: relative;
}

.mega-menu:hover .mega-menu-dropdown {
    display: block;
}

/* Mega Menu Dropdown */
.mega-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background-color: #f4f0eb;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
}

.mega-columns {
    display: flex;
    flex-wrap: wrap;
    max-width: 70%;
}

.mega-column {
    display: flex;
    flex-direction: column;
    width: 200px;
    margin-right: 2rem;
}

.mega-link {
    text-decoration: none;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Search block */
.mega-search {
    max-width: 25%;
}

.search-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.align-left {
    text-align: left;
    align-items: flex-start;
    /* or some positioning rules */
}

.align-right {
    text-align: right;
    align-items: flex-end;
}

.align-center {
    text-align: center;
    align-items: center;
}

#editor-content * {
    all: revert;
}

#editor-content :is(h1, h2, h3, h4, h5, h6) {
    font-family: "TheSeasons", serif;
    font-weight: 700;
}

#cookieyes .cky-container,
#cookieyes .cky-consent-bar,
#cookieyes .cky-box,
#cookieyes .cky-desc,
#cookieyes .cky-btn {
  font-family: "AvantGarde", serif !important;
  font-weight: normal !important;
}

#cookieyes .cky-title {
  font-family: "TheSeasons", serif !important;
  font-weight: 700 !important;
}

.cookie-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6) !important;
  z-index: 999998 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  display: block !important;
  visibility: visible !important;
}

.cookie-overlay.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Ensure CookieYes banner is above overlay */
#cookieyes,
#cookieyes *,
.cky-consent-container,
.cky-consent-container *,
.cky-consent-bar,
.cky-consent-bar *,
.cky-notice-wrapper,
.cky-notice-wrapper *,
.cky-modal,
.cky-modal *,
.cky-preference-center,
.cky-preference-center *,
[id*="cookieyes"],
[id*="cookieyes"] *,
[class*="cky-"],
[class*="cky-"] * {
  z-index: 999999 !important;
  position: relative;
}

/* Prevent body scroll when banner is visible */
body.cookie-banner-active {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* Disable pointer events on all content except banner when overlay is visible */
body.cookie-banner-active * {
  pointer-events: none !important;
}

/* Re-enable pointer events for CookieYes banner and its children */
body.cookie-banner-active #cookieyes,
body.cookie-banner-active #cookieyes *,
body.cookie-banner-active .cky-consent-container,
body.cookie-banner-active .cky-consent-container *,
body.cookie-banner-active .cky-notice-wrapper,
body.cookie-banner-active .cky-notice-wrapper *,
body.cookie-banner-active [id*="cookieyes"],
body.cookie-banner-active [id*="cookieyes"] *,
body.cookie-banner-active [class*="cky-"],
body.cookie-banner-active [class*="cky-"] * {
  pointer-events: auto !important;
}

/* Ensure overlay is clickable to block interactions */
body.cookie-banner-active #cookieOverlay {
  pointer-events: auto !important;
}

@media (max-width: 1023px) {
  .text-h4 {
    font-size: 40px !important;
  }
}

@media (max-width: 1023px) {
  .text-h5 {
    font-size: 24px !important;
  }
}

/* Dropdown z-index management - ensures open dropdown menu appears above other dropdown triggers */
.custom-dropdown.dropdown-open {
  position: relative;
  z-index: 50;
}

@supports not (justify-self: anchor-center) {
    .firefox\:justify-self-center {
        justify-self: center;
    }
}

@-moz-document url-prefix() {
    .filter-scrollbar {
        padding-right: 8px;
    }
}

/* Safari fix (WebKit-only hack) */
@supports (-webkit-touch-callout: none) and (not (scrollbar-width: thin)) {
    .filter-scrollbar {
        padding-right: 8px; /* Adjust if needed */
    }
}