/* -----------------------------------------------------------
   TOQUE BLANCHE feature page modifier
   Load after:
   1. feature-page.css
   2. feature-page_common_additions.css

   Scope:
   - Toque Blanche theme color / section tuning
   - Product image tuning for bottle items
   - Recipe compact cards and detail recipe layout
   - Anchor adjustment for fixed header
   ----------------------------------------------------------- */

/* Theme variables */
.feature-page--toqueblanche {
  --feature-color-text: #2f2a27;
  --feature-color-muted: #736b66;
  --feature-color-border: #eee5df;
  --feature-color-bg: #fffaf7;
  --feature-color-bg-soft: #faf7f5;
  --feature-color-accent: #f2ddd3;
  --feature-color-accent-deep: #8a5f4d;
}

/* Story section */
.feature-page--toqueblanche .feature-section--story {
  padding: 48px 56px;
  border-radius: var(--feature-radius-lg);
  background: var(--feature-color-bg);
}

.feature-page--toqueblanche .feature-readable--intro {
  max-width: 860px;
}



.feature-page--toqueblanche .feature-story-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.feature-page--toqueblanche .feature-story-layout__image {
  overflow: hidden;
  border-radius: var(--feature-radius-md);
  background: var(--feature-color-bg-soft);
}

.feature-page--toqueblanche .feature-story-layout__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.feature-page--toqueblanche .feature-story-layout__text {
  max-width: none;
}
/* Product lineup: bottle images */
.feature-page--toqueblanche .feature-product-card__media {
  width: 72%;
  margin: 18px auto 18px;
  padding: 0;
  background: #fafafa;
}

.feature-page--toqueblanche .feature-product-card__media img,
.feature-page--toqueblanche .feature-product-card__media .feature-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .feature-page--toqueblanche .feature-section--story {
    padding: 28px 20px;
    border-radius: 20px;
  }


  .feature-page--toqueblanche .feature-story-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-page--toqueblanche .feature-story-layout__image {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 18px;
  }
.feature-page--toqueblanche .feature-product-card__media {
    width: 78%;
  }
}

/* -----------------------------------------------------------
   Recipe layout
   ----------------------------------------------------------- */

/* Recipe 01 / Recipe 02: compact cards */
.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: stretch;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__image {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: var(--feature-color-bg-soft);
  overflow: hidden;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__body {
  padding: 22px 26px;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__title {
  margin-bottom: 16px;
  font-size: 19px;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__block {
  margin-bottom: 14px;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__block ul,
.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__block ol {
  font-size: 13px;
  line-height: 1.75;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__product {
  margin-top: 14px;
}

/* Recipe 03: detail card */
.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail {
  grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  overflow: hidden;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail .feature-recipe-card__image {
  padding: 0;
  background: var(--feature-color-bg-soft);
  overflow: hidden;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail .feature-recipe-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__summary,
.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__method {
  padding: 22px 24px;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__summary {
  border-right: 1px solid var(--feature-color-border);
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__method {
  background: #fff;
}

.feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail .feature-recipe-card__block:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail {
    grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__summary,
  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__method {
    padding: 20px;
  }
}

@media screen and (max-width: 767px) {
  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card,
  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail {
    grid-template-columns: 1fr;
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail .feature-recipe-card__image {
    padding: 0;
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card--detail .feature-recipe-card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__body {
    padding: 20px;
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__title {
    font-size: 18px;
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__summary {
    border-right: 0;
    border-bottom: 1px solid var(--feature-color-border);
  }

  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__summary,
  .feature-page--toqueblanche .feature-recipes--compact .feature-recipe-card__method {
    padding: 20px;
  }
}

/* Anchor adjustment for fixed header */
.feature-page--toqueblanche #toqueblanche-recipe {
  scroll-margin-top: 120px;
}

@media screen and (max-width: 767px) {
  .feature-page--toqueblanche #toqueblanche-recipe {
    scroll-margin-top: 88px;
  }
}
