/* TicketSure — Master Agency page.
   Built on common.css + agent.css + rewards-page.css (same neutral type, frame, steps and FAQ as the
   Rewards page) and master-net.css (the home page network tree). Below: this page's own pieces. */

/* ---------- Hero ---------- */
.mp-stage {
  position: relative;
  height: clamp(480px, 42vw, 580px);
}

.mp-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 80%;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--rw-line),
    0 40px 80px -40px rgba(17, 24, 39, 0.45);
}

.mp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 20%;
  animation: rwDrift 22s ease-in-out infinite alternate;
}

.mp-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 24, 39, 0.4));
}

/* District card — same look as the home page master card */
.mp-district {
  position: absolute;
  left:-20%;
  top: 12%;
  z-index: 2;
  width: min(330px, 52%);
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(224, 24, 32, 0.2), transparent 70%),
    var(--rw-dark);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.9),
    0 0 0 7px var(--rw-line),
    0 34px 70px -30px rgba(17, 24, 39, 0.5);
  animation: rwFloat 7s ease-in-out infinite;
}

.mp-district-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.mp-district-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 3px, transparent 4px), var(--rw-teal);
}

.mp-district-top p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.mp-district-top em {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}

.mp-district-top em svg { width: 11px; height: 11px; color: var(--rw-teal); }

.mp-district strong {
  display: block;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.mp-district-loc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.mp-district-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-district-stats div {
  padding-top: 0.7rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-district-stats div:last-child { border-right: 0; }

.mp-district-stats b {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mp-district-stats span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.mp-district-stats .is-hot b { color: #e01820; }

/* district name swap (driven by master-page.js) */
[data-district-name],
[data-district-loc] {
  transition: opacity 0.35s ease, transform 0.35s var(--ease), filter 0.35s ease;
}

.is-district-swap [data-district-name],
.is-district-swap [data-district-loc] {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
}

/* Network income card */
.mp-income {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 3;
  width: min(330px, 54%);
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--rw-line);
  box-shadow:
    inset 0 3px 0 #e01820,
    0 34px 60px -30px rgba(17, 24, 39, 0.5);
}

.mp-income-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-income-top > p:first-child {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rw-gray);
}

.mp-income-amt {
  margin: 0.3rem 0 0.7rem;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--rw-ink);
}

.mp-income-amt small {
  margin-left: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--rw-mute);
}

.mp-income-amt.is-bump { animation: rwBump 0.5s var(--ease); transform-origin: left center; }

.mp-income-feed {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  min-height: 116px;
}

.mp-income-feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid var(--rw-line);
  animation: rwRowIn 0.55s var(--ease) both;
}

.mp-income-feed li:first-child { background: #fff; border-color: #cbd5e1; }

.mp-income-feed i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--rw-dark);
}

.mp-income-feed b { display: block; font-size: 0.8125rem; line-height: 1.2; color: var(--rw-ink); }
.mp-income-feed small { font-size: 0.75rem; color: var(--rw-mute); }
.mp-income-feed em { font-style: normal; font-size: 0.875rem; font-weight: 800; color: #15803d; }

.mp-chip { left: 6%; bottom: 6%; animation-delay: -2s; }

/* ---------- Network tree inside a framed section ---------- */
.page-master .mnet.mp-network {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: #fff;
  overflow: visible;
}

.page-master .mp-network .mnet-tree {
  width: 100%;
  margin: 0;
}

.page-master .mp-network .ag-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- Levels — state and district ---------- */
.mp-levels { padding: clamp(4.5rem, 8vw, 6.5rem) 0; background: #f8fafc; }

.mp-level-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.mp-level {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rw-line);
  box-shadow: 0 24px 50px -36px rgba(17, 24, 39, 0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.3s ease;
}

.mp-level:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 34px 64px -36px rgba(17, 24, 39, 0.5);
}

.mp-level--hot {
  border-color: rgba(8, 24, 56, 0.35);
  box-shadow: inset 0 3px 0 #e01820, 0 24px 50px -36px rgba(17, 24, 39, 0.4);
}

.mp-level-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mp-level-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.9s var(--ease);
}

.mp-level:hover .mp-level-photo img { transform: scale(1.06); }

.mp-level-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.6));
}

.mp-level-num {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.mp-level-num b {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.mp-level-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.3rem 1.4rem 1.5rem;
}

.mp-level-tag {
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #e01820;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.mp-level h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--rw-ink);
}

.mp-level-body > p:not(.mp-level-tag) {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rw-gray);
}

.mp-level ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px dashed #d1d5db;
}

.mp-level li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rw-ink);
}

.mp-level li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e01820 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Claim card */
.mp-claim {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(224, 24, 32, 0.14), transparent 65%),
    var(--rw-dark);
}

.mp-claim-map {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: url("../assets/Favicon%20White.png") center / contain no-repeat;
  opacity: 0.06;
  animation: bxSpin 60s linear infinite;
}

.mp-claim-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.mp-claim h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.mp-claim > p:not(.mp-claim-kicker) {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.mp-claim .btn { margin-top: auto; }

.mp-claim-mail {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---------- Calculator ---------- */
.mp-calc { padding: clamp(4.5rem, 8vw, 6.5rem) 0; background: #fff; }

.mp-calc-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.mp-sliders {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.mp-slider span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rw-gray);
}

.mp-slider b {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rw-ink);
}

.mp-slider input {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #e01820 var(--p, 50%), #fae8e9 var(--p, 50%));
  cursor: pointer;
}

.mp-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #e01820;
  box-shadow: 0 6px 14px -4px rgba(17, 24, 39, 0.45);
  transition: transform 0.2s ease;
}

.mp-slider input::-webkit-slider-thumb:hover { transform: scale(1.12); }

.mp-slider input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #e01820;
}

.mp-slider input:focus-visible { outline: 2px solid #e01820; outline-offset: 6px; }

.mp-result {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(224, 24, 32, 0.16), transparent 65%),
    var(--rw-dark);
  box-shadow: 0 40px 80px -40px rgba(17, 24, 39, 0.55);
}

.mp-result-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.mp-result-amt {
  margin: 0.3rem 0 1.2rem;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.mp-result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.mp-result-row div {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-result-row span {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.mp-result-row b { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }

.mp-result-bar {
  height: 6px;
  margin: 1.2rem 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mp-result-bar i {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e01820, #fff);
  transition: width 0.6s var(--ease);
}

.mp-result-fine {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Steps — four across ---------- */
.mp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mp-steps::before,
.mp-steps::after {
  left: 12.5%;
  right: 12.5%;
}

.mp-steps .rw-step-photo { aspect-ratio: 1 / 1; }
.mp-steps .rw-step-photo img { object-position: center 25%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mp-level-grid { grid-template-columns: 1fr 1fr; }
  .mp-claim { grid-column: 1 / -1; }
  .mp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.6rem; }
  .mp-steps::before,
  .mp-steps::after { display: none; }
}

@media (max-width: 980px) {
  .mp-stage { max-width: 620px; width: 100%; margin-inline: auto; }
  .mp-calc-frame { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .mp-steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .mp-stage { height: 640px; }
  .mp-photo { width: 100%; height: 44%; }
  .mp-district { top: 30%; width: 78%; }
  .mp-income { width: 84%; right: 0; }
  .mp-chip { display: none; }
  .mp-level-grid { grid-template-columns: 1fr; }
  .mp-result-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-photo img,
  .mp-district,
  .mp-claim-map,
  .mp-income-feed li { animation: none; }
}

/* ---------- Network tree — two cards either side of the district card ---------- */
.mp-side {
  position: absolute;
  top: 4px;
  z-index: 2;
  display: grid;
  gap: 0.75rem;
  width: 270px;
}

.mp-side--l { right: calc(50% + 205px); }
.mp-side--r { left: calc(50% + 205px); }

.mp-side-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--rw-line);
  box-shadow: 0 16px 34px -24px rgba(17, 24, 39, 0.45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
  transition-delay: calc(0.4s + var(--i, 0) * 0.12s);
}

.mnet-tree.is-in .mp-side-card { opacity: 1; transform: none; }

.mp-side-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 22px 40px -24px rgba(17, 24, 39, 0.5);
}

/* dashed connector reaching towards the district card */
.mp-side-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  border-top: 2px dashed #cbd5e1;
}

.mp-side--l .mp-side-card { box-shadow: inset -3px 0 0 #e01820, 0 16px 34px -24px rgba(17, 24, 39, 0.45); }
.mp-side--r .mp-side-card { box-shadow: inset 3px 0 0 #e01820, 0 16px 34px -24px rgba(17, 24, 39, 0.45); }
.mp-side--l .mp-side-card::after { left: 100%; }
.mp-side--r .mp-side-card::after { right: 100%; }

.mp-side-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--rw-soft);
  border: 1px solid var(--rw-line);
  color: #e01820;
}

.mp-side-ico svg { width: 21px; height: 21px; }

.mp-side-card b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--rw-ink);
}

.mp-side-card span:not(.mp-side-ico) {
  font-size: 0.8125rem;
  color: var(--rw-gray);
}

/* ---------- FAQ — briefing board ---------- */
.mp-faq { padding: clamp(4.5rem, 8vw, 6.5rem) 0; background: #f8fafc; }

.mp-faq-board {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
}

.mp-faq-list {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  counter-reset: none;
}

.mp-faq-q {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--rw-line);
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.mp-faq-q::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: #9ca3af;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease), color 0.3s ease;
}

.mp-faq-q:hover { border-color: #cbd5e1; transform: translateX(4px); }
.mp-faq-q:hover::after { color: var(--rw-ink); }
.mp-faq-q:focus-visible { outline: 2px solid #e01820; outline-offset: 2px; }

.mp-faq-no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--rw-soft);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--rw-ink);
  transition: background 0.35s ease, color 0.35s ease;
}

.mp-faq-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rw-ink);
  transition: color 0.35s ease;
}

.mp-faq-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #e01820;
  transform: scaleX(0);
  transform-origin: left;
}

.mp-faq-q.is-on {
  background: var(--rw-dark);
  border-color: var(--rw-dark);
  box-shadow: 0 18px 36px -22px rgba(17, 24, 39, 0.6);
  transform: none;
}

.mp-faq-q.is-on .mp-faq-no { background: rgba(255, 255, 255, 0.12); color: #fff; }
.mp-faq-q.is-on .mp-faq-text { color: #fff; }
.mp-faq-q.is-on::after { color: #fff; transform: rotate(45deg) translate(2px, -2px); }

.mp-faq-board.is-auto .mp-faq-q.is-on .mp-faq-bar { animation: mpFaqBar var(--faq-ms, 7000ms) linear forwards; }
.mp-faq-board.is-paused .mp-faq-q.is-on .mp-faq-bar { animation-play-state: paused; }

@keyframes mpFaqBar {
  to { transform: scaleX(1); }
}

/* answer stage */
.mp-faq-stage {
  position: relative;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--rw-dark);
  box-shadow: 0 34px 70px -40px rgba(17, 24, 39, 0.6);
}

.mp-faq-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.mp-faq-panel[hidden] { display: none; }

.mp-faq-photo {
  position: relative;
  order: 2;
  margin: 0;
  overflow: hidden;
}

.mp-faq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  animation: mpFaqZoom 7s ease-out both;
}

.mp-faq-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--rw-dark) 0%, rgba(8, 24, 56, 0.35) 30%, transparent 60%);
}

@keyframes mpFaqZoom {
  from { transform: scale(1.12); opacity: 0.4; }
  to { transform: scale(1.02); opacity: 1; }
}

.mp-faq-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
}

.mp-faq-copy > * { animation: mpFaqIn 0.6s var(--ease) both; }
.mp-faq-copy > :nth-child(2) { animation-delay: 0.06s; }
.mp-faq-copy > :nth-child(3) { animation-delay: 0.12s; }
.mp-faq-copy > :nth-child(4) { animation-delay: 0.2s; }

@keyframes mpFaqIn {
  from { opacity: 0; transform: translateY(14px); }
}

.mp-faq-count {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.mp-faq-count b {
  font-family: var(--serif, Georgia, serif);
  font-size: 3.2rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
  color: #e01820;
}

.mp-faq-copy h3 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mp-faq-ans {
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.mp-faq-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.4rem;
  max-width: 30rem;
}

.mp-faq-facts li {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mp-faq-facts b {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.mp-faq-facts span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* help strip under the board */
.mp-faq-help {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem 1rem 1rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--rw-line);
  box-shadow: inset 3px 0 0 #e01820, 0 16px 34px -26px rgba(17, 24, 39, 0.4);
}

.mp-faq-help-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rw-dark);
}

.mp-faq-help-ico img { width: 30px; height: 30px; }

.mp-faq-help p { flex: 1; display: grid; gap: 0.1rem; }
.mp-faq-help b { font-size: 1.0625rem; color: var(--rw-ink); }
.mp-faq-help span { font-size: 0.9375rem; color: var(--rw-gray); }
.mp-faq-help .btn { flex: none; }

@media (max-width: 1180px) {
  .mp-side { display: none; }
}

@media (max-width: 980px) {
  .mp-faq-board { grid-template-columns: 1fr; }
  .mp-faq-list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: none;
  }
  .mp-faq-list::-webkit-scrollbar { display: none; }
  .mp-faq-q { flex: 0 0 260px; }
  .mp-faq-q:hover { transform: none; }
}

@media (max-width: 800px) {
  .mp-side {
    display: grid;
    position: static;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .mp-side-card::after { display: none; }
  .mp-side-card { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .mp-faq-stage { min-height: 0; }
  .mp-faq-panel { position: relative; grid-template-columns: 1fr; }
  .mp-faq-photo { order: 0; height: 200px; }
  .mp-faq-photo::after { background: linear-gradient(180deg, transparent 40%, var(--rw-dark)); }
  .mp-faq-facts { grid-template-columns: 1fr 1fr; }
  .mp-faq-help { flex-direction: column; align-items: flex-start; }
  .mp-side { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-faq-photo img,
  .mp-faq-copy > *,
  .mp-faq-q.is-on .mp-faq-bar { animation: none; }
  .mp-side-card { transition: none; opacity: 1; transform: none; }
}


/* Brand accents — kickers / title spans / CTA mark */
.page-master .ag-kicker { color: #b0141c; }
.page-master .ag-kicker::before { background: #e01820; }
.page-master .bx-h2 { color: #081838; }
.page-master .bx-h2 span { color: #e01820; }
.page-master .ag-dark .ag-kicker { color: #ff8a8a; }
.page-master .ag-dark .ag-kicker::before { background: #ff8a8a; }
.page-master .ag-dark .bx-h2 { color: #fff; }
.page-master .ag-dark .bx-h2 span { color: #ff8a8a; }
.page-master .bx-cta-mark {
  content: none;
  opacity: 0.12;
  filter: none;
}
