/* =========================================
   BOTANICAL CONTACT PAGE
   Built to match existing botanical theme
========================================= */

.botanical-contact-form,
.botanical-contact-direct{
  max-width: 760px;
  margin: 0 auto 2.2rem;
  position: relative;
}

.botanical-contact-form h2,
.botanical-contact-direct h2{
  margin-bottom: 1.5rem;
}

/* subtle internal section spacing */
.botanical-contact-direct{
  padding-top: .5rem;
}

/* =========================================
   FORM STRUCTURE
========================================= */

.botanical-contact-form form{
  max-width: 700px;
  margin: 0 auto;
}

.botanical-contact-form label{
  display: block;
  margin: 0 0 .3rem;
  color: #565349;
  font-size: 1.5rem;
  line-height: 1.45;
  text-align: left;
  font-family: "IMFellSC", serif;
}

/* inputs and textarea styled like ruled botanical entries */
.botanical-contact-form input[type="text"],
.botanical-contact-form input[type="email"],
.botanical-contact-form textarea{
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 0.6rem 0.7rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: #413e36;
  background: rgba(226,210,178,0.35);
  border: 1px solid rgba(86,83,73,0.45);
  box-shadow: inset 0 0 0 1px rgba(86,83,73,0.15);
  appearance: none;
}

/* textarea gets a framed writing area */
.botanical-contact-form textarea{
  min-height: 8.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(86,83,73,0.28);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 1.9rem,
      rgba(86,83,73,0.10) 1.9rem,
      rgba(86,83,73,0.10) 2rem
    );
  line-height: 2rem;
  resize: vertical;
}

/* file input should look quieter and less browser-default ugly */
.botanical-contact-form input[type="file"]{
  display: block;
  padding: 0.45rem 0;
  border-bottom: none;
  color: #565349;
  text-align: left;
}

/* focus states */
.botanical-contact-form input[type="text"]:focus,
.botanical-contact-form input[type="email"]:focus,
.botanical-contact-form input[type="file"]:focus,
.botanical-contact-form textarea:focus{
  outline: none;
}

.botanical-contact-form input[type="text"]:focus,
.botanical-contact-form input[type="email"]:focus{
  border-bottom-color: rgba(86,83,73,0.75);
}

.botanical-contact-form textarea:focus{
  border-color: rgba(86,83,73,0.55);
}

/* placeholder tone */
.botanical-contact-form input::placeholder,
.botanical-contact-form textarea::placeholder{
  color: rgba(86,83,73,0.75);
  font-style: italic;
}

/* =========================================
   BUTTON
========================================= */

.botanical-button{
  display: block;
  position: relative;
  width: 100%;
  margin: 2.5rem auto;
  padding: .85rem 1.25rem;
  border: 1px solid rgba(86,83,73,0.34);
  background: rgba(226,210,178,0.55);
  color: #565349;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;

  font-family: "IMFellSC", serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  line-height: 1.1;

  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.botanical-button::before{
  content:"";
  position:absolute;
  inset: 6px;
  border: 1px solid rgba(86,83,73,0.18);
  pointer-events:none;
}

.botanical-button:hover{
  border-color: rgba(86,83,73,0.52);
  background: rgb(248, 230, 194);
  transform: translateY(-1px);
}

.botanical-button:focus-visible{
  outline: 2px solid rgba(86,83,73,0.55);
  outline-offset: 3px;
}

/* =========================================
   DIRECT CONTACT TEXT
========================================= */

.botanical-contact-direct .content-p{
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.botanical-contact-direct a{
  color: #565349;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.botanical-contact-direct a:hover{
  color: #413e36;
}

/* =========================================
   HONEYPOT
========================================= */

.honeypot-field{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =========================================
   OPTIONAL NARROWER INTRO FOR THIS PAGE
========================================= */

.botanical-theme .intro-text{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   Flourish Divider
========================================= */

.botanical-flourish{
  position:relative;
  margin:3rem auto;
  width:60%;
  height:1px;
  background:#565349;
}

.botanical-flourish::before,
.botanical-flourish::after{
  content:"❧";
  position:absolute;
  top:-11px;
  font-size:18px;
  color:#565349;
}

.botanical-flourish::before{
  left:-20px;
}

.botanical-flourish::after{
  right:-20px;
}

/* =========================================
   LARGER SCREENS
========================================= */

@media (min-width: 641px){
  .botanical-contact-form,
  .botanical-contact-direct{
    margin-bottom: 3rem;
  }

  .botanical-contact-form textarea{
    min-height: 10rem;
  }

  .botanical-button{
    width: fit-content;
  }
}