#header .site-title {
    word-break: break-word;
}

.wp-block-image figcaption {
  display: block !important;
  text-align: center !important;
}

/* Hide the comment link itself */
a[href$="#comments"] {
  display: none !important;
}

/* Hide common comment-icon classes used by themes (the balloon icon) */
.fa-comment,
.fa-comments,
.fa-comment-o,
.fa-comments-o,
.dashicons-admin-comments,
.dashicons-format-chat,
.icon-comment,
.comment-icon,
.comments-icon,
.icon-comments {
  display: none !important;
}

/* Modern :has() selector — hide any container whose only child is a comments link */
li:has(> a[href$="#comments"]),
span:has(> a[href$="#comments"]),
div:has(> a[href$="#comments"]) {
  display: none !important;
}
/* ── Footer Site Map widget: normalise heading and link colour ── */
#colophon .widget_nav_menu .widget-title,
#colophon .widget_nav_menu .widgettitle,
.site-footer .widget_nav_menu .widget-title,
.site-footer .widget_nav_menu .widgettitle,
.footer-widgets .widget_nav_menu .widget-title,
.footer-widgets .widget_nav_menu .widgettitle {
  color: #1a1a1a !important;
  font-size: 2.0em !important;
  font-weight: 400 !important;
}

#colophon .widget_nav_menu a,
.site-footer .widget_nav_menu a,
.footer-widgets .widget_nav_menu a {
  color: #888888 !important;
  text-decoration: none !important;
  font-size: 0.79em !important;
}

#colophon .widget_nav_menu a:hover,
.site-footer .widget_nav_menu a:hover,
.footer-widgets .widget_nav_menu a:hover {
  color: #333333 !important;
}

/* ── Social icons: restore hover tooltip ── */
#menu-social,
#menu-social li {
  overflow: visible !important;
}

#menu-social a {
  position: relative !important;
  overflow: visible !important;
}

#menu-social a span {
  /* reset every known hide technique */
  display: block !important;
  position: absolute !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  width: auto !important;
  height: auto !important;
  text-indent: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  /* tooltip position — centred above icon */
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  /* tooltip appearance */
  background: #333333;
  color: #ffffff;
  font-size: 0.75em;
  padding: 4px 8px !important;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1.4;
  /* hidden until hover */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

#menu-social a:hover span {
  opacity: 1;
}

#portfolio-filter {
  display: none !important;
}