/* Base styles (mobile-first) */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  margin: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  position: relative;
  background: #770e0e;
  color: #fff;
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.logo-image {
  display: block;
  max-height: 50px;
  height: auto;
  width: auto;
  margin: 0 auto 1rem;
}

/* Adjust logo in tablets and up */
@media (min-width: 768px) {
  .logo-image {
    position: absolute;
    top: 2.5rem;
    left: 2rem;
    margin: 0;
    max-height: 55px;
  }
}

/* Adjust logo in desktops */
@media (min-width: 1024px) {
  .logo-image {
    top: 3.5rem;
    left: 3rem;
    max-height: 60px;
  }
}

/* Adjust logo for larger desktops */
@media (min-width: 1440px) {
  .logo-image {
    top: 4.5rem;
    left: 5rem;
  }
}

/* Adjust logo in tablets and up (between 760px and 1260px) */
@media (min-width: 760px) and (max-width: 1260px) {
  .logo-image {
    position: absolute;
    top: 2.5rem;
    left: 2rem;
    margin: 0;
    max-height: 55px;
  }
  
  header {
    padding-left: 8rem; /* Provide space so header text doesn't overlap logo */
    padding-right: 1rem;
    text-align: left; /* Align text left for professional layout */
  }
  
  header h1 {
    font-size: 2rem;
    margin-left: 0;
  }
  
  .subheading {
    margin-left: 0;
  }
}


.subheading {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: #c8e6c9;
}

.blog-content {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.blog-content h2 {
  color: #a70b0b;
  margin-top: 2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.4rem;
}

.featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease-in-out;
}

.featured-image:hover {
  transform: scale(1.02);
}

ul {
  margin-left: 1.2rem;
  padding-left: 1rem;
}

ul li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

footer {
  background-color: #770e0e;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}
