/* Homepage reconstructed from the last public Elementor layout. */
body.home-faithful {
  color: #1a1a1a;
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.62;
}

.home-faithful .site-shell {
  width: 100%;
  margin: 0;
  background: #fff;
  box-shadow: none;
}

.home-faithful main { overflow: hidden; }

/* Header: menu, centred logo and search on a single line. */
.legacy-home-header {
  position: relative;
  z-index: 60;
  height: 134px;
  background: #fff;
}

.legacy-home-header-inner {
  position: relative;
  width: min(1170px, calc(100% - 30px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 20% 40%;
  align-items: center;
}

.legacy-home-brand {
  grid-column: 2;
  justify-self: center;
  width: 126px;
  line-height: 0;
}

.legacy-home-brand img { width: 100%; height: auto; }

.home-faithful .legacy-home-menu-button {
  grid-column: 1;
  grid-row: 1;
  display: block;
  justify-self: start;
  padding: 9px;
  color: #1a1a1a;
}

.home-faithful .legacy-home-menu-button > span:not(.sr-only) {
  width: 19px;
  height: 2px;
  margin: 3px 0;
}

.legacy-home-desktop-search {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 313px;
  height: 42px;
  display: flex;
  align-items: center;
  color: #747980;
  background: #f1f2f3;
  border-radius: 3px;
}

.legacy-home-desktop-search svg {
  width: 17px;
  margin-left: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.legacy-home-desktop-search input {
  width: 100%;
  height: 100%;
  padding: 0 13px;
  color: #555;
  border: 0;
  outline: 0;
  background: transparent;
}

.legacy-home-desktop-search input::placeholder { color: #777c82; }
.home-faithful .legacy-home-search-toggle { display: none; }

.home-faithful .legacy-home-menu {
  position: absolute;
  z-index: 70;
  top: 94px;
  left: 0;
  width: 340px;
  max-height: calc(100vh - 110px);
  display: none;
  overflow-y: auto;
  gap: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #ede0d1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .13);
}

.home-faithful .legacy-home-menu.is-open { display: grid; }

.home-faithful .legacy-home-menu a {
  padding: 12px 25px;
  color: #1a1a1a;
  border-bottom: 1px solid #ede0d1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

.home-faithful .legacy-home-menu a:last-child { border-bottom: 0; }
.home-faithful .legacy-home-menu a:hover { color: #de4141; }
.home-faithful .legacy-home-menu a::after { display: none; }

.home-faithful .legacy-home-menu .legacy-sub-link {
  padding-left: 43px;
  font-size: 14px;
  font-weight: 600;
}

.home-faithful .legacy-home-mobile-search { display: none; }

.home-faithful .legacy-home-mobile-search.is-open {
  position: absolute;
  z-index: 65;
  top: 116px;
  left: 15px;
  right: 15px;
  display: block;
}

/* Main feature and five category tiles. */
.legacy-home-hero {
  position: relative;
  width: min(1170px, calc(100% - 30px));
  height: 517px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: url('../img/site/sicilian-food.jpg') center / cover no-repeat;
}

.legacy-home-hero-content {
  display: grid;
  justify-items: center;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, .75);
}

.legacy-home-hero-content small {
  padding: 7px 12px;
  color: #de4141;
  background: #f9f4ee;
  border-radius: 7px;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none;
}

.legacy-home-hero-content strong {
  margin-top: 20px;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 39px;
  font-weight: 700;
  line-height: 1;
}

.legacy-home-categories {
  width: min(1170px, calc(100% - 30px));
  min-height: 182px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 20px 4px 0;
}

.legacy-category-card {
  position: relative;
  height: 162px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), var(--category-image);
  background-position: center;
  background-size: cover;
}

.legacy-category-card span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 0, 0, .75);
}

/* Six cards in the same three-column composition as the former homepage. */
.legacy-home-recipes {
  padding: 100px 20px;
  text-align: center;
  background: #fff;
}

.legacy-home-recipe-grid {
  width: min(970px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 30px;
  text-align: left;
}

.legacy-home-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
}

.legacy-home-card-image {
  display: block;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  background: linear-gradient(#fff, #cfcfcf);
}

.legacy-home-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.legacy-home-card:hover .legacy-home-card-image img { transform: scale(1.025); }

.legacy-home-card-content {
  position: relative;
  min-height: 185px;
  padding: 31px 30px 28px;
}

.legacy-home-card-avatar {
  position: absolute;
  top: -23px;
  left: 50%;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 1px 5px rgba(0, 0, 0, .18);
}

.legacy-home-card h2 {
  margin: 15px 0 25px;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
}

.legacy-home-card h2 a:hover,
.legacy-home-card-read:hover { color: #de4141; }

.legacy-home-card-read { font-size: 12px; font-weight: 700; }

.legacy-more-recipes {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 38px;
  color: #fff;
  background: #de4141;
  border-radius: 6px;
  font-family: "Arima Madurai", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.legacy-more-recipes:hover { background: #bd2c2b; }
.legacy-home-spacer { height: 199px; background: #fff; }

/* Chef banner and biography. */
.legacy-chef-banner {
  height: 466px;
  display: grid;
  place-items: center;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)), url('/wp-content/uploads/2021/01/helena-yankovska-QXSvbDkiJmY-unsplash.jpg');
  background-position: center;
  background-size: cover;
}

.legacy-chef-banner h1 {
  margin: 0;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 10px rgba(0, 0, 0, .6);
}

.legacy-chef-bio { min-height: 613px; padding: 100px 0; background: #fff; }

.legacy-chef-bio-inner {
  width: min(1170px, calc(100% - 30px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 33% 67%;
  gap: 0;
  align-items: center;
}

.legacy-chef-bio-inner > img { width: 370px; height: 413px; justify-self: center; object-fit: cover; }
.legacy-chef-bio-inner > div { max-width: none; margin: 0; padding: 0 80px 0 110px; }
.legacy-chef-bio h2 {
  margin: 14px 0 35px;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 23px;
  line-height: 28px;
}

.legacy-chef-bio p {
  margin: 0;
  color: #6e6e6e;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 17px;
  line-height: 21px;
  text-align: justify;
}

.legacy-chef-bio p + p { margin-top: 42px; }

/* Facebook callout and the original minimal footer. */
.legacy-facebook-section {
  height: 709px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, .57), rgba(0, 0, 0, .57)), url('../img/site/facebook-bg.jpg') center / cover no-repeat;
}

.legacy-facebook-content {
  width: min(785px, calc(100% - 30px));
  text-align: center;
}

.legacy-facebook-content h3 {
  margin: 0;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 18px;
  line-height: 28px;
}

.legacy-facebook-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
}

.legacy-facebook-title span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #046fff;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.legacy-facebook-title h2 {
  margin: 0;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 31px;
  line-height: 1.2;
}

.legacy-facebook-content p {
  margin: 30px 0 0;
  font-family: "Arima Madurai", Georgia, serif;
  font-size: 19px;
  line-height: 26px;
}

.legacy-facebook-content > a {
  display: inline-block;
  margin-top: 35px;
  padding: 20px 55px;
  color: #fff;
  background: #417cde;
  border-radius: 6px;
  font-family: "Arima Madurai", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.legacy-facebook-content > a:hover { background: #2b47bd; }

.legacy-home-footer {
  height: 429px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1a1a1a;
  text-align: center;
}

.legacy-home-footer > img { width: 150px; height: auto; }

.legacy-footer-facebook {
  width: 52px;
  height: 52px;
  margin-top: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #212121;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.legacy-footer-facebook:hover { background: #2c2c2c; transform: translateY(-2px); }
.legacy-home-footer p { margin: 20px 0 0; font-size: 12px; }
.legacy-home-footer p span { color: #f23825; }

@media (min-width: 768px) and (max-width: 1024px) {
  .legacy-home-recipes { padding: 60px 20px; }
  .legacy-home-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legacy-chef-banner { height: 450px; }
  .legacy-chef-bio { padding: 60px 20px; }
  .legacy-chef-bio-inner { width: 100%; }
  .legacy-chef-bio-inner > div { padding: 0 0 0 50px; }
  .legacy-facebook-section { height: 550px; padding: 0 50px; }
}

@media (max-width: 767px) {
  .legacy-home-header { height: 156px; }
  .legacy-home-header-inner { grid-template-columns: 15% 45% 40%; }
  .legacy-home-brand { grid-column: 2; width: 162px; }
  .legacy-home-desktop-search { display: none; }

  .home-faithful .legacy-home-search-toggle {
    position: static;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: grid;
    width: 40px;
    height: 40px;
  }

  .home-faithful .legacy-home-search-toggle svg { width: 17px; }
  .home-faithful .legacy-home-menu { top: 126px; width: min(340px, 100%); }
  .home-faithful .legacy-home-mobile-search.is-open { top: 126px; }

  .legacy-home-hero { width: calc(100% - 30px); height: 305px; }
  .legacy-home-hero-content strong { margin-top: 13px; font-size: 31px; }
  .legacy-home-hero-content small { font-size: 15px; }

  .legacy-home-categories {
    width: 100%;
    min-height: 697px;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 70px 15px 50px;
  }

  .legacy-category-card { height: 99px; }
  .legacy-category-card span { font-size: 20px; }

  .legacy-home-recipes { padding: 0 20px 75px; }
  .legacy-home-recipe-grid { grid-template-columns: 1fr; gap: 35px; }
  .legacy-home-card-image { aspect-ratio: 2 / 1; }
  .legacy-home-card-content { min-height: 145px; padding: 27px 30px 24px; }
  .legacy-home-card h2 { margin: 13px 0 21px; font-size: 19px; }
  .legacy-more-recipes { margin-top: 30px; font-size: 15px; }
  .legacy-home-spacer { height: 81px; }

  .legacy-chef-banner { height: 300px; margin: 0 15px; }
  .legacy-chef-banner h1 { font-size: 31px; }
  .legacy-chef-bio { min-height: 821px; padding: 40px 15px; }
  .legacy-chef-bio-inner { width: 100%; grid-template-columns: 1fr; gap: 25px; }
  .legacy-chef-bio-inner > img { width: 100%; height: auto; }
  .legacy-chef-bio-inner > div { max-width: none; margin: 0; padding: 0; text-align: center; }
  .legacy-chef-bio h2 { margin: 14px 0 20px; }
  .legacy-chef-bio p { font-size: 17px; text-align: center; }

  .legacy-facebook-section { height: 425px; padding: 40px 15px; }
  .legacy-facebook-title { margin-top: 10px; }
  .legacy-facebook-title h2 { font-size: 27px; }
  .legacy-facebook-title span { width: 29px; height: 29px; font-size: 21px; }
  .legacy-facebook-content p { margin-top: 20px; font-size: 16px; }
  .legacy-facebook-content > a { margin-top: 28px; padding: 17px 44px; font-size: 14px; }
  .legacy-home-footer { height: 341px; padding: 50px 15px; }
  .legacy-home-footer > img { width: 151px; }
  .legacy-footer-facebook { width: 46px; height: 46px; }
}
