/** Shopify CDN: Minification failed

Line 209:21 Expected identifier but found whitespace
Line 209:23 Unexpected "{"
Line 209:32 Expected ":"
Line 210:15 Expected identifier but found whitespace
Line 210:17 Unexpected "{"
Line 210:26 Expected ":"
Line 211:17 Expected identifier but found whitespace
Line 211:19 Unexpected "{"
Line 211:28 Expected ":"
Line 212:22 Expected identifier but found whitespace
... and 6 more hidden warnings

**/
.image-with-text {
  width: 100%;
  background-color: var(--background-color, #f8f6f3);
  color: var(--text-color, #2c2c2c);
}
 
.image-with-text__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.image-with-text__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: var(--section-height, 600px);
  min-height: 400px;
}

/* Text Blocks */
.image-with-text__text-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: var(--background-color, #f8f6f3);
  position: relative;
}

.image-with-text__text-content {
  max-width: 400px;
  text-align: center;
}

.image-with-text__heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  color: var(--text-color, #2c2c2c);
}

.image-with-text__text {
  font-size: 1.35rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  color: var(--text-color, #2c2c2c);
  opacity: 0.8;
}

.image-with-text__text p {
  margin: 0;
}

.image-with-text__button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: var(--button-color, #2c2c2c);
  border: 2px solid var(--button-color, #2c2c2c);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
}

.image-with-text__button:hover {
  background-color: var(--button-color, #2c2c2c);
  color: var(--button-text-color, #ffffff);
  transform: translateY(-2px);
}

/* Image Blocks */
.image-with-text__image-block {
  position: relative;
  overflow: hidden;
}

.image-with-text__image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.image-with-text__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.image-with-text__image-block:hover .image-with-text__image {
  transform: scale(1.05);
}

/* Placeholder */
.image-with-text__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #999;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
}

.image-with-text__placeholder-icon {
  margin-bottom: 1rem;
  opacity: 0.5;
} 

/* Responsive Design */
@media (max-width: 768px) {
  .image-with-text__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    height: auto;
    min-height: auto;
  }
  
  .image-with-text__text-block {
    padding: 2rem 1.5rem;
    min-height: 300px;
  }
  
  .image-with-text__heading {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .image-with-text__text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .image-with-text__image-block {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .image-with-text__text-block {
    padding: 1.5rem 1rem;
    min-height: 250px;
  }
  
  .image-with-text__heading {
    font-size: 2rem;
  }
  
  .image-with-text__text {
    font-size: 1.25rem; 
  }
  
  .image-with-text__button {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-with-text__text-block {
  animation: fadeInUp 0.6s ease-out;
}

.image-with-text__image-block {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Custom Properties for Theme Integration */
.image-with-text {
  --background-color: {{ section.settings.background_color | default: '#f8f6f3' }};
  --text-color: {{ section.settings.text_color | default: '#2c2c2c' }};
  --button-color: {{ section.settings.button_color | default: '#2c2c2c' }};
  --button-text-color: {{ section.settings.button_text_color | default: '#ffffff' }};
  --section-height: {{ section.settings.section_height | default: 600 }}px;
} 