/* =========================================================
   MAYANA CORE 7.8.1 — TARIF DETAYI TIPOGRAFI DENGESI
   Scope: only single Mayana recipe pages.
   Purpose: keep every recipe reading text at the same clear 16px scale while preserving headings and metadata hierarchy.
   ========================================================= */

body.single-mayana_recipe .mayana-v64-recipe,
body.mayana-recipe-v6 .mayana-v64-recipe {
  --mayana-detail-section-title: clamp(30px, 2.35vw, 36px);
  --mayana-detail-subtitle: clamp(20px, 1.55vw, 23px);
  --mayana-detail-body: 16px;
  --mayana-detail-small: 13px;
  --mayana-detail-micro: 11.5px;
}

/* Main reading text: introduction, ingredients, preparation, video and guide. */
body.single-mayana_recipe .mayana-v64-recipe :is(
  .mayana-v6-lead,
  .mayana-v6-editor-content,
  .mayana-v6-ingredient-group li,
  .mayana-v6-step-text,
  .mayana-v64-video p,
  .mayana-v72-mastery .mayana-v66-mastery-intro > p,
  .mayana-v770-mastery-item__content p,
  details.mayana-v72-mastery-item > .mayana-v72-mastery-item__body p,
  details.mayana-v72-mastery-item > .mayana-v72-mastery-item__body aside
),
body.mayana-recipe-v6 .mayana-v64-recipe :is(
  .mayana-v6-lead,
  .mayana-v6-editor-content,
  .mayana-v6-ingredient-group li,
  .mayana-v6-step-text,
  .mayana-v64-video p,
  .mayana-v72-mastery .mayana-v66-mastery-intro > p,
  .mayana-v770-mastery-item__content p,
  details.mayana-v72-mastery-item > .mayana-v72-mastery-item__body p,
  details.mayana-v72-mastery-item > .mayana-v72-mastery-item__body aside
) {
  font-size: var(--mayana-detail-body) !important;
  font-weight: 400 !important;
  line-height: 1.66 !important;
  letter-spacing: 0 !important;
}

/*
 * All lower-level reading copy on the recipe page follows the reference size.
 * Main headings, step headings, metadata, durations, buttons and micro labels
 * retain their existing hierarchy; only paragraph/list-style content is unified.
 */
body.single-mayana_recipe .mayana-v64-recipe :is(p, li, dd, blockquote),
body.mayana-recipe-v6 .mayana-v64-recipe :is(p, li, dd, blockquote) {
  font-size: var(--mayana-detail-body) !important;
  font-weight: 400 !important;
  line-height: 1.66 !important;
  letter-spacing: 0 !important;
}

/* Preserve intentionally emphasized words inside the unified body copy. */
body.single-mayana_recipe .mayana-v64-recipe :is(p, li, dd, blockquote) :is(strong, b),
body.mayana-recipe-v6 .mayana-v64-recipe :is(p, li, dd, blockquote) :is(strong, b) {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Every main section uses the same calm hierarchy. */
body.single-mayana_recipe .mayana-v64-recipe :is(
  .mayana-v64-ingredients-column .mayana-v6-section-head h2,
  .mayana-v64-steps-column .mayana-v6-section-head h2,
  .mayana-v64-video h2,
  .mayana-v72-mastery .mayana-v66-mastery-intro > h2,
  .mayana-v6-related h2,
  .mayana-v6-related-questions h2,
  .mayana-v6-reviews h2,
  .mayana-social-follow h2
),
body.mayana-recipe-v6 .mayana-v64-recipe :is(
  .mayana-v64-ingredients-column .mayana-v6-section-head h2,
  .mayana-v64-steps-column .mayana-v6-section-head h2,
  .mayana-v64-video h2,
  .mayana-v72-mastery .mayana-v66-mastery-intro > h2,
  .mayana-v6-related h2,
  .mayana-v6-related-questions h2,
  .mayana-v6-reviews h2,
  .mayana-social-follow h2
) {
  font-size: var(--mayana-detail-section-title) !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
  letter-spacing: -.022em !important;
}

/* Ingredient groups, preparation steps and guide panel titles align. */
body.single-mayana_recipe .mayana-v64-recipe :is(
  .mayana-v6-ingredient-group h3,
  .mayana-v6-step-title-row h3,
  .mayana-v72-mastery-panel__head h3
),
body.mayana-recipe-v6 .mayana-v64-recipe :is(
  .mayana-v6-ingredient-group h3,
  .mayana-v6-step-title-row h3,
  .mayana-v72-mastery-panel__head h3
) {
  font-size: var(--mayana-detail-subtitle) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -.014em !important;
}

body.single-mayana_recipe .mayana-v64-recipe :is(
  .mayana-v770-mastery-item__content h4,
  details.mayana-v72-mastery-item > summary strong
),
body.mayana-recipe-v6 .mayana-v64-recipe :is(
  .mayana-v770-mastery-item__content h4,
  details.mayana-v72-mastery-item > summary strong
) {
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.42 !important;
  letter-spacing: -.008em !important;
}

/* Eyebrows and supporting information remain readable, never oversized. */
body.single-mayana_recipe .mayana-v64-recipe :is(
  .mayana-v6-eyebrow,
  .mayana-v72-mastery-panel__head span
),
body.mayana-recipe-v6 .mayana-v64-recipe :is(
  .mayana-v6-eyebrow,
  .mayana-v72-mastery-panel__head span
) {
  font-size: var(--mayana-detail-micro) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: .065em !important;
}

body.single-mayana_recipe .mayana-v64-recipe :is(
  .mayana-v6-breadcrumb,
  .mayana-v6-byline,
  .mayana-v6-step-title-row > span,
  .mayana-v64-video-duration
),
body.mayana-recipe-v6 .mayana-v64-recipe :is(
  .mayana-v6-breadcrumb,
  .mayana-v6-byline,
  .mayana-v6-step-title-row > span,
  .mayana-v64-video-duration
) {
  font-size: var(--mayana-detail-small) !important;
  line-height: 1.45 !important;
}

/* Right-side Ustalık navigation follows the same readable scale. */
@media (min-width: 1025px) {
  body.single-mayana_recipe .mayana-v72-mastery-tab > span,
  body.mayana-recipe-v6 .mayana-v72-mastery-tab > span {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.32 !important;
  }

  body.single-mayana_recipe .mayana-v72-mastery-tab > small,
  body.mayana-recipe-v6 .mayana-v72-mastery-tab > small {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }
}

/* The video now follows the complete ingredients + preparation area. */
body.single-mayana_recipe .mayana-v64-application + .mayana-v64-video,
body.mayana-recipe-v6 .mayana-v64-application + .mayana-v64-video {
  margin-top: clamp(46px, 5vw, 68px) !important;
}

@media (max-width: 767px) {
  body.single-mayana_recipe .mayana-v64-recipe,
  body.mayana-recipe-v6 .mayana-v64-recipe {
    --mayana-detail-section-title: 27px;
    --mayana-detail-subtitle: 19px;
    --mayana-detail-body: 16px;
    --mayana-detail-small: 12.5px;
    --mayana-detail-micro: 11px;
  }

  body.single-mayana_recipe .mayana-v64-recipe :is(
    .mayana-v770-mastery-item__content h4,
    details.mayana-v72-mastery-item > summary strong
  ),
  body.mayana-recipe-v6 .mayana-v64-recipe :is(
    .mayana-v770-mastery-item__content h4,
    details.mayana-v72-mastery-item > summary strong
  ) {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
  }

  body.single-mayana_recipe .mayana-v72-mastery-tab > span,
  body.mayana-recipe-v6 .mayana-v72-mastery-tab > span {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  body.single-mayana_recipe .mayana-v72-mastery-tab > small,
  body.mayana-recipe-v6 .mayana-v72-mastery-tab > small {
    font-size: 10px !important;
  }

  body.single-mayana_recipe .mayana-v64-application + .mayana-v64-video,
  body.mayana-recipe-v6 .mayana-v64-application + .mayana-v64-video {
    margin-top: 48px !important;
  }
}
