/*
Theme Name: mmedia
Theme URI: https://www.mmediausa.com/
Author: Your Name
Author URI: https://www.mmediausa.com/
Description: Modern Bootstrap-based WordPress theme with modular PHP partials.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmedia
Tags: bootstrap, responsive, custom
*/

/* Add your custom CSS below */

/* assets/css/custom.css or style.css */
.custom-logo {
  max-height: 36px;
  height: auto;
  width: auto;
}

:root {
  --bs-primary: #175bb5 !important;
}

.grayscale {
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.2s;
}
.grayscale:hover {
  filter: grayscale(0%) brightness(1);
}

.logo-row {
  min-height: 60px; /* keeps them aligned even if logos vary in height */
}
.logo-cell {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0; /* for flex truncation */
  padding: 0 0.5rem;
}
.logo-cell img {
  width: 100%;
  height: auto;
  max-width: 110px; /* or whatever max looks best */
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.2s;
}
.logo-cell img:hover {
  filter: grayscale(0%) brightness(1);
}
.herodiv {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}
.designprocessdiv {
  padding-top: 0rem !important;
}
.logomargin {
  margin-top: 0rem !important;
}
/* M Media blue hamburger with white lines */
.custom-toggler,
.navbar-toggler {
  border-color: #007bff;
  background-color: #007bff; /* Makes the button background blue */
  border-radius: 6px; /* Optional: rounded look */
  padding: 0.375rem 0.75rem;
}

/* White hamburger icon */
.custom-toggler .navbar-toggler-icon,
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Add this to your main stylesheet */
.form-switch .form-check-input {
  width: 4em;
  height: 2em;
  font-size: 1em;
}
/* Normal: grayscale/gray logos */
.logo-cell img {
  filter: grayscale(1) brightness(0);
}

/* In dark mode: logos become bright white */
/* [data-bs-theme="dark"] .logo-cell img {
  filter: brightness(2.5) invert(1) grayscale(0);
} */
[data-bs-theme="dark"] .logo-cell img {
  /* filter: grayscale(1) brightness(3) !important; */
  filter: grayscale(1) brightness(0) invert(1) brightness(2);
}

.designprocessdiv .p-4 {
  color: #000 !important;
}
label.mmediatoggle {
  font-size: 0.8em !important;
  padding-top: 8px;
}
/* Responsive sidebar alignment for pages with a hero/title */
#mmedia-sidebar {
  margin-top: 3.5rem; /* Try 2.5-3rem, tweak as needed for pixel-perfect */
}
@media (max-width: 991.98px) {
  #mmedia-sidebar {
    margin-top: 1.5rem; /* Tighter on tablet/mobile */
  }
}
