/*
Theme Name: PropFirmsRadar
Theme URI: https://propfirmsradar.com
Description: Modern trading firms comparison theme
Author: Admin
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: propfirmsradar
*/

:root {
  --primary-color: #10b981;
  --bg-dark: #050505;
  --bg-darker: #000000;
  --border-color: #1e293b;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica',
    'Arial', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #059669;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  height: auto;
  min-height: 4rem;
}

header nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.logo-section img,
.custom-logo {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: block;
}

.menu-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

header .menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  list-style: none;
}

header .menu li {
  list-style: none;
}

header .menu a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

header .menu a:hover {
  color: var(--primary-color);
}

header .menu button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

header .menu button:hover {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Search Bar */
.search-bar {
  position: relative;
}

.search-bar input {
  height: 2.25rem;
  width: 12rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.6);
  padding-left: 2.25rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar input:focus {
  border-color: var(--primary-color);
  outline: none;
  ring: 1px solid var(--primary-color);
}

.search-bar svg {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
  width: 1rem;
  height: 1rem;
  color: var(--text-muted);
}

/* Container */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Main */
main {
  flex: 1;
}

/* Footer */
footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

/* Comments */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: white;
}

.comment-list {
  list-style: none;
}

.comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: rgba(30, 41, 59, 0.3);
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

.comment-author {
  font-weight: 500;
  color: var(--primary-color);
}

.comment-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.comment-text {
  color: var(--text-light);
  margin-top: 1rem;
}

/* Search Results */
.search-results {
  max-width: 100%;
}

.search-result {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.result-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.result-title a {
  color: white;
  text-decoration: none;
}

.result-title a:hover {
  color: var(--primary-color);
}

.result-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.result-date,
.result-author {
  margin-right: 1rem;
}

.result-excerpt {
  color: var(--text-light);
  line-height: 1.8;
}

/* Archive */
.archive-post {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.archive-description {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.page-numbers {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* No Content */
.no-results,
.no-posts,
.no-content {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  header .menu {
    display: none;
  }

  .search-bar {
    display: none;
  }

  .search-bar input {
    width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 6rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Content */
.wp-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Features Section */
.features-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.features-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: white;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background-color: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.post-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #0f172a;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.post-card h3 a {
  color: white;
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--primary-color);
}

.post-card-excerpt {
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  padding: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 0.5rem;
}

.post {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.post:last-child {
  border-bottom: none;
}

.post-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.post-content {
  color: var(--text-light);
  line-height: 1.8;
}
