/* General Styles for Technology Page */
.page-overview {
  padding-top: 10rem;
  padding: 2rem 1rem;
  background: #00b0cc;
}


.page-section {
  container-type: inline-size;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #eeeeee;
  max-width: 1200px;
  flex-direction: row
}

.page-section.wide {
  flex-direction: column;
  text-align: left;
}

.page-section.narrow {
  flex-direction: column;
  align-items: baseline;
}

.page-section ul {
  padding-left: 1cqw;
}

.page-section li {
  font-size: clamp(0.75rem, 1.5cqw, 2rem);
  margin-bottom: 0.5cqw;
  padding-left: 1cqw;
  line-height: 2.5cqw;
}

.page-section li::marker {
  font-size: 1.2cqw;
}

.text-container {
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

.text-container.about {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
}

.text-container h2 {
  font-size 2rem;
  margin-bottom 1rem;
  color: #003f66;
}

.flex-container {
  flex: 1;
  flex-direction: row;
  width: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.flex-container.about {
  margin: 1.0rem 0 0 0;
}


.page-image {
  display: block;
  max-width: 600px;
  max-height: 400px;
  width: 45cqw;
  margin: 0rem 0.5rem;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  object-fit: contain;
  background: #fff
}

.page-banner {
  display: block;
  max-width: 850px;
  max-height: 450px;
  width: 90cqw;
  margin: 0rem 0.5rem;
  border-radius: 10px;
  box-shaodw: 0 4px 8px rgba(0,0,0,0.1);
  object-fit: contain;
  background: rgba(256,256,256,0.5);
}

.page-text-holder {
  display: block;
  max-width: 850px;
  width: 90cqw;
  margin-left: 0.5rem;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  margin-right: 0.5rem;
}

.page-text-holder p {
  font-size: clamp(0.75rem, 1.5cqw, 2rem);
}

.page-image.wide {
  max-width: 1050px;
}

.page-image.poster {
  width: 300px
}

.product-image {
  display: block;
  margin: 0rem 0.5rem;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  max-height: 220px;
  max-width: auto;
  width: 60cqw;
  object-fit: contain;
  background: #fff
}

.product-image.narrow {
  max-width: 600px;
}

@media(max-width: 768px) {
  .page-overview h1 {
      font-size: 2rem;
  }

  .page-overview h2 {
      font-size: 1.5rem;
  }
  
  .page-overview h3 {
      font-size: 1.25rem;
  }

  .page-section p {
    font-size: 1rem;
    flex-direction: column;
    text-align: left;
  }

  .page-section h4 {
    font-size: 1.20rem;
    color: #006999;
  }

  .page-section ul {
    list-style-type: none;
    font-size: 1rem;
    text-align: left;
  }
  
  .page-section ol {
    list-style-type: none;
    font-size: 1rem;
    text-align: left;
  }

  .page-section li {
    margin-bottom: 10px;
  }

  .kit-details h4 {
    font-size: 1.25rem;
  }

  .kit-details {
    text-align: left;
  }

  

  section.page-section strong {
    color: #e50106;
  }

  .mb-brk {
    display: none
  }

  .page-image {
    width: 100%;
    max-width: 400px;
    max-height: 200px;
    display: block;
    margin: 0 auto 1rem;
  }

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

  .flex-container p {
    text-align: left;
  }

  .text-container.poster h3 {
    font-size: 1rem;
  }

  .text-container.poster p {
    display: none;
  }

  .text-container.poster h2 {
    font-size: 1.6rem;
    font-style: italic;
  }

}

@media(min-width: 769px) {
  .text-container {
    position: relative;
    min-height: 100%;
  }

  .buy-button.tech{
    position: absolute;
    bottom: 0;
    left: 620px;
  }
}

.workflow-image {
  display: block;
  margin: 0rem 0.5rem;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  height: 156px;
  width: 256px;
  object-fit: contain;
  background: #fff
}

.portrait-wrapper {
  display: flex;
  align-items: flex-start;
  margin: 0 1.5rem 0 0;
}

.portrait-container {
  width: 156px;
  height: 156px;
}

.portrait-image {
  display: block;
  margin: 0rem 0.5rem;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  height: 156px;
  width: 156px;
  object-fit: cover;
  background: #fff
}

.button-holder {
  flex: 0 0 100%;
  display: left;
  justify-content: flex-start;
  margin-top: 0.5rem;
  margin-left: 1rem;
}

.buy-button {
  background: #fed200;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.buy-button:hover {
  background-color: #0056b3;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: #fed200;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00b0cc;
}

h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #e50106;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #e50106;
}

p, ul, ol {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

ul {
  list-style: disc;
  padding-left: 0.5rem;
  list-style-type: none;
  font-size: 1.15rem;
  line-height: 2.5rem;
}

ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

a {
  color: #00b0cc;
  text-decoration: none;
}

a:hover {
  color: #007e99;
  text-decoration: underline;
}

.text-container p, 
.text-container ul, 
.text-container ol {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.text-container ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.text-container ol {
  list-style: decimal;
  padding-left: 1.5rem;
}


@media (max-width: 452px) {
  
  .text-container ul {
    list-style: disc;
    padding-left: 1.5rem;
  }
  .text-container ul li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
}
