/* Custom styles for 0xryz website */

/* Force light mode - prevent dark theme */
html {
  color-scheme: light !important;
}

html[data-theme="dark"],
html[data-theme],
html {
  /* Force remove dark theme attribute */
  --force-light-mode: true;
}

/* Prevent dark mode styles from applying */
@media (prefers-color-scheme: dark) {
  html {
    color-scheme: light !important;
  }
  
  html[data-theme="dark"],
  html[data-theme] {
    /* Override any dark theme variables */
    --global-bg-color: #fff !important;
    --global-text-color: #333 !important;
  }
}

/* Fix profile image display */
.author__avatar,
.author__avatar img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  max-width: 175px !important;
}

/* Make bio smaller */
.author__bio {
  font-size: 0.85em !important;
  line-height: 1.4 !important;
  margin-top: 5px !important;
  margin-bottom: 10px !important;
}

/* Make about page content smaller */
.page__content {
  font-size: 0.9em !important;
}

.page__content p {
  margin-bottom: 0.8em !important;
}

/* Dark blue navigation bar */
.masthead {
  background: #1e40af !important; /* Dark blue */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.masthead__menu-item {
  background-color: #1e40af !important; /* Dark blue */
}

.greedy-nav {
  background: #1e40af !important; /* Dark blue */
}

.greedy-nav button {
  background-color: #1e40af !important; /* Dark blue */
}

/* White text on dark blue navigation */
.masthead a,
.masthead__menu-item a {
  color: #ffffff !important; /* White text */
}

.masthead a:hover,
.masthead__menu-item a:hover {
  color: #e0e0e0 !important; /* Light gray on hover */
}

.greedy-nav a {
  color: #ffffff !important; /* White text */
}

.greedy-nav a:hover {
  color: #e0e0e0 !important; /* Light gray on hover */
}

/* Navigation icon (hamburger menu) color */
.greedy-nav button span.navicon,
.greedy-nav button span.navicon::before,
.greedy-nav button span.navicon::after {
  background-color: #ffffff !important; /* White */
}

/* Border color for navigation */
.masthead::after {
  background: rgba(255, 255, 255, 0.2) !important; /* Light border */
}

/* Hidden links dropdown styling */
.greedy-nav .hidden-links {
  background: #1e40af !important; /* Dark blue */
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Show footer with custom styling */
.page__footer {
  display: block !important;
  margin-top: 1em !important;
  padding: 0.5em 0 !important;
  font-size: 0.8em !important;
}

.page__footer footer {
  display: block !important;
  margin-top: 0.3em !important;
  padding: 0.3em 1em 0.3em !important;
}

.page__footer-copyright {
  display: block !important;
  font-size: 0.75em !important;
  line-height: 1.3 !important;
  margin: 0.2em 0 !important;
  text-align: center !important;
}

.page__footer-follow {
  display: none !important;
}

.greedy-nav .hidden-links li {
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

