/* Extra css file for new styles, because building the theme styles is such a monumentally impossible task on non-ancient development environments */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

.custom-breadcrumb {
  z-index: 1;
}
/* Hinnasto-page */
.restaurant-pricing-list-inner {
  padding: 1.5rem 3rem;
  border: 1px solid #cd2127;
}

.restaurant-pricing-list-inner .name {
  font-size: 36px;
  font-weight: 700;
}

.restaurant-pricing-list-inner__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.restaurant-pricing-list-inner__content .strong {
  font-weight: 700;
}

.restaurant-pricing-list-inner__content .buffet-block {
  font-weight: 700;
  padding: 1rem 0;
  border-bottom: 1px solid #cd2127;
}

.restaurant-pricing-list-inner__content .buffet-block.first {
  padding-top: 0;
}

.restaurant-pricing-list-inner__content .price-children {
  margin-top: 1rem;
}

.restaurant-pricing-list-inner .link-to-restaurant {
  display: flex;
  justify-content: flex-end;
}

.restaurant-pricing-list-inner .link-to-restaurant a {
  color: #cd2127 !important;
  font-weight: 700;
  background-image: url(../images/red-arrow.svg);
  background-size: 1em;
  background-position: center right 0.25em;
  background-repeat: no-repeat;
  padding-right: 1.75em;
  transition: background-position 0.3s;
  font-size: 1em !important;
}

.restaurant-pricing-list-inner .link-to-restaurant a:hover {
  background-position: center right;
  color: #cd2127;
}

/*Single restauratn */
.ravintola-info-box .contact-info {
  flex: 0 0 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 30px;
  border-top: 1px solid #cd2127;
  margin-top: 0;
  order: 4;
}

.ravintola-info-box .contact-info div {
  margin-bottom: 0;
}

.buffet-image img {
  border-radius: 0 0 0 80px;
}

.single-restaurant-right-col {
  padding-left: 6rem;
}

.single-restaurant-left-col {
  padding-right: 6rem;
}

.title-container.for-single-restaurant {
  display: block;
}

.title-container.for-single-restaurant .delivery-links {
  margin-left: 0;
}

.restaurant-anchor-links {
  padding: 1.5rem 2.75rem;
  border: 1px solid #cd2127;
  color: #cd2127;
  margin-bottom: 4rem;
}

.restaurant-anchor-links.in-mobile {
  border: unset;
  padding: 1rem 0;
  display: none;
  margin-bottom: 0;
}

.restaurant-anchor-links ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.restaurant-anchor-links ul li {
  display: inline-block;
}

.restaurant-anchor-links ul li a {
  font-weight: 700;
  background-image: url(../images/red-arrow.svg);
  background-size: 1em;
  background-position: center right 0.25em;
  background-repeat: no-repeat;
  padding-right: 1.75em;
  transition: background-position 0.3s;
}

.restaurant-anchor-links ul li a:hover {
  background-position: center right;
  color: #cd2127;
}

.buffet-and-menu .buffet-block {
  position: relative;
}

.buffet-and-menu .buffet-block::after {
  content: "";
  height: 1px;
  width: 100%;
  background: #cd2127;
  bottom: -30px;
  position: absolute;
  left: 15px;
  width: calc(100% - 30px);
}

.exception-hours {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 60px;
}

h2.mid-size {
  font-size: 36px;
  margin-bottom: 30px;
}

.exception-hour-item {
  display: flex;
}

.exception-hour-item div:first-child {
  flex: 0 0 37%;
  max-width: 37%;
}

.exception-hour-item div:last-child {
  flex: 0 0 63%;
  max-width: 63%;
  font-weight: 700;
  padding-left: 1rem;
}

.ravintola-info-box {
  margin-bottom: 40px;
  margin-top: 0;
}

.single-restaurant-left-col .intro-text {
  margin-bottom: 40px;
}

.page-template-template-ravintola main {
  margin-top: -4rem;
}

.page-template-template-ravintola .intro-section {
  padding-top: 4rem;
}

.single-restaurant-blob {
  position: absolute;
  top: -2rem;
  width: 100%;
  right: 0;
  z-index: -1;
}

@media (min-width: 992px) {
  .ravintola-info-box .address {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .ravintola-info-box .opening-hours {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .ravintola-info-box .map {
    order: 3;
  }

  .ravintola-info-box .contact-info {
    padding-top: 40px;
    margin-top: 40px;
  }

  .page-template-template-ravintola main {
    margin-top: -4rem;
  }

  .page-template-template-ravintola .intro-section {
    padding-top: 4rem;
  }

  .single-restaurant-blob {
    top: -4rem;
  }
}

@media (min-width: 1200px) {
  .ravintola-info-box .contact-info {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

@media (max-width: 991px) {
  .single-restaurant-right-col {
    padding-left: 15px;
  }

  .single-restaurant-left-col {
    padding-right: 15px;
  }

  .restaurant-anchor-links.in-mobile {
    display: block;
  }

  .restaurant-anchor-links.in-desktop {
    display: none;
  }

  .ravintola-info-box {
    padding: 30px 0;
  }

  .exception-hour-item {
    font-size: min(4vw, 1rem);
  }

  h2.mid-size {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .buffet-image.in-desktop {
    display: none;
  }

  .buffet-image.mobile-only {
    margin-top: 60px;
  }
}

@media (max-width: 767px) {
  .restaurant-pricing-list-inner__content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .restaurant-pricing-list-inner__content .right{
    border-top: 1px solid #cd2127;
    padding-top: 1rem;
  }

  .restaurant-pricing-list-inner {
    padding: 1.5rem;
  }

  .restaurant-pricing-list-inner .name {
    font-size: 28px;
  }

  .buffet-and-menu .buffet-block::after {
    bottom: -15px;
  }

  .buffet-image.mobile-only {
    margin-top: 30px;
  }
}
