/* Arcaia Dark Theme by SudoAll - Force Override */

html, body {
  background: #050816 !important;
  color: #e5e7eb !important;
}

.site {
  background: transparent !important;
}

.site-inner {
  background: radial-gradient(ellipse at top left, rgba(56,189,248,0.06), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(249,115,22,0.06), transparent 50%) !important;
  min-height: 100vh;
}

.site-header,
.site-footer {
  background: rgba(10,15,30,0.95) !important;
  color: #e5e7eb !important;
  border-bottom: 1px solid rgba(56,189,248,0.3) !important;
}

.site-footer {
  border-top: 1px solid rgba(56,189,248,0.3) !important;
  border-bottom: none !important;
}

.site-title a,
.site-description,
.site-footer a,
.site-header a {
  color: #e5e7eb !important;
}

.site-footer a:hover,
.site-header a:hover,
.site-title a:hover {
  color: #38bdf8 !important;
}

.main-navigation,
.main-navigation ul {
  background: transparent !important;
}

.main-navigation ul li a {
  color: #e5e7eb !important;
}

.main-navigation ul li a:hover {
  color: #38bdf8 !important;
}

/* NEON ARTICLE CARDS */
article.post,
article.page {
  background: rgba(10,15,30,0.92) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 1.75rem !important;
  border: 1px solid rgba(56,189,248,0.4) !important;
  box-shadow: 
    0 0 20px rgba(56,189,248,0.15),
    0 0 40px rgba(99,102,241,0.1),
    0 8px 32px rgba(0,0,0,0.4) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

article.post:hover,
article.page:hover {
  border-color: rgba(56,189,248,0.7) !important;
  box-shadow: 
    0 0 30px rgba(56,189,248,0.25),
    0 0 60px rgba(99,102,241,0.15),
    0 12px 40px rgba(0,0,0,0.5) !important;
}

/* Sticky/Featured posts get orange glow */
article.sticky {
  border-color: rgba(249,115,22,0.5) !important;
  box-shadow: 
    0 0 25px rgba(249,115,22,0.2),
    0 0 50px rgba(249,115,22,0.1),
    0 8px 32px rgba(0,0,0,0.4) !important;
}

article.sticky:hover {
  border-color: rgba(249,115,22,0.8) !important;
  box-shadow: 
    0 0 35px rgba(249,115,22,0.3),
    0 0 70px rgba(249,115,22,0.15),
    0 12px 40px rgba(0,0,0,0.5) !important;
}

.sticky-post {
  background: linear-gradient(135deg, #f97316, #facc15) !important;
  color: #0b1120 !important;
  padding: 0.2rem 0.75rem !important;
  border-radius: 999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.entry-title a {
  color: #f1f5f9 !important;
  font-weight: 700 !important;
  font-size: 1.35rem !important;
  text-decoration: none !important;
}

.entry-title a:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

.entry-info,
.entry-info a {
  color: #9ca3af !important;
  font-size: 0.85rem !important;
}

.entry-info a:hover {
  color: #38bdf8 !important;
}

.entry-content,
.entry-summary {
  color: #d1d5db !important;
}

.entry-summary p {
  margin-bottom: 0.75rem !important;
}

/* Shrink preview images */
.home .entry-summary img,
.blog .entry-summary img,
.archive .entry-summary img {
  max-width: 280px !important;
  height: auto !important;
  display: block !important;
  margin: 0.5rem auto 1rem !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
}

/* Hide extra content in preview - show only first elements */
.home .entry-summary h2,
.home .entry-summary h3,
.home .entry-summary ul,
.home .entry-summary ol,
.home .entry-summary hr,
.blog .entry-summary h2,
.blog .entry-summary h3,
.blog .entry-summary ul,
.blog .entry-summary ol,
.blog .entry-summary hr {
  display: none !important;
}

/* Read full article button */
.more-link {
  display: inline-block !important;
  margin-top: 0.75rem !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #38bdf8, #6366f1) !important;
  color: #0b1120 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(56,189,248,0.3) !important;
  transition: all 0.2s ease !important;
}

.more-link:hover {
  background: linear-gradient(135deg, #f97316, #facc15) !important;
  box-shadow: 0 6px 20px rgba(249,115,22,0.4) !important;
  transform: translateY(-2px) !important;
}

.more-link span {
  display: none !important;
}

.more-link::after {
  content: "Read full article →" !important;
}

/* Footer */
.entry-footer {
  color: #6b7280 !important;
  border-top: 1px solid rgba(148,163,184,0.2) !important;
  padding-top: 0.75rem !important;
  margin-top: 1rem !important;
}

.entry-footer a {
  color: #9ca3af !important;
}

.entry-footer a:hover {
  color: #38bdf8 !important;
}

/* Sidebar */
.sidebar,
.widget-area,
#secondary {
  background: rgba(10,15,30,0.92) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
  border: 1px solid rgba(56,189,248,0.3) !important;
  box-shadow: 
    0 0 15px rgba(56,189,248,0.1),
    0 8px 24px rgba(0,0,0,0.35) !important;
}

.widget-title {
  color: #f1f5f9 !important;
  border-bottom: 1px solid rgba(56,189,248,0.3) !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 1rem !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.widget ul li {
  color: #d1d5db !important;
  border-bottom: 1px solid rgba(148,163,184,0.15) !important;
  padding: 0.4rem 0 !important;
}

.widget ul li a {
  color: #38bdf8 !important;
}

.widget ul li a:hover {
  color: #f97316 !important;
}

/* Links */
a {
  color: #38bdf8 !important;
}

a:hover,
a:focus,
a:active {
  color: #f97316 !important;
}

/* Forms */
input,
textarea,
select {
  background: #0f172a !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(56,189,248,0.4) !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.75rem !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #38bdf8 !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(56,189,248,0.3) !important;
}

button,
input[type=submit],
input[type=button] {
  background: linear-gradient(135deg, #38bdf8, #6366f1) !important;
  color: #0b1120 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

button:hover,
input[type=submit]:hover,
input[type=button]:hover {
  background: linear-gradient(135deg, #f97316, #facc15) !important;
}

/* Pagination */
.pagination span a,
.pagination a {
  background: rgba(10,15,30,0.92) !important;
  color: #e5e7eb !important;
  border-radius: 999px !important;
  padding: 0.5rem 1rem !important;
  border: 1px solid rgba(56,189,248,0.4) !important;
}

.pagination span a:hover,
.pagination a:hover {
  background: #38bdf8 !important;
  color: #0b1120 !important;
}

/* Search */
.search-popup {
  background: rgba(5,8,22,0.98) !important;
}

.search-field,
.search-field-top-bar {
  background: #0f172a !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(56,189,248,0.4) !important;
}

/* Comments */
.comments-area {
  background: rgba(10,15,30,0.92) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  border: 1px solid rgba(56,189,248,0.3) !important;
}

.comment-body {
  background: rgba(15,23,42,0.8) !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}

/* Single post full width images */
.single .entry-content img {
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
}

/* ===================== */
/* SEARCH BAR FIX - v2   */
/* ===================== */

/* Search form container */
.search-popup .search-top-bar-popup,
.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

/* Search input field */
.search-popup .search-field-top-bar,
.search-field-top-bar {
  background: #0f172a !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(56,189,248,0.4) !important;
  border-right: none !important;
  border-radius: 12px 0 0 12px !important;
  height: 48px !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.search-popup .search-field-top-bar:focus,
.search-field-top-bar:focus {
  border-color: #38bdf8 !important;
  outline: none !important;
  box-shadow: 0 0 12px rgba(56,189,248,0.25) !important;
}

/* Search button - override generic pill styling */
.search-popup .search-top-bar-submit,
.search-top-bar-submit,
button.search-submit.search-top-bar-submit {
  background: linear-gradient(135deg, #38bdf8, #6366f1) !important;
  border: 1px solid rgba(56,189,248,0.5) !important;
  border-left: none !important;
  border-radius: 0 12px 12px 0 !important;
  width: 52px !important;
  height: 48px !important;
  min-width: 52px !important;
  padding: 0 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.search-popup .search-top-bar-submit:hover,
.search-top-bar-submit:hover {
  background: linear-gradient(135deg, #f97316, #facc15) !important;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35) !important;
}

/* Search icon */
.search-top-bar-submit .fa-search,
.search-top-bar-submit .header-search-icon {
  color: #0b1120 !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

/* Content area search (sidebar/page) */
.content-area .search-submit,
.widget .search-submit {
  border-radius: 0 12px 12px 0 !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
}


/* ===================== */
/* SEARCH BAR FIX - v3   */
/* ===================== */

/* Search form container - flex layout */
.search-popup .search-top-bar-popup,
#searchform_topbar,
.search-form {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  max-width: 600px !important;
}

/* Label containing the input - needs to flex grow */
.search-popup .search-top-bar-popup label,
#searchform_topbar label,
.search-form label {
  flex: 1 !important;
  display: flex !important;
  margin: 0 !important;
}

/* Search input field */
.search-popup .search-field-top-bar,
.search-field-top-bar,
#search-field-top-bar {
  background: #0f172a !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(56,189,248,0.4) !important;
  border-right: none !important;
  border-radius: 12px 0 0 12px !important;
  height: 48px !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex: 1 !important;
}

.search-popup .search-field-top-bar:focus,
.search-field-top-bar:focus,
#search-field-top-bar:focus {
  border-color: #38bdf8 !important;
  outline: none !important;
  box-shadow: 0 0 12px rgba(56,189,248,0.25) !important;
}

.search-field-top-bar::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Search button - override generic pill styling */
.search-popup .search-top-bar-submit,
.search-top-bar-submit,
#search-top-bar-submit,
button.search-submit.search-top-bar-submit {
  background: linear-gradient(135deg, #38bdf8, #6366f1) !important;
  border: 1px solid rgba(56,189,248,0.5) !important;
  border-left: none !important;
  border-radius: 0 12px 12px 0 !important;
  width: 52px !important;
  height: 48px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  padding: 0 !important;
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.search-popup .search-top-bar-submit:hover,
.search-top-bar-submit:hover,
#search-top-bar-submit:hover {
  background: linear-gradient(135deg, #f97316, #facc15) !important;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35) !important;
}

/* Search icon styling */
.search-top-bar-submit .fa-search,
.search-top-bar-submit .header-search-icon,
#search-top-bar-submit .fa,
#search-top-bar-submit .fa-search {
  color: #0b1120 !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

/* Content area search (sidebar/page) */
.content-area .search-submit,
.widget .search-submit {
  border-radius: 0 12px 12px 0 !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
}

