/* Site text, including typefaces embedded in older DLE articles. */
:where(html, body, body *):not(:where(
  .fa, .fab, .fad, .fal, .far, .fas, [class^="bb-btn"], [class*=" bb-btn"],
  svg, svg *, .native-emoji, .emoji_list, .emoji_list *,
  #popupOverlay, #popupOverlay *, #customPopupBox, #customPopupBox *,
  [data-dlebid], [data-dlebid] *, .adsbygoogle, .adsbygoogle *
)) {
  font-family: Arial, sans-serif !important;
}

:root {
  --rp-title: #555;
  --rp-gold-text: #795900;
  --rp-gold-soft: #fff2c4;
  --rp-page-size: clamp(1.4375rem, 1.22rem + .8vw, 1.75rem);
  --rp-section-size: clamp(1.1875rem, 1.06rem + .6vw, 1.4375rem);
  --rp-card-size: clamp(1rem, .92rem + .33vw, 1.125rem);
}

.rp-main > h1, .rp-searchpanel h1, .rp-form h1, .rk-page h1, .rp-heading h1.rp-recipe-title,
.rp-stream .berrors h1, .rp-main .rp-original h1 {
  font-size: var(--rp-page-size);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--rp-title);
  overflow-wrap: anywhere;
}
.rp-feature-copy h2 {
  font-size: clamp(1.375rem, .75rem + 1.75vw, 2.375rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.rp-section-head h2, .rp-recipe .rp-section-head h2, .rp-recipe-body h2, .rp-readers h2,
.rk-comments h2, .rk-page h2, .rk-privacy section h2, .rp-original h2 {
  color: var(--rp-title);
  font-size: var(--rp-section-size);
  line-height: 1.24;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.rp-card h3, .rk-page h3, .rk-page .rk-fridge-card h3, .rp-original h3 {
  color: var(--rp-title);
  font-size: var(--rp-card-size);
  line-height: 1.27;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
.rp-card h3 a { color: inherit; }
.rp-card h3 a:hover { color: #383838; }
.rp-side-picks h2 { font-size: 1.125rem; }
.rp-pick { color: #484848; }

body a:any-link, body a:any-link:hover { text-decoration: none !important; }
.rp-crumb, .rp-crumb a, .rk-photo-column .rp-crumb, .rk-photo-column .rp-crumb a,
.rk-privacy a, .rk-inline-link, .rk-auth-links a, .rk-join a, .rk-account-form .rk-form > a,
.rk-book-link, .rk-cart-link, .rk-toast a, .rk-row-actions .rk-link,
.rp-side-picks h2, .rp-more, .rp-section-head > a, .rp-feed-skip { color: var(--rp-gold-text); }
.rk-privacy a:not(.rk-button), .rk-inline-link, .rk-auth-links a, .rk-book-link, .rk-cart-link {
  font-weight: 600;
}
.rk-privacy a:hover, .rk-inline-link:hover, .rp-crumb a:hover, .rk-auth-links a:hover,
.rk-join a:hover, .rp-section-head > a:hover, .rp-more:hover { color: #604700; background-color: var(--rp-gold-soft); }
.rk-privacy-index a { padding-inline: 7px; border-radius: 4px; background: #fff3ca; }

/* Text fields use a quiet filled focus state. Keyboard-operated controls keep a visible indicator. */
body form :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select):focus {
  outline: none;
  border-color: #9ea7aa;
  background-color: #f1f5f6;
  box-shadow: none;
}
.rp-head .rp-find { border: 0; background: transparent; }
.rp-find .rp-search-icon { background: white; border: 1px solid #cfd2d4; border-right: 0; border-radius: 7px 0 0 7px; }
.rp-head .rp-find input[name=story] { background: white; border: 0; border-block: 1px solid #cfd2d4; }
.rp-head .rp-find:focus-within .rp-search-icon, .rp-head .rp-find input[name=story]:focus { background: #f1f5f6; border-color: #9ea7aa; }
.rp-head .rp-find button { border: 0; box-shadow: none; }
.rp-head .rp-submit-link .rp-add-text { font: inherit; }
.rp-head .rp-add-symbol { display: inline-grid; place-items: center; line-height: 1; }

.rk-contact .rk-message-success { background: #e4f4e7; color: #215b35; font-weight: 600; }
.rk-contact .rk-message[role=alert] { background: #fff0eb; color: #7c3116; }
.rk-fridge.rk-form { width: 100%; max-width: none; gap: 10px; }
.rk-fridge .rk-chips { gap: 7px; }
.rk-fridge .rk-chip { background: #fff3ce; color: #5d4706; border: 0; padding-inline: 12px; }
.rk-fridge .rk-chip:hover { background: #ffe69c; }
.rk-fridge .rk-check { font-weight: 400; }
.rk-fridge-results .rp-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.rk-fridge-results .rk-fridge-card :is(.rk-match, .rk-missing) {
  margin: 0 12px 5px; font-size: .875rem; line-height: 1.4; overflow-wrap: anywhere;
}
.rk-fridge-card .rk-match strong { color: #345c39; }
.rk-fridge-card .rk-missing strong { color: #745813; }
.rk-fridge-card .rp-card-foot { padding-top: 7px; }
.rk-fridge-results h2 { margin-top: 22px; }
.rp-home-tools { padding: 14px 16px 0; margin: 0 0 12px; }
.rp-home-tools .rp-mobile-tool { display: none; }
#rp-tips-heading, #rp-recipes-heading { scroll-margin-top: 12px; }
@media (max-width: 740px) {
  .rp-head { grid-template-columns: minmax(0,1fr) 44px 44px; grid-template-areas: "brand account menu" "search search add"; }
  .rp-head .rk-account-menu { grid-area: account; margin: 0; }
  .rp-head .rp-submit-link { width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; }
  .rp-head .rp-submit-link .rp-add-text { display: none; }
  .rp-head .rp-submit-link .rp-add-symbol { font-size: 26px; }
  .rp-home-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 6px 0; }
  .rp-home-tools .rk-fridge-shortcut { flex: 0 0 100%; }
  .rp-home-tools .rp-mobile-tool {
    display: flex; flex: 1 1 calc((100% - 12px) / 3); min-width: 0; align-items: center; gap: 6px; min-height: 44px; padding: 5px 8px;
    border-radius: 5px; font: 700 .8125rem/1.22 Arial,sans-serif; color: #484848; background: var(--rp-nav-surface);
  }
  .rp-home-tools .rp-tips-link { color: #705300; background: var(--rp-gold-soft); }
  .rp-home-tools .rp-mobile-tool:hover { background: var(--rp-nav-active); }
  .rk-fridge-results .rp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 9px; }
  .rk-fridge-results .rk-fridge-card :is(.rk-match, .rk-missing) { margin-inline: 9px; font-size: .8125rem; }
  .rk-page .rk-fridge-card h3 { margin-inline: 9px; }
}
@media (max-width: 410px) {
  .rp-home-tools .rp-mobile-tool { flex-basis: calc((100% - 6px) / 2); }
}
@media screen and (max-width: 740px) {
  .rp-back-top:not([hidden]) {
    position: fixed; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom,0px));
    z-index: 30; display: grid; place-items: center; width: 44px; height: 44px;
    background: #fafafa; color: #555; border: 1px solid #d7d7d7; border-radius: 5px;
  }
}

.rp-main:not(.rp-main-home) > .rp-crumb { margin: 0 0 12px; }
.rp-main .rk-page > h1:first-child, .rp-main .rp-form, .rp-main .rp-searchpanel > h1:first-child { margin-top: 0; }
.rp-main .rp-form { max-width: none; }
.rp-main .rk-form, .rp-main .rp-form > form { background: var(--rp-nav-surface); padding: clamp(14px,2vw,20px); border-radius: 7px; }
.rp-main .rk-page > .rk-form:last-child, .rp-main .rp-form:last-child { margin-bottom: 0; }
.rp-form h1::before { content: ""; display: block; width: 40px; height: 4px; background: var(--orange); margin: 0 0 12px; }
.rp-form > form > .rp-orange { border-radius: 5px; }
.rp-main .rk-page .rk-shopping { background: var(--rp-recipe-surface); margin-block: 10px 0; padding-inline: 12px; }
.rk-cart-source .rk-row-actions { overflow-wrap: anywhere; }
.rk-cart-products .rk-shopping li:last-child { border-bottom: 0; }
@media (max-width: 480px) {
  .rp-main .rk-form, .rp-main .rp-form > form { padding: 12px; }
  .rk-comment-foot button { margin-left: auto; }
}
