/* ==========================================================================
   Refined Luxury Aesthetic — Email to Fax 2026
   Style refinements, article typography, section rhythm & dark-mode harmony
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Global Subtle Touches & Keyframes
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes luxuryFadeIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .g937-lead-frame {
    animation: luxuryFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

::selection {
  background: rgba(var(--color-primary-rgb), 0.22);
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   2. Header Navigation Elevation
   -------------------------------------------------------------------------- */
.g937-head-dock {
  box-shadow: 0 2px 20px rgba(var(--color-primary-rgb), 0.04);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.g937-ident-row {
  letter-spacing: -0.01em;
  font-feature-settings: "liga" 1, "kern" 1;
}

.g937-ident-row svg {
  filter: drop-shadow(0 2px 4px rgba(var(--color-primary-rgb), 0.25));
  transition: transform 0.3s ease;
}

.g937-ident-row:hover svg {
  transform: rotate(-4deg) scale(1.04);
}

.g937-way-finder a {
  position: relative;
  letter-spacing: 0.02em;
}

.g937-way-finder a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width 0.25s ease, left 0.25s ease;
}

.g937-way-finder a:hover::after {
  width: 60%;
  left: 20%;
}

/* --------------------------------------------------------------------------
   3. Hero Treatment (Deep saturated canvas with restrained elegance)
   -------------------------------------------------------------------------- */
.g937-lead-canvas {
  background-color: var(--color-primary-dark);
  background-image: 
    radial-gradient(ellipse 900px 500px at 15% 30%, rgba(var(--color-primary-rgb), 0.42), transparent 70%),
    radial-gradient(ellipse 700px 450px at 85% 75%, rgba(var(--color-accent-rgb), 0.16), transparent 60%),
    linear-gradient(180deg, #180d14 0%, #291520 100%);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.3);
}

.g937-lead-frame::before {
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(var(--color-primary-rgb), 0.1) 100%);
  margin-bottom: 1.8rem;
}

.g937-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.16em;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 12px;
  border-radius: var(--radius-ctl);
  width: fit-content;
}

.g937-stamp::before {
  content: "✦";
  color: var(--color-accent);
  font-size: 0.75rem;
}

.g937-lead-canvas h1 {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  font-weight: 400;
  max-width: 820px;
}

.g937-lead-canvas p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.g937-go-link {
  background: rgba(var(--color-primary-rgb), 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.03em;
}

.g937-go-link:hover {
  background: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. Long-form Article Editorial Typography
   -------------------------------------------------------------------------- */
.article-text-body {
  color: var(--color-text);
  line-height: 1.72;
}

/* First paragraph editorial drop-in / lead atmosphere */
.article-text-body > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.78;
  color: var(--color-text);
  padding: 1.2rem 1.6rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-ctl);
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.04);
}

.article-text-body p {
  margin: 0 0 0.95rem;
  color: var(--color-text);
}

/* H2 Luxury Editorial Title Treatment */
.article-text-body h2 {
  position: relative;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.article-text-body h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-primary);
}

/* Specific Roman / Editorial numerals styling in h2 headers */
.article-text-body h2:has(a),
.article-text-body h2 {
  scroll-margin-top: 80px;
}

/* H3 Subheadings */
.article-text-body h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 1.8rem 0 0.6rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-text-body h3::before {
  content: "◆";
  font-size: 0.62rem;
  color: var(--color-primary);
  opacity: 0.75;
}

/* Strong Text Definition */
.article-text-body strong {
  font-weight: 700;
  color: var(--color-text);
}

/* Curated In-article Hyperlinks */
.article-text-body a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.45);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.article-text-body a:hover {
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  background-color: rgba(var(--color-primary-rgb), 0.06);
}

html.dark .article-text-body a:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Polished List Elements */
.article-text-body ul,
.article-text-body ol {
  padding-left: 1.2rem;
  margin: 0.6rem 0 1.2rem;
}

.article-text-body ul {
  list-style: none;
}

.article-text-body ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.article-text-body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  opacity: 0.7;
}

.article-text-body ol {
  list-style: decimal;
}

.article-text-body ol li {
  padding-left: 0.4rem;
  margin-bottom: 0.55rem;
  color: var(--color-text);
}

.article-text-body ol li::marker {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}

/* Blockquotes with Refined Serif Frame */
.article-text-body blockquote {
  margin: 1.8rem 0;
  padding: 1.4rem 1.8rem;
  background: var(--color-bg-card);
  border-left: 3px solid var(--color-primary);
  border-right: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: 0 4px 18px rgba(var(--color-primary-rgb), 0.05);
  font-style: italic;
  position: relative;
}

.article-text-body blockquote::before {
  content: "“";
  font-family: var(--font-display);
  position: absolute;
  top: -8px;
  left: 14px;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.16;
}

/* General In-Article Tables (non-matrix tables) */
.article-text-body table:not(.fx7-matrix) {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 0.92rem;
}

.article-text-body table:not(.fx7-matrix) th {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.article-text-body table:not(.fx7-matrix) td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

.article-text-body table:not(.fx7-matrix) tr:last-child td {
  border-bottom: none;
}

.article-text-body table:not(.fx7-matrix) tr:hover td {
  background: rgba(var(--color-primary-rgb), 0.025);
}

/* --------------------------------------------------------------------------
   5. Section Atmosphere & Section Dividers
   -------------------------------------------------------------------------- */
/* Distinct separation for Author byline and Contact card */
#g937-byline-note {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  margin-top: 4.5rem;
  box-shadow: var(--shadow-card);
}

#g937-byline-note::before {
  content: "✦";
  position: absolute;
  top: -2.3rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
  font-size: 0.85rem;
  opacity: 0.6;
}

#g937-byline-note::after {
  content: "";
  position: absolute;
  top: -1.75rem;
  left: calc(50% - 60px);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.g937-person-tile img {
  border: 2px solid var(--color-border);
  padding: 3px;
  background: var(--color-bg-card);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.g937-person-tile:hover img {
  transform: scale(1.03);
  border-color: var(--color-primary);
}

/* Refined Feedback & Inquiry Zone */
#g937-feedback-zone {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-top: 3.5rem;
  margin-bottom: 4rem;
}

.g937-inquiry-card h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

#g937-message-panel label {
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

#g937-message-panel input,
#g937-message-panel textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-ctl);
  padding: 12px 15px;
  font-size: 0.94rem;
  transition: all 0.22s ease;
}

#g937-message-panel input:focus,
#g937-message-panel textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.14);
}

#g937-message-panel button[type="submit"] {
  background: var(--color-primary);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#g937-message-panel button[type="submit"]:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.35);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   6. Deep Luxury Footer Polish
   -------------------------------------------------------------------------- */
.g937-bottom-deck {
  background: var(--footer-bg);
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.2);
  position: relative;
}

.g937-bottom-deck::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--color-primary-rgb), 0.6) 50%, transparent 100%);
}

.g937-bottom-deck h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.g937-bottom-deck a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.g937-bottom-deck a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.g937-close-line {
  letter-spacing: 0.04em;
  border-top-color: rgba(255, 255, 255, 0.07);
}

/* --------------------------------------------------------------------------
   7. Dark Mode Nuances
   -------------------------------------------------------------------------- */
html.dark .article-text-body table:not(.fx7-matrix) th {
  background: rgba(255, 255, 255, 0.03);
}

html.dark .article-text-body blockquote {
  background: var(--color-bg-card);
  border-color: var(--color-border);
  border-left-color: var(--color-primary);
}

html.dark .g937-lead-canvas {
  background: radial-gradient(ellipse 900px 500px at 15% 30%, rgba(var(--color-primary-rgb), 0.3), transparent 70%),
              radial-gradient(ellipse 700px 450px at 85% 75%, rgba(var(--color-accent-rgb), 0.12), transparent 60%),
              linear-gradient(180deg, #0d070a 0%, #170d13 100%);
}

/* --------------------------------------------------------------------------
   8. Responsive Refinements
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .g937-core-feed {
    padding: 2rem 1.2rem;
  }
}

@media (max-width: 768px) {
  .article-text-body h2 {
    font-size: 1.45rem;
    margin: 2.2rem 0 0.8rem;
  }

  .article-text-body h3 {
    font-size: 1.15rem;
  }

  .article-text-body > p:first-of-type {
    font-size: 1.05rem;
    padding: 1rem 1.2rem;
  }

  #g937-byline-note,
  #g937-feedback-zone {
    padding: 22px 18px;
    margin-top: 2.8rem;
  }

  .article-text-body table:not(.fx7-matrix) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .g937-head-dock {
    padding: 10px 14px;
    gap: 10px;
  }

  .g937-ident-row {
    font-size: 0.95rem;
  }

  .g937-way-finder {
    gap: 2px;
  }

  .g937-way-finder a {
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  #g937-quick-find {
    width: 100px;
  }

  #g937-quick-find:focus {
    width: 130px;
  }

  .g937-lead-frame {
    padding: 42px 16px;
  }

  .g937-lead-canvas h1 {
    font-size: 1.7rem;
  }

  .g937-lead-canvas p {
    font-size: 0.98rem;
  }

  .g937-go-link {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
  }

  .g937-person-tile .bio-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .g937-person-tile .bio-row div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* === CSS CONTENT === */

/* ==========================================================================
   Refined Luxury Data Components: Comparison Table & Featured Listings
   Art Direction: Serif Elegance, Deep Tones, Restrained Gold-Free Opulence
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Unification & Section-Level Ornamentation
   -------------------------------------------------------------------------- */
#g937-score-grid,
#g937-featured-list {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

#g937-score-grid {
  margin-top: 2.8rem;
  margin-bottom: 3.6rem;
}

#g937-featured-list {
  margin-top: 3.6rem;
  margin-bottom: 4rem;
}

/* Section lead typography */
.fx7-section-lead,
.c94-section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.fx7-eyebrow,
.c94-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.fx7-title,
.c94-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.c94-section-intro {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Centered Ornament Dividers (Signature Technique 1) */
.fx7-ornament,
.c94-ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-primary);
  opacity: 0.75;
  margin: 0.75rem auto 1.3rem;
}

.fx7-ornament::before,
.fx7-ornament::after,
.c94-ornament-line::before,
.c94-ornament-line::after {
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border) 40%, var(--color-border));
}

.fx7-ornament::after,
.c94-ornament-line::after {
  background: linear-gradient(90deg, var(--color-border), var(--color-border) 60%, transparent);
}

.fx7-ornament-diamond,
.c94-ornament-glyph {
  font-size: 0.78rem;
  line-height: 1;
  display: inline-block;
  color: var(--color-primary);
  transform: rotate(0deg);
}

/* --------------------------------------------------------------------------
   2. Comparison Table (#g937-score-grid) Desktop Architecture
   -------------------------------------------------------------------------- */
.fx7-grid-shell {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.fx7-grid-shell:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--color-primary-rgb), 0.3);
}

.fx7-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--color-text);
}

.fx7-matrix thead th {
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  white-space: nowrap;
}

.fx7-matrix thead th.fx7-th-center {
  text-align: center;
}

.fx7-matrix thead th.fx7-th-right {
  text-align: right;
}

.fx7-matrix tbody tr {
  transition: background-color 0.22s ease;
}

.fx7-matrix tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--color-border);
}

.fx7-matrix tbody tr:hover {
  background-color: rgba(var(--color-primary-rgb), 0.035);
}

.fx7-matrix td {
  padding: 16px 18px;
  vertical-align: middle;
  line-height: 1.45;
}

/* Winner Row (Rank #1 Municorn Fax App) */
.fx7-matrix tbody tr.fx7-rank-pinnacle {
  background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.05) 0%, rgba(var(--color-primary-rgb), 0.015) 100%);
  position: relative;
}

.fx7-matrix tbody tr.fx7-rank-pinnacle td {
  box-shadow: inset 0 1px 0 rgba(var(--color-primary-rgb), 0.28), inset 0 -1px 0 rgba(var(--color-primary-rgb), 0.28);
}

.fx7-matrix tbody tr.fx7-rank-pinnacle td:first-child {
  box-shadow: inset 0 1px 0 rgba(var(--color-primary-rgb), 0.28), inset 0 -1px 0 rgba(var(--color-primary-rgb), 0.28), inset 3px 0 0 var(--color-primary);
}

/* Winner Seal Chip */
.fx7-winner-seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.09);
  border: 1px solid rgba(var(--color-primary-rgb), 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-ctl);
  margin-bottom: 4px;
  transition: all 0.22s ease;
}

.fx7-matrix tbody tr:hover .fx7-winner-seal {
  background: rgba(var(--color-accent-rgb), 0.12);
  border-color: rgba(var(--color-accent-rgb), 0.45);
  color: var(--color-accent);
}

.fx7-brand-cluster {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fx7-brand-name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
}

.fx7-brand-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Rating Pillar */
.fx7-score-pillar {
  text-align: center;
  min-width: 80px;
}

.fx7-score-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  display: block;
}

.fx7-score-sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  margin-top: 3px;
  display: block;
}

/* Feature Digest */
.fx7-feature-digest {
  font-size: 0.88rem;
  color: var(--color-text);
  max-width: 300px;
}

.fx7-feature-digest ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx7-feature-digest li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  line-height: 1.38;
  color: var(--color-text-muted);
}

.fx7-feature-digest li:last-child {
  margin-bottom: 0;
}

.fx7-feature-digest li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.2;
}

/* Price Block */
.fx7-price-block {
  white-space: nowrap;
}

.fx7-price-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.fx7-price-period {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Action CTA Anchors */
.fx7-cta-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-sans);
  white-space: nowrap;
  min-width: 116px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fx7-cta-prime {
  background: var(--color-primary);
  color: #ffffff !important;
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.25);
}

.fx7-cta-prime:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.35);
}

.fx7-cta-sec {
  background: transparent;
  color: var(--color-primary) !important;
  border: 1px solid rgba(var(--color-primary-rgb), 0.45);
}

.fx7-cta-sec:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary-dark) !important;
  transform: translateY(-2px);
}

.fx7-cta-muted {
  background: transparent;
  color: var(--color-text-muted) !important;
  border: 1px solid var(--color-border);
}

.fx7-cta-muted:hover {
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
  background: rgba(var(--color-primary-rgb), 0.04);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. Detailed Featured Listings Cards (#g937-featured-list)
   -------------------------------------------------------------------------- */
.c94-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.c94-card-unit {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.c94-card-unit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--color-primary-rgb), 0.35);
}

/* Thin Double-Border Frame for Winner Card (Signature Technique 3) */
.c94-card-unit.c94-winner-aura {
  background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.035) 0%, var(--color-bg-card) 28%);
  border: 1px solid var(--color-primary);
  box-shadow: inset 0 0 0 3px var(--color-bg-card), inset 0 0 0 4px rgba(var(--color-primary-rgb), 0.35), var(--shadow-card);
}

.c94-card-unit.c94-winner-aura:hover {
  box-shadow: inset 0 0 0 3px var(--color-bg-card), inset 0 0 0 4px rgba(var(--color-primary-rgb), 0.6), var(--shadow-card-hover);
  border-color: var(--color-primary);
}

/* Card Topbar */
.c94-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 18px;
}

.c94-headline-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c94-tag-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.c94-rank-badge {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Winner Typographic Label */
.c94-winner-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  border: 1px solid rgba(var(--color-primary-rgb), 0.35);
  padding: 3px 9px;
  border-radius: var(--radius-ctl);
  transition: all 0.22s ease;
}

/* Duotone Muted Hover Shift (Signature Technique 2) */
.c94-card-unit:hover .c94-winner-label {
  background: rgba(var(--color-accent-rgb), 0.12);
  border-color: rgba(var(--color-accent-rgb), 0.45);
  color: var(--color-accent);
}

.c94-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 2px 0 0;
  line-height: 1.25;
}

.c94-card-subtitle {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Rating Pillar */
.c94-rating-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.c94-score-digit {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
}

.c94-score-max {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* Card Narrative */
.c94-narrative {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 18px;
}

/* Pros and Cons Split Grid */
.c94-eval-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.c94-eval-pane {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-ctl);
  padding: 16px 18px 14px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.c94-card-unit:hover .c94-eval-pane {
  border-color: rgba(var(--color-primary-rgb), 0.25);
}

.c94-eval-pane-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.c94-eval-pane-title.c94-pro-header {
  color: var(--color-success);
}

.c94-eval-pane-title.c94-con-header {
  color: var(--color-danger);
}

#g937-featured-list .c94-eval-pane ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#g937-featured-list .c94-eval-pane li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 7px;
  line-height: 1.42;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

#g937-featured-list .c94-eval-pane li:last-child {
  margin-bottom: 0;
}

/* Action Strip */
.c94-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
}

.c94-pricing-brief {
  display: flex;
  flex-direction: column;
}

.c94-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.c94-price-value {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-text);
}

.c94-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--radius-btn);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.c94-action-prime {
  background: var(--color-primary);
  color: #ffffff !important;
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.24);
}

.c94-action-prime:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(var(--color-primary-rgb), 0.35);
}

.c94-action-sec {
  background: transparent;
  color: var(--color-primary) !important;
  border: 1px solid rgba(var(--color-primary-rgb), 0.45);
}

.c94-action-sec:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary-dark) !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Responsive Transformation (< 768px)
   Strictly overrides any horizontal scrollbar fallback.
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  /* Override table layout into stacked mobile cards */
  #g937-score-grid,
  .fx7-grid-shell {
    overflow-x: visible !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding:
}}