/*
 * Additions to main.css. main.css was built from the .less files in the former project
 * (see main.css.map); there is no build here, so new rules go into this file, loaded after main.css.
 */

/* home page: category teasers are h2 (were h1), their link lists h3 (were h2); same look as before */
.homebox h2 { font-size: 20px; margin-top: 0; margin-bottom: 4px; border-bottom-width: 6px; padding-bottom: 3px; line-height: 1; }
.homebox h2 a { text-decoration: none; }
.homebox h2 a:hover, .homebox h2 a:visited { color: #616936; }
.homebox .rpb-linklistsubpages h3 { font-size: 18px; margin-top: 24px; margin-bottom: 6px; border-bottom-width: 4px; padding-bottom: 0; line-height: inherit; }

/* image and text block: heading copy for small screens is a p (was a second h2); same look as before */
.linklist-wp .linklist-small-header { font-family: 'Trebuchet MS', sans-serif; color: #757f42; font-weight: 400; font-size: 18px; margin-top: 0; margin-bottom: 6px; }

/* gallery: title bar is a p (was an h2 repeating the h1); same look as before */
.galerie-img-title { font-family: 'Trebuchet MS', sans-serif; font-size: 18px; font-weight: 400; }

/* home page h1: present for search engines and screen readers, visually restrained (small, no underline) */
.home-title { font-size: 14px; line-height: 1.4; border-bottom: 0; margin: 0 0 16px; padding: 0; }

/* tour pages: fixed bar with request and call on small screens (same breakpoint as the one-column layout) */
.mobile-cta { display: none; }
@media only screen and (max-width: 599px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -1px 6px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); background-color: #99ab39; }
  .mobile-cta a { flex: 1; text-align: center; padding: 12px 0; font-size: 18px; text-decoration: none; background-color: #b8c95c; }
  .mobile-cta a + a { border-left: 1px solid #fff; }
  .mobile-cta a:link, .mobile-cta a:visited, .mobile-cta a:hover { color: #fff; }
  body:has(.mobile-cta) { padding-bottom: 50px; }
}

/* block titles of Text and Map are h2 in the main column (were h3); same look as before */
.rpb-text > h2, .rpb-map > h2 { font-size: 17px; margin-top: 22px; margin-bottom: 5px; border-bottom: 0; padding-bottom: 0; line-height: inherit; }
.text_style_collapse > h2 { margin-top: 0; margin-bottom: 10px; }
html.js .text_style_collapse > h2 { cursor: pointer; }
html.js .text_style_collapse > h2:after { content: " »"; }
