.pp-mass-page {
  overflow-x: hidden;
  background: #fffdf9;
}

.pp-mass-page .letter-spacing {
  letter-spacing: .08em;
}

.pp-mass-hero {
  min-height: 68vh;
  background: #18231d;
}

.pp-mass-hero-image,
.pp-mass-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pp-mass-hero-image {
  object-fit: cover;
  object-position: center 42%;
}

.pp-mass-hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 24, 19, .95) 0%, rgba(14, 24, 19, .74) 52%, rgba(14, 24, 19, .3) 100%),
    linear-gradient(0deg, rgba(14, 24, 19, .78) 0%, transparent 60%);
}

.pp-mass-breadcrumb a,
.pp-mass-breadcrumb .breadcrumb-item,
.pp-mass-breadcrumb .breadcrumb-item::before {
  color: rgba(255, 255, 255, .82);
}

.pp-mass-index,
.pp-mass-summary,
.pp-mass-map,
.pp-mass-recommendation,
.pp-mass-tips,
.pp-mass-links,
.pp-mass-method {
  border: 1px solid rgba(47, 83, 63, .14);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 .8rem 2rem rgba(29, 53, 40, .07);
}

.pp-mass-index {
  position: sticky;
  top: 1rem;
  z-index: 5;
}

.pp-mass-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: church;
}

.pp-mass-index-list li {
  counter-increment: church;
}

.pp-mass-index-list a {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: #244a35;
  font-weight: 600;
  text-decoration: none;
}

.pp-mass-index-list a::before {
  content: counter(church, decimal-leading-zero);
  flex: 0 0 auto;
  color: #a46321;
  font-size: .75rem;
  letter-spacing: .04em;
  line-height: 1.75;
}

.pp-mass-index-list a:hover,
.pp-mass-index-list a:focus-visible {
  color: #a46321;
  text-decoration: underline;
}

.pp-mass-comparison th,
.pp-mass-comparison td,
.pp-mass-hours th,
.pp-mass-hours td {
  vertical-align: middle;
}

.pp-mass-comparison thead th,
.pp-mass-hours thead th {
  background: #294e39;
  color: #fff;
  white-space: nowrap;
}

.pp-mass-comparison tbody th {
  min-width: 230px;
}

.pp-mass-hours tbody th {
  width: 32%;
  color: #294e39;
}

.pp-mass-card {
  overflow: hidden;
  border: 1px solid rgba(47, 83, 63, .16);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(34, 58, 44, .08);
  scroll-margin-top: 1.5rem;
}

.pp-mass-card-image {
  width: 100%;
  height: 100%;
  min-height: 330px;
  max-height: 520px;
  object-fit: cover;
}

.pp-mass-card-number {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8d8bd;
  color: #654016;
  font-weight: 800;
}

.pp-mass-card figcaption {
  background: #f7f3ea;
  line-height: 1.45;
}

.pp-mass-details {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: .9rem;
  background: #f6f8f5;
}

.pp-mass-details dt {
  color: #294e39;
}

.pp-mass-source {
  padding-top: 1rem;
  border-top: 1px dashed rgba(47, 83, 63, .25);
}

.pp-mass-map-frame {
  width: 100%;
  min-height: 480px;
  border: 0;
  border-radius: 1rem;
  background: #e7ece8;
}

.pp-mass-map-selector {
  max-height: 265px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.pp-mass-map-selector .btn[aria-pressed="true"] {
  background: #294e39;
  border-color: #294e39;
  color: #fff;
}

.pp-mass-recommendation-card,
.pp-mass-tip-card {
  height: 100%;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #f7f4ed;
}

.pp-mass-recommendation-card i,
.pp-mass-tip-card i {
  color: #a46321;
  font-size: 1.5rem;
}

.pp-mass-link-list a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(47, 83, 63, .2);
  border-radius: 999px;
  color: #294e39;
  font-weight: 600;
  text-decoration: none;
}

.pp-mass-link-list a:hover,
.pp-mass-link-list a:focus-visible {
  background: #294e39;
  color: #fff;
}

.pp-mass-faq .accordion-button:not(.collapsed) {
  background: #edf3ee;
  color: #244a35;
  box-shadow: none;
}

.pp-mass-cta {
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #294e39 0%, #152e21 100%);
  box-shadow: 0 1rem 2.5rem rgba(24, 49, 34, .2);
}

.pp-mass-updated {
  border-left: .3rem solid #a46321;
  background: #fff6e7;
}

@media (max-width: 991.98px) {
  .pp-mass-index { position: static; }
  .pp-mass-card-image { min-height: 280px; max-height: 390px; }
  .pp-mass-map-frame { min-height: 410px; }
}

@media (max-width: 767.98px) {
  .pp-mass-hero { min-height: 76vh; }
  .pp-mass-hero-overlay {
    background: linear-gradient(0deg, rgba(14, 24, 19, .97) 0%, rgba(14, 24, 19, .58) 100%);
  }
  .pp-mass-index-list { grid-template-columns: 1fr; }
  .pp-mass-card-image { min-height: 235px; max-height: 330px; }
  .pp-mass-map-frame { min-height: 350px; }
}

@media print {
  .pp-mass-hero { min-height: auto; }
  .pp-mass-hero-image,
  .pp-mass-hero-overlay,
  .pp-mass-map,
  .pp-mass-cta,
  .pp-mass-card .btn { display: none !important; }
  .pp-mass-hero h1,
  .pp-mass-hero p,
  .pp-mass-hero .badge { color: #111 !important; }
  .pp-mass-card { break-inside: avoid; box-shadow: none; }
}
