/*
Template:       gamxo
Theme Name:     GoDigitopia (Gamxo Child)
Theme URI:      https://godigitopia.com
Author:         GoDigitopia Editorial
Author URI:     https://godigitopia.com
Description:    GoDigitopia child theme on Gamxo parent. Violet/cyan brand overrides.
Version:        1.1
Text Domain:    godigitopia
*/

/* ==========================================================================
   GODIGITOPIA BRAND OVERRIDES
   Map every hard-coded red/pink/yellow in the parent theme to brand palette.
   Brand: violet #6D28D9, indigo #4F46E5, cyan #06B6D4, slate #0F172A.
   ========================================================================== */
:root {
    --gd-vio: #6D28D9;
    --gd-ind: #4F46E5;
    --gd-cyn: #06B6D4;
    --gd-slt: #0F172A;
    --gd-grad: linear-gradient(135deg, #6D28D9 0%, #4F46E5 55%, #06B6D4 100%);
    --gd-grad-h: linear-gradient(-90deg, #6D28D9 0%, #06B6D4 100%);
}

/* Social brand backgrounds in widgets — replace red/pink with brand gradient */
.xs_social_counter_widget .wslu-style-1.wslu-counter-box-shaped .xs-counter-li.youtube .met-social,
.xs_social_counter_widget .wslu-style-1.wslu-counter-box-shaped .xs-counter-li.youtube a:hover .met-social,
.xs_social_counter_widget .wslu-style-2.wslu-counter-line-shaped .xs-counter-li.youtube {
    background-image: var(--gd-grad-h) !important;
}

.apsc-theme-1 .apsc-dribble-icon,
.apsc-theme-4 .apsc-dribble-icon,
.apsc-theme-5 .apsc-dribble-icon .social-icon {
    background-image: var(--gd-grad-h) !important;
}

.post-share .share-links a.pinterest-share-button {
    background: var(--gd-vio) !important;
}
.post-share .share-links a.pinterest-share-button:hover {
    background: var(--gd-ind) !important;
}

/* Blanket override — any inline red still leaking */
[style*="#ff0000"], [style*="#f43079"], [style*="#e13138"], [style*="#f7679d"], [style*="#ff7b7b"] {
    background-image: var(--gd-grad-h) !important;
    background-color: var(--gd-vio) !important;
}

/* AJAX load-more / pagination — already violet but harden */
a.loadMore, a.loadMore:hover {
    background-color: var(--gd-vio) !important;
    color: #fff !important;
}

/* "Trending" / "Hot" / "New" badges — gamxo paints them gradient by default,
   force brand gradient just in case */
.rt-trending-cap, .post-hot-label, .post-new-label,
.entry-categories .post-cat a, .entry-categories.style-1 a {
    background: var(--gd-grad) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* WordPress block default palette colors used by gamxo demos — neutralize */
.has-vivid-red-color { color: var(--gd-vio) !important; }
.has-vivid-red-background-color { background-color: var(--gd-vio) !important; }
.has-luminous-vivid-orange-color { color: var(--gd-vio) !important; }
.has-luminous-vivid-orange-background-color { background-color: var(--gd-vio) !important; }
.has-luminous-vivid-amber-color { color: var(--gd-cyn) !important; }
.has-luminous-vivid-amber-background-color { background-color: var(--gd-cyn) !important; }
.has-vivid-green-cyan-color { color: var(--gd-cyn) !important; }
.has-vivid-green-cyan-background-color { background-color: var(--gd-cyn) !important; }
.has-pale-pink-color { color: var(--gd-vio) !important; }
.has-pale-pink-background-color { background-color: rgba(109,40,217,0.08) !important; }

/* Generic button selectors — make sure every button uses brand */
.btn-primary, .btn.btn-primary,
.gamxo-btn, .gamxo-btn-primary,
input[type="submit"]:not(.search-submit),
button[type="submit"]:not(.search-submit) {
    background-color: var(--gd-vio) !important;
    border-color: var(--gd-vio) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn.btn-primary:hover,
.gamxo-btn:hover, .gamxo-btn-primary:hover,
input[type="submit"]:not(.search-submit):hover,
button[type="submit"]:not(.search-submit):hover {
    background-color: var(--gd-ind) !important;
    border-color: var(--gd-ind) !important;
    color: #fff !important;
}

/* Newsletter / subscribe forms — common red CTAs in news themes */
.subscribe-form button, .newsletter-form button,
.subscribe-form .btn, .newsletter-form .btn {
    background: var(--gd-grad) !important;
    color: #fff !important;
    border: 0 !important;
}

/* Top breaking-news ticker icon (gamxo style) — red default */
.rt-news-ticker-holder i,
.rt-news-ticker .news-label {
    background-image: var(--gd-grad-h) !important;
    color: #fff !important;
}

/* Hover line under nav links — already set via customizer but force */
.site-header .main-navigation ul li a:hover { color: var(--gd-vio) !important; }
.site-header .main-navigation nav>ul>li>a::before { background-color: var(--gd-vio) !important; }

/* Sticky header logo height */
.site-branding a.brand img,
.site-branding .custom-logo {
    max-height: 48px !important;
    width: auto !important;
}
@media (max-width: 768px) {
    .site-branding a.brand img,
    .site-branding .custom-logo { max-height: 40px !important; }
}
