/* BeeFixPro premium knowledge articles — v33 */
.knowledge-article {
  --ka-ink: #28231d;
  --ka-muted: #746d64;
  --ka-gold: #b87500;
  --ka-gold-bright: #ffb000;
  --ka-line: rgba(184, 117, 0, .22);
  --ka-paper: #fff;
  --ka-wash: #f4f4f1;
  color: var(--ka-ink);
  background:
    radial-gradient(circle at 2% 6%, rgba(255, 188, 51, .08), transparent 22rem),
    linear-gradient(180deg, #f7f7f4 0%, #fff 34%, #f4f4f1 100%);
  overflow: hidden;
}

.knowledge-article *,
.knowledge-article *::before,
.knowledge-article *::after { box-sizing: border-box; }

.ka-shell { width: min(1320px, calc(100% - 56px)); margin-inline: auto; }

.ka-hero { padding: 34px 0 28px; }
.ka-hero-frame {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(37, 32, 27, .1);
  border-radius: 38px;
  background: #d8d7d2;
  box-shadow: 0 28px 70px rgba(38, 33, 27, .13);
  isolation: isolate;
}
.ka-hero-media { position: absolute; inset: 0; }
.ka-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ka-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 22, 18, .68) 0%, rgba(25, 22, 18, .28) 48%, rgba(25, 22, 18, .03) 78%);
}
.ka-hero-card {
  position: relative;
  z-index: 2;
  width: min(670px, calc(100% - 64px));
  margin: 42px;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.76));
  backdrop-filter: blur(17px) saturate(115%);
  box-shadow: 0 20px 58px rgba(20, 18, 15, .18);
}
.ka-kicker { display: flex; align-items: center; gap: 12px; color: #925c00; font-size: 13px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.ka-kicker::before { content: ""; width: 38px; height: 2px; background: linear-gradient(90deg, #ffa800, #e8c986); }
.ka-hero h1 { margin: 20px 0 20px; max-width: 12ch; font-size: clamp(48px, 6vw, 82px); line-height: .94; letter-spacing: -.055em; }
.ka-hero h1 span { display: block; color: var(--ka-gold); }
.ka-lead { max-width: 62ch; margin: 0; color: #615b53; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.62; }
.ka-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ka-btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 23px; border: 1px solid rgba(184,117,0,.25); border-radius: 16px; color: var(--ka-ink); background: rgba(255,255,255,.88); box-shadow: 0 10px 24px rgba(52,43,30,.08); font-weight: 900; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.ka-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(52,43,30,.13); }
.ka-btn-primary { background: linear-gradient(135deg, #ffc84d, #ffa400); border-color: #eea000; }
.ka-hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.ka-proof { min-height: 65px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(184,117,0,.17); border-radius: 15px; background: rgba(255,255,255,.67); color: #60594f; font-size: 13px; font-weight: 800; }
.ka-proof i { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #9b6200; background: #fff3d3; }

.ka-overview { padding: 30px 0 18px; }
.ka-overview-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr); gap: 26px; align-items: stretch; }
.ka-summary,
.ka-toc { border: 1px solid rgba(38,33,27,.09); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 18px 48px rgba(41,36,29,.07); }
.ka-summary { padding: clamp(26px, 3.5vw, 44px); }
.ka-summary h2 { margin: 0 0 15px; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
.ka-summary p { margin: 0; color: var(--ka-muted); font-size: 17px; line-height: 1.75; }
.ka-toc { padding: 27px; background: linear-gradient(145deg, #fff, #faf7ef); }
.ka-toc-label { color: #9b6200; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.ka-toc ol { display: grid; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.ka-toc li { counter-increment: toc; }
.ka-toc a { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 12px; color: var(--ka-ink); text-decoration: none; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.ka-toc a::before { content: counter(toc, decimal-leading-zero); color: #b47300; font-size: 11px; letter-spacing: .08em; }
.ka-toc a:hover { background: #fff2ce; transform: translateX(3px); }

.ka-stats { padding: 12px 0 42px; }
.ka-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ka-stat { position: relative; min-height: 142px; padding: 24px; overflow: hidden; border: 1px solid rgba(38,33,27,.09); border-radius: 22px; background: #fff; box-shadow: 0 14px 36px rgba(41,36,29,.07); }
.ka-stat::after { content: ""; position: absolute; right: -30px; bottom: -55px; width: 110px; height: 110px; border: 1px solid var(--ka-line); border-radius: 50%; }
.ka-stat strong { display: block; color: #a56800; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.ka-stat span { display: block; margin-top: 11px; color: #6e675e; line-height: 1.45; font-weight: 750; }

.ka-body { padding-bottom: 44px; }
.ka-content { display: grid; gap: 28px; }
.ka-section { scroll-margin-top: 125px; padding: clamp(28px, 4vw, 54px); border: 1px solid rgba(38,33,27,.09); border-radius: 30px; background: rgba(255,255,255,.94); box-shadow: 0 18px 48px rgba(41,36,29,.07); }
.ka-section:nth-child(even) { background: linear-gradient(145deg, #fff, #f9f8f3); }
.ka-section-head { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 24px; }
.ka-section-index { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(184,117,0,.25); border-radius: 18px; color: #9b6200; background: #fff4d6; font-weight: 900; }
.ka-section h2 { margin: 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.04; letter-spacing: -.038em; }
.ka-section h3 { margin: 30px 0 12px; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; }
.ka-section p { color: #655f57; font-size: 17px; line-height: 1.78; }
.ka-section p:first-of-type { margin-top: 0; }
.ka-section p:last-child { margin-bottom: 0; }
.ka-section a { color: #a56800; font-weight: 850; }
.ka-section ul,
.ka-section ol { margin: 18px 0; padding-left: 22px; color: #5f5951; font-size: 17px; line-height: 1.72; }
.ka-section li + li { margin-top: 8px; }
.ka-section li::marker { color: #d18a00; font-weight: 900; }

.ka-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.ka-card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ka-info-card { min-height: 190px; padding: 23px; border: 1px solid rgba(38,33,27,.09); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(41,36,29,.06); }
.ka-info-card .ka-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; color: #9b6200; background: #fff1c9; }
.ka-info-card h3 { margin: 0 0 9px; font-size: 21px; }
.ka-info-card p { margin: 0; font-size: 15px; line-height: 1.65; }

.ka-note { position: relative; margin: 25px 0 0; padding: 24px 25px 24px 28px; overflow: hidden; border: 1px solid rgba(184,117,0,.22); border-radius: 18px; background: linear-gradient(110deg, #fff8e6, #fff); }
.ka-note::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(#ffbc2c, #a86500); }
.ka-note strong { color: #875500; }
.ka-note p { margin: 0; }
.ka-note.warning { border-color: rgba(172,77,17,.22); background: linear-gradient(110deg, #fff3e5, #fff); }

.ka-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid rgba(38,33,27,.1); border-radius: 19px; background: #fff; }
.ka-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.ka-table th { padding: 17px 19px; color: #754900; background: #fff2cd; font-size: 12px; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
.ka-table td { padding: 16px 19px; border-top: 1px solid rgba(38,33,27,.08); color: #615b53; line-height: 1.5; }
.ka-table td:last-child { color: #9b6200; font-weight: 900; }

.ka-step-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 24px; counter-reset: steps; }
.ka-step { min-height: 124px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 15px; align-items: start; padding: 20px; border: 1px solid rgba(38,33,27,.09); border-radius: 18px; background: #fff; counter-increment: steps; }
.ka-step::before { content: counter(steps, decimal-leading-zero); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #9b6200; background: #fff2cd; font-size: 12px; font-weight: 900; }
.ka-step h3 { margin: 3px 0 6px; font-size: 19px; }
.ka-step p { margin: 0; font-size: 15px; line-height: 1.55; }

.ka-quote { margin: 25px 0 0; padding: 28px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #332b21, #5b4526); box-shadow: 0 16px 38px rgba(35,28,20,.16); }
.ka-quote p { margin: 0; color: #fff; font-size: 20px; line-height: 1.55; }
.ka-quote cite { display: block; margin-top: 15px; color: #ffd77b; font-style: normal; font-weight: 850; }

.ka-faq { display: grid; gap: 10px; margin-top: 24px; }
.ka-faq details { overflow: hidden; border: 1px solid rgba(38,33,27,.1); border-radius: 16px; background: #fff; }
.ka-faq summary { position: relative; padding: 20px 56px 20px 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 850; }
.ka-faq summary::-webkit-details-marker { display: none; }
.ka-faq summary::after { content: "+"; position: absolute; right: 17px; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; color: #9b6200; background: #fff1c9; }
.ka-faq details[open] summary::after { content: "−"; }
.ka-faq details p { margin: 0; padding: 0 20px 21px; }

.ka-related { padding: 10px 0 62px; }
.ka-related-panel { padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(38,33,27,.1); border-radius: 30px; background: linear-gradient(135deg, #302920, #594524); box-shadow: 0 20px 52px rgba(41,34,25,.17); }
.ka-related-panel h2 { margin: 0; color: #fff; font-size: clamp(29px, 3vw, 43px); }
.ka-related-panel > p { color: #dcd4c7; font-size: 17px; }
.ka-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.ka-related-card { min-height: 145px; display: flex; flex-direction: column; justify-content: space-between; padding: 21px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; color: #fff; background: rgba(255,255,255,.07); text-decoration: none; transition: transform .22s ease, background .22s ease; }
.ka-related-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.ka-related-card span { color: #ffd475; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ka-related-card strong { display: block; margin-top: 12px; font-size: 20px; line-height: 1.25; }

.ka-cta { padding: 0 0 80px; }
.ka-cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 52px); overflow: hidden; border: 1px solid rgba(184,117,0,.24); border-radius: 30px; background:
  radial-gradient(circle at 92% 5%, rgba(255,183,24,.24), transparent 17rem),
  linear-gradient(135deg, #fffaf0, #fff);
  box-shadow: 0 18px 48px rgba(41,36,29,.08);
}
.ka-cta h2 { margin: 0; font-size: clamp(30px, 3.7vw, 50px); line-height: 1.05; }
.ka-cta p { margin: 12px 0 0; color: var(--ka-muted); font-size: 17px; }
.ka-cta-actions { display: flex; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .ka-hero-frame { animation: ka-rise .75s ease both; }
  .ka-stat { animation: ka-rise .55s ease both; }
  @keyframes ka-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1050px) {
  .ka-hero-frame { min-height: 650px; }
  .ka-hero-card { width: min(620px, calc(100% - 52px)); margin: 26px; }
  .ka-overview-grid { grid-template-columns: 1fr; }
  .ka-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ka-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ka-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .ka-shell { width: min(100% - 28px, 1320px); }
  .ka-hero { padding: 16px 0 20px; }
  .ka-hero-frame { min-height: 0; display: flex; flex-direction: column; border-radius: 25px; }
  .ka-hero-media { position: relative; height: min(68vw, 330px); }
  .ka-hero-media::after { background: linear-gradient(180deg, transparent 58%, rgba(25,22,18,.2)); }
  .ka-hero-card { width: auto; margin: 0; padding: 27px 21px 25px; border: 0; border-radius: 0; background: linear-gradient(180deg, rgba(255,255,255,.88), #fff 22%); box-shadow: none; backdrop-filter: none; }
  .ka-hero h1 { margin-top: 16px; font-size: clamp(42px, 13vw, 61px); }
  .ka-lead { font-size: 16px; }
  .ka-hero-actions { display: grid; grid-template-columns: 1fr; }
  .ka-btn { width: 100%; }
  .ka-hero-proof { grid-template-columns: 1fr; }
  .ka-proof { min-height: 54px; }
  .ka-overview { padding-top: 18px; }
  .ka-summary, .ka-toc { border-radius: 22px; }
  .ka-stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .ka-stat { min-height: 120px; padding: 18px; border-radius: 18px; }
  .ka-stat strong { font-size: 29px; }
  .ka-stat span { font-size: 13px; }
  .ka-section { padding: 25px 18px; border-radius: 22px; }
  .ka-section-head { grid-template-columns: 45px minmax(0, 1fr); gap: 12px; }
  .ka-section-index { width: 45px; height: 45px; border-radius: 14px; }
  .ka-section h2 { font-size: 30px; }
  .ka-section p, .ka-section ul, .ka-section ol { font-size: 16px; }
  .ka-card-grid, .ka-card-grid.two, .ka-step-grid { grid-template-columns: 1fr; }
  .ka-info-card { min-height: 0; }
  .ka-table { min-width: 590px; }
  .ka-cta-panel { grid-template-columns: 1fr; }
  .ka-cta-actions { display: grid; grid-template-columns: 1fr; }
  .ka-related-panel { border-radius: 23px; }
}

@media (max-width: 420px) {
  .ka-stat-grid { grid-template-columns: 1fr; }
  .ka-hero-proof { display: none; }
}
