/**
 * Theme Name: Blocksy Child
Version: 1782913229
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* === STICKY HEADER === */
#main-container { overflow: visible !important; }
header#header { position: sticky !important; top: 0 !important; z-index: 99999 !important; }

/* === HEADER STYLING === */
header#header [data-row="middle"] { background: #C8A656 !important; }
header#header nav a, header#header .ct-menu-link { color: #1B3068 !important; }
header#header nav a:hover, header#header .ct-menu-link:hover { color: #C8A656 !important; }
header#header nav [aria-current="page"] > a,
header#header nav .current-menu-item > a { color: #C8A656 !important; }

/* === HIDE PAGE TITLES === */
.entry-header { display: none !important; }

/* === BODY AND TEXT === */
body { background: #F9F6ED !important; color: #333333 !important; }
a { color: #1B3068; }
a:hover { color: #C8A656; }

/* === ANIMATIONS === */
.stk-img-wrapper:hover img { transform: scale(1.05); }
.stk-img-wrapper img { transition: transform 0.4s ease; }
.ss-fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ss-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* === SELECTION AND SCROLLBAR === */
::selection { background: #1B3068; color: #ffffff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F9F6ED; }
::-webkit-scrollbar-thumb { background: #1B3068; border-radius: 4px; }

/* === FOOTER === */
footer { background: #C8A656 !important; }
footer, footer p, footer .copyright, footer span { color: rgba(255,255,255,0.7) !important; }
footer a { color: #C8A656 !important; }

/* === PALETTE === */
:root {
    --theme-palette-color-1: #1B3068;
    --theme-palette-color-2: #C8A656;
    --theme-palette-color-3: #C8A656;
    --theme-palette-color-4: #333333;
    --theme-palette-color-5: #F9F6ED;
}


/* Fix active nav red → green */
header#header nav [aria-current="page"] > .ct-menu-link,
header#header nav .current-menu-item > .ct-menu-link,
header#header nav .current_page_item > .ct-menu-link,
header#header [data-menu] .current-menu-item > a,
header#header [data-menu] [aria-current="page"] > a {
    color: #C8A656 !important;
    background: transparent !important;
    background-color: transparent !important;
}
header#header [data-menu] .current-menu-item > a::after,
header#header nav .current-menu-item > a::after {
    background: #C8A656 !important;
}
/* Override any Blocksy active menu indicator */
[data-menu] > .menu-item.current-menu-item > a,
[data-menu] > .current_page_item > a {
    color: #C8A656 !important;
}
header [data-menu] > .menu-item > a[aria-current="page"] {
    color: #C8A656 !important;
}
/* Remove any red background indicators */
.ct-header-account-text,
header .menu-item > a {
    background-color: transparent !important;
}

/* === FULL-WIDTH SECTIONS FIX === */
#main-container, .site-main, .ct-container-full, article.page {
    overflow-x: hidden !important;
}
.entry-content.is-layout-constrained {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}
.entry-content.is-layout-constrained > .wp-block-stackable-columns,
.entry-content.is-layout-constrained > .wp-block-group,
.entry-content.is-layout-constrained > .wp-block-html {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}
@media (max-width: 768px) {
    .entry-content.is-layout-constrained > .wp-block-stackable-columns,
    .entry-content.is-layout-constrained > .wp-block-group,
    .entry-content.is-layout-constrained > .wp-block-html {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* v1779188528 Force page title headings white — override Blocksy .entry-content color cascade */
.entry-content > div > h1[style*="color:#ffffff"],
.entry-content > div > h1[style*="color: #fff"] {
    color: #ffffff !important;
}

/* Center logo in off-canvas mobile menu */
.ct-panel .ct-panel-content-inner {
    align-items: center !important;
}
.ct-panel .site-logo-container {
    margin: 0 auto !important;
    display: block !important;
}











/* === DESKTOP TWO-ROW MENU === */
@media (min-width: 1000px) {
  header#header nav#header-menu-1 ul#menu-lisabi-navigation {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2px 0 !important;
    max-width: 100% !important;
    padding: 6px 0 !important;
  }
  header#header nav#header-menu-1 {
    max-width: 100% !important;
    overflow: visible !important;
  }
  header#header [data-column="end"] {
    max-width: 85% !important;
    flex: 1 1 auto !important;
  }
  header#header ul#menu-lisabi-navigation > li > a {
    padding: 8px 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    border: none !important;
    background: transparent !important;
    color: #1B3068 !important;
    transition: color 0.3s ease !important;
    position: relative !important;
  }
  header#header ul#menu-lisabi-navigation > li > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 2px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    height: 1.5px !important;
    background: #C8A415 !important;
    transform: scaleX(0) !important;
    transition: transform 0.3s ease !important;
  }
  header#header ul#menu-lisabi-navigation > li > a:hover {
    color: #C8A415 !important;
    background: transparent !important;
  }
  header#header ul#menu-lisabi-navigation > li > a:hover::after {
    transform: scaleX(1) !important;
  }
  header#header ul#menu-lisabi-navigation > li.current-menu-item > a {
    color: #C8A415 !important;
  }
  header#header ul#menu-lisabi-navigation > li.current-menu-item > a::after {
    transform: scaleX(1) !important;
  }
}
@media (min-width: 1000px) and (max-width: 1300px) {
  header#header ul#menu-lisabi-navigation > li > a {
    padding: 7px 8px !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
  }
}


/* Fix CTA section text colors - Blocksy .entry-content overrides inline styles */
.entry-content h2[style*="color:#fff"],
.entry-content h2[style*="color:#ffffff"] {
  color: #fff !important;
}
.entry-content p[style*="color:rgba(255,255,255"] {
  color: rgba(255,255,255,0.8) !important;
}


/* Quicklink cards hover effect */
.ql-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  cursor: pointer !important;
}
.ql-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}
.ql-card a {
  text-decoration: none !important;
  color: inherit !important;
}


/* Event card images — show full image, square aspect ratio */
.lisabi-events .event-card .stk-block-image img {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: #f5f0e3 !important;
  border-radius: 8px 8px 0 0 !important;
}


/* Event cards — make entire card clickable via stretched link */
.event-card {
  position: relative !important;
  cursor: pointer !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.event-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}
.event-card .event-card-body a {
  position: static !important;
}
.event-card .event-card-body a::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
}


/* Sticky footer — always at bottom */
body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}
#main-container {
  flex: 1 !important;
}



/* Remove all gaps around hero on mobile */
@media (max-width: 768px) {
  .page-id-2216 .ct-container-full[data-vertical-spacing] {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .page-id-2216 .hero-section[data-type="type-1"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .page-id-2216 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .lisabi-hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
  }
  .lisabi-hero .stk-block-column.hero-right,
  .lisabi-hero .stk-block-column.hero-right .stk-block-content,
  .lisabi-hero .stk-block-column.hero-right .stk-inner-blocks,
  .lisabi-hero .stk-block-column.hero-right .stk-block-image,
  .lisabi-hero .stk-block-column.hero-right figure {
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    line-height: 0 !important;
  }
}


/* Site title: blue by default, white when scrolled */
/* Site title: blue default, white on scroll */
header#header [data-id="logo"] .site-title {
  --theme-link-initial-color: #1B3068 !important;
  --theme-link-hover-color: #C8A656 !important;
}
header#header [data-id="logo"] .site-title a {
  color: #1B3068 !important;
  transition: color 0.3s ease !important;
}
header#header.is-sticky [data-id="logo"] .site-title {
  --theme-link-initial-color: #ffffff !important;
}
header#header.is-sticky [data-id="logo"] .site-title a {
  color: #ffffff !important;
}
header#header .site-description {
  color: #666 !important;
  transition: color 0.3s ease !important;
}
header#header.is-sticky .site-description {
  color: rgba(255,255,255,0.7) !important;
}


/* Off-canvas menu logo size */
.ct-panel [data-id="offcanvas-logo"] img,
.ct-panel .site-logo-container img {
  max-width: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto 20px !important;
  display: block !important;
  object-fit: contain !important;
}
.ct-panel .site-logo-container {
  margin: 0 auto 10px !important;
  display: flex !important;
  justify-content: center !important;
}


/* Footer — Lisabi gold background */
footer#footer.ct-footer,
footer.ct-footer {
  background-color: #C8A656 !important;
}
footer#footer .ct-footer-copyright {
  color: #1B3068 !important;
  font-weight: 600 !important;
}
footer#footer .ct-footer-copyright a {
  color: #1B3068 !important;
}

/* Royal Majesties cards - mobile responsive */
.lisabi-royals .stk-block-content {
    flex-wrap: wrap !important;
    justify-content: center !important;
}
@media (max-width: 768px) {
    .lisabi-royals .stk-block-content {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .lisabi-royals .royal-card {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        min-width: 0 !important;
        width: auto !important;
    }
    .lisabi-royals .royal-card img,
    .lisabi-royals .royal-card div[style*="border-radius"] {
        width: 90px !important;
        height: 90px !important;
    }
    .lisabi-royals .royal-card h4 {
        font-size: 11px !important;
    }
    .lisabi-royals .royal-card p {
        font-size: 10px !important;
    }
    .lisabi-royals-bg {
        padding: 30px 15px 10px !important;
    }
    .lisabi-royals {
        padding: 0 15px 30px !important;
    }
}
@media (max-width: 480px) {
    .lisabi-royals .royal-card {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        padding: 10px !important;
    }
    .lisabi-royals .royal-card img,
    .lisabi-royals .royal-card div[style*="border-radius"] {
        width: 75px !important;
        height: 75px !important;
        font-size: 36px !important;
    }
}

/* === MOBILE LEFT-SHIFT FIX === */
/* Override 100vw in Additional CSS that causes horizontal overflow */
@media (max-width: 768px) {
  .lisabi-hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Prevent any element from exceeding viewport */
  .entry-content > *,
  .stk-block,
  .stk-block-columns,
  .stk-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* === GREEN COLOR REMOVAL — Replace all greens with gold === */
[data-footer*="type-1"] [data-id="copyright"] {
  --theme-link-initial-color: #C8A656 !important;
  --theme-link-hover-color: #ffffff !important;
}
/* Kill any stray green anywhere */
.has-vivid-green-cyan-color { color: #C8A656 !important; }
.has-vivid-green-cyan-background-color { background-color: #C8A656 !important; }
.has-light-green-cyan-color { color: #C8A656 !important; }
.has-light-green-cyan-background-color { background-color: #C8A656 !important; }
