/* 1. Target the parent cover block to align its children (the inner container) to the top */
.wp-block-cover.giunti-cover-custom {
    align-items: flex-start !important;
}

/* 2. Style the inner container for padding and text alignment */
.giunti-cover-custom .wp-block-cover__inner-container {
    width: 100%; /* Ensure it takes full width inside the parent */
    padding: 3rem;
    box-sizing: border-box;
    text-align: left;
}

/* 3. Optional margin for the button */
.giunti-cover-custom .wp-block-buttons {
    margin-top: 2rem;
} 

/* Footer full-width and proportional columns - GIUNTI */
.giunti-footer-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 20px;
  box-sizing: border-box;
  padding-left: 80px;
  padding-right: 80px;
}
@media (min-width: 1441px) {
  .giunti-footer-inner {
    padding-left: 0;
    padding-right: 0;
  }
}
.giunti-footer-inner .wp-block-column {
  flex: 1 1 120px;
  min-width: 120px;
  max-width: 320px;
  box-sizing: border-box;
}
.giunti-footer-brand {
  flex: 1.5 1 260px;
  min-width: 220px;
  max-width: 320px;
}
.giunti-footer-partners {
  flex: 1.2 1 280px;
  min-width: 180px;
  max-width: 320px;
}
@media (max-width: 900px) {
  .giunti-footer-inner {
    flex-direction: column;
    gap: 24px 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .giunti-footer-inner .wp-block-column {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .giunti-footer-inner {
    padding-left: 24px;
    padding-right: 24px;
    gap: 32px 0;
  }
  .giunti-footer-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }
  .giunti-footer-partners {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .giunti-footer-inner {
    padding-left: 20px;
    padding-right: 20px;
    gap: 28px 0;
  }
  .giunti-footer-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  .giunti-footer-list li {
    margin-bottom: 10px;
  }
}
/* End footer layout fixes */ 

/* Footer column headers color - GIUNTI */
.giunti-footer-title {
  color: #171717;
}
/* End footer header color */

/* Footer copyright block tweaks - GIUNTI */
.giunti-footer-bottom {
  margin-bottom: 100px;
}
.giunti-footer-bottom p {
  margin-bottom: 0;
  margin-top: 0;
}
.giunti-footer-bottom .giunti-footer-email-text {
  color: inherit;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}
/* Footer copyright text color - GIUNTI */
.giunti-footer-bottom {
  color: #737373 !important;
}
/* End copyright color fix */
/* End copyright tweaks */ 

/* Ensure 100px space below footer on all pages - GIUNTI */
body {
  min-height: calc(100vh - 100px);
  position: relative;
}
.giunti-footer {
  margin-bottom: 100px;
}
/* End footer bottom space fix */ 

/* Remove bullets and align footer link lists - GIUNTI */
.giunti-footer-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.giunti-footer-list li {
  margin-left: 0;
  padding-left: 0;
}
/* Add 12px vertical spacing between footer links - GIUNTI */
.giunti-footer-list li {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 12px;
}
.giunti-footer-list li:last-child {
  margin-bottom: 0;
}
/* End footer link spacing */
/* End footer list alignment */ 

/* Footer link color and underline on hover - GIUNTI */
.giunti-footer-list a {
  color: #737373;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}
.giunti-footer-list a:hover {
  text-decoration: underline;
}
/* End footer link style */

/* Footer address margin fix - GIUNTI */
.giunti-footer-address,
p.giunti-footer-address,
.giunti-footer p.giunti-footer-address {
    margin-top: 0 !important;
}
/* End footer address margin fix */ 