/* Additions to the Bizberg theme for what WordPress did on the server. */

/* Search page */
.search-page-form { display: flex; gap: 8px; margin-bottom: 20px; }
.search-page-form input[type="search"] { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid #ddd; }
.search-page-form input[type="submit"] { padding: 8px 18px; border: 0; background: #6ab43e; color: #fff; }
.search-results { list-style: none; padding: 0; }
.search-results li { margin-bottom: 25px; }
.search-results h4 { margin-bottom: 4px; }
.search-results mark { background: #e4f3da; padding: 0; }

/* Comments are closed: no form, just the note. */
.comments-area .no-comments { margin-top: 20px; font-style: italic; }

/* Embeds (SlideShare) shouldn't overflow on phones. */
.detail-content iframe { max-width: 100%; }
.detail-content img { max-width: 100%; height: auto; }
.detail-content table { max-width: 100%; display: block; overflow-x: auto; }

/* Round portrait on the right, half over the banner, half over the page (every page). */
.breadcrumb-wrapper { position: relative; overflow: visible !important; }
.hero_portrait { position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 5; }
.hero_portrait .container { position: relative; height: 0; }
.hero_portrait img {
  position: absolute; right: 15px; top: 0; transform: translateY(-50%);
  width: 200px; height: 200px; object-fit: cover; border-radius: 50%;
  border: 6px solid #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.has_portrait section#blog { padding-top: 110px !important; }
@media (max-width: 767px) {
  .hero_portrait img { width: 130px; height: 130px; border-width: 4px; }
  .has_portrait section#blog { padding-top: 75px !important; }
}

/* Footer: round social media icons (colours come from the theme settings). */
#footer .footer_social_links { margin: 10px 0 15px; }
#footer .footer_social_links a { display: inline-block; margin: 0 6px 8px 0; text-decoration: none; }
#footer .footer_social_links a i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; font-size: 17px; vertical-align: middle; transition: opacity .15s;
}
#footer .footer_social_links a:hover i { opacity: .8; }
#footer .footer_social_links .icon-svg svg { width: 18px; height: 18px; display: block; }

/* No menu entries in site.yml: no hamburger button on phones (it would open an empty menu). */
.no_menu .slicknav_btn, .no_menu .slicknav_menu .slicknav_nav { display: none !important; }
