/* ====== LINKS: noticeable purple (page-local) ====== */

.ma-hero a,
.ma-hero a:visited {
  color: rgba(190, 140, 255, 0.95) !important;
  text-decoration: underline;
  text-decoration-color: rgba(190, 140, 255, 0.55);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  font-weight: 800;
}

.ma-hero a:hover {
  color: rgba(215, 175, 255, 1) !important;
  text-decoration-color: rgba(215, 175, 255, 0.9);
  text-shadow: 0 0 14px rgba(190, 140, 255, 0.25);
}

.ma-hero a:focus-visible {
  outline: 2px solid rgba(190, 140, 255, 0.6);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ====== BASE ====== */

.ma-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 980px) {
  .ma-grid2 {
    grid-template-columns: 1fr;
  }
}

.ma-box {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  padding: 18px;
}

.sep {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 24px 0;
}

.lead {
  font-size: 1.06rem;
  line-height: 1.85;
}

.muted {
  opacity: .88;
}

.ma-clear {
  clear: both;
}

.ma-hero {
  overflow: visible !important;
}

/* ====== SINGLE SPREAD HERO ====== */

.ma-singleHero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
  margin: 16px 0 18px;
}

.ma-singleHero.no-image {
  grid-template-columns: 1fr;
}

.ma-singleHeroText,
.ma-singleHeroMedia {
  min-width: 0;
}

.ma-singleHeroImg {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  margin: 0 auto;
}

/* ====== HUB HERO CARDS ====== */

.ma-heroCards {
  float: right;
  width: 240px;
  max-width: 34vw;
  margin: 6px 0 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ma-heroCard {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}

.ma-heroCard:before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(
      circle at 30% 25%,
      rgba(190, 140, 255, 0.16),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(215, 175, 255, 0.12),
      transparent 60%
    );
  pointer-events: none;
}

.ma-heroCard:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 140, 255, 0.28);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.ma-heroCard img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.22);
}

.ma-heroCap {
  font-size: 12px;
  opacity: .85;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

/* ====== MOBILE ====== */

@media (max-width: 980px) {
  .ma-singleHero {
    grid-template-columns: 1fr;
  }

  .ma-singleHeroImg {
    max-height: none;
  }

  .ma-heroCards {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 12px 0 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .ma-heroCard {
    width: 170px;
  }

  .ma-heroCard img {
    height: 240px;
  }
}

.ma-singleHeroImg{
    width:100%;
    max-width:900px;
    max-height:360px;
    height:auto;
    display:block;
    margin:0 auto;
    border-radius:14px;
    object-fit:contain;
    background:#0b0f1a;
}

/* -------------------------------------------------
   Arvethis soft CTA - dark layout fix
   Used on combinations / meanings / spreads pages
------------------------------------------------- */

.combo-soft-cta {
    clear: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 18px 0 22px;
    padding: 20px 22px;
    border: 1px solid rgba(201, 161, 91, 0.28);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(201, 161, 91, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(26, 24, 32, 0.98), rgba(12, 14, 24, 0.98));
    box-shadow:
        0 12px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.combo-soft-cta-title {
    margin: 0 0 8px;
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 800;
    color: #f4ead4;
}

.combo-soft-cta-text {
    margin: 0 0 16px;
    line-height: 1.7;
    color: rgba(226, 221, 235, 0.86);
}

.combo-soft-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    max-width: 100%;
}

.combo-soft-cta-links a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(201, 161, 91, 0.48);
    background:
        linear-gradient(135deg, rgba(201, 161, 91, 0.22), rgba(201, 161, 91, 0.10));
    color: #f4d28a !important;
    font-weight: 800;
    text-decoration: none !important;
    line-height: 1.25;
    white-space: normal;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.combo-soft-cta-links a:hover,
.combo-soft-cta-links a:focus {
    transform: translateY(-1px);
    border-color: rgba(244, 210, 138, 0.72);
    background:
        linear-gradient(135deg, rgba(201, 161, 91, 0.34), rgba(201, 161, 91, 0.16));
    color: #fff1c8 !important;
    text-decoration: none !important;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(244, 210, 138, 0.08);
}

.combo-soft-cta-links a:focus-visible {
    outline: 2px solid rgba(244, 210, 138, 0.78);
    outline-offset: 3px;
}

/* -------------------------------------------------
   Normal content CTA behavior
   Full-width blocks inside regular boxes/sections
------------------------------------------------- */

.ma-box > .combo-soft-cta,
.ma-grid2 + .combo-soft-cta,
.combo-soft-cta:not(.spread-hero-cta) {
    clear: both;
}

/* -------------------------------------------------
   Spreads hero CTA fix
   This CTA sits beside the right-side hero cards
   without sliding underneath them or pushing itself down.
------------------------------------------------- */

.spread-hero-cta {
    clear: none !important;
    width: calc(100% - 390px);
    max-width: 860px;
    margin: 18px 0 22px;
}

/* The next large content section should start below the floated hero cards */
.spread-hero-cta + .ma-grid2,
.spread-hero-cta ~ .ma-grid2:first-of-type {
    clear: both;
}

/* -------------------------------------------------
   Mobile / tablet
------------------------------------------------- */

@media (max-width: 980px) {
    .spread-hero-cta {
        width: 100%;
        max-width: 100%;
        clear: both !important;
    }
}

@media (max-width: 760px) {
    .combo-soft-cta {
        margin: 16px 0 20px;
        padding: 17px 15px;
        border-radius: 16px;
    }

    .combo-soft-cta-title {
        font-size: 1rem;
    }

    .combo-soft-cta-text {
        font-size: 0.96rem;
    }

    .combo-soft-cta-links {
        gap: 9px;
    }

    .combo-soft-cta-links a {
        width: 100%;
        min-height: 43px;
        padding: 10px 14px;
    }
}