/* ====================================
   Root Variables and Base Styles
   ==================================== */
/* Root Variables */
:root {
  --primary-color: #81b71a;
  --secondary-color: #4ebbf7;
  --tertiary-color: #6d6d6d;
  --body-font: Arial, sans-serif;
  --title-font: Helvetica, Arial, sans-serif;
}

/* Base Typography */
body {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
}

p,
span,
a,
li,
button {
  font-family: var(--body-font);
}

/* ====================================
     Common Components
     ==================================== */
.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
}

.feature-item {
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.tag {
  transition: background-color 0.2s ease;
}

.tag:hover {
  background-color: var(--secondary-color);
}

.cta-button {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Article Template 4: Problem Analysis - New Design */
.article-4 {
  width: 100%;
  background: white;
  padding: 100px 0;
}

.article-4 .article-content {
  max-width: 1100px;
  margin: 0 auto;
}

.article-4 .intro-banner {
  text-align: center;
  margin-bottom: 80px;
}

.article-4 h2 {
  font-size: 56px;
  color: var(--tertiary-color);
  line-height: 1.2;
}

.article-4 h2 em {
  color: var(--primary-color);
  font-style: italic;
}

.article-4 .treatment-history {
  margin-bottom: 80px;
}

.article-4 .history-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.article-4 .history-text h3 {
  font-size: 32px;
  color: var(--tertiary-color);
  margin-bottom: 20px;
}

.article-4 .lead-text {
  font-size: 24px;
  line-height: 1.6;
  color: var(--tertiary-color);
}

.article-4 .treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.article-4 .treatment-item {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.article-4 .treatment-item:hover {
  transform: translateY(-5px);
}

.article-4 .treatment-header {
  margin-bottom: 20px;
}

.article-4 .treatment-icon {
  font-size: 36px;
  margin-bottom: 15px;
  display: block;
}

.article-4 .treatment-item h4 {
  font-size: 24px;
  color: var(--tertiary-color);
  margin-bottom: 15px;
}

.article-4 .treatment-item p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--tertiary-color);
}

.article-4 .problem-explanation {
  background: var(--primary-color);
  padding: 80px 30px;
  margin: 80px 0;
  color: white;
  border-radius: 15px;
}

.article-4 .explanation-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.article-4 .explanation-text h3 {
  font-size: 42px;
  margin-bottom: 30px;
}

.article-4 .explanation-text .emphasis {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.article-4 .explanation-text p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-4 .explanation-image {
  margin: 0;
}

.article-4 .explanation-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.article-4 .explanation-image figcaption {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  opacity: 0.8;
}

.article-4 .key-insight {
  text-align: center;
  max-width: 900px;
  margin: 80px auto;
}

.article-4 .insight-content h3 {
  font-size: 32px;
  color: var(--tertiary-color);
  margin-bottom: 30px;
}

.article-4 .highlight-box {
  background: #f8f8f8;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  font-size: 24px;
  color: var(--tertiary-color);
}

.article-4 .highlight-primary {
  color: var(--primary-color);
  font-weight: bold;
}

.article-4 .warning-note {
  background: rgba(129, 183, 26, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  max-width: 800px;
  margin: 60px auto 0;
}

.article-4 .warning-note p {
  font-size: 20px;
  color: var(--tertiary-color);
  margin: 0;
}

.article-4 .warning-note strong {
  color: var(--primary-color);
}

/* Media Queries for Article 4 */
@media (max-width: 968px) {
  .article-4 .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-4 .explanation-content {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .article-4 {
    padding: 60px 0;
  }

  .article-4 h2 {
    font-size: 36px;
  }

  .article-4 .treatment-grid {
    grid-template-columns: 1fr;
  }

  .article-4 .explanation-text h3 {
    font-size: 32px;
  }

  .article-4 .highlight-box {
    font-size: 20px;
    padding: 30px;
  }
}

/* Media Queries for Articles */
@media (max-width: 968px) {
  .article-4 .content-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .article-4 h2 {
    font-size: 36px;
  }

  .article-4 .checklist li {
    font-size: 20px;
  }

  .article-4 {
    padding: 60px 20px;
  }
}
