/* --- RVTroubleshoot Base Styles (Shared Site-Wide) --- */

/* Reset and box model */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global font and background */
html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: #fefcf8;
  color: #2b2b2b;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Color variables (reference only) */
:root {
  --orange: #e67e22;
  --orange-dark: #cf711f;
  --cream: #fffaf2;
  --offwhite: #fefcf8;
  --dark: #2b2b2b;
  --gray: #3d3d3d;
}

/* Default link styles */
a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--orange-dark);
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Buttons (used site-wide) */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--orange);
  color: #fff;
}

/* Responsive defaults */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
}
/* --- Article Page Styles --- */
article {
  max-width: 900px;
  margin: 3rem auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  line-height: 1.7;
  animation: fadeIn 0.4s ease-in-out;
}

article h1 {
  font-size: 2.2rem;
  color: #1e3d34;
  border-bottom: 3px solid #e5d3b3;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

article h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #1e3d34;
  border-left: 5px solid #f2c464;
  padding-left: 10px;
}

article h3 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
  color: #3f3f3f;
}

article p, article li {
  font-size: 1.05rem;
  color: #333;
}

article ul, article ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
}

article footer {
  border-top: 1px solid #eee;
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  article {
    padding: 1.5rem;
    margin: 1.5rem;
  }
}

