/* Jultema. Klassen jul sätts i sidhuvudet fram till trettondagen, så att allt försvinner av sig självt. */
.julband{display:none}
.jul{--polkagris:repeating-linear-gradient(135deg,#C8102E 0 12px,#fff 12px 24px)}
.jul .julband{display:block}

/* Tomteluva på loggan och på den stora skylten */
.jul .logo b{position:relative}
.jul .logo b::before{content:"";position:absolute;left:-3px;top:-13px;width:25px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 0 116 92%22%3E%3Cg transform=%22rotate%28-16 50 50%29%22%3E%3Cpath fill=%22%23C8102E%22 d=%22M14 70C20 34 44 12 66 14C82 16 90 32 92 50C84 42 74 40 68 44C75 52 79 62 80 70Z%22/%3E%3Crect x=%226%22 y=%2262%22 width=%2282%22 height=%2222%22 rx=%2211%22 fill=%22%23fff%22 stroke=%22%230A58BF%22 stroke-width=%225%22/%3E%3Ccircle cx=%2293%22 cy=%2252%22 r=%2211%22 fill=%22%23fff%22 stroke=%22%230A58BF%22 stroke-width=%225%22/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.jul .face{position:relative}
.jul .face .p{position:relative}
.jul .face .p::before{content:"";position:absolute;left:-.05em;top:-.07em;width:.44em;height:.36em;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 0 116 92%22%3E%3Cg transform=%22rotate%28-16 50 50%29%22%3E%3Cpath fill=%22%23C8102E%22 d=%22M14 70C20 34 44 12 66 14C82 16 90 32 92 50C84 42 74 40 68 44C75 52 79 62 80 70Z%22/%3E%3Crect x=%226%22 y=%2262%22 width=%2282%22 height=%2222%22 rx=%2211%22 fill=%22%23fff%22 stroke=%22%230A58BF%22 stroke-width=%225%22/%3E%3Ccircle cx=%2293%22 cy=%2252%22 r=%2211%22 fill=%22%23fff%22 stroke=%22%230A58BF%22 stroke-width=%225%22/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}

/* Snö som ligger på skylten */
.jul .face::after{content:"";position:absolute;left:clamp(5px,.9vw,9px);right:clamp(5px,.9vw,9px);top:clamp(5px,.9vw,9px);height:clamp(16px,3vw,30px);border-radius:clamp(14px,2.6vw,26px) clamp(14px,2.6vw,26px) 0 0;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 34%22 preserveAspectRatio=%22none%22%3E%3Cpath fill=%22%23fff%22 d=%22M0 0H400V12C386 22 372 12 358 16C344 30 326 30 312 16C298 10 284 22 268 18C252 12 240 30 222 26C206 22 196 10 180 14C164 20 150 32 134 22C120 12 106 10 92 16C78 24 64 30 50 20C36 10 16 22 0 12Z%22/%3E%3C/svg%3E") top/100% 100% no-repeat}

/* Polkagrisränder */
.jul .rubrik{border-bottom:0;box-shadow:none;position:relative;padding-bottom:calc(clamp(24px,4vw,40px) + 10px)}
.jul .rubrik::after{content:"";position:absolute;left:0;right:0;bottom:0;height:10px;background:var(--polkagris)}
.jul .sajtfot{position:relative;padding-top:46px}
.jul .sajtfot::before{content:"";position:absolute;left:0;right:0;top:0;height:10px;background:var(--polkagris)}
.jul .delar li,.jul .points li{border-top:0;position:relative;padding-top:18px}
.jul .delar li::before,.jul .points li::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;border-radius:3px;background:var(--polkagris)}
.jul .bays{border-top-color:#fff}

/* God jul-bandet */
.julband{background:#0F5132;color:#fff}
.julband h2{color:#fff}
.julband .delar p{color:#E7F3EC}
.julband h3,.julband h3 a{color:#fff}
.julband a{color:#FFD76A}
.julband .lede{color:#E7F3EC}

@media print{.jul canvas{display:none}}
