/* ==========================================================================
   Bep Nha Trong — stylesheet
   1. Tokens & theme      5. The & luoi
   2. Reset & typography  6. Bai viet
   3. Header / footer     7. The cong thuc
   4. Trang chu           8. Tien ich & print
   ========================================================================== */

/* ---------------------------------------------------------------- 1. tokens */

:root {
  --paper:      #fdfbf7;
  --paper-2:    #f6f0e6;
  --card:       #ffffff;
  --ink:        #1f1b16;
  --ink-soft:   #4a4239;
  --muted:      #7a6f63;
  --line:       #e7ddcd;
  --line-soft:  #f0e8db;
  --saffron:    #d2801c;
  --saffron-dk: #a45f10;
  --paprika:    #8c2f0d;
  --leaf:       #4f6b3a;
  --head-bg:    rgba(253,251,247,.92);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1120px;
  --col:  720px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(31,27,22,.06), 0 2px 8px rgba(31,27,22,.04);
  --sh-md: 0 2px 6px rgba(31,27,22,.07), 0 12px 32px rgba(31,27,22,.07);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #16130f;
    --paper-2:    #201b16;
    --card:       #1d1915;
    --ink:        #f2ece2;
    --ink-soft:   #cdc3b5;
    --muted:      #9a8f80;
    --line:       #342c24;
    --line-soft:  #2a231d;
    --saffron:    #e5a047;
    --saffron-dk: #eeb463;
    --paprika:    #e0724a;
    --leaf:       #8aa76a;
    --head-bg:    rgba(22,19,15,.92);
    --sh-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.25);
    --sh-md: 0 2px 6px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.35);
  }
}

:root[data-theme="dark"] {
  --paper:      #16130f;
  --paper-2:    #201b16;
  --card:       #1d1915;
  --ink:        #f2ece2;
  --ink-soft:   #cdc3b5;
  --muted:      #9a8f80;
  --line:       #342c24;
  --line-soft:  #2a231d;
  --saffron:    #e5a047;
  --saffron-dk: #eeb463;
  --paprika:    #e0724a;
  --leaf:       #8aa76a;
  --head-bg:    rgba(22,19,15,.92);
  --sh-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.25);
  --sh-md: 0 2px 6px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.35);
}

/* ------------------------------------------------- 2. reset & typography */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--paprika); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--saffron-dk); }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.1rem); margin: 2.6rem 0 .85rem; }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.45rem); margin: 2rem 0 .6rem; }

p { margin: 0 0 1.15rem; }

hr.rule { border: 0; height: 1px; background: var(--line); margin: 2.75rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.col  { width: 100%; max-width: var(--col);  margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* -------------------------------------------------- 3. header / footer */

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--head-bg);
  backdrop-filter: saturate(1.4) blur(8px);
  position: sticky; top: 0; z-index: 40;
}
.site-head__in { display: flex; align-items: center; gap: 1rem; height: 66px; }

.brand {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em;
  display: flex; align-items: center; gap: .55rem; white-space: nowrap;
}
.brand__mark {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-block;
  background: radial-gradient(circle at 32% 30%, #f3c05a, var(--saffron) 55%, var(--paprika));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}

.nav { display: flex; gap: 1.35rem; margin-left: auto; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .875rem;
  font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
  padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--paprika); border-bottom-color: var(--saffron); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--saffron); }

.theme-btn, .menu-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.theme-btn:hover, .menu-btn:hover { background: var(--paper-2); }
.theme-btn__i { font-size: 1rem; line-height: 1; grid-area: 1/1; }
.theme-btn__i--moon { display: none; }
:root[data-theme="dark"] .theme-btn__i--sun { display: none; }
:root[data-theme="dark"] .theme-btn__i--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn__i--sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn__i--moon { display: block; }
}

.menu-btn { display: none; flex-direction: column; gap: 4px; }
.menu-btn span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }

.menu-mb { border-top: 1px solid var(--line); background: var(--card); padding: 1.1rem 0 1.4rem; }
.menu-mb[hidden] { display: none; }
.menu-mb nav { display: flex; flex-direction: column; gap: .1rem; }
.menu-mb nav a {
  color: var(--ink); text-decoration: none; padding: .6rem 0;
  border-bottom: 1px solid var(--line-soft); font-weight: 500;
}
.menu-mb__lbl {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 1.2rem 0 .3rem; font-weight: 700;
}
.menu-mb__cats { flex-direction: row !important; flex-wrap: wrap; gap: .45rem !important; }
.menu-mb__cats a {
  border: 1px solid var(--line) !important; border-radius: 999px;
  padding: .35rem .85rem !important; font-size: .85rem;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: flex; margin-left: auto; }
  .theme-btn { margin-left: auto; }
  .menu-btn { margin-left: 0; }
}
@media (min-width: 861px) { .menu-mb { display: none !important; } }

.site-foot {
  margin-top: 4.5rem; border-top: 1px solid var(--line);
  background: var(--paper-2); padding: 2.8rem 0 2.4rem;
  font-size: .9rem; color: var(--muted);
}
.site-foot__grid {
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  margin-bottom: 2rem;
}
.site-foot__brand {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem;
}
.site-foot__brand .brand__mark { width: 24px; height: 24px; }
.site-foot__lbl {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700; margin-bottom: .5rem;
}
.site-foot__cats { display: flex; flex-direction: column; gap: .3rem; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--paprika); text-decoration: underline; }
.site-foot__legal {
  border-top: 1px solid var(--line); padding-top: 1.3rem;
  font-size: .8125rem; line-height: 1.65; margin: 0; max-width: 78ch;
}

/* ------------------------------------------------------- 4. trang chu */

.hero-band { padding: 3.2rem 0 2.4rem; text-align: center; }
.hero-band__kicker {
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--saffron-dk); font-weight: 700; margin: 0 0 .8rem;
}
.hero-band__h {
  font-size: clamp(2rem, 1.3rem + 3.1vw, 3.3rem); letter-spacing: -.02em;
  margin: 0 auto .9rem; max-width: 18ch; text-wrap: balance;
}
.hero-band__p {
  color: var(--ink-soft); max-width: 56ch; margin: 0 auto 1.6rem;
  font-size: clamp(1rem, .96rem + .3vw, 1.13rem);
}
.hero-band__btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

.tiles {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  margin-bottom: 1rem;
}
.tile {
  position: relative; display: block; border-radius: var(--r-md);
  overflow: hidden; text-decoration: none; aspect-ratio: 4/3;
  box-shadow: var(--sh-sm);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.05); }
.tile__in {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.1rem .95rem;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.35) 55%, transparent);
  color: #fff;
}
.tile__name { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.tile__n { display: block; font-size: .8rem; opacity: .82; margin-top: .15rem; }

.sec-head {
  display: flex; align-items: baseline; gap: 1rem;
  margin: 3rem 0 1.3rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem;
}
.sec-head h2 { margin: 0; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.85rem); }
.sec-head__more { margin-left: auto; font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sec-head__more:hover { text-decoration: underline; }

.lead { margin-bottom: 1.6rem; }
.lead__link {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.6rem; align-items: center;
  text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: box-shadow .2s, transform .2s;
}
.lead__link:hover { box-shadow: var(--sh-md); transform: translateY(-2px); color: inherit; }
.lead__media { aspect-ratio: 3/2; overflow: hidden; }
.lead__media img { width: 100%; height: 100%; object-fit: cover; }
.lead__body { padding: 1.5rem 1.8rem 1.5rem 0; }
.lead__title {
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); margin: .3rem 0 .5rem;
  line-height: 1.22; text-wrap: balance;
}
.lead__sum { color: var(--ink-soft); font-size: .975rem; margin: 0 0 .7rem; }
@media (max-width: 760px) {
  .lead__link { grid-template-columns: 1fr; gap: 0; }
  .lead__body { padding: 1.2rem 1.3rem 1.4rem; }
}

.poplist { list-style: none; padding: 0; margin: 0; counter-reset: p;
  display: grid; gap: .1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.poplist li { counter-increment: p; }
.poplist a {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .85rem .4rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.poplist a::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  color: var(--saffron); flex: none;
}
.poplist a:hover .poplist__t { color: var(--paprika); text-decoration: underline; }
.poplist__t { font-weight: 500; }
.poplist__c { margin-left: auto; font-size: .8rem; color: var(--muted); white-space: nowrap; }

.cta {
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.8rem; margin: 3rem 0 1rem;
}
.cta h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.cta p { margin: 0; color: var(--ink-soft); font-size: .96rem; max-width: 62ch; }
.cta .btn { margin-left: auto; flex: none; }

/* -------------------------------------------------------- 5. the & luoi */

.grid {
  display: grid; gap: 1.5rem 1.3rem;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
}

.card { background: transparent; }
.card__link {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm);
  transition: box-shadow .2s, transform .2s;
}
.card__link:hover { box-shadow: var(--sh-md); transform: translateY(-3px); color: inherit; }
.card__media { aspect-ratio: 3/2; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card__cat {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--saffron-dk); font-weight: 700; margin: 0 0 .35rem;
}
.card__title {
  font-size: 1.14rem; margin: 0 0 .45rem; line-height: 1.28; text-wrap: balance;
}
.card__sum { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .8rem; line-height: 1.6; }
.card__meta { font-size: .78rem; color: var(--muted); margin: auto 0 0; }
.card--sm .card__title { font-size: 1.02rem; }
.card--sm .card__body { padding: .85rem 1rem 1rem; }

.arch-head { margin: 1.2rem 0 1.4rem; max-width: 62ch; }
.arch-head h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.7rem); margin: 0 0 .6rem; letter-spacing: -.02em; }
.arch-head p { color: var(--ink-soft); margin: 0 0 .5rem; }
.arch-head__n { font-size: .82rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.chip {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  transition: background .15s, border-color .15s;
}
.chip:hover { background: var(--paper-2); border-color: #d8cbb4; color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.empty { color: var(--muted); padding: 2.5rem 0; text-align: center; }

.notfound { text-align: center; padding: 3.5rem 0 4rem; }
.notfound__n {
  font-family: var(--serif); font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 800; color: var(--saffron); line-height: 1; margin: 0 0 .5rem; opacity: .35;
}
.notfound h1 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.4rem); margin: 0 0 .8rem; }
.notfound p { color: var(--ink-soft); }

/* ---------------------------------------------------------- 6. bai viet */

.crumbs {
  font-size: .8125rem; color: var(--muted); margin: 1.75rem 0 1.1rem;
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--paprika); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

.post-title {
  font-size: clamp(2.05rem, 1.35rem + 3vw, 3.35rem);
  letter-spacing: -.02em; margin: 0 0 .85rem; text-wrap: balance;
}
.dek {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem);
  color: var(--ink-soft); margin: 0 0 1.35rem; text-wrap: pretty;
}
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem;
  font-size: .875rem; color: var(--muted);
  padding-bottom: 1.35rem; border-bottom: 1px solid var(--line);
}
.byline strong { color: var(--ink); font-weight: 600; }
.byline .dot { opacity: .45; }

.jump-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.35rem 0 1.9rem; }

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font: inherit; font-size: .9rem; font-weight: 600;
  padding: .6rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--paper-2); border-color: #d8cbb4; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--paprika); border-color: var(--paprika); color: #fff; }
.btn--primary:hover { background: #74260a; border-color: #74260a; color: #fff; }
:root[data-theme="dark"] .btn--primary:hover { background: #f0865c; border-color: #f0865c; color: #1a1512; }
.btn[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }

figure { margin: 2rem 0; }
figure img { border-radius: var(--r-md); box-shadow: var(--sh-sm); width: 100%; }
figcaption {
  font-size: .8375rem; color: var(--muted); margin-top: .65rem;
  text-align: center; font-style: italic;
}
.fig--hero { margin: 0 0 2.25rem; }
.fig--hero img { border-radius: var(--r-lg); box-shadow: var(--sh-md); }

.note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.1rem 1.25rem; margin: 1.9rem 0; font-size: .975rem;
}
.note p:last-child { margin-bottom: 0; }
.note__label {
  display: block; font-weight: 700; font-size: .78rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--saffron-dk); margin-bottom: .35rem;
}
.note--warn { border-left-color: var(--paprika); }
.note--warn .note__label { color: var(--paprika); }

.keygrid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 1.6rem 0 2.2rem; padding: 0; list-style: none;
}
.keygrid li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.05rem 1.15rem; box-shadow: var(--sh-sm);
}
.keygrid h4 { margin: 0 0 .35rem; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.keygrid .em { font-size: 1.15rem; }
.keygrid p { margin: 0; font-size: .925rem; color: var(--ink-soft); line-height: 1.65; }

.steps { counter-reset: st; list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.steps > li { counter-increment: st; position: relative; padding-left: 3.2rem; margin-bottom: 1.5rem; }
.steps > li::before {
  content: counter(st);
  position: absolute; left: 0; top: -2px;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--saffron); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
}
:root[data-theme="dark"] .steps > li::before { color: #1a1512; }
.steps > li > strong { display: block; margin-bottom: .15rem; font-size: 1.02rem; }
.steps p { margin: 0 0 .6rem; }
.steps figure { margin: .9rem 0 0; }

.faq { margin: 1.5rem 0 2.4rem; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); margin-bottom: .7rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: .95rem 1.15rem; font-weight: 600;
  list-style: none; display: flex; align-items: center; gap: .75rem; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; color: var(--saffron-dk);
  font-size: 1.4rem; line-height: 1; font-weight: 400; transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--paper-2); }
.faq .faq__body { padding: 0 1.15rem 1.1rem; font-size: .975rem; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------ 7. the cong thuc */

.recipe {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--saffron);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: clamp(1.35rem, .9rem + 1.8vw, 2.4rem);
  margin: 3rem 0; scroll-margin-top: 90px;
}
.recipe__kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--saffron-dk); margin: 0 0 .5rem;
}
.recipe__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem); margin: 0 0 .6rem; }
.recipe__sum { color: var(--ink-soft); margin: 0 0 1.35rem; font-size: .99rem; }

.meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; margin: 0 0 1.5rem;
}
.meta div { background: var(--card); padding: .8rem .5rem; text-align: center; }
.meta dt {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .2rem;
}
.meta dd { margin: 0; font-weight: 600; font-size: .96rem; }

.recipe__tools { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.6rem; align-items: center; }
.scaler {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1px solid var(--line); border-radius: 999px; padding: .25rem;
  background: var(--paper-2);
}
.scaler span { font-size: .82rem; color: var(--muted); padding: 0 .5rem 0 .65rem; }
.scaler button {
  font: inherit; font-size: .85rem; font-weight: 600;
  border: 0; background: transparent; color: var(--ink-soft);
  padding: .4rem .8rem; border-radius: 999px; cursor: pointer;
}
.scaler button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.recipe h3 {
  margin: 1.9rem 0 .8rem; font-size: 1.28rem;
  padding-bottom: .45rem; border-bottom: 2px solid var(--line-soft);
}
.recipe h3:first-of-type { margin-top: 0; }

.ings { list-style: none; padding: 0; margin: 0 0 .5rem; }
.ings li { border-bottom: 1px dashed var(--line); }
.ings label {
  display: flex; gap: .75rem; align-items: baseline;
  padding: .62rem .2rem; cursor: pointer; font-size: .985rem;
}
.ings input { margin: 0; accent-color: var(--leaf); width: 1.05rem; height: 1.05rem; flex: none; position: relative; top: .18rem; }
.ings input:checked + .ings__txt { color: var(--muted); text-decoration: line-through; }
.ings__q { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ings__sub { display: block; font-size: .845rem; color: var(--muted); margin-top: .1rem; text-decoration: none; }
.ings__group {
  font-size: .76rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--saffron-dk); font-weight: 700; margin: 1.1rem 0 .3rem;
}
.ings__group:first-of-type { margin-top: 0; }

.dirs { counter-reset: d; list-style: none; padding: 0; margin: 0; }
.dirs li { counter-increment: d; position: relative; padding-left: 2.6rem; margin-bottom: 1.15rem; font-size: .985rem; }
.dirs li::before {
  content: counter(d) ".";
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-weight: 700; color: var(--saffron); font-size: 1.15rem;
}
.dirs li:last-child { margin-bottom: 0; }

.nutri { margin-top: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.1rem; font-size: .87rem; color: var(--muted); }
.nutri__row { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-bottom: .55rem; }
.nutri b { color: var(--ink-soft); }

.author {
  display: flex; gap: 1.15rem; align-items: flex-start;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.4rem; margin: 2.75rem 0;
}
.author__ava {
  width: 62px; height: 62px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, #f3c05a, var(--saffron) 58%, var(--paprika));
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
}
.author h4 { margin: 0 0 .3rem; font-size: 1.12rem; }
.author p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* --------------------------------------------------- 8. tien ich & print */

.sticky-jump {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 130%);
  z-index: 45; box-shadow: var(--sh-md); transition: transform .25s ease;
}
.sticky-jump.is-on { transform: translate(-50%, 0); }

body.cookmode .site-head, body.cookmode .sticky-jump { display: none; }

@media print {
  .site-head, .nav, .menu-mb, .jump-row, .sticky-jump, .site-foot, .author,
  .related, .grid, .faq, figure, .note, .recipe__tools, .crumbs, .theme-btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .recipe { box-shadow: none; border: 1px solid #999; page-break-inside: avoid; margin: 0; }
  a { text-decoration: none; color: #000; }
}
