/*farmer info shortcode*/
.farmer-info-section {
  padding: 0rem 0rem;
}

.farmer-info-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.2rem;
}

.farmer-info-label {
  flex: 1 1 250px;
  min-width: 200px;
  padding: 1.5rem;
  text-align: left;
  box-sizing: border-box;
}

.farmer-info-label h2 {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.farmer-info-columns {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  justify-content: center;
}

.farmer-info-col {
  flex: 1 1 250px;
  min-width: 200px;
  padding: 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

/* Add border to col 2 & 3 (desktop only) */
@media (min-width: 769px) {
  .farmer-info-col:nth-child(1),
  .farmer-info-col:nth-child(2) {
    border-right: 1px solid #ccc;
  }
}

.farmer-info-col h3 {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 2.2rem;
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  color: var(--e-global-color-text);  
  text-align: center;
  margin-bottom: 0.2rem;
}

.farmer-info-col .divider {
  height: 1px;
  width: 80px;
  background-color: #c00;
  margin: 0 auto 1rem auto;
}

.farmer-info-col .content p,
.farmer-info-col .content a {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: 1.3em;
  color: var(--e-global-color-text);
  margin: 0.5rem 0;
  display: block;
  text-decoration: none;
}

.farmer-info-col .content a {
  color: blue;
  text-decoration: underline;
}

.farmer-info-col .content a:hover {
  text-decoration: underline;
  color: darkblue;
}

/* Tablet & mobile styles */
@media (max-width: 768px) {
  .farmer-info-wrapper {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .farmer-info-label {
    text-align: center;
  padding-bottom: 0rem;
  margin-bottom: 1rem;
  height: auto !important;
  align-self: flex-start !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  }

  .farmer-info-label h2 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0;
  }

  .farmer-info-columns,
  .farmer-info-col {
    max-width: 100%;
    border-right: none !important;
  }
}


/* psot content farmer image gallery*/
.farmer-gallery-layout {
  margin: 2rem 0;
}

.farmer-gallery-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2rem;
}

/* Image column (35%) */
.farmer-gallery-images {
  flex: 0 0 35%;
  max-width: 35%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Content column (65%) */
.farmer-gallery-content {
  flex: 0 0 65%;
  max-width: 65%;
  font-family: var(--e-global-typography-text-font-family, sans-serif);
  font-size: var(--e-global-typography-text-font-size);
}

/* Picture containers */
.farmer-gallery-images picture {
  width: 100%;
  display: block;
}

/* Image 1 retains full aspect ratio */
.gallery-img-1 img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

/* Image 2–4 row styles */
.gallery-img-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-img-row picture {
  flex: 1 1 calc(33.333% - 0.66rem);
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.farmer-gallery-wrapper.no-image-col .farmer-gallery-content {
  flex: 1 1 100%;
  max-width: 100%;
}

/* Responsive stacking */
@media (max-width: 1024px) {
  .farmer-gallery-wrapper {
    flex-direction: column-reverse;
  }

  .farmer-gallery-images,
  .farmer-gallery-content {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .gallery-img-row picture {
    height: 50vh;
  }
}

@media (max-width: 767px) {
  .gallery-img-row picture {
    height: 30vh;
  }
}


.team-contact-icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #666;
  padding: 0.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.icon-link:hover {
  border-color: #c00;
}

.icon {
  width: 24px;
  height: 24px;
  fill: #666;
  transition: fill 0.3s ease;
}

.icon-link:hover .icon {
  fill: #c00;
}



/*guten extras*/
.has-large-font-size {
  line-height: 1.2em;
}


/*download button*/

.acf-download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.75em 1.5em;
    text-decoration: none;
    background-color: var(--e-global-color-primary);
    font-family: "news-gothic-std", Sans-serif;
    font-size: 1.13rem;
    font-weight: 700;
    fill: var(--e-global-color-34dd887);
    color: var(--e-global-color-34dd887);
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.acf-download-button:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
    border-color: var(--e-global-color-text);
}


.acf-resource-link {
  color: #0073e6; /* standard blue link */
  font-weight: 700;
	font-family: "news-gothic-std", Sans-serif;
    font-size: 1.13rem;
}

.acf-resource-link:hover,
.acf-resource-link:focus {
  color: #003366; /* darker blue on hover */
  text-decoration: underline;
}


