/* Motion Gallery Studio 1.0.3: readability only for the audited articles. */
/* The five existing BMW layouts remain in the article. Restore their text rules
   where the generic article stylesheet had a higher specificity. */

/* Existing BMW section 1 typography. */
#post-1259 .mgx-article-content .mg-bmw-compare__intro h2,
#post-1259 .mgx-article-content .mg-bmw-compare__summary h3,
#post-1259 .mgx-article-content .mg-bmw-compare__cta h3 { margin: 0 0 12px; color: var(--mg-light); line-height: 1.15; }
#post-1259 .mgx-article-content .mg-bmw-compare__intro h2 { font-size: clamp(30px, 4vw, 48px); }
#post-1259 .mgx-article-content .mg-bmw-compare__intro p { margin: 0; color: var(--mg-muted); font-size: 18px; line-height: 1.7; }
#post-1259 .mgx-article-content .mg-model-card__top h3 { margin: 0 0 5px; color: var(--mg-white); font-size: 26px; line-height: 1.2; }
#post-1259 .mgx-article-content .mg-model-card__body > p { margin: 0 0 20px; color: var(--mg-muted); line-height: 1.65; }
#post-1259 .mgx-article-content .mg-model-card__body h4 { margin: 0 0 10px; color: var(--mg-dark); font-size: 16px; }
#post-1259 .mgx-article-content .mg-model-card__body ul { margin: 0 0 22px; padding: 0; }
#post-1259 .mgx-article-content .mg-model-card__body li { margin-bottom: 9px; padding-left: 24px; line-height: 1.45; }
#post-1259 .mgx-article-content .mg-model-card__advice p { margin: 0; color: var(--mg-muted); font-size: 14px; line-height: 1.55; }
#post-1259 .mgx-article-content .mg-bmw-compare__summary h3 { font-size: 27px; }
#post-1259 .mgx-article-content .mg-bmw-compare__choices p { margin: 0; padding-bottom: 10px; line-height: 1.5; }
#post-1259 .mgx-article-content .mg-bmw-compare__cta h3 { color: var(--mg-white); font-size: 27px; }
#post-1259 .mgx-article-content .mg-bmw-compare__cta p { margin: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }

/* Existing BMW section 2 typography. */
#post-1259 .mgx-article-content .mg-phev-reliability__header h2 { margin: 0 0 17px; color: var(--mg-light); font-size: clamp(31px, 4vw, 48px); font-weight: 750; line-height: 1.12; letter-spacing: -0.028em; }
#post-1259 .mgx-article-content .mg-phev-reliability__header-copy > p { margin: 0; color: var(--mg-muted); font-size: 18px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-reliability__summary p { margin: 0; color: var(--mg-muted); font-size: 14px; line-height: 1.6; }
#post-1259 .mgx-article-content .mg-phev-reliability__hero h3 { margin: 0 0 18px; color: var(--mg-white); font-size: clamp(25px, 3vw, 36px); font-weight: 750; line-height: 1.2; letter-spacing: -0.02em; }
#post-1259 .mgx-article-content .mg-phev-reliability__hero p { margin: 0 0 15px; color: rgba(255, 255, 255, 0.76); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-reliability__hero p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-reliability__card h3 { margin: 0 0 13px; color: var(--mg-dark); font-size: 23px; font-weight: 750; line-height: 1.28; letter-spacing: -0.015em; }
#post-1259 .mgx-article-content .mg-phev-reliability__card p { margin: 0 0 15px; color: var(--mg-muted); font-size: 16px; line-height: 1.72; }
#post-1259 .mgx-article-content .mg-phev-reliability__card p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-reliability__note p { margin: 0; color: var(--mg-text); font-size: 14px; font-weight: 650; line-height: 1.55; }
#post-1259 .mgx-article-content .mg-phev-reliability__model-strip h3 { margin: 0 0 10px; color: var(--mg-dark); font-size: 26px; font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-reliability__model-strip > p { margin: 0 0 22px; color: var(--mg-muted); line-height: 1.7; }
#post-1259 .mgx-article-content .mg-phev-reliability__conclusion h3 { margin: 0 0 13px; color: var(--mg-white); font-size: clamp(24px, 3vw, 31px); font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-reliability__conclusion-copy p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-reliability__conclusion-point p { margin: 0; color: var(--mg-white); font-size: 14px; font-weight: 700; line-height: 1.45; }
@media (max-width: 520px) {
#post-1259 .mgx-article-content .mg-phev-reliability__header-copy > p { font-size: 17px; }
}

/* Existing BMW section 3 typography. */
#post-1259 .mgx-article-content .mg-phev-maintenance__hero h2 { margin: 0 0 18px; color: var(--mg-white); font-size: clamp(31px, 4vw, 48px); font-weight: 750; line-height: 1.12; letter-spacing: -0.03em; }
#post-1259 .mgx-article-content .mg-phev-maintenance__hero p { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 18px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-maintenance__intro p { margin: 0 0 16px; color: var(--mg-muted); font-size: 17px; line-height: 1.78; }
#post-1259 .mgx-article-content .mg-phev-maintenance__intro p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-maintenance__card h3 { margin: 0 0 13px; color: var(--mg-dark); font-size: 23px; font-weight: 750; line-height: 1.28; letter-spacing: -0.015em; }
#post-1259 .mgx-article-content .mg-phev-maintenance__card > p { margin: 0 0 16px; color: var(--mg-muted); font-size: 16px; line-height: 1.72; }
#post-1259 .mgx-article-content .mg-phev-maintenance__card > p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-maintenance__list li { margin: 0 0 11px; padding-left: 26px; color: var(--mg-text); line-height: 1.55; }
#post-1259 .mgx-article-content .mg-phev-maintenance__list li:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-maintenance__highlight h3 { margin: 0 0 13px; color: var(--mg-dark); font-size: clamp(25px, 3vw, 32px); font-weight: 750; line-height: 1.25; letter-spacing: -0.02em; }
#post-1259 .mgx-article-content .mg-phev-maintenance__highlight-copy > p { margin: 0 0 15px; color: var(--mg-muted); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-maintenance__highlight-copy > p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-maintenance__cost-box p { margin: 0; color: var(--mg-muted); font-size: 14px; line-height: 1.6; }
#post-1259 .mgx-article-content .mg-phev-maintenance__value h3 { margin: 0 0 14px; color: var(--mg-white); font-size: clamp(25px, 3vw, 32px); font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-maintenance__value p { margin: 0 0 15px; color: rgba(255, 255, 255, 0.74); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-maintenance__value p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-maintenance__advice h3 { margin: 0 0 13px; color: var(--mg-dark); font-size: clamp(24px, 3vw, 30px); font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-maintenance__advice p { margin: 0; color: var(--mg-muted); font-size: 16px; line-height: 1.75; }
@media (max-width: 650px) {
#post-1259 .mgx-article-content .mg-phev-maintenance__hero p { font-size: 17px; }
}

/* Existing BMW section 4 typography. */
#post-1259 .mgx-article-content .mg-phev-import__hero h2 { margin: 0 0 18px; color: var(--mg-white); font-size: clamp(31px, 4vw, 48px); font-weight: 750; line-height: 1.12; letter-spacing: -0.03em; }
#post-1259 .mgx-article-content .mg-phev-import__hero p { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 18px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-import__intro p { margin: 0 0 17px; color: var(--mg-muted); font-size: 17px; line-height: 1.78; }
#post-1259 .mgx-article-content .mg-phev-import__intro p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-import__step h3 { margin: 0 0 13px; color: var(--mg-dark); font-size: 23px; font-weight: 750; line-height: 1.28; letter-spacing: -0.015em; }
#post-1259 .mgx-article-content .mg-phev-import__step p { margin: 0 0 15px; color: var(--mg-muted); font-size: 16px; line-height: 1.72; }
#post-1259 .mgx-article-content .mg-phev-import__step p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-import__list li { margin: 0 0 11px; padding-left: 26px; color: var(--mg-text); line-height: 1.55; }
#post-1259 .mgx-article-content .mg-phev-import__list li:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-import__why h3 { margin: 0 0 14px; color: var(--mg-dark); font-size: clamp(26px, 3vw, 34px); font-weight: 750; line-height: 1.25; letter-spacing: -0.02em; }
#post-1259 .mgx-article-content .mg-phev-import__why p { margin: 0 0 15px; color: var(--mg-muted); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-import__why p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-import__benefit p { margin: 0; color: var(--mg-muted); font-size: 14px; line-height: 1.55; }
#post-1259 .mgx-article-content .mg-phev-import__costs h3 { margin: 0 0 14px; color: var(--mg-white); font-size: clamp(25px, 3vw, 32px); font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-import__costs p { margin: 0 0 15px; color: rgba(255, 255, 255, 0.74); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-import__costs p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-import__selection h3 { margin: 0 0 14px; color: var(--mg-dark); font-size: clamp(25px, 3vw, 32px); font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-import__selection p { margin: 0 0 15px; color: var(--mg-muted); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-import__selection p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-import__selection-box p { margin: 0; color: var(--mg-muted); font-size: 14px; line-height: 1.6; }
#post-1259 .mgx-article-content .mg-phev-import__advice h3 { margin: 0 0 13px; color: var(--mg-dark); font-size: clamp(25px, 3vw, 31px); font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-import__advice p { margin: 0; color: var(--mg-muted); font-size: 16px; line-height: 1.75; }
@media (max-width: 650px) {
#post-1259 .mgx-article-content .mg-phev-import__hero p { font-size: 17px; }
}

/* Existing BMW section 5 typography. */
#post-1259 .mgx-article-content .mg-phev-faq__header h2 { margin: 0 0 18px; color: var(--mg-white); font-size: clamp(31px, 4vw, 48px); font-weight: 750; line-height: 1.12; letter-spacing: -0.03em; }
#post-1259 .mgx-article-content .mg-phev-faq__header p { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 18px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-faq__intro p { margin: 0; color: var(--mg-muted); font-size: 17px; line-height: 1.78; }
#post-1259 .mgx-article-content .mg-phev-faq__answer p { margin: 0 0 15px; color: var(--mg-muted); font-size: 16px; line-height: 1.75; }
#post-1259 .mgx-article-content .mg-phev-faq__answer p:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-faq__answer ul { margin: 17px 0 0; padding: 0; }
#post-1259 .mgx-article-content .mg-phev-faq__answer li { margin: 0 0 10px; padding-left: 25px; color: var(--mg-text); font-size: 16px; line-height: 1.6; }
#post-1259 .mgx-article-content .mg-phev-faq__answer li:last-child { margin-bottom: 0; }
#post-1259 .mgx-article-content .mg-phev-faq__highlight h3 { margin: 0 0 13px; color: var(--mg-white); font-size: clamp(24px, 3vw, 31px); font-weight: 750; line-height: 1.25; }
#post-1259 .mgx-article-content .mg-phev-faq__highlight p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 16px; line-height: 1.75; }
@media (max-width: 650px) {
#post-1259 .mgx-article-content .mg-phev-faq__header p { font-size: 17px; }
}

/* Text outside the light cards sits directly on the dark page. */
#post-1259 .mgx-article-content .mg-bmw-compare__intro p,
#post-1259 .mgx-article-content .mg-phev-reliability__header-copy > p,
#post-1259 .mgx-article-content .mg-phev-maintenance__intro p,
#post-1259 .mgx-article-content .mg-phev-import__intro p,
#post-1259 .mgx-article-content .mg-phev-faq__intro p { color:#d6d2cb; }

/* This original combined rule also applied a light color to the light summary. */
#post-1259 .mgx-article-content .mg-bmw-compare__summary h3 { color:#17191c; }

/* Darker gold is reserved for labels and marks on light surfaces. */
#post-1259 .mgx-article-content .mg-bmw-compare__summary .mg-bmw-compare__eyebrow,
#post-1259 .mgx-article-content .mg-model-card__body li::before,
#post-1259 .mgx-article-content .mg-phev-reliability__card-number,
#post-1259 .mgx-article-content .mg-phev-reliability__note-icon,
#post-1259 .mgx-article-content .mg-phev-reliability__model-strip .mg-phev-reliability__eyebrow,
#post-1259 .mgx-article-content .mg-phev-maintenance__summary-item span,
#post-1259 .mgx-article-content .mg-phev-maintenance__card-number,
#post-1259 .mgx-article-content .mg-phev-maintenance__list li::before,
#post-1259 .mgx-article-content .mg-phev-maintenance__highlight .mg-phev-maintenance__eyebrow,
#post-1259 .mgx-article-content .mg-phev-maintenance__cost-box span,
#post-1259 .mgx-article-content .mg-phev-maintenance__advice .mg-phev-maintenance__eyebrow,
#post-1259 .mgx-article-content .mg-phev-maintenance__advice-point span,
#post-1259 .mgx-article-content .mg-phev-import__step-number,
#post-1259 .mgx-article-content .mg-phev-import__list li::before,
#post-1259 .mgx-article-content .mg-phev-import__why .mg-phev-import__eyebrow,
#post-1259 .mgx-article-content .mg-phev-import__benefit span,
#post-1259 .mgx-article-content .mg-phev-import__selection .mg-phev-import__eyebrow,
#post-1259 .mgx-article-content .mg-phev-import__selection-box span,
#post-1259 .mgx-article-content .mg-phev-import__advice .mg-phev-import__eyebrow,
#post-1259 .mgx-article-content .mg-phev-import__advice-point span,
#post-1259 .mgx-article-content .mg-phev-faq__number,
#post-1259 .mgx-article-content .mg-phev-faq__question::after,
#post-1259 .mgx-article-content .mg-phev-faq__answer li::before { color:#755c32; }

/* Only the two audited five-column tables get a wider, locally scrollable grid. */
:is(#post-215,#post-218) .mgx-article-content .wp-block-table {
  display:block; width:100%; max-width:100%; overflow-x:auto;
  overscroll-behavior-x:contain; scrollbar-color:#aaa6a0 #282725;
}
:is(#post-215,#post-218) .mgx-article-content .wp-block-table::before {
  content:"Schuif opzij voor alle kolommen."; display:block; position:sticky; left:0;
  width:fit-content; max-width:100%; padding-bottom:10px;
  color:#bcb8b1; font-size:12px; line-height:1.5;
}
:is(#post-215,#post-218) .mgx-article-content .wp-block-table > table {
  display:table; width:960px; min-width:960px; max-width:none;
  table-layout:fixed; margin-block:0;
}
:is(#post-215,#post-218) .mgx-article-content .wp-block-table :is(th,td) {
  box-sizing:border-box; overflow-wrap:normal; word-break:normal;
}
:is(#post-215,#post-218) .mgx-article-content .wp-block-table :is(th,td):nth-child(1) { width:54px; }
:is(#post-215,#post-218) .mgx-article-content .wp-block-table :is(th,td):nth-child(2) { width:210px; }
:is(#post-215,#post-218) .mgx-article-content .wp-block-table :is(th,td):nth-child(3) { width:170px; }
:is(#post-215,#post-218) .mgx-article-content .wp-block-table :is(th,td):nth-child(4) { width:340px; }
:is(#post-215,#post-218) .mgx-article-content .wp-block-table :is(th,td):nth-child(5) { width:186px; }
