/* 9 POCKETS house promotion. Isolated from CER navigation, events and paid UI. */
@font-face {
  font-family: "Nine Pockets Display";
  src: url("barlow-condensed.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.cer-nine-ad {
  --nine-ink: #161713;
  --nine-paper: #f1efdf;
  --nine-gold: #f2cf3c;
  --nine-coral: #ef7558;
  --nine-sage: #acbb91;
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  height: auto;
  margin: 24px auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nine-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  isolation: isolate;
  container-type: inline-size;
  container-name: nine-ad;
}
.cer-nine-ad *, .cer-nine-ad *::before, .cer-nine-ad *::after { box-sizing: border-box; }
.cer-nine-ad .cer-nine-ad__label {
  display: block;
  width: auto;
  margin: 0 0 8px;
  padding: 0 2px;
  color: #52564b;
  background: transparent;
  font: 700 10px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .14em;
  text-align: left;
  text-transform: uppercase;
}
.cer-nine-ad a.cer-nine-ad__link {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.75fr) auto;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 160px;
  height: auto;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--nine-ink);
  border-top: 4px solid var(--nine-gold);
  border-radius: 14px;
  background: var(--nine-ink);
  color: var(--nine-paper);
  box-shadow: 0 8px 22px #1617130a;
  font: inherit;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.cer-nine-ad a.cer-nine-ad__link:visited,
.cer-nine-ad a.cer-nine-ad__link:hover,
.cer-nine-ad a.cer-nine-ad__link:active { background: var(--nine-ink); color: var(--nine-paper); text-decoration: none; }
.cer-nine-ad a.cer-nine-ad__link::before,
.cer-nine-ad a.cer-nine-ad__link::after { content: none; }
.cer-nine-ad a.cer-nine-ad__link:focus-visible { outline: 3px solid #966200; outline-offset: 4px; }
.cer-nine-ad .cer-nine-ad__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  margin: 0;
  padding: 10px 22px 10px 0;
  border: 0;
  border-right: 1px solid #f1efdf40;
  background: transparent;
  color: var(--nine-paper);
}
.cer-nine-ad img.cer-nine-ad__logo {
  display: block;
  flex: 0 0 54px;
  width: 54px;
  max-width: 54px;
  min-width: 0;
  height: 54px;
  max-height: 54px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
}
.cer-nine-ad .cer-nine-ad__name {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--nine-paper);
  font-family: "Nine Pockets Display", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(28px, 2.6vw, 37px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cer-nine-ad .cer-nine-ad__name small {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  color: var(--nine-sage);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.cer-nine-ad .cer-nine-ad__copy { display: block; min-width: 0; margin: 0; padding: 0; color: var(--nine-paper); }
.cer-nine-ad .cer-nine-ad__headline,
.cer-nine-ad .cer-nine-ad__tagline {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--nine-paper);
  font-family: "Nine Pockets Display", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(29px, 3.1vw, 43px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.012em;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cer-nine-ad .cer-nine-ad__tagline { margin-top: 2px; color: var(--nine-gold); }
.cer-nine-ad .cer-nine-ad__description {
  display: block;
  max-width: 52ch;
  margin: 10px 0 0;
  padding: 0;
  color: #dedfcc;
  font: 400 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.cer-nine-ad .cer-nine-ad__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--nine-gold);
  border-radius: 7px;
  background: var(--nine-gold);
  color: var(--nine-ink);
  font: 800 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .015em;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}
.cer-nine-ad a.cer-nine-ad__link:hover .cer-nine-ad__cta { border-color: #ffe67b; background: #ffe67b; color: var(--nine-ink); text-decoration: underline; text-underline-offset: 3px; }
.cer-nine-ad a.cer-nine-ad__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 3px auto 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #354b36;
  font: 600 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}
.cer-nine-ad a.cer-nine-ad__remove:hover { background: #e7eadb; color: #1b351f; }
.cer-nine-ad a.cer-nine-ad__remove:focus-visible { outline: 3px solid #966200; outline-offset: 2px; }

@media (max-width: 960px) {
  .cer-nine-ad a.cer-nine-ad__link { grid-template-columns: minmax(200px, .8fr) minmax(0, 1.7fr); gap: 18px 24px; }
  .cer-nine-ad .cer-nine-ad__brand { grid-row: 1 / 3; align-self: stretch; padding-right: 16px; }
  .cer-nine-ad .cer-nine-ad__name { font-size: 29px; }
  .cer-nine-ad img.cer-nine-ad__logo { flex-basis: 46px; width: 46px; max-width: 46px; height: 46px; max-height: 46px; }
  .cer-nine-ad .cer-nine-ad__cta { grid-column: 2; justify-self: start; }
  .cer-nine-ad .cer-nine-ad__headline, .cer-nine-ad .cer-nine-ad__tagline { font-size: 33px; }
}
/* Container queries also protect narrow ad placements on a wide desktop page. */
@container nine-ad (max-width: 900px) {
  .cer-nine-ad a.cer-nine-ad__link { grid-template-columns: minmax(200px, .8fr) minmax(0, 1.7fr); gap: 18px 24px; }
  .cer-nine-ad .cer-nine-ad__brand { grid-row: 1 / 3; align-self: stretch; padding-right: 16px; }
  .cer-nine-ad .cer-nine-ad__name { font-size: 29px; }
  .cer-nine-ad img.cer-nine-ad__logo { flex-basis: 46px; width: 46px; max-width: 46px; height: 46px; max-height: 46px; }
  .cer-nine-ad .cer-nine-ad__cta { grid-column: 2; justify-self: start; }
  .cer-nine-ad .cer-nine-ad__headline, .cer-nine-ad .cer-nine-ad__tagline { font-size: 33px; }
}
@container nine-ad (max-width: 600px) {
  .cer-nine-ad a.cer-nine-ad__link { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; padding: 21px; border-radius: 11px; }
  .cer-nine-ad .cer-nine-ad__brand { grid-column: 1; grid-row: auto; align-self: auto; gap: 10px; padding: 0; border-right: 0; }
  .cer-nine-ad img.cer-nine-ad__logo { flex-basis: 38px; width: 38px; max-width: 38px; height: 38px; max-height: 38px; border-radius: 6px; }
  .cer-nine-ad .cer-nine-ad__name { font-size: 29px; }
  .cer-nine-ad .cer-nine-ad__name small { margin-top: 5px; font-size: 8px; letter-spacing: .22em; }
  .cer-nine-ad .cer-nine-ad__headline, .cer-nine-ad .cer-nine-ad__tagline { font-size: clamp(29px, 6.5cqi, 36px); line-height: 1.04; }
  .cer-nine-ad .cer-nine-ad__description { margin-top: 9px; font-size: 13px; line-height: 1.45; }
  .cer-nine-ad .cer-nine-ad__cta { grid-column: 1; justify-self: start; min-height: 44px; padding: 11px 17px; }
}
@media (max-width: 600px) {
  .cer-nine-ad { margin: 20px auto; }
  .cer-nine-ad a.cer-nine-ad__link { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; padding: 21px; border-radius: 11px; }
  .cer-nine-ad .cer-nine-ad__brand { grid-column: 1; grid-row: auto; align-self: auto; gap: 10px; padding: 0; border-right: 0; }
  .cer-nine-ad img.cer-nine-ad__logo { flex-basis: 38px; width: 38px; max-width: 38px; height: 38px; max-height: 38px; border-radius: 6px; }
  .cer-nine-ad .cer-nine-ad__name { font-size: 29px; }
  .cer-nine-ad .cer-nine-ad__name small { margin-top: 5px; font-size: 8px; letter-spacing: .22em; }
  .cer-nine-ad .cer-nine-ad__headline, .cer-nine-ad .cer-nine-ad__tagline { font-size: clamp(29px, 6.5vw, 36px); line-height: 1.04; }
  .cer-nine-ad .cer-nine-ad__description { margin-top: 9px; font-size: 13px; line-height: 1.45; }
  .cer-nine-ad .cer-nine-ad__cta { grid-column: 1; justify-self: start; min-height: 44px; padding: 11px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .cer-nine-ad, .cer-nine-ad *, .cer-nine-ad *::before, .cer-nine-ad *::after { animation: none !important; transition: none !important; }
}
@media print { .cer-nine-ad { display: none; } }
