/*
Theme Name: Raresoft LLC
Description: Project-owned child theme for ITGen.
Author: Raresoft Technologies LLC
Template: itgen
Version: 0.1.0
Text Domain: raresoft-itgen-child
*/

/* PM-03: preserve the Raresoft PNG proportions in the existing ITGen shell. */
.header .logo { width: 280px; }
.header .logo img { width: 220px; max-width: 100%; height: auto; }
.mobile-logo img { width: 180px; max-width: 100%; height: auto; }
.site-footer .f-logo img { width: 240px; max-width: 100%; height: auto; }
.header .logo a:focus-visible,
.mobile-logo a:focus-visible,
.site-footer .f-logo a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (min-width: 992px) and (max-width: 1199px) {
  .header .logo { width: 260px; }
  .header .logo img { width: 220px; }
}
@media (max-width: 991px) {
  .header .logo { width: 220px; max-width: calc(100vw - 90px); }
  .header .logo img { width: 180px; }
}

/* Keep the brand clear of the existing mobile close control. */
.mobile-logo { padding-top: 28px; }


/* PM-18: keep the shared site shell consistent on every page. */
html body[class] .header-top .ht-left-sec > span:first-child,
html body[class] .header-top .top-social,
html body[class] footer.site-footer .footer-social {
  display: none !important;
}

/* Accessible ITGen off-canvas menu controls. */
.canvas_open > button[aria-controls="mobile-navigation-panel"] {
  display: inline-block;
  margin: 0;
  padding: 5px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 22px;
  line-height: 22px;
  cursor: pointer;
  vertical-align: baseline;
}

.canvas_close > button[aria-controls="mobile-navigation-panel"] {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid #ededed;
  background: transparent;
  color: #333;
  font-family: inherit;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}

.canvas_open > button[aria-controls="mobile-navigation-panel"]:focus-visible,
.canvas_close > button[aria-controls="mobile-navigation-panel"]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
