img {
  width: 100%;
}

.no-line-height {
  line-height: 0;
}

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

ul li {
  padding: 0 0 0 25px;
  position: relative;
}

ul li input {
  position: absolute;
  top: 5px;
  left: 0;
  opacity: 0.5;
}

.bg-blue-tile {
  background: #007FFF; /* Solid blue background */
  background-image: linear-gradient(rgba(0, 127, 255, 0.8), rgba(0, 127, 255, 0.8)), url(../assets/tile.png);
  background-blend-mode: multiply;
  position: relative;
}

@media all and (min-width: 40em) {
  .bg-blue-tile:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: " ";
    box-shadow: inset 0 0 100px 20px #007FFF;
    z-index: 1;
    pointer-events: none;
  }
}
.max-width-4 {
  max-width: 64em;
}

.max-width-3 {
  max-width: 52em;
}

.max-width-2 {
  max-width: 40em;
}

.site-header {
  position: relative;
  min-height: 3rem;
}

.site-header__search {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  width: 12rem;
  max-width: calc(100vw - 6rem);
}

@media all and (min-width: 40em) {
  .site-header__search {
    width: 16rem;
  }
}
.search-inline__input {
  border-radius: 5px;
  border: 2px solid #eee;
  box-shadow: 0 0 14px rgba(0, 127, 255, 0.1);
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.search-inline__input:focus {
  outline: none;
  border-color: #007FFF;
}

.search-inline__results {
  margin-top: 0.5rem;
  min-height: 2rem;
}

.search-inline__results .title,
.search-inline__results h1.title,
.search-inline__results h2.title {
  font-size: 0.875rem !important;
  line-height: 1.2;
}

.home-search .search-inline__results .title,
.home-search .search-inline__results h1.title,
.home-search .search-inline__results h2.title {
  font-size: 0.875rem !important;
}

.search-inline__no-results {
  padding: 1rem;
  margin: 0.5rem 0 0;
  color: #555;
  font-size: 1rem;
  border-radius: 5px;
  background: #f5f5f5;
}

.search-result-card a {
  text-decoration: none;
}

.search-inline--compact .search-inline__results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 10;
  padding: 0.25rem 0;
  border: 1px solid rgba(0, 127, 255, 0.2);
}

.search-inline--compact .search-inline__results:empty {
  display: none;
}

.search-inline--compact .search-inline__result-link {
  display: block;
  padding: 0.6rem 0.75rem;
  color: #111;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
  transition: background 0.15s ease, color 0.15s ease;
}

.search-inline--compact .search-inline__result-link:last-child {
  border-bottom: none;
}

.search-inline--compact .search-inline__result-link:hover,
.search-inline--compact .search-inline__result-link:focus {
  background: rgba(0, 127, 255, 0.08);
  color: #007FFF;
}

.search-inline--compact .search-inline__result-title {
  font-weight: 500;
}

.search-inline--compact .search-inline__no-results {
  padding: 0.75rem 1rem;
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.search-inline--compact {
  position: relative;
}

.search-inline:not(.search-inline--compact) .search-inline__input {
  padding: 1.5rem;
}

.search {
  padding: 2rem 0 3rem;
  min-height: 40vh;
}

.search .search-inline__results.clearfix {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.hero {
  height: 150px;
}

.post h1 {
  margin-top: 6rem;
}

.post li {
  margin-bottom: 1rem;
  padding: 0 0 0 1rem;
}

.post li:before {
  content: "- ";
  position: absolute;
  left: 0;
  color: #007FFF;
}

a .image {
  transition: 0.2s ease all;
  opacity: 1;
}

a:hover .image {
  opacity: 0.2;
}

.ingredients p {
  margin-bottom: 0.5rem;
}

.sell .sm-col a {
  text-decoration: none;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.ratio {
  padding-top: 50%;
  background-position: center center;
  background-repeat: no-repeat;
}

@media all and (max-width: 40em) {
  .left-align {
    text-align: center;
  }
  .right-align {
    text-align: center;
  }
}
@media all and (max-width: 300px) {
  .title {
    font-size: 1.3rem;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
  }
  .xs-center {
    text-align: center;
  }
  .site-title {
    bottom: -28px;
    top: auto;
    left: 50%;
    margin-left: -25px;
    border-radius: 200px;
    transition: 0.2s ease bottom;
  }
  .site-title:hover {
    bottom: -14px;
  }
  .recipes .sm-col {
    border-bottom: 3px solid white;
  }
}
.border-1 {
  border-width: 1px;
}

.border-1:active {
  border-width: 1px;
}

.capitalize {
  text-transform: capitalize;
}

.avatar {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  float: left;
  margin-right: 20px;
  margin-bottom: 30px;
}

.hidden {
  display: none;
}

.share-bar {
  margin-top: 1em;
  margin-bottom: 45px;
  text-align: center;
}
.share-bar p {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.share-bar .share-icon {
  margin: 0 5px;
  display: inline-block;
  text-decoration: none;
}
.share-bar .share-icon img {
  width: 24px;
  height: 24px;
}

@media print {
  .share-bar,
  #disqus_thread {
    display: none;
  }
  /* Optional: Limit print area */
  body * {
    visibility: hidden;
  }
  .container, .container * {
    visibility: visible;
  }
  .container {
    position: absolute;
    top: 0;
    left: 0;
  }
}
