
  /* ============================================================
     RESET & BASE
  ============================================================ */
  .afj-recipe *, .afj-recipe *::before, .afj-recipe *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --orange: #F97316;
    --orange-dark: #EA6C0A;
    --orange-light: #FED7AA;
    --orange-pale: #FFF7ED;
    --charcoal: #1C1917;
    --gray-dark: #44403C;
    --gray-mid: #78716C;
    --gray-light: #D6D3D1;
    --gray-pale: #F5F5F4;
    --cream: #FFFBF5;
    --white: #FFFFFF;
    --green: #16A34A;
    --red: #DC2626;
    --yellow: #CA8A04;
    --blue: #2563EB;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    --transition: all .2s ease;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
  }

  .afj-recipe { scroll-behavior: smooth; font-size: 16px; }

  .afj-recipe {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  .afj-recipe h1,.afj-recipe h2,.afj-recipe h3,.afj-recipe h4,.afj-recipe h5 { font-family: var(--font-heading); line-height: 1.3; color: var(--charcoal); }
  .afj-recipe h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
  .afj-recipe h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .75rem; }
  .afj-recipe h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: .5rem; }
  .afj-recipe h4 { font-size: 1.1rem; }

  .afj-recipe p { margin-bottom: 1rem; color: var(--gray-dark); }
  .afj-recipe a { color: var(--orange); text-decoration: none; transition: var(--transition); }
  .afj-recipe a:hover { color: var(--orange-dark); text-decoration: underline; }
  .afj-recipe a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
  .afj-recipe ul, .afj-recipe ol { padding-left: 1.5rem; margin-bottom: 1rem; }
  .afj-recipe li { margin-bottom: .4rem; color: var(--gray-dark); }

  .afj-recipe img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
  .afj-recipe button { cursor: pointer; font-family: var(--font-body); border: none; }
  .afj-recipe input, .afj-recipe textarea { font-family: var(--font-body); }

  .afj-recipe .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }

  /* ============================================================
     LAYOUT
  ============================================================ */
  .afj-recipe .container { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
  .afj-recipe .container--wide { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
  .afj-recipe section { margin-bottom: 3rem; }

  /* ============================================================
     SITE HEADER / BREADCRUMB
  ============================================================ */
  .afj-recipe .site-header {
    background: var(--white);
    border-bottom: 2px solid var(--orange);
    padding: .75rem 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--shadow);
  }
  .afj-recipe .site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
  }
  .afj-recipe .site-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--orange);
    font-weight: 700;
    display: flex; align-items: center; gap: .4rem;
    text-decoration: none;
  }
  .afj-recipe .site-logo:hover { color: var(--orange-dark); text-decoration: none; }
  .afj-recipe .site-logo svg { width: 28px; height: 28px; fill: var(--orange); }

  .afj-recipe .header-actions { display: flex; gap: .5rem; align-items: center; }
  .afj-recipe .btn-print-top {
    background: var(--orange-pale);
    color: var(--orange-dark);
    border: 1.5px solid var(--orange-light);
    border-radius: var(--radius-sm);
    padding: .4rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    display: flex; align-items: center; gap: .35rem;
    transition: var(--transition);
  }
  .afj-recipe .btn-print-top:hover { background: var(--orange); color: var(--white); }

  .afj-recipe .breadcrumb {
    background: var(--gray-pale);
    padding: .5rem 0;
    font-size: .8rem;
    color: var(--gray-mid);
    border-bottom: 1px solid var(--gray-light);
  }
  .afj-recipe .breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; padding: 0; margin: 0; }
  .afj-recipe .breadcrumb li { display: flex; align-items: center; gap: .3rem; }
  .afj-recipe .breadcrumb li:not(:last-child)::after { content: '›'; color: var(--gray-light); }
  .afj-recipe .breadcrumb a { color: var(--gray-mid); }
  .afj-recipe .breadcrumb a:hover { color: var(--orange); }
  .afj-recipe .breadcrumb [aria-current="page"] { color: var(--charcoal); font-weight: 600; }

  /* ============================================================
     HERO
  ============================================================ */
  .afj-recipe .hero {
    background: linear-gradient(135deg, #1C1917 0%, #292524 50%, #3C3430 100%);
    padding: 3.5rem 0 0;
    position: relative;
    overflow: hidden;
  }
  .afj-recipe .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,.15) 0%, transparent 60%);
    pointer-events: none;
  }
  .afj-recipe .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: end;
  }
  .afj-recipe .hero__content { padding-bottom: 3rem; }
  .afj-recipe .hero__tag {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(249,115,22,.2);
    color: var(--orange-light);
    border: 1px solid rgba(249,115,22,.3);
    border-radius: 99px;
    padding: .3rem .9rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }
  .afj-recipe .hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
  }
  .afj-recipe .hero__intro {
    color: #D6D3D1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
  }
  .afj-recipe .hero__badges {
    display: flex; flex-wrap: wrap; gap: .6rem;
    margin-bottom: 1.5rem;
  }
  .afj-recipe .badge {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: .45rem .85rem;
    font-size: .82rem;
    display: flex; align-items: center; gap: .4rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
  }
  .afj-recipe .badge__icon { font-size: 1rem; }
  .afj-recipe .badge--orange { background: var(--orange); border-color: var(--orange-dark); }

  .afj-recipe .hero__dietary { display: flex; flex-wrap: wrap; gap: .5rem; }
  .afj-recipe .diet-tag {
    background: rgba(22,163,74,.2);
    color: #86EFAC;
    border: 1px solid rgba(22,163,74,.3);
    border-radius: 99px;
    padding: .25rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
  }
  .afj-recipe .diet-tag.df { background: rgba(37,99,235,.15); color: #93C5FD; border-color: rgba(37,99,235,.3); }

  .afj-recipe .hero__img-wrap {
    position: relative;
    align-self: end;
  }
  .afj-recipe .hero__img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #3D2B1F 0%, #5C3D2E 40%, #8B5E3C 70%, #C4883E 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .afj-recipe .hero__img-placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='20' fill='%23F97316' opacity='.08'/%3E%3Ccircle cx='30' cy='30' r='12' fill='%23F97316' opacity='.06'/%3E%3C/svg%3E") repeat;
  }
  .afj-recipe .hero__img-emoji {
    font-size: 6rem;
    position: relative;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,.4));
    animation: floatPotato 3s ease-in-out infinite;
  }
  .afj-recipe .hero__img-caption {
    position: relative;
    color: rgba(255,255,255,.6);
    font-size: .8rem;
    margin-top: .75rem;
    font-style: italic;
  }
  @keyframes floatPotato {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  /* ============================================================
     STICKY SUMMARY CARD
  ============================================================ */
  .afj-recipe .sticky-summary {
    background: var(--white);
    border-bottom: 3px solid var(--orange);
    box-shadow: var(--shadow);
    position: sticky;
    top: 57px;
    z-index: 900;
  }
  .afj-recipe .sticky-summary__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .afj-recipe .sticky-summary__inner::-webkit-scrollbar { display: none; }
  .afj-recipe .sticky-stat {
    flex-shrink: 0;
    text-align: center;
    padding: 0 .8rem;
    border-right: 1px solid var(--gray-light);
  }
  .afj-recipe .sticky-stat:last-of-type { border-right: none; }
  .afj-recipe .sticky-stat__label { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-mid); font-weight: 700; }
  .afj-recipe .sticky-stat__value { font-size: .95rem; font-weight: 700; color: var(--charcoal); line-height: 1.2; }
  .afj-recipe .sticky-stat__value--orange { color: var(--orange); }
  .afj-recipe .sticky-jumps {
    display: flex; gap: .4rem; flex-shrink: 0; margin-left: auto;
  }
  .afj-recipe .jump-link {
    background: var(--orange-pale);
    color: var(--orange-dark);
    border: 1.5px solid var(--orange-light);
    border-radius: 99px;
    padding: .3rem .8rem;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
  }
  .afj-recipe .jump-link:hover { background: var(--orange); color: var(--white); text-decoration: none; border-color: var(--orange); }

  /* ============================================================
     MAIN CONTENT GRID
  ============================================================ */
  .afj-recipe .article-body { padding: 2.5rem 0; }

  /* ============================================================
     INTRO / CONTEXT
  ============================================================ */
  .afj-recipe .intro-section { }
  .afj-recipe .intro-highlight {
    background: linear-gradient(135deg, var(--orange-pale), #FFF7F0);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 1.05rem;
    color: var(--gray-dark);
    font-style: italic;
  }

  /* ============================================================
     EQUIPMENT CHECKLIST
  ============================================================ */
  .afj-recipe .equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .75rem;
    margin: 1.25rem 0;
  }
  .afj-recipe .equipment-item {
    background: var(--white);
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    display: flex; align-items: center; gap: .7rem;
    font-size: .9rem;
    font-weight: 500;
    transition: var(--transition);
  }
  .afj-recipe .equipment-item:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
  .afj-recipe .equipment-item__icon { font-size: 1.4rem; flex-shrink: 0; }

  /* ============================================================
     SERVING ADJUSTER + UNIT TOGGLE
  ============================================================ */
  .afj-recipe .controls-bar {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .servings-control {
    display: flex; align-items: center; gap: .75rem;
    flex-wrap: wrap;
  }
  .afj-recipe .servings-control__label { font-weight: 700; font-size: .9rem; color: var(--charcoal); }
  .afj-recipe .servings-stepper { display: flex; align-items: center; gap: .5rem; }
  .afj-recipe .btn-stepper {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--orange-pale);
    color: var(--orange-dark);
    border: 2px solid var(--orange-light);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    line-height: 1;
  }
  .afj-recipe .btn-stepper:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
  .afj-recipe .btn-stepper:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
  .afj-recipe .servings-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--orange);
    min-width: 2ch;
    text-align: center;
  }

  .afj-recipe .unit-toggle {
    display: flex;
    background: var(--gray-pale);
    border-radius: 99px;
    padding: .2rem;
    border: 1.5px solid var(--gray-light);
    margin-left: auto;
  }
  .afj-recipe .unit-btn {
    padding: .35rem .9rem;
    border-radius: 99px;
    font-size: .82rem;
    font-weight: 700;
    background: none;
    color: var(--gray-mid);
    transition: var(--transition);
    border: none;
  }
  .afj-recipe .unit-btn.active {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-sm);
  }

  /* ============================================================
     INGREDIENTS LIST
  ============================================================ */
  .afj-recipe #ingredients { scroll-margin-top: 120px; }
  .afj-recipe .ingredients-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
  }
  .afj-recipe .ingredient-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1.25rem;
    border-bottom: 1px solid var(--gray-pale);
    transition: background .15s;
    cursor: pointer;
    position: relative;
  }
  .afj-recipe .ingredient-row:last-child { border-bottom: none; }
  .afj-recipe .ingredient-row:hover { background: var(--orange-pale); }
  .afj-recipe .ingredient-row.checked { background: #F0FDF4; }
  .afj-recipe .ingredient-row.checked .ingredient-name,
  .afj-recipe .ingredient-row.checked .ingredient-qty { opacity: .5; text-decoration: line-through; }

  .afj-recipe .ingredient-cb {
    width: 22px; height: 22px; flex-shrink: 0;
    appearance: none; -webkit-appearance: none;
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    background: var(--white);
  }
  .afj-recipe .ingredient-cb:checked {
    background: var(--green);
    border-color: var(--green);
  }
  .afj-recipe .ingredient-cb:checked::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: .85rem;
    font-weight: 800;
    line-height: 1;
  }
  .afj-recipe .ingredient-cb:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

  .afj-recipe .ingredient-qty {
    font-weight: 800;
    color: var(--orange);
    min-width: 90px;
    font-size: .95rem;
    transition: var(--transition);
  }
  .afj-recipe .ingredient-name { flex: 1; font-size: .95rem; color: var(--gray-dark); transition: var(--transition); }
  .afj-recipe .ingredient-optional {
    background: var(--gray-pale);
    color: var(--gray-mid);
    border-radius: 99px;
    padding: .1rem .55rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .afj-recipe .ingredient-group-header {
    background: var(--gray-pale);
    padding: .5rem 1.25rem;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-mid);
    border-bottom: 1px solid var(--gray-light);
  }

  .afj-recipe .ingredients-actions {
    display: flex; flex-wrap: wrap; gap: .65rem;
    margin-top: .75rem;
  }
  .afj-recipe .btn-action {
    padding: .55rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 700;
    transition: var(--transition);
    display: flex; align-items: center; gap: .4rem;
    border: 2px solid transparent;
  }
  .afj-recipe .btn-action--primary {
    background: var(--orange);
    color: var(--white);
  }
  .afj-recipe .btn-action--primary:hover { background: var(--orange-dark); }
  .afj-recipe .btn-action--outline {
    background: var(--white);
    color: var(--orange-dark);
    border-color: var(--orange-light);
  }
  .afj-recipe .btn-action--outline:hover { background: var(--orange-pale); border-color: var(--orange); }
  .afj-recipe .btn-action--ghost {
    background: var(--gray-pale);
    color: var(--gray-dark);
    border-color: var(--gray-light);
  }
  .afj-recipe .btn-action--ghost:hover { background: var(--gray-light); }

  .afj-recipe .shopping-list-output {
    background: var(--white);
    border: 2px dashed var(--gray-light);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-top: 1rem;
    display: none;
    font-size: .9rem;
    line-height: 1.8;
    white-space: pre-wrap;
  }
  .afj-recipe .shopping-list-output.visible { display: block; }

  /* ============================================================
     INSTRUCTIONS
  ============================================================ */
  .afj-recipe #instructions { scroll-margin-top: 120px; }

  .afj-recipe .progress-tracker {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .progress-tracker__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: .6rem;
  }
  .afj-recipe .progress-tracker__label { font-weight: 700; font-size: .9rem; }
  .afj-recipe .progress-tracker__pct { font-size: 1.2rem; font-weight: 800; color: var(--orange); }
  .afj-recipe .progress-bar-track {
    width: 100%;
    height: 10px;
    background: var(--gray-pale);
    border-radius: 99px;
    overflow: hidden;
  }
  .afj-recipe .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-dark));
    border-radius: 99px;
    transition: width .4s ease;
    width: 0%;
  }
  .afj-recipe .progress-tracker__steps { font-size: .8rem; color: var(--gray-mid); margin-top: .4rem; }

  .afj-recipe .step-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .step-card.done {
    border-color: var(--green);
    background: #F0FDF4;
  }
  .afj-recipe .step-card.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }

  .afj-recipe .step-card__header {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    user-select: none;
  }
  .afj-recipe .step-number {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--orange-pale);
    border: 2.5px solid var(--orange-light);
    color: var(--orange-dark);
    font-weight: 800;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    font-family: var(--font-heading);
  }
  .afj-recipe .step-card.done .step-number {
    background: var(--green); border-color: var(--green); color: white;
  }
  .afj-recipe .step-card.done .step-number::before { content: '✓'; }
  .afj-recipe .step-card.done .step-number-text { display: none; }

  .afj-recipe .step-card__title { flex: 1; font-weight: 700; font-size: 1rem; color: var(--charcoal); }
  .afj-recipe .step-time-badge {
    background: var(--gray-pale);
    color: var(--gray-mid);
    border-radius: 99px;
    padding: .2rem .65rem;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .afj-recipe .step-card.done .step-time-badge { background: #DCFCE7; color: var(--green); }

  .afj-recipe .step-check-btn {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--gray-pale);
    border: 2px solid var(--gray-light);
    color: var(--gray-mid);
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
  }
  .afj-recipe .step-check-btn:hover { background: #DCFCE7; border-color: var(--green); color: var(--green); }
  .afj-recipe .step-card.done .step-check-btn { background: var(--green); border-color: var(--green); color: white; }
  .afj-recipe .step-check-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

  .afj-recipe .step-card__body {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .afj-recipe .step-card__body.open { padding: 0 1.25rem 1.25rem; max-height: 600px; }

  .afj-recipe .step-card__text { font-size: .97rem; color: var(--gray-dark); margin-bottom: .9rem; }

  .afj-recipe .step-tip {
    background: linear-gradient(135deg, #FFF7ED, #FFFBF5);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: .75rem 1rem;
    font-size: .87rem;
    color: var(--gray-dark);
    display: flex; gap: .5rem; align-items: flex-start;
  }
  .afj-recipe .step-tip__icon { font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }

  .afj-recipe .step-toggle {
    background: var(--gray-pale);
    border: 1px solid var(--gray-light);
    color: var(--gray-mid);
    font-size: .8rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 99px;
    transition: var(--transition);
    display: flex; align-items: center; gap: .3rem;
    margin-left: auto;
  }
  .afj-recipe .step-toggle:hover { background: var(--orange-pale); color: var(--orange); border-color: var(--orange-light); }
  .afj-recipe .step-toggle .arrow { transition: transform .25s; display: inline-block; }
  .afj-recipe .step-toggle.open .arrow { transform: rotate(180deg); }

  /* ============================================================
     TIMERS
  ============================================================ */
  .afj-recipe #timers { scroll-margin-top: 120px; }
  .afj-recipe .timers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
  .afj-recipe .timer-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  .afj-recipe .timer-card:hover { border-color: var(--orange-light); }
  .afj-recipe .timer-card.running { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
  .afj-recipe .timer-card.done { border-color: var(--green); background: #F0FDF4; }
  .afj-recipe .timer-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: var(--gray-mid);
    margin-bottom: .4rem;
  }
  .afj-recipe .timer-name { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: .75rem; }
  .afj-recipe .timer-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
  }
  .afj-recipe .timer-card.done .timer-display { color: var(--green); }
  .afj-recipe .timer-controls { display: flex; gap: .5rem; justify-content: center; }
  .afj-recipe .btn-timer {
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid transparent;
  }
  .afj-recipe .btn-timer--start { background: var(--orange); color: white; }
  .afj-recipe .btn-timer--start:hover { background: var(--orange-dark); }
  .afj-recipe .btn-timer--pause { background: var(--gray-pale); color: var(--gray-dark); border-color: var(--gray-light); }
  .afj-recipe .btn-timer--pause:hover { background: var(--gray-light); }
  .afj-recipe .btn-timer--reset { background: white; color: var(--gray-mid); border-color: var(--gray-light); }
  .afj-recipe .btn-timer--reset:hover { background: var(--gray-pale); }
  .afj-recipe .timer-done-msg {
    display: none;
    font-weight: 700;
    color: var(--green);
    font-size: .9rem;
    margin-top: .5rem;
    animation: pulse .6s ease infinite alternate;
  }
  .afj-recipe .timer-card.done .timer-done-msg { display: block; }
  @keyframes pulse { from { opacity: .7; } to { opacity: 1; } }

  /* ============================================================
     VIDEO PLACEHOLDER
  ============================================================ */
  .afj-recipe .video-placeholder {
    background: linear-gradient(135deg, #1C1917, #292524);
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1rem;
    border: 2px dashed #57534E;
    position: relative;
    overflow: hidden;
  }
  .afj-recipe .video-play-btn {
    width: 64px; height: 64px;
    background: var(--orange);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 0 8px rgba(249,115,22,.2);
    transition: var(--transition);
  }
  .afj-recipe .video-play-btn:hover { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(249,115,22,.15); }
  .afj-recipe .video-placeholder__title { color: white; font-weight: 700; font-size: 1rem; }
  .afj-recipe .video-placeholder__sub { color: #A8A29E; font-size: .85rem; }
  .afj-recipe .video-timestamps {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-top: 1rem;
  }
  .afj-recipe .video-timestamp {
    background: var(--white);
    border: 1.5px solid var(--gray-light);
    border-radius: 99px;
    padding: .3rem .8rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray-dark);
    display: flex; align-items: center; gap: .35rem;
    cursor: pointer;
    transition: var(--transition);
  }
  .afj-recipe .video-timestamp:hover { border-color: var(--orange); color: var(--orange); }
  .afj-recipe .video-timestamp__time { color: var(--orange); font-weight: 800; }

  /* ============================================================
     NUTRITION
  ============================================================ */
  .afj-recipe #nutrition { scroll-margin-top: 120px; }
  .afj-recipe .nutrition-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
  }
  .afj-recipe .nutrition-table-wrap {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-width: 240px;
  }
  .afj-recipe .nutrition-table-head {
    background: var(--charcoal);
    color: white;
    padding: .75rem 1.25rem;
    font-weight: 700;
    font-size: .9rem;
  }
  .afj-recipe .nutrition-table-head span { color: var(--orange-light); }
  .afj-recipe table.nut-table { width: 100%; border-collapse: collapse; }
  .afj-recipe .nut-table tr { border-bottom: 1px solid var(--gray-pale); }
  .afj-recipe .nut-table tr:last-child { border-bottom: none; }
  .afj-recipe .nut-table td { padding: .6rem 1.25rem; font-size: .88rem; }
  .afj-recipe .nut-table td:first-child { color: var(--gray-dark); }
  .afj-recipe .nut-table td:last-child { font-weight: 700; color: var(--charcoal); text-align: right; }
  .afj-recipe .nut-table tr.highlight td { background: var(--orange-pale); }

  .afj-recipe .nutrition-bars { flex: 1; }
  .afj-recipe .nut-bar-item { margin-bottom: 1rem; }
  .afj-recipe .nut-bar-label {
    display: flex; justify-content: space-between;
    font-size: .85rem; font-weight: 600; margin-bottom: .35rem;
    color: var(--gray-dark);
  }
  .afj-recipe .nut-bar-pct { color: var(--gray-mid); font-size: .8rem; }
  .afj-recipe .nut-bar-track {
    height: 8px; background: var(--gray-pale);
    border-radius: 99px; overflow: hidden;
  }
  .afj-recipe .nut-bar-fill {
    height: 100%; border-radius: 99px;
    animation: growBar .8s ease forwards;
  }
  @keyframes growBar { from { width: 0; } }
  .afj-recipe .nut-bar-fill--carbs { background: #3B82F6; }
  .afj-recipe .nut-bar-fill--fat   { background: #F59E0B; }
  .afj-recipe .nut-bar-fill--protein { background: #10B981; }
  .afj-recipe .nut-bar-fill--fiber { background: #8B5CF6; }
  .afj-recipe .nut-bar-fill--sugar  { background: #EC4899; }
  .afj-recipe .nut-bar-fill--sodium { background: #6B7280; }
  .afj-recipe .nutrition-disclaimer {
    font-size: .75rem; color: var(--gray-mid);
    margin-top: 1rem;
    font-style: italic;
  }

  /* ============================================================
     VARIATIONS TABS
  ============================================================ */
  .afj-recipe #variations { scroll-margin-top: 120px; }
  .afj-recipe .tabs-nav {
    display: flex; flex-wrap: wrap; gap: .4rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: -.1rem;
  }
  .afj-recipe .tab-btn {
    padding: .55rem 1rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-size: .85rem; font-weight: 700;
    background: var(--gray-pale);
    color: var(--gray-mid);
    border: 2px solid var(--gray-light);
    border-bottom: none;
    transition: var(--transition);
    margin-bottom: -2px;
  }
  .afj-recipe .tab-btn:hover { background: var(--orange-pale); color: var(--orange); }
  .afj-recipe .tab-btn.active {
    background: var(--white);
    color: var(--orange);
    border-color: var(--gray-light);
    border-bottom-color: var(--white);
    box-shadow: 0 -2px 0 0 var(--orange) inset;
  }
  .afj-recipe .tab-panel { display: none; }
  .afj-recipe .tab-panel.active { display: block; animation: fadeInTab .25s ease; }
  @keyframes fadeInTab { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

  .afj-recipe .variation-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .variation-card h4 { margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
  .afj-recipe .variation-badge {
    background: var(--orange);
    color: white;
    border-radius: 99px;
    padding: .1rem .6rem;
    font-size: .7rem;
    font-weight: 700;
    font-family: var(--font-body);
  }
  .afj-recipe .variation-card ul { list-style: none; padding: 0; }
  .afj-recipe .variation-card ul li::before { content: '✦ '; color: var(--orange); font-size: .7rem; }

  /* ============================================================
     TIPS / CALLOUT BOXES
  ============================================================ */
  .afj-recipe .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
  }
  .afj-recipe .tip-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--gray-light);
    position: relative;
    overflow: hidden;
  }
  .afj-recipe .tip-box::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--orange);
    border-radius: 4px 0 0 4px;
  }
  .afj-recipe .tip-box__icon { font-size: 1.8rem; margin-bottom: .5rem; }
  .afj-recipe .tip-box h4 { font-size: .95rem; margin-bottom: .4rem; }
  .afj-recipe .tip-box p { font-size: .88rem; color: var(--gray-dark); margin: 0; }

  /* ============================================================
     MISTAKES
  ============================================================ */
  .afj-recipe .mistakes-list { list-style: none; padding: 0; }
  .afj-recipe .mistake-item {
    display: flex; gap: 1rem;
    background: var(--white);
    border: 1.5px solid #FCA5A5;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .mistake-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
  .afj-recipe .mistake-content h4 { color: var(--red); font-size: .95rem; margin-bottom: .25rem; }
  .afj-recipe .mistake-content p { font-size: .88rem; margin: 0; color: var(--gray-dark); }
  .afj-recipe .mistake-fix {
    display: inline-flex; align-items: center; gap: .3rem;
    background: #DCFCE7;
    color: var(--green);
    border-radius: 99px;
    padding: .15rem .65rem;
    font-size: .75rem;
    font-weight: 700;
    margin-top: .4rem;
  }

  /* ============================================================
     STORAGE
  ============================================================ */
  .afj-recipe .storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  .afj-recipe .storage-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .storage-card__icon { font-size: 2.2rem; margin-bottom: .5rem; }
  .afj-recipe .storage-card__title { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
  .afj-recipe .storage-card__duration {
    font-size: 1.2rem; font-weight: 800; color: var(--orange);
    margin-bottom: .5rem;
  }
  .afj-recipe .storage-card__note { font-size: .8rem; color: var(--gray-mid); }

  /* ============================================================
     FAQ ACCORDION
  ============================================================ */
  .afj-recipe #faq { scroll-margin-top: 120px; }
  .afj-recipe .faq-list { list-style: none; padding: 0; }
  .afj-recipe .faq-item {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    margin-bottom: .6rem;
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  .afj-recipe .faq-item.open { border-color: var(--orange-light); }
  .afj-recipe .faq-q {
    width: 100%; text-align: left;
    padding: 1rem 1.25rem;
    background: none; border: none;
    font-family: var(--font-body);
    font-size: .97rem; font-weight: 700;
    color: var(--charcoal);
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    transition: var(--transition);
  }
  .afj-recipe .faq-q:hover { color: var(--orange); background: var(--orange-pale); }
  .afj-recipe .faq-q:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
  .afj-recipe .faq-chevron {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--gray-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem;
    transition: transform .25s;
    color: var(--gray-mid);
  }
  .afj-recipe .faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--orange-pale); color: var(--orange); }
  .afj-recipe .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 1.25rem;
    font-size: .93rem; color: var(--gray-dark);
  }
  .afj-recipe .faq-a.open { max-height: 400px; padding: 0 1.25rem 1.1rem; }

  /* ============================================================
     USER NOTES
  ============================================================ */
  .afj-recipe .notes-section {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .notes-section h2 { margin-bottom: .3rem; }
  .afj-recipe .notes-meta { font-size: .83rem; color: var(--gray-mid); margin-bottom: 1rem; }
  .afj-recipe .notes-textarea {
    width: 100%;
    min-height: 130px;
    padding: .85rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: .93rem;
    color: var(--charcoal);
    resize: vertical;
    transition: var(--transition);
    background: var(--cream);
  }
  .afj-recipe .notes-textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
  .afj-recipe .notes-actions { display: flex; gap: .65rem; margin-top: .75rem; align-items: center; }
  .afj-recipe .notes-save-status {
    font-size: .8rem; color: var(--green); font-weight: 600;
    opacity: 0; transition: opacity .3s;
  }
  .afj-recipe .notes-save-status.visible { opacity: 1; }

  /* ============================================================
     STAR RATING
  ============================================================ */
  .afj-recipe .rating-section {
    text-align: center;
    background: linear-gradient(135deg, var(--orange-pale), #FFF7F0);
    border: 2px solid var(--orange-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  .afj-recipe .rating-section h2 { margin-bottom: .4rem; }
  .afj-recipe .rating-section p { font-size: .9rem; margin-bottom: 1.25rem; }
  .afj-recipe .stars-input { display: flex; justify-content: center; gap: .4rem; margin-bottom: .75rem; }
  .afj-recipe .star-btn {
    font-size: 2.4rem;
    background: none; border: none;
    cursor: pointer;
    color: var(--gray-light);
    transition: color .15s, transform .15s;
    line-height: 1;
  }
  .afj-recipe .star-btn.lit { color: #F59E0B; }
  .afj-recipe .star-btn:hover { transform: scale(1.15); }
  .afj-recipe .star-btn:focus-visible { outline: 2px solid var(--orange); border-radius: 4px; }
  .afj-recipe .rating-feedback { font-size: .9rem; color: var(--gray-dark); min-height: 1.4em; }
  .afj-recipe .rating-tally {
    font-size: .82rem; color: var(--gray-mid); margin-top: .6rem;
  }

  /* ============================================================
     RELATED RECIPES
  ============================================================ */
  .afj-recipe #related { scroll-margin-top: 120px; }
  .afj-recipe .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
  .afj-recipe .related-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: flex; flex-direction: column;
  }
  .afj-recipe .related-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
  }
  .afj-recipe .related-card__thumb {
    height: 130px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--orange-pale), #FFF7F0);
  }
  .afj-recipe .related-card__body { padding: 1rem; flex: 1; }
  .afj-recipe .related-card__tag {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .07em;
    font-weight: 700; color: var(--orange); margin-bottom: .35rem;
  }
  .afj-recipe .related-card__title { font-size: .9rem; font-weight: 700; color: var(--charcoal); line-height: 1.4; }

  /* ============================================================
     FOOTER
  ============================================================ */
  .afj-recipe .article-footer {
    background: var(--charcoal);
    color: #A8A29E;
    padding: 2.5rem 0;
    margin-top: 4rem;
    font-size: .85rem;
  }
  .afj-recipe .article-footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
  .afj-recipe .article-footer a { color: var(--orange-light); }
  .afj-recipe .article-footer a:hover { color: white; }

  /* ============================================================
     SECTION DIVIDERS & UTILS
  ============================================================ */
  .afj-recipe .section-label {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--orange);
    color: white;
    border-radius: 99px;
    padding: .25rem .85rem;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .85rem;
  }
  .afj-recipe .divider {
    border: none; border-top: 2px solid var(--gray-light);
    margin: 2.5rem 0;
  }
  .afj-recipe .callout {
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    margin: 1.25rem 0;
    font-size: .93rem;
    display: flex; gap: .75rem; align-items: flex-start;
  }
  .afj-recipe .callout--info { background: #EFF6FF; border-left: 4px solid #3B82F6; }
  .afj-recipe .callout--warn { background: #FFFBEB; border-left: 4px solid #F59E0B; }
  .afj-recipe .callout--success { background: #F0FDF4; border-left: 4px solid var(--green); }
  .afj-recipe .callout__icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }
  .afj-recipe .callout p { margin: 0; }

  /* ============================================================
     PRINT STYLES
  ============================================================ */
  @media print {
    .afj-recipe .site-header, .afj-recipe .sticky-summary, .afj-recipe .breadcrumb, .afj-recipe .timers-section, .afj-recipe .video-section, .afj-recipe .rating-section, .afj-recipe .notes-section, .afj-recipe .related-section, .afj-recipe .article-footer, .afj-recipe .ingredients-actions, .afj-recipe .step-check-btn, .afj-recipe .btn-print-top, .afj-recipe .jump-link, .afj-recipe .step-toggle, .afj-recipe .tabs-nav, .afj-recipe .controls-bar .unit-toggle { display: none !important; }

    .afj-recipe { background: white; color: black; font-size: 12pt; }
    .afj-recipe .hero { background: white !important; padding: 0; }
    .afj-recipe .hero h1 { color: black !important; font-size: 22pt; }
    .afj-recipe .hero__intro { color: #333 !important; }
    .afj-recipe .hero__img-wrap { display: none; }
    .afj-recipe .hero__content { padding-bottom: .5rem; }
    .afj-recipe .hero__badges .badge { background: #eee !important; color: black !important; border: 1px solid #ccc; }
    .afj-recipe .step-card__body { max-height: none !important; padding: 0 0 .75rem !important; }
    .afj-recipe .tab-panel { display: block !important; }
    .afj-recipe .faq-a { max-height: none !important; padding: 0 0 .75rem !important; }
    .afj-recipe a { color: black !important; text-decoration: underline; }
    .afj-recipe .container { max-width: 100%; padding: 0; }
    .afj-recipe .ingredient-row { padding: .4rem 0; border-bottom: 1px solid #eee; }
    .afj-recipe .ingredient-cb { display: none; }
    .afj-recipe .step-card { border: 1px solid #ddd; box-shadow: none; margin-bottom: .5rem; }
    .afj-recipe .step-number { border: 2px solid #ccc !important; background: white !important; color: black !important; }
    .afj-recipe .nutrition-wrap { grid-template-columns: 1fr; }
    .afj-recipe .nutrition-bars { display: none; }
    page-break-inside: avoid;
  }

  /* ============================================================
     RESPONSIVE
  ============================================================ */
  @media (max-width: 720px) {
    .afj-recipe .hero__inner { grid-template-columns: 1fr; }
    .afj-recipe .hero__img-wrap { order: -1; }
    .afj-recipe .hero__img-placeholder { aspect-ratio: 16/7; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .afj-recipe .hero__content { padding: 1.5rem 0 2rem; }
    .afj-recipe .nutrition-wrap { grid-template-columns: 1fr; }
    .afj-recipe .tabs-nav { gap: .3rem; }
    .afj-recipe .tab-btn { font-size: .78rem; padding: .45rem .7rem; }
    .afj-recipe .tips-grid { grid-template-columns: 1fr; }
    .afj-recipe .storage-grid { grid-template-columns: 1fr 1fr; }
    .afj-recipe .related-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 480px) {
    .afj-recipe .controls-bar { flex-direction: column; align-items: flex-start; }
    .afj-recipe .unit-toggle { margin-left: 0; }
    .afj-recipe .related-grid { grid-template-columns: 1fr; }
    .afj-recipe .storage-grid { grid-template-columns: 1fr; }
    .afj-recipe .timers-grid { grid-template-columns: 1fr; }
    .afj-recipe .hero__badges { flex-direction: column; align-items: flex-start; }
  }

  @media (prefers-reduced-motion: reduce) {
    .afj-recipe *, .afj-recipe *::before, .afj-recipe *::after { animation: none !important; transition: none !important; }
  }
  @media (prefers-color-scheme: dark) {
    /* Intentionally minimal — recipe pages are best light */
  }

/* ============================================================
   BACON-FORMAT TEMPLATE (appended v2.0.1)
   Scoped under .afj-recipe. Variable defs scoped to wrapper to
   avoid colliding with the potatoes :root block above.
   ============================================================ */
/* =====================================================================
   AirFryerJunkie — Recipe Article Stylesheet
   Standalone design for the .afj-recipe template.
   Mobile-first, responsive, accessible. System fonts only.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
/* Scope-contained so var names don't collide with the potatoes :root block. */
.afj-recipe {
  /* Brand — warm, appetizing orange/red */
  --brand: #E8590C;
  --brand-dark: #C2410C;
  --brand-light: #FFF1E8;
  --brand-tint: #FFE3D1;

  /* Text */
  --text: #1C1917;
  --text-muted: #6B6259;
  --text-light: #9C938A;

  /* Lines & surfaces */
  --border: #E7E2DC;
  --surface: #FBF8F4;        /* page background */
  --card: #FFFFFF;           /* card background */
  --card-alt: #FAF6F1;       /* subtle alt surface (zebra stripes etc.) */

  /* Accents */
  --accent-gold: #F59E0B;
  --accent-gold-light: #FEF6E7;
  --accent-green: #16A34A;
  --accent-green-light: #ECFBF1;
  --accent-red: #DC2626;
  --accent-blue: #2563EB;

  /* Typography */
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-heading: Georgia, "Times New Roman", "Iowan Old Style", "Palatino Linotype", serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-sm: 0 2px 6px rgba(28, 25, 23, 0.07);
  --shadow-md: 0 6px 18px rgba(28, 25, 23, 0.09);
  --shadow-lg: 0 16px 40px rgba(28, 25, 23, 0.12);
  --shadow-brand: 0 8px 22px rgba(232, 89, 12, 0.28);

  /* Spacing scale (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Motion */
  --t-fast: 140ms ease;
  --t: 240ms ease;
  --t-slow: 420ms ease;

  /* Sticky offsets */
  --summary-bar-h: 64px;
}

/* ---------------------------------------------------------------------
   2. Light reset + base elements
   --------------------------------------------------------------------- */
.afj-recipe *,
.afj-recipe *::before,
.afj-recipe *::after {
  box-sizing: border-box;
}

.afj-recipe {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.afj-recipe h1, .afj-recipe h2, .afj-recipe h3, .afj-recipe h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.afj-recipe h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.afj-recipe h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); }
.afj-recipe h3 { font-size: 1.25rem; }
.afj-recipe h4 { font-size: 1.05rem; }

.afj-recipe p {
  margin: 0 0 var(--sp-4);
}

.afj-recipe a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast);
}
.afj-recipe a:hover { color: var(--brand); }

.afj-recipe ul, .afj-recipe ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.4em;
}
.afj-recipe li { margin-bottom: var(--sp-1); }

.afj-recipe img {
  max-width: 100%;
  height: auto;
  display: block;
}

.afj-recipe button {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.afj-recipe input, .afj-recipe textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

.afj-recipe table {
  border-collapse: collapse;
  width: 100%;
}

/* Strip out the stray empty <p></p> WordPress injects mid-content */
.afj-recipe p:empty { display: none; }

/* Accessible focus visibility */
.afj-recipe a:focus-visible,
.afj-recipe button:focus-visible,
.afj-recipe input:focus-visible,
.afj-recipe textarea:focus-visible,
.afj-recipe [tabindex]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------
   Generic helpers
   --------------------------------------------------------------------- */
.afj-recipe .visually-hidden,
.afj-recipe .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.afj-recipe .icon {
  display: inline-flex;
  align-items: center;
  font-style: normal;
}

.afj-recipe .red { color: var(--brand) !important; }
.afj-recipe .gold { color: var(--accent-gold) !important; }

/* ---------------------------------------------------------------------
   1. Header / nav + breadcrumb
   --------------------------------------------------------------------- */
.afj-recipe .site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.afj-recipe .site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.afj-recipe .site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.afj-recipe .site-logo span { color: var(--brand); }
.afj-recipe .site-logo:hover { color: var(--text); }

.afj-recipe .header-jump-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}
.afj-recipe .header-jump-links li { margin: 0; }
.afj-recipe .header-jump-links a {
  display: inline-block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.afj-recipe .header-jump-links a:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.afj-recipe .breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.afj-recipe .breadcrumb .wide-container {
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}
.afj-recipe .breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.afj-recipe .breadcrumb a:hover { color: var(--brand); }
.afj-recipe .breadcrumb span[aria-hidden="true"] {
  color: var(--text-light);
  margin: 0 var(--sp-1);
}
.afj-recipe .breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
/* Neutralise the stray <br> WordPress inserts so the trail flows inline */
.afj-recipe .breadcrumb br { display: none; }

/* ---------------------------------------------------------------------
   2. Hero
   --------------------------------------------------------------------- */
.afj-recipe .hero {
  background:
    radial-gradient(1100px 460px at 85% -10%, var(--brand-tint), transparent 60%),
    linear-gradient(180deg, var(--brand-light), var(--surface));
  border-bottom: 1px solid var(--border);
  padding: var(--sp-12) var(--sp-4) var(--sp-10);
  text-align: center;
}

.afj-recipe .hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.afj-recipe .hero-eyebrow {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-brand);
  margin-bottom: var(--sp-5);
}

.afj-recipe .hero h1 {
  margin: 0 auto var(--sp-5);
  max-width: 16ch;
}

.afj-recipe .hero-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto var(--sp-6);
}

.afj-recipe .hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.afj-recipe .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}
.afj-recipe .hero-badge strong { color: var(--text); font-weight: 700; }
.afj-recipe .hero-badge br { display: none; }

.afj-recipe .difficulty-dot {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-light);
}

.afj-recipe .hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.afj-recipe .hero-tags br { display: none; }
.afj-recipe .hero-tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid var(--brand-tint);
  font-size: 0.8rem;
  font-weight: 600;
}

.afj-recipe .hero-scroll-hint {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  letter-spacing: 0.02em;
}
.afj-recipe .scroll-arrow {
  display: inline-block;
  margin-left: var(--sp-1);
  font-size: 1.1rem;
  color: var(--brand);
  animation: afj-bounce 1.8s ease-in-out infinite;
}
@keyframes afj-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------------------------------------------------------------------
   3. Sticky summary bar
   --------------------------------------------------------------------- */
.afj-recipe .summary-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.afj-recipe .summary-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  overflow-x: auto;
  scrollbar-width: none;
}
.afj-recipe .summary-bar-inner::-webkit-scrollbar { display: none; }

.afj-recipe .summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 64px;
  text-align: center;
}
.afj-recipe .summary-item br { display: none; }

.afj-recipe .s-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.afj-recipe .s-val {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.afj-recipe .s-val.red { color: var(--brand); }

/* ---------------------------------------------------------------------
   4. Action toolbar + button system
   --------------------------------------------------------------------- */
.afj-recipe .action-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}
.afj-recipe .action-bar br { display: none; }

.afj-recipe .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.afj-recipe .btn:active { transform: translateY(1px); }

.afj-recipe .btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.afj-recipe .btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.afj-recipe .btn-outline {
  background: var(--card);
  color: var(--brand-dark);
  border-color: var(--brand);
}
.afj-recipe .btn-outline:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  transform: translateY(-2px);
}
.afj-recipe .btn-outline[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.afj-recipe .btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.afj-recipe .btn-ghost:hover {
  background: var(--card);
  color: var(--text);
  border-color: var(--text-light);
}

/* ---------------------------------------------------------------------
   5. Main layout
   --------------------------------------------------------------------- */
.afj-recipe .wide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--sp-4);
  padding-right: var(--sp-4);
  width: 100%;
}

.afj-recipe .content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-16);
}

.afj-recipe article[itemtype] {
  min-width: 0;
}

.afj-recipe .article-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-xs);
}

.afj-recipe .section-heading {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 2px solid var(--border);
}
.afj-recipe .section-heading .icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--brand-light);
  font-size: 1.25rem;
}

.afj-recipe .intro-text p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}
.afj-recipe .intro-text p:last-child { margin-bottom: 0; }

/* Callouts */
.afj-recipe .callout {
  background: var(--brand-light);
  border: 1px solid var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
}
.afj-recipe .callout p:last-child { margin-bottom: 0; }
.afj-recipe .callout-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-dark);
  margin-bottom: var(--sp-2);
}
.afj-recipe .callout.gold {
  background: var(--accent-gold-light);
  border-color: #FAE3B0;
  border-left-color: var(--accent-gold);
}
.afj-recipe .callout.gold .callout-title { color: #B45309; }

/* ---------------------------------------------------------------------
   6. Ingredients
   --------------------------------------------------------------------- */
.afj-recipe .ingredients-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--sp-5);
}

.afj-recipe .serving-control {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.afj-recipe .serving-control label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.afj-recipe .serving-control br { display: none; }
.afj-recipe .serving-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: var(--card);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.afj-recipe .serving-btn:hover { background: var(--brand); color: #fff; }
.afj-recipe .serving-btn:active { transform: scale(0.92); }
.afj-recipe .serving-display {
  min-width: 2ch;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.afj-recipe .unit-toggle {
  display: inline-flex;
  padding: 3px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.afj-recipe .unit-toggle br { display: none; }
.afj-recipe .unit-btn {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast);
}
.afj-recipe .unit-btn:hover { color: var(--text); }
.afj-recipe .unit-btn.active {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.afj-recipe .ingredient-group { margin-bottom: var(--sp-5); }
.afj-recipe .ingredient-group-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px dashed var(--border);
}

.afj-recipe .ingredient-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.afj-recipe .ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), opacity var(--t-fast);
}
.afj-recipe .ingredient-item:hover { background: var(--card-alt); }
.afj-recipe .ingredient-item br { display: none; }
.afj-recipe .ingredient-item > input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 3px;
  accent-color: var(--brand);
  cursor: pointer;
}
.afj-recipe .ingredient-item-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
}
.afj-recipe .ingredient-label {
  flex: 1 1 60%;
  min-width: 0;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
}
.afj-recipe .ingredient-amount {
  font-weight: 700;
  color: var(--brand-dark);
}
.afj-recipe .ingredient-item.checked { opacity: 0.55; }
.afj-recipe .ingredient-item.checked .ingredient-label {
  text-decoration: line-through;
  color: var(--text-light);
}
.afj-recipe .ingredient-item.checked .ingredient-amount {
  color: var(--text-light);
}

/* Substitution popover */
.afj-recipe .sub-btn {
  flex: 0 0 auto;
  padding: 4px var(--sp-3);
  border-radius: var(--radius-pill);
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid var(--brand-tint);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background var(--t-fast);
}
.afj-recipe .sub-btn:hover { background: var(--brand-tint); }

.afj-recipe .sub-popup {
  position: relative;
  flex: 1 1 100%;
  margin-top: var(--sp-2);
  padding: var(--sp-4) var(--sp-5) var(--sp-4) var(--sp-4);
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.86rem;
  line-height: 1.55;
  box-shadow: var(--shadow-md);
  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t), transform var(--t), max-height var(--t), visibility var(--t);
}
.afj-recipe .sub-popup strong { color: var(--brand-light); }
.afj-recipe .sub-popup.visible {
  opacity: 1;
  visibility: visible;
  max-height: 400px;
  transform: translateY(0);
}
.afj-recipe .sub-popup-close {
  position: absolute;
  top: 6px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  transition: background var(--t-fast);
}
.afj-recipe .sub-popup-close:hover { background: rgba(255, 255, 255, 0.28); }

.afj-recipe .shopping-list-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: var(--brand-light);
  border: 1px dashed var(--brand-tint);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.afj-recipe .shopping-list-bar br { display: none; }
.afj-recipe .shopping-count {
  color: var(--brand-dark);
  font-weight: 700;
}

/* ---------------------------------------------------------------------
   7. Equipment
   --------------------------------------------------------------------- */
.afj-recipe .equipment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.afj-recipe .equipment-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.afj-recipe .equipment-chip:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}

/* ---------------------------------------------------------------------
   8. Steps
   --------------------------------------------------------------------- */
.afj-recipe .progress-tracker {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.afj-recipe .progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.afj-recipe .progress-label br { display: none; }
.afj-recipe .progress-label span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: var(--text-light);
}
.afj-recipe .progress-bar {
  height: 10px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.afj-recipe .progress-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand), var(--accent-gold));
  transition: width var(--t-slow);
}

.afj-recipe .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.afj-recipe .step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.afj-recipe .step-item:hover { box-shadow: var(--shadow-sm); }
.afj-recipe .step-item br { display: none; }

.afj-recipe .step-number-wrap {
  grid-row: 1;
  grid-column: 1;
}
.afj-recipe .step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform var(--t-fast), background var(--t-fast);
}
.afj-recipe .step-number:hover { transform: scale(1.06); }

.afj-recipe .step-content {
  grid-row: 1;
  grid-column: 2;
  min-width: 0;
}
.afj-recipe .step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.afj-recipe .step-text {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}
.afj-recipe .step-time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 3px var(--sp-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-2);
}

.afj-recipe .step-tip-toggle {
  display: inline-block;
  margin-top: var(--sp-2);
  padding: 5px var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: var(--accent-gold-light);
  border: 1px solid #FAE3B0;
  transition: background var(--t-fast);
}
.afj-recipe .step-tip-toggle:hover { background: #FCEFD0; }

.afj-recipe .step-tip {
  margin-top: var(--sp-3);
  padding: 0 var(--sp-4);
  background: var(--accent-gold-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.65;
  color: #7C4A03;
  /* hidden by default */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border: 1px solid transparent;
  transition: max-height var(--t), opacity var(--t), padding var(--t), border-color var(--t);
}
.afj-recipe .step-tip strong { color: #92400E; }
.afj-recipe .step-tip.open {
  max-height: 500px;
  opacity: 1;
  padding: var(--sp-4);
  border-color: #FAE3B0;
}

.afj-recipe .step-check {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  margin-top: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--card);
  border: 1.5px solid var(--accent-green);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.afj-recipe .step-check:hover { background: var(--accent-green-light); }
.afj-recipe .step-check:active { transform: translateY(1px); }

/* Completed step */
.afj-recipe .step-item.done {
  background: var(--accent-green-light);
  border-color: #BBE9C9;
}
.afj-recipe .step-item.done .step-number {
  background: var(--accent-green);
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.28);
}
.afj-recipe .step-item.done .step-title { color: #166534; }
.afj-recipe .step-item.done .step-check {
  background: var(--accent-green);
  color: #fff;
  border-color: var(--accent-green);
}

/* ---------------------------------------------------------------------
   9. Timers
   --------------------------------------------------------------------- */
.afj-recipe .timers-section { /* shares .article-section styling */ }
.afj-recipe .timers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.afj-recipe .timer-card {
  text-align: center;
  padding: var(--sp-5);
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.afj-recipe .timer-card br { display: none; }
.afj-recipe .timer-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.afj-recipe .timer-display {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--sp-4);
  transition: color var(--t-fast);
}
.afj-recipe .timer-display.running { color: var(--brand); }
.afj-recipe .timer-display.done { color: var(--accent-green); }

.afj-recipe .timer-controls {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
}
.afj-recipe .timer-btn {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.afj-recipe .timer-btn:hover { border-color: var(--text-light); color: var(--text); }
.afj-recipe .timer-btn-start {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.afj-recipe .timer-btn-start:hover { background: var(--brand-dark); color: #fff; }
.afj-recipe .timer-btn-reset {
  min-width: 42px;
}

/* ---------------------------------------------------------------------
   10. Video
   --------------------------------------------------------------------- */
.afj-recipe .video-section { /* .article-section base */ }
.afj-recipe .video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-alt);
  box-shadow: var(--shadow-sm);
}
.afj-recipe .video-placeholder br { display: none; }
.afj-recipe .video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.afj-recipe .video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(232, 89, 12, 0.92);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform var(--t-fast), background var(--t-fast);
}
.afj-recipe .video-play-btn:hover {
  background: var(--brand);
  transform: translate(-50%, -50%) scale(1.08);
}
.afj-recipe .video-note {
  margin-top: var(--sp-3);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------------------------------------------------------------------
   11. Nutrition
   --------------------------------------------------------------------- */
.afj-recipe .nutrition-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--sp-6);
  font-size: 0.95rem;
}
.afj-recipe .nutrition-table th,
.afj-recipe .nutrition-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.afj-recipe .nutrition-table thead th {
  background: var(--text);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.afj-recipe .nutrition-table th:not(:first-child),
.afj-recipe .nutrition-table td:not(:first-child) {
  text-align: right;
}
.afj-recipe .nutrition-table tbody tr:nth-child(even) {
  background: var(--card-alt);
}
.afj-recipe .nutrition-table tbody tr:last-child td { border-bottom: none; }
.afj-recipe .nutrition-table td:first-child { font-weight: 600; }

.afj-recipe .nutrition-bar-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.afj-recipe .nutrition-bar-item {
  display: flex;
  flex-direction: column;
}
.afj-recipe .nutrition-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.afj-recipe .nutrition-bar-track {
  height: 10px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.afj-recipe .nutrition-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width var(--t-slow);
}
.afj-recipe .nutrition-note {
  margin-top: var(--sp-5);
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------------------------------------------------------------------
   12. Variations (tabs)
   --------------------------------------------------------------------- */
.afj-recipe .variation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  border-bottom: 2px solid var(--border);
  padding-bottom: var(--sp-3);
}
.afj-recipe .variation-tabs br { display: none; }
.afj-recipe .var-tab {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--card-alt);
  border: 1px solid var(--border);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.afj-recipe .var-tab:hover { color: var(--text); border-color: var(--text-light); }
.afj-recipe .var-tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-xs);
}

.afj-recipe .var-panel {
  /* hidden by default */
  display: none;
  animation: afj-fade var(--t) ease;
}
.afj-recipe .var-panel.active { display: block; }
.afj-recipe .var-panel-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--brand-dark);
}
@keyframes afj-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------
   13. Tips
   --------------------------------------------------------------------- */
.afj-recipe .tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.afj-recipe .tip-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.afj-recipe .tip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.afj-recipe .tip-card br { display: none; }
.afj-recipe .tip-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--brand-light);
  font-size: 1.3rem;
}
.afj-recipe .tip-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-1);
}
.afj-recipe .tip-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------------------------------------------------------------------
   14. Common mistakes
   --------------------------------------------------------------------- */
.afj-recipe .mistake-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.afj-recipe .mistake-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: #FEF4F2;
  border: 1px solid #F8D7D0;
  border-left: 4px solid var(--accent-red);
  border-radius: var(--radius);
}
.afj-recipe .mistake-x {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.afj-recipe .mistake-body { min-width: 0; }
.afj-recipe .mistake-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #991B1B;
  margin-bottom: var(--sp-1);
}
.afj-recipe .mistake-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------------------------------------------------------------------
   15. Storage
   --------------------------------------------------------------------- */
.afj-recipe .storage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.afj-recipe .storage-card {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.afj-recipe .storage-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.afj-recipe .storage-card br { display: none; }
.afj-recipe .storage-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-2);
}
.afj-recipe .storage-duration {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: var(--sp-1);
}
.afj-recipe .storage-method {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   16. FAQ (accordion)
   --------------------------------------------------------------------- */
.afj-recipe .faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.afj-recipe .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.afj-recipe .faq-item.open {
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-sm);
}
.afj-recipe .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast);
}
.afj-recipe .faq-question br { display: none; }
.afj-recipe .faq-question:hover { background: var(--card-alt); color: var(--brand-dark); }
.afj-recipe .faq-chevron {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 1.1rem;
  transition: transform var(--t);
}
.afj-recipe .faq-answer {
  /* collapsed by default */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 var(--sp-5);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  transition: max-height var(--t), opacity var(--t), padding var(--t);
}
.afj-recipe .faq-item.open .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding: 0 var(--sp-5) var(--sp-5);
}
.afj-recipe .faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* ---------------------------------------------------------------------
   17. Notes
   --------------------------------------------------------------------- */
.afj-recipe .notes-section { /* .article-section base */ }
.afj-recipe .notes-area {
  width: 100%;
  min-height: 130px;
  padding: var(--sp-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-alt);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  resize: vertical;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.afj-recipe .notes-area::placeholder { color: var(--text-light); }
.afj-recipe .notes-area:focus {
  outline: none;
  background: var(--card);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.afj-recipe .notes-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.afj-recipe .notes-controls br { display: none; }
.afj-recipe .notes-saved {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-green);
  /* hidden by default */
  opacity: 0;
  transform: translateY(4px);
  visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.afj-recipe .notes-saved.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* ---------------------------------------------------------------------
   18. Rating
   --------------------------------------------------------------------- */
.afj-recipe .rating-section {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  margin-bottom: var(--sp-6);
  background: linear-gradient(180deg, var(--brand-light), var(--card));
  border: 1px solid var(--brand-tint);
  border-radius: var(--radius-lg);
}
.afj-recipe .rating-title {
  border: none;
  margin-bottom: var(--sp-4);
  padding: 0;
}
.afj-recipe .stars-input {
  display: inline-flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}
.afj-recipe .stars-input br { display: none; }
.afj-recipe .star-btn {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--border);
  background: transparent;
  transition: transform var(--t-fast), color var(--t-fast);
}
.afj-recipe .star-btn:hover { transform: scale(1.15); color: var(--accent-gold); }
.afj-recipe .star-btn.active { color: var(--accent-gold); }
.afj-recipe .rating-feedback {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   19. Footer / share / sidebar
   --------------------------------------------------------------------- */
.afj-recipe .article-footer {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}
.afj-recipe .article-footer p { margin-bottom: var(--sp-2); }

.afj-recipe .social-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.afj-recipe .social-share br { display: none; }
.afj-recipe .share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
}
.afj-recipe .share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.afj-recipe .share-pinterest { background: #E60023; }
.afj-recipe .share-facebook { background: #1877F2; }
.afj-recipe .share-twitter { background: #0F1419; }

.afj-recipe .sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  min-width: 0;
}
.afj-recipe .sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-xs);
}
.afj-recipe .sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.afj-recipe .related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.afj-recipe .related-item {
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.afj-recipe .related-item:last-child { border-bottom: none; }
.afj-recipe .related-item a {
  display: block;
  padding: var(--sp-3) 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.afj-recipe .related-item a:hover {
  color: var(--brand);
  padding-left: var(--sp-2);
}
.afj-recipe .related-item br { display: none; }

/* ---------------------------------------------------------------------
   Responsive — two-column from 900px up
   --------------------------------------------------------------------- */
@media (min-width: 600px) {
  .afj-recipe .timers-grid { grid-template-columns: repeat(3, 1fr); }
  .afj-recipe .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .afj-recipe .storage-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .afj-recipe .content-wrap {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
  .afj-recipe .sidebar {
    position: sticky;
    top: calc(var(--summary-bar-h) + var(--sp-4));
  }
  .afj-recipe .article-section { padding: var(--sp-8); }
  .afj-recipe .hero { padding: var(--sp-16) var(--sp-4); }
}

@media (min-width: 1100px) {
  .afj-recipe .tips-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Smaller phones: tighten things up */
@media (max-width: 560px) {
  .afj-recipe { font-size: 15px; }
  .afj-recipe .article-section { padding: var(--sp-5) var(--sp-4); }
  .afj-recipe .action-bar .btn { flex: 1 1 calc(50% - var(--sp-3)); }
  .afj-recipe .summary-item { min-width: 58px; }
  .afj-recipe .s-val { font-size: 0.92rem; }
  .afj-recipe .timer-display { font-size: 2rem; }
  .afj-recipe .section-heading { font-size: 1.3rem; }
  .afj-recipe .step-item { padding: var(--sp-4); gap: var(--sp-3); }
}

/* ---------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .afj-recipe *,
  .afj-recipe *::before,
  .afj-recipe *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .afj-recipe .scroll-arrow { animation: none; }
}

/* ---------------------------------------------------------------------
   Print
   --------------------------------------------------------------------- */
@media print {
  .afj-recipe .summary-bar,
  .afj-recipe .action-bar,
  .afj-recipe .hero-scroll-hint,
  .afj-recipe .video-play-btn,
  .afj-recipe .timers-section,
  .afj-recipe .notes-section,
  .afj-recipe .social-share,
  .afj-recipe .sidebar { display: none !important; }

  .afj-recipe { background: #fff; color: #000; }
  .afj-recipe .article-section,
  .afj-recipe .step-item,
  .afj-recipe .sidebar-card {
    box-shadow: none;
    border-color: #ccc;
    break-inside: avoid;
  }
  .afj-recipe .content-wrap { grid-template-columns: 1fr; }
  .afj-recipe .faq-answer,
  .afj-recipe .step-tip,
  .afj-recipe .var-panel { max-height: none !important; opacity: 1 !important; display: block !important; }
}
