/* Enhanced Article Styling */
.qa-article {
  line-height: 1.7;
  font-size: 1.05rem;
}

.qa-article h1 {
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
  color: var(--green-dark);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.8rem;
}

.qa-article h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--green);
  position: relative;
  padding-left: 1rem;
}

.qa-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: var(--gold);
  border-radius: 3px;
}

.qa-article h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--green-dark);
}

.qa-article p {
  margin-bottom: 1.5rem;
}

.qa-article ul, 
.qa-article ol {
  margin: 1.5rem 0 2rem 1.5rem;
}

.qa-article li {
  margin-bottom: 0.8rem;
}

.qa-article strong {
  color: var(--green-dark);
  font-weight: 600;
}

/* Expert Quote Styling */
.expert-quote {
  background: linear-gradient(to right, rgba(0, 77, 51, 0.05), rgba(0, 77, 51, 0.01));
  padding: 2rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  border-left: 5px solid var(--gold);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.expert-quote::after {
  content: """;
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 150px;
  color: rgba(212, 175, 55, 0.1);
  font-family: Georgia, serif;
}

.expert-quote img {
  max-width: 120px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.expert-quote blockquote {
  font-style: italic;
  margin: 1.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--green);
}

.expert-quote blockquote p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--green-dark);
}

.expert-quote cite {
  font-weight: 700;
  color: var(--green);
  font-style: normal;
  display: block;
  margin-top: 0.5rem;
}

.expert-quote p {
  margin-top: 0.5rem;
  clear: both;
}

.image-attribution {
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.5rem;
  display: block;
  text-align: right;
}

/* Case Study Styling */
.case-study {
  background: linear-gradient(to bottom right, #f9f9f9, #f0f7f4);
  padding: 2rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  border-top: 5px solid var(--green);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.case-study h3 {
  color: var(--green-dark);
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}

.case-study img {
  max-width: 120px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.case-study ol {
  counter-reset: case-study-counter;
  list-style: none;
  padding-left: 0;
}

.case-study ol li {
  counter-increment: case-study-counter;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
}

.case-study ol li::before {
  content: counter(case-study-counter);
  background: var(--green);
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}

/* Pros and Cons Styling */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pros, .cons {
  padding: 1.5rem;
  border-radius: 8px;
}

.pros {
  background: linear-gradient(to bottom right, rgba(0, 122, 77, 0.1), rgba(0, 122, 77, 0.05));
  border-left: 4px solid var(--green);
}

.cons {
  background: linear-gradient(to bottom right, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
  border-left: 4px solid #dc3545;
}

.pros h4, .cons h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.pros h4 {
  color: var(--green);
}

.cons h4 {
  color: #dc3545;
}

.pros ul, .cons ul {
  margin: 0;
  padding-left: 1.5rem;
}

/* Table Styling Enhancement */
.comparison-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 2rem 0;
}

.comparison-table th {
  background: var(--green-dark);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.comparison-table th:first-child {
  border-top-left-radius: 8px;
}

.comparison-table th:last-child {
  border-top-right-radius: 8px;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background: #f9f9f9;
}

.comparison-table tr:hover {
  background: #f0f7f4;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(to right, rgba(0, 77, 51, 0.05), rgba(0, 77, 51, 0.02));
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--gold);
  position: relative;
}

.highlight-box h3 {
  margin-top: 0;
  color: var(--green-dark);
}

/* Checklist Styling */
.checklist {
  background: linear-gradient(to bottom right, #f9f9f9, #f0f7f4);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--green);
}

.checklist h3 {
  color: var(--green-dark);
  margin-top: 0;
  margin-bottom: 1rem;
}

.checklist ul {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  margin-bottom: 0.8rem;
  padding-left: 2rem;
  position: relative;
}

.checklist li:before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .expert-quote img,
  .case-study img {
    float: none;
    display: block;
    margin: 0 auto 1rem;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.7rem;
  }
}

/* Pull Quote */
.pull-quote {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--green);
  font-style: italic;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  position: relative;
  text-align: center;
}

.pull-quote::before,
.pull-quote::after {
  content: """;
  font-size: 4rem;
  color: rgba(0, 77, 51, 0.1);
  position: absolute;
  font-family: Georgia, serif;
}

.pull-quote::before {
  top: -10px;
  left: 0;
}

.pull-quote::after {
  content: """;
  bottom: -40px;
  right: 0;
}

/* Key Takeaways Box */
.key-takeaways {
  background: linear-gradient(to bottom right, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2.5rem 0;
  border-left: 4px solid var(--gold);
}

.key-takeaways h3 {
  color: var(--green-dark);
  margin-top: 0;
  margin-bottom: 1rem;
}

.key-takeaways ul {
  margin-bottom: 0;
}

/* Action Steps Box */
.action-steps {
  background: linear-gradient(to bottom right, rgba(0, 122, 77, 0.1), rgba(0, 122, 77, 0.05));
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2.5rem 0;
  border-left: 4px solid var(--green);
}

.action-steps h3 {
  color: var(--green-dark);
  margin-top: 0;
  margin-bottom: 1rem;
}

.action-steps ol {
  counter-reset: action-steps-counter;
  list-style: none;
  padding-left: 0;
}

.action-steps ol li {
  counter-increment: action-steps-counter;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
}

.action-steps ol li::before {
  content: counter(action-steps-counter);
  background: var(--green);
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}
