/* ===== General Layout & Typography ===== */
body {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.75;
  color: #222;
  background-color: #fdfdfd;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ===== Header ===== */
headern h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  position: relative;
  color: #111;
}

headern h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #111;
  margin-top: 0.5rem;
}

.byline {
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

/* ===== Section Headings ===== */
section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 3rem 0 1rem 0;
  color: #111;
  position: relative;
  padding-left: 1rem;
  border-left: 5px solid #111;
  letter-spacing: 0.5px; /* subtle newspaper flair */
}

section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 3px;
  background-color: #111;
}

/* ===== Paragraphs ===== */
section p {
  margin-bottom: 1.5rem;
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.05rem;
}

p:first-letter {
  font-size: 1.5em;
  font-weight: bold;
  float: left;
  line-height: 1;
  margin-right: 0.15em;
}

/* ===== Blockquotes ===== */
blockquote {
  font-style: italic;
  color: #333;
  border-left: 4px solid #444;
  background-color: #f8f8f8;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

/* ===== Images ===== */
section img,
.article-image {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  border: 1px solid #ccc;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  height: 600px;
  object-fit: cover;
}

/* ===== Inline Images ===== */
.inline-img-left,
.inline-img-right {
  width: 40%;
  max-width: 250px;
  height: 240px;
  object-fit: cover;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.inline-img-left {
  float: left;
  margin-right: 1.5rem;
}

.inline-img-right {
  float: right;
  margin-left: 1.5rem;
}

/* ===== Clearfix ===== */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  headern h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .inline-img-left,
  .inline-img-right,
  section img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
}
