/*
 Theme Name:   Jeep EV Rugged (GeneratePress child)
 Description:  Rugged off-road look for jeepev.com: dark olive, sand and rust, heavy upper-case headings, topo lines in the header. Mockup 2.
 Author:       Terry Mason
 Template:     generatepress
 Version:      1.0
 License:      For personal use only.
*/

/* ---------------------------------------------------------------
   COLORS USED
   olive #232b1c (header, footer)   moss #3b4a2a (tiles)
   sand #e9e1cc (page)              paper #f6f1e4 (boxes)
   ink #231f17 (text, borders)      rust #c2571a (bars)  #9a3f14 (links)
   tan #c9b98f / #d9cdb0 / #e4d9bd (light text on olive)
   --------------------------------------------------------------- */


/* 1. PAGE AND TYPE */

body {
  background: #e9e1cc;
  color: #231f17;
  font-family: Barlow, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.entry-title {
  font-family: Oswald, Impact, "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #231f17;
}

.entry-content a,
.jev-table a {
  color: #9a3f14;
}

.entry-content a:hover,
.jev-table a:hover {
  color: #6e2c0d;
}


/* 2. HEADER */

body .site-header {
  background: #232b1c url(images/topo.svg) center / cover no-repeat;
  border-bottom: 6px solid #c2571a;
}

body .inside-header {
  padding-top: 24px;
  padding-bottom: 24px;
}

body .site-branding .main-title a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #efe6d2;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

body .site-branding .main-title a::before {
  content: "";
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: url(images/mark.svg) center / contain no-repeat;
}

body .site-description {
  color: #c9b98f;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* 3. MENU */

body .main-navigation,
body .main-navigation .main-nav ul ul {
  background: transparent;
}

body .main-navigation .main-nav ul li a,
body .main-navigation .menu-toggle {
  color: #e4d9bd;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body .main-navigation .main-nav ul li:hover > a,
body .main-navigation .main-nav ul li:focus > a,
body .main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: #ffffff;
  background: transparent;
}

body .main-navigation .main-nav ul li[class*="current-menu-"] > a {
  box-shadow: inset 0 -3px 0 #c2571a;
}

body .main-navigation .main-nav ul ul {
  background: #232b1c;
}


/* 4. CONTENT BOXES */

body.separate-containers .inside-article,
body.separate-containers .comments-area,
body.separate-containers .page-header,
body.separate-containers .paging-navigation,
body.one-container .site-content {
  background: #f6f1e4;
  border: 2px solid #231f17;
  border-radius: 0;
}

body .entry-title {
  font-size: 52px;
  line-height: 1.05;
}

.entry-content h2 {
  font-size: 30px;
  letter-spacing: 1.5px;
}

.entry-content h3 {
  font-size: 23px;
}

.entry-meta {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* 5. FOOTER: link columns, then the copyright bar */

.jevt-footer {
  background: #232b1c;
  border-top: 6px solid #c2571a;
  color: #d9cdb0;
  font-size: 15px;
}

.jevt-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 40px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px;
}

.jevt-footer h3 {
  margin: 0 0 12px;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 2px;
  color: #ffffff;
}

.jevt-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jevt-footer li {
  margin: 0 0 8px;
}

.jevt-footer p {
  margin: 0 0 12px;
  color: #c9b98f;
  line-height: 1.55;
}

.jevt-footer a {
  color: #d9cdb0;
  text-decoration: none;
}

.jevt-footer a:hover {
  color: #ffffff;
}

body .site-info {
  background: #1b2116;
  color: #c9b98f;
  font-size: 13.5px;
}

body .site-info a {
  color: #d9cdb0;
}

body .wpzon-disclosure {
  background: #1b2116;
  color: #c9b98f;
  border-top: 1px dashed #59644a;
}


/* 6. JEEP EV TSB PLUGIN: model tiles */

.jev-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 30px;
}

a.jev-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 118px;
  padding: 22px 20px;
  background: #3b4a2a;
  color: #efe6d2;
  text-decoration: none;
  border-radius: 4px;
}

a.jev-tile:hover {
  background: #2f3c21;
  color: #ffffff;
}

.jev-tile-big {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jev-tile-small {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d9cdb0;
}


/* 7. JEEP EV TSB PLUGIN: recall and bulletin tables */

.jev-table-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
  border: 2px solid #231f17;
  background: #fbf8ef;
}

table.jev-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: 15.5px;
}

table.jev-table thead th {
  background: #231f17;
  color: #efe6d2;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;
  padding: 11px 14px;
  border: 0;
}

table.jev-table td {
  padding: 12px 14px;
  border: 0;
  border-top: 1px dashed #b9a97f;
  vertical-align: top;
}

table.jev-table small {
  color: #5c5240;
}

.jev-nowrap {
  white-space: nowrap;
}

h2.jev-row-title,
h3.jev-row-title {
  margin-top: 36px;
}


/* 8. JEEP EV TSB PLUGIN: inside a write-up */

.entry-content table.jev-glance,
.entry-content table.tsb-parts {
  width: 100%;
  margin: 0 0 26px;
  border: 2px solid #231f17;
  border-collapse: collapse;
  background: #fbf8ef;
  font-size: 15.5px;
}

.entry-content table.jev-glance th,
.entry-content table.jev-glance td,
.entry-content table.tsb-parts th,
.entry-content table.tsb-parts td {
  padding: 9px 13px;
  border: 0;
  border-top: 1px dashed #b9a97f;
  text-align: left;
  vertical-align: top;
}

.entry-content table.jev-glance th {
  width: 35%;
  background: #ede4cd;
  font-weight: 600;
}

.entry-content table.tsb-parts thead th {
  background: #231f17;
  color: #efe6d2;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jev-warning {
  margin: 22px 0;
  padding: 0 18px 14px;
  background: #fbf8ef;
  border: 2px solid #231f17;
}

.jev-warning::before {
  content: "Read this first";
  display: block;
  margin: 0 -18px 12px;
  padding: 7px 18px;
  background: #9a3f14;
  color: #ffffff;
  font-family: Oswald, Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.jev-amazon {
  clear: both;
  margin: 30px 0;
  padding: 18px 20px 6px;
  background: #fbf8ef;
  border: 2px dashed #b9a97f;
}

.jev-amazon h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.jev-amazon .wpzon-card {
  margin-bottom: 12px;
}

.jev-more {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 2px dashed #b9a97f;
}

.jev-more a {
  display: inline-block;
  margin: 8px 8px 0 0;
  padding: 7px 16px;
  background: #3b4a2a;
  color: #efe6d2;
  font-family: Oswald, Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

.jev-more a:hover {
  background: #232b1c;
  color: #ffffff;
}


/* 9. PHONES AND TABLETS */

@media (max-width: 900px) {
  .jev-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  body .entry-title {
    font-size: 40px;
  }
}

@media (max-width: 500px) {
  .jev-tiles {
    grid-template-columns: 1fr;
  }

  body .entry-title {
    font-size: 32px;
  }

  body .site-branding .main-title a {
    font-size: 26px;
  }

  .entry-content table.jev-glance th {
    width: auto;
  }
}


/* ---------------------------------------------------------------
   NEW STYLES GO BELOW THIS LINE
   --------------------------------------------------------------- */
