@media (max-width: 768px) {

  html, body {
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home,
  .home .site,
  .home .site-content,
  .home .wp-site-blocks {
    min-height: 100vh !important;
  }

  /* Keep the dark fullscreen stage */
  body.home {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* Main homepage wrapper centered like desktop */
  body.home .wp-site-blocks,
  body.home .site-content,
  body.home main,
  body.home .entry-content {
    min-height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    padding: 16px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    box-sizing: border-box !important;
  }

  /* The central artwork/menu image */
  body.home img {
    display: block !important;
    width: auto !important;
    max-width: min(82vw, 360px) !important;
    max-height: 72vh !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* If the menu/artwork is inside common blocks */
  body.home .wp-block-image,
  body.home .wp-block-group,
  body.home .wp-block-cover__inner-container,
  body.home .wp-block-column {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Remove extra white gaps */
  body.home header,
  body.home footer,
  body.home .wp-block-template-part,
  body.home .is-layout-flow,
  body.home .is-layout-constrained {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Make any columns behave as one centered composition */
  body.home .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  body.home .wp-block-column {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
  }

  /* Hide giant spacers that break the composition */
  body.home .wp-block-spacer {
    height: 0 !important;
  }

  /* Links/buttons on the homepage */
  body.home a {
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

}
@media (max-width: 768px) {

/* all your existing code */

}

/* Hide only the X / Twitter share button */
a.share-x,
a.share-twitter {
  display: none !important;
}
/* Medieval-style share buttons */

.sd-sharing .sd-button,
.sd-sharing a {
  background: #efe3c4 !important;          /* parchment color */
  color: #3b1f1f !important;               /* dark ink */
  border: 2px solid #5b2c2c !important;    /* medieval brown */
  border-radius: 6px !important;
  font-family: "Georgia", "Times New Roman", serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  padding: 6px 12px !important;
  transition: all 0.25s ease;
}

/* Hover effect */
.sd-sharing .sd-button:hover,
.sd-sharing a:hover {
  background: #5b2c2c !important;
  color: #efe3c4 !important;
  border-color: #3b1f1f !important;
}

/* Add a subtle medieval shadow */
.sd-sharing .sd-button,
.sd-sharing a {
  box-shadow: 2px 2px 0 #3b1f1f;
}

/* Slight spacing between buttons */
.sd-sharing li {
  margin-right: 6px !important;
}
