section.maquinaria-quote {
    margin: 40px 0;
    text-align: center;
}

section.maquinaria-quote>div {
    max-width: 50em;
}

section.hack {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

section.hack img {
    width: 100%;
}

section.hack .hackh {
    display: inline;
}

section.hack .hackv {
    display: none;
}

@media screen and (max-width: 769px) {
    section.hack .hackh {
        display: none;
    }

    section.hack .hackv {
        display: inline;
    }
}

/* --- Main Containers --- */
.partners-section {
  /* From original .description */
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center; /* From original .center */
}

.partners-section .partners-wrapper {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Brand Grid Layout --- */
.partners-section .brands-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: 1 column */
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .partners-section .brands-grid {
    grid-template-columns: 1fr 1fr; /* Desktop: 2 columns */
  }
}

/* --- Brand Cards --- */
.partners-section .brand-card {
  display: flex;
  flex-direction: column;
}

.partners-section .brand-inner {
  /* From original .description .container */
  margin-left: 32px;
  margin-right: 32px;
}

.partners-section .brand-title {
  /* From original .description .title */
  color: var(--brand-color, #333);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.125;
  margin-bottom: 0.5em; 
  text-align: left;
}

.partners-section .brand-description {
  /* From original inline style & .description p */
  text-align: justify;
  margin: 0;
  margin-bottom: 1rem;
}

/* --- Brand Buttons/Images --- */
.partners-section .brand-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1rem;
}

.partners-section .brand-actions a {
  display: inline-block;
}

.partners-section .brand-icon {
  /* From original .description .image */
  height: 32px;
  width: auto;
  display: inline-block;
  margin: 20px 0 20px 1em; /* Matches original margins */
}

/* --- Bottom Section (Collab) --- */
.partners-section .collab-title {
  color: black;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.partners-section .collab-content {
  width: 100%;
}

.partners-section .collab-content table {
  display: contents; /* Allows the tbody to control the layout */
}

.partners-section .collab-content table tbody {
  display: flex;
  flex-wrap: wrap; /* Logos flow to the next line */
  justify-content: center; /* Centers the groups/rows of logos */
  width: 100%;
}

.partners-section .collab-content table tr {
  display: contents; /* Hides the TR wrappers */
}

.partners-section .collab-content table td {
  /* Defines the size and centers the content perfectly */
  flex-grow: 1;
  flex-basis: 220px; /* Adjusts minimum width for flexible wrapping */
  display: flex;
  justify-content: center; /* Centers image horizontally */
  align-items: center; /* Centers image vertically */
  
  /* Minimal cleanup */
  border: none !important;
  padding: 30px;
  height: auto;
}

.partners-section .collab-content img {
  max-width: 120px; 
  height: auto;
}

/* Hide the Header Row */
.partners-section .collab-content table thead {
  display: none;
}