/* Adapted from the original Bee Venom WordPress theme. */
:root {
  --bee-yellow: #ffc705;
  --ink: #3e3f3f;
  --content-white: rgba(255, 255, 255, 0.9);
}

* { box-sizing: border-box; }

html {
  font-family: Calibri, Montserrat, "Helvetica Neue", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--bee-yellow) url("../images/site/honeycomb-background.png") repeat-x top center;
  color: #000;
}

a { background-color: transparent; }
img { border: 0; }
button, input, textarea { color: inherit; font: inherit; max-width: 100%; }
textarea { overflow: auto; vertical-align: top; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  padding: .5em 1em;
  color: #000;
  background: #fff;
  transform: translateY(-120%);
}

.skip-link:focus { transform: translateY(0); }

.site {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* Header and the production site's currently static logo. */
.header { height: auto; }

.logo-home-url {
  display: block;
  max-width: 520px;
}

#logo-slider-disabled {
  position: relative;
  display: block;
  height: 150px;
  max-width: 520px;
  margin-right: auto;
}

#logo-slider-disabled > span:not([hidden]) { display: block; }
#logo-slider-disabled > span[hidden] { display: none; }
#logo-slider-disabled img { width: 100%; height: auto; }

/* Desktop navigation exactly follows the original horizontal menu direction. */
.main-navigation {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 1em auto 0;
  font-family: Calibri, Montserrat, "Helvetica Neue", sans-serif;
}

.main-navigation ul {
  position: relative;
  display: block;
  float: left;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.main-navigation li { position: relative; float: left; margin: 0; padding: 0; }

.main-navigation li::after {
  position: absolute;
  top: .65em;
  right: -1px;
  width: 2px;
  height: 1.25em;
  background: var(--ink);
  content: "";
}

.main-navigation li:last-child::after { display: none; }

.main-navigation a {
  display: block;
  padding: 0 1em;
  color: var(--ink);
  font-family: Calibri, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 2em;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: var(--bee-yellow);
  background: rgba(0, 0, 0, .04);
  outline: none;
}

/* Page image and its left-side translucent title panel. */
.header-image {
  position: relative;
  display: block;
  height: auto;
  max-width: 100%;
  margin: 6px 6px 0;
  overflow: hidden;
  outline: 8px solid var(--bee-yellow);
  background-color: #000;
}

.header-image > picture { display: block; }

.header-image > img,
.header-image > picture > img {
  width: 100%;
  height: auto;
  outline: 6px solid var(--bee-yellow);
  vertical-align: middle;
}

.header-tagline {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 30%;
  height: 100%;
  background-color: rgba(0, 0, 0, .38);
}

.header-tagline :is(.site-description, .page-title) {
  margin: auto;
  padding: 1em;
  color: #fff;
  font-family: Calibri, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2em;
  font-weight: 400;
}

.header-tagline--single-line :is(.site-description, .page-title) {
  white-space: nowrap;
}

/* Shared white content panels. */
.site-inner {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  margin: 0 6px;
  overflow: auto;
}

.site-content {
  width: 100%;
  height: 100%;
  margin: 1% 0;
  padding: 2em;
  clear: both;
  background-color: var(--content-white);
  text-align: left;
}

.site-content h2,
.site-content h3 {
  margin: 0 0 1em;
  font-size: 1.17em;
}

.site-content p { margin: 0 0 1.5em; line-height: 1.25; }
.site-content blockquote { margin: 1em 40px; }
.site-content img { display: block; max-width: 100%; height: auto; }
.site-content a { color: inherit; }

/* Equivalent light-weight layouts for the former SiteOrigin panels. */
.content-section { margin-bottom: 1.8em; }
.content-section:last-child { margin-bottom: 0; }

.panel-grid,
.content-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 2em;
  margin-bottom: 1.8em;
}

.panel-grid > *,
.content-row > * { min-width: 0; }
.panel-grid > .copy { flex: 1 1 auto; }
.panel-grid > .product-image { flex: 0 0 164px; }
.content-image { margin: 0 0 1.5em; }
.full-image { width: 100%; margin-top: 1em; }

.product-gallery {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.5em;
  align-items: start;
  margin: 0 0 1.8em;
}

.product-gallery img {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  height: 300px;
  max-height: 300px;
  margin: 0 auto;
}

/* Original TablePress visual treatment, without its font or JavaScript dependency. */
.table-scroll { width: 100%; overflow-x: auto; }
.tablepress {
  width: 100%;
  margin-bottom: 1em;
  border-collapse: collapse;
  border-spacing: 0;
}

.tablepress td,
.tablepress th { padding: 8px; border: 0; text-align: left; }
.tablepress tbody td { border-top: 1px solid #ddd; vertical-align: top; }
.tablepress tbody tr:first-child td { border-top: 0; }
.tablepress thead th { border-bottom: 1px solid #ddd; background: #d9edf7; font-weight: 700; vertical-align: middle; }
.tablepress .odd td { background: #f9f9f9; }
.tablepress .even td { background: #fff; }
.tablepress .row-hover tr:hover td { background: #f3f3f3; }

/* Home feature links and Georgia-origin warning. */
.front-widget-area {
  position: relative;
  display: flow-root;
  width: 100%;
  clear: both;
}

.front-widget {
  position: relative;
  display: block;
  float: left;
  width: 49.2%;
  height: 150px;
  margin: 1.5% 0;
  overflow: hidden;
  background-color: var(--content-white);
}

.front-widget:first-child { margin-right: 1.6%; }
.front-widget a { display: block; height: 100%; color: inherit; font-family: Calibri, Montserrat, "Helvetica Neue", sans-serif; text-decoration: none; }

.front-widget img {
  position: absolute;
  top: 1em;
  left: 1em;
  width: 7.375em;
  height: 7.375em;
}

.beevenom-link-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin-right: 1.5em;
  margin-left: 150px;
}

.front-widget-title {
  display: block;
  margin: 0 0 10px;
  color: var(--bee-yellow);
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1;
}

.front-widget-copy { color: #5d5d5d; font-size: 1.25em; font-weight: 700; line-height: 1.05; }

.warning-wrapper {
  width: 100%;
  margin: 1% 0 1em;
  clear: both;
  background-color: var(--content-white);
}

.warning-wrapper p {
  margin: 0;
  padding: 1em;
  color: #5d5d5d;
  font-family: Calibri, Montserrat, "Helvetica Neue", sans-serif;
  font-size: 1.25em;
  font-weight: 700;
  text-align: justify;
}

.warning-header { color: #e30000; font-weight: 700; text-transform: uppercase; }

/* Contact Form 7-compatible visual class names for the native Netlify form. */
.contact-grid { display: flex; gap: 2em; }
.contact-details, .contact-form-wrap { width: 50%; }
.contact-details > :first-child,
.contact-form-title { margin-top: 1em; }
.contact-form-wrap,
.wpcf7-form { text-align: center; }
.wpcf7-form { max-width: 100%; }
.wpcf7-form p { margin-bottom: 1em; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { position: relative; flex: 0 0 auto; height: 2em; margin: 0 auto; padding-top: 0; }
.footer p { margin: 1em 0; color: #fff; font-size: .9em; text-align: center; }

@media screen and (max-width: 56.875em) {
  .main-navigation a { padding: 0 1em; }
}

@media screen and (max-width: 53.125em) {
  .header-tagline :is(.site-description, .page-title) { padding: .5em; font-size: 1.75em; font-weight: 700; }
}

@media screen and (max-width: 46.875em) {
  .main-navigation a { padding: 0 .75em; }
  .header-tagline :is(.site-description, .page-title) { padding: .5em; font-size: 1.5em; }
  .front-widget { width: 100%; }
  .front-widget:first-child { margin-right: 0; margin-bottom: 0; }
}

@media screen and (max-width: 43.75em) {
  .main-navigation a { font-size: 1.15em; }
  .main-navigation li::after { top: .55em; height: 1.15em; }
}

@media screen and (max-width: 40.625em) {
  body { background: linear-gradient(to bottom, #fff 0 25%, var(--bee-yellow) 25% 100%); }
  .main-navigation a { padding: 0 .5em; font-size: 1.1em; font-weight: 500; }
  .main-navigation li::after { top: .55em; width: 1px; height: 1.1em; }
}

@media screen and (max-width: 37.5em) {
  .main-navigation a { padding: 0 .35em; font-size: 1em; }
  .main-navigation li::after { top: .5em; height: 1em; }
}

@media screen and (max-width: 34.375em) {
  .main-navigation { display: none; }
  .header-tagline { max-width: 40%; }
  .panel-grid, .content-row, .contact-grid { flex-wrap: wrap; }
  .contact-details, .contact-form-wrap { width: 100%; }
}

@media screen and (max-width: 31.25em) { #logo-slider-disabled { height: 140px; } }

@media screen and (max-width: 28.125em) {
  #logo-slider-disabled { height: 130px; }
  .header-tagline :is(.site-description, .page-title) { font-size: 1.25em; font-weight: 500; }
  .warning-wrapper p { padding: .75em; font-size: 1.2em; }
  .site-content { padding: 1.25em; }
  .product-gallery { flex-wrap: wrap; }
  .product-gallery img { max-width: 100%; height: auto; }
}

@media screen and (max-width: 25em) {
  #logo-slider-disabled { height: 120px; }
  .header-tagline { max-width: 50%; }
  .header-tagline :is(.site-description, .page-title) { font-size: 1.2em; }
  .front-widget { height: 120px; }
  .front-widget img { width: 5.5em; height: 5.5em; }
  .beevenom-link-text-wrap { margin-right: 1em; margin-left: 120px; }
  .front-widget-copy { font-size: 1.2em; }
}

@media screen and (max-width: 21.875em) {
  body { background: linear-gradient(to bottom, #fff 0 20%, var(--bee-yellow) 20% 100%); }
  #logo-slider-disabled { height: 100px; }
  .front-widget-title { font-size: 1.5em; }
  .front-widget-copy, .warning-wrapper p { font-size: 1em; }
}

@media screen and (max-width: 18.75em) {
  .header-tagline { max-width: 60%; }
  .header-tagline :is(.site-description, .page-title) { font-size: 1em; }
  .front-widget { height: 95px; }
  .front-widget img { top: .75em; left: .75em; width: 4.5em; height: 4.5em; }
  .beevenom-link-text-wrap { margin-right: .2em; margin-left: 90px; }
  .front-widget-title { font-size: 1.1em; }
  .front-widget-copy { font-size: .9em; font-weight: 500; }
}

@media screen and (max-width: 15.625em) {
  body { background: linear-gradient(to bottom, #fff 0 16%, var(--bee-yellow) 16% 100%); }
  .header-tagline :is(.site-description, .page-title) { font-size: .9em; }
}
