:root {
    --accent: #ff6600; /* Orange highlight */

    /* Override Archie Theme Variables */
    --color-primary: #ff6600;
    --color-primary-hover: #e65c00;

    /* Dark Mode Overrides */
    --color-primary-dark: #ff6600;
}

/* Re-apply button styles */
.button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #eee;
    color: #333;
    border-radius: 0px !important; /* No rounded borders */
    text-decoration: none;
    margin-left: 5px;
}

.button:hover {
    background-color: #ddd;
    text-decoration: none;
}

.reading-list-button {
    background-color: var(--color-primary) !important; /* Use the theme var which we overrode */
    color: #fff !important;
    margin-left: 12px;
}
.reading-list-button:hover {
    background-color: var(--color-primary-hover) !important;
    color: #fff !important;
}

/* Improve mobile navigation layout */
nav a {
    display: inline-block;
}

@media (max-width: 700px) {
    nav a {
        margin-bottom: 5px;
    }
}

/* Footer alignment - Global (Desktop & Mobile) */
footer {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
}

.footer-info {
    text-align: center;
    width: 100%;
}

/* Specific styling for the LibreCounter to ensure it doesn't float weirdly */
.footer-info img {
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px;
}

/* Remove border/background from logo */
header .main img {
    border: none;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* Override selection color if not handled by --accent in all places */
::selection {
    background: var(--color-primary);
    color: #fff;
}
::-moz-selection {
    background: var(--color-primary);
    color: #fff;
}
