/*
Lexus-LFA.com static stylesheet
*/

html {
  max-width: 100%;
  overflow-x: clip;
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: url("/img/bg.avif") 50% 50% fixed no-repeat;
  background-size: cover;
  font: normal 107% adobe-text-pro, Georgia, "Times New Roman", Times, serif;
  text-shadow: 0 0 2px rgba(238, 238, 238, 0.85);
}

a,
a:visited {
  color: #111;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: Impact, sans-serif-condensed;
  font-variant: small-caps;
  font-weight: bold;
  margin: 0 0 0.25em;
  text-transform: uppercase;
}

.site-header {
  width: 100%;
  max-width: 100%;
  min-height: 275px;
  margin: 15px 0 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
  text-align: center;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.site-branding {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  background: rgba(10, 24, 38, 0.55);
}

.site-title {
  margin-top: 6px;
  margin-bottom: 0;
  overflow: hidden;
  font-family: Charcoal, sans-serif;
  font-size: 70px;
  font-variant: small-caps;
  font-weight: lighter;
  text-transform: uppercase;
}

.site-title a {
  color: #ffffff;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.site-tagline {
  margin: 5px 0 8px;
  color: #ffffff;
  font: normal 1.4rem adobe-text-pro, Cambria, Georgia, "Times New Roman", Times, serif;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

#top-ad {
  text-align: center;
  margin: 12px auto;
  height: auto !important;
  max-height: none !important;
}

.single #top-ad {
  width: min(860px, calc(100% - 32px));
}

#top-ad * {
  margin-bottom: 0;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.single .site-shell {
  width: min(860px, calc(100% - 32px));
}

.content-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 1.5rem;
  background: url("/img/peppered.avif") 50% 50% repeat;
  box-shadow: 0 0 15px #111;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.home-grid > * {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.home-card {
  max-width: 100%;
  min-width: 0;
  margin: 1rem;
}

.home-card-title {
  border-bottom: 1px solid #24380e;
  border-top: 2px solid #111;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 1.5rem;
  font-variant: small-caps;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 0 0 0.3em;
  max-height: 1.5em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-card-image {
  display: block;
  width: 100%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.home-card-excerpt,
.home-card-excerpt p {
  margin: 0 0 1em;
  font-family: adobe-text-pro, Cambria, Georgia, "Times New Roman", Times, serif;
  line-height: 1.35;
}

.read-more {
  display: inline-block;
  padding-bottom: 1.5rem;
}

.stars-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  margin: 15px 0 0;
  padding: 0;
  background: #171717;
  line-height: 1;
}

.stars-strip img {
  display: block;
  width: 91px;
  height: 14px;
  margin: 0;
  padding: 0;
}

.single-title {
  border-bottom: 1px solid #24380e;
  border-top: 2px solid #111;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

.featured-image {
  float: right;
  width: clamp(320px, 42%, 420px);
  margin: 0 1rem 0.5rem 1.25rem;
  border-bottom: 1px solid #111;
  padding-bottom: 0.5rem;
}

.entry-content {
  max-width: 100%;
  min-width: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.entry-content h2 {
  margin: 1.15em 0 0.3em;
}

.entry-content p {
  margin: 0 0 1em;
}

.post-nav {
  display: grid;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: calc(100% + 3rem);
  margin: 48px -1.5rem 0;
  padding: 8px 1.5rem;
  background: #111;
  color: #dfdccd;
  font: normal small-caps 1.3rem/1 adobe-text-pro, Cambria, Georgia, "Times New Roman", Times, serif;
  text-shadow: none;
}

.post-nav a {
  color: #dfdccd;
  text-decoration: none;
}

.post-nav-prev {
  justify-self: start;
  min-width: 0;
}

.post-nav-next {
  justify-self: end;
  min-width: 0;
  text-align: right;
}

.post-nav-prev a::before {
  content: "\2039\20";
}

.post-nav-next a::after {
  content: "\20\203A";
}

.post-nav-stars {
  justify-self: center;
  line-height: 1;
}

.post-nav-stars img {
  display: block;
  width: 62px;
  height: auto;
}

footer {
  box-sizing: border-box;
  width: 100%;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  margin-top: 36px;
  padding: 0.4rem 5.5rem;
  background: rgba(10, 24, 38, 0.85);
  color: #dfdccd;
  text-shadow: none;
}

#copyright {
  font-size: 0.9rem;
}

#privacy {
  color: #dfdccd;
  font-size: 0.9rem;
  text-shadow: none;
}

body.error404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error404 .site-shell {
  flex: 1;
}

@media (max-width: 1050px) and (min-width: 640px) {
  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 1rem);
  }

  .post-nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .post-nav-stars {
    display: none;
  }

  footer {
    display: block;
  }
}

@media (max-width: 639px) {
  body {
    background-image:
      url("/img/bg-mobile.avif"),
      linear-gradient(
        to bottom,
        #f8f2ea 0,
        #f8f2ea 520px,
        transparent 520px
      ),
      url("/img/bg-mobile2.avif");

    background-size:
      100% auto,
      100% 100%,
      100% auto;

    background-position:
      center top,
      center top,
      center 520px;

    background-repeat:
      no-repeat,
      no-repeat,
      repeat-y;

    background-color: #f8f2ea;
  }

  .site-header {
    min-height: 0;
    padding-top: 6px;
    padding-bottom: 200px;
    align-items: flex-start;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .site-title {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .site-tagline {
    margin: 5px 0 8px;
    font-size: 1rem;
  }

  .site-shell {
    width: min(100%, calc(100% - 32px));
  }

  .home-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-panel {
    padding: 1rem;
  }

  .home .content-panel {
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .home .home-grid {
    gap: 1.5rem;
  }

  .home .home-card {
    margin: 0;
    padding: 1rem;
    background: url("/img/peppered.avif") 50% 50% repeat;
    box-shadow: 0 0 15px #111;
  }

  .single-title {
    font-size: 2rem !important;
    font-weight: 900 !important;
  }

  .featured-image {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 1rem;
  }

  .post-nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 8px 1rem;
    font-size: 1.1rem;
  }

  .post-nav-stars {
    display: none;
  }

  footer {
    display: block;
    padding-inline: 1rem;
  }

  footer * {
    font-size: 0.8rem;
  }
}