/*
Theme Name: Evoris Energy
Theme URI: https://evorisenergy.com/
Author: OpenAI
Description: Custom EVORIS ENERGY WordPress theme with an automatically created Elementor-editable homepage using Flexbox Containers.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: evoris-energy
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template
*/
:root{--evoris-navy:#073653;--evoris-teal:#07515D;--evoris-turquoise:#20B9C0;--evoris-lime:#91D500;--evoris-text:#152B3C}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--evoris-text);font-family:'Montserrat',Arial,sans-serif}
a{color:inherit}
img{max-width:100%;height:auto}
.elementor-widget-heading .elementor-heading-title,.elementor-widget-text-editor,.elementor-widget-button{font-family:'Montserrat',Arial,sans-serif}
.evoris-hero{min-height:340px}
.evoris-hero img{width:100%;height:310px;object-fit:cover}
.evoris-about img,.evoris-industry img{width:100%;max-height:260px;object-fit:cover}
.evoris-cta img{width:100%;max-height:170px;object-fit:cover}
.evoris-footer{color:#fff}
@media(max-width:767px){
 .evoris-hero,.evoris-about,.evoris-industry{flex-direction:column!important}
 .evoris-hero>.e-con,.evoris-about>.e-con,.evoris-industry>.e-con{width:100%!important}
 .evoris-hero img{height:220px}
 .evoris-about img,.evoris-industry img{max-height:220px}
 .evoris-solutions .e-con,.evoris-values .e-con,.evoris-footer .e-con{width:100%!important}
 .evoris-cta img{max-height:130px}
}

/* 1.0.2 layout correction: prevent desktop flex rows from wrapping prematurely. */
@media (min-width: 768px) {
  .evoris-hero, .evoris-about, .evoris-industry,
  .evoris-solutions > .e-con, .evoris-values > .e-con,
  .evoris-footer > .e-con { flex-wrap: nowrap !important; }
  .evoris-hero > .e-con:nth-child(1) { flex: 0 1 40% !important; width: 40% !important; }
  .evoris-hero > .e-con:nth-child(2) { flex: 0 1 55% !important; width: 55% !important; }
  .evoris-hero img { height: 310px; object-fit: cover; }
}

@media (min-width: 768px) {
  .evoris-hero, .evoris-about, .evoris-industry,
  .evoris-solutions > .e-con, .evoris-values > .e-con,
  .evoris-footer > .e-con { flex-wrap: nowrap !important; }

  .evoris-hero > .e-con:nth-child(1) { flex: 0 1 40% !important; width: 40% !important; }
  .evoris-hero > .e-con:nth-child(2) { flex: 0 1 55% !important; width: 55% !important; }

  .evoris-about > .e-con:nth-child(1) { flex: 0 1 40% !important; width: 40% !important; }
  .evoris-about > .e-con:nth-child(2) { flex: 0 1 56% !important; width: 56% !important; }

  .evoris-industry > .e-con:nth-child(1) { flex: 0 1 56% !important; width: 56% !important; }
  .evoris-industry > .e-con:nth-child(2) { flex: 0 1 40% !important; width: 40% !important; }

  .evoris-solutions > .e-con:first-child > .e-con:nth-child(1) { flex: 0 1 32% !important; width: 32% !important; }
  .evoris-solutions > .e-con:first-child > .e-con:nth-child(2) { flex: 0 1 64% !important; width: 64% !important; }
  .evoris-solutions > .e-con:last-child > .e-con { flex: 0 1 18% !important; width: 18% !important; }

  .evoris-values > .e-con > .e-con { flex: 0 1 30% !important; width: 30% !important; }
  .evoris-footer > .e-con:first-child > .e-con:nth-child(1) { flex: 0 1 22% !important; width: 22% !important; }
  .evoris-footer > .e-con:first-child > .e-con:nth-child(2) { flex: 0 1 15% !important; width: 15% !important; }
  .evoris-footer > .e-con:first-child > .e-con:nth-child(3) { flex: 0 1 29% !important; width: 29% !important; }
  .evoris-footer > .e-con:first-child > .e-con:nth-child(4) { flex: 0 1 21% !important; width: 21% !important; }

  .evoris-hero img { height: 310px; object-fit: cover; }
}


/* EVORIS v1.0.3: restore the approved header and clean, balanced layout. */
.evoris-site-header {
  min-height: 82px !important;
  padding: 8px 4% !important;
  background: #fff !important;
  position: relative;
  z-index: 20;
}
.evoris-site-header .elementor-widget-image img {
  display: block;
  width: 100%;
  max-width: 225px;
  height: auto;
}
.evoris-header-menu-slot { min-height: 44px; }
.evoris-hero {
  min-height: 360px !important;
  padding: 28px 5% !important;
  background-color: #07515D !important;
}
.evoris-hero > .e-con:nth-child(1) { flex: 0 1 42% !important; width: 42% !important; }
.evoris-hero > .e-con:nth-child(2) { flex: 0 1 54% !important; width: 54% !important; }
.evoris-hero img {
  width: 100%;
  height: 330px !important;
  object-fit: cover;
  object-position: center center;
  border-radius: 14px;
}
.evoris-about img {
  object-position: center center;
}
.evoris-industry img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.evoris-cta img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .evoris-site-header {
    min-height: 70px !important;
    padding: 10px 5% !important;
  }
  .evoris-site-header > .e-con:first-child { width: 65% !important; flex-basis: 65% !important; }
  .evoris-site-header > .e-con:last-child { width: 25% !important; flex-basis: 25% !important; }
  .evoris-site-header .elementor-widget-image img { max-width: 190px; }
  .evoris-hero { padding: 32px 6% !important; }
  .evoris-hero > .e-con:nth-child(1),
  .evoris-hero > .e-con:nth-child(2),
  .evoris-about > .e-con:nth-child(1),
  .evoris-about > .e-con:nth-child(2),
  .evoris-industry > .e-con:nth-child(1),
  .evoris-industry > .e-con:nth-child(2) {
    width: 100% !important; flex-basis: 100% !important;
  }
  .evoris-hero img { height: 230px !important; }
}
