/* Shared inner-page related cards, measured against the supplied 1280px reference. */
.lio-related-section.lio-related-section {
  --related-heading: #580842;
  --related-card-bg: #88005f;
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 120px clamp(24px,6.25vw,80px);
  border: 0;
  background: #fff;
  color: var(--related-heading);
}
.lio-related-section, .lio-related-section *, .lio-related-section *::before, .lio-related-section *::after { box-sizing: border-box; }
.lio-related-section .lio-related-shell { width: 100%; max-width: 1120px; margin: 0 auto !important; }
.lio-related-section .lio-related-title {
  margin: 0 0 36px;
  color: var(--related-heading);
  font-family: 'Big Shoulders Text',sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 72px;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 -2px 0 #fd7cda;
}
.lio-related-section .lio-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; align-items: stretch; }
.lio-related-section .lio-related-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
.lio-related-section .lio-related-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  min-height: 380px;
  margin: 0;
  padding: 30px;
  border: 0;
  border-radius: 16px;
  background: var(--related-card-bg);
  box-shadow: none;
  transition: transform .18s ease;
}
.lio-related-section .lio-related-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: #9b006e;
  mask: url('related-card-pattern-mask-20261125.svg') center / cover no-repeat;
  mask-mode: alpha;
  pointer-events: none;
}
.lio-related-section .lio-related-card > * { z-index: 1; }
.lio-related-section .lio-related-card:nth-child(1)::before { mask-position: right center; }
.lio-related-section .lio-related-card:nth-child(2)::before { mask-position: left center; }
.lio-related-section .lio-related-card:nth-child(3)::before { transform: scaleX(-1); }
.lio-related-section .lio-related-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 216px;
  width: 100%;
  height: 216px;
  margin: 0 0 20px;
}
.lio-related-section .lio-related-icon img { display: block; width: 160px; height: 160px; max-width: 100%; object-fit: contain; }
.lio-related-section .lio-related-card-title {
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Big Shoulders Text',sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0;
  text-wrap: initial;
}
.lio-related-section .lio-related-card-title a { color: inherit; text-decoration: none; }
.lio-related-section .lio-related-card-title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.lio-related-section .lio-related-description { margin: 0; color: #fff; font: 400 12.5px/19px 'Metropolis',sans-serif; letter-spacing: 0; }
.lio-related-section .lio-related-card:hover { transform: translateY(-3px); box-shadow: none; }
/* Show a focus ring for keyboard use, without outlining cards after a click. */
.lio-related-section .lio-related-card:has(a:focus-visible) { outline: 2px solid #580842; outline-offset: 5px; }
.lio-related-section .lio-related-card-title a:focus-visible { outline: none; }
@media(max-width:1000px) {
  .lio-related-section .lio-related-title { font-size: 48px; line-height: 1.2; }
  .lio-related-section .lio-related-card { padding: 24px; }
  .lio-related-section .lio-related-icon { flex-basis: 200px; height: 200px; }
}
@media(max-width:800px) {
  .lio-related-section.lio-related-section { padding-block: 72px; }
  .lio-related-section .lio-related-grid { grid-template-columns: 1fr; gap: 20px; }
  .lio-related-section .lio-related-card { min-height: 380px; padding: 30px; }
  .lio-related-section .lio-related-icon { flex-basis: 216px; height: 216px; }
}
@media(max-width:600px) {
  .lio-related-section.lio-related-section { padding: 52px 20px; }
  .lio-related-section .lio-related-title { margin-bottom: 32px; font-size: 40px; line-height: 1.2; }
  .lio-related-section .lio-related-card-title { font-size: 24px; line-height: 1.2; }
  .lio-related-section .lio-related-description { font-size: 14px; line-height: 1.6; }
}
@media(prefers-reduced-motion:reduce) { .lio-related-section .lio-related-card { transition: none; } .lio-related-section .lio-related-card:hover { transform: none; } }
