/* Ormiston Wire Main Stylesheet - Fix for broken static site CSS */

/* Google Font: Arimo */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, input, textarea, button {
  font-family: 'Arimo', Arial, sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

/* Header */
header.x-masthead {
  background: #f5f5f5;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

/* Site container */
.x-site {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  display: block;
  margin-bottom: 24px;
}
nav a {
  color: #3b5998;
  text-decoration: none;
  margin-right: 12px;
}
nav a:hover {
  text-decoration: underline;
}

/* Headline */
.x-text-headline h1,
.x-text-headline h2 {
  font-weight: 700;
  font-size: 2em;
  margin-bottom: 0.5em;
}

/* Footer */
.x-bar-footer {
  background: #222;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  font-size: 0.95em;
  margin-top: 40px;
}
.x-bar-footer a { color: #fff; text-decoration: underline; }
.x-bar-footer a:hover { color: #3b5998; }

/* Responsive grid */
.x-row, .x-row-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.x-col {
  flex: 1 1 300px;
  min-width: 250px;
  box-sizing: border-box;
  padding: 12px;
}

/* Images */
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility classes */
.x-hide-xs { display: none !important; }
@media (min-width: 768px) {
  .x-hide-xs { display: block !important; }
}

/* Buttons */
button, .button, input[type="submit"] {
  background: #3b5998;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1em;
}
button:hover, .button:hover, input[type="submit"]:hover {
  background: #2d4373;
}

/* Forms */
input, textarea {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 8px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}

/* Misc */
.x-bg-layer-upper-image, .x-bg-layer-lower-image {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  min-height: 200px;
  width: 100%;
}

/* Breadcrumbs */
.rank-math-breadcrumb {
  font-size: 0.95em;
  color: #666;
}

ul, ol {
  margin-bottom: 1.5em;
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* Hide plugin dependent classes */
[class*="woocommerce"], [class*="essential-grid"], [class*="fontello"] {
  display: none !important;
}