/*
Theme Name: Matera Calcio Core Engine
Theme URI: https://www.materacalcio.it
Author: Matera Calcio Tech Team
Author URI: https://www.materacalcio.it
Description: Production-Grade Semantic Canvas Theme Engine for SEO Command Center with full sitewide templates for Categories, Archives, Single Posts, Static Pages, Search & 404.
Version: 1.1.0
License: Proprietary
Text Domain: matera-calcio-core-engine
*/

/* --- 1. GLOBAL RESET & BASE TYPOGRAPHY --- */
*, *::before, *::after {
  box-sizing: border-box !important;
}

:root {
  --bm-primary: #0062FF;
  --bm-primary-hover: #004ecc;
  --bm-primary-soft: #EEF4FF;
  --bm-dark: #0B132B;
  --bm-slate: #1E293B;
  --bm-muted: #64748B;
  --bm-light: #F8FAFC;
  --bm-border: #E2E8F0;
  --bm-cyan: #00B4D8;
  --bm-gold: #F59E0B;
  --bm-radius-sm: 8px;
  --bm-radius-md: 12px;
  --bm-radius-lg: 16px;
  --bm-shadow: 0 10px 25px -5px rgba(0, 98, 255, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* tc- alias compatibility */
  --tc-primary: var(--bm-primary);
  --tc-primary-hover: var(--bm-primary-hover);
  --tc-primary-soft: var(--bm-primary-soft);
  --tc-dark: var(--bm-dark);
  --tc-slate: var(--bm-slate);
  --tc-muted: var(--bm-muted);
  --tc-light: var(--bm-light);
  --tc-border: var(--bm-border);
  --tc-cyan: var(--bm-cyan);
  --tc-gold: var(--bm-gold);
  --tc-radius-sm: var(--bm-radius-sm);
  --tc-radius-md: var(--bm-radius-md);
  --tc-radius-lg: var(--bm-radius-lg);
  --tc-shadow: var(--bm-shadow);
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #CBD5E1 !important;
  background-color: #0F131D !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  color: #F8FAFC !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  margin-top: 0;
}

.matera-luxury-portal h1,
.matera-luxury-portal h2,
.matera-luxury-portal h3,
.matera-luxury-portal h4,
.bm-page-wrapper h1,
.bm-page-wrapper h2,
.bm-page-wrapper h3,
.bm-page-wrapper h4,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.tc-page-title,
.bm-page-title,
.mc-hero-title,
.mc-section-title,
.bm-article-title {
  color: #F8FAFC !important;
}

a {
  color: var(--bm-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--bm-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 2. LAYOUT CONTAINERS --- */
.bm-archive-container,
.tc-archive-container,
.bm-single-container,
.tc-single-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4.5rem;
}

.bm-page-container,
.tc-page-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.bm-page-wrapper,
.bm-post-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* --- 3. BREADCRUMBS --- */
.bm-breadcrumbs,
.tc-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bm-muted);
  margin-bottom: 1.5rem;
}
.bm-breadcrumbs a,
.tc-breadcrumbs a {
  color: var(--bm-muted);
}
.bm-breadcrumbs a:hover,
.tc-breadcrumbs a:hover {
  color: var(--bm-primary);
}
.bm-bc-sep,
.tc-bc-sep {
  color: #CBD5E1;
}
.bm-bc-current,
.tc-bc-current {
  color: var(--bm-slate);
  font-weight: 700;
}

/* --- 4. CATEGORY & ARCHIVE HERO BANNER --- */
.bm-category-hero,
.tc-category-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F6FF 100%);
  border: 1px solid var(--bm-border);
  border-radius: 20px;
  padding: 3rem 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--bm-shadow);
}
@media (max-width: 768px) {
  .bm-category-hero,
  .tc-category-hero {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.75rem;
  }
}
.bm-category-hero-content,
.tc-category-hero-content {
  max-width: 860px;
}
.bm-hero-badge,
.tc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  border: 1px solid rgba(0, 98, 255, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.bm-hero-badge .bm-dot,
.tc-hero-badge .tc-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.bm-hero-title,
.tc-hero-title {
  font-size: 2.35rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #0F172A !important;
  margin: 0 0 1rem 0 !important;
  letter-spacing: -0.025em !important;
}
@media (max-width: 768px) {
  .bm-hero-title,
  .tc-hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
}
.bm-hero-title span.bm-highlight,
.tc-hero-title span.tc-highlight {
  background: linear-gradient(120deg, #0062FF 0%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bm-hero-subtitle,
.tc-hero-subtitle {
  font-size: 1.05rem;
  color: var(--bm-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}
.bm-trust-chips-row,
.tc-trust-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.75rem;
}
.bm-trust-chip,
.tc-trust-chip {
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  color: var(--bm-slate);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.bm-hero-cta-group,
.tc-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bm-btn-scroll,
.tc-btn-scroll,
.bm-btn-secondary,
.tc-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.45rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.bm-btn-scroll,
.tc-btn-scroll {
  background: var(--bm-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.35);
}
.bm-btn-scroll:hover,
.tc-btn-scroll:hover {
  background: var(--bm-primary-hover);
  transform: translateY(-2px);
}
.bm-btn-secondary,
.tc-btn-secondary {
  background: #FFFFFF;
  color: var(--bm-slate) !important;
  border: 1px solid var(--bm-border);
}
.bm-btn-secondary:hover,
.tc-btn-secondary:hover {
  border-color: var(--bm-primary);
  color: var(--bm-primary) !important;
}

/* --- 5. CATALOG HEADER BAR & FILTER CHIPS --- */
.bm-catalog-header-bar,
.tc-catalog-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 2.5rem 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bm-border);
}
.bm-catalog-heading,
.tc-catalog-heading {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.35rem 0 !important;
}
.bm-catalog-count,
.tc-catalog-count {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bm-primary);
}
.bm-catalog-sub,
.tc-catalog-sub {
  font-size: 0.92rem;
  color: var(--bm-muted);
  margin: 0;
  max-width: 650px;
}
.bm-catalog-filter-chips,
.tc-catalog-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bm-filter-chip,
.tc-filter-chip {
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  color: var(--bm-slate);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.bm-filter-chip:hover,
.bm-filter-chip.active,
.tc-filter-chip:hover,
.tc-filter-chip.active {
  background: var(--bm-primary);
  color: #FFFFFF !important;
  border-color: var(--bm-primary);
}

/* --- 6. COURSE & CONTENT CARDS BENTO GRID --- */
.bm-course-grid,
.tc-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 1024px) {
  .bm-course-grid,
  .tc-course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 640px) {
  .bm-course-grid,
  .tc-course-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.bm-card,
.tc-card {
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}
.bm-card:hover,
.tc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 98, 255, 0.4);
  box-shadow: 0 16px 32px -8px rgba(0, 98, 255, 0.15);
}

.bm-card-media,
.tc-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #E2E8F0;
  overflow: hidden;
}
.bm-card-media img,
.tc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.bm-card:hover .bm-card-media img,
.tc-card:hover .tc-card-media img {
  transform: scale(1.05);
}
.bm-card-badge,
.tc-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--bm-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.bm-card-body,
.tc-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bm-card-meta,
.tc-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--bm-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.bm-card-meta .bm-rating,
.tc-card-meta .tc-rating {
  color: var(--bm-gold);
  font-weight: 700;
}
.bm-card-title,
.tc-card-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin: 0 0 0.6rem 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bm-card-title a,
.tc-card-title a {
  color: #0F172A;
}
.bm-card-title a:hover,
.tc-card-title a:hover {
  color: var(--bm-primary);
}
.bm-card-desc,
.tc-card-desc {
  font-size: 0.88rem;
  color: var(--bm-muted);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  flex: 1;
}
.bm-card-footer,
.tc-card-footer {
  border-top: 1px solid var(--bm-border);
  padding: 0.85rem 1.25rem;
  background: #FAFAFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bm-card-info,
.tc-card-info {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bm-slate);
}
.bm-card-info span,
.tc-card-info span {
  display: block;
  font-size: 0.7rem;
  color: var(--bm-muted);
  font-weight: 500;
}
.bm-card-btn,
.tc-card-btn {
  background: var(--bm-primary-soft);
  color: var(--bm-primary) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.bm-card:hover .bm-card-btn,
.tc-card:hover .tc-card-btn {
  background: var(--bm-primary);
  color: #FFFFFF !important;
}

/* --- 7. PAGINATION --- */
.bm-pagination-wrapper,
.tc-pagination-wrapper {
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
}
.bm-pagination-wrapper ul.page-numbers,
.tc-pagination-wrapper ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bm-pagination-wrapper .page-numbers,
.tc-pagination-wrapper .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  color: var(--bm-slate);
  font-weight: 700;
  font-size: 14px;
}
.bm-pagination-wrapper .page-numbers.current,
.tc-pagination-wrapper .page-numbers.current {
  background: var(--bm-primary);
  color: #FFFFFF;
  border-color: var(--bm-primary);
}
.bm-pagination-wrapper a.page-numbers:hover,
.tc-pagination-wrapper a.page-numbers:hover {
  border-color: var(--bm-primary);
  color: var(--bm-primary);
}

/* --- 8. SINGLE POST & ARTICLE STYLES --- */
.bm-article-header,
.tc-article-header {
  margin-bottom: 2rem;
}
.bm-article-badge,
.tc-article-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.bm-article-title,
.tc-article-title {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}
@media (max-width: 768px) {
  .bm-article-title,
  .tc-article-title {
    font-size: 1.85rem !important;
  }
}
.bm-article-meta-row,
.tc-article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--bm-muted);
  font-weight: 500;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bm-border);
}
.bm-article-hero-media,
.tc-article-hero-media {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--bm-shadow);
  background: #E2E8F0;
}
.bm-article-hero-media img,
.tc-article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 9. KEY HIGHLIGHTS BOX (E-E-A-T DIRECT ANSWER) --- */
.bm-summary-box,
.tc-summary-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-left: 4px solid #10B981;
  border-radius: 14px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.bm-summary-title,
.tc-summary-title {
  font-size: 1rem;
  font-weight: 800;
  color: #065F46;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bm-summary-lead,
.tc-summary-lead {
  font-size: 0.95rem;
  color: #1E293B;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}
.bm-summary-features,
.tc-summary-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bm-sf-item,
.tc-sf-item {
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bm-sf-item span,
.tc-sf-item span {
  color: #10B981;
  font-weight: 800;
}

/* --- 10. TYPOGRAPHY & ARTICLE BODY (ENTRY-CONTENT) --- */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}
.entry-content h2 {
  font-size: 1.75rem !important;
  line-height: 1.3 !important;
  margin: 2.5rem 0 1rem 0 !important;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #F1F5F9;
}
.entry-content h3 {
  font-size: 1.35rem !important;
  margin: 2rem 0 0.85rem 0 !important;
}
.entry-content p {
  margin: 0 0 1.5rem 0;
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}
.entry-content li {
  margin-bottom: 0.5rem;
}
.entry-content blockquote {
  background: var(--bm-primary-soft);
  border-left: 4px solid var(--bm-primary);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #1E293B;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.entry-content th,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid var(--bm-border);
  text-align: left;
  font-size: 0.95rem;
}
.entry-content th {
  background: #F8FAFC;
  font-weight: 700;
  color: #0F172A;
}

/* --- 11. AUTHOR BOX (E-E-A-T) --- */
.bm-author-card,
.tc-author-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 3.5rem 0 2rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
}
@media (max-width: 640px) {
  .bm-author-card,
  .tc-author-card {
    flex-direction: column;
    padding: 1.25rem;
  }
}
.bm-author-avatar,
.tc-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bm-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.bm-author-name,
.tc-author-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}
.bm-author-role,
.tc-author-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bm-primary);
  margin-bottom: 8px;
}
.bm-author-bio,
.tc-author-bio {
  font-size: 0.88rem;
  color: var(--bm-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- 12. STANDARD STATIC PAGES --- */
.bm-standard-page-wrapper,
.tc-standard-page-wrapper {
  background: #FFFFFF;
  border-bottom: 1px solid var(--bm-border);
}
.bm-standard-page-header,
.tc-standard-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bm-border);
}
.bm-page-title,
.tc-page-title {
  font-size: 2.25rem !important;
  margin: 0 !important;
}

/* --- 13. SEARCH & 404 STYLES --- */
.bm-search-box,
.tc-search-box {
  display: flex;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 2px solid var(--bm-border);
  border-radius: 9999px;
  padding: 0.35rem 0.4rem 0.35rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  max-width: 560px;
}
@media (max-width: 640px) {
  .bm-search-box,
  .tc-search-box {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.5rem;
  }
}
.bm-search-box input,
.tc-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--bm-dark);
}
.bm-search-box button,
.tc-search-box button {
  background: var(--bm-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
}

.bm-empty-archive,
.tc-empty-archive {
  background: #FFFFFF;
  border: 1px dashed var(--bm-border);
  border-radius: 16px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--bm-muted);
}
.bm-empty-archive h3,
.tc-empty-archive h3 {
  color: #0F172A;
  margin-bottom: 0.5rem;
}


/* --- 15. EDITORIAL ENHANCEMENT COMPONENTS (ANTI-BARE-TEXT MANDATE) --- */
.tc-editorial-container,
.bm-editorial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.tc-section-header,
.bm-section-header {
  margin: 3.5rem 0 1.5rem;
  text-align: left;
}
.tc-section-pill,
.bm-section-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bm-primary);
  background: var(--bm-primary-soft);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}
.tc-section-title,
.bm-section-title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.25 !important;
}
.tc-section-subtitle,
.bm-section-subtitle {
  font-size: 1rem;
  color: var(--bm-muted);
  max-width: 760px;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Process Steps Grid */
.tc-process-grid,
.bm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 3rem;
}
@media (max-width: 1024px) {
  .tc-process-grid,
  .bm-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .tc-process-grid,
  .bm-process-grid {
    grid-template-columns: 1fr;
  }
}

.tc-process-card,
.bm-process-card {
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.tc-process-card:hover,
.bm-process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 98, 255, 0.35);
  box-shadow: 0 12px 24px -6px rgba(0, 98, 255, 0.1);
}
.tc-process-step,
.bm-process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}
.tc-process-title,
.bm-process-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.45rem 0 !important;
  color: #0F172A !important;
}
.tc-process-desc,
.bm-process-desc {
  font-size: 0.88rem;
  color: var(--bm-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

/* Comparison Cards */
.tc-comparison-grid,
.bm-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 3rem;
}
@media (max-width: 768px) {
  .tc-comparison-grid,
  .bm-comparison-grid {
    grid-template-columns: 1fr;
  }
}
.tc-comparison-card,
.bm-comparison-card {
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}
.tc-comparison-card.highlight,
.bm-comparison-card.highlight {
  border-color: var(--bm-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  box-shadow: 0 8px 24px rgba(0, 98, 255, 0.08);
}
.tc-comparison-badge,
.bm-comparison-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  margin-bottom: 1rem;
}
.tc-comparison-title,
.bm-comparison-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 0.75rem 0 !important;
}
.tc-comparison-list,
.bm-comparison-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 0 0 !important;
}
.tc-comparison-list li,
.bm-comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.tc-comparison-list li span.check,
.bm-comparison-list li span.check {
  color: #10B981;
  font-weight: 800;
}

/* Notice / Legal Accreditation Box */
.tc-notice-box,
.bm-notice-box {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-left: 4px solid var(--bm-primary);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tc-notice-icon,
.bm-notice-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.tc-notice-content h4,
.bm-notice-content h4 {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 0.35rem 0 !important;
}
.tc-notice-content p,
.bm-notice-content p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Bento Benefits Grid */
.tc-benefits-grid,
.bm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 3.5rem;
}
@media (max-width: 960px) {
  .tc-benefits-grid,
  .bm-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .tc-benefits-grid,
  .bm-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.tc-benefit-card,
.bm-benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--bm-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.tc-benefit-card:hover,
.bm-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 98, 255, 0.4);
  box-shadow: 0 16px 32px -8px rgba(0, 98, 255, 0.12);
}
.tc-benefit-icon,
.bm-benefit-icon {
  font-size: 32px;
  margin-bottom: 0.85rem;
  display: inline-block;
}
.tc-benefit-title,
.bm-benefit-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 0.5rem 0 !important;
}
.tc-benefit-desc,
.bm-benefit-desc {
  font-size: 0.9rem;
  color: var(--bm-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* FAQ Accordion Section */
.tc-faq-section,
.bm-faq-section {
  margin: 3.5rem 0 2rem 0 !important;
}
.tc-faq-header,
.bm-faq-header {
  text-align: center !important;
  margin-bottom: 2rem !important;
}
.tc-faq-title,
.bm-faq-title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 0.5rem 0 !important;
}
.tc-faq-grid,
.bm-faq-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}
.tc-faq-item,
.bm-faq-item {
  background: #FFFFFF !important;
  border: 1px solid var(--bm-border) !important;
  border-radius: 14px !important;
  padding: 1.15rem 1.35rem !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.2s ease !important;
}
.tc-faq-item[open],
.bm-faq-item[open] {
  border-color: var(--bm-primary) !important;
  box-shadow: 0 6px 18px rgba(0, 98, 255, 0.08) !important;
}
.tc-faq-item summary,
.bm-faq-item summary {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  cursor: pointer !important;
  list-style: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  outline: none !important;
}
.tc-faq-item summary::-webkit-details-marker,
.bm-faq-item summary::-webkit-details-marker {
  display: none !important;
}
.tc-faq-item summary::after,
.bm-faq-item summary::after {
  content: '+' !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--bm-primary) !important;
  transition: transform 0.2s ease !important;
}
.tc-faq-item[open] summary::after,
.bm-faq-item[open] summary::after {
  content: '−' !important;
}
.tc-faq-answer,
.bm-faq-answer {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem !important;
  border-top: 1px solid #F1F5F9 !important;
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.65 !important;
}

/* Callout Highlights for Editorial Text */
.tc-callout-box,
.bm-callout-box {
  background: var(--bm-primary-soft);
  border: 1px solid rgba(0, 98, 255, 0.2);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: #1E293B;
  line-height: 1.55;
}
.tc-callout-icon,
.bm-callout-icon {
  font-size: 24px;
  flex-shrink: 0;
}

/* ==========================================================================
   MATERA CALCIO - DARK LUXURY SPORTSBOOK & GAMING THEME SUITE
   Header, Navigation Drawer, 4-Column Footer & Historical Archive Hub
   ========================================================================== */

:root {
  --mc-canvas: #0F131D;
  --mc-surface-1: #131B2A;
  --mc-surface-2: #182234;
  --mc-surface-3: #1E2B42;
  --mc-gold: #F59E0B;
  --mc-gold-light: #FFC174;
  --mc-cyan: #38BDF8;
  --mc-emerald: #10B981;
  --mc-crimson: #DC2626;
  --mc-crimson-hover: #EF4444;
  --mc-text-1: #F8FAFC;
  --mc-text-2: #CBD5E1;
  --mc-text-3: #94A3B8;
  --mc-border-1: rgba(255, 255, 255, 0.08);
  --mc-border-2: rgba(255, 255, 255, 0.14);
}

.mc-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- TOPBAR UTILITY --- */
.mc-topbar {
  background: #0B0E17;
  border-bottom: 1px solid var(--mc-border-1);
  padding: 0.65rem 0;
  font-size: 0.82rem;
  color: var(--mc-text-3);
}
.mc-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mc-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mc-badge-adm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mc-emerald);
  font-weight: 700;
}
.mc-topbar-sep {
  color: var(--mc-border-2);
}
.mc-topbar-iss {
  color: var(--mc-text-2);
}
.mc-topbar-iss strong {
  color: #38BDF8;
}
.mc-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mc-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.mc-topbar-link:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

/* --- MAIN STICKY HEADER --- */
.mc-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 19, 29, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mc-border-1);
  padding: 0.85rem 0;
}
.mc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* --- LOGO --- */
.mc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mc-logo-shield {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E2B42 0%, #131B2A 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
.mc-logo-text {
  display: flex;
  flex-direction: column;
}
.mc-logo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #FFFFFF !important;
  line-height: 1.1;
}
.mc-logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mc-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- DESKTOP NAV --- */
.mc-desktop-nav {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 1024px) {
  .mc-desktop-nav {
    display: flex;
  }
}
.mc-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mc-text-2) !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mc-nav-link:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.06);
}
.mc-nav-highlight {
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.mc-nav-highlight:hover {
  background: rgba(56, 189, 248, 0.16);
}

/* --- HEADER CTA & HAMBURGER --- */
.mc-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--mc-crimson) 0%, #B91C1C 100%);
  color: #FFFFFF !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.mc-header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}
.mc-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--mc-surface-2);
  border: 1px solid var(--mc-border-1);
  border-radius: 8px;
  color: #FFFFFF;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .mc-hamburger {
    display: none;
  }
}

/* --- MOBILE DRAWER --- */
.mc-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.mc-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.mc-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #0B0E17;
  border-left: 1px solid var(--mc-border-1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}
.mc-mobile-drawer.is-open {
  right: 0;
}
.mc-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--mc-border-1);
}
.mc-drawer-close {
  background: transparent;
  border: none;
  color: var(--mc-text-2);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mc-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mc-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mc-text-1) !important;
  text-decoration: none;
  background: var(--mc-surface-1);
  border: 1px solid var(--mc-border-1);
  min-height: 48px;
}
.mc-drawer-link:hover {
  background: var(--mc-surface-2);
}
.mc-drawer-link-accent {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38BDF8 !important;
}
.mc-drawer-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mc-border-1);
}
.mc-drawer-adm-box {
  background: var(--mc-surface-1);
  border: 1px solid var(--mc-border-1);
  border-radius: 10px;
  padding: 12px;
}

/* --- SITEWIDE 4-COLUMN FOOTER --- */
.mc-site-footer {
  background: #080B12;
  border-top: 1px solid var(--mc-border-1);
  padding: 4rem 0 2rem;
  color: var(--mc-text-3);
  font-size: 0.9rem;
  margin-top: 4rem;
}
.mc-footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.mc-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .mc-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mc-footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  }
}
.mc-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.mc-footer-desc {
  line-height: 1.65;
  color: var(--mc-text-2);
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}
.mc-footer-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mc-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--mc-surface-1);
  border: 1px solid var(--mc-border-1);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mc-text-2);
}
.mc-footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
}
.mc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mc-footer-links li a {
  color: var(--mc-text-2);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  display: inline-block;
}
.mc-footer-links li a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}
.mc-footer-iss-box {
  background: var(--mc-surface-1);
  border: 1px solid var(--mc-border-1);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.25rem;
}
.mc-iss-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mc-emerald);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.mc-iss-desc {
  font-size: 0.8rem;
  color: var(--mc-text-3);
  line-height: 1.5;
  margin: 0 0 10px;
}
.mc-iss-phone {
  font-size: 0.85rem;
  color: var(--mc-text-1);
}
.mc-iss-phone strong {
  color: #38BDF8;
  font-size: 1rem;
}
.mc-footer-disclaimer {
  padding: 1.5rem;
  background: var(--mc-surface-1);
  border: 1px solid var(--mc-border-1);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--mc-text-3);
}
.mc-footer-disclaimer a {
  color: var(--mc-cyan);
  text-decoration: underline;
}
.mc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mc-border-1);
  font-size: 0.82rem;
}
.mc-footer-copy {
  color: var(--mc-text-3);
}
.mc-footer-adm-strip {
  display: flex;
  gap: 8px;
}
.mc-adm-tag {
  background: var(--mc-surface-2);
  border: 1px solid var(--mc-border-1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mc-emerald);
  letter-spacing: 0.04em;
}

/* --- HISTORICAL ARCHIVE HUB ON HOMEPAGE --- */
.mc-history-hub {
  margin: 3.5rem 0;
  background: linear-gradient(135deg, #131B2A 0%, #0B132B 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}
.mc-history-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7DD3FC;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.mc-history-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #FFFFFF !important;
  margin: 0 0 1rem;
}
.mc-history-desc {
  font-size: 1rem;
  color: var(--mc-text-2);
  line-height: 1.65;
  max-width: 900px;
  margin-bottom: 1.75rem;
}
.mc-history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .mc-history-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mc-history-card {
  background: rgba(24, 34, 52, 0.85);
  border: 1px solid var(--mc-border-1);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.25s ease;
}
.mc-history-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.mc-history-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 8px;
}
.mc-history-card-excerpt {
  font-size: 0.85rem;
  color: var(--mc-text-3);
  line-height: 1.5;
  margin-bottom: 12px;
}
.mc-history-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}



/* --- EMBEDDED HOMEPAGE COMPONENTS (CSS ISOLATION) --- */

    /* CSS Isolato e ad Alto Rendimento Mobile-First */
    .matera-luxury-portal {
      --canvas: #0F131D;
      --surface-1: #131B2A;
      --surface-2: #182234;
      --surface-3: #1E2B42;
      --gold: #F59E0B;
      --gold-light: #FFC174;
      --cyan: #38BDF8;
      --emerald: #10B981;
      --crimson: #DC2626;
      --crimson-hover: #EF4444;
      --text-1: #F8FAFC;
      --text-2: #CBD5E1;
      --text-3: #94A3B8;
      --border-1: rgba(255, 255, 255, 0.08);
      --border-2: rgba(255, 255, 255, 0.14);
      background-color: var(--canvas);
      color: var(--text-2);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      line-height: 1.6;
      margin: 0;
      padding: 0;
    }
    .matera-luxury-portal * { box-sizing: border-box; }
    .matera-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
    
    /* Top Bar */
    .mc-topbar {
      background: #0B0E17;
      border-bottom: 1px solid var(--border-1);
      padding: 0.75rem 0;
      font-size: 0.82rem;
      color: var(--text-3);
    }
    .mc-topbar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .mc-topbar-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--emerald);
      font-weight: 700;
    }

    /* Hero Section */
    .mc-hero {
      padding: 2.5rem 0 2rem;
      background: radial-gradient(ellipse at top center, rgba(56, 189, 248, 0.08) 0%, rgba(15, 19, 29, 0) 70%);
      border-bottom: 1px solid var(--border-1);
    }
    .mc-hero-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 9999px;
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.35);
      color: var(--gold-light);
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 1.25rem;
    }
    .mc-hero-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: clamp(1.85rem, 4vw, 2.85rem);
      font-weight: 800;
      color: var(--text-1);
      line-height: 1.2;
      letter-spacing: -0.025em;
      margin: 0 0 1rem;
    }
    .mc-hero-desc {
      font-size: 1.05rem;
      color: var(--text-2);
      max-width: 800px;
      margin-bottom: 1.5rem;
    }
    .mc-hero-rating {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 1.75rem;
      font-size: 0.95rem;
      color: var(--text-3);
    }
    .mc-stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 2px; }
    
    /* Direct Answer Box (In Sintesi) */
    .mc-summary-box {
      background: var(--surface-1);
      border: 1px solid rgba(245, 158, 11, 0.3);
      border-radius: 14px;
      padding: 1.35rem 1.5rem;
      margin-top: 1.5rem;
      box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
    }
    .mc-summary-header {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 800;
      font-size: 0.95rem;
      color: var(--gold-light);
      text-transform: uppercase;
      letter-spacing: 0.03em;
      margin-bottom: 0.85rem;
    }
    .mc-summary-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
    }
    .mc-summary-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9rem;
      color: var(--text-2);
      line-height: 1.45;
    }
    .mc-summary-icon {
      color: var(--emerald);
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* Filter Chips Rail */
    .mc-chips-rail {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 1rem 0;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      border-bottom: 1px solid var(--border-1);
    }
    .mc-chips-rail::-webkit-scrollbar { display: none; }
    .mc-chip {
      flex-shrink: 0;
      padding: 8px 16px;
      border-radius: 9999px;
      background: var(--surface-1);
      border: 1px solid var(--border-1);
      color: var(--text-2);
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .mc-chip:hover, .mc-chip.active {
      background: var(--surface-3);
      border-color: var(--cyan);
      color: var(--text-1);
    }

    /* Comparison Cards Feed */
    .mc-feed {
      padding: 2.5rem 0;
    }
    .mc-section-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--text-1);
      margin: 0 0 0.5rem;
    }
    .mc-section-sub {
      color: var(--text-3);
      font-size: 0.95rem;
      margin-bottom: 2rem;
    }
    .mc-cards-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .mc-card {
      background: var(--surface-1);
      border: 1px solid var(--border-1);
      border-radius: 16px;
      padding: 1.5rem;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      position: relative;
      overflow: hidden;
    }
    .mc-card:hover {
      border-color: var(--border-2);
      transform: translateY(-2px);
      box-shadow: 0 16px 32px -8px rgba(0,0,0,0.5);
    }
    .mc-card.featured-gold {
      border-color: rgba(245, 158, 11, 0.4);
      background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--surface-1) 100%);
    }
    .mc-card.featured-cyan {
      border-color: rgba(56, 189, 248, 0.4);
      background: linear-gradient(180deg, rgba(56, 189, 248, 0.04) 0%, var(--surface-1) 100%);
    }
    
    .mc-card-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.25rem;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .mc-card-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .badge-gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-light); border: 1px solid rgba(245, 158, 11, 0.35); }
    .badge-cyan { background: rgba(56, 189, 248, 0.15); color: var(--cyan); border: 1px solid rgba(56, 189, 248, 0.35); }
    .badge-purple { background: rgba(168, 85, 247, 0.15); color: #C084FC; border: 1px solid rgba(168, 85, 247, 0.35); }
    
    .mc-card-score {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--gold);
    }
    
    .mc-card-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
    @media (min-width: 860px) {
      .mc-card-grid {
        grid-template-columns: 220px 1fr 220px;
        align-items: center;
      }
    }
    
    .mc-brand-col {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .mc-brand-name {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text-1);
      margin: 0;
    }
    .mc-brand-lic {
      font-size: 0.78rem;
      color: var(--emerald);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-weight: 600;
    }
    
    .mc-bonus-col {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .mc-bonus-val {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--gold-light);
      margin: 0;
      line-height: 1.25;
    }
    .mc-spec-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 0.25rem;
    }
    .mc-spec-pill {
      font-size: 0.78rem;
      background: var(--surface-2);
      border: 1px solid var(--border-1);
      padding: 4px 10px;
      border-radius: 6px;
      color: var(--text-2);
    }
    
    .mc-action-col {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }
    .mc-cta-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--crimson-hover) 0%, var(--crimson) 100%);
      color: #FFFFFF !important;
      text-decoration: none;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 800;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      padding: 0.85rem 1.25rem;
      border-radius: 8px;
      min-height: 48px;
      transition: all 0.2s ease;
      box-shadow: 0 4px 16px -2px rgba(220, 38, 38, 0.4);
      text-align: center;
    }
    .mc-cta-btn:hover {
      background: linear-gradient(135deg, #F87171 0%, var(--crimson-hover) 100%);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px -2px rgba(220, 38, 38, 0.6);
    }
    .mc-review-link {
      font-size: 0.82rem;
      color: var(--text-3);
      text-align: center;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .mc-review-link:hover { color: var(--cyan); }
    .mc-card-legal {
      font-size: 0.72rem;
      color: var(--text-3);
      margin-top: 1rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--border-1);
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    /* Methodology Section */
    .mc-methodology {
      padding: 3rem 0;
      background: var(--surface-1);
      border-top: 1px solid var(--border-1);
      border-bottom: 1px solid var(--border-1);
    }
    .mc-method-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .mc-method-card {
      background: var(--surface-2);
      border: 1px solid var(--border-1);
      border-radius: 12px;
      padding: 1.5rem;
      transition: transform 0.2s ease;
    }
    .mc-method-card:hover { transform: translateY(-2px); border-color: var(--border-2); }
    .mc-method-icon {
      font-size: 1.75rem;
      margin-bottom: 0.85rem;
      display: inline-block;
    }
    .mc-method-card h3 {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-1);
      margin: 0 0 0.5rem;
    }
    .mc-method-card p {
      font-size: 0.88rem;
      color: var(--text-3);
      margin: 0;
      line-height: 1.5;
    }

    /* FAQ Section */
    .mc-faq {
      padding: 3rem 0;
    }
    .mc-faq-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
      margin-top: 1.5rem;
    }
    .mc-faq-item {
      background: var(--surface-1);
      border: 1px solid var(--border-1);
      border-radius: 10px;
      padding: 1.25rem 1.5rem;
    }
    .mc-faq-q {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      color: var(--text-1);
      margin: 0 0 0.5rem;
    }
    .mc-faq-a {
      font-size: 0.9rem;
      color: var(--text-2);
      margin: 0;
      line-height: 1.55;
    }

    /* Responsible Gaming Notice */
    .mc-responsible-banner {
      background: #0B0E17;
      border: 1px solid rgba(220, 38, 38, 0.35);
      border-radius: 14px;
      padding: 1.5rem;
      margin: 2.5rem 0;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    @media (min-width: 768px) {
      .mc-responsible-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }
    .mc-rg-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .mc-rg-badge {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--crimson);
      color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.2rem;
      flex-shrink: 0;
      box-shadow: 0 0 16px rgba(220, 38, 38, 0.4);
    }
    .mc-rg-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1rem;
      font-weight: 800;
      color: var(--text-1);
      margin: 0 0 0.25rem;
    }
    .mc-rg-text {
      font-size: 0.85rem;
      color: var(--text-3);
      margin: 0;
    }
    .mc-rg-helpline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.35);
      padding: 8px 16px;
      border-radius: 8px;
      color: var(--emerald);
      font-weight: 800;
      font-size: 0.95rem;
      text-decoration: none;
      white-space: nowrap;
    }

    /* Sticky Mobile Bottom Bar */
    .mc-sticky-bottom {
      display: none;
    }
    @media (max-width: 768px) {
      .mc-sticky-bottom {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(11, 14, 23, 0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--border-2);
        padding: 0.65rem 1rem;
        z-index: 999;
        justify-content: space-around;
        gap: 0.5rem;
      }
      .mc-sticky-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 8px;
        border-radius: 8px;
        text-decoration: none;
        color: var(--text-3);
        font-size: 0.72rem;
        font-weight: 700;
        transition: color 0.2s ease;
      }
      .mc-sticky-btn.active, .mc-sticky-btn:hover {
        color: var(--gold-light);
      }
      .mc-sticky-btn svg { width: 18px; height: 18px; fill: currentColor; }
      body { padding-bottom: 60px; }
    }
  
