/* ============================================================
   custom.css — Accent Color Overrides & Theme-Specific Tweaks
   GlowTechy Theme
   ============================================================ */

/* -----------------------------------------------
   Gold Accent Reinforcement
----------------------------------------------- */

/* Ensure accent color is applied consistently */
:root {
    --color-accent:       #ffd700;
    --color-accent-hover: #cda500;
}

/* -----------------------------------------------
   Header Logo Area
----------------------------------------------- */
#theme-header.theme-header {
    background: #ffffff;
}

.tie-logo-img {
    filter: brightness(1.05);
}

/* -----------------------------------------------
   Navigation Enhancements
----------------------------------------------- */
#main-nav.main-nav {
    background: #1a1a1b;
}

ul.menu#primary-menu .menu-item.tie-current-menu > a {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
}

ul.menu#primary-menu .menu-item > a:focus-visible {
    outline-color: #ffd700;
}

/* -----------------------------------------------
   Section Title Gold Border
----------------------------------------------- */
.the-global-title::before {
    background-color: #ffd700;
}

/* -----------------------------------------------
   Post Category Tags
----------------------------------------------- */
.post-cat,
.post-cat:visited {
    background-color: #ffd700;
    color: #000000;
}

.post-cat:hover,
.post-cat:focus {
    background-color: #cda500;
    color: #000000;
}

/* -----------------------------------------------
   Read More Buttons
----------------------------------------------- */
.more-link.button,
a.more-link.button,
.more-link.button:visited {
    background-color: #ffd700;
    color: #000000;
    border: none;
}

.more-link.button:hover,
a.more-link.button:hover {
    background-color: #cda500;
    color: #000000;
}

/* -----------------------------------------------
   Sidebar Widget Title Gold Accent
----------------------------------------------- */
.sidebar-widget-title {
    border-left-color: #ffd700;
    border-bottom-color: #ffd700;
}

/* -----------------------------------------------
   Pagination Active State
----------------------------------------------- */
.pagination-list .active .page-link,
.pagination-list .page-item.active > a,
.pagination-list .page-item.active > span {
    background-color: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

.pagination-list .page-link:hover {
    background-color: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

/* -----------------------------------------------
   Back to Top Button
----------------------------------------------- */
#go-to-top.go-to-top-button {
    background-color: #ffd700;
    color: #000000;
}

#go-to-top.go-to-top-button:hover {
    background-color: #cda500;
    color: #000000;
}

/* -----------------------------------------------
   Footer Links Hover
----------------------------------------------- */
.footer-menu ul.menu .menu-item a:hover {
    color: #ffd700;
}

/* -----------------------------------------------
   Article Content Links
----------------------------------------------- */
.article-content a {
    color: #b8860b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: #ffd700;
}

/* -----------------------------------------------
   Blockquote Gold Accent
----------------------------------------------- */
blockquote {
    border-left-color: #ffd700;
}

/* -----------------------------------------------
   Error 404 Accent
----------------------------------------------- */
.error-404-code {
    color: #ffd700;
    text-shadow: 0 2px 12px rgba(255, 215, 0, 0.25);
}

.error-home-btn {
    background-color: #ffd700;
    color: #000000;
}

.error-home-btn:hover {
    background-color: #cda500;
    color: #000000;
}

/* -----------------------------------------------
   Hero Card Gold Overlay on Hover
----------------------------------------------- */
.hero-card:hover .hero-card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.78) 100%);
}

/* -----------------------------------------------
   FAQ Section Accent
----------------------------------------------- */
.faq-question {
    padding-left: 0.875rem;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 3px;
    background: #ffd700;
    border-radius: 2px;
}

/* -----------------------------------------------
   Tag Hover
----------------------------------------------- */
.article-tags .tag:hover {
    background: #ffd700;
    color: #000000;
}

/* -----------------------------------------------
   Category Header Accent Line
----------------------------------------------- */
.category-header {
    border-bottom-color: #ffd700;
}

/* -----------------------------------------------
   Popular Post Item — number badge
----------------------------------------------- */
.popular-post-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ffd700;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 4px;
}

/* -----------------------------------------------
   Loading Spinner (accent colored)
----------------------------------------------- */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
