/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
}

.script-title {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 400;
}

.headline-mixed {
  line-height: 1.1;
  letter-spacing: 0;
}

.body-text {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-headline em {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.125em;
  position: relative;
  display: inline-block;
}

.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: -0.1em;
  right: -0.1em;
  height: 0.35em;
  background-color: rgba(254, 164, 78, 0.4);
  border-radius: 4px;
  z-index: -1;
}

.statement-text em {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 400;
}

/* Services Dropdown - Keep open when hovering over menu */
[data-controller="services-dropdown"] {
  position: relative;
}

[data-controller="services-dropdown"] .dropdown-content {
  margin-top: 0.25rem !important;
  padding-top: 0.5rem !important;
}

/* Bridge the gap between trigger and menu with a pseudo-element */
[data-controller="services-dropdown"]::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
  z-index: 49;
}

[data-controller="services-dropdown"]:hover .dropdown-content,
[data-controller="services-dropdown"][data-open="true"] .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}
