/* Ad focus mode (the server code, the page template). Hidden until <html> has
   class cc-focus; then the site nav and the multi-link footer give way to these two. */
.cc-fhdr, .cc-ffoot { display: none; }
html.cc-focus .cc-nav, html.cc-focus .cc-footer { display: none !important; }
html.cc-focus .cc-fhdr, html.cc-focus .cc-ffoot { display: flex; }

.cc-fhdr {
  align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem;
  padding: 4px clamp(1rem, 4vw, 2.5rem) .55rem;
  background: var(--cc-navy, #1A2E4A); color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
}
.cc-fhdr__brand { display: block; border-radius: 3px; }
.cc-fhdr__brand img { display: block; height: 52px; width: auto; }
.cc-fhdr__badge {
  margin: 0; font-size: .82rem; line-height: 1.35; color: rgba(255,255,255,.88);
  padding-left: 1.1rem; position: relative; max-width: 22rem;
}
.cc-fhdr__badge::before {
  content: ""; position: absolute; left: .15rem; top: .2rem; width: .32rem; height: .6rem;
  border: solid var(--cc-teal-bright, #3FB3A2); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.cc-fhdr__sp { flex: 1; }
.cc-fhdr__login {
  color: rgba(255,255,255,.86); font-size: .88rem; text-decoration: underline;
  text-underline-offset: 3px; padding: .6rem .2rem;
}
.cc-fhdr__login:hover { color: #fff; }
.cc-fhdr__sample {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; min-height: 44px;
  padding: .5rem .9rem; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.7);
  background: transparent; color: #fff;
}
.cc-fhdr__sample:hover { background: rgba(255,255,255,.1); }
.cc-fhdr__cta {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; box-sizing: border-box; padding: .6rem 1.1rem; border-radius: 10px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  background: var(--cc-gold-text, #8A6D2C); color: #fff !important;
}
.cc-fhdr__cta:hover { background: var(--cc-gold-deep, #755C25); }
.cc-fhdr a:focus-visible, .cc-fhdr button:focus-visible, .cc-ffoot a:focus-visible {
  outline: 3px solid var(--cc-teal-bright, #3FB3A2); outline-offset: 2px;
}
@media (max-width: 700px) {
  .cc-fhdr__brand img { height: 44px; }
  .cc-fhdr__badge { order: 3; flex-basis: 100%; max-width: none; }
  .cc-fhdr__sp { display: none; }
  .cc-fhdr__login { margin-left: auto; }
  .cc-fhdr__sample, .cc-fhdr__cta {
    order: 4; flex: 1 1 0; min-width: 0; padding-left: .6rem; padding-right: .6rem;
  }
}

.cc-ffoot {
  margin-top: 3rem; padding: 1.4rem clamp(1rem, 4vw, 2.5rem); flex-wrap: wrap;
  gap: .5rem 1.5rem; align-items: center;
  background: var(--cc-navy, #1A2E4A); color: rgba(255,255,255,.72);
  font-family: "DM Sans", system-ui, sans-serif; font-size: .85rem;
}
.cc-ffoot a { color: rgba(255,255,255,.9); }
.cc-ffoot__sp { flex: 1; }
