/* =========================================================
   PAGE LAYOUT
   ========================================================= */

.chef-page-layout {
  --chef-blue: #284f67;
  --chef-text: #30485b;
  --chef-muted: #6d7982;
  --chef-accent: #c89524;
  --chef-border: rgba(40, 79, 103, 0.14);
  --chef-shadow: 0 14px 36px rgba(33, 53, 66, 0.08);

  width: calc(100% - 48px);
  max-width: 1100px;

  margin: 40px auto 80px;
}

.chef-page-main {
    width: 100%;
}

.chef-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}


/* =========================================================
   PROFILE
   ========================================================= */

.chef-profile {
  display: grid;
  grid-template-columns: 42% 58%;

  background: #fff;
  box-shadow: var(--chef-shadow);
}

.chef-profile__photo {
  min-height: 470px;
  overflow: hidden;
}

.chef-profile__photo img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}

.chef-profile__content {
  padding: 38px 42px;
}

.chef-profile__eyebrow {
  display: block;

  margin-bottom: 8px;

  color: var(--chef-accent);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chef-profile__name {
  margin: 0 0 10px;

  color: var(--chef-blue);

  font-size: clamp(42px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.02;
}

.chef-profile__restaurant {
  margin: 0;

  color: #22394a;

  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.chef-profile__divider {
  display: block;

  width: 80px;
  height: 3px;

  margin: 24px 0;

  background: var(--chef-accent);
}


/* =========================================================
   STARS + LOCATION
   ========================================================= */

.chef-profile__stars,
.chef-profile__location {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;

  color: var(--chef-text);
  font-size: 15px;
}

.chef-profile__stars-symbol {
  color: var(--chef-accent);

  font-size: 25px;
  letter-spacing: 3px;
  line-height: 1;
}

.chef-profile__location i {
  width: 22px;

  color: var(--chef-blue);
  font-size: 18px;

  text-align: center;
}


/* =========================================================
   AWARDS
   ========================================================= */

.chef-profile__awards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 24px;
}

.chef-award {
  display: inline-block;

  padding: 7px 11px;

  border: 1px solid rgba(40, 79, 103, .22);

  color: var(--chef-blue);

  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.chef-section-heading {
  margin-bottom: 20px;
}

.chef-section-heading__label {
  display: block;

  margin-bottom: 10px;

  color: var(--chef-accent);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.chef-section-heading__label::after {
  content: "";

  display: block;

  width: 32px;
  height: 2px;

  margin-top: 12px;

  background: var(--chef-accent);
}

.chef-section-heading h2 {
  margin: 0;

  color: var(--chef-blue);

  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}


/* =========================================================
   BIOGRAPHY
   ========================================================= */

.chef-biography {
  padding: 42px 10px 32px;

  border-bottom: 1px solid var(--chef-border);
}

.chef-biography__text {
  width: 100%;
  
  color: var(--chef-text);

  font-size: 16px;
  line-height: 1.75;
}

.chef-biography__text p {
  margin: 0 0 18px;
}

.chef-biography__text p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   EVENTS
   ========================================================= */

.chef-events {
  padding: 34px 10px 0;
}

.chef-events__list {
  margin-top: 14px;

  border-top: 1px solid var(--chef-border);
}

.chef-event {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 36px;
  gap: 20px;

  align-items: center;

  padding: 18px 10px;

  border-bottom: 1px solid var(--chef-border);

  color: var(--chef-text);
  text-decoration: none;

  transition:
    background-color 160ms ease,
    padding-left 160ms ease;
}

.chef-event:hover {
  padding-left: 16px;

  background: #faf9f5;
}

.chef-event__date {
  padding-right: 18px;

  border-right: 1px solid var(--chef-border);
  text-align: center;
}

.chef-event__day {
  display: block;

  color: var(--chef-blue);

  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

.chef-event__month {
  display: block;

  margin-top: 6px;

  color: var(--chef-accent);

  font-size: 13px;
  font-weight: 700;

  text-transform: uppercase;
}

.chef-event__weekday {
  display: block;

  color: var(--chef-muted);

  font-size: 13px;
}

.chef-event h3 {
  margin: 3px 0;

  color: var(--chef-blue);

  font-size: 18px;
  font-weight: 600;
}

.chef-event__place {
  color: var(--chef-muted);

  font-size: 13px;
}

.chef-event__arrow {
  color: var(--chef-blue);

  font-size: 27px;
  font-weight: 300;

  text-align: right;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.chef-sidebar-box {
  padding: 26px 24px;

  background: #fff;

  box-shadow: var(--chef-shadow);
}

.chef-sidebar-box__title {
  margin: 0 0 20px;

  color: var(--chef-blue);

  font-size: 14px;
  font-weight: 700;

  letter-spacing: .04em;
  text-transform: uppercase;
}


/* =========================================================
   SIDEBAR CHEFS
   ========================================================= */

.chef-sidebar-chefs {
  display: flex;
  flex-direction: column;
}

.chef-sidebar-chef {
  position: relative;

  display: flex;
  align-items: center;
  gap: 12px;

  min-height: 52px;

  padding: 8px 4px;

  border-bottom: 1px solid var(--chef-border);

  color: var(--chef-text);

  font-size: 13px;
  text-decoration: none;
}

.chef-sidebar-chef img {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  object-fit: cover;
  object-position: center top;
}

.chef-sidebar-chef.is-current {
  color: var(--chef-blue);
  font-weight: 600;
}

.chef-sidebar-chef.is-current::before {
  content: "";

  position: absolute;

  top: 8px;
  bottom: 8px;
  left: -12px;

  width: 3px;

  background: var(--chef-accent);
}


/* =========================================================
   SIDEBAR EVENTS
   ========================================================= */

.chef-sidebar-events {
  display: flex;
  flex-direction: column;
}

.chef-sidebar-event {
  position: relative;

  display: block;

  padding: 16px 8px 16px 26px;

  border-bottom: 1px solid var(--chef-border);

  color: var(--chef-text);

  font-size: 13px;
  text-decoration: none;
}

.chef-sidebar-event::before {
  content: "";

  position: absolute;

  top: 23px;
  left: 7px;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--chef-blue);
}

.chef-sidebar-event small {
  display: block;

  margin-top: 4px;

  color: var(--chef-muted);

  font-size: 12px;
  line-height: 1.4;
}

.chef-sidebar-event.is-current {
  color: var(--chef-accent);
}

.chef-sidebar-event.is-current::before {
  background: var(--chef-accent);
}

.chef-sidebar-event.is-current::after {
  content: "";

  position: absolute;

  top: 12px;
  bottom: 12px;
  left: -1px;

  width: 3px;

  background: var(--chef-accent);
}

.chef-sidebar-event.is-current small {
  color: var(--chef-accent);
}


/* =========================================================
   SIDEBAR FOOTER LINK
   ========================================================= */

.chef-sidebar-box__all {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 22px;

  color: var(--chef-blue);

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}

.chef-sidebar-box__all span:last-child {
  font-size: 22px;
  font-weight: 300;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .chef-page-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
  }

  .chef-profile {
    grid-template-columns: 46% 54%;
  }

  .chef-profile__content {
    padding: 32px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .chef-page-layout {
    display: block;

    width: calc(100% - 32px);

    margin-top: 24px;
  }

  .chef-profile {
    grid-template-columns: 1fr;
  }

  .chef-profile__photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .chef-profile__content {
    padding: 32px 26px;
  }

  .chef-page-sidebar {
    margin-top: 50px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

  .chef-profile__name {
    font-size: 42px;
  }

  .chef-event {
    grid-template-columns: 60px minmax(0, 1fr) 24px;
    gap: 12px;
  }

  .chef-event__date {
    padding-right: 10px;
  }

  .chef-event__day {
    font-size: 30px;
  }

  .chef-event h3 {
    font-size: 16px;
  }

}