/* FORM STYLES */
.site-wide-form {
  padding: 30px;
  background-color: #f2f2f2;
  border: 1px solid #C7C7C7;
  border-radius: 4px;
}

.site-wide-form input {
  width: 100%;
  height: 25px;
}

.site-wide-form textarea {
  width: 100%;
  height: 100px;
}

.site-wide-form input.wpcf7-submit {
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 120px;
    height: 42px;
}

.site-wide-form input.wpcf7-submit:hover {
    background-color: #f2f2f2;
    color: #000000;
}

/* BUTTON STYLES */
.button-white {
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.button-white:hover {
    background-color: #f2f2f2;
    color: #000000;
}

.has-text-align-center {
  text-align: center;
}

/* Force Gutenberg columns to stack on screens smaller than 768px */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
}

.two-column-gutenberg-blocks .wp-block-column {
    width: 50%; /* default desktop width */
}

.one-column-gutenberg-block {
  max-width: 900px;
  margin: auto;
}

/* Ensure all images inside Gutenberg columns fit their container */
.wp-block-column img {
    max-width: 100%; /* never exceed container width */
    height: auto;    /* maintain aspect ratio */
    display: block;  /* remove inline spacing issues */
}

@media (max-width: 768px) {
  .wp-block-columns {
    flex-wrap: wrap !important;
  }


    .wp-block-column {
        width: 100% !important;
        margin-bottom: 20px; /* space between stacked columns */
    }
}


.cta-section {
  padding: 40px 20px;
  background-color: #EDEDED;
}

.cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 20px;
}

.cta-image {
  flex: 0 0 30%;
  text-align: center;
}

.cta-image img {
  width: 100%;
  height: auto;
  max-width: 120px;
}

.cta-text {
  flex: 1;
}

.cta-text h4 {
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive: stack columns on mobile */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-image, .cta-text {
    flex: 100%;
  }
}

/* GUTENBERG LIST STYLES */
ul.wp-block-page-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding-top: 25px;
  padding-bottom: 25px;
}

ul.wp-block-page-list li {
  display: inline-block;
}

ul.wp-block-page-list li a {
  font-weight: 600;
  color: #004813;
}


/* General container for all page content */
.container {
    width: 100%;           /* full width by default */
    margin: 0 auto;        /* center horizontally */
    box-sizing: border-box;
}

/* Desktop */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 768px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        max-width: 360px;
    }
}
