.regular-page-builder {
    margin-top: 10vh;
}

.one-column-section {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 800px;
}

.one-column-section .column {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.one-column-section .component-wrapper {
    margin-top: auto;
    align-self: flex-start;
    max-width: 600px;
    width: 100%;
}

.two-column-section .columns-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.two-column-section .grid-column {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* vertical – bottom */
    align-items: flex-start;     /* horizontal – left */
}

.two-column-hero .columns-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    height: 100%;
}

.two-column-hero .grid-column {
    padding:20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.two-column-hero .component-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 500px;

}

.card-section {
  padding: 0;
}

.card-section .column {
  padding: 100px 20px;
}

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  flex: 1 1 280px;
  max-width: 450px;
  padding: 1.5rem;
  border-radius: .5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.centered-one-column-section {
    display: grid;
    grid-template-columns: 1fr;
}

.centered-one-column-section .column {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-one-column-section .column .component-wrapper {
    width: 100%;
    max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .two-column-section .columns-wrapper,
    .two-column-hero .columns-wrapper {
        grid-template-columns: 1fr !important;
    }
}

#table-switcher .buttons {
  margin-bottom: 1rem;
}
.switcher-btn {
  background: #e31837;
  color: white;
  border: none;
  padding: .5rem 1rem;
  margin-right: .5rem;
  cursor: pointer;
  font-weight: bold;
}
.switcher-btn.active { opacity: .8; }
.switcher-table { display: none; }
.switcher-table.active { display: block; }
