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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-logo:hover {
  text-decoration: none;
  color: #1a73e8;
}

.site-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* Keep the homepage H1 wordmark visually identical to plain text */
.site-logo h1 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.site-nav a {
  margin-left: 1.5rem;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: #1a73e8;
  text-decoration: none;
}

/* Hero banner */
.hero-banner {
  width: 100%;
  display: block;
  background: #0b1220;
  max-height: 420px;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.hero img.hero-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

.hero p {
  font-size: 1.1rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto;
}

/* Main content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* Post cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #f0f2f5;
}

.post-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a73e8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.post-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.post-card-title a {
  color: #222;
}

.post-card-title a:hover {
  color: #1a73e8;
  text-decoration: none;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
  flex: 1;
}

.post-card-meta {
  font-size: 0.8rem;
  color: #999;
}

/* Blog listing */
.blog-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}

.blog-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.category-filters {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-filters a,
.category-filters button {
  padding: 0.4rem 1rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #555;
  background: #fff;
  font-family: inherit;
  font-weight: inherit;
  line-height: 1.4;
  cursor: pointer;
}

.category-filters a:hover,
.category-filters a.active,
.category-filters button:hover,
.category-filters button.active {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
  text-decoration: none;
}

.category-filters button:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* Single post */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.single-post-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.single-post-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.single-post-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #222;
}

.single-post-content p {
  margin-bottom: 1rem;
  color: #444;
}

.single-post-content ul {
  margin: 0 0 1rem 1.5rem;
  color: #444;
}

.single-post-content li {
  margin-bottom: 0.35rem;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1rem 0;
}

.affiliate-disclaimer {
  background: #f8f9fa;
  border-left: 3px solid #1a73e8;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #666;
  margin: 1.5rem 0;
  font-style: italic;
}

.youtube-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Tags */
.post-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.post-tags a {
  display: inline-block;
  font-size: 0.8rem;
  color: #1a73e8;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #1a73e8;
}

/* Recent posts */
.recent-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.recent-posts h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.recent-posts ul {
  list-style: none;
}

.recent-posts li {
  margin-bottom: 0.5rem;
}

.recent-posts a {
  color: #444;
  font-size: 0.9rem;
}

.recent-posts a:hover {
  color: #1a73e8;
}

/* Footer */
.site-footer {
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0.75rem;
}

.footer-links a:hover {
  color: #1a73e8;
}

.site-footer p {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.25rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

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

  .single-post-title {
    font-size: 1.5rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav a {
    margin: 0 0.75rem;
  }

  .hero-banner {
    max-height: 240px;
  }

  .hero-banner img {
    height: 240px;
  }
}
