.eel-block-joyful-learning {
  background: url('../../assets/images/eel-blue-background.jpg') no-repeat center center;
  background-size: cover;
  color: #ffffff;
}

.eel-block-joyful-learning__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.eel-block-joyful-learning__content {
  flex: 1 1 55%;
  max-width: 55%;
  padding-top: 30px;
}

.eel-block-joyful-learning__headline {
  font-size: var(--wp--preset--font-size--jumbo);
  color: var(--wp--preset--color--background);
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  span {
	color: var(--wp--preset--color--primary);
  }
}


.eel-block-joyful-learning__text {
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.6;
  margin-bottom: 25px;
  font-family: var(--wp--preset--font-family--gotham-narrow-book);
}

.eel-block-joyful-learning__button {
  display: inline-block;
  background-color: #f8cd59;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.eel-block-joyful-learning__button:hover {
  background-color: #e5b943;
}

.eel-block-joyful-learning__image {
  flex: 1 1 40%;
  max-width: 40%;
  text-align: center;
  padding-top: 60px;
}

.eel-block-joyful-learning__image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1300px) {
	.eel-block-joyful-learning__inner {
		padding: 0 calc(var(--wp--custom--layout--padding) * 2);
	}
}

@media (max-width: 768px) {
  .eel-block-joyful-learning {
    flex-direction: column;
    text-align: center;
  }

  .eel-block-joyful-learning__content,
  .eel-block-joyful-learning__image {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .eel-block-joyful-learning__image {
    margin-top: 30px;
  }
}

/* Responsive Styles for Small Screens */
@media (max-width: 480px) {
  .eel-block-joyful-learning__headline {
    font-size: var(--wp--preset--font-size--large);
  }

  .eel-block-joyful-learning__text {
    font-size: var(--wp--preset--font-size--small);
  }

  .eel-block-joyful-learning__button {
    padding: 10px 15px;
    font-size: var(--wp--preset--font-size--small);
  }

  .eel-block-joyful-learning__image {
    padding-top: 30px;
  }
}