/* Christmas 2026 homepage blocks + "Beat the price increase" bar.
   Linked from index.html, the four course category pages and food-industry-training-calendar.html.
   Remove this file and its <link> tags after the office reopens on 4 January. */

/* Price increase bar (replaces the 2027 dates bar on these pages) */
.vwa-promo.xm-price{background:#a92924}
.vwa-promo.xm-price .vwa-promo-inner{min-height:46px;font-size:15px}
.vwa-promo.xm-price a.vwa-promo-cta{color:#fff;border-bottom-color:rgba(255,255,255,.7)}
.vwa-promo.xm-price a.vwa-promo-cta:hover{border-bottom-color:#fff}

/* Two cards under the homepage image */
.xm-pair{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;margin:26px 0 40px;font-family:Poppins,sans-serif}
.xm-pair h3{font-family:Poppins,sans-serif;font-weight:600;letter-spacing:-.01em}

/* Christmas opening hours */
.xm-hours{position:relative;background:#fff;border:1px solid #e3e3e3;border-radius:12px;padding:26px 26px 18px;box-shadow:0 10px 24px -16px rgba(40,40,40,.35);overflow:hidden}
.xm-hours::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:repeating-linear-gradient(-45deg,#a92924 0 9px,#fff 9px 18px)}
.xm-hours h3{font-size:20px;line-height:1.25;margin:4px 0 14px;color:#323232}
.xm-hours ul{list-style:none;margin:0;padding:0}
.xm-hours li{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:12px 0;border-top:1px solid #eee;font-size:15px;line-height:1.4}
.xm-hours li span:first-child{color:#4a535b}
.xm-hours li span:last-child{font-weight:600;color:#323232;white-space:nowrap;text-align:right}
.xm-hours li.xm-closed span:last-child{color:#a92924}

/* Sprout Sorter card */
.xm-game{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100%;border-radius:12px;padding:26px;overflow:hidden;color:#fff;text-decoration:none;background:radial-gradient(120% 90% at 100% 0%,#3f7a1f 0%,rgba(63,122,31,0) 60%),#1d3812;box-shadow:0 14px 28px -18px rgba(20,40,10,.7)}
.xm-game:hover,.xm-game:focus{color:#fff;text-decoration:none}
.xm-game:focus-visible{outline:3px solid #A4C960;outline-offset:3px}
.xm-game h3{color:#fff;font-size:26px;line-height:1.1;margin:0 0 10px;position:relative;z-index:1}
.xm-game p{color:#d6e8c4;font-size:15px;line-height:1.55;margin:0 0 20px;max-width:27ch;position:relative;z-index:1}
.xm-btn{display:inline-flex;align-items:center;align-self:flex-start;position:relative;z-index:1;background:#A4C960;color:#17300c;font-weight:600;font-size:15px;padding:11px 18px;border-radius:6px;line-height:1;transition:background .2s ease-out}
.xm-game:hover .xm-btn{background:#bcdc7d}
.xm-sprouts{position:absolute;right:-14px;bottom:-18px;width:190px;height:170px;pointer-events:none}
.xm-sprouts img{position:absolute;height:auto;filter:drop-shadow(0 6px 8px rgba(0,0,0,.35))}
.xm-sprouts .s1{width:120px;right:18px;bottom:22px;transform:rotate(-8deg)}
.xm-sprouts .s2{width:78px;right:118px;bottom:6px;transform:rotate(14deg)}
.xm-sprouts .s3{width:64px;right:6px;bottom:118px;transform:rotate(22deg)}

@media (max-width:767px){
  .xm-pair{grid-template-columns:1fr;gap:16px;margin:20px 0 30px}
  .xm-hours li{flex-direction:column;align-items:flex-start;gap:2px}
  .xm-hours li span:last-child{text-align:left}
  .xm-game{min-height:230px}
  .xm-game p{max-width:22ch}
  .xm-sprouts .s2{display:none}
}

/* Calendar page: beat-the-price PDF button beside the current calendar PDF */
.xm-pdf-row{display:flex;flex-wrap:wrap;gap:12px}
.download-pdf-btn.xm-btp{background:#a92924;color:#fff}
.download-pdf-btn.xm-btp i{color:#fff}
.download-pdf-btn.xm-btp:hover{background:#7f1d1a;color:#fff}

/* Homepage before the game launches: opening hours card on its own */
.xm-pair.xm-solo{grid-template-columns:minmax(0,560px)}
