/* Triple R Trucking: the site's own changes on top of the Hello Elementor theme
   and Elementor's styles. Loaded last in <head>, so these win. See README,
   "Changes since the exact copy". */

/* Phones and small tablets (under 768px, where the theme shows the menu
   button): put the menu button on the right, in the same row as the logo,
   and make it about 20% larger. The logo shrinks to make room. The dropdown
   menu is positioned on its own, so it still opens full width below. */
@media (max-width: 767px) {
  .site-header .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }
  .site-header .site-branding {
    flex: 1 1 auto;
    min-width: 0;
  }
  .site-header .site-branding .site-logo img {
    width: 100%;
    max-width: 286px;
    height: auto;
  }
  .site-header .site-navigation-toggle-holder {
    flex: 0 0 auto;
    margin-inline-start: auto;
    padding: 0;
  }

  /* 20% larger: the theme's 1.25rem icon, 3px bars, .35rem and .5rem spacing
     and .5rem padding, all times 1.2. The open (X) state moves the bars by the
     same scaled amount so they still cross in the middle. */
  .site-navigation-toggle-holder .site-navigation-toggle {
    padding: .6rem;
  }
  .site-navigation-toggle-holder .site-navigation-toggle-icon {
    width: 1.5rem;
  }
  .site-navigation-toggle-holder .site-navigation-toggle-icon:before,
  .site-navigation-toggle-holder .site-navigation-toggle-icon:after {
    height: 3.6px;
  }
  .site-navigation-toggle-holder .site-navigation-toggle-icon:before {
    box-shadow: 0 .42rem 0 currentcolor;
    margin-block-end: .6rem;
  }
  .site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:before {
    box-shadow: none;
    transform: translateY(.42rem) rotate(45deg);
  }
  .site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:after {
    transform: translateY(-.42rem) rotate(-45deg);
  }
}
