/* Le Petit Gâteau (/{locale}/dining/le-petit-gateau). CSS plano: no pasa por stylus ni por Mix. */

#le-petit-gateau .petit-title {
  font-family: cormorantgaramond;
  font-weight: normal;
  font-size: 28px;
  line-height: 1.5;
  color: #113050;
  text-align: center;
  margin: 0;
}

#le-petit-gateau .petit-subtitle {
  display: block;
  font-size: 24px;
}

.petit-section-title {
  font-family: cormorantgaramond;
  font-weight: normal;
  font-size: 26px;
  line-height: 1.3;
  color: #113050;
  text-align: center;
  margin-bottom: 1rem;
}

.petit-text {
  font-family: gotham-book;
  font-size: 14px;
  line-height: 1.9;
  color: #113050;
  text-align: center;
  margin-bottom: 0;
}

.petit-split {
  align-items: center;
}

.petit-split__text {
  padding: 2rem 2.5rem;
}

.petit-split__img,
.petit-chef__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Banda de color que arranca a media altura de la foto del chef. */
.petit-chef {
  position: relative;
}

.petit-chef::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background-color: #e9eef1;
  z-index: 0;
}

.petit-chef .row {
  position: relative;
  z-index: 1;
  align-items: flex-end;
}

.petit-chef__text {
  padding: 2rem 2.5rem 3rem;
}

.petit-awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.petit-awards img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.petit-closing {
  font-family: cormorantgaramond;
  font-size: 28px;
  line-height: 1.3;
  color: #113050;
  text-align: center;
  margin: 0;
}

/* Títulos "Book another table." y "Gallery." en el azul del Figma (solo en esta landing). */
.petit-lower .main-title {
  color: #113050;
}

/* Tarjetas de "Book another table": el horario viene del CMS con el reloj como <img> en línea.
   Con horarios de dos renglones (Lunch) el reloj quedaba colgado y el texto se encimaba con
   DISCOVER por la altura fija de dining.css. Reloj centrado arriba y altura según el contenido. */
.petit-lower .section-carousel .another-door-slide-sub-container .another-door-slide-sub-container__description {
  height: auto;
  max-height: none;
  min-height: 210px;
  line-height: 1.6;
}

.petit-lower .another-door-slide-sub-container__description img[data-filename="clock.png"] {
  display: block;
  margin: 0.75rem auto 0.25rem;
}

/* Con alturas variables, la descripción crece y DISCOVER / BOOK NOW quedan alineados abajo en
   todas las tarjetas. */
.petit-lower #splide-dining .splide__slide {
  display: flex;
  flex-direction: column;
}

.petit-lower #splide-dining .another-door-slide-sub-container {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  height: auto;
}

.petit-lower #splide-dining .another-door-slide-sub-container__description {
  flex: 1 0 auto;
}

/* El sitio justifica todos los <p> en móvil con !important (max-width: 768px); aquí van centrados. */
@media only screen and (max-width: 768px) {
  .petit-text,
  .petit-closing {
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  .petit-split__text,
  .petit-chef__text {
    padding: 1.5rem 0.5rem 0;
  }

  .petit-chef::before {
    height: 55%;
  }

  .petit-chef__text {
    padding-bottom: 2.5rem;
  }

  .petit-awards {
    gap: 1rem;
  }

  .petit-awards img {
    height: 48px;
  }

  #le-petit-gateau .petit-subtitle,
  .petit-section-title {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .petit-split__text,
  .petit-chef__text {
    padding: 2rem 3rem;
  }

  /* Como en el Figma: la foto sobresale arriba de la banda, la banda sigue un poco debajo de la
     foto y el texto queda centrado verticalmente dentro de la banda. */
  .petit-chef {
    padding-bottom: 45px;
  }

  .petit-chef::before {
    top: 90px;
    height: auto;
  }

  .petit-chef .row {
    align-items: stretch;
  }

  .petit-chef__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 90px;
    padding-bottom: 0;
    margin-bottom: -45px;
  }

  .petit-awards {
    justify-content: flex-start;
  }
}

@media (min-width: 992px) {
  #le-petit-gateau .petit-title {
    font-size: 32px;
  }

  #le-petit-gateau .petit-subtitle {
    font-size: 30px;
  }

  .petit-section-title {
    font-size: 30px;
  }
}

/* Mismo tamaño que .main-title ("Book another table") en escritorio ancho. */
@media only screen and (min-width: 1140px) {
  .petit-closing {
    font-size: 38px;
  }
}
