/*
Theme Name: ContentHub Theme
Theme URI: https://tidytopics.com/
Author: TidyTopics Team
Description: Modern, responsive content-based WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: contenthub-theme
*/
body {
  font-family: 'Inter', 'Open Sans', 'Roboto', Arial, sans-serif;
  background: #F9F9F9;
  color: #1A1A1A;
  margin: 0;
  padding: 0;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.site-header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: #1A1A1A;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.main-nav a:hover {
  background: #E7F0FF;
  color: #3F8CFF;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.post {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: transform 0.2s;
}
.post:hover {
  transform: translateY(-5px);
}
.site-footer {
  background: #fff;
  color: #1A1A1A;
  padding: 2rem 0 0.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid #eee;
}
.footer-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0 0 1rem 0;
}
.footer-links a {
  color: #3F8CFF;
  text-decoration: none;
}
.social-icons {
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
@media (max-width: 600px) {
  .header-inner, .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
}
