/* Product 0021: the saved Page 45 marquee in Astra's one common masthead. */
#masthead .sgff-shared-header {
  display: block;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  box-sizing: border-box;
  padding-block: .375rem;
}
#masthead .sgff-shared-header .sgff-header-identity { width: 100%; min-width: 0; margin: 0; text-align: center; }
#masthead .sgff-shared-header .site-title { margin: 0 0 .375rem; text-align: center; }
#masthead .sgff-shared-header .sgff-header-name { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.2; font-weight: 600; }
#masthead .sgff-shared-header .sgff-masthead {
  background: transparent;
  color: var(--sgff-burgundy);
  border-block: 2px solid var(--sgff-gold);
  border-radius: 0;
  box-shadow: none;
  padding: 1rem .875rem;
  margin: 0;
  box-sizing: border-box;
}
#masthead .sgff-shared-header .sgff-masthead-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  text-align: center;
}
#masthead .sgff-shared-header .sgff-masthead-row > * { min-width: 0; margin: 0 !important; max-width: none; }
#masthead .sgff-shared-header .sgff-event-title {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.5rem, 3.7vw, 2.4rem);
  line-height: 1.08;
  font-weight: 750;
  color: var(--sgff-burgundy);
  text-wrap: balance;
}
#masthead .sgff-shared-header .sgff-day { font-size: 1.05rem; line-height: 1.4; }
#masthead .sgff-shared-header .sgff-day-friday { grid-column: 1; grid-row: 1; }
#masthead .sgff-shared-header .sgff-day-saturday { grid-column: 3; grid-row: 1; }
#masthead .sgff-shared-header .sgff-header-address { justify-content: center; gap: .375rem; margin: .375rem 0 0; font-size: .8125rem; line-height: 1.3; }
#masthead .sgff-shared-header .sgff-header-links { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: .375rem; }
#masthead .sgff-shared-header .sgff-header-links a { display: inline-flex; align-items: center; min-height: 24px; font-size: inherit; font-weight: 400; color: var(--sgff-burgundy); text-decoration: underline; white-space: nowrap; }
#masthead .sgff-shared-header .sgff-header-links a::before { content: "·"; display: inline-block; margin-inline-end: .375rem; }
#masthead .sgff-shared-header a:focus-visible { outline: 2px solid var(--sgff-burgundy); outline-offset: 2px; }
/* Collapse only the now-empty branding element; leave navigation and its trigger intact. */
#masthead:has(> .sgff-shared-header) [data-section="title_tagline"] { display: none; }
#masthead:has(> .sgff-shared-header) .ast-primary-header-bar { min-height: 0; }
#masthead:has(> .sgff-shared-header) .ast-builder-grid-row { min-height: 0; }
@media (max-width: 767px) {
  #masthead .sgff-shared-header .sgff-day { font-size: 1rem; }
  #masthead .sgff-shared-header .sgff-masthead-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .5rem; }
  #masthead .sgff-shared-header .sgff-event-title { grid-column: 1 / -1; grid-row: 1; }
  #masthead .sgff-shared-header .sgff-day-friday { grid-column: 1; grid-row: 2; }
  #masthead .sgff-shared-header .sgff-day-saturday { grid-column: 2; grid-row: 2; }
}

/* The inspected desktop menu contained only Cart; collapse its empty row after relocation. */
#masthead:has(> .sgff-shared-header) #ast-desktop-header:not(:has(a, button, input, select, textarea, [role=button], [tabindex])) { display: none; }
