/**
 * CP09 ICON-R2 A / Staging candidate. Only Home Gallery and Home upcoming.
 * External pictogram strip, NOT a poster overlay. Old theme CSS remains untouched.
 */
body.ckb-wp-shell[data-page="home"] .hero .poster-link > .ckb-icon-r2-marker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  margin: 0 0 10px;
  max-width: 100%;
  color: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
body.ckb-wp-shell[data-page="home"] .hero .ckb-icon-r2-glyph {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: #f8f9f8;
  border: 1px solid rgba(23,52,78,.14);
  border-radius: 2px;
}
body.ckb-wp-shell[data-page="home"] .hero .ckb-icon-r2-art {
  display: block;
  width: 35px;
  height: 35px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
body.ckb-wp-shell[data-page="home"] .hero .ckb-icon-r2-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 65px);
  padding-bottom: 5px;
}
body.ckb-wp-shell[data-page="home"] .hero .ckb-icon-r2-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  border-bottom: 2px solid #aa8750;
}
/* Upcoming badge: same SVG set, restrained scale in the existing type column. */
body.ckb-wp-shell[data-page="home"] .event-type .ckb-b1-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  min-height: 30px;
  max-width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.25;
}
body.ckb-wp-shell[data-page="home"] .event-type .ckb-icon-r2-glyph {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 2px;
}
body.ckb-wp-shell[data-page="home"] .event-type .ckb-icon-r2-art {
  width: 23px;
  height: 23px;
}
body.ckb-wp-shell[data-page="home"] .event-type .ckb-b1-category-label {
  overflow-wrap: anywhere;
  word-break: normal;
  min-width: 0;
}
body.ckb-wp-shell[data-page="home"] .poster-link:focus-visible .ckb-icon-r2-glyph {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  body.ckb-wp-shell[data-page="home"] .hero .poster-link > .ckb-icon-r2-marker {
    min-height: 43px;
    margin-bottom: 8px;
    font-size: 14px;
    gap: 10px;
  }
  body.ckb-wp-shell[data-page="home"] .hero .ckb-icon-r2-glyph {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
  body.ckb-wp-shell[data-page="home"] .hero .ckb-icon-r2-art {
    width: 31px;
    height: 31px;
  }
  body.ckb-wp-shell[data-page="home"] .hero .ckb-icon-r2-label {
    max-width: calc(100% - 58px);
  }
  body.ckb-wp-shell[data-page="home"] .event-type .ckb-b1-category-badge {
    font-size: 11px;
    gap: 5px;
  }
  body.ckb-wp-shell[data-page="home"] .event-type .ckb-icon-r2-glyph {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }
  body.ckb-wp-shell[data-page="home"] .event-type .ckb-icon-r2-art {
    width: 21px;
    height: 21px;
  }
}
