/* ----------------------------
   Article Page Styling
   European Dreams
   ---------------------------- */

/* Article container */
.article-container {
  max-width: 1000px;
  margin: 5cm auto 2cm;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
}

/* Headings */
.article-container h1 {
  text-align: center;
  font-size: 32px;
  color: #d10000;
  margin-bottom: 15px;
  font-weight: bold;
}

.article-container h2 {
  font-size: 24px;
  margin-top: 25px;
  color: #d10000;
}

.article-container h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #222;
}

/* Divider */
.divider {
  width: 60px;
  height: 4px;
  background: #d10000;
  margin: 15px auto;
  border-radius: 2px;
}

/* Paragraphs */
.article-container p {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: justify;
}

/* Lists */
.article-container ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.article-container li {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Images */
.graphic img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Info Boxes */
.highlight {
  background: #fff3cd;
  border-left: 6px solid #ffc107;
  padding: 10px 15px;
  margin: 15px 0;
  font-size: 18px;
}

.alert {
  background: #f8d7da;
  border-left: 6px solid #dc3545;
  padding: 10px 15px;
  margin: 15px 0;
  font-size: 18px;
}

.success {
  background: #d4edda;
  border-left: 6px solid #28a745;
  padding: 10px 15px;
  margin: 15px 0;
  font-size: 18px;
}

/* CTA Button */
.cta {
  text-align: center;
  margin-top: 25px;
}

.cta a {
  color: #d10000;
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #d10000;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
}

.cta a:hover {
  background: #d10000;
  color: #fff;
}

/* Video (Responsive YouTube Embed) */
.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin: 20px 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Blockquotes */
.article-container blockquote {
  border-left: 6px solid #d10000;
  background: #f9f9f9;
  margin: 20px 0;
  padding: 15px 20px;
  font-size: 18px;
  font-style: italic;
  color: #444;
  border-radius: 6px;
}

.article-container blockquote footer {
  text-align: right;
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

/* Tables */
.article-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
}

.article-container table th,
.article-container table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.article-container table th {
  background: #d10000;
  color: #fff;
  font-weight: bold;
}

.article-container table tr:nth-child(even) {
  background: #f9f9f9;
}

.article-container table tr:hover {
  background: #f1f1f1;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .article-container {
    margin: 2cm auto;
    padding: 15px;
  }

  .article-container h1 {
    font-size: 26px;
  }

  .article-container h2 {
    font-size: 20px;
  }

  .article-container p,
  .article-container li,
  .article-container blockquote,
  .article-container table {
    font-size: 16px;
  }

  .article-container table th,
  .article-container table td {
    padding: 8px;
  }
}
