/*
Theme Name: Lexus LFA
Version: 1.0
*/

html {
  overflow-y: scroll;
  overflow-x: hidden;
  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-align: center;
  text-shadow: 0 0 2px rgba(238, 238, 238, 0.85);
  word-wrap: break-word;
}

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

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

img {
  height: auto;
  max-width: 100%;
  border: 0;
}

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

.site-header {
  width: 100vw;
  max-width: 100vw;
  margin: 15px 0 15px calc(50% - 50vw);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/img/blue.avif") 50% 50% repeat;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  box-shadow: 0 0 20px #111;
  text-align: center;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

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

.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);
}

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

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

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

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

.home-card {
  margin:1rem;
}

.home-card hr {
  border: 0;
  border-top: 2px solid #111;
  border-bottom: 1px solid #24380e;
  margin: 0 0 0.3em;
}

.home-card-title {
  border-bottom: 1px solid #24380e;
  border-top: 2px solid #111;
  font-family: Impact, Charcoal, sans-serif;
  font-size: 1.5rem;
  font-variant: small-caps;
  font-weight: lighter;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 0 0 0.3em;
  max-height: 1.5em;
  text-transform: uppercase;
  text-align: left;
  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,
.page-title,
.archive-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;
  text-align: left;
}

.featured-image {
  display: block;
  width: 100%;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid #111;
  padding-bottom: 0.5rem;
}

.entry-content {
  font-size: 1.15rem;
  line-height: 1.35;
  text-align: justify;
}

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

.entry-content ul,
.entry-content ol {
  margin: 0.5em 0 0.5em 3%;
  padding: 0;
}

.entry-content ul {
  list-style-type: circle;
}

.entry-content ol {
  list-style-type: decimal-leading-zero;
}

.entry-content li {
  margin: 0 0 0.5em 3%;
}

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

.post-nav a {
  display: inline-flex;
  align-items: center;
  color: #dfdccd;
  font: inherit;
  text-decoration: none;
}

.post-nav-prev {
  grid-column: 1;
  justify-self: start;
}

.post-nav-next {
  grid-column: 3;
  justify-self: end;
  text-align: right;
}

.post-nav-prev a::before {
  content: "‹";
  padding-right: 0.45em;
}

.post-nav-next a::after {
  content: "›";
  padding-left: 0.45em;
}

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

.post-nav-stars img {
  display: block;
  width: 91px;
  height: 14px;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.archive-item {
  line-height: 1.35;
}

.archive-item-title {
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: left;
}

.archive-item-title a {
}

.archive-thumb {
  display: block;
  width: 100%;
  height: clamp(15vw, 30vh, 400px);
  object-fit: cover;
  margin: 0 0 0.5rem;
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 1.2rem;
}

.site-footer {
  width: 100vw;
  max-width: 100vw;
  min-height: 50px;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 0;
  display: flex;
  align-items: center;
  background: url("/img/blue.avif") 50% 50% repeat;
  color: #dfdccd;
  text-shadow: none;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  color: #dfdccd;
  font-size: 0.9rem;
  text-align: left;
}

.footer-menu {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.footer-menu a {
  color: #dfdccd;
  text-shadow: none;
}

@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);
  }
}

@media (max-width: 639px) {
  body {
    background-image: url("/img/bg-mobile.avif");
  }

  .site-header{
    margin-top:10px;
  }

  .site-title {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .site-tagline {
    font-size: 1rem;
  }

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

  .home-grid,
  .archive-list {
    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.png") 50% 50% repeat;
    box-shadow: 0 0 15px #111;
  }

  .post-nav {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.1rem;
  }

  .site-header,
  .site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }

  .footer-copy,
  .footer-menu {
    font-size: 0.7rem;
    text-align: center;
  }
}
