.paragraph--type--problem-solution-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
  .field--name-field-problem-title {
    margin-top: 0;font-size: 24px;font-weight: bold;
  }
/* title */
.field.field--name-field-title {
    font-size: 30px;
    font-weight: bold;    padding-bottom: 10px;
}


/* Problem Section Styling */
.field--name-field-problem-title {
  margin-bottom: 1rem;
  grid-column: 1;
}

.field--name-field-problem-items {
  grid-column: 1;
}

.field--name-field-problem-items .field--items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field--name-field-problem-items .field--item {
  padding: 0.75rem;
  border-radius: 0 4px 4px 0;
}
.paragraph--type--problem-solution-section {
  max-width: 1200px;
  margin: 0 auto;
      padding: 20px;
    background: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Problem Section Container */
.field--name-field-problem-title,
.field--name-field-problem-desc,
.field--name-field-problem-image,
.field--name-field-problem-items {
  grid-column: 1;
}

/* Solution Section Container */
.field--name-field-solution {
  grid-column: 1;
}

/* Problem Title Styling */
.field--name-field-problem-title {
  margin-bottom: 1rem;
  position: relative;
}



/* Problem Description */
.field--name-field-problem-desc{
    text-align: justify;
}
/* Problem Image */
.field--name-field-problem-image {
  margin: 20px 0;
}

.field--name-field-problem-image img {
  width: 100%;
  max-width: 100%;
  height: 200px;           /* your test height */
  object-fit: cover;       /* crops to fill */
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* Problem Items */

.field--name-field-problem-items .field--label {
  color: #d9534f;
  font-weight: 600;
  margin-bottom: 1rem;
}

.field--name-field-problem-items .field--items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field--name-field-problem-items .field--item {
  padding: 1rem;
  border-radius: 0 0.25rem 0.25rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;font-weight: bold;
}

.field--name-field-problem-items .field--item:before {
    content: "\26A0";
    margin-right: 0.75rem;
    font-size: 2.25rem;
    color: #f78c1f;
}

/* Solution Section Styling */
.hvac-solution-section {
  background: #f78c1f; /* Light blue background */
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.solution-title {
  color: #ffffff; /* HVAC brand blue */
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  text-align: left;
}

.solution-image {
  margin: 1.5rem 0;
}
/* ===== Solution Card Inner ===== */
.hvac-solution-section {
  background: #0e2a47;            /* deep blue */
  color: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.hvac-solution-section .solution-title {
  margin: 0 0 .75rem;
}

.hvac-solution-section .solution-image {
  margin: .5rem 0 1rem;
  border-radius: 10px;
  overflow: hidden;
}
.hvac-solution-section .solution-image img {
  display: block;
  width: 100%;
  height: clamp(160px, 28vw, 260px);
  object-fit: cover;
}

/* Why Us list */
.hvac-solution-section .why-us h3 {
  margin: 25px 0 15px 0;
}
.hvac-solution-section .benefits-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: .5rem;
}
.hvac-solution-section .benefit-icon {
  font-weight: 800;
  margin-right: .5rem;
}
.hvac-solution-section .benefit-text {
  opacity: .95;
}
.solution-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.why-us h3 {
  color: #ffffff;
  margin: 2rem 0 1rem;
}

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

.benefits-list li {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.benefit-icon {
  background-color: #ff6b35; /* HVAC accent orange */
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  font-weight: bold;
}

.benefit-text {
  color: #2a2d34;
}

/* Desktop Layout - Side by Side */
@media (min-width: 992px) {
  .paragraph--type--problem-solution-section {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;    border: 1px solid #ebe5e5;
  }
  
  /* Problem Section */
  .field--name-field-problem-title,
  .field--name-field-problem-desc,
  .field--name-field-problem-image,
  .field--name-field-problem-items {
    grid-column: 1;
  }
  
  /* Solution Section */
  .field--name-field-solution {
    grid-column: 2;
    grid-row: 1 / span 4; /* Span all rows */    margin-left: 30px;

  }
  
}

/* Tablet Adjustments */
@media (max-width: 991px) and (min-width: 768px) {
  .paragraph--type--problem-solution-section {
    padding: 1.5rem;
  }
  

}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .paragraph--type--problem-solution-section
 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    display: grid
;
    grid-template-columns: 1fr;
    gap: 2rem;
}

}

/* Print Styles */
@media print {
  .paragraph--type--problem-solution-section {
    grid-template-columns: 1fr 1fr !important;
    page-break-inside: avoid;
  }
  
  .field--name-field-problem-items,
  .hvac-solution-section {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}


@media (min-width: 992px) {
  .paragraph--type--problem-solution-section {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;             /* no stretching */
    /* optional: grid-auto-rows: max-content; */
  }
  .field--name-field-solution {
    grid-column: 2;
    grid-row: auto;                 /* remove the span */
  }
}
