body {
  padding: 1em;
  font-size: 18px;
  font-family: "Raleway", sans-serif;
}

.education-page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  border-radius: 30px;
  color: #2e4e35;
  margin: 15px 40px !important;
  max-width: 1440px !important;
  font-family: "Raleway";
}

.explore-learn-section {
  margin-top: 65px !important;
}
.bitcoin-items-section,
.feedback-section {
  margin-top: 105px !important;
}

.education-header {
  color: #fff;
  background: #2e4e35;
  padding: 70px 30px;
  font-size: 18px;
}

h2 {
  font-size: 40px;
  font-weight: 700;
}

.education-header .title h1 {
  font-size: 74px;
  font-weight: 700;
  padding: 30px 0;
  margin: 0;
  color: #fff;
}

.text-and-pictures,
.text-and-one-picture {
  display: flex;
}

.mobile-picture {
  display: none;
}

.text-and-pictures .picture,
.picture img,
.mobile-picture,
.mobile-picture img {
  height: 325px;
  width: 325px;
  max-width: unset;
}

.text-and-pictures .text {
  border: 1px solid #f4f1e9;
  border-radius: 30px;
  padding: 30px 50px;
  text-align: center;
  width: unset;
  margin: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 600;
}

.text-and-pictures .text .title {
  font-style: italic;
  font-weight: 700;
  padding-bottom: 30px;
}

.text-and-one-picture {
  border: 1px solid #f4f1e9;
  border-radius: 30px;
  padding: 30px;
}

.text-and-one-picture .text-container {
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-and-one-picture .read-link {
  padding: 30px 0;
}

.text-and-one-picture .read-link a {
  color: #f1b314;
  text-decoration: underline;
}

.explore-learn-section .section-title,
.bitcoin-items-section .section-title {
  text-align: center;
}

#posts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 16px;
  border: 1px solid #e9ebe4;
  border-radius: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.post-image {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.post-category li {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 14px;
  gap: 10px;
  background: #e9ebe4;
  border-radius: 30px;
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  color: #2e4e35;
}

.post-card h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 23px;

  color: #2e4e35;

  margin-bottom: 0;
}

.post-card p {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;

  color: #2e4e35;

  margin-bottom: 0;
}

.post-card a.card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  margin-top: auto;
  color: #f1b314;
}
.post-card a.card-link span {
  text-decoration-line: underline;
}

.post-card a:hover {
}

.categories-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.category-button {
  border: none;
  background: none;
  outline: none;
  padding: 10px 16px;
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: #2e4e35;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: all 300ms ease;
}

.category-button:hover,
.category-button.active {
  padding: 10px 16px;
  background: #2e4e35;
  border-radius: 30px;
  color: #ffff;
}

.category-select {
  display: none !important;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  gap: 10px;

  background: #2e4e35;
  border: 1px solid #2e4e35;
  border-radius: 30px;

  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;

  color: #ffffff;
}

.categories-select-wrapper {
  position: relative;
}
.categories-select-wrapper::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #ffffff;
  font-size: 14px;
}

#pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.pagination-next,
.pagination-prev {
  border: none;
  outline: none;
  background: none;
  color: #2e4e35;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 300ms ease;
}
.current-page {
  color: #f1b314;
}
.pagination-info {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;

  color: #2e4e35;
}

#pagination-container button:disabled {
  opacity: 0.3;
}

#pagination-container button:disabled:hover {
  background: transparent;
  color: #2e4e35;
}

.section-description {
  font-weight: 600 !important;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 40px !important;
}

.shop-button-wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 10px;

  background: #f1b314;
  border-radius: 30px;

  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  text-transform: capitalize;

  color: #18391f;
  max-width: 285px;
  margin: 0 auto;
  transition: 0.3s;
}
.shop-button-wrapper a:hover,
.open-modal:hover {
  color: #18391f;
  opacity: 0.9;
}
.pagination-next:hover,
.pagination-prev:hover {
  background: #18391f;
}

.bitcoin-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto;
  margin-top: 60px;
}

.bitcoin-item {
  border: 1px solid #e9ebe4;
  border-radius: 30px;

  overflow: hidden;
  transition: transform 0.3s ease;
}

.bitcoin-item img {
  width: 102%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.bitcoin-item:hover {
  transform: scale(1.05);
}

.feedback-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  gap: 24px;

  border: 1px solid #e9ebe4;
  border-radius: 30px;
}

.feedback-content {
  font-size: 16px;
  line-height: 22px;
}

.steps-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 40px 54px;
  gap: 40px;

  background: #e9ebe4;
  border: 1px solid #e9ebe4;
  border-radius: 30px;
  /* width: 100%; */
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  margin: 0 auto;
}
.quote-button-wrapper {
  display: none;
}
.steps-container::after {
}

.step-number {
  background: #eec12d;
  color: #333;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
}
.step-number::before,
.step-number::after {
  content: "";
  display: flex;

  width: 59px;
  height: 0px;

  border: 1px dashed #ffffff;

  position: absolute;
  top: 50%;
  z-index: 0;
}
.step-number::before {
  left: 10px;
  transform: translateX(40px);
}
.step-number::after {
  right: 10px;
  transform: translateX(-40px);
}

@media (max-width: 1024px) {
  #posts-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .bitcoin-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .description,
  .section-description {
    font-size: 16px;
  }
  .button.open-modal {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .education-page-content {
    padding: 0 15px;
  }

  .quote-button-wrapper {
    display: block;
    width: 100%;
  }
  .steps-section {
    padding: 20px;
    border-radius: 20px;
  }
  
  .step-number {
    min-width: 40px;
    width: 40px;
    margin: 0;
    height: 40px;
  }

  .step-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 100%;
    z-index: 1;
    position: relative;
    justify-content: flex-start;
    gap: 10px;
    flex-grow: 1;
  }
  .step-number::before,
  .step-number::after {
    content: none;
  }

  .post-card h3 {
    font-size: 16px;
    line-height: 19px;
  }
  .post-card p {
    font-size: 14px;
    line-height: 22px;
  }

  .bitcoin-items-section {
    margin-top: 35px !important;
    padding: 40px 20px;
  }
  .explore-learn-section {
    margin-top: 40px !important;
  }
  .explore-learn-section h2 {
    display: none;
  }
  .feedback-section {
    margin-top: 16px !important;
  }
  .post-image {
    height: 100px;
  }
  .feedback-content {
    text-align: center;
  }
  .feedback-container {
    flex-direction: column;
  }
  .feedback-section {
    width: auto;
  }
  .bitcoin-items-grid {
    display: none;
  }
  .categories-buttons {
    display: none;
  }

  .category-select {
    display: block !important;
    margin-bottom: 16px;
  }
  #posts-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body {
    padding: 10px;
  }

  section {
    font-size: 16px;
    margin: 15px !important;
    width: 100%;
  }

  h2 {
    font-size: 28px;
  }

  .text-and-one-picture {
    flex-direction: column;
    border-radius: 20px;
  }

  .text-and-one-picture .text-container {
    padding: 20px 10px 0;
  }

  .education-header {
    padding: 30px 30px 60px;
    border-radius: 20px;
  }

  .education-header .title h1 {
    font-size: 36px;
  }

  .text-and-pictures {
    flex-direction: column;
    align-items: center;
  }

  .text-and-pictures .text {
    margin: 0;
    border-radius: 20px;
  }

  .text-and-pictures .picture {
    display: none;
  }

  .mobile-picture {
    display: unset;
    height: unset;
    width: unset;
  }

  .mobile-picture img {
    width: 100%;
    height: auto;
  }

  .text-and-one-picture {
    padding: 15px;
  }

  .text-and-one-picture .description {
    display: none;
  }

  .text-and-one-picture .read-link {
    padding-top: 0;
  }

  .text-and-one-picture .picture img {
    width: 100%;
    height: auto;
  }
}

@media screen and (min-width: 1220px) {
  .feedback-section,
  .steps-section {
    width: calc(100% - 80px);
  }
}
