/* --------------------
    Reset & Base Styles
-------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

/* --------------------
    Header
-------------------- */
header {
  background: #212529;
  color: #f8f9fa;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* --------------------
    Navigation
-------------------- */
nav {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 1rem 0;
}

nav ul li {
  margin: 0 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #212529;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #e48a2d; /* New rich orange */
}

/* --------------------
    Main Layout
-------------------- */
main {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  /* blog + sidebar */
  gap: 2.5rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* --------------------
    Blog Content
-------------------- */
main section {
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

main section h2 {
  font-family: "Roboto Slab", Georgia, serif;
  margin-bottom: 1.2rem;
  font-size: 2rem;
  color: #e48a2d; /* New rich orange */
  font-weight: 600;
}

main section p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #495057;
}

/* Example blog-card for home page */
.blog-card {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ced4da;
}

.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #343a40;
}

.blog-card p {
  color: #6c757d;
  font-size: 0.95rem;
}

.blog-card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #e48a2d; /* New rich orange */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-card a:hover {
  color: #c87621;
}

/* --------------------
    Sidebar
-------------------- */
aside {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

aside h3 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #212529;
  border-bottom: 2px solid #e48a2d; /* New rich orange */
  padding-bottom: 0.8rem;
}

aside ul {
  list-style: none;
}

aside ul li {
  margin-bottom: 1rem;
}

aside ul li a {
  text-decoration: none;
  color: #e48a2d; /* New rich orange */
  font-weight: 500;
  transition: color 0.3s ease;
}

aside ul li a:hover {
  color: #c87621;
}

/* --------------------
    Footer
-------------------- */
footer {
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
  background: #212529;
  color: #e9ecef;
  font-size: 0.95rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
}

/* --------------------
    Responsive
-------------------- */
@media (max-width: 900px) {
  main {
    grid-template-columns: 1fr;
  }

  aside {
    margin-top: 2rem;
  }
}