/**
 * CB Metodikk Template Styles
 *
 * Scoped under body.cb-metodikk to prevent conflicts with ReHub theme.
 * Extracted from metodikk.html prototype.
 *
 * @package CasinoBonuser
 * @since   1.0.0
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
body.cb-metodikk {
  --cb-bg: #f4f6f9;
  --cb-card-bg: #ffffff;
  --cb-card-border: #e2e6ec;
  --cb-card-shadow: 0 2px 16px rgba(0,0,0,0.05);
  --cb-card-radius: 14px;
  --cb-text: #1a1a2e;
  --cb-text-light: #5a6577;
  --cb-text-muted: #8a93a2;
  --cb-navy: #1e3a5f;
  --cb-green: #11ac84;
  --cb-green-light: #e8f8f3;
  --cb-red: #e74c3c;
  --cb-gold: #f5a623;
  --cb-gold-light: #fff8ec;
  --cb-teal: #00b4d8;
  --cb-teal-light: #e8f8fb;
  --cb-cta-from: #8ad455;
  --cb-cta-to: #5fa82e;
  --cb-cta-shadow: 0 4px 18px rgba(106,173,56,0.4);
  --cb-header-bg: #0f1923;
  --cb-cta-green: #7fc64a;
  --font-heading: 'Roboto', sans-serif;
}

/* ============================================================
   RESET & BASE (scoped to our template)
   ============================================================ */
body.cb-metodikk,
body.cb-metodikk *,
body.cb-metodikk *::before,
body.cb-metodikk *::after {
  box-sizing: border-box;
}

body.cb-metodikk {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--cb-bg);
  color: var(--cb-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.cb-metodikk a {
  text-decoration: none;
  color: inherit;
}

body.cb-metodikk img {
  max-width: 100%;
  height: auto;
}

body.cb-metodikk h1,
body.cb-metodikk h2,
body.cb-metodikk h3,
body.cb-metodikk h4 {
  font-family: 'Roboto', 'Inter', sans-serif;
  line-height: 1.25;
  margin: 0;
  padding: 0;
}

body.cb-metodikk p {
  margin: 0;
  padding: 0;
}

body.cb-metodikk ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Override ReHub stray styles that leak through wp_head() */
body.cb-metodikk .site-content,
body.cb-metodikk #content,
body.cb-metodikk #main-content,
body.cb-metodikk .rh-container {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* WP Admin Bar offset */
body.cb-metodikk.admin-bar .cb-header {
  top: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
body.cb-metodikk .cb-header {
  background: #0f1923;
  padding: 0;
  position: relative;
  z-index: 100;
}

body.cb-metodikk .cb-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,172,132,.08), #11ac84, rgba(17,172,132,.08), transparent);
  z-index: 1;
}

body.cb-metodikk .cb-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

body.cb-metodikk .cb-site-logo {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
}

body.cb-metodikk .cb-site-logo:hover {
  text-decoration: none;
  opacity: .9;
}

body.cb-metodikk .cb-site-logo .logo-accent {
  color: #7fc64a;
}

body.cb-metodikk .cb-site-logo .logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #11ac84;
  margin-left: 2px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

body.cb-metodikk .cb-header-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

body.cb-metodikk .cb-header-nav a {
  color: #94a3b4;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
  position: relative;
}

body.cb-metodikk .cb-header-nav a:hover,
body.cb-metodikk .cb-header-nav a.active {
  color: #fff;
  text-decoration: none;
}

body.cb-metodikk .cb-header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #11ac84;
  border-radius: 1px;
}

body.cb-metodikk .cb-header-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #94a3b4;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Focus styles for keyboard navigation */
body.cb-metodikk a:focus-visible,
body.cb-metodikk button:focus-visible,
body.cb-metodikk input:focus-visible,
body.cb-metodikk select:focus-visible {
  outline: 2px solid var(--cb-green);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  body.cb-metodikk .cb-header-nav { display: flex; }
  body.cb-metodikk .cb-header-toggle { display: none; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
body.cb-metodikk .cb-me-breadcrumb {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 16px 0;
  font-size: 13px;
  color: var(--cb-text-muted);
}

body.cb-metodikk .cb-me-breadcrumb a {
  color: var(--cb-text-muted);
  text-decoration: none;
}

body.cb-metodikk .cb-me-breadcrumb a:hover {
  color: var(--cb-green);
}

body.cb-metodikk .cb-me-breadcrumb .sep {
  margin: 0 6px;
  opacity: .5;
}

/* ============================================================
   HERO
   ============================================================ */
body.cb-metodikk .cb-me-hero {
  background: linear-gradient(135deg, #0f1923 0%, #1e3a5f 100%);
  padding: 48px 16px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

body.cb-metodikk .cb-me-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(17,172,132,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0,180,216,.08) 0%, transparent 50%);
  pointer-events: none;
}

body.cb-metodikk .cb-me-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

body.cb-metodikk .cb-me-hero h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

body.cb-metodikk .cb-me-hero-sub {
  color: #94a3b4;
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 0;
}

@media (min-width: 768px) {
  body.cb-metodikk .cb-me-hero { padding: 56px 16px 48px; }
  body.cb-metodikk .cb-me-hero h1 { font-size: 36px; }
  body.cb-metodikk .cb-me-hero-sub { font-size: 16px; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
body.cb-metodikk .cb-me-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: -20px auto 32px;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

body.cb-metodikk .cb-me-stat-box {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-card-border);
  border-radius: 12px;
  box-shadow: var(--cb-card-shadow);
  padding: 20px 24px;
  text-align: center;
  flex: 1;
  min-width: 140px;
}

body.cb-metodikk .cb-me-stat-val {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--cb-navy);
  line-height: 1.1;
}

body.cb-metodikk .cb-me-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--cb-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

@media (max-width: 600px) {
  body.cb-metodikk .cb-me-stats { gap: 10px; }
  body.cb-metodikk .cb-me-stat-box { padding: 14px 12px; min-width: 0; flex: 1 1 calc(50% - 10px); }
  body.cb-metodikk .cb-me-stat-val { font-size: 22px; }
}

/* ============================================================
   CONTENT WRAPPER
   ============================================================ */
body.cb-metodikk .cb-me-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* ============================================================
   SECTION CARDS (shared)
   ============================================================ */
body.cb-metodikk .cb-me-card {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-card-border);
  border-radius: var(--cb-card-radius);
  box-shadow: var(--cb-card-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
}

body.cb-metodikk .cb-me-card h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--cb-navy);
  margin-bottom: 16px;
}

body.cb-metodikk .cb-me-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cb-text);
  margin-bottom: 8px;
}

body.cb-metodikk .cb-me-card p {
  font-size: 14px;
  color: var(--cb-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ============================================================
   VISUAL SCORING BREAKDOWN (bar chart)
   ============================================================ */
body.cb-metodikk .cb-me-weight-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.cb-metodikk .cb-me-weight-row {
  display: grid;
  grid-template-columns: 180px 50px 1fr;
  align-items: center;
  gap: 12px;
}

body.cb-metodikk .cb-me-weight-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cb-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

body.cb-metodikk .cb-me-weight-name .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

body.cb-metodikk .cb-me-weight-pct {
  font-size: 14px;
  font-weight: 800;
  color: var(--cb-navy);
  text-align: right;
}

body.cb-metodikk .cb-me-weight-bar {
  height: 24px;
  background: #e8ecf1;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

body.cb-metodikk .cb-me-weight-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width .6s ease;
}

body.cb-metodikk .cb-me-weight-bar-fill.c1 { background: linear-gradient(90deg, #1e3a5f, #2a5a8f); }
body.cb-metodikk .cb-me-weight-bar-fill.c2 { background: linear-gradient(90deg, #11ac84, #15d4a2); }
body.cb-metodikk .cb-me-weight-bar-fill.c3 { background: linear-gradient(90deg, #00b4d8, #48cae4); }
body.cb-metodikk .cb-me-weight-bar-fill.c4 { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
body.cb-metodikk .cb-me-weight-bar-fill.c5 { background: linear-gradient(90deg, #f5a623, #fbbf24); }
body.cb-metodikk .cb-me-weight-bar-fill.c6 { background: linear-gradient(90deg, #e74c3c, #f87171); }
body.cb-metodikk .cb-me-weight-bar-fill.c7 { background: linear-gradient(90deg, #8ad455, #a3e635); }
body.cb-metodikk .cb-me-weight-bar-fill.c8 { background: linear-gradient(90deg, #06b6d4, #67e8f9); }
body.cb-metodikk .cb-me-weight-bar-fill.c9 { background: linear-gradient(90deg, #ec4899, #f472b6); }

@media (max-width: 600px) {
  body.cb-metodikk .cb-me-weight-row {
    grid-template-columns: 1fr 50px;
    gap: 6px;
  }
  body.cb-metodikk .cb-me-weight-bar { grid-column: 1 / -1; }
}

/* ============================================================
   CATEGORY DETAIL SECTIONS
   ============================================================ */
body.cb-metodikk .cb-me-cat {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-card-border);
  border-radius: var(--cb-card-radius);
  box-shadow: var(--cb-card-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
}

body.cb-metodikk .cb-me-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

body.cb-metodikk .cb-me-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

body.cb-metodikk .cb-me-cat-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--cb-navy);
  flex: 1;
}

body.cb-metodikk .cb-me-cat-badge {
  background: var(--cb-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

body.cb-metodikk .cb-me-cat p {
  font-size: 14px;
  color: var(--cb-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

body.cb-metodikk .cb-me-cat-criteria {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

body.cb-metodikk .cb-me-cat-criteria li {
  font-size: 13px;
  color: var(--cb-text);
  padding: 7px 0;
  border-bottom: 1px solid #f0f2f5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

body.cb-metodikk .cb-me-cat-criteria li:last-child {
  border-bottom: none;
}

body.cb-metodikk .cb-me-cat-criteria li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cb-green);
  margin-top: 7px;
  flex-shrink: 0;
}

body.cb-metodikk .cb-me-cat-scale {
  background: var(--cb-bg);
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
}

body.cb-metodikk .cb-me-cat-scale h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--cb-text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 10px;
}

body.cb-metodikk .cb-me-scale-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  color: var(--cb-text-light);
  padding: 4px 0;
}

body.cb-metodikk .cb-me-scale-row strong {
  color: var(--cb-navy);
  font-weight: 700;
  min-width: 60px;
}

body.cb-metodikk .cb-me-cat-example {
  background: var(--cb-green-light);
  border-left: 3px solid var(--cb-green);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--cb-text);
  line-height: 1.6;
  margin-top: 12px;
}

body.cb-metodikk .cb-me-cat-example strong {
  color: var(--cb-green);
}

/* ============================================================
   CALCULATION SECTION
   ============================================================ */
body.cb-metodikk .cb-me-formula {
  background: #1e3a5f;
  color: #fff;
  border-radius: var(--cb-card-radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}

body.cb-metodikk .cb-me-formula h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

body.cb-metodikk .cb-me-formula p {
  font-size: 14px;
  color: #94a3b4;
  line-height: 1.7;
  margin-bottom: 12px;
}

body.cb-metodikk .cb-me-formula-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin: 16px 0;
  font-family: 'Roboto Mono', monospace;
}

body.cb-metodikk .cb-me-formula-expr {
  font-size: 16px;
  font-weight: 700;
  color: #7fc64a;
  margin-bottom: 8px;
}

body.cb-metodikk .cb-me-formula-desc {
  font-size: 12px;
  color: #8899a8;
}

body.cb-metodikk .cb-me-example-calc {
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}

body.cb-metodikk .cb-me-example-calc h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

body.cb-metodikk .cb-me-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: #94a3b4;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

body.cb-metodikk .cb-me-calc-row:last-child {
  border-bottom: none;
}

body.cb-metodikk .cb-me-calc-row .calc-cat {
  flex: 1;
}

body.cb-metodikk .cb-me-calc-row .calc-weight {
  width: 50px;
  text-align: center;
  color: #6b7d8d;
}

body.cb-metodikk .cb-me-calc-row .calc-score {
  width: 40px;
  text-align: center;
  color: #fff;
  font-weight: 600;
}

body.cb-metodikk .cb-me-calc-row .calc-result {
  width: 60px;
  text-align: right;
  color: #7fc64a;
  font-weight: 600;
}

body.cb-metodikk .cb-me-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0;
  margin-top: 8px;
  border-top: 2px solid rgba(127,198,74,.3);
  font-size: 15px;
  font-weight: 800;
}

body.cb-metodikk .cb-me-calc-total span:last-child {
  color: #7fc64a;
  font-size: 20px;
}

/* Rating scale */
body.cb-metodikk .cb-me-rating-scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

body.cb-metodikk .cb-me-scale-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

body.cb-metodikk .cb-me-scale-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  min-width: 70px;
  text-align: center;
}

body.cb-metodikk .cb-me-scale-badge.exc { background: rgba(17,172,132,.2); color: #11ac84; }
body.cb-metodikk .cb-me-scale-badge.grt { background: rgba(0,180,216,.2); color: #48cae4; }
body.cb-metodikk .cb-me-scale-badge.goo { background: rgba(245,166,35,.2); color: #fbbf24; }
body.cb-metodikk .cb-me-scale-badge.acc { background: rgba(245,166,35,.15); color: #f5a623; }
body.cb-metodikk .cb-me-scale-badge.bad { background: rgba(231,76,60,.2); color: #f87171; }

body.cb-metodikk .cb-me-scale-text {
  font-size: 13px;
  color: #94a3b4;
  flex: 1;
}

/* ============================================================
   PRINCIPLES SECTION
   ============================================================ */
body.cb-metodikk .cb-me-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

body.cb-metodikk .cb-me-principle {
  background: var(--cb-bg);
  border-radius: 10px;
  padding: 20px;
}

body.cb-metodikk .cb-me-principle-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
}

body.cb-metodikk .cb-me-principle h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--cb-text);
  margin-bottom: 6px;
}

body.cb-metodikk .cb-me-principle p {
  font-size: 13px;
  color: var(--cb-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  body.cb-metodikk .cb-me-principles-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RED FLAGS
   ============================================================ */
body.cb-metodikk .cb-me-redflags {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--cb-card-radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}

body.cb-metodikk .cb-me-redflags h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--cb-red);
  margin-bottom: 8px;
}

body.cb-metodikk .cb-me-redflags > p {
  font-size: 14px;
  color: var(--cb-text-light);
  margin-bottom: 16px;
}

body.cb-metodikk .cb-me-redflag-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.cb-metodikk .cb-me-redflag-list li {
  font-size: 14px;
  color: var(--cb-text);
  padding: 10px 0;
  border-bottom: 1px solid #fecaca;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

body.cb-metodikk .cb-me-redflag-list li:last-child {
  border-bottom: none;
}

body.cb-metodikk .cb-me-redflag-list li .rf-icon {
  color: var(--cb-red);
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

body.cb-metodikk .cb-me-redflag-list li strong {
  color: var(--cb-red);
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
body.cb-metodikk .cb-me-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body.cb-metodikk .cb-me-team-member {
  text-align: center;
  background: var(--cb-bg);
  border-radius: 12px;
  padding: 24px 16px;
}

body.cb-metodikk .cb-me-team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #2a5a8f);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

body.cb-metodikk .cb-me-team-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--cb-text);
  margin-bottom: 2px;
}

body.cb-metodikk .cb-me-team-role {
  font-size: 12px;
  color: var(--cb-green);
  font-weight: 600;
  margin-bottom: 6px;
}

body.cb-metodikk .cb-me-team-exp {
  font-size: 11px;
  color: var(--cb-text-muted);
  line-height: 1.5;
}

@media (max-width: 700px) {
  body.cb-metodikk .cb-me-team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
body.cb-metodikk .cb-me-faq {
  margin-bottom: 20px;
}

body.cb-metodikk .cb-me-faq h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--cb-navy);
  margin-bottom: 16px;
}

body.cb-metodikk .cb-me-faq-item {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-card-border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

body.cb-metodikk .cb-me-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cb-text);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.cb-metodikk .cb-me-faq-q svg {
  flex-shrink: 0;
  transition: transform .2s;
  color: var(--cb-text-muted);
}

body.cb-metodikk .cb-me-faq-item.open .cb-me-faq-q svg {
  transform: rotate(180deg);
}

body.cb-metodikk .cb-me-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

body.cb-metodikk .cb-me-faq-item.open .cb-me-faq-a {
  max-height: 300px;
}

body.cb-metodikk .cb-me-faq-a-inner {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--cb-text-light);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
body.cb-metodikk .cb-footer {
  background: #0f1923;
  color: #8899a8;
  padding: 0;
  position: relative;
}

body.cb-metodikk .cb-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,172,132,.15), rgba(17,172,132,.3), rgba(17,172,132,.15), transparent);
}

body.cb-metodikk .cb-footer-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 16px 28px;
}

body.cb-metodikk .cb-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
}

body.cb-metodikk .cb-footer-brand {
  max-width: 280px;
}

body.cb-metodikk .cb-footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 10px;
  opacity: .85;
}

body.cb-metodikk .cb-footer-brand p {
  font-size: 12px;
  line-height: 1.6;
  color: #6b7d8d;
  margin-bottom: 12px;
}

body.cb-metodikk .cb-footer-brand .f-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #11ac84;
}

body.cb-metodikk .cb-footer-brand .f-trust svg {
  width: 14px;
  height: 14px;
}

body.cb-metodikk .cb-footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #5f7080;
  margin-bottom: 10px;
}

body.cb-metodikk .cb-footer-col a {
  display: block;
  font-size: 12px;
  color: #8899a8;
  padding: 3px 0;
  transition: color .15s;
  text-decoration: none;
}

body.cb-metodikk .cb-footer-col a:hover {
  color: #fff;
}

body.cb-metodikk .cb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px;
  text-align: center;
}

body.cb-metodikk .cb-footer-bottom p {
  font-size: 11px;
  color: #5f7080;
  line-height: 1.6;
}

body.cb-metodikk .cb-footer-bottom .f-rg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: #dc2626;
  font-weight: 600;
}

body.cb-metodikk .cb-footer-bottom .f-rg svg {
  width: 14px;
  height: 14px;
}

body.cb-metodikk .cb-footer-bottom .f-rg a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 700px) {
  body.cb-metodikk .cb-footer-grid { grid-template-columns: 1fr; }
}
