/* Classic Article Readability Styles */

/* Classic article container */
.full-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Restore traditional styling for article categories */
.article-category {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Classic styling for acronyms */
.article-content abbr,
.article-content acronym {
  font-size: 1em;
  font-weight: 600;
}

/* Traditional strong element styling */
.article-content strong {
  font-size: 1em;
  font-weight: 700;
}

.article-content h3, 
.article-content h4,
.article-content h5,
.article-content h6 {
  text-transform: none;
  letter-spacing: normal;
}

.article-tip h3,
.article-warning h3,
.call-to-action h3,
.key-benefits h3 {
  text-transform: none;
  letter-spacing: normal;
}
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.015em;
  color: #0f172a; /* Even darker text for maximum contrast */
  max-width: 720px;
  margin: 0 auto;
  background-color: #ffffff; /* Ensure white background */
}

/* Classic article title styling */
.full-article h1 {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #000000 !important; /* Classic black for traditional look */
  color: #000000 !important;
  text-align: center;
  font-weight: 700;
  font-family: Georgia, 'Times New Roman', serif;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Classic decorative element for title */
.full-article h1:after {
  content: "§";
  display: block;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #666666;
}

.article-content p {
  margin-bottom: 1.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333333;
  text-indent: 1.5em;
}

/* First paragraph after headings should not be indented */
.article-content h1 + p,
.article-content h2 + p,
.article-content h3 + p,
.article-content h4 + p,
.article-content h5 + p,
.article-content h6 + p {
  text-indent: 0;
}

/* Classic drop cap for first paragraph */
.article-content > p:first-of-type:first-letter {
  float: left;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.5em;
  line-height: 0.8;
  padding-right: 0.1em;
  padding-top: 0.1em;
  color: #000000;
}

.article-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #000000;
  font-weight: 700;
  line-height: 1.3;
  font-family: Georgia, 'Times New Roman', serif;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #333333;
  font-weight: 600;
  line-height: 1.4;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}

.article-content ul, 
.article-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Classic blockquote styling */
.article-content blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: #555555;
  padding: 1.2rem 2rem;
  border-left: none;
  margin: 1.5rem 0;
  position: relative;
  text-align: center;
}

.article-content blockquote:before,
.article-content blockquote:after {
  content: '\201C';
  font-size: 3rem;
  position: absolute;
  top: -0.5rem;
  left: 0.5rem;
  color: #cccccc;
  font-family: Georgia, serif;
}

.article-content blockquote:after {
  content: '\201D';
  left: auto;
  right: 0.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  padding-left: 0.25rem;
}

.article-content .tip-box,
.article-tip {
  background-color: #f8f8f8;
  border: 1px solid #dddddd;
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: #333333;
  font-family: Georgia, 'Times New Roman', serif;
}

.call-to-action {
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  padding: 1.5rem;
  margin: 2rem 0;
  color: #333333;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
}

.call-to-action h3 {
  color: #000000;
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-style: normal;
}

.article-warning {
  background-color: #f8f8f8;
  border: 1px solid #cccccc;
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: #333333;
  font-family: Georgia, 'Times New Roman', serif;
}

.key-benefits {
  background-color: #f8f8f8;
  border: 1px solid #cccccc;
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: #333333;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Remove double dots and other unnecessary punctuation */
.article-content p:not(.tip-box p) {
  text-align: left;
}

/* Ensure proper contrast for all text elements */
.article-content p,
.article-content li,
.article-content blockquote {
  color: #333333;
}

/* Classic image styling */
.article-content img {
  border: 1px solid #dddddd;
  padding: 5px;
  background: #ffffff;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

/* Classic caption styling */
.article-content figcaption {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  color: #666666;
  margin-top: 0.5rem;
  padding: 0 1rem;
}

/* Fix any remaining uppercase text */
.article-content {
  text-transform: none;
}

/* Improve list readability */
.article-content ul li,
.article-content ol li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Classic article tags styling */
.article-tag {
  background-color: #f8f8f8;
  color: #333333;
  padding: 0.4rem 0.8rem;
  border: 1px solid #dddddd;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  font-weight: normal;
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}

/* Classic link styling */
.article-content a {
  color: #000080; /* Navy blue - classic web link color */
  text-decoration: underline;
  font-weight: normal;
}

.article-content a:hover {
  color: #800000; /* Classic maroon color for hover */
}

/* Better contrast for important elements */
.article-content blockquote {
  background-color: #f1f5f9;
  border-left: 4px solid #4c1d95;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #0f172a;
}

/* Improve article tips and key benefits */
.article-content .article-tip,
.article-content .key-benefits {
  background-color: #f1f5f9;
  border-left: 4px solid #0c4a6e;
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  color: #0f172a;
}

.article-content .article-tip h3,
.article-content .key-benefits h3 {
  color: #0c4a6e;
  margin-top: 0;
  font-weight: 700;
}

/* Improve table readability */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.article-content th {
  background-color: #f1f5f9;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
}

.article-content td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Improve call-to-action and article-callout sections */
.article-content .call-to-action,
.article-content .article-callout {
  background-color: #e0f2fe;
  border: 1px solid #0ea5e9;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.article-content .call-to-action h3,
.article-content .article-callout h3 {
  color: #0c4a6e;
  margin-top: 0;
  font-size: 1.4rem;
}

.article-content .call-to-action p,
.article-content .article-callout p {
  color: #0f172a;
  margin-bottom: 1rem;
}

.article-content .call-to-action a,
.article-content .article-callout a,
.article-content .article-callout .btn-outline-light {
  display: inline-block;
  background-color: #0ea5e9;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease;
}

.article-content .call-to-action a:hover,
.article-content .article-callout a:hover,
.article-content .article-callout .btn-outline-light:hover {
  background-color: #0284c7;
  color: white;
  text-decoration: none;
}

/* Better readability on mobile */
@media (max-width: 768px) {
  .article-content {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content h3 {
    font-size: 1.25rem;
  }
}
