/*
JUDI BUTLER THERAPY — THEME PACK v1.0
*/

:root {
  --jbt-ivory: #fff7ed;
  --jbt-paper: #fffdf9;
  --jbt-charcoal: #202020;
  --jbt-text: #4f4a45;
  --jbt-muted: #746e68;
  --jbt-gold: #c89a3d;
  --jbt-green: #6f8f2f;
  --jbt-border: #e8ded2;
  --jbt-shadow: 0 14px 35px rgba(32,32,32,.10);
  --jbt-radius-small: 12px;
  --jbt-radius-medium: 20px;
  --jbt-transition: 200ms ease;
  --jbt-reading-width: 72ch;
}

#top,
#top p,
#top li,
#top input,
#top textarea,
#top select,
#top button {
  color: var(--jbt-text);
  font-family: Arial, Helvetica, sans-serif;
}

#top {
  font-size: 18px;
  line-height: 1.7;
}

#top h1,
#top h2,
#top h3,
#top h4,
#top h5,
#top h6,
#top blockquote {
  color: var(--jbt-charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.015em;
}

#top h1 { font-size: clamp(2.8rem, 5vw, 4.25rem); line-height: 1.05; }
#top h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); line-height: 1.12; }
#top h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.2; }

#top p { margin-bottom: 1.35em; }

#top .entry-content p,
#top .avia_textblock p {
  max-width: var(--jbt-reading-width);
}

#top a {
  transition: color var(--jbt-transition), background-color var(--jbt-transition),
              border-color var(--jbt-transition), transform var(--jbt-transition);
}

#top a:focus-visible,
#top button:focus-visible,
#top input:focus-visible,
#top textarea:focus-visible,
#top select:focus-visible {
  outline: 3px solid rgba(200,154,61,.45);
  outline-offset: 3px;
}

#top #header,
#top #header_main,
#top .header_bg {
  background: var(--jbt-ivory);
  border: 0;
}

#top #header_main { box-shadow: none; }

#top .logo { padding: 8px 0; }

#top .logo img {
  width: auto;
  max-width: 245px;
  height: auto;
  object-fit: contain;
}

#top #avia-menu > li > a {
  color: var(--jbt-charcoal);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}

#top #avia-menu > li > a:hover,
#top #avia-menu > li:hover > a,
#top #avia-menu > li.current-menu-item > a,
#top #avia-menu > li.current-menu-ancestor > a {
  color: var(--jbt-gold);
}

#top #avia-menu > li > a::after {
  background: var(--jbt-gold);
  bottom: 19px;
  content: "";
  height: 2px;
  left: 15px;
  opacity: 0;
  position: absolute;
  right: 15px;
  transform: scaleX(.4);
  transform-origin: center;
  transition: opacity var(--jbt-transition), transform var(--jbt-transition);
}

#top #avia-menu > li > a:hover::after,
#top #avia-menu > li.current-menu-item > a::after,
#top #avia-menu > li.current-menu-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

#top .avia-menu-fx { display: none; }

#top .main_menu .menu ul {
  background: var(--jbt-paper);
  border: 1px solid var(--jbt-border);
  border-radius: var(--jbt-radius-small);
  box-shadow: var(--jbt-shadow);
  padding: 10px 0;
}

#top .main_menu .menu ul li { border: 0; }

#top .main_menu .menu ul li a {
  background: transparent;
  border: 0;
  color: var(--jbt-text);
  font-size: 15px;
  line-height: 1.4;
  min-width: 245px;
  padding: 12px 18px;
}

#top .main_menu .menu ul li a:hover,
#top .main_menu .menu ul li.current-menu-item > a {
  background: rgba(200,154,61,.10);
  color: var(--jbt-charcoal);
}

#top #menu-item-search > a { color: var(--jbt-charcoal); }
#top #menu-item-search > a:hover { color: var(--jbt-gold); }

#top .avia-button,
#top .button,
#top button,
#top input[type="submit"],
#top input[type="button"] {
  background: var(--jbt-charcoal);
  border: 1px solid var(--jbt-charcoal);
  border-radius: 999px;
  box-shadow: none;
  color: var(--jbt-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  padding: 14px 24px;
  text-transform: uppercase;
}

#top .avia-button:hover,
#top .button:hover,
#top button:hover,
#top input[type="submit"]:hover,
#top input[type="button"]:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
  color: #e0b65b;
  transform: translateY(-2px);
}

#top .avia-button.avia-color-light,
#top .avia-button.avia-color-white,
#top .jbt-button-secondary {
  background: transparent;
  border-color: var(--jbt-border);
  color: var(--jbt-charcoal);
}

#top .avia-button.avia-color-light:hover,
#top .avia-button.avia-color-white:hover,
#top .jbt-button-secondary:hover {
  background: var(--jbt-paper);
  border-color: var(--jbt-gold);
  color: var(--jbt-charcoal);
}

#top .jbt-card,
#top .jbt-quote,
#top .jbt-panel {
  background: var(--jbt-paper);
  border: 1px solid rgba(232,222,210,.8);
  border-radius: var(--jbt-radius-medium);
  box-shadow: var(--jbt-shadow);
  padding: clamp(24px, 4vw, 42px);
}

#top .jbt-quote,
#top blockquote.jbt-quote {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.35;
  margin: 0;
}

#top input[type="text"],
#top input[type="email"],
#top input[type="tel"],
#top input[type="url"],
#top input[type="number"],
#top input[type="date"],
#top select,
#top textarea {
  background: var(--jbt-paper);
  border: 1px solid var(--jbt-border);
  border-radius: var(--jbt-radius-small);
  color: var(--jbt-charcoal);
  font-size: 17px;
  padding: 14px 16px;
}

#top input[type="text"]:focus,
#top input[type="email"]:focus,
#top input[type="tel"]:focus,
#top input[type="url"]:focus,
#top input[type="number"]:focus,
#top input[type="date"]:focus,
#top select:focus,
#top textarea:focus {
  border-color: var(--jbt-gold);
  box-shadow: 0 0 0 3px rgba(200,154,61,.12);
}

#top #footer {
  background: var(--jbt-charcoal);
  border: 0;
  color: rgba(255,255,255,.78);
}

#top #footer h3,
#top #footer h4,
#top #footer a { color: #fff; }

#top #footer a:hover { color: #e0b65b; }

#top #socket {
  background: #181818;
  border: 0;
  color: rgba(255,255,255,.68);
}

#top .title_container { display: none; }
#top .container_wrap { border-top-width: 0; }

@media only screen and (max-width: 989px) {
  #top { font-size: 17px; }
  #top .logo img { max-width: 205px; }
}

@media only screen and (max-width: 767px) {
  #top h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  #top h2 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  #top .logo { padding: 6px 0; }
  #top .logo img { max-width: 175px; }

  #top .avia-button,
  #top .button,
  #top button,
  #top input[type="submit"],
  #top input[type="button"] {
    min-height: 48px;
    padding: 14px 20px;
  }
}
