/* LG linear compressor article — premium BeeFixPro system v48 */
.lg-compressor-guide {
  --lg-ink: #29251f;
  --lg-copy: #68635c;
  --lg-gold: #a86900;
  --lg-gold-soft: #f0b32d;
  --lg-line: #e3ded5;
  --lg-paper: #fffefb;
  --lg-mist: #f4f6f4;
  --lg-warm: #fff8e8;
  color: var(--lg-ink);
}

.lg-compressor-guide .ka-shell { width: min(1380px, calc(100% - 40px)); }
.lg-compressor-guide .ka-hero-card { align-content: center; }
.lg-compressor-guide .ka-hero h1 .samsung-title-main { max-width: 12ch; }
.lg-compressor-guide .ka-hero h1 .samsung-title-sub { max-width: 19ch; }
.lg-compressor-guide .ka-hero-media img { object-position: 58% center; }
.lg-compressor-guide .ka-lead { max-width: 670px; }

.lg-topic-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.lg-topic-tags span {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid #ded8ce;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #635e56;
  font-family: "Barlow", sans-serif;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}

.lg-summary-lead { color: #605b54; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.72; }
.lg-compressor-guide .ka-toc ol { counter-reset: lg-toc; }

.lg-origin-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(230px,.65fr); gap: 22px; align-items: stretch; }
.lg-origin-grid > div:first-child { padding: 3px 0; }
.lg-origin-grid > div:first-child p { margin: 0 0 17px; }
.lg-mechanism-visual {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: center;
  padding: 27px;
  border: 1px solid #ded9cf;
  border-radius: 21px;
  background: linear-gradient(145deg, #f3f5f3, #fffdf8);
}
.lg-mechanism-visual > i { width: 49px; height: 49px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; background: #fff0c6; color: #9a6100; font-size: 19px; }
.lg-mechanism-visual span { color: #9a650c; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.lg-mechanism-visual strong { display: block; margin-top: 5px; color: #2a2722; font-size: 24px; font-weight: 620; }
.lg-mechanism-visual p { margin: 9px 0 0; color: #706a62; font-size: 13px; line-height: 1.6; }
.lg-repeat-warning { margin-top: 4px; }

.lg-history-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.lg-history-grid article {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--lg-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(39,35,30,.045);
}
.lg-history-grid article::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg,#f1b52e,#ad6d00); }
.lg-history-grid span,
.lg-warranty-grid article > div > span { color: #9d6507; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lg-history-grid h3 { margin: 8px 0 10px; color: #2b2823; font-size: clamp(18px,1.45vw,22px); font-weight: 680; line-height: 1.25; }
.lg-history-grid p { margin: 0 0 10px; color: #6b665f; font-size: 13px; line-height: 1.68; }

.lg-symptom-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.lg-symptom-grid article,
.lg-warranty-grid article {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 15px;
  align-items: start;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--lg-line);
  border-radius: 18px;
  background: #fff;
}
.lg-symptom-grid article > i,
.lg-warranty-grid article > i,
.lg-class-note > i,
.lg-coverage-line > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff1ca;
  color: #9c6200;
  font-size: 16px;
  line-height: 1;
}
.lg-symptom-grid h3,
.lg-warranty-grid h3 { margin: 1px 0 6px; color: #2d2923; font-size: 17px; font-weight: 700; line-height: 1.3; }
.lg-symptom-grid p,
.lg-warranty-grid p { margin: 0; color: #6a655e; font-size: 13px; line-height: 1.65; }

.lg-code-panel { margin-top: 16px; padding: 22px 24px; border: 1px solid #dedad2; border-radius: 19px; background: #f5f7f5; }
.lg-code-head { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 14px; align-items: center; }
.lg-code-head > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #fff1ca; color: #9c6200; }
.lg-code-head span { color: #9a6204; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.lg-code-head h3 { margin: 3px 0 0; color: #2b2823; font-size: 21px; font-weight: 650; }
.lg-code-panel > p { margin: 16px 0 10px; color: #666159; font-size: 14px; }
.lg-code-panel ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.lg-code-panel li { min-width: 0; padding: 12px 13px; border: 1px solid #e3ded4; border-radius: 13px; background: #fff; color: #625d56; font-size: 12px; line-height: 1.5; }

.lg-compressor-guide .ka-table { width: 100%; table-layout: fixed; }
.lg-compressor-guide .ka-table th,
.lg-compressor-guide .ka-table td { vertical-align: middle; }
.lg-cost-table th:first-child { width: 68%; }
.lg-cost-table th:last-child { width: 32%; }
.lg-decision-table th:nth-child(1) { width: 18%; }
.lg-decision-table th:nth-child(2) { width: 28%; }
.lg-decision-table th:nth-child(3) { width: 54%; }

.lg-article-photo { width: min(100%, 820px); margin: 24px auto; overflow: hidden; border: 1px solid #ddd8ce; border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(35,31,26,.09); }
.lg-article-photo--portrait { width: min(100%, 570px); }
.lg-article-photo img { display: block; width: 100%; height: auto; }
.lg-article-photo figcaption { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; align-items: center; padding: 15px 17px; background: #f5f7f5; color: #6b665e; font-size: 12px; line-height: 1.5; }
.lg-article-photo figcaption i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #fff0c6; color: #986000; }
.lg-warranty-math { margin-top: 20px; }
.lg-coverage-line,
.lg-class-note { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 15px; align-items: start; margin-top: 16px; padding: 19px 21px; border: 1px solid #dedad2; border-radius: 17px; background: #f5f7f5; }
.lg-coverage-line p,
.lg-class-note p { margin: 0; color: #68635c; font-size: 14px; line-height: 1.68; }

.lg-diagnostic-list { display: grid; gap: 12px; margin-top: 20px; }
.lg-diagnostic-list article,
.lg-action-list li {
  display: grid;
  grid-template-columns: 45px minmax(0,1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--lg-line);
  border-radius: 17px;
  background: #fff;
}
.lg-diagnostic-list article > span,
.lg-action-list li > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff1c9; color: #966000; font-size: 10px; font-weight: 900; }
.lg-diagnostic-list h3,
.lg-action-list h3 { margin: 0 0 5px; color: #2d2923; font-size: 17px; font-weight: 700; line-height: 1.32; }
.lg-diagnostic-list p,
.lg-action-list p { margin: 0; color: #69645d; font-size: 14px; line-height: 1.68; }
.lg-diagnostic-list + .dryer-diagnostic-cta { margin-top: 20px; }

.lg-warranty-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.lg-warranty-grid article { grid-template-columns: 44px minmax(0,1fr); }
.lg-action-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }

.lg-bottom-line { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.lg-bottom-line > p { margin: 0; padding: 21px; border: 1px solid #e2ddd4; border-radius: 17px; background: #f6f7f5; color: #666159; font-size: 14px; line-height: 1.72; }
.lg-bottom-line blockquote { grid-column: 1 / -1; margin: 0; padding: 22px 24px; border: 1px solid #e5c27a; border-left: 4px solid #dc930e; border-radius: 17px; background: #fff9ea; color: #3a3329; font-size: clamp(17px,1.5vw,21px); font-weight: 650; line-height: 1.48; }

.lg-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
.lg-page-cta .samsung-page-cta__media img { object-position: 61% center; }

@media (max-width: 1100px) {
  .lg-compressor-guide .ka-shell { width: min(100% - 30px, 980px); }
  .lg-history-grid,
  .lg-warranty-grid { grid-template-columns: 1fr; }
  .lg-history-grid article,
  .lg-warranty-grid article { min-height: 0; }
}

@media (max-width: 820px) {
  .lg-origin-grid,
  .lg-symptom-grid,
  .lg-bottom-line { grid-template-columns: 1fr; }
  .lg-code-panel ul { grid-template-columns: 1fr; }
  .lg-bottom-line blockquote { grid-column: auto; }
  .lg-related-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 575px) {
  .lg-compressor-guide .ka-shell { width: min(100% - 22px, 520px); }
  .lg-compressor-guide .ka-hero h1 .samsung-title-main { max-width: none; font-size: clamp(28px,8vw,34px); }
  .lg-compressor-guide .ka-hero h1 .samsung-title-sub { max-width: none; font-size: clamp(18px,5.4vw,22px); }
  .lg-compressor-guide .ka-hero-media img { object-position: 63% center; }
  .lg-topic-tags { gap: 5px; margin-top: 14px; }
  .lg-topic-tags span { min-height: 27px; padding: 5px 9px; font-size: 9px; }
  .lg-mechanism-visual { min-height: 0; padding: 20px; }
  .lg-history-grid article { padding: 20px 17px; }
  .lg-symptom-grid article,
  .lg-warranty-grid article { grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 17px 15px; }
  .lg-symptom-grid article > i,
  .lg-warranty-grid article > i,
  .lg-class-note > i,
  .lg-coverage-line > i { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
  .lg-code-panel { padding: 18px 15px; }
  .lg-code-head { grid-template-columns: 40px minmax(0,1fr); gap: 11px; }
  .lg-code-head > i { width: 38px; height: 38px; }
  .lg-code-head h3 { font-size: 18px; }
  .lg-article-photo { margin: 19px auto; border-radius: 18px; }
  .lg-coverage-line,
  .lg-class-note { grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 16px 14px; }
  .lg-diagnostic-list article,
  .lg-action-list li { grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 16px 14px; }
  .lg-diagnostic-list article > span,
  .lg-action-list li > span { width: 36px; height: 36px; }
  .lg-diagnostic-list p,
  .lg-action-list p { font-size: 13px; line-height: 1.65; }
  .lg-bottom-line > p { padding: 17px; font-size: 13px; }

  .lg-compressor-guide .ka-table-wrap { overflow: visible; border: 0; background: transparent; }
  .lg-compressor-guide .ka-table,
  .lg-compressor-guide .ka-table tbody,
  .lg-compressor-guide .ka-table tr,
  .lg-compressor-guide .ka-table td { display: block; width: 100%; }
  .lg-compressor-guide .ka-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lg-compressor-guide .ka-table tbody { display: grid; gap: 10px; }
  .lg-compressor-guide .ka-table tr { overflow: hidden; border: 1px solid #e1ddd5; border-radius: 15px; background: #fff; box-shadow: 0 9px 24px rgba(42,37,30,.04); }
  .lg-compressor-guide .ka-table td { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 10px; align-items: start; padding: 11px 13px; border: 0; border-bottom: 1px solid #efebe4; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
  .lg-compressor-guide .ka-table td:last-child { border-bottom: 0; }
  .lg-compressor-guide .ka-table td::before { color: #966000; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
  .lg-cost-table td:nth-child(1)::before { content: "Component"; }
  .lg-cost-table td:nth-child(2)::before { content: "Cost range"; }
  .lg-decision-table td:nth-child(1)::before { content: "Fridge age"; }
  .lg-decision-table td:nth-child(2)::before { content: "Situation"; }
  .lg-decision-table td:nth-child(3)::before { content: "Recommendation"; }
}

@media (max-width: 390px) {
  .lg-compressor-guide .ka-table td { grid-template-columns: 88px minmax(0,1fr); }
}

