.measure-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.measure-header img {
  width: 60%;
  height: auto;
  border-radius: 10px;
  
}


.measure-subheader img {
  width: 90%;
  height: auto;
  border-radius: 10px;
  
}

.measure-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.measure-frame-grid .measure-item {
  width: 180px;
  text-align: center;
  font-size: 0.85rem;
}

.measure-item img {
  width: auto;
  height: 225px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.measure-note {
  margin-top: 20px;
  background-color: #f9f9f9;
  border-left: 6px solid #ccc;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  max-width: 1200px;
  margin: auto;
}

.measure-comparison {
  margin-top: 40px;
}

.measure-image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.measure-image-row img {
  height: 500px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.measure-summary {
  background-color: #fff8e1;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 1200px;
  margin: auto;
}

.measure-summary h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}


.measure-image-text-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* ✅ Center the entire row */
  gap: 20px;
  margin-bottom: 30px;
  max-width: 1200px; /* ✅ Constrain width */
  margin-left: auto;
  margin-right: auto;
}

.measure-image-text-row img {
  height: 250px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.measure-text {
  max-width: 600px;
  font-size: 0.95rem;
}

.measure-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.measure-image-row img {
  height: 249px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.shared-uprights h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.shared-uprights p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.shared-uprights .measure-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.shared-uprights img {
  height: 175px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.measure-banner {
  margin-top: 40px;
  text-align: center;
}

.measure-banner img {
  width: 100%;
  height: auto;
  max-width: 966px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}


.measure-final-note {
  margin-top: 40px;
  padding: 0 20px;
}

.important-box {
  background-color: #fff3cd;
  border-left: 6px solid #ffa500;
  padding: 15px 20px;
  border-radius: 8px;
  font-family: Verdana, sans-serif;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.shared-uprights-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

.measure-text {
  max-width: 600px;
  font-size: 0.95rem;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .measure-text {
    text-align: center;
  }

  .shared-uprights-text {
    padding: 0 15px;
  }
}
