/*
    Template: Blog Posting Styles
    Description: A template for styling blog articles.
    Version: 1.0
*/

/* General Article Styles */
.article-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.8;
  color: #333;
}

.article-container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1a237e;
  /* Dark blue */
  border-bottom: 3px solid #3949ab;
  /* Lighter blue */
  padding-bottom: 0.5rem;
}

.article-container h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #283593;
  /* Indigo */
}

.article-container p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.article-container ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.article-container li {
  margin-bottom: 0.75rem;
}

.article-container a {
  color: #303f9f;
  /* Indigo darker */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
}

.article-container a:hover {
  color: #1a237e;
  border-bottom: 2px solid #1a237e;
}

/* Image Styles */
.article-image-placeholder {
  margin: 3rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
}

.article-image-placeholder:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.2);
}

.article-image-placeholder.panoramic-16-9 {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 800px;
}


/* Fade-in animation for elements on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}