.treatment-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#treatment-864 a, li#subpost-864 {
    display: none;
}

html, body {
    overflow-x: hidden;
}

.breadcrumbs-section {
    position: relative;
    display: flex;
    margin-top: 36px;
    justify-content: center;
}

.breadcrumbs {
    font-family: 'Poppins';
    width: 100%;
    max-width: 1280px;
    display: flex;
    position: absolute;
    bottom: -70px;
    font-size: 16px;
    padding: 0px 20px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #323244;
}


.breadcrumbs a:hover {
    color: #BEA653;
}

.breadcrumbs .last-child{
  color: #BEA653;
  margin-bottom: 0;
}

.treatment-card {
    background: #E7E7E7;
    padding: 0;
    text-align: center;
    border-radius: 30px;
}

.single-treatment .category-description img {
    width: 100%;
    object-fit: cover;
}

.treatment-list h2 {
    margin: 0 0 40px;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Poppins';
    line-height: 135%;
    color: #323244;
}

.category-description h2 {
    font-family: 'poppins';
    font-weight: 700;
}

.category-description p {
    font-size: 16px;
    font-family: 'poppins';
}

.treatment-list {
    margin-top: 40px;
}

.treatment-list img {
    border-radius: 30px 30px 0px 0px;
    width: 100%;
    height: 174px;
    object-fit: cover;
}

.content {
    padding: 24px 15px;
}

.content h3{
   font-family: "poppins";
   font-weight: 700;
   font-size: 24px;
   line-height: 135%;
   margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
    max-width: 227px;
    margin: 0px auto 8px;
}

.content p{
   overflow: hidden;
    font-family: "poppins";
    font-size: 16px;
    line-height: 24px;
   display: -webkit-box;
   -webkit-line-clamp: 3;
           line-clamp: 3; 
   -webkit-box-orient: vertical;
}

.treatment-card button {
    background: #BEA653;
    color: #fff;
    border: 1px solid #BEA653;
    font-weight: 600;
    line-height: 135%;
    padding: 10px 20px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.treatment-card button:hover,
.treatment-card button:focus-within,
.treatment-card button:focus {
    background: transparent;
    color: #BEA653;
    border: 1px solid #BEA653;
}

.content h3, .content p{
   color: #323244;
}

.category-header {
    height: 531px;
	background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 53px 20px;
    margin-top: 54px;
}
.container{
  max-width: 1240px;
  width: 100%;
}
.category-header .container h1{
  font-family: 'Poppins', sans-serif;
  font-size: 64px;
  font-weight: 400;
  color: #fff;
	max-width: 500px;
}

.term-nhs-orthodontic-treatment .category-header .container h1{
	max-width: 539px;
}

.category-header .container h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    max-width: 500px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.category-description {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    margin-top: 37px;
}
.container.flex.flex-row {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.sub-container.one{
  max-width: 850px;
  width: 100%;
}
.sub-container.two{
  max-width: 324px;
  width: 100%;
}

.sub-container.two h3 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 28px;
    line-height: 135%;
    margin: 0px 0px 20px;
}
.sub-container .alignnone {
    margin-bottom: 24px;
    border-radius: 30px;
}
.treatment-sidebar {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 20px 20px 0px;
  font-family: 'Poppins';
}

.parent-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.parent-category > .toggle-parent {
  font-weight: 600;
  color: #727248;
  cursor: pointer;
  display: block;
  margin-bottom: 10px;
}

.parent-category {
  padding-top: 16px;
  border-bottom: 1px solid #323244;
}

.parent-category:last-child {
  border-bottom: none;
}

.parent-category:first-child {
    padding-top: 0;
}

.subcategory-posts {
  list-style: none;
  padding-left: 20px;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-in-out;
  color: #323244;
}

.toggle-parent.active {
    color: #BEA653;
}
.subcategory-posts.expanded {
  max-height: 1000px;
  color: #BEA653;
}

.subcategory-posts li {
  margin-bottom: 16px;
}

.subcategory-posts li a {
  color: #333;
  text-decoration: none;
}

.subcategory-posts li a:hover {
  text-decoration: underline;
}
.toggle-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
padding-bottom: 16px;
}

.toggle-parent {
  font-weight: 600;
  color: #323244;
  font-size: 20px;
  transition: 0.3s ease all;
}

.toggle-parent:hover{
  color: #BEA653;
}

.toggle-icon svg {
  display: inline-block;
  vertical-align: middle;
}

.toggle-icon {
  width: auto;
  height: auto;
  font-weight: 700;
}

.logo-center {
   display: flex;
   justify-content: center;
   position: relative;
   margin-top: -35px;
}

.logo-center .image-logo {
    position: absolute;
    width: 70px;
}
@media (max-width: 1024px) {
  .sub-container.one{
      max-width: 100%;
      width: 100%;
  }
  .sub-container.two {
      max-width: 100%;
      width: 100%;  
  }
  .category-header .container h1{
    text-align: center;
    font-size: 50px;
    margin: 0;
  }
  .category-header{
      height: 337px;
  }

  .breadcrumbs-section{
      margin-top: 60px;
  }
  .breadcrumbs {
    justify-content: left;
  }
}