#primary-banner .two-columns > .text .title {
  font-size: var(--font-size-max-font);
  line-height: var(--font-size-max-line-heigh);
}

#primary-banner .two-columns > .subtitle {
  margin-top: 32px;
  font-weight: 700;
}

#production-items .text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}
#production-items .text .title {
  text-align: right;
}
#production-items .text .subtitle {
  width: MIN(75%, 1000px);
  text-align: right;
}

#production-items .grid .grid-item {
  min-height: 200px;
  padding: 5px;
  max-width: MIN(25%, 375px);
}

/* #production-items .grid .grid-item img, */#production-items .grid .grid-item picture {
  max-width: 100%;
}

#steps, #product-categories, #faq {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#steps .tile, #faq .tile {
  border: 0;
  border-radius: 0 0 0 12px;
  border-bottom: 2px solid rgba(24, 56, 94, 0.10);
  border-left: 2px solid rgba(24, 56, 94, 0.10);
}

#main-goal, #free {
  object-fit: contain;
  background: #18385eCC url('images/use-3d-printer.png') center center no-repeat;
}
.webp #main-goal, .webp #free {
  background: #18385eCC url("images/use-3d-printer.webp") center center no-repeat;
}

#free {
  background-color: #18385eDE;
  background-image: url('images/printer-background.png');
}
.webp #free {
  background-image: url("images/printer-background.webp");
}

#reviews .tiles {
  display: flex;
  flex-wrap: nowrap;
  overflow: scroll;
  gap: 40px;
}
#reviews .tile {
  display: flex;
  flex-direction: row;
  width: 728px;
  height: 360px;
  padding: 16px;
  align-items: flex-start;
  gap: 8px;

  border-radius: 12px;
  border: 2px solid rgba(24, 56, 94, 0.10);
  background: #FBF6EC;
}
#reviews .tiles .tile-image {
  max-height: 200px;
  width: auto;
}
/* #reviews .tile .tile-image img, */#reviews .tile .tile-image picture {
  height: 100%;
  object-fit: contain;
}

#product-categories .tile {
  align-items: center;
  text-align: center;
}

#faq .title {
  justify-content: center;
}
#faq .tiles {
  flex-direction: column;
}
#faq .tile {
  max-height: unset;
  max-width: unset;
}
#faq .tile .tile-title {
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#faq .tile .tile-title .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease-in-out;
  transform: rotate(180deg);
}
#faq .tile .tile-title .arrow img {
  height: 24px;
  width: 24px;
}
#faq .tile .tile-content {
  overflow: hidden;
  max-height: 0;
  transition: all 250ms ease-in-out;
}
#faq .tile.expanded .tile-title .arrow {
  transform: rotate(0deg);
}
#faq .tile.expanded .tile-content {
  max-height: 1500px;
}

#join-us {
  background: var(--color-primary);
  color: var(--color-primary-light);
}

#join-us .button {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

@media screen and (max-width: 1500px) {
  #production-items .text {
    align-items: center;
  }
  #production-items .text .title, #production-items .text .subtitle {
    width: 100%;
    text-align: center;
  }
  #production-items .grid .grid-item {
    max-width: MIN(33.33%, 500px);
  }
}

@media screen and (max-width: 900px) {
  #production-items .grid .grid-item {
    max-width: MIN(50%, 450px);
  }

  #steps .tiles, #product-categories .tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /*grid-template-rows: repeat(4, 1fr);*/
    grid-column-gap: 5px;
    grid-row-gap: 5px;
  }
  #steps .tiles .tile, #product-categories .tiles .tile {
    width: 100%;
    max-width: 100%;
  }

  #join-us {
    flex-direction: column-reverse;
  }

}

@media screen and (max-width: 550px) {
  #steps .tiles, #product-categories .tiles {
    display: flex;
    flex-direction: column;
  }
  #steps .tiles .tile, #product-categories .tiles .tile {
    max-width: 100%;
  }
}

@media screen and (max-width: 450px) {
  #production-items .grid .grid-item {
    max-width: 100%;
    min-width: 100%;
  }
}

/* Section styling */
.tos-section {
  margin: 40px auto;
  max-width: 800px; /* Center the content and limit its width */
  padding: 20px;
  background-color: #f9f9f9; /* Subtle background to highlight the section */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Main heading */
.tos-section h1 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #18385E;
  margin-bottom: 20px;
}

/* Subheadings */
.tos-section h2 {
  font-size: 20px;
  color: #4267B2; /* Highlight subheadings with a contrasting color */
  margin-top: 30px;
  border-bottom: 2px solid #18385E; /* Underline for distinction */
  padding-bottom: 5px;
}

/* Paragraphs */
.tos-section p {
  font-size: 16px;
  color: #333; /* Darker text for readability */
  line-height: 1.6; /* Add more spacing between lines */
  margin-bottom: 15px;
}

/* Lists */
.tos-section ul {
  padding-left: 20px; /* Indent list items */
  margin-bottom: 20px;
}

.tos-section ul li {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px; /* Space between list items */
}

/* Links inside TOS */
.tos-section a {
  color: #18385E; /* Match site’s theme */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.tos-section a:hover {
  color: #4267B2; /* Change link color on hover */
}

.tos-article {
  gap: 0px 0;
}