/* budapest-tourist.info – theme layer (small, deliberate tweaks on top of the legacy stylesheet).
   Loaded after the legacy CSS; rules are prefixed with "body" to win over stylesheets the legacy site injects later.
   Switch on/off: "theme.enabled" in config/site.json (raise "theme.version" after editing so browsers reload it). */
:root {
  --bt-hero-height: 400px;         /* height of the top picture on sub pages (desktop) */
  --bt-hero-height-tablet: 300px;  /* up to 991px wide */
  --bt-hero-height-mobile: 200px;  /* up to 575px wide */
}

/* Sub pages: the top picture is cropped to a lower band instead of showing the whole 1920x700 image.
   The homepage slider and the accommodation pages are not affected. */
body .promoart-holder > .promoart-block,
body .promoart-holder > .promoart-block picture,
body .promoart-holder > .promoart-block .promoart-img,
body .promoart-holder > img {
  display: block;
  width: 100%;
  height: var(--bt-hero-height);
  object-fit: cover;
  object-position: center;
}
@media (max-width: 991px) {
  body .promoart-holder > .promoart-block,
  body .promoart-holder > .promoart-block picture,
  body .promoart-holder > .promoart-block .promoart-img,
  body .promoart-holder > img { height: var(--bt-hero-height-tablet); }
}
@media (max-width: 575px) {
  body .promoart-holder > .promoart-block,
  body .promoart-holder > .promoart-block picture,
  body .promoart-holder > .promoart-block .promoart-img,
  body .promoart-holder > img { height: var(--bt-hero-height-mobile); }
}

/* Unified "send your request by e-mail" call-out (markup: src/lib/contactbox.mjs). Square corners, soft accent card. */
body .bt-contact { display: flex; align-items: center; gap: 16px; margin: 22px 0; padding: 14px 18px; background: #fff8ec; border: 1px solid #f3e0b8; border-left: 5px solid #f6a21e; }
body .bt-contact .bt-contact-ico { flex: 0 0 48px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #f6a21e; color: #fff; text-decoration: none; }
body .bt-contact .bt-contact-ico:hover { background: #e59416; }
body .bt-contact .bt-contact-text { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; color: #333; }
body .bt-contact .bt-contact-text a { color: #c77a05; font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
body .bt-contact .bt-contact-text a:hover { color: #8f5703; }
@media (max-width: 575px) { body .bt-contact { gap: 12px; padding: 12px; } body .bt-contact .bt-contact-ico { flex-basis: 40px; width: 40px; height: 40px; } }
