/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 01 2025 | 15:37:29 */
/* Outer container: flex layout with wrapping */
.dimension-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center; /* boxes centered in container */
  align-items: flex-start; /* top-align all boxes */
  width: 100%;
}

/* Individual box */
.dimension-box {
  flex: 1 1 150px;       
  max-width: 250px;      
  padding: 1.2em;
  border: 2px solid var(--wp--preset--color--contrast, #333);
  border-radius: 12px;
  background-color: var(--wp--preset--color--base, #f9f9f9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;    /* heading centered if no icon */
  margin-top: 0;
}

/* Row inside the box for icon + heading */
.dimension-row {
  display: flex;
  align-items: flex-start;   /* top-align icon + heading */
  gap: 0.3em;
  width: 100%;
}

/* Icon inside the row */
.dimension-row img {
  margin: 0;
  flex-shrink: 0;
}

/* Heading inside the row */
.dimension-row h4 {
  flex: 1;
  margin: 0;
  text-align: left;          /* lines up with paragraph */
  word-wrap: break-word;
}

/* Paragraph inside the box */
.dimension-box p {
  text-align: left;          /* left-align text under heading */
  margin: 0.5em 0 0 0;
  flex-grow: 1;
  font-size: 0.95em;
}

/* Stack boxes on very small screens */
@media (max-width: 600px) {
  .dimension-box {
    flex: 1 1 120px;     /* narrower boxes on small screens */
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;  /* center each box */
  }
}
