:root {
  --bs-primary: #7851a9;
  --bs-primary-rgb: 120, 81, 169;
  --bs-link-color: #7851a9;
  --bs-link-color-rgb: 120, 81, 169;
  --bs-link-hover-color: #5f348b;
  --bs-link-hover-color-rgb: 95, 52, 139;
  --bs-border-color: rgba(120, 81, 169, 0.2);
  --bs-body-color: #0f0f10;
  --bs-body-bg: #ffffff;
  --bs-secondary-color: #4f455d;
  --bs-secondary-color-rgb: 79, 69, 93;
  --bs-heading-color: #0f0f10;
  --bs-emphasis-color: #0f0f10;
  --bs-focus-ring-color: rgba(120, 81, 169, 0.3);
  --radius-card: 1rem;
  --radius-surface: 0.875rem;
  --radius-control: 0.875rem;
  --pbpc-accent: #ffe66d;
  --pbpc-accent-rgb: 255, 230, 109;
  --pbpc-accent-ink: #1a1206;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: #fafaf7;
  color: #0f0f10;
}

.brand-theme {
  min-height: 100vh;
}

a {
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.content-body a:not(.btn):hover,
.card .stretched-link:hover,
.list-group-item-action:hover {
  text-decoration: underline;
  text-decoration-color: var(--pbpc-accent);
}

.btn-primary {
  --bs-btn-bg: #7851a9;
  --bs-btn-border-color: #7851a9;
  --bs-btn-hover-bg: var(--pbpc-accent);
  --bs-btn-hover-border-color: var(--pbpc-accent);
  --bs-btn-hover-color: var(--pbpc-accent-ink);
  --bs-btn-active-bg: #4d296f;
  --bs-btn-active-border-color: #4d296f;
  --bs-btn-focus-shadow-rgb: 120, 81, 169;
  border-radius: var(--radius-control);
}

.site-navbar {
  background: #000000;
  border-bottom: 1px solid rgba(120, 81, 169, 0.6);
}

.site-navbar .navbar-brand,
.site-navbar .nav-link {
  color: #ffffff;
}

.site-navbar .nav-link {
  font-weight: 500;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: #c9a8ff;
}

.site-navbar .navbar-toggler {
  border-color: rgba(214, 185, 255, 0.42);
}

.site-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(120, 81, 169, 0.35);
}

.site-footer {
  background: #000000;
  border-top: 1px solid rgba(120, 81, 169, 0.6);
  color: #ffffff;
}

.site-footer a {
  color: #d6b9ff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-note {
  color: rgba(255, 255, 255, 0.72);
}

.brand-hero {
  background: linear-gradient(135deg, #000000 0%, #1b112b 52%, #7851a9 100%);
  color: #ffffff;
  --bs-heading-color: #ffffff;
}

.hero-title {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: clamp(2.25rem, 8vw, 3.25rem);
  }
}

.hero-eyebrow {
  color: var(--pbpc-accent);
  letter-spacing: 0.08em;
}

.hero-summary {
  color: rgba(255, 255, 255, 0.82);
}

.card,
.brand-hero {
  border-radius: var(--radius-card);
}

.site-navbar,
.site-footer {
  border-radius: 0;
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 239, 255, 0.92) 100%);
  border: 1px solid rgba(120, 81, 169, 0.16) !important;
  box-shadow: 0 0.75rem 2rem rgba(17, 10, 28, 0.08) !important;
}

.card > .card-body {
  display: flex;
  flex-direction: column;
}

.card > .card-body > :last-child {
  margin-top: auto;
}

.card-surface-purple,
.card-surface-dark{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(160deg, #4a256b 0%, #60358d 48%, #7851a9 100%);
  border: 1px solid rgba(233, 221, 255, 0.28) !important;
  box-shadow: 0 1rem 2.5rem rgba(39, 17, 63, 0.24) !important;
  color: #ffffff;
}

.card-surface-purple{
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(160deg, #4a256b 0%, #60358d 48%, #7851a9 100%);
}

.card-surface-dark{
  background:
    radial-gradient(circle at top right, rgba(214, 185, 255, 0.14), transparent 28%),
    linear-gradient(160deg, #050308 0%, #120a1c 58%, #241137 100%);
  border-color: rgba(180, 141, 235, 0.36) !important;
  box-shadow: 0 1rem 2.5rem rgba(11, 6, 18, 0.34) !important;
}

/* Inside a regular (non-dark, non-purple) card, alternate nested .card
   elements between purple and dark by parent column position so a light
   parent never contains another light card. */
.card:not(.card-surface-dark):not(.card-surface-purple) [class*="col-"]:nth-child(odd) > .card{
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(160deg, #4a256b 0%, #60358d 48%, #7851a9 100%) !important;
  border: 1px solid rgba(233, 221, 255, 0.28) !important;
  box-shadow: 0 1rem 2.5rem rgba(39, 17, 63, 0.24) !important;
  color: #ffffff;
}

.card:not(.card-surface-dark):not(.card-surface-purple) [class*="col-"]:nth-child(even) > .card{
  background:
    radial-gradient(circle at top right, rgba(214, 185, 255, 0.14), transparent 28%),
    linear-gradient(160deg, #050308 0%, #120a1c 58%, #241137 100%) !important;
  border: 1px solid rgba(180, 141, 235, 0.36) !important;
  box-shadow: 0 1rem 2.5rem rgba(11, 6, 18, 0.34) !important;
  color: #ffffff;
}

.card:not(.card-surface-dark):not(.card-surface-purple) [class*="col-"] > .card :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption){
  color: inherit;
}

.card-surface-purple::before,
.card-surface-dark::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.card-surface-purple::after,
.card-surface-dark::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--pbpc-accent);
  box-shadow: 0 0 0 3px rgba(var(--pbpc-accent-rgb), 0.18);
  pointer-events: none;
  z-index: 1;
}

.card-surface-purple > *,
.card-surface-dark > *{
  position: relative;
  z-index: 1;
}

.card-surface-purple h1,
.card-surface-purple h2,
.card-surface-purple h3,
.card-surface-purple h4,
.card-surface-purple h5,
.card-surface-purple h6,
.card-surface-purple p,
.card-surface-purple li,
.card-surface-dark h1,
.card-surface-dark h2,
.card-surface-dark h3,
.card-surface-dark h4,
.card-surface-dark h5,
.card-surface-dark h6,
.card-surface-dark p,
.card-surface-dark li{
  color: inherit;
}

.card-surface-purple .text-secondary,
.card-surface-purple .small.text-secondary,
.card-surface-dark .text-secondary,
.card-surface-dark .small.text-secondary{
  color: rgba(255, 255, 255, 0.8) !important;
}

/* When a solid white tile (.bg-body) or a self-bordered light tile
   (.border, .bg-white, .bg-light) sits inside a dark/purple surface card,
   it visually resets the background — so the inherited white text from the
   surrounding card-surface-* color rule becomes white-on-white. Restore
   readable defaults inside those nested light tiles. */
.card-surface-purple :is(.bg-body, .bg-white, .bg-light, .border),
.card-surface-dark :is(.bg-body, .bg-white, .bg-light, .border){
  color: var(--bs-body-color);
}
/* `.border` alone is just a 1px outline — it stays transparent over the dark
   card gradient, so any text inside still sits on purple. Give the nested
   bordered tile an opaque light surface so the text-color fix has something
   readable to land on. */
.card-surface-purple .border:not(.bg-body):not(.bg-white):not(.bg-light):not(.bg-dark):not(.bg-primary):not(.bg-secondary),
.card-surface-dark .border:not(.bg-body):not(.bg-white):not(.bg-light):not(.bg-dark):not(.bg-primary):not(.bg-secondary){
  background-color: var(--bs-body-bg, #ffffff);
}
.card-surface-purple :is(.bg-body, .bg-white, .bg-light, .border) :is(.text-secondary, .small.text-secondary),
.card-surface-dark :is(.bg-body, .bg-white, .bg-light, .border) :is(.text-secondary, .small.text-secondary){
  color: var(--bs-secondary-color, #6c757d) !important;
}

.card-surface-purple .stretched-link,
.card-surface-purple a:not(.btn),
.card-surface-dark .stretched-link,
.card-surface-dark a:not(.btn){
  color: #f4e9ff;
}

/* If a link inside one of the dark/purple card scopes is itself a light tile
   (.border, .bg-body, .bg-white, .bg-light) or sits inside one, the white-
   text rule above leaves it light-on-light. Reset to dark purple. */
.card-surface-purple :is(.bg-body, .bg-white, .bg-light, .border, table) a:not(.btn),
.card-surface-purple a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn),
.card-surface-dark :is(.bg-body, .bg-white, .bg-light, .border, table) a:not(.btn),
.card-surface-dark a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn){
  color: #6b3fa0;
}
.card-surface-purple :is(.bg-body, .bg-white, .bg-light, .border, table) a:not(.btn) :is(div, span),
.card-surface-purple a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn) :is(div, span),
.card-surface-dark :is(.bg-body, .bg-white, .bg-light, .border, table) a:not(.btn) :is(div, span),
.card-surface-dark a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn) :is(div, span){
  color: inherit;
}

.card-surface-purple .stretched-link:hover,
.card-surface-purple a:not(.btn):hover,
.card-surface-dark .stretched-link:hover,
.card-surface-dark a:not(.btn):hover{
  color: #ffffff;
}

.card:not(.card-surface-purple):not(.card-surface-dark) > .card-body > .text-uppercase.small.fw-semibold,
.card:not(.card-surface-purple):not(.card-surface-dark) > .card-body > .small.text-secondary.text-uppercase.fw-semibold,
.card:not(.card-surface-purple):not(.card-surface-dark) > .card-body > .text-uppercase.small.fw-semibold.text-secondary {
  color: #6b3fa0 !important;
  letter-spacing: 0.06em;
}
.card-body > .text-uppercase.small.fw-semibold,
.card-body > .small.text-secondary.text-uppercase.fw-semibold,
.card-body .text-uppercase.small.fw-semibold.text-secondary {
  letter-spacing: 0.06em;
}

.card-surface-purple :is(.bg-body, .bg-white, .bg-light, .border) :is(.text-uppercase.small.fw-semibold, .small.text-secondary.text-uppercase.fw-semibold, .text-uppercase.small.fw-semibold.text-secondary, .small.text-uppercase.text-secondary, .small.text-uppercase.fw-semibold),
.card-surface-dark :is(.bg-body, .bg-white, .bg-light, .border) :is(.text-uppercase.small.fw-semibold, .small.text-secondary.text-uppercase.fw-semibold, .text-uppercase.small.fw-semibold.text-secondary, .small.text-uppercase.text-secondary, .small.text-uppercase.fw-semibold) {
  color: #6b3fa0 !important;
}

.card .stretched-link,
.content-body a:not(.btn),
.list-group-item-action {
  color: #7851a9;
}

.card .stretched-link:hover,
.content-body a:not(.btn):hover,
.list-group-item-action:hover {
  color: #5f348b;
}

.content-body .card-surface-purple a:not(.btn),
.content-body .card-surface-dark a:not(.btn) {
  color: #f4e9ff;
}
.content-body .card-surface-purple a:not(.btn):hover,
.content-body .card-surface-dark a:not(.btn):hover {
  color: #ffffff;
}

.list-group-item {
  background: rgba(120, 81, 169, 0.04);
  border-color: rgba(120, 81, 169, 0.18);
  color: #0f0f10;
  border-radius: var(--radius-surface) !important;
  margin-bottom: 0.5rem;
  padding: 0.95rem 1.25rem;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.list-group-item.px-0 {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.list-group-item-action:hover {
  background: rgba(120, 81, 169, 0.12);
}

.card-surface-purple .list-group-item,
.card-surface-dark .list-group-item{
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}


.card-surface-purple .list-group-item-action:hover,
.card-surface-dark .list-group-item-action:hover {
  background: rgba(255, 255, 255, 0.16);
}

.panel-list-purple .list-group-item {
  background: linear-gradient(160deg, #4a256b 0%, #60358d 48%, #7851a9 100%);
  border-color: rgba(233, 221, 255, 0.28);
  border-left: 3px solid var(--pbpc-accent);
  color: #ffffff;
  padding: 1rem 1.1rem;
}

.panel-list-purple .list-group-item strong {
  color: #ffffff;
}

.panel-list-purple .list-group-item-action:hover {
  background: linear-gradient(160deg, #5a2f80 0%, #7444a8 48%, #8a63bd 100%);
}

.list-group > .list-group-item:last-child {
  margin-bottom: 0;
}

.border {
  border-color: rgba(120, 81, 169, 0.22) !important;
}

.p-3.rounded-3.border,
.p-4.rounded-4.border,
.p-4.rounded-3.border {
  background: linear-gradient(180deg, rgba(244, 237, 252, 0.72) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.card-surface-purple .p-3.rounded-3.border:not(.bg-body):not(.bg-white):not(.bg-light),
.card-surface-purple .p-4.rounded-4.border:not(.bg-body):not(.bg-white):not(.bg-light),
.card-surface-purple .p-4.rounded-3.border:not(.bg-body):not(.bg-white):not(.bg-light),
.card-surface-dark .p-3.rounded-3.border:not(.bg-body):not(.bg-white):not(.bg-light),
.card-surface-dark .p-4.rounded-4.border:not(.bg-body):not(.bg-white):not(.bg-light),
.card-surface-dark .p-4.rounded-3.border:not(.bg-body):not(.bg-white):not(.bg-light) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(241, 230, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.18) !important;
}


.panel-inset-dark {
  background:
    linear-gradient(160deg, #4a256b 0%, #60358d 48%, #7851a9 100%) !important;
  border-color: rgba(233, 221, 255, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.panel-inset-dark h4,
.panel-inset-dark p {
  color: #ffffff !important;
}

.accordion-item {
  border-color: rgba(120, 81, 169, 0.2);
  background: linear-gradient(180deg, rgba(249, 245, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-radius: var(--radius-surface) !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.accordion-button {
  background: rgba(120, 81, 169, 0.08);
  color: #2d223a;
  border-radius: 0 !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(120, 81, 169, 0.16);
  color: #2d223a;
  box-shadow: inset 0 -1px 0 rgba(120, 81, 169, 0.12);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(120, 81, 169, 0.18);
}

.card-surface-purple .accordion-item,
.card-surface-dark .accordion-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}


.card-surface-purple .accordion-button,
.card-surface-dark .accordion-button {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}


.card-surface-purple .accordion-button:not(.collapsed),
.card-surface-dark .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}


.card-surface-purple .accordion-button::after,
.card-surface-dark .accordion-button::after {
  filter: brightness(0) invert(1);
}


.card-surface-purple .accordion-body,
.card-surface-dark .accordion-body {
  color: rgba(255, 255, 255, 0.84);
}


.accordion-item:last-of-type {
  margin-bottom: 0;
}

.accordion-item:first-of-type,
.accordion-item:last-of-type,
.accordion-item:not(:first-of-type) {
  border-top-left-radius: var(--radius-surface) !important;
  border-top-right-radius: var(--radius-surface) !important;
  border-bottom-left-radius: var(--radius-surface) !important;
  border-bottom-right-radius: var(--radius-surface) !important;
}

.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed,
.accordion-item > .accordion-header .accordion-button.collapsed {
  border-radius: var(--radius-surface) !important;
}

.accordion-collapse {
  border-radius: 0 0 var(--radius-surface) var(--radius-surface);
}

blockquote {
  background: linear-gradient(135deg, rgba(120, 81, 169, 0.12) 0%, rgba(120, 81, 169, 0.04) 100%);
  border-radius: var(--radius-surface);
  padding: 1rem 1.1rem;
}

.card-surface-purple blockquote,
.card-surface-dark blockquote{
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(244, 233, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.card-surface-purple .bg-body blockquote,
.card-surface-dark > .card-body .bg-body blockquote{
  background: linear-gradient(135deg, rgba(120, 81, 169, 0.12) 0%, rgba(120, 81, 169, 0.04) 100%);
  border: 0;
  color: var(--bs-body-color);
}

.card-surface-dark > .card-body > blockquote,
.card-surface-dark > .card-body > .content-body > blockquote{
  background: linear-gradient(135deg, rgba(120, 81, 169, 0.36) 0%, rgba(74, 37, 107, 0.78) 100%);
  border-color: rgba(221, 204, 255, 0.18);
}

.btn-outline-secondary {
  --bs-btn-color: #7851a9;
  --bs-btn-border-color: #7851a9;
  --bs-btn-hover-bg: #7851a9;
  --bs-btn-hover-border-color: #7851a9;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-focus-shadow-rgb: 120, 81, 169;
  border-radius: var(--radius-control);
}

.card-surface-purple .btn-outline-secondary,
.card-surface-dark .btn-outline-secondary{
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.46);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.14);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.7);
  --bs-btn-hover-color: #ffffff;
}

/* When a nested light card lives inside a dark surface scope, reset the
   button-outline-secondary styling back to its on-light defaults — the
   dark-surface override above would otherwise leave white-on-white text. */
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) .btn-outline-secondary,
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) .btn-outline-secondary {
  --bs-btn-color: #7851a9;
  --bs-btn-border-color: #7851a9;
  --bs-btn-hover-bg: #7851a9;
  --bs-btn-hover-border-color: #7851a9;
  --bs-btn-hover-color: #ffffff;
}

.text-secondary {
  color: #4f455d !important;
}


.card-surface-purple .content-body p,
.card-surface-purple .content-body li,
.card-surface-purple .content-body figcaption,
.card-surface-dark .content-body p,
.card-surface-dark .content-body li,
.card-surface-dark .content-body figcaption,
.card-surface-purple .content-body h1,
.card-surface-purple .content-body h2,
.card-surface-purple .content-body h3,
.card-surface-purple .content-body h4,
.card-surface-purple .content-body h5,
.card-surface-purple .content-body h6,
.card-surface-dark .content-body h1,
.card-surface-dark .content-body h2,
.card-surface-dark .content-body h3,
.card-surface-dark .content-body h4,
.card-surface-dark .content-body h5,
.card-surface-dark .content-body h6 {
  color: #ffffff;
}

.card-surface-purple .content-body a:not(.btn),
.card-surface-dark .content-body a:not(.btn) {
  color: #f4e9ff;
}

.card-surface-purple .content-body a:not(.btn):hover,
.card-surface-dark .content-body a:not(.btn):hover {
  color: #ffffff;
}

/* page.html wraps every non-product/non-location page in
   .card-surface-dark > .content-body, but page authors render their own
   .card elements inside. Those nested cards have their own light bg, so
   the inherited white text turns invisible. Re-establish readable defaults
   on any nested *light* card (other than the explicit .products-guide-content
   scope, which intentionally keeps cards dark; and other than nested cards
   that explicitly opt in to a dark/purple surface, which want white text). */
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark),
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) {
  color: var(--bs-body-color) !important;
}
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6),
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
  color: var(--bs-heading-color) !important;
}
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) :is(p, li, blockquote, figcaption),
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) :is(p, li, blockquote, figcaption) {
  color: var(--bs-body-color) !important;
}
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) :is(.text-secondary, .small.text-secondary),
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) :is(.text-secondary, .small.text-secondary) {
  color: var(--bs-secondary-color, #6c757d) !important;
}
/* Same idea for tile-style escape hatches (.border, .bg-body, .bg-white,
   .bg-light) sitting directly inside .content-body without a .card wrapper.
   The brand-activations + locations pages do this for grid items. */
.card-surface-purple .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6),
.card-surface-dark .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
  color: var(--bs-heading-color) !important;
}
.card-surface-purple .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) :is(p, li, blockquote, figcaption),
.card-surface-dark .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) :is(p, li, blockquote, figcaption) {
  color: var(--bs-body-color) !important;
}
/* Links inside a light tile (and links that ARE the tile, e.g. block-level
   anchor cards on /brand-activations/) need a readable color too — the
   .card-surface-dark .content-body a rule paints them light purple, which
   disappears against the white tile bg. */
.card-surface-purple .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) a:not(.btn),
.card-surface-purple .content-body:not(.products-guide-content) a.bg-body:not(.btn),
.card-surface-purple .content-body:not(.products-guide-content) a.bg-white:not(.btn),
.card-surface-purple .content-body:not(.products-guide-content) a.bg-light:not(.btn),
.card-surface-purple .content-body:not(.products-guide-content) a.border:not(.btn),
.card-surface-dark .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) a:not(.btn),
.card-surface-dark .content-body:not(.products-guide-content) a.bg-body:not(.btn),
.card-surface-dark .content-body:not(.products-guide-content) a.bg-white:not(.btn),
.card-surface-dark .content-body:not(.products-guide-content) a.bg-light:not(.btn),
.card-surface-dark .content-body:not(.products-guide-content) a.border:not(.btn) {
  color: #6b3fa0 !important;
}
.card-surface-purple .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) a:not(.btn) :is(div, span, h1, h2, h3, h4, h5, h6),
.card-surface-purple .content-body:not(.products-guide-content) a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn) :is(div, span, h1, h2, h3, h4, h5, h6),
.card-surface-dark .content-body:not(.products-guide-content) :is(.bg-body, .bg-white, .bg-light, .border) a:not(.btn) :is(div, span, h1, h2, h3, h4, h5, h6),
.card-surface-dark .content-body:not(.products-guide-content) a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn) :is(div, span, h1, h2, h3, h4, h5, h6) {
  color: inherit !important;
}
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) a:not(.btn),
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) a:not(.btn) {
  color: #6b3fa0;
}
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) a:not(.btn):hover,
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) a:not(.btn):hover {
  color: #4d296f;
}
/* List-group items inside the same nested-light-card scope inherit the
   "dark surface" list-group treatment (semi-transparent white bg, white
   text) which becomes invisible on a white card. Reset to defaults. */
.card-surface-purple .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) .list-group-item,
.card-surface-dark .content-body:not(.products-guide-content) .card:not(.card-surface-purple):not(.card-surface-dark) .list-group-item {
  background: transparent;
  border-color: rgba(120, 81, 169, 0.18);
  color: var(--bs-body-color);
}

.products-guide-content .card-surface-purple .card-body > .text-uppercase.small.fw-semibold,
.products-guide-content .card-surface-purple .card-body > .small.text-secondary.text-uppercase.fw-semibold,
.products-guide-content .card-surface-purple .card-body .text-uppercase.small.fw-semibold.text-secondary,
.products-guide-content .card-surface-dark .card-body > .text-uppercase.small.fw-semibold,
.products-guide-content .card-surface-dark .card-body > .small.text-secondary.text-uppercase.fw-semibold,
.products-guide-content .card-surface-dark .card-body .text-uppercase.small.fw-semibold.text-secondary {
  color: #e7d8ff !important;
}

.products-guide-content .list-group-item {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(120, 81, 169, 0.18);
  color: #1d1625;
}

.products-guide-content .list-group-item a,
.products-guide-content .list-group-item .stretched-link {
  color: #6b3fa0 !important;
}

/* Light tiles (bordered or white-bg panels) inside .products-guide-content
   reset link color to dark purple — otherwise the light-on-light text is
   invisible. Mirrors the equivalent rule in the .content-body scope. */
.products-guide-content :is(.bg-body, .bg-white, .bg-light, .border) a:not(.btn),
.products-guide-content a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn) {
  color: #6b3fa0 !important;
}
.products-guide-content :is(.bg-body, .bg-white, .bg-light, .border) a:not(.btn):hover,
.products-guide-content a:is(.bg-body, .bg-white, .bg-light, .border):not(.btn):hover {
  color: #4d296f !important;
}

.products-guide-content .list-group-item a:hover,
.products-guide-content .list-group-item .stretched-link:hover {
  color: #4d296f !important;
}

.products-guide-content .p-3.rounded-3.border,
.products-guide-content .p-4.rounded-4.border,
.products-guide-content .p-4.rounded-3.border {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 239, 255, 0.94) 100%);
  border-color: rgba(120, 81, 169, 0.18) !important;
}

.products-guide-content .p-3.rounded-3.border h1,
.products-guide-content .p-3.rounded-3.border h2,
.products-guide-content .p-3.rounded-3.border h3,
.products-guide-content .p-3.rounded-3.border h4,
.products-guide-content .p-3.rounded-3.border h5,
.products-guide-content .p-3.rounded-3.border h6,
.products-guide-content .p-3.rounded-3.border p,
.products-guide-content .p-3.rounded-3.border li,
.products-guide-content .p-4.rounded-4.border h1,
.products-guide-content .p-4.rounded-4.border h2,
.products-guide-content .p-4.rounded-4.border h3,
.products-guide-content .p-4.rounded-4.border h4,
.products-guide-content .p-4.rounded-4.border h5,
.products-guide-content .p-4.rounded-4.border h6,
.products-guide-content .p-4.rounded-4.border p,
.products-guide-content .p-4.rounded-4.border li,
.products-guide-content .p-4.rounded-3.border h1,
.products-guide-content .p-4.rounded-3.border h2,
.products-guide-content .p-4.rounded-3.border h3,
.products-guide-content .p-4.rounded-3.border h4,
.products-guide-content .p-4.rounded-3.border h5,
.products-guide-content .p-4.rounded-3.border h6,
.products-guide-content .p-4.rounded-3.border p,
.products-guide-content .p-4.rounded-3.border li {
  color: #1d1625;
}

.products-guide-content .p-3.rounded-3.border .text-secondary,
.products-guide-content .p-4.rounded-4.border .text-secondary,
.products-guide-content .p-4.rounded-3.border .text-secondary {
  color: #5a4d69 !important;
}

.products-guide-content .p-3.rounded-3.border h1,
.products-guide-content .p-3.rounded-3.border h2,
.products-guide-content .p-3.rounded-3.border h3,
.products-guide-content .p-3.rounded-3.border h4,
.products-guide-content .p-3.rounded-3.border h5,
.products-guide-content .p-3.rounded-3.border h6,
.products-guide-content .p-3.rounded-3.border .fw-semibold,
.products-guide-content .p-4.rounded-4.border h1,
.products-guide-content .p-4.rounded-4.border h2,
.products-guide-content .p-4.rounded-4.border h3,
.products-guide-content .p-4.rounded-4.border h4,
.products-guide-content .p-4.rounded-4.border h5,
.products-guide-content .p-4.rounded-4.border h6,
.products-guide-content .p-4.rounded-4.border .fw-semibold,
.products-guide-content .p-4.rounded-3.border h1,
.products-guide-content .p-4.rounded-3.border h2,
.products-guide-content .p-4.rounded-3.border h3,
.products-guide-content .p-4.rounded-3.border h4,
.products-guide-content .p-4.rounded-3.border h5,
.products-guide-content .p-4.rounded-3.border h6,
.products-guide-content .p-4.rounded-3.border .fw-semibold {
  color: #6b3fa0 !important;
}

.products-guide-content .accordion-item {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(120, 81, 169, 0.18);
  padding: 0;
}

.products-guide-content .accordion-header {
  margin: 0;
}

.products-guide-content .accordion-button {
  background: rgba(120, 81, 169, 0.08);
  color: #1d1625;
  margin: 0;
  border-radius: 0 !important;
}

.products-guide-content .accordion-button:not(.collapsed) {
  background: rgba(120, 81, 169, 0.16);
  color: #1d1625;
  box-shadow: inset 0 -1px 0 rgba(120, 81, 169, 0.12);
  border-radius: 0 !important;
}

.products-guide-content .accordion-button::after {
  filter: none;
}

.products-guide-content .accordion-body {
  color: #4f455d;
}

.hero-image,
.card-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #efe9e1;
}

.gallery-media {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #1b112b;
}

.carousel-inner {
  background-color: #1b112b;
}

.carousel-caption {
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-surface);
  background-color: rgba(8, 5, 13, 0.92);
  background-image: linear-gradient(180deg, rgba(8, 5, 13, 0.85) 0%, rgba(8, 5, 13, 0.96) 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.carousel-caption p,
.carousel-caption h3,
.carousel-caption span {
  color: #ffffff;
}

.pbpc-stars {
  color: #b8860b;
  letter-spacing: 0.05em;
}

.pbpc-stars .text-secondary {
  color: #6c757d !important;
}

.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-surface);
  margin: 1rem 0;
  border: 1px solid rgba(120, 81, 169, 0.18);
}

.content-body iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-surface);
  margin: 1rem 0;
  box-shadow: 0 0.5rem 1.25rem rgba(17, 10, 28, 0.12);
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-body p,
.content-body li,
.content-body figcaption {
  color: var(--bs-secondary-color);
}

.content-body blockquote {
  border-left: 4px solid rgba(120, 81, 169, 0.45);
  padding-left: 1rem;
  color: #2d223a;
}

.content-body a {
  word-break: break-word;
}

.form-control,
.form-select,
.alert,
.accordion-item,
.accordion-button,
.ratio,
.hero-image,
.card-media {
  border-radius: var(--radius-surface);
}

.form-control,
.form-select {
  border-color: rgba(120, 81, 169, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(120, 81, 169, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(120, 81, 169, 0.14);
}

textarea.form-control {
  min-height: 7.5rem;
}

.card-surface-purple .content-body p,
.card-surface-purple .content-body li,
.card-surface-purple .content-body figcaption,
.card-surface-dark .content-body p,
.card-surface-dark .content-body li,
.card-surface-dark .content-body figcaption,
.card-surface-purple .content-body h1,
.card-surface-purple .content-body h2,
.card-surface-purple .content-body h3,
.card-surface-purple .content-body h4,
.card-surface-purple .content-body h5,
.card-surface-purple .content-body h6,
.card-surface-dark .content-body h1,
.card-surface-dark .content-body h2,
.card-surface-dark .content-body h3,
.card-surface-dark .content-body h4,
.card-surface-dark .content-body h5,
.card-surface-dark .content-body h6 {
  color: #ffffff;
}

.card-surface-purple .content-body a:not(.btn),
.card-surface-dark .content-body a:not(.btn) {
  color: #f4e9ff;
}

.card-surface-purple .content-body a:not(.btn):hover,
.card-surface-dark .content-body a:not(.btn):hover {
  color: #ffffff;
}

.card-surface-purple .content-body blockquote,
.card-surface-dark .content-body blockquote {
  border-left-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.card-surface-purple .form-label,
.card-surface-dark .form-label{
  color: #ffffff;
}

.mini-availability-form {
  margin-top: 1rem;
}

.mini-availability-form .form-control {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(120, 81, 169, 0.24);
}

.mini-availability-form textarea.form-control {
  min-height: 5.5rem;
}

.mini-availability-form .btn {
  margin-top: 0.25rem;
}

@keyframes pbpc-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow,
.hero-title,
.hero-summary,
.brand-hero .d-flex.flex-wrap.gap-2,
.service-area-hero .d-flex.flex-wrap.gap-2 {
  animation: pbpc-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-eyebrow { animation-delay: 0.05s; }
.hero-title   { animation-delay: 0.18s; }
.hero-summary { animation-delay: 0.32s; }
.brand-hero .d-flex.flex-wrap.gap-2,
.service-area-hero .d-flex.flex-wrap.gap-2 { animation-delay: 0.46s; }

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1.25rem 3rem rgba(17, 10, 28, 0.12) !important;
}
.card-surface-purple:hover,
.card-surface-dark:hover {
  box-shadow: 0 1.5rem 3.5rem rgba(39, 17, 63, 0.32) !important;
}

.city-ticker {
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(120, 81, 169, 0.18);
  border-bottom: 1px solid rgba(120, 81, 169, 0.18);
  background: #fafaf7;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.city-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: pbpc-ticker 60s linear infinite;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #4f455d;
}
.city-ticker-item { white-space: nowrap; }
.city-ticker-dot { color: var(--pbpc-accent); }
.city-ticker:hover .city-ticker-track { animation-play-state: paused; }

@keyframes pbpc-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-title,
  .hero-summary,
  .brand-hero .d-flex.flex-wrap.gap-2,
  .service-area-hero .d-flex.flex-wrap.gap-2 { animation: none; }
  .card:hover { transform: none; }
  .city-ticker-track { animation: none; }
}
