/* --- Your Existing Widget Titles --- */
.widget-title {
    text-align: center;
    background-color: #96b763;
    padding: 5px;
    color: white;
    border-radius: 4px 4px 0 0;
}

/* --- Mobile Menu Button Transformation --- */
/* This targets the standard mobile toggle used in most WP themes */
.menu-toggle, 
button.menu-toggle,
.main-navigation button {
    background-color: #8db56b !important; /* Your signature green */
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 14px !important;
    display: block !important;
    margin: 20px auto !important; /* Centers it under the logo */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Make sure the hamburger lines inside the button are white */
.menu-toggle span, 
.icon-bar {
    background-color: #ffffff !important;
}

/* --- Responsive Adjustments --- */

/* For tablets */
@media (max-width: 768px) {
  .container { width: 95%; }
  .header { font-size: 20px; }
  
  .icon-menu a {
    flex: 1 1 45%; /* 2 icons per row */
  }
}

/* For mobile phones */
@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 10px;
  }
  
  /* Forces the menu button to be prominent */
  .menu-toggle {
    width: 80%; /* Makes it a large easy-to-tap button */
    max-width: 250px;
  }

  .icon-menu a {
    flex: 1 1 100%; /* 1 icon per row for clear reading */
    max-width: none;
  }
  
  /* Centers the logo branding on mobile */
  .site-branding, .header-text-wrap {
      text-align: center !important;
      margin: 0 auto;
  }
}

/* --- Utility Classes --- */
img {
  max-width: 100%;
  height: auto;
}

.no-top-gap {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.no-top-gap .panel-grid-cell {
    padding-bottom: 0 !important;
}
.ngg-gallery-thumbnail img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    display: block;
}