/****************************************************************** 
 * Classic Theme - Typography
 * Based on actual OldVersion.com typography
 ******************************************************************/

/* Base Typography */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-primary);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: var(--color-text-primary);
}

h1 {
  font-size: 24px;
  line-height: 1.2;
}

h2 {
  font-size: 18px;
  line-height: 1.3;
}

h3 {
  font-size: 14px;
  line-height: 1.4;
}

h4 {
  font-size: 13px;
  line-height: 1.4;
}

h5 {
  font-size: 12px;
  line-height: 1.4;
}

h6 {
  font-size: 11px;
  line-height: 1.4;
}

/* Paragraphs */
p {
  margin: 0 0 10px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-primary);
}

/* Links */
a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

a:visited {
  color: var(--color-link-visited);
}

a:active {
  color: var(--color-link-active);
}

/* Lists */
ul, ol {
  margin: 0 0 10px 0;
  padding: 0 0 0 20px;
  font-size: 12px;
  line-height: 1.4;
}

li {
  margin: 0 0 5px 0;
  font-size: 12px;
  line-height: 1.4;
}

/* Definition Lists */
dl {
  margin: 0 0 10px 0;
  font-size: 12px;
  line-height: 1.4;
}

dt {
  font-weight: bold;
  margin: 0 0 5px 0;
  color: var(--color-text-primary);
}

dd {
  margin: 0 0 10px 20px;
  color: var(--color-text-secondary);
}

/* Small Text */
small, .small {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* Muted Text */
.muted {
  color: var(--color-text-muted);
}

/* Secondary Text */
.secondary {
  color: var(--color-text-secondary);
}

/* Bold Text */
strong, b {
  font-weight: bold;
}

/* Italic Text */
em, i {
  font-style: italic;
}

/* Code */
code {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  background: var(--color-bg-tertiary);
  padding: 2px 4px;
  border: 1px solid var(--color-border);
}

/* Preformatted Text */
pre {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  background: var(--color-bg-tertiary);
  padding: 10px;
  border: 1px solid var(--color-border);
  overflow-x: auto;
  white-space: pre;
}

/* Blockquotes */
blockquote {
  margin: 0 0 10px 20px;
  padding: 10px;
  background: var(--color-bg-tertiary);
  border-left: 3px solid var(--color-border);
  font-style: italic;
  color: var(--color-text-secondary);
}

/* Horizontal Rules */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 20px 0;
}

/* Text Alignment */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

/* Text Transform */
.text-uppercase {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-capitalize {
  text-transform: capitalize;
}

/* Font Weights */
.font-normal {
  font-weight: normal;
}

.font-bold {
  font-weight: bold;
}

.font-bolder {
  font-weight: bolder;
}

.font-lighter {
  font-weight: lighter;
}

/* Font Sizes */
.font-xs {
  font-size: 10px;
}

.font-sm {
  font-size: 11px;
}

.font-base {
  font-size: 12px;
}

.font-lg {
  font-size: 14px;
}

.font-xl {
  font-size: 16px;
}

.font-2xl {
  font-size: 18px;
}

.font-3xl {
  font-size: 24px;
}

/* Line Heights */
.leading-tight {
  line-height: 1.2;
}

.leading-normal {
  line-height: 1.4;
}

.leading-relaxed {
  line-height: 1.6;
}

.leading-loose {
  line-height: 1.8;
}

/* Special Text Styles */
.category-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text-primary);
  margin: 0 0 10px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-border);
}

.category-title a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.category-title a:hover {
  color: var(--color-link-hover);
}

.heading1 {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-text-primary);
  margin: 0 0 15px 0;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--color-border);
}

.heading1 .inner {
  color: var(--color-text-secondary);
}

.heading2 {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text-primary);
  margin: 0 0 10px 0;
}

/* Stats Text */
.stats {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.stats .inner {
  font-weight: bold;
  color: var(--color-text-primary);
}

/* Download Counts */
.downloads {
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: bold;
}

/* Rating Text */
.rating {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.votes {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* Meta Data */
.meta-data {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.meta-data li {
  margin: 0 0 5px 0;
  font-size: 11px;
}

.meta-data span {
  font-weight: bold;
  color: var(--color-text-primary);
}

/* Responsive Typography */
@media (max-width: 991px) {
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  h2 {
    font-size: 16px;
  }
  
  h3 {
    font-size: 14px;
  }
  
  .category-title {
    font-size: 13px;
  }
  
  .heading1 {
    font-size: 15px;
  }
}