/* Urticaria: mobile layout (Boris, 2026-12-02). Only below 760px; desktop looks as before. */
.yt-embed { display: inline-block; max-width: 100%; }
.yt-embed iframe { border: 0; max-width: 100%; }
@media screen and (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { margin: 0 !important; background-image: none !important; overflow-wrap: break-word; word-wrap: break-word; }
  table, tbody, thead, tr, td, th, caption { display: block !important; width: auto !important; max-width: 100% !important; height: auto !important; box-sizing: border-box; float: none !important; }
  td, th { display: flow-root !important; }
  body > table:first-of-type { background: #86b9cd; }
  td[background*="header-top"] { background-size: 100% auto !important; background-repeat: no-repeat !important; background-color: #fff !important; padding: 40px 14px 0 !important; }
  td[background*="grd.png"] { background-image: none !important; background-color: #fff !important; }
  td[background*="grd.png"] > table > tbody > tr > td { padding-left: 14px; padding-right: 14px; }
  td[background*="grd.png"] > table#footer > tbody > tr > td { padding: 0; }
  /* empty side columns */
  td[width="60"], td[width="64"], td[width="31"], td[background*="header-top"] > p[align="center"]:first-child:not(:has(img, font, b, a)), img[src*="grds.png"], img[src*="grdd.png"] { display: none !important; }
  img { max-width: 100% !important; height: auto !important; }
  img[align="left"], img[align="right"] { float: none !important; display: block; margin: 12px auto !important; }
  img[src*="lock.jpg"] { float: left !important; display: inline; margin: 0 10px 4px 0 !important; max-width: 40px !important; }
  p, li, td, .text, .text span { text-align: left; }
  p[align="justify"], div[align="justify"], td[align="justify"] { text-align: left !important; }
  td[align="center"].text3, td[align="center"].text3 p, p[align="center"], h1, h2, h3, div[align="center"], center { text-align: center !important; }
  p, li, div, span, td, td.text { line-height: 1.6 !important; }
  .text, .text2, p, li { font-size: 17px; }
  h1, h2, h3, h4, .text3, font[size="5"], font[size="6"], font[size="7"] { line-height: 1.3 !important; }
  h1, h1 font { font-size: 25px !important; }
  h2, h2 font { font-size: 21px !important; }
  h3, h3 font { font-size: 19px !important; }
  .text3, .text4, font[size="6"], font[size="7"] { font-size: 25px !important; }
  font[size="5"] { font-size: 22px !important; }
  font[size="2"], font[size="3"] { font-size: 17px; }
  font[size="1"] { font-size: 14px; }
  .yt-embed { display: block !important; float: none !important; width: 100% !important; margin: 12px auto !important; }
  .yt-embed iframe { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
  iframe, object, embed, video { max-width: 100% !important; }
  .text-footer { padding: 10px 14px !important; }
  a.link_footer, a.link_footer:visited { display: inline-block; font-size: 16px !important; line-height: 1.4 !important; padding: 7px 2px; }
  input, textarea, select { max-width: 100% !important; box-sizing: border-box; font-size: 16px !important; }
  input[type="text"], input:not([type]), textarea { width: 100% !important; padding: 8px; }
  input[type="submit"], input[type="reset"], button { padding: 10px 18px; }
  form td[align="right"] { text-align: left !important; }
  pre { white-space: pre-wrap; }
}
@media screen and (max-width: 760px) {
  /* header strip is cut at the bottom of the curve */
  td[background*="header-top"] { padding-top: 24px !important; }
  #WFItem101997, #WFItem101997 .wf-body, #WFItem101997 .wf-header { max-width: 100% !important; }
}
