@media (max-width: 767px) {

  /* Email/Call group left-aligned on mobile */
  .email-call-group {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Social media buttons centered and closer together */
  .social-buttons-group {
    display: flex !important;
    justify-content: center !important;  /* centers the icons */
    gap: 8px;  /* adjust spacing between icons; smaller number = closer together */
    flex-wrap: nowrap !important;
    width: auto !important;  /* let the group shrink to content */
  }

  /* Hide social media labels on mobile */
  .social-buttons-group .wp-block-social-link-label {
    display: none;
  }

  /* Remove extra spacing from SVG icons */
  .social-buttons-group .wp-block-social-link-anchor svg {
    margin-right: 0;
  }

  /* Optional: shrink logo if needed */
  .site-logo img {
    max-width: 120px;
    height: auto;
  }
}

/* Desktop fixed size */
@media (min-width: 768px) {
  .responsive-calendar {
    width: 375px;   /* fixed desktop width */
    height: 300px;  /* fixed desktop height */
    padding-bottom: 0;  /* remove mobile aspect ratio */
  }

  .responsive-calendar iframe {
    width: 100% !important;
    height: 100% !important;
  }
}

/* Mobile responsive size */
@media (max-width: 767px) {
  .responsive-calendar {
    position: relative;
    padding-bottom: 75%; /* maintains aspect ratio on mobile */
    height: 0;
    overflow: hidden;
  }

  .responsive-calendar iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
  }
}

/* Mobile header adjustments */
@media (max-width: 767px) {
  /* Sticky header with full opacity */
  .wp-container-core-group-is-layout-84988f7c {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #000000; /* fully opaque black */
    padding-left: 20px; /* optional, adjust if needed */
    padding-right: 20px; /* optional, adjust if needed */
  }

  /* White hamburger icon */
  .wp-block-navigation__responsive-container-open svg path {
    stroke: #ffffff; /* white */
    fill: #ffffff;   /* white, in case the icon uses fill */
  }

  /* Move 'Give Today' button to the right edge */
  .wp-block-buttons {
    justify-content: flex-end; /* push buttons to far right */
  }

  /* Optional: ensure body content isn't hidden under fixed header */
  body {
    padding-top: 60px; /* adjust to match header height */
  }
}