/** Shopify CDN: Minification failed

Line 11:0 Unexpected "<"
Line 138:0 Unexpected "<"
Line 309:0 Unexpected "<"

**/


/* CSS from section stylesheet tags */
<style>
.image-with-text-8sleep-section {
  background: #ffffff;
  padding: 40px 0;
  width: 100%;
  box-sizing: border-box;
}

.image-with-text-8sleep-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.image-with-text-8sleep-inner {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Space between image and text on mobile */
}

@media screen and (min-width: 992px) {
  .image-with-text-8sleep-inner {
    flex-direction: row;
    gap: 80px; /* spacing between image and text on desktop */
  }
  .image-with-text-8sleep-inner.layout-left .image-col { order: 1; }
  .image-with-text-8sleep-inner.layout-left .content-col { order: 2; }
  .image-with-text-8sleep-inner.layout-right .image-col { order: 2; }
  .image-with-text-8sleep-inner.layout-right .content-col { order: 1; }

  /* Ensure both columns share space evenly */
  .image-col,
  .content-col {
    flex: 1;
  }
}

.image-with-text-8sleep-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  max-width: 600px; /* Limit the image width on larger screens */
  transition: transform 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  margin: 0 auto; /* Centers the image in its column if needed */
}

/* Remove hover scale to match static card look */
.image-with-text-8sleep-image-container:hover {
  transform: none;
}

.image-with-text-8sleep-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.content-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.image-with-text-8sleep-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-with-text-8sleep-subheading {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
}

.image-with-text-8sleep-heading {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}

.image-with-text-8sleep-body {
  line-height: 1.5;
  margin: 0;
  font-size: 16px;
}

.image-with-text-8sleep-additional-body {
  font-size: 14px;
  line-height: 1.4;
  background-color: #f5f7fa; /* Light bluish background */
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.image-with-text-8sleep-button a {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.3s ease;
  font-size: 16px;
}

.image-with-text-8sleep-button a:hover {
  color: #0056d2; /* Slightly darker blue on hover */
}

@media (max-width: 991px) {
  .image-with-text-8sleep-content {
    gap: 20px;
  }
  .image-with-text-8sleep-inner {
    gap: 40px;
  }
}
</style>
<style>
.image-with-text-8sleep-section {
  width: 100%;
  box-sizing: border-box;
}

.image-with-text-8sleep-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.image-with-text-8sleep-block {
  padding: 60px 0;
}

.image-with-text-8sleep-block + .image-with-text-8sleep-block {
  margin-top: 0;
}

.image-with-text-8sleep-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (min-width: 992px) {
  .image-with-text-8sleep-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 120px;
    padding: 0 80px;
  }

  .image-col {
    flex: 1;
    max-width: calc(100% - var(--text-col-width, 50%) - 120px);
  }
  
  .content-col {
    flex: 0 0 var(--text-col-width, 50%);
    max-width: var(--text-col-width, 50%);
    padding-right: 20px;
  }

  .image-with-text-8sleep-inner.layout-left .image-col { 
    order: 1;
  }
  .image-with-text-8sleep-inner.layout-left .content-col { 
    order: 2;
  }
  .image-with-text-8sleep-inner.layout-right .image-col { 
    order: 2;
  }
  .image-with-text-8sleep-inner.layout-right .content-col { 
    order: 1;
    padding-right: 0;
    padding-left: 20px;
  }
}

.image-with-text-8sleep-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.image-with-text-8sleep-image-container:hover {
  transform: scale(1.05);
}

.image-with-text-8sleep-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.image-with-text-8sleep-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.image-with-text-8sleep-subheading {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.image-with-text-8sleep-heading {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  font-size: 42px;
}

.image-with-text-8sleep-body {
  line-height: 1.6;
  margin: 0;
  font-size: 18px;
  color: #4A4A4A;
}

.image-with-text-8sleep-additional-body {
  font-size: 14px;
  line-height: 1.5;
  background-color: #F5F7FA;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.image-with-text-8sleep-button {
  margin-top: 8px;
}

.image-with-text-8sleep-button a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.image-with-text-8sleep-button a:hover {
  opacity: 0.8;
}

@media (max-width: 991px) {
  .image-with-text-8sleep-container {
    padding: 0 20px;
  }
  
  .image-with-text-8sleep-content {
    gap: 20px;
  }
  
  .image-with-text-8sleep-inner {
    gap: 40px;
    padding: 0;
  }
  
  .image-with-text-8sleep-heading {
    font-size: 32px;
  }
  
  .image-with-text-8sleep-body {
    font-size: 16px;
  }

  /* Remove the previous mobile ordering */
  .content-col {
    order: initial;
  }
  .image-col {
    order: initial;
  }
}
</style>