/**
 * Theme: RFG Custom
 * File: contact.css
 * Version: 0.1.0
 */

 :root { --gap: 1rem; }
 body { font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;  }
 form.rfg-contact-form { display: grid; gap: var(--gap); }
 label { display: block; font-weight: 600; }
 form.rfg-contact-form input[type=text], form.rfg-contact-form input[type=email], form.rfg-contact-form textarea {
    width: 100%; padding: .6rem; border: 1px solid #ccc; border-radius: .5rem;
 }
 form.rfg-contact-form textarea { resize: vertical; }
 #rfg-form-container { max-width: 800px; margin: 0 auto;}

 .site-logo-container {
    position: relative;
    line-height: 0;
    height: var(--logo-shrink-height, var(--logo-max-height, 80px)) !important;
    
    transition: none
}

.menu-item-placeholder {

  min-width: 120px;
}
 button { padding: .7rem 1rem; border: 0; border-radius: .5rem; cursor: pointer; }
 .error { background: #ffe8e8; border: 1px solid #ffb3b3; padding: .75rem; border-radius: .5rem; }
 .success { background: #e8ffef; border: 1px solid #b3ffd0; padding: .75rem; border-radius: .5rem; }
 .muted { color: #666; font-size: .9rem; }
 .row { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
 @media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
 .hp { position: absolute; left: -9999px; width:1px; height:1px; overflow:hidden; }
 small.hint { color:#666; display:block; margin-top:.25rem; }
 code { background:#f5f5f5; padding:2px 4px; border-radius:4px; }
 .pill { display:inline-block; padding:.15rem .5rem; border:1px solid #ddd; border-radius:999px; margin-right:.35rem; }

.hero-section[data-type="type-1"] {
    text-align: var(--alignment);
    margin-bottom: var(--margin-bottom, 40px);
  }
  .hero-section[data-type="type-1"] .page-description {
    display: inline-block;
    max-width: var(--description-max-width, 100%);
  }
  .hero-section[data-type="type-2"] {
    position: relative;
    padding-top: calc(var(--has-transparent-header) * var(--header-height));
  }
  .hero-section[data-type="type-2"] > [class*="ct-container"] {
    display: flex;
    flex-direction: column;
    justify-content: var(--vertical-alignment, center);
    text-align: var(--alignment, center);
    position: relative;
    z-index: 2;
    padding: var(--container-padding, 50px 0);
    min-height: var(--min-height, 250px);
  }
  .hero-section[data-type="type-2"] > figure {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    inset: 0;
    background-color: inherit;
  }
  .hero-section[data-type="type-2"] > figure .ct-media-container {
    height: 100%;
    vertical-align: top;
  }
  .hero-section[data-type="type-2"] > figure .ct-media-container img {
    height: 100%;
  }
  .hero-section[data-type="type-2"] .ct-title-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 0.5em;
  }
  .entry-header > *:not(:first-child) {
    margin-top: var(--itemSpacing, 20px);
  }
  .entry-header .page-title {
    margin-bottom: 0;
  }
  .entry-header .page-description {
    color: var(--theme-text-color);
  }
  .entry-header .page-description > *:last-child {
    margin-bottom: 0;
  }


  /* Primary submit button */
button[type="submit"].btn,
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border: 0;
  border-radius: 10px;                 /* fully rounded */
  color: #fff;                           /* white text */
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  background: linear-gradient(135deg, #1f8f4d 0%, #0f5a2b 100%);
  box-shadow: 0 6px 14px rgba(16, 84, 44, 0.25);
  transition: transform .05s ease, box-shadow .2s ease, filter .2s ease;
  margin: 5px auto;
  width: 160px;
}

/* Hover/active */
button[type="submit"].btn:hover,
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 18px rgba(16, 84, 44, 0.32);
}

button[type="submit"].btn:active,
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(16, 84, 44, 0.25);
}

/* Focus visible (keyboard users) */
button[type="submit"].btn:focus-visible,
.btn-primary:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(35, 143, 82, 0.7);
}

/* Disabled */
button[type="submit"].btn:disabled,
.btn-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

  
  .ct-footer-copyright {

    text-align: center !important;
    font-weight: 500 !important;
  }