/*
Theme Name: Kadence Child
Template: kadence
Description: Child theme of Kadence with custom purple color scheme
Version: 1.0
*/

/* Override Kadence color palette with purple theme */
:root {
    --global-palette1: #B89CE5 !important;  /* Primary purple */
    --global-palette2: #7B5A9A !important;  /* Secondary purple */
    --global-palette3: #4A2E5F !important;  /* Deep purple for headings */
    --global-palette-highlight: #B89CE5 !important;
    --global-palette-highlight-alt: #7B5A9A !important;
    --global-palette-btn-bg: #B89CE5 !important;
    --global-palette-btn-bg-hover: #7B5A9A !important;
}

/* Ensure links and highlights use purple */
a {
    color: #B89CE5;
}

a:hover {
    color: #7B5A9A;
}

/* Button styling */
button, .button, .wp-block-button__link, input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: #B89CE5 !important;
    border-color: #B89CE5 !important;
}

button:hover, .button:hover, .wp-block-button__link:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background-color: #7B5A9A !important;
    border-color: #7B5A9A !important;
}

/* Navigation styling */
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
    color: #B89CE5 !important;
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
    color: #4A2E5F !important;
}

/* Ensure focus and active states use purple */
*:focus, *:active {
    outline-color: #B89CE5 !important;
}

/* Override any remaining blue elements */
.has-vivid-cyan-blue-color, .has-pale-cyan-blue-color {
    color: #B89CE5 !important;
}

.has-vivid-cyan-blue-background-color, .has-pale-cyan-blue-background-color {
    background-color: #B89CE5 !important;
}

.has-vivid-cyan-blue-border-color, .has-pale-cyan-blue-border-color {
    border-color: #B89CE5 !important;
}

/* Meta and tags styling */
.entry-meta a, .entry-taxonomy a {
    color: #B89CE5;
}

.entry-meta a:hover, .entry-taxonomy a:hover {
    color: #7B5A9A;
}