/* Raytheon panel custom styles */
.raytheon-responsive-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto 2rem auto;
}
.raytheon-responsive-layout > div {
  flex: 1 1 340px;
  min-width: 340px;
  max-width: 420px;
  background: none;
  color: #fff;
  vertical-align: top;
  align-self: flex-start;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 1200px) {
  .raytheon-responsive-layout {
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    gap: 2rem;
  }
  .raytheon-responsive-layout > div {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto 2rem auto;
    text-align: center;
  }
  /* Ensure no column tries to extend past panel padding under 1200px */
  #panels .panel:nth-of-type(5) .raytheon-responsive-layout > div { width: 100%; }
}
.raytheon-header {
  font-size: 2rem;
  font-weight: bold;
  color: #ffe600;
  margin-bottom: 0.7rem;
  text-align: center;
}

/* Topline header with Raytheon image */
.raytheon-topline {
  display: flex;
  align-items: center;
  gap: 4px;
}
.raytheon-topline .raytheon-logo {
  height: 48px; /* 20% smaller */
  width: auto;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .raytheon-topline .raytheon-logo { height: 19px; } /* 20% smaller */
}

/* Muus-style brand header for Raytheon */
.raytheon-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px auto 8px auto;
  max-width: 1100px;
  padding: 0 8px;
  position: relative;
  z-index: 2; /* ensure above Vanta background */
  --ray-logo-h: 45px; /* 20% smaller default */
}
.raytheon-brand-logo {
  height: var(--ray-logo-h);
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}
.raytheon-brand-divider { color: #fff; opacity: 0.9; font-size: 28px; line-height: 1; }
.raytheon-brand-role {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-weight: 700;
  /* size relative to logo height */
  font-size: calc(var(--ray-logo-h) * 0.64); /* 20% smaller text */
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  letter-spacing: 0; /* remove extra spacing */
  display: inline-block;
  margin-top:-10px;
}
@media (max-width: 900px){
  .raytheon-brand-row { --ray-logo-h: 35px; } /* 20% smaller than previous 44px */
  .raytheon-brand-divider { font-size: 22px; }
}
