/* ====================================
   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 1: Long Form Article */
.article-1 {
  width: 100%;
  background: white;
  padding: 100px 0;
}

.article-1 .article-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.article-1 h2 {
  font-size: 48px;
  line-height: 1.3;
  color: var(--tertiary-color);
  margin-bottom: 40px;
}

.article-1 h3 {
  font-size: 32px;
  color: var(--tertiary-color);
  margin: 40px 0 20px;
}

.article-1 h4 {
  font-size: 24px;
  color: var(--tertiary-color);
  margin: 30px 0 20px;
}

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

.article-1 p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--tertiary-color);
  margin-bottom: 25px;
}

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

.article-1 .highlight-primary {
  color: var(--primary-color);
  font-weight: 500;
}

.article-1 .highlight-secondary {
  color: var(--secondary-color);
  font-weight: 500;
}

.article-1 .emphasis {
  font-style: italic;
  font-weight: 500;
}

.article-1 .content-block {
  margin: 40px 0;
}

.article-1 .key-points {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
}

.article-1 .key-points ul {
  list-style: none;
  padding: 0;
}

.article-1 .key-points li {
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.article-1 .key-points li:before {
  content: "→";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.article-1 .image-section {
  position: sticky;
  top: 40px;
  align-self: start;
}

.article-1 figure {
  margin: 0 0 30px 0;
}

.article-1 figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}

.article-1 figcaption {
  font-size: 14px;
  color: var(--tertiary-color);
  text-align: center;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 968px) {
  .article-1 .article-content {
    grid-template-columns: 1fr;
  }

  .article-1 .image-section {
    position: static;
    order: -1;
  }
}

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

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

  .article-1 h3 {
    font-size: 28px;
  }

  .article-1 .lead-text {
    font-size: 20px;
  }
}
