/* Winfred Ares Theme CSS */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

header {
  background-color: #1a1a1a;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffd700;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar h3 {
  margin-top: 0;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 0.5rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: #1a1a1a;
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}

.content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Homepage Styles */
.homepage-container {
  flex: 1;
  display: block;
}

.static-content {
  line-height: 1.7;
  display: block;
  text-align: left;
}

.static-content-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
  ;
}

/* Image styles based on page type */
article img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* For regular pages (type: page) */
article.page img,
.page img {
  display: block;
  margin: 1.5rem auto;
  max-width: 50%;
  height: auto;
}

/* For posts */
article.post img,
.post img {
  float: right;
  margin: 0 0 1.5rem 1.5rem;
  max-width: 35%;
  height: auto;
}

.post-list article {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.post-list h2 {
  margin-top: 0;
}

footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer a {
  color: #ffd700;
  text-decoration: none;
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
}

/* Next / Previous Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
}

.post-navigation .prev,
.post-navigation .next {
  max-width: 45%;
}

.post-navigation a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.post-navigation a:hover {
  color: #ffd700;
  text-decoration: underline;
}

.center-img {
  display: block;
  text-align: center;           /* Ensures centering */
  margin: 2rem 0;               /* Adds some breathing room */
  padding: 4px;
}

.center-img img {
  display: block;
  margin: 0 auto;               /* Centers the image */
  width: 30%;
  height: auto;
  max-width: 100%;              /* Responsive */
}

 table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}