@font-face {
  font-family: 'dancing_script_otregular';
  src: url('/dancingscript-regular-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 1.5em;
  font-family: Georgia, "Times New Roman", serif;
  color: #000;
  background: #fff;
}

.print-page {
  position: relative;
  max-width: 45em;
  margin: 0 auto;
  z-index: 1;
}

.print-watermark {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.print-watermark img {
  width: min(70vw, 28em);
  opacity: 0.07;
}

.print-brand {
  text-align: center;
  margin-bottom: 1.25em;
  padding-bottom: 0.75em;
  border-bottom: 2px solid #297a52;
}

.print-site-name {
  display: block;
  font-family: dancing_script_otregular, Georgia, serif;
  font-size: 2.25em;
  color: #523370;
  line-height: 1.1;
}

.print-site-url {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #297a52;
  margin-top: 0.15em;
}

.print-page h1 {
  font-size: 1.75em;
  margin: 0 0 0.75em;
  text-align: left;
  color: #000;
}

.print-page h2 {
  font-size: 1.15em;
  margin: 1.25em 0 0.5em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25em;
  color: #297a52;
}

.print-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
  gap: 0.75em 1.5em;
  margin: 0 0 1em;
}

.print-meta div {
  margin: 0;
}

.print-meta dt {
  font-size: 0.75em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  color: #523370;
}

.print-meta dd {
  margin: 0.15em 0 0;
}

.print-ingredients {
  margin: 0;
  padding-left: 1.25em;
}

.print-ingredients li {
  margin: 0.35em 0;
}

.print-instructions {
  white-space: pre-wrap;
  line-height: 1.5;
}

.print-footer {
  margin-top: 2em;
  padding-top: 0.75em;
  border-top: 1px solid #ccc;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75em;
  color: #297a52;
}

.print-actions {
  display: flex;
  gap: 1em;
  align-items: center;
  margin-bottom: 1.5em;
}

button,
.print-button,
.print-actions a {
  background: #297a52;
  color: #ffd633;
  border: 2px solid #523370;
  border-radius: 0.5em;
  padding: 0.45em 1.25em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 0.95em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
  line-height: 1.3;
}

button:hover,
.print-button:hover,
.print-actions a:hover {
  background: #523370;
  color: #ffffff;
}

.print-error {
  color: #800;
}

@media print {
  body {
    margin: 0;
  }

  .no-print {
    display: none !important;
  }

  .print-page {
    max-width: none;
  }

  .print-watermark img {
    opacity: 0.05;
  }

  a[href]::after {
    content: none;
  }
}
