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

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: var(--body-font);
  line-height: 1.6;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  font-size: 20px;
}

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

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

.container-3 {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 25px;
}

.problem-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}

.problem-section h3 {
  font-size: 24px;
  color: var(--tertiary-color);
  margin-bottom: 30px;
}

.treatment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.treatment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.treatment-item {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: var(--tertiary-color);
  padding: 10px 10px 10px 44px;
  position: relative;
  margin-bottom: 15px;
}

.treatment-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.treatment-item::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url("../img/svg/chevron-right.svg") no-repeat center;
  background-size: contain;
  filter: brightness(0) invert(1);
}

.treatment-image {
  margin: 0;
  width: 100%;
}

.treatment-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .treatment-content {
    grid-template-columns: 1fr;
  }

  .treatment-item {
    font-size: 18px;
  }

  .treatment-image {
    margin-top: 20px;
  }
}

.warning-box {
  background: rgba(129, 183, 26, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.warning-box em {
  color: var(--primary-color);
}

.core-problem {
  text-align: center;
  margin: 30px 0;
}

.conclusion {
  font-size: 24px;
}
.emphasis {
  font-size: 28px;
  color: var(--primary-color);
  margin: 15px 0;
}

.highlight-box {
  background: rgba(78, 187, 247, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.anatomy-explanation {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}

.anatomy-explanation h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 25px;
}

.joint-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.movement-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.movement-list li {
  background: var(--primary-color);
  color: white;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.anatomy-image {
  margin: 0;
  text-align: center;
}

.anatomy-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.anatomy-image figcaption {
  margin-top: 10px;
  color: var(--tertiary-color);
  font-style: italic;
}

.condition-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.condition-list li {
  background: rgba(129, 183, 26, 0.1);
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  color: var(--tertiary-color);
}

.conclusion-note {
  background: rgba(78, 187, 247, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  color: var(--tertiary-color);
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 32px;
  }
  .joint-content {
    grid-template-columns: 1fr;
  }
  .condition-list {
    grid-template-columns: 1fr;
  }
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Warning & Problem Statements */
.warning-message,
.warning-note {
  padding: 20px;
  margin: 30px 0;
  border-radius: 4px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--tertiary-color);
}

.warning-message {
  background: rgba(129, 183, 26, 0.1);
}

.warning-note {
  background: rgba(78, 187, 247, 0.1);
}

.warning-message em {
  color: var(--primary-color);
  font-style: italic;
}

/* Core Problem */
.core-problem {
  margin: 30px 0;
}

.conclusion-text {
  font-size: 24px;
  color: var(--tertiary-color);
  margin-bottom: 10px;
}

.emphasis-text {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

/* Anatomy Section */
.anatomy-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.anatomy-section h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 20px;
}

.joint-explanation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.explanation-text,
.problem-description p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--tertiary-color);
  margin-bottom: 1rem;
}

.real-problem-detail {
  background: rgba(129, 183, 26, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
}

.anatomy-diagram img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 8px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .container-3 .section-title {
    font-size: 32px;
  }
  .treatment-intro {
    flex-direction: column;
  }
  .treatment-image img {
    max-width: 100%;
  }
  .joint-explanation {
    grid-template-columns: 1fr;
  }
  .warning-message p,
  .explanation-text,
  .problem-description p {
    font-size: 18px;
  }
  .anatomy-section {
    padding: 1rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--tertiary-color);
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.section-header h2 em {
  font-style: italic;
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 32px;
  }
}
