/* AV Insights > Learn: a classroom whiteboard in a wooden frame, text written with markers */
.av-card.av-lb{display:block!important;grid-column:1/-1;width:100%;max-width:1120px;margin:0 auto;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
.av-lb .lb-frame{position:relative;border-radius:10px;padding:16px;background:linear-gradient(135deg,#a86f3a,#7a4a22 45%,#965f2e 70%,#6b3f1b);box-shadow:0 22px 34px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.25),inset 0 -2px 3px rgba(0,0,0,.4)}
.av-lb .lb-board{position:relative;box-sizing:border-box;min-height:400px;padding:34px 44px 28px;border-radius:4px;color:#10213f;overflow:hidden;
  background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.9) 44%,rgba(255,255,255,0) 58%),linear-gradient(180deg,#f7f9fb,#eef2f6);
  box-shadow:inset 0 0 40px rgba(60,80,110,.18),inset 0 0 0 2px rgba(120,135,155,.45)}
.av-lb .lb-board::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.6;background:radial-gradient(30% 10% at 25% 82%,rgba(120,130,150,.09),rgba(255,255,255,0)),radial-gradient(25% 8% at 75% 35%,rgba(120,130,150,.07),rgba(255,255,255,0))}
.av-lb .lb-tray{height:12px;margin:0 -4px;border-radius:0 0 4px 4px;background:linear-gradient(#8b5a2b,#5a3416);box-shadow:0 3px 6px rgba(0,0,0,.4)}
.av-lb .lb-chalks{position:absolute;right:40px;bottom:15px;display:flex;gap:7px;pointer-events:none}
.av-lb .lb-chalks i{display:block;width:34px;height:9px;border-radius:4px;background:linear-gradient(90deg,#d8dde4 0 22%,#d8222a 22%);box-shadow:0 1px 2px rgba(0,0,0,.45)}
.av-lb .lb-chalks i:nth-child(2){background:linear-gradient(90deg,#d8dde4 0 22%,#1553d6 22%)}
.av-lb .lb-chalks i:nth-child(3){background:linear-gradient(90deg,#d8dde4 0 22%,#0e7a3c 22%)}
.av-lb .lb-text{position:relative}
html body #news .av-card.av-lb .lb-board,html body #news .av-card.av-lb .lb-board *{font-family:"Caveat","Kalam","Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;-webkit-text-fill-color:currentColor}
html body #news .av-card.av-lb .lb-kicker{margin:0 0 4px;font-size:clamp(26px,2.8vw,32px);font-weight:700;color:#1553d6;display:flex;justify-content:space-between;gap:12px}
html body #news .av-card.av-lb .lb-date{color:#0e7a3c;font-size:clamp(22px,2.5vw,28px);text-align:right}
html body #news .av-card.av-lb .lb-title{margin:6px 0 4px;font-family:"Permanent Marker","Caveat",cursive!important;font-size:clamp(34px,5.4vw,66px);font-weight:400;line-height:1.08;color:#10213f;background:none!important}
html body #news .av-card.av-lb .lb-title *{font-family:"Permanent Marker","Caveat",cursive!important}
.av-lb .lb-line{height:7px;margin:4px 0 18px;width:0;border-radius:7px;background:#d8222a;transform:rotate(-.7deg);transition:width 1.1s ease-out}
.av-lb .lb-line.on{width:62%}
html body #news .av-card.av-lb .lb-body{margin:0;font-size:clamp(30px,3.8vw,46px);font-weight:700;line-height:1.2;color:#1553d6}
.av-lb .lb-ch{opacity:0}
.av-lb .lb-ch.on{opacity:1;animation:lbInk .2s ease-out}
@keyframes lbInk{from{opacity:0}to{opacity:1}}
.av-lb .lb-pen{position:absolute;width:9px;height:16px;border-radius:2px 2px 5px 5px;background:#1553d6;box-shadow:0 2px 4px rgba(0,0,0,.35);transform:rotate(28deg);opacity:0;pointer-events:none;transition:opacity .2s,left .06s linear,top .06s linear}
.av-lb .lb-pen.on{opacity:1}
.av-lb .lb-foot{margin-top:20px;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px}
html body #news .av-card.av-lb .lb-link{color:#0e7a3c!important;font-size:clamp(24px,2.5vw,28px);font-weight:700;text-decoration:underline;text-underline-offset:5px;min-height:44px;display:inline-flex;align-items:center}
html body #news .av-card.av-lb .lb-pg{color:#5b6b85;font-size:24px}
/* v389: signature at the bottom of every board: web address + the three words */
.av-lb .lb-foot{flex-wrap:wrap}
.av-lb .lb-sig{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0 auto;text-align:center}
html body #news .av-card.av-lb .lb-sig b{color:#1553d6;font-size:clamp(22px,2.3vw,26px);font-weight:700}
html body #news .av-card.av-lb .lb-sig i{font-family:"Permanent Marker","Caveat",cursive!important;font-style:normal;color:#10213f;font-size:clamp(14px,1.5vw,18px);letter-spacing:.06em}
@media (max-width:700px){
  .av-lb .lb-frame{padding:8px;border-radius:7px}
  .av-lb .lb-board{padding:20px 16px 20px;min-height:350px}
  .av-lb .lb-chalks{right:16px;bottom:11px;gap:5px}.av-lb .lb-chalks i{width:26px;height:7px}
  .av-lb .lb-line.on{width:78%}
  html body #news .av-card.av-lb .lb-title{font-size:clamp(30px,9vw,40px)}
  html body #news .av-card.av-lb .lb-body{font-size:clamp(26px,7.4vw,32px)}
  html body #news .av-card.av-lb .lb-kicker{font-size:24px}html body #news .av-card.av-lb .lb-date{font-size:21px}
}
@media (prefers-reduced-motion:reduce){.av-lb .lb-ch.on{animation:none}.av-lb .lb-line{transition:none}}

/* v390: web address + three words in the wooden frame, X buttons next to them, chalks on the same bar */
.av-lb .lb-frame{padding-bottom:66px}
.av-lb .lb-tray{margin-bottom:0}
.av-lb .lb-woodbar{position:absolute;left:16px;right:16px;bottom:9px;min-height:46px;display:flex;align-items:center;gap:12px}
.av-lb .lb-acts{display:flex;gap:8px;flex:0 0 auto}
.av-lb .lb-x{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border-radius:50%;border:1.5px solid #f3dfbd;background:rgba(40,20,5,.3);color:#f3dfbd;cursor:pointer;transition:background .2s,transform .2s;-webkit-tap-highlight-color:transparent}
.av-lb .lb-x svg{width:16px;height:16px;fill:#f3dfbd;transition:fill .2s}
.av-lb .lb-x:hover,.av-lb .lb-x:focus-visible{background:#f3dfbd;transform:scale(1.06)}
.av-lb .lb-x:hover svg,.av-lb .lb-x:focus-visible svg{fill:#5a3416}
.av-lb .lb-x:focus-visible{outline:2px solid #fff;outline-offset:2px}
.av-lb .lb-woodbar .lb-sig{flex:1;min-width:0;margin:0;display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center}
html body #news .av-card.av-lb .lb-woodbar .lb-sig b{color:#f6e7cc;font-size:clamp(19px,2.1vw,24px);font-weight:700;text-shadow:0 1px 1px rgba(40,20,5,.55)}
html body #news .av-card.av-lb .lb-woodbar .lb-sig i{font-family:"Permanent Marker","Caveat",cursive!important;font-style:normal;color:#fff3dc;font-size:clamp(12px,1.35vw,15px);letter-spacing:.08em;text-shadow:0 1px 1px rgba(40,20,5,.55)}
.av-lb .lb-woodbar .lb-chalks{position:static;flex:0 0 auto}
html body .lb-pv{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000;background:rgba(5,12,32,.8);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
html body .lb-pv-card{background:#fff;color:#0b1a3a;border-radius:18px;padding:18px;max-width:640px;width:100%;box-shadow:0 24px 60px rgba(0,0,0,.5);font:500 15px/1.45 Lato,Arial,sans-serif}
html body .lb-pv-card strong{display:block;font:900 18px Lato,Arial,sans-serif;margin-bottom:8px}
html body .lb-pv-st{margin:8px 0;color:#52627f}
html body .lb-pv-img{display:block;width:100%;height:auto;max-height:56vh;object-fit:contain;border-radius:12px;border:1px solid #c9d8f0;background:#f3f7ff}
html body .lb-pv-tx{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#f3f7ff;border:1px solid #dbe6fb;white-space:pre-wrap;word-break:break-word;font:500 13.5px/1.4 Lato,Arial,sans-serif;max-height:20vh;overflow:auto}
html body .lb-pv-row{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
html body .lb-pv-post,html body .lb-pv-close{min-height:44px;padding:0 20px;border-radius:999px;font:900 15px Lato,Arial,sans-serif;cursor:pointer}
html body .lb-pv-post{border:0;color:#fff;background:linear-gradient(180deg,#3b86ff,#0057e0 55%,#06266b);box-shadow:0 6px 14px rgba(0,87,224,.4)}
html body .lb-pv-post:disabled{opacity:.5;cursor:wait}
html body .lb-pv-close{border:1.5px solid #0057e0;background:#fff;color:#0057e0}
@media (max-width:600px){
  .av-lb .lb-frame{padding-bottom:92px}
  .av-lb .lb-woodbar{flex-wrap:wrap;justify-content:space-between;row-gap:4px;left:10px;right:10px;bottom:8px}
  .av-lb .lb-woodbar .lb-sig{order:-1;flex:1 0 100%}
  .av-lb .lb-x{width:36px;height:36px}
}

/* v393: on the site board the wooden bar only carries the EQ mark; the web address and the three words live in the shared image */
.av-lb .lb-woodbar .lb-sig svg{display:block;height:34px;width:auto;fill:#f6e7cc;filter:drop-shadow(0 1px 1px rgba(40,20,5,.6))}
.av-lb .lb-eqc{transform-box:fill-box;transform-origin:50% 100%;animation:lbEqPulse 1.8s ease-in-out infinite}
@keyframes lbEqPulse{0%,100%{transform:scaleY(.72);opacity:.8}50%{transform:scaleY(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.av-lb .lb-eqc{animation:none}}
html.ks-a11y-still .av-lb .lb-eqc{animation:none}
@media (max-width:600px){.av-lb .lb-woodbar .lb-sig{order:0;flex:1 1 auto}.av-lb .lb-frame{padding-bottom:56px}.av-lb .lb-woodbar{flex-wrap:nowrap}.av-lb .lb-woodbar .lb-sig svg{height:28px}}

.av-lb-wrap{display:block}
.lb-series{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;grid-column:1/-1}
html body .lb-series-btn{min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid #f3dfbd;background:rgba(40,20,5,.35);color:#f3dfbd;font:900 15px Lato,Arial,sans-serif;cursor:pointer}
html body .lb-series-btn[aria-pressed="true"]{background:#f3dfbd;color:#5a3416}
html body .lb-series-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
html body .av-lb .lb-more{min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid #0e7a3c;background:#fff;color:#0e7a3c;font:900 16px Lato,Arial,sans-serif;cursor:pointer}
html body .av-lb .lb-more:focus-visible{outline:2px solid #0057e0;outline-offset:2px}
html body .lb-more-card{max-width:760px;max-height:92vh;overflow:auto}
html body .lb-more-ul{margin:12px 0 0;padding-left:20px}
html body .lb-more-ul li{margin:4px 0}
html body .lb-more-tx{margin:12px 0 0;padding:12px 14px;border-radius:12px;background:#f3f7ff;border:1px solid #dbe6fb;font:500 15.5px/1.55 Lato,Arial,sans-serif}
/* desktop: the whiteboard uses the full width of the page (it was stuck at 620px, which made it very tall); phones keep the narrow, taller board */
html body #news .av-card.av-lb:only-child,html body #news .av-card.av-lb{width:100%;max-width:1120px}
@media (min-width:1000px){html body #news .av-card.av-lb .lb-board{min-height:340px;padding:30px 56px 26px}}

/* lesson diagram on the board (between the title and the text) */
.av-lb .lb-dia{display:block;margin:8px auto 4px;max-width:100%;width:auto;height:auto;max-height:clamp(170px,24vw,250px);object-fit:contain;opacity:0;transition:opacity .7s ease}
.av-lb .lb-dia.on{opacity:1}
.av-lb .lb-dia[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.av-lb .lb-dia{transition:none}}
