/* User-supplied red-gold poster direction; the image contains no typography. */
body.aph2-theme #main-content header.cb-banner[data-cb-kind] {
  display: grid !important;
  grid-template-columns: 100px minmax(210px, 1fr) 320px;
  align-items: center;
  column-gap: 28px;
  row-gap: 8px;
  min-height: 208px;
  padding: 28px 32px;
  overflow: hidden;
  border: 0;
  background-color: #8c160e;
  background-image: linear-gradient(90deg, rgba(66, 7, 4, .54), rgba(66, 7, 4, .6)), url('./hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff4ce;
  box-sizing: border-box;
}
body.aph2-theme #main-content header.cb-banner::before,
body.aph2-theme #main-content header.cb-banner::after { content: none !important; }
body.aph2-theme #main-content header.cb-banner[data-cb-kind] .r228-hero-brand {
  grid-column: 1;
  grid-row: 1 / 3;
  border-color: rgba(255, 229, 157, .4);
  color: #fff4ce;
}
body.aph2-theme #main-content header.cb-banner[data-cb-kind] [data-aph-hero] {
  grid-column: 2;
  grid-row: 1;
}
body.aph2-theme #main-content header.cb-banner[data-cb-kind] [data-aph-hero] > p:first-child {
  display: block !important;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: .06em;
  color: #ffe7a7;
}
body.aph2-theme #main-content header.cb-banner[data-cb-kind] [data-aph-hero] > h1 {
  display: block !important;
  margin: 0 !important;
  font-size: 26px !important;
  line-height: 1.4 !important;
  color: #fff4ce !important;
}
body.aph2-theme #main-content header.cb-banner[data-cb-kind] [data-aph-hero] > p:last-child {
  margin-top: 8px;
  color: #fff0c2;
  font-size: 12px;
}
body.aph2-theme #main-content header.cb-banner[data-cb-kind] > time {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  align-self: start;
  color: #fff0c2;
  font-size: 12px;
  margin: 0 !important;
}
body.aph2-theme #main-content header.cb-banner > time::before { content: '业务日期：'; }
body.aph2-theme #main-content header.cb-banner[data-cb-kind] > .cb-countdown {
  display: block !important;
  min-width: 0;
  grid-column: 3;
  grid-row: 1 / 3;
  border-left: 1px solid rgba(255, 229, 157, .4);
  padding-left: 28px;
}
.cb-countdown-label { margin-bottom: 12px; color: #fff4ce; font-size: 14px; }
.cb-countdown-digits { display: flex; align-items: baseline; gap: 14px; }
.cb-time-part { display: flex; align-items: baseline; gap: 4px; }
.cb-time-number {
  min-width: 1.2em;
  color: #ffe59c;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.cb-time-unit { color: #fff0c2; font-size: 12px; }
.cb-deadline { margin-top: 14px; color: #fff0c2; font-size: 12px; line-height: 1.5; }
@media (max-width: 1199px) {
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] { grid-template-columns: minmax(210px, 1fr) 300px; gap: 8px 24px; padding: 24px; }
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] .r228-hero-brand { display: none; }
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] [data-aph-hero],
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] > time { grid-column: 1; }
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] > .cb-countdown { grid-column: 2; padding-left: 24px; }
  .cb-countdown-digits { gap: 10px; }
  .cb-time-number { font-size: 34px; }
}
@media (max-width: 767px) {
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
    min-height: 0;
    padding: 22px 20px;
    background-position: 42% center;
  }
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] [data-aph-hero] > p:first-child { font-size: 15px; margin-bottom: 6px; }
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] [data-aph-hero] > h1 { font-size: 22px !important; }
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] > time { grid-row: 2; margin-left: 0; }
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] > .cb-countdown {
    grid-column: 1;
    grid-row: 3;
    border-left: 0;
    border-top: 1px solid rgba(255, 229, 157, .4);
    padding: 14px 0 0;
    margin-top: 10px;
  }
  .cb-countdown-label { margin-bottom: 10px; font-size: 12px; }
  .cb-countdown-digits { gap: 14px; }
  .cb-time-number { font-size: 32px; }
  .cb-deadline { margin-top: 10px; font-size: 11px; }
}
@media (max-width: 359px) {
  body.aph2-theme #main-content header.cb-banner[data-cb-kind] { padding-inline: 16px; }
  .cb-countdown-digits { gap: 8px; }
  .cb-time-number { font-size: 28px; }
}
