/* Preserve the native images and titles; reveal long copy without the theme's 400px padding/mask. */
body .yg-multi-columns .yg-multi-columns-item { min-width: 0; }
body .yg-multi-columns .yg-column-item-content {
  padding: 24px !important;
  max-height: 100%;
  height: auto !important;
  -webkit-mask: none !important;
  mask: none !important;
  background: linear-gradient(0deg,rgba(3,40,27,.94),rgba(3,40,27,.72) 72%,rgba(3,40,27,.12));
  transition: background .2s ease;
}
body .yg-multi-columns .yg-column-item-title,
body .yg-multi-columns .yg-column-item-text { flex-shrink: 0; overflow-wrap: anywhere; }
body .yg-multi-columns .yg-multi-columns-item:is(:hover,:focus-within) .yg-column-item-content {
  padding-top: 24px !important;
  height: auto !important;
  overflow-y: auto;
  background: rgba(3,40,27,.94);
}
body .yg-multi-columns .yg-multi-columns-item:is(:hover,:focus-within) .yg-column-item-text {
  max-height: none;
  overflow: visible;
  padding-top: 12px;
}
body .yg-multi-columns .yg-multi-columns-item:focus-visible { outline: 3px solid #b5d6bf; outline-offset: -3px; }
/* Actions remain in their own flow, including translations that need two lines. */
body .yg-normal-form .yg-normal-form-content .yg-chat-button {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 12px 0 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  height: auto;
}
body .yg-normal-form .wpforms-submit-container.cs-form-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
body .yg-normal-form .cs-form-actions > button.wpforms-submit,
body .yg-normal-form .cs-form-actions > .yg-chat-button {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 14px 20px !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.4 !important;
  text-align: center;
}
body .yg-normal-form .wpforms-field-container { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
body .yg-normal-form .wpforms-field-container .wpforms-field { min-width: 0; }
body .yg-normal-form .wpforms-field textarea { min-height: 12em; resize: vertical; }
body .yg-normal-form .wpforms-field :is(input,select,textarea):focus-visible {
  outline: 2px solid #01633d !important;
  outline-offset: 2px;
}
.cs-select-copy { display: block; margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #454748; overflow-wrap: anywhere; }
.cs-select-copy[hidden] { display: none; }
@media (max-width: 1050px) and (min-width: 768px) {
  body .yg-multi-columns .yg-multi-columns-content { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px), (hover: none) {
  body .yg-multi-columns .yg-multi-columns-item { display: flex; flex-direction: column; }
  body .yg-multi-columns .yg-multi-columns-item .yg-cloumn-image { width: 100%; aspect-ratio: 4/3 !important; object-fit: cover; }
  body .yg-multi-columns .yg-column-item-content,
  body .yg-multi-columns .yg-multi-columns-item:is(:hover,:focus-within) .yg-column-item-content {
    position: relative;
    max-height: none;
    height: auto !important;
    padding: 18px !important;
    flex: 1;
    overflow: visible;
    background: #123e30;
    backdrop-filter: none;
  }
  body .yg-multi-columns .yg-column-item-text { max-height: none !important; padding-top: 10px; overflow: visible; }
  body .yg-multi-columns .yg-column-item-title { font-size: 20px; line-height: 1.35; }
}
@media (max-width: 540px) {
  body .yg-multi-columns .yg-multi-columns-content { grid-template-columns: minmax(0,1fr); gap: 16px; }
  body .yg-normal-form .wpforms-field-container { grid-template-columns: minmax(0,1fr) !important; }
  body .yg-normal-form .wpforms-field-container .wpforms-field { grid-column: 1 / -1 !important; }
  body .yg-normal-form .cs-form-actions > button.wpforms-submit,
  body .yg-normal-form .cs-form-actions > .yg-chat-button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body .yg-multi-columns .yg-column-item-content,
  body .yg-multi-columns .yg-column-item-text { transition: none; }
}
