/* Selectors observed on posnirecepti.com on 2026-10-12, not a tagDiv API.
   No generated tdi_* IDs, theme PHP calls, content rewriting or layout grid overrides.
   Every rule is gated by the plugin's server-side body class. */
body.prs-recipe-style .tdb-single-title h1.tdb-title-text {
 font-size: clamp(1.8rem, 4.6vw, 2.8rem) !important;
 line-height: 1.18 !important;
 letter-spacing: -0.02em;
 overflow-wrap: break-word;
}
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(p, ul, ol, h2, h3, h4, blockquote, hr) {
 max-width: 70ch;
 box-sizing: border-box;
}
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(p, ul, ol) {
 font-size: 18px !important;
 line-height: 1.75 !important;
 color: #29352e;
 overflow-wrap: break-word;
 margin-bottom: 1.25em;
}
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(ul, ol) > li {
 font-size: inherit !important;
 line-height: inherit !important;
 margin-bottom: 0.65em;
}
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(h2, h3, h4) {
 font-size: clamp(1.35rem, 3.2vw, 1.75rem) !important;
 line-height: 1.3 !important;
 color: #254a37;
 margin-top: 1.8em;
 margin-bottom: 0.8em;
 overflow-wrap: break-word;
}
/* All top-level lists are styled alike; ingredient text is never guessed or parsed. */
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(ul, ol) {
 background: #f4f7f1;
 border: 1px solid #dbe5d4;
 border-radius: 12px;
 padding: 1.15em 1.1em 0.6em 2.3em;
 list-style-position: outside;
}
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > hr {
 border: 0;
 border-top: 1px solid #dbe5d4;
 margin-top: 1.75rem;
 margin-bottom: 1.75rem;
}
/* The sampled template uses negative margins on centered inline images on phones. */
@media (max-width: 767px) {
 body.prs-recipe-style .tdb_single_content > .tdb-block-inner > img.aligncenter,
 body.prs-recipe-style .tdb_single_content > .tdb-block-inner > p > img.aligncenter {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
 }
}
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(p, ul, ol) a {
 color: #285d3e;
 text-decoration: underline;
 text-underline-offset: 0.18em;
}
body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(p, ul, ol) a:focus-visible {
 outline: 3px solid #9b5b13;
 outline-offset: 3px;
}
@media (min-width: 768px) {
 body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(p, ul, ol) {
  font-size: 19px !important;
 }
}
@media print {
 body.prs-recipe-style .tdb_single_content > .tdb-block-inner > :is(p, ul, ol) {
  font-size: 12pt !important;
  color: #000;
  background: transparent;
 }
}
