/* legal.css */

/* Import Londrina Sketch font */
@import url('https://fonts.googleapis.com/css2?family=Londrina+Sketch&display=swap');

/* General Wrapper */
.legal-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  margin-top: 0;
  z-index: 1;
}

/* Flex container for equal box widths */
.legal-sections {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* stack on smaller screens */
  justify-content: center;
  width: 100%;
  max-width: 950px;
}

/* Grey Sections */
.grey-section {
  background-color: #ffffff;
  padding: 40px;
  flex: 1 1 400px;
  border-radius: 12px;
  border: 2px solid #2e7d32;
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.5);
  text-align: center;
  min-width: 280px;
}

/* Grey Section Headings */
.grey-section h1 {
  font-size: 60px;
  color: #2e7d32;
  margin: 0 0 20px 0;
  font-weight: 700;
  font-family: 'Londrina Sketch', cursive;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .grey-section h1 {
    font-size: 40px;
  }
}

.grey-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Fix list spacing + inline links */
.grey-section ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  text-align: center;
}

.grey-section li {
  margin: 5px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.grey-section a {
  color: #0F4D0F;
  font-weight: 600;
  text-decoration: underline;
  display: inline;
}

.grey-section b,
.grey-section strong {
  font-weight: 700;
  color: #000;
}

/* Keep your tiles container override for mobile */
@media (max-width: 768px) {
  .tiles-container {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 10px !important;
      justify-content: center !important;
      padding: 10px !important;
      box-sizing: border-box !important;
      background: #FFFFFF !important;
      border-radius: 100px / 50px !important;
  }
}
