/* dishoftheroad.xyz: warm food-magazine look (item 28). Espresso #2B1D14 on cream #FFF8EC, tomato #B23A1F for
   headlines, mustard #F2B134 and butter #F6E3C3 for rules and panels. DM Serif Display (SIL OFL, self-hosted) for the
   name and headlines; body in a warm sans. A cover photo, a three-plate spread and recipe-card boxes. */
@font-face { font-family: "DM Serif DR"; src: url("/pantry/dr-dmserif.woff2") format("woff2"); font-display: swap; }
html { font-size: 18px; }
body.dr { margin: 0; color: #2B1D14; background: #FFF8EC; line-height: 1.65;
  font-family: "Avenir Next", Avenir, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.dr-col { width: min(60rem, 100% - 3rem); margin-inline: auto; } /* item 29: a real measure, about 100px of margin at 1280 */
.dr-jump { position: absolute; transform: translateY(-200%); }
.dr-jump:focus { transform: none; background: #2B1D14; color: #FFF8EC; padding: .5rem; z-index: 3; }
h1, h2, h3, .dr-logo-word { font-family: "DM Serif DR", Georgia, "Times New Roman", serif; font-weight: 400; }
h1, h2, h3 { color: #B23A1F; line-height: 1.12; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: .3rem 0 .8rem; }
h2 { font-size: 1.9rem; margin-top: 2.4rem; }
h3 { font-size: 1.25rem; margin: 0 0 .4rem; }
a { color: #7A2616; text-underline-offset: .18em; }
:focus-visible { outline: 3px dashed #B23A1F; outline-offset: 3px; }

/* masthead: the plate-and-road logo centred over a ruled nav, like a magazine cover line */
.dr-top { padding: 1.2rem 0 0; text-align: center; }
.dr-name { display: inline-block; text-decoration: none; }
.dr-logo { display: block; width: min(460px, 86vw); height: auto; }
.dr-logo-word { font-size: 46px; font-style: italic; fill: #B23A1F; }
.dr-menu { list-style: none; margin: .7rem 0 0; padding: .55rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2rem;
  border-top: 1px solid #2B1D14; border-bottom: 4px double #2B1D14; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.dr-menu a { color: #2B1D14; font-weight: 700; text-decoration: none; }
.dr-menu a[aria-current="page"], .dr-menu a:hover { color: #B23A1F; }
.dr-flag { background: #F6E3C3; border-left: 5px solid #B23A1F; padding: .45rem .8rem; font-size: .9rem; margin: 1rem 0; }
.dr-overline { font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; color: #5E4A3A; margin-bottom: 0; }

/* the cover: a big plate photo, the headline on a cream card that overlaps it */
.dr-cover { display: grid; margin: .6rem 0 1.4rem; }
.dr-photo { margin: 0; }
.dr-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.dr-photo figcaption { font-family: "DM Serif DR", Georgia, serif; font-style: italic; font-size: .98rem; line-height: 1.4; padding-top: .45rem; }
.dr-photo-credit { display: block; font: .76rem/1.4 "Avenir Next", Avenir, "Segoe UI", sans-serif; color: #5E4A3A; font-style: normal; }
.dr-photo-cover img { aspect-ratio: 4 / 3; border-radius: 4px; }
.dr-platter { background: #FFF8EC; padding: 1.2rem 0; }
@media (min-width: 58rem) {
  .dr-cover { grid-template-columns: 7fr 5fr; align-items: center; }
  .dr-photo-cover { grid-column: 1 / 2; grid-row: 1; }
  .dr-platter { grid-column: 2 / 3; grid-row: 1; margin-left: -5rem; padding: 2rem 2.2rem; border-top: 6px solid #F2B134; box-shadow: 0 20px 40px -24px rgb(43 29 20 / .5); position: relative; }
}
.dr-platter > p:last-child { font-size: 1.1rem; }

/* the spread: three plates in a row with italic captions */
.dr-spread { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 1rem 0 2rem; padding: 1.4rem 0; border-top: 1px solid #D9C3A0; border-bottom: 1px solid #D9C3A0; }
.dr-spread .dr-photo img { aspect-ratio: 1; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 1px #D9C3A0; }
.dr-spread .dr-photo figcaption { text-align: center; }
.dr-pagetop { display: grid; gap: 1.6rem; align-items: center; margin-bottom: 1rem; }
@media (min-width: 50rem) { .dr-pagetop { grid-template-columns: 18rem 1fr; } }
.dr-photo-side img { aspect-ratio: 4 / 3; border-radius: 4px; }

/* recipe-card boxes */
.dr-box { border: 1px solid #D9C3A0; border-radius: 4px; background: #fff; padding: 1.2rem 1.4rem; margin: 1.4rem 0; box-shadow: 0 2px 0 #F6E3C3; }
.dr-box > h2:first-child { margin-top: 0; border-bottom: 2px solid #F2B134; padding-bottom: .3rem; font-size: 1.6rem; }
.dr-signup { background: #F6E3C3; border-color: #E2C79A; }
.dr-signup ul { list-style: none; padding: 0; columns: 2 18rem; column-gap: 2rem; }
.dr-signup li { break-inside: avoid; padding: .35rem 0 .35rem 1.4rem; position: relative; }
.dr-signup li::before { content: ""; position: absolute; left: 0; top: .85rem; width: .6rem; height: .6rem; border-radius: 50%; background: #B23A1F; }
.dr-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.dr-trivia { margin: 0; border-top: 5px solid #B23A1F; }
.dr-trivia h3 { font-size: 1.1rem; color: #5E4A3A; text-transform: uppercase; letter-spacing: .1em; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-weight: 800; }
.dr-trivia p:first-of-type { font-family: "DM Serif DR", Georgia, serif; font-size: 1.25rem; line-height: 1.35; }
.dr-cite, .dr-fineline, .dr-quiet { font-size: .88rem; }
.dr-quiet { color: #5E4A3A; }
.dr-options { padding-left: 1.2rem; }
.dr-turn { font-weight: 700; color: #B23A1F; cursor: pointer; margin-left: .35rem; }
.dr-back { display: none; border-top: 2px dashed #B23A1F; padding-top: .5rem; }
.dr-turn-box:checked ~ .dr-back { display: block; }
.dr-entry { display: block; margin: .6rem 0; font-weight: 600; }
.dr-entry input { display: block; font: inherit; margin-top: .2rem; padding: .45rem .6rem; border: 2px solid #2B1D14; border-radius: 4px; width: 12rem; }
.dr-scaler-box button { font: inherit; font-weight: 700; background: #B23A1F; color: #fff; border: 0; border-radius: 999px; padding: .6rem 1.3rem; cursor: pointer; }
.dr-result { font-size: 1.2rem; font-weight: 700; min-height: 1.6em; }
.dr-credits li { margin-bottom: .6rem; }
.dr-plain { font-size: .8rem; overflow-wrap: anywhere; color: #5E4A3A; }
.dr-bottom { margin-top: 3rem; background: #2B1D14; color: #F6E3C3; padding: 1.4rem 0 2.4rem; font-size: .9rem; border-top: 6px solid #F2B134; }
.dr-bottom a { color: #FFD98A; }
.config-error, .config-error-inline { display: inline-block; border: 2px solid #8B0000; background: #FFF0EE; color: #5A0000; padding: .4rem .6rem; }
.dr-credits li { overflow-wrap: anywhere; } /* item 29: long source addresses wrap on phones */
