/* Top banner: one big button at the very top of every forum page.
   It sits above the whole forum (outside #fork), so the forum's own
   layout, including the phone menu button, is left exactly as it is.
   The lettering is the same as the forum's. */
#gange-top-banner {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.625rem 0.125rem;
  text-align: center;
  font-family: -apple-system, system-ui, sans-serif;
  font-style: normal;
  line-height: 1.25;
}

#gange-top-banner-btn,
#gange-top-banner-btn:link,
#gange-top-banner-btn:visited {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  max-width: 36rem;
  margin: 0;
  padding: 0.875rem 1.5rem;
  border: 0;
  border-radius: 0.625rem;
  background: #c2540a;
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.3);
}

#gange-top-banner-btn:hover,
#gange-top-banner-btn:focus,
#gange-top-banner-btn:active {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.12);
}

#gange-top-banner-btn:focus-visible {
  outline: 0.1875rem solid #1a1a1a;
  outline-offset: 0.1875rem;
}

.gange-tb-saffron #gange-top-banner-btn { background: #c2540a; }
.gange-tb-red     #gange-top-banner-btn { background: #a3262a; }
.gange-tb-green   #gange-top-banner-btn { background: #1f6b3a; }
.gange-tb-blue    #gange-top-banner-btn { background: #1f4e8c; }
.gange-tb-black   #gange-top-banner-btn { background: #111; }

@media (max-width: 30rem) {
  #gange-top-banner-btn,
  #gange-top-banner-btn:link,
  #gange-top-banner-btn:visited {
    padding: 0.8125rem 1rem;
    font-size: 1.1875rem;
  }
}

@media print {
  #gange-top-banner {
    display: none;
  }
}
