.seo{
    /* background-image: url("../images/Background.png"); */
    background-color: rgb(247, 247, 247);
    height: auto;
    margin-bottom: 50px;
    /* border-radius: 200px 0 200px 0; */
    /* border-top: 1px solid #9b7e38; */
    
}


.seo-header {
  text-align: center;
  padding: 40px 10px;
}

.seo-text {
  max-height: 50vh;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
  padding-right: 1rem;
}

.seo-text p{
  padding-bottom: 1rem;
}

/* Gradient fade at bottom to hint more content */
.seo-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  background: linear-gradient(rgba(255,255,255,0), white);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Remove fixed max-height; height controlled by JS */
.seo-text.expanded {
  /* no max-height here */
}

/* Hide gradient fade when expanded */
.seo-text.expanded::after {
  opacity: 0;
}

.read-more-wrapper {
  position: sticky;
  bottom: 0px;
  background: white;
  text-align: center;
  padding: 0.5rem 0;
  z-index: 10;
  /* border-top: 1px solid #ccc; */
}

.read-more-btn {
  /* existing styles... */
  background: none;
  border: none;
  color: #9b7e38;

  cursor: pointer;
  font-size: 1rem;
  /* text-transform: uppercase; */

  /* Optional: add some padding and border-radius for nicer look */
  padding: 0.5rem 1.5rem;
  border: 1px solid #9b7e38;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #9b7e38;
  color: white;
}