/* ===== GLOBAL FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Lora&family=Poppins&display=swap');

/* ===== BASE STYLES ===== */
body {
  font-family: Georgia, serif;
  font-size: 15px;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* ===== TYPOGRAPHY ===== */
h1, .article-title, .preview-title {
  font-family: 'Lora', serif !important;
  font-size: 1.5rem !important;
  color: #000 !important;
  text-align: center;
}

h2, .subhead, .article-subtitle {
  font-family: 'Lora', serif !important;
  font-size: 1.1rem !important;
  color: #a33 !important;
}



.headline {
  font-family: 'Lora', serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin: 10px 0 0px 0; /* <-- 3px bottom margin */
  line-height: 1.2;
  color: #000;
  text-align: left;
}

/* ===== HEADER ===== */
#Header-Frame {
  width: 75%;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.nav-container {
  text-align: center;
  margin: 15px auto;
  width: 75%;
  max-width: 800px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.nav-home {
  color: #333 !important;
  text-decoration: none !important;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 18px;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
}

.nav-home:hover {
  color: #a33 !important;
}

.nav-item {
  cursor: pointer;
  padding: 5px 10px;
  font-size: 18px;
  color: #222;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: #a33;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  min-width: 250px;
  width: max-content;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
  max-height: 400px;
  overflow-y: auto;
  white-space: nowrap;
}

.dropdown-content a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
}

.dropdown-content a:hover {
  background: #f5f5f5;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.show {
  display: block !important;
}

.no-articles {
  padding: 10px;
  color: #666;
  font-style: italic;
  font-family: 'Poppins', sans-serif;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 20px auto;
  padding: 0 10px;
}

.article-content h1 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #000;
}

.article-content h2 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #a33;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.article-content p, 
.article-content ul {
  margin-bottom: 15px;
}

.article-content blockquote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  color: #444;
  background-color: #e6f0fa;
  border-left: 4px solid #a33;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ===== DIVIDERS ===== */
.divider {
  height: 1px;
  background: #a33;
  width: 100%;
  margin: 20px 0;
  opacity: 0.6;
}

/* ===== IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
  margin-left: 0;
  padding: 0;
}

.article-content img {
  float: right;
  padding: 0 10px 10px 20px;
  margin: 0 20px 0 -10px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  img {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }
  
  .article-content img {
    float: none;
    width: 100%;
    padding: 0 10px;
    margin: 10px 0;
  }
}

.article-content::after {
  content: "";
  display: table;
  clear: both;
}