/* ═══════════════════════════════════════════════════
   GMRR Market Research Theme — Main Stylesheet
   Inspired by MarketsAndMarkets.com design system
   ═══════════════════════════════════════════════════ */

/* ── Google Fonts loaded via functions.php ── */

:root {
  --navy:        #0a0f1e;
  --navy-mid:    #111827;
  --navy-light:  #1a2640;
  --gold:        #c9a84c;
  --gold-light:  #e8c96b;
  --gold-pale:   #f5e9c8;
  --teal:        #0d9488;
  --teal-light:  #14b8a6;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --gray-50:     #f9fafb;
  --gray-100:    #f1f0ed;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --text-dark:   #1a1816;
  --text-mid:    #3d3b38;
  --text-light:  #7a7876;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --success:     #059669;
  --error:       #dc2626;
  --container:   1320px;
  --font-sans:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; color: var(--navy); }

/* ── CONTAINER ── */
.gmrr-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── SKIP LINK ── */
.skip-link { position: absolute; top: -9999px; left: 6px; z-index: 9999; background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 6px; }

/* ════════════════════════════════════════════════
   TOPBAR
════════════════════════════════════════════════ */
.gmrr-topbar {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.gmrr-topbar .gmrr-container {
  display: flex; gap: 20px; align-items: center;
}
.gmrr-topbar-right { margin-left: auto; color: var(--gold); font-weight: 500; }

/* ════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════ */
.gmrr-header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky; top: 0; z-index: 200;
}
.gmrr-header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 68px;
}
.gmrr-site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 700;
  color: var(--navy); flex-shrink: 0;
}
.gmrr-site-logo:hover { color: var(--navy); }
.gmrr-logo-text { color: var(--navy); }

/* Header search */
.gmrr-header-search { flex: 1; max-width: 560px; }
.gmrr-search-form { display: flex; border: 1.5px solid var(--gray-200); border-radius: 50px; overflow: hidden; background: var(--gray-50); transition: border-color .2s, box-shadow .2s; }
.gmrr-search-form:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.gmrr-search-input { flex: 1; border: none; background: transparent; padding: 10px 18px; font-family: var(--font-sans); font-size: .9rem; outline: none; }
.gmrr-search-btn { padding: 10px 18px; background: var(--teal); border: none; color: var(--white); cursor: pointer; display: flex; align-items: center; transition: background .2s; }
.gmrr-search-btn:hover { background: #0b7a71; }

/* Header actions */
.gmrr-header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.gmrr-btn-outline-sm { border: 1.5px solid var(--navy); color: var(--navy); border-radius: 50px; padding: 7px 18px; font-size: .85rem; font-weight: 600; transition: all .2s; }
.gmrr-btn-outline-sm:hover { background: var(--navy); color: var(--white); }

/* Mobile toggle */
.gmrr-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.gmrr-mobile-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ── NAV ── */
.gmrr-nav { background: var(--navy); }
.gmrr-nav .gmrr-container { padding-top: 0; padding-bottom: 0; }
.gmrr-nav-menu { display: flex; list-style: none; padding: 0; margin: 0; gap: 0; }
.gmrr-nav-menu > li > a {
  display: block; padding: 14px 18px;
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
  transition: color .2s, background .2s;
  position: relative;
}
.gmrr-nav-menu > li > a:hover,
.gmrr-nav-menu > li.current-menu-item > a { color: var(--gold); }
.gmrr-nav-menu > li.current-menu-item > a::after {
  content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 2px; background: var(--gold); border-radius: 2px 2px 0 0;
}

/* Dropdown */
.gmrr-nav-menu .sub-menu {
  display: none; position: absolute;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px 0;
  min-width: 220px; z-index: 300; list-style: none;
}
.gmrr-nav-menu li { position: relative; }
.gmrr-nav-menu li:hover > .sub-menu { display: block; }
.gmrr-nav-menu .sub-menu li a { display: block; padding: 10px 20px; color: var(--text-mid); font-size: .88rem; border-bottom: 1px solid var(--gray-100); }
.gmrr-nav-menu .sub-menu li:last-child a { border-bottom: none; }
.gmrr-nav-menu .sub-menu li a:hover { background: var(--gray-50); color: var(--teal); }

/* ════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════ */
.gmrr-btn-primary, .gmrru-btn-primary {
  display: inline-block; background: var(--teal); color: var(--white);
  border: none; border-radius: 50px; padding: 13px 28px;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(13,148,136,.30);
}
.gmrr-btn-primary:hover, .gmrru-btn-primary:hover { background: #0b7a71; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,148,136,.35); color: var(--white); }

.gmrr-btn-outline, .gmrru-btn-ghost {
  display: inline-block; border: 1.5px solid var(--teal); color: var(--teal);
  background: transparent; border-radius: 50px; padding: 11px 24px;
  font-family: var(--font-sans); font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.gmrr-btn-outline:hover, .gmrru-btn-ghost:hover { background: var(--teal); color: var(--white); }

.gmrr-btn-buy {
  width: 100%; display: block; background: var(--gold); color: var(--navy);
  border: none; border-radius: 50px; padding: 14px 24px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all .2s; margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
}
.gmrr-btn-buy:hover { background: var(--gold-light); transform: translateY(-1px); }

.gmrr-btn-sample {
  width: 100%; display: block; background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal); border-radius: 50px; padding: 12px 24px;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.gmrr-btn-sample:hover { background: var(--teal); color: var(--white); }

.gmrru-btn-full, .gmrr-btn-full { width: 100%; text-align: center; display: block; }

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.gmrr-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162036 50%, #0f2a3a 100%);
  position: relative; overflow: hidden; padding: 80px 0 70px;
  color: var(--white);
}
.gmrr-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.gmrr-hero-badge {
  display: inline-block; background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light); border-radius: 50px; padding: 6px 18px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 24px;
}
.gmrr-hero-headline {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--white); line-height: 1.15;
  max-width: 740px; margin-bottom: 18px;
}
.gmrr-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 580px; margin-bottom: 36px; }

/* Hero search */
.gmrr-hero-search { display: flex; max-width: 640px; border-radius: 50px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.25); margin-bottom: 40px; }
.gmrr-hero-search-input { flex: 1; border: none; padding: 16px 24px; font-family: var(--font-sans); font-size: 1rem; outline: none; }
.gmrr-hero-search-btn { background: var(--gold); color: var(--navy); border: none; padding: 16px 28px; font-family: var(--font-sans); font-size: .95rem; font-weight: 700; cursor: pointer; transition: background .2s; white-space: nowrap; }
.gmrr-hero-search-btn:hover { background: var(--gold-light); }

/* Hero stats */
.gmrr-hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.gmrr-hero-stat { display: flex; flex-direction: column; }
.gmrr-hero-stat strong { font-size: 1.8rem; font-weight: 800; color: var(--gold); font-family: var(--font-serif); line-height: 1; }
.gmrr-hero-stat span { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 3px; }

/* ════════════════════════════════════════════════
   SECTION STYLES
════════════════════════════════════════════════ */
.gmrr-section { padding: 64px 0; }
.gmrr-section-title { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 8px; }
.gmrr-section-sub { color: var(--text-light); font-size: .95rem; margin-bottom: 32px; }
.gmrr-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.gmrr-text-center { text-align: center; }

/* ════════════════════════════════════════════════
   INDUSTRY STRIP
════════════════════════════════════════════════ */
.gmrr-industries-strip { background: var(--gray-50); padding: 48px 0; border-bottom: 1px solid var(--gray-200); }
.gmrr-industries-strip .gmrr-section-title { margin-bottom: 28px; }
.gmrr-industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gmrr-industry-chip {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 18px 12px;
  text-align: center; color: var(--text-mid); font-size: .83rem; font-weight: 500;
  transition: all .2s;
}
.gmrr-industry-chip:hover { border-color: var(--teal); color: var(--teal); box-shadow: 0 4px 16px rgba(13,148,136,.10); transform: translateY(-2px); }
.gmrr-industry-icon { font-size: 1.8rem; line-height: 1; }
.gmrr-industry-chip small { font-size: .75rem; color: var(--text-light); }

/* ════════════════════════════════════════════════
   REPORT GRID & CARDS
════════════════════════════════════════════════ */
.gmrr-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gmrr-report-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.gmrr-report-card:hover { border-color: var(--teal); box-shadow: 0 8px 32px rgba(0,0,0,.10); transform: translateY(-3px); }

/* Thumb */
.gmrr-card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-light); }
.gmrr-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gmrr-report-card:hover .gmrr-card-thumb img { transform: scale(1.04); }
.gmrr-card-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gmrr-card-thumb-placeholder svg { width: 100%; height: 100%; }
.gmrr-card-cagr-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--teal); color: var(--white);
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 50px;
}
.gmrr-card-sample-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--gold); color: var(--navy);
  font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 50px;
}

/* Card Body */
.gmrr-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.gmrr-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gmrr-tag { font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.gmrr-tag-industry { background: rgba(13,148,136,.08); color: var(--teal); }
.gmrr-tag-region   { background: rgba(10,15,30,.06); color: var(--navy-mid); }
.gmrr-card-title { font-family: var(--font-sans); font-size: .92rem; font-weight: 600; line-height: 1.4; color: var(--text-dark); flex: 1; }
.gmrr-card-title a { color: inherit; }
.gmrr-card-title a:hover { color: var(--teal); }
.gmrr-card-excerpt { font-size: .82rem; color: var(--text-light); line-height: 1.55; }
.gmrr-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gmrr-card-stat { background: var(--gray-50); border-radius: 6px; padding: 7px 10px; }
.gmrr-card-stat-label { display: block; font-size: .68rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.gmrr-card-stat-val { font-size: .82rem; font-weight: 700; color: var(--navy); }

/* Card Footer */
.gmrr-card-footer { padding: 12px 18px; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 10px; }
.gmrr-card-meta { display: flex; gap: 12px; font-size: .75rem; color: var(--text-light); }
.gmrr-card-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gmrr-card-price { font-size: 1rem; font-weight: 800; color: var(--navy); }
.gmrr-btn-card {
  background: var(--navy); color: var(--white);
  border-radius: 50px; padding: 8px 16px;
  font-size: .8rem; font-weight: 600;
  transition: background .2s;
  white-space: nowrap;
}
.gmrr-btn-card:hover { background: var(--teal); color: var(--white); }

/* ════════════════════════════════════════════════
   TRUST SECTION
════════════════════════════════════════════════ */
.gmrr-trust-section { background: var(--gray-50); padding: 64px 0; }
.gmrr-trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 36px; }
.gmrr-trust-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; border: 1.5px solid var(--gray-200); text-align: center; }
.gmrr-trust-icon { font-size: 2.2rem; margin-bottom: 12px; }
.gmrr-trust-card h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.gmrr-trust-card p { font-size: .85rem; color: var(--text-light); line-height: 1.6; }

/* ════════════════════════════════════════════════
   ARCHIVE PAGE
════════════════════════════════════════════════ */
.gmrr-archive-hero { background: var(--navy); color: var(--white); padding: 40px 0 36px; }
.gmrr-archive-title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 8px; margin-top: 12px; }
.gmrr-archive-desc { color: rgba(255,255,255,.65); font-size: .95rem; }

.gmrr-archive-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 60px; align-items: start; }

/* Filter Sidebar */
.gmrr-filter-sidebar { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 90px; }
.gmrr-filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.gmrr-filter-header h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 700; }
.gmrr-filter-clear { background: none; border: none; color: var(--teal); font-size: .8rem; cursor: pointer; font-family: var(--font-sans); padding: 0; }
.gmrr-filter-group { border-bottom: 1px solid var(--gray-100); margin-bottom: 16px; padding-bottom: 16px; }
.gmrr-filter-group:last-child { border-bottom: none; }
.gmrr-filter-label { display: block; font-size: .82rem; font-weight: 700; color: var(--text-mid); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.gmrr-filter-group-toggle { width: 100%; background: none; border: none; font-family: var(--font-sans); font-size: .85rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0 0 10px; }
.gmrr-filter-options { display: flex; flex-direction: column; gap: 6px; }
.gmrr-filter-option { display: flex; align-items: center; gap: 8px; font-size: .85rem; cursor: pointer; color: var(--text-mid); }
.gmrr-filter-option input[type="checkbox"] { accent-color: var(--teal); width: 15px; height: 15px; }
.gmrr-filter-option:hover { color: var(--teal); }
.gmrr-filter-count { margin-left: auto; background: var(--gray-100); color: var(--text-light); font-size: .72rem; font-weight: 600; padding: 1px 7px; border-radius: 50px; }
.gmrr-filter-input { width: 100%; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 9px 12px; font-family: var(--font-sans); font-size: .88rem; outline: none; transition: border-color .2s; }
.gmrr-filter-input:focus { border-color: var(--teal); }

/* Toolbar */
.gmrr-archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.gmrr-archive-count { font-size: .9rem; font-weight: 600; color: var(--text-mid); }
.gmrr-archive-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gmrr-sort-label { font-size: .85rem; color: var(--text-light); }
.gmrr-sort-select { border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 7px 12px; font-family: var(--font-sans); font-size: .85rem; outline: none; cursor: pointer; }
.gmrr-view-toggle { display: flex; border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.gmrr-view-btn { background: none; border: none; padding: 7px 12px; cursor: pointer; font-size: 1rem; color: var(--text-light); transition: all .2s; }
.gmrr-view-btn.is-active { background: var(--navy); color: var(--white); }
.gmrr-mobile-filter-toggle { display: none; }

/* No results */
.gmrr-no-results { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-light); }

/* Pagination */
.gmrr-pagination { margin-top: 40px; }
.gmrr-pagination .page-numbers { display: flex; list-style: none; gap: 8px; justify-content: center; padding: 0; }
.gmrr-pagination .page-numbers li a,
.gmrr-pagination .page-numbers li span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: .88rem; font-weight: 600; color: var(--text-mid);
  transition: all .2s;
}
.gmrr-pagination .page-numbers li a:hover { border-color: var(--teal); color: var(--teal); }
.gmrr-pagination .page-numbers li span.current { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ════════════════════════════════════════════════
   SINGLE REPORT PAGE
════════════════════════════════════════════════ */
.gmrr-report-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); padding: 48px 0 44px;
}
.gmrr-report-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-top: 24px; }
.gmrr-report-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gmrr-report-title { font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 16px; }
.gmrr-report-excerpt { font-size: 1rem; color: rgba(255,255,255,.75); max-width: 680px; margin-bottom: 24px; line-height: 1.7; }
.gmrr-report-id-note { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 12px; }
.gmrr-report-cover-img { width: 220px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Key stat pills */
.gmrr-report-key-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.gmrr-stat-pill { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 10px 16px; display: flex; flex-direction: column; min-width: 120px; }
.gmrr-stat-pill-gold { background: rgba(201,168,76,.15); border-color: rgba(201,168,76,.35); }
.gmrr-stat-pill-label { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.gmrr-stat-pill-val { font-size: 1rem; font-weight: 800; color: var(--white); }
.gmrr-stat-pill-gold .gmrr-stat-pill-val { color: var(--gold-light); }

/* Body Layout */
.gmrr-report-body-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding-top: 36px; padding-bottom: 60px; align-items: start; }

/* Section nav */
.gmrr-section-nav { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 32px; overflow-x: auto; }
.gmrr-section-nav a { padding: 12px 20px; font-size: .88rem; font-weight: 600; color: var(--text-light); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: color .2s, border-color .2s; }
.gmrr-section-nav a:hover, .gmrr-section-nav a.active { color: var(--teal); border-bottom-color: var(--teal); }

/* Report section */
.gmrr-report-section { margin-bottom: 40px; }
.gmrr-report-section h2 { font-size: 1.4rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }

/* Highlights grid */
.gmrr-highlights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.gmrr-highlight-card { background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px 18px; text-align: center; }
.gmrr-highlight-card.gmrr-highlight-gold { background: var(--gold-pale); border-color: var(--gold); }
.gmrr-highlight-icon { font-size: 1.6rem; margin-bottom: 10px; }
.gmrr-highlight-val { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.gmrr-highlight-lbl { font-size: .75rem; color: var(--text-light); font-weight: 500; }

/* Companies */
.gmrr-companies-list { display: flex; flex-wrap: wrap; gap: 10px; }
.gmrr-company-chip { background: var(--navy); color: var(--white); border-radius: 50px; padding: 6px 16px; font-size: .82rem; font-weight: 500; }

/* Scope grid */
.gmrr-scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gmrr-scope-item h4 { font-family: var(--font-sans); font-size: .88rem; font-weight: 700; margin-bottom: 10px; color: var(--text-mid); text-transform: uppercase; letter-spacing: .04em; }
.gmrr-scope-item ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gmrr-scope-item ul li { font-size: .88rem; color: var(--text-mid); padding-left: 16px; position: relative; }
.gmrr-scope-item ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; font-size: .8rem; }

/* Mobile buy bar */
.gmrr-mobile-buy-bar { display: none; }

/* ── Sidebar Cards ── */
.gmrr-report-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.gmrr-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.gmrr-card-header { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); background: var(--gray-50); }
.gmrr-card-header h3, .gmrr-card-header h2 { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.gmrr-card-body { padding: 18px 20px; }

/* Price block */
.gmrr-price-block {}
.gmrr-price-title { font-family: var(--font-sans); font-size: .88rem; font-weight: 700; margin-bottom: 14px; color: var(--text-mid); text-transform: uppercase; letter-spacing: .04em; }
.gmrr-license-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.gmrr-license-row {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 12px 14px;
  cursor: pointer; transition: all .2s;
}
.gmrr-license-row input[type="radio"] { accent-color: var(--teal); width: 15px; height: 15px; flex-shrink: 0; }
.gmrr-license-row.is-selected { border-color: var(--teal); background: rgba(13,148,136,.04); }
.gmrr-license-row:hover { border-color: var(--teal); }
.gmrr-license-icon { font-size: 1.2rem; }
.gmrr-license-info { flex: 1; }
.gmrr-license-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.gmrr-license-desc  { display: block; font-size: .74rem; color: var(--text-light); }
.gmrr-license-price strong { font-size: .95rem; color: var(--navy); }
.gmrr-license-price em { font-style: normal; font-size: .8rem; color: var(--text-light); }

/* Details card */
.gmrr-details-list { display: flex; flex-direction: column; gap: 10px; }
.gmrr-details-list > div { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; border-bottom: 1px solid var(--gray-100); padding-bottom: 8px; }
.gmrr-details-list > div:last-child { border-bottom: none; padding-bottom: 0; }
.gmrr-details-list dt { color: var(--text-light); font-weight: 500; }
.gmrr-details-list dd { font-weight: 600; color: var(--text-dark); text-align: right; }

/* Help card */
.gmrr-help-card .gmrr-card-body { text-align: center; }
.gmrr-help-icon { font-size: 2rem; margin-bottom: 8px; }
.gmrr-help-card h4 { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.gmrr-help-card p { font-size: .82rem; color: var(--text-light); margin-bottom: 14px; }
.gmrru-btn-ghost { display: inline-block; border: 1.5px solid var(--teal); color: var(--teal); background: transparent; border-radius: 50px; padding: 10px 20px; font-family: var(--font-sans); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; text-align: center; }
.gmrru-btn-ghost:hover { background: var(--teal); color: var(--white); }
.gmrru-input { width: 100%; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 10px 14px; font-family: var(--font-sans); font-size: .9rem; outline: none; transition: border-color .2s; margin-bottom: 10px; }
.gmrru-input:focus { border-color: var(--teal); }
.gmrr-field { margin-bottom: 12px; }
.gmrr-desc { font-size: .85rem; color: var(--text-light); margin-bottom: 14px; }
.gmrr-form-note { font-size: .78rem; color: var(--text-light); text-align: center; margin-top: 10px; }

/* Related section */
.gmrr-related-section { background: var(--gray-50); padding: 64px 0; }

/* ════════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════════ */
.gmrr-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; font-size: .8rem; }
.gmrr-breadcrumb li { display: flex; align-items: center; color: rgba(255,255,255,.5); }
.gmrr-breadcrumb li a { color: rgba(255,255,255,.65); }
.gmrr-breadcrumb li a:hover { color: var(--gold-light); }
.gmrr-breadcrumb li::after { content: '›'; margin-left: 6px; }
.gmrr-breadcrumb li.current { color: rgba(255,255,255,.8); }
.gmrr-breadcrumb li.current::after { display: none; }

/* ════════════════════════════════════════════════
   META BADGES
════════════════════════════════════════════════ */
.gmrr-meta-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.gmrr-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; }
.gmrr-badge svg { width: 12px; height: 12px; }
.gmrr-badge-teal  { background: rgba(13,148,136,.10); color: var(--teal); border: 1px solid rgba(13,148,136,.2); }
.gmrr-badge-blue  { background: rgba(59,130,246,.08); color: #3b82f6; border: 1px solid rgba(59,130,246,.2); }
.gmrr-badge-gray  { background: var(--gray-100); color: var(--text-mid); border: 1px solid var(--gray-200); }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.gmrr-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.gmrr-footer-top { padding: 60px 0 48px; }
.gmrr-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }

.gmrr-footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.gmrr-footer-tagline { font-size: .88rem; line-height: 1.7; margin-bottom: 16px; max-width: 300px; }
.gmrr-footer-contact p { font-size: .85rem; margin-bottom: 4px; }

.gmrr-footer-col h4 { font-family: var(--font-sans); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-bottom: 16px; }
.gmrr-footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gmrr-footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color .2s; }
.gmrr-footer-col ul li a:hover { color: var(--gold-light); }

.gmrr-newsletter-form { display: flex; gap: 8px; margin-bottom: 16px; }
.gmrr-newsletter-input { flex: 1; border: 1.5px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 10px 14px; font-family: var(--font-sans); font-size: .85rem; color: var(--white); outline: none; transition: border-color .2s; }
.gmrr-newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.gmrr-newsletter-input:focus { border-color: var(--gold); }
.gmrr-newsletter-btn { background: var(--gold); color: var(--navy); border: none; border-radius: var(--radius); padding: 10px 16px; font-family: var(--font-sans); font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s; }
.gmrr-newsletter-btn:hover { background: var(--gold-light); }
.gmrr-footer-trust { display: flex; flex-direction: column; gap: 5px; font-size: .78rem; color: rgba(255,255,255,.5); }

.gmrr-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.gmrr-footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* ════════════════════════════════════════════════
   ENTRY CONTENT (TinyMCE)
════════════════════════════════════════════════ */
.entry-content h2 { font-size: 1.5rem; margin: 32px 0 14px; }
.entry-content h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.entry-content p  { margin-bottom: 16px; line-height: 1.75; }
.entry-content ul, .entry-content ol { margin-bottom: 16px; line-height: 1.75; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.entry-content table th { background: var(--navy); color: var(--white); padding: 10px 14px; font-size: .85rem; text-align: left; }
.entry-content table td { padding: 9px 14px; border-bottom: 1px solid var(--gray-200); font-size: .88rem; }
.entry-content table tr:nth-child(even) td { background: var(--gray-50); }

/* ════════════════════════════════════════════════
   GENERIC PAGE
════════════════════════════════════════════════ */
.gmrr-generic-page { padding: 48px 0 80px; max-width: 900px; }
.gmrr-post-entry { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--gray-100); }
.gmrr-post-entry h2 { font-size: 1.4rem; margin-bottom: 10px; }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .gmrr-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gmrr-report-body-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 1024px) {
  .gmrr-archive-layout { grid-template-columns: 240px 1fr; }
}

@media (max-width: 900px) {
  .gmrr-archive-layout { grid-template-columns: 1fr; }
  .gmrr-filter-sidebar { display: none; position: fixed; inset: 0; z-index: 500; overflow-y: auto; border-radius: 0; top: auto; bottom: 0; height: 80vh; }
  .gmrr-filter-sidebar.is-open { display: block; }
  .gmrr-mobile-filter-toggle { display: block; background: var(--navy); color: var(--white); border: none; border-radius: var(--radius); padding: 9px 16px; font-family: var(--font-sans); font-size: .88rem; font-weight: 600; cursor: pointer; }
  .gmrr-report-body-layout { grid-template-columns: 1fr; }
  .gmrr-report-sidebar { position: static; }
  .gmrr-mobile-buy-bar { display: flex; gap: 10px; align-items: center; background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 14px 18px; margin-bottom: 24px; flex-wrap: wrap; }
  .gmrr-mobile-price { font-size: 1.1rem; font-weight: 800; color: var(--navy); flex: 1; }
  .gmrr-mobile-buy-bar .gmrr-btn-buy { width: auto; margin: 0; padding: 10px 20px; font-size: .88rem; }
  .gmrr-mobile-buy-bar .gmrr-btn-sample { width: auto; padding: 10px 20px; font-size: .88rem; }
  .gmrr-report-hero-inner { grid-template-columns: 1fr; }
  .gmrr-report-cover-img { display: none; }
}

@media (max-width: 768px) {
  .gmrr-topbar { display: none; }
  .gmrr-header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .gmrr-header-search { order: 3; flex: 0 0 100%; max-width: 100%; padding-bottom: 12px; }
  .gmrr-header-actions { display: none; }
  .gmrr-mobile-toggle { display: flex; }
  .gmrr-nav { display: none; }
  .gmrr-nav.is-open { display: block; }
  .gmrr-nav-menu { flex-direction: column; }
  .gmrr-nav-menu .sub-menu { position: static; box-shadow: none; background: rgba(255,255,255,.05); padding: 0; }
  .gmrr-hero { padding: 48px 0 40px; }
  .gmrr-hero-stats { gap: 20px; }
  .gmrr-hero-search { flex-direction: column; border-radius: var(--radius-lg); }
  .gmrr-hero-search-btn { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .gmrr-report-grid { grid-template-columns: 1fr; }
  .gmrr-industry-grid { grid-template-columns: repeat(3, 1fr); }
  .gmrr-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gmrr-footer-bottom-inner { flex-direction: column; text-align: center; }
  .gmrr-scope-grid { grid-template-columns: 1fr; }
  .gmrr-highlights-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .gmrr-container { padding: 0 16px; }
  .gmrr-report-grid { grid-template-columns: 1fr; }
  .gmrr-industry-grid { grid-template-columns: repeat(2, 1fr); }
  .gmrr-archive-toolbar { flex-direction: column; align-items: flex-start; }
}
