/**
 * Theme Name: Blocksy Child
 * 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=&quot;middle&quot;] { background: #1b4332 !important; }
header#header nav a, header#header .site-title a, header#header .ct-menu-link { color: #ffffff !important; }
header#header nav a:hover, header#header .ct-menu-link:hover { color: #52b788 !important; }
header#header nav [aria-current=&quot;page&quot;] &gt; a,
header#header nav .current-menu-item &gt; a { color: #52b788 !important; }

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

/* === BODY AND TEXT === */
body { background: #f8faf9 !important; color: #333333 !important; }
a { color: #2d6a4f; }
a:hover { color: #52b788; }

/* === 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: #2d6a4f; color: #ffffff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f8faf9; }
::-webkit-scrollbar-thumb { background: #2d6a4f; border-radius: 4px; }

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

/* === PALETTE === */
:root {
    --theme-palette-color-1: #2d6a4f;
    --theme-palette-color-2: #52b788;
    --theme-palette-color-3: #1b4332;
    --theme-palette-color-4: #333333;
    --theme-palette-color-5: #f8faf9;
}


/* 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: #52b788 !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: #52b788 !important;
}
/* Override any Blocksy active menu indicator */
[data-menu] > .menu-item.current-menu-item > a,
[data-menu] > .current_page_item > a {
    color: #52b788 !important;
}
header [data-menu] > .menu-item > a[aria-current="page"] {
    color: #52b788 !important;
}
/* Remove any red background indicators */
.ct-header-account-text,
header .menu-item > a {
    background-color: transparent !important;
}
