/**
 * Muval digital PR stats block v2 — "moving trends & lifestyle".
 * Full-width research strip: narrative blurb on top, stat band below.
 * Light theme on Bootstrap's bg-light (#f8f9fa) with dark ink text.
 * Self-contained (no dependency on interstate-insights flow classes).
 * Deploy to: /media/muval/css/pr-insights-v2.css
 */

.muval-pr2 {
  --pr2-bg: #f8f9fa;            /* bootstrap bg-light */
  --pr2-edge: #e9ecef;
  --pr2-line: rgba(32, 38, 51, .12);
  --pr2-text: #20242e;
  --pr2-soft: #4d5563;
  --pr2-faint: #7c8494;
  --pr2-orange: #ff6600;
  --pr2-orange-deep: #e05c00;   /* readable orange for small text on light bg */
}

.muval-pr2 .pr2-panel {
  position: relative;
  background: var(--pr2-bg);
  border: 1px solid var(--pr2-edge);
  color: var(--pr2-text);
  border-radius: 20px;
  padding: 2.2rem 2.4rem 1.6rem;
  overflow: hidden;
}

/* ------------------------------------------------ head: heading + blurb */

/* two columns: heading/lead left, booking CTA right */
.muval-pr2 .pr2-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  margin-bottom: 1.9rem;
}

.muval-pr2 .pr2-head-main {
  min-width: 0;
}

.muval-pr2 .pr2-head-cta {
  flex: 0 0 auto;
}

.muval-pr2 .pr2-heading {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pr2-text);
  margin: 0 0 .65rem;
}

.muval-pr2 .pr2-accent {
  color: var(--pr2-orange);
}

/* the blurb: full-width narrative that sits just above the stats */
.muval-pr2 .pr2-lead {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--pr2-soft);
  max-width: 72ch;
  margin: 0;
}

.muval-pr2 .pr2-lead a {
  color: var(--pr2-orange-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.muval-pr2 .pr2-lead a:hover {
  color: var(--pr2-orange);
}

.muval-pr2 .pr2-lead > .muval-icon {
  width: 1rem;
  height: 1rem;
  color: var(--pr2-orange);
  margin-right: .1rem;
}

/* ------------------------------------------------ full-width stat band */

.muval-pr2 .pr2-statband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  border-top: 1px solid var(--pr2-line);
  border-bottom: 1px solid var(--pr2-line);
}

.muval-pr2 .pr2-stat {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.15rem 1.15rem 1.15rem 1.2rem;
  border-left: 1px solid var(--pr2-line);
  min-width: 0;
  outline: none;
  transition: background .15s ease;
}

/* first tile keeps its text flush with the heading above, but still gets
   inner padding so the hover/focus highlight doesn't hug the text */
.muval-pr2 .pr2-stat:first-child {
  border-left: none;
  padding-left: 1.2rem;
}

.muval-pr2 .pr2-stat:hover,
.muval-pr2 .pr2-stat:focus-visible {
  background: rgba(32, 38, 51, .04);
  cursor: help;
}

.muval-pr2 .pr2-stat-label {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  font-size: .67rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--pr2-faint);
  line-height: 1.35;
}

.muval-pr2 .pr2-stat-label .muval-icon {
  flex: 0 0 auto;
  width: .9rem;
  height: .9rem;
  color: var(--pr2-orange);
  margin-top: -.05em;
}

.muval-pr2 .pr2-stat-label .info-tip {
  color: var(--pr2-faint);
  opacity: .7;
}

.muval-pr2 .pr2-stat-value {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--pr2-text);
  margin-top: auto;
}

.muval-pr2 .pr2-stat-value-text {
  font-size: 1.02rem;
  line-height: 1.3;
}

.muval-pr2 .pr2-stat-hint {
  font-size: .74rem;
  line-height: 1.35;
  color: var(--pr2-faint);
}

/* hero tile: first stat gets the orange treatment and extra width */
.muval-pr2 .pr2-stat-hero {
  grid-row: span 1;
}

.muval-pr2 .pr2-stat-hero .pr2-stat-value {
  font-size: 2.35rem;
  color: var(--pr2-orange);
}

.muval-pr2 .pr2-stat-hero .pr2-stat-value.pr2-stat-value-text {
  font-size: 1.35rem;
  line-height: 1.2;
}

/* ------------------------------------------------------------- footer */

/* single flowing line: trust text then linked report chips, wrapping naturally */
.muval-pr2 .pr2-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .45rem .45rem;
  padding-top: 1rem;
}

.muval-pr2 .pr2-trust {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .76rem;
  color: var(--pr2-faint);
}

.muval-pr2 .pr2-trust .muval-icon {
  width: .95rem;
  height: .95rem;
  color: var(--pr2-orange);
}

.muval-pr2 .pr2-source-chip {
  display: inline-block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--pr2-soft);
  background: #fff;
  border: 1px solid var(--pr2-line);
  border-radius: 999px;
  padding: .14rem .6rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}

.muval-pr2 a.pr2-source-chip:hover,
.muval-pr2 a.pr2-source-chip:focus-visible {
  color: var(--pr2-orange-deep);
  border-color: rgba(255, 102, 0, .45);
  text-decoration: none;
}

/* icons shared with the flow blocks */
.muval-pr2 .muval-icon {
  display: inline-block;
  vertical-align: -.12em;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 767.98px) {
  /* stack the booking CTA below the lead, left-aligned */
  .muval-pr2 .pr2-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  .muval-pr2 .pr2-statband {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .muval-pr2 .pr2-stat:nth-child(3n + 1) {
    border-left: none;
    padding-left: 1.2rem;
    margin-left: -1.2rem;
  }

  .muval-pr2 .pr2-stat {
    border-top: 1px solid var(--pr2-line);
  }

  .muval-pr2 .pr2-stat:nth-child(-n + 3) {
    border-top: none;
  }
}

@media (max-width: 575.98px) {
  .muval-pr2 .pr2-panel {
    padding: 1.6rem 1.25rem 1.2rem;
    border-radius: 16px;
  }

  /* dividers become mini-cards on small screens */
  .muval-pr2 .pr2-statband {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    border: none;
  }

  .muval-pr2 .pr2-stat,
  .muval-pr2 .pr2-stat:first-child,
  .muval-pr2 .pr2-stat:nth-child(3n + 1) {
    border: 1px solid var(--pr2-line);
    border-radius: 12px;
    padding: .85rem .85rem .9rem;
    margin-left: 0;
    background: #fff;
  }

  .muval-pr2 .pr2-stat-hero {
    grid-column: 1 / -1;
  }

  .muval-pr2 .pr2-stat-value {
    font-size: 1.45rem;
  }

  .muval-pr2 .pr2-stat-hero .pr2-stat-value {
    font-size: 1.9rem;
  }
}
