:root{
  --sky:#18afe4;
  --sky-dark:#047eb9;
  --ink:#2d2d2d;
  --muted:#6a6a6a;
  --panel:#ececec;
  --panel-2:#f6f6f6;
  --line:#a9a9a9;
  --shadow:0 2px 9px rgba(0,0,0,.22);
  --purple:#9b78ff;
  --green:#9df26f;
  --danger:#df3030;
  --gold:#ffbe2e;
  --content:1060px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:#949494;
  font-size:14px;
}
a{color:#0674bc;text-decoration:none}
a:hover{text-decoration:underline}
button,select{font:inherit}
.site-header{
  background:linear-gradient(#27b9eb,#0788c7);
  color:#fff;
  border-bottom:1px solid #15749d;
}
.header-inner{
  width:min(var(--content),calc(100% - 28px));
  margin:auto;
  min-height:124px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand{display:flex;flex-direction:column;gap:4px}
.brand-mark{
  font-size:38px;
  line-height:1;
  font-weight:900;
  letter-spacing:-2px;
  color:#fff;
  text-shadow:0 2px 0 #7459c9,0 0 3px rgba(0,0,0,.3);
}
.brand-mark span{color:#d4b9ff}
.brand-sub{font-weight:700;font-size:13px;line-height:1.25}
.header-note{
  max-width:330px;
  padding:10px 14px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.35);
  border-radius:5px;
  font-size:12px;
  line-height:1.35;
}
.nav-wrap{background:linear-gradient(#f9f9f9,#d9d9d9);border-bottom:1px solid #777;box-shadow:0 2px 4px rgba(0,0,0,.24)}
.main-nav{
  width:min(var(--content),calc(100% - 28px));
  margin:auto;
  display:grid;
  grid-template-columns:1.2fr repeat(6,1fr);
  min-height:44px;
  border-left:1px solid #c6c6c6;
  border-right:1px solid #c6c6c6;
}
.main-nav a{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#3c3c3c;
  font-weight:700;
  border-right:1px solid #c6c6c6;
  text-shadow:0 1px #fff;
}
.main-nav a:hover{background:#fff;text-decoration:none}
.main-nav a.active{background:linear-gradient(135deg,var(--green),var(--purple));color:#142142}
.mobile-nav-btn{display:none}
.page-shell{
  width:min(var(--content),calc(100% - 28px));
  margin:12px auto 0;
  background:#d7d7d7;
  border:1px solid #737373;
  box-shadow:var(--shadow);
}
.lottery-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #a0a0a0;background:#eee}
.lottery-tab{
  min-height:58px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-weight:900;text-transform:uppercase;color:#5b5b5b;
  border-right:1px solid #bbb;
  background:linear-gradient(#fbfbfb,#e2e2e2);
}
.lottery-tab:last-child{border-right:0}
.lottery-tab:hover{text-decoration:none;background:#fff}
.lottery-tab.active{box-shadow:inset 0 -4px 0 var(--sky-dark);color:#222}
.logo-ball{width:23px;height:23px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #999;font-size:10px;box-shadow:inset 0 -3px 5px rgba(0,0,0,.14)}
.logo-ball.red{background:#ef4747;color:#fff;border-color:#bd1f1f}
.logo-ball.gold{background:#ffc33e;border-color:#d59b17}
.logo-ball.blue{background:#31a8e7;color:#fff;border-color:#1777aa}
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:12px;padding:12px}
.main-column{min-width:0}
.sidebar{display:flex;flex-direction:column;gap:12px}
.panel{border:1px solid #9b9b9b;background:#ededed;box-shadow:0 1px 0 #fff inset}
.panel-head{
  padding:10px 12px;
  background:linear-gradient(#1eb0e1,#0a91c7);
  color:#fff;
  font-weight:800;
  border-bottom:1px solid #13739b;
}
.panel-body{padding:12px}
.hero{
  display:grid;
  grid-template-columns:1.35fr .85fr;
  gap:0;
  border:1px solid #a0a0a0;
  background:#e9e9e9;
  margin-bottom:12px;
}
.hero-copy{padding:22px}
.eyebrow{font-size:12px;color:#1378a7;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
h1{font-size:30px;line-height:1.08;margin:7px 0 10px;color:#3a3a3a}
h2{font-size:20px;margin:0 0 10px}
h3{font-size:16px;margin:0 0 7px}
p{line-height:1.45;margin:0 0 10px}
.hero p{font-size:15px;color:#4e4e4e;max-width:640px}
.hero-side{padding:20px;background:linear-gradient(#f8f8f8,#d8d8d8);border-left:1px solid #bbb;display:flex;flex-direction:column;justify-content:center}
.hero-figure{font-size:32px;font-weight:900;color:var(--danger);margin-bottom:6px}
.hero-caption{font-size:12px;color:#6a6a6a}
.cta-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.btn{
  appearance:none;border:1px solid #0e709f;border-radius:3px;padding:10px 14px;cursor:pointer;
  background:linear-gradient(#2bb5e7,#087fb5);color:#fff;font-weight:800;box-shadow:0 1px 2px rgba(0,0,0,.2);
  text-align:center;display:inline-block
}
.btn:hover{filter:brightness(1.04);text-decoration:none}
.btn.secondary{background:linear-gradient(#fff,#ddd);border-color:#999;color:#333}
.btn.purple{background:linear-gradient(#b891ff,#8162d8);border-color:#6c4fb8}
.lottery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:12px}
.lottery-card{background:#f3f3f3;border:1px solid #aaa;box-shadow:inset 0 1px #fff}
.lottery-card-top{padding:12px;border-bottom:1px solid #ccc;background:linear-gradient(#fff,#e5e5e5);display:flex;justify-content:space-between;gap:10px;align-items:center}
.lottery-card-title{font-size:18px;font-weight:900}
.lottery-card-body{padding:12px}
.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:11px 0}
.meta{border:1px solid #c1c1c1;background:#fff;padding:9px}
.meta b{display:block;font-size:15px;margin-top:3px}
.meta small{color:#777}
.simple-list{margin:0;padding-left:18px;line-height:1.55}
.side-stat{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #c9c9c9}
.side-stat:last-child{border-bottom:0}
.side-stat b{text-align:right}
.notice{border:1px solid #d8bf72;background:#fff7d8;padding:10px 12px;line-height:1.45}
.info-table{width:100%;border-collapse:collapse;background:#f9f9f9;border:1px solid #aaa}
.info-table th,.info-table td{padding:10px;border-bottom:1px solid #ccc;text-align:left;vertical-align:top}
.info-table th{width:36%;background:#e3e3e3}
.section{border:1px solid #999;background:#ededed;padding:16px;margin-bottom:12px}
.section-title{font-size:19px;margin:0 0 12px;border-bottom:1px solid #bbb;padding-bottom:8px}
.ball-row{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.ball{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #999;font-weight:900;box-shadow:inset 0 -4px 6px rgba(0,0,0,.08)}
.ball.special{background:#e74848;color:#fff;border-color:#b61f1f}.ball.special.gold{background:#ffc33e;color:#332400;border-color:#d59c1a}.ball.special.blue{background:#2e9edb;border-color:#1974a8;color:#fff}
.predictor{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px}
.predictor-controls{border:1px solid #aaa;background:#e4e4e4;padding:12px}
.control{margin-bottom:12px}
.control label{display:block;font-weight:800;margin-bottom:5px}
.control select{width:100%;padding:9px;border:1px solid #8c8c8c;background:#fff}
.result-box{min-height:250px;border:1px solid #999;background:#f8f8f8;padding:16px}
.generated-set{display:flex;align-items:center;gap:10px;justify-content:space-between;border-bottom:1px solid #ddd;padding:10px 0}.generated-set:last-child{border-bottom:0}
.generated-balls{display:flex;gap:6px;flex-wrap:wrap}
.generated-balls .ball{width:34px;height:34px}
.result-index{font-weight:900;color:#777;width:26px}
.news-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.news-card{border:1px solid #aaa;background:#f6f6f6;padding:14px;min-height:150px}.news-tag{font-size:11px;font-weight:900;color:#087faf;text-transform:uppercase}.news-card time{font-size:11px;color:#777}.news-card h3{margin-top:8px}
.placeholder{border-style:dashed;background:#eee;color:#777}
.site-footer{width:min(var(--content),calc(100% - 28px));margin:0 auto 28px;background:#292929;color:#bbb;padding:18px;border:1px solid #181818;display:flex;justify-content:space-between;gap:20px;font-size:12px}
.footer-links{display:flex;gap:15px;flex-wrap:wrap}.footer-links a{color:#ddd}
.kicker-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #aaa;background:#f7f7f7;margin-bottom:12px}.kicker{padding:12px;border-right:1px solid #ccc}.kicker:last-child{border-right:0}.kicker b{display:block;font-size:16px;margin-top:3px}.kicker small{color:#777}
.breadcrumbs{font-size:12px;color:#777;margin-bottom:9px}.breadcrumbs a{color:#4d7191}
.page-intro{border:1px solid #999;background:#e9e9e9;padding:16px;margin-bottom:12px}
.page-intro .lead{font-size:15px;color:#555}
.quick-link{display:block;padding:9px 0;border-bottom:1px solid #c9c9c9}.quick-link:last-child{border-bottom:0}
@media(max-width:850px){
  .header-inner{min-height:104px}.header-note{display:none}
  .mobile-nav-btn{display:block;position:absolute;right:14px;top:112px;z-index:5;border:1px solid #8d8d8d;background:#eee;padding:8px 10px;font-weight:800}
  .main-nav{display:none;grid-template-columns:1fr;width:100%}.main-nav.open{display:grid}.main-nav a{min-height:42px;border-bottom:1px solid #ccc}
  .page-shell{margin-top:56px}.content-grid{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(2,1fr)}
  .lottery-tabs{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr}.hero-side{border-left:0;border-top:1px solid #bbb}.predictor{grid-template-columns:1fr}.site-footer{flex-direction:column}
}
@media(max-width:560px){
  .header-inner{width:calc(100% - 20px)}.brand-mark{font-size:31px}.brand-sub{font-size:11px}
  .page-shell{width:100%;border-left:0;border-right:0}.content-grid{padding:8px}.lottery-tabs{grid-template-columns:1fr 1fr}.lottery-tab{font-size:11px;min-height:48px}.lottery-grid,.news-grid,.sidebar{grid-template-columns:1fr}.meta-grid,.kicker-strip{grid-template-columns:1fr}.kicker{border-right:0;border-bottom:1px solid #ccc}.hero-copy{padding:16px}h1{font-size:25px}.hero-side{padding:15px}.generated-set{align-items:flex-start}.site-footer{width:100%;margin-bottom:0;border-left:0;border-right:0}
}

/* EuroJackpot page — page-specific UI, keeping the shared Mega Lottery visual language */
.ej-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(245px,.65fr);
  border:1px solid #999;
  background:#e9e9e9;
  margin-bottom:10px;
  box-shadow:inset 0 1px #fff;
}
.ej-hero-copy{padding:20px 20px 18px}
.ej-hero-copy .lead{font-size:15px;color:#515151;max-width:670px;line-height:1.5}
.ej-sample{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:15px 0 4px;padding:10px 12px;border:1px solid #bebebe;background:linear-gradient(#fff,#ededed);width:max-content;max-width:100%}
.ej-sample .ball{width:34px;height:34px}
.ej-plus{display:inline-flex;align-items:center;justify-content:center;min-width:16px;font-weight:900;color:#777;font-size:16px}
.ej-hero-stats{display:grid;grid-template-columns:1fr 1fr;align-content:stretch;background:#ddd;border-left:1px solid #aaa}
.ej-stat{padding:16px 14px;border-bottom:1px solid #bbb;border-right:1px solid #bbb;background:linear-gradient(#fafafa,#dedede);display:flex;flex-direction:column;justify-content:center;min-height:92px}
.ej-stat:nth-child(even){border-right:0}
.ej-stat:nth-last-child(-n+2){border-bottom:0}
.ej-stat small{display:block;text-transform:uppercase;letter-spacing:.05em;color:#777;font-size:10px;font-weight:800;margin-bottom:6px}
.ej-stat b{font-size:17px;line-height:1.15;color:#333}
.ej-stat-primary{background:linear-gradient(#2ab5e6,#0788be);color:#fff}
.ej-stat-primary small,.ej-stat-primary b{color:#fff}
.ej-stat-primary b{font-size:22px}
.ej-jumpbar{display:flex;align-items:stretch;overflow-x:auto;border:1px solid #a5a5a5;background:linear-gradient(#fff,#dfdfdf);margin-bottom:12px}
.ej-jumpbar a{flex:1 0 auto;padding:9px 11px;text-align:center;border-right:1px solid #c5c5c5;color:#4a4a4a;font-weight:800;font-size:12px;white-space:nowrap}
.ej-jumpbar a:last-child{border-right:0}
.ej-jumpbar a:hover{background:#fff;text-decoration:none;color:#087faf}
.section-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:10px}
.clean-title{border-bottom:0;padding-bottom:0;margin-bottom:5px}
.section-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;background:#d9efc9;border:1px solid #98bd79;color:#38592c;font-weight:900;font-size:11px;text-transform:uppercase;white-space:nowrap}
.section-badge.blue{background:#dff3fc;border-color:#93c9e0;color:#17668b}
.section-lead{color:#555;max-width:720px;margin-bottom:12px}
.ej-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.ej-step{position:relative;display:flex;gap:11px;border:1px solid #b8b8b8;background:linear-gradient(#fff,#e9e9e9);padding:13px;min-height:118px;box-shadow:inset 0 1px #fff}
.ej-step-number{flex:0 0 31px;width:31px;height:31px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(#2bb5e7,#087fb5);border:1px solid #0d719f;color:#fff;font-weight:900;box-shadow:0 1px 2px rgba(0,0,0,.18)}
.ej-step h3{margin-top:2px}
.ej-step p{font-size:13px;color:#555;margin-bottom:0}
.ej-fact-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #b7b7b7;background:#f8f8f8;margin-top:10px}
.ej-fact-strip>div{padding:10px 12px;border-right:1px solid #ccc}
.ej-fact-strip>div:last-child{border-right:0}
.ej-fact-strip small{display:block;color:#777;font-size:10px;text-transform:uppercase;font-weight:800;margin-bottom:3px}
.ej-fact-strip b{font-size:16px}
.ej-generator-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.82fr);gap:14px;background:linear-gradient(#efefef,#dfdfdf)}
.ej-generator-copy{padding-right:4px}
.ej-generator-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.ej-generator-card{border:1px solid #a7a7a7;background:#fff;box-shadow:inset 0 1px #fff;padding:14px;display:flex;flex-direction:column;justify-content:center;min-height:156px}
.ej-generator-label{font-size:11px;color:#777;text-transform:uppercase;font-weight:900;letter-spacing:.05em;margin-bottom:3px}
.ej-generated{margin:8px 0 10px}
.ej-generated .ball{width:36px;height:36px}
.ej-odds-wrap{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:10px;align-items:start}
.ej-odds-table th:first-child,.ej-odds-table td:first-child{width:17%;text-align:center}
.ej-odds-table th:nth-child(2),.ej-odds-table td:nth-child(2){width:28%;text-align:center}
.ej-odds-table th{background:#dfdfdf}
.ej-odds-table tr.top-prize td{background:#e2f4fb}
.ej-odds-summary{border:1px solid #9c9c9c;background:linear-gradient(#fdfdfd,#e8e8e8);padding:15px;position:sticky;top:10px}
.ej-odds-summary p{font-size:12px;color:#5c5c5c}
.ej-odds-summary hr{border:0;border-top:1px solid #ccc;margin:13px 0}
.ej-big-number{font-size:24px;line-height:1.05;font-weight:900;color:#0b84ba;margin-bottom:5px}
.ej-big-number.small{font-size:21px;color:#555}
.ej-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.ej-info-card{border:1px solid #b6b6b6;background:linear-gradient(#fff,#e8e8e8);padding:13px;min-height:125px}
.ej-info-card h3{padding-bottom:6px;border-bottom:1px solid #ddd}
.ej-info-card p{font-size:13px;color:#555;margin-bottom:0}
.ej-source-note{margin-top:10px}
.ej-compare{border:1px solid #aaa;background:#f7f7f7}
.ej-compare-head,.ej-compare-row{display:grid;grid-template-columns:1.05fr 1fr 1fr;align-items:center}
.ej-compare-head{background:linear-gradient(#1faee0,#0b90c5);color:#fff;font-weight:900}
.ej-compare-head>*{padding:10px 11px;border-right:1px solid rgba(255,255,255,.22)}
.ej-compare-row>*{padding:9px 11px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;min-width:0}
.ej-compare-row:last-child>*{border-bottom:0}
.ej-compare-row>*:last-child,.ej-compare-head>*:last-child{border-right:0}
.ej-compare-row>span:first-child{font-weight:800;background:#e8e8e8}
.ej-compare-note{margin:9px 0 0}
.inline-quick{display:inline-block;border-bottom:0;padding-bottom:0;font-weight:800}
.ej-myth-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:10px}
.ej-myth-grid article{border:1px solid #b7b7b7;background:#fafafa;padding:12px}
.ej-myth-grid p{font-size:13px;color:#555;margin-bottom:0}
.ej-myth-label{display:inline-block;padding:3px 6px;margin-bottom:8px;background:#dcefd0;border:1px solid #a6ca8f;color:#456836;font-size:10px;font-weight:900;text-transform:uppercase}
.ej-myth-label.warning{background:#fff0c8;border-color:#dcc275;color:#705d1b}
.ej-faq{border-top:1px solid #bdbdbd}
.ej-faq details{border:1px solid #bdbdbd;border-top:0;background:#f8f8f8}
.ej-faq summary{cursor:pointer;padding:11px 36px 11px 12px;font-weight:800;background:linear-gradient(#fff,#e7e7e7);position:relative;list-style:none}
.ej-faq summary::-webkit-details-marker{display:none}
.ej-faq summary:after{content:'+';position:absolute;right:12px;top:8px;font-size:20px;color:#1682b5}
.ej-faq details[open] summary:after{content:'−'}
.ej-faq details p{padding:11px 12px;margin:0;border-top:1px solid #d2d2d2;color:#555}
.ej-news-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.ej-news-row .news-card{min-height:170px}
.ej-final-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid #858585;background:linear-gradient(#f7f7f7,#d8d8d8);padding:16px;margin-bottom:0}
.ej-final-cta h2{margin:4px 0 6px}
.ej-final-cta p{margin-bottom:0;color:#555}
.ej-final-cta .cta-row{margin-top:0;justify-content:flex-end}
.ej-side-summary .panel-body{padding-top:6px;padding-bottom:6px}
.ej-responsible .panel-body{background:#fff7d8}

@media(max-width:980px){
  .ej-hero{grid-template-columns:1fr}
  .ej-hero-stats{border-left:0;border-top:1px solid #aaa}
  .ej-stat{min-height:76px}
  .ej-generator-section{grid-template-columns:1fr}
  .ej-odds-wrap{grid-template-columns:1fr}
  .ej-odds-summary{position:static;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:start}
  .ej-odds-summary hr{display:none}
  .ej-odds-summary p{margin-bottom:0}
}
@media(max-width:700px){
  .ej-steps,.ej-myth-grid,.ej-news-row{grid-template-columns:1fr}
  .ej-fact-strip{grid-template-columns:repeat(2,1fr)}
  .ej-fact-strip>div:nth-child(2){border-right:0}
  .ej-fact-strip>div:nth-child(-n+2){border-bottom:1px solid #ccc}
  .ej-info-grid{grid-template-columns:1fr}
  .ej-compare{overflow-x:auto}
  .ej-compare-head,.ej-compare-row{min-width:620px}
  .ej-final-cta{grid-template-columns:1fr}
  .ej-final-cta .cta-row{justify-content:flex-start}
}
@media(max-width:560px){
  .ej-hero-copy{padding:15px}
  .ej-hero-stats{grid-template-columns:1fr 1fr}
  .ej-stat{padding:12px 10px;min-height:74px}
  .ej-stat b{font-size:14px}
  .ej-stat-primary b{font-size:18px}
  .ej-jumpbar{margin-left:-1px;margin-right:-1px}
  .ej-sample{gap:5px;padding:8px}
  .ej-sample .ball,.ej-generated .ball{width:32px;height:32px}
  .section-head-row{align-items:flex-start}
  .ej-fact-strip{grid-template-columns:1fr 1fr}
  .ej-odds-table{font-size:12px}
  .ej-odds-table th,.ej-odds-table td{padding:8px 6px}
  .ej-odds-summary{grid-template-columns:1fr}
  .ej-generator-actions .btn{flex:1 1 100%}
}
@keyframes ejPop{0%{transform:translateY(2px);opacity:.55}100%{transform:translateY(0);opacity:1}}
.ej-pop{animation:ejPop .2s ease-out}


/* Production content hub and article pages */
.news-card{position:relative;display:flex;flex-direction:column}
.news-card h3 a{color:#333;text-decoration:none}
.news-card h3 a:hover{color:#087faf;text-decoration:underline}
.news-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.news-readmore{display:inline-block;margin-top:auto;padding-top:10px;font-weight:900;font-size:12px;color:#087faf}
.news-readmore:hover{text-decoration:underline}
.news-filter{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;padding:8px;border:1px solid #aaa;background:linear-gradient(#f8f8f8,#dfdfdf)}
.news-filter-btn{border:1px solid #aaa;background:linear-gradient(#fff,#ddd);padding:8px 11px;font:inherit;font-size:12px;font-weight:900;color:#444;cursor:pointer;border-radius:2px}
.news-filter-btn span{display:inline-block;margin-left:4px;color:#777;font-size:10px}
.news-filter-btn:hover,.news-filter-btn.active{background:linear-gradient(#2bb5e7,#087fb5);border-color:#0e709f;color:#fff}
.news-filter-btn.active span,.news-filter-btn:hover span{color:#eaf8ff}
.news-hub-grid{grid-template-columns:repeat(2,1fr);margin-bottom:0}
.news-hub-card[hidden]{display:none}
.news-hub-intro{border-top:3px solid #168fc3}
.article-layout{align-items:start}
.article-page{border:1px solid #999;background:#f3f3f3;margin-bottom:12px}
.article-hero{padding:22px;border-bottom:1px solid #aaa;background:linear-gradient(#fff,#e2e2e2)}
.article-hero.article-accent-red{border-top:4px solid #c92f2f}
.article-hero.article-accent-gold{border-top:4px solid #e0a619}
.article-hero.article-accent-blue{border-top:4px solid #168fc3}
.article-hero .lead{max-width:760px;font-size:16px;color:#505050}
.article-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:11px;color:#777;font-weight:800}
.article-meta span,.article-meta time{padding-right:12px;border-right:1px solid #c2c2c2}
.article-meta>*:last-child{border-right:0;padding-right:0}
.article-body{padding:18px 20px;background:#f7f7f7}
.article-body section{margin:0 0 22px}
.article-body h2{padding-bottom:7px;border-bottom:1px solid #c7c7c7;margin-bottom:9px;font-size:20px}
.article-body p{font-size:14px;line-height:1.65;color:#414141}
.article-summary{border:1px solid #9ebfd0;background:#edf8fd;padding:13px 15px;margin-bottom:22px}
.article-summary b{display:block;color:#146f99;margin-bottom:7px;text-transform:uppercase;font-size:11px;letter-spacing:.06em}
.article-summary ul{margin:0;padding-left:18px;line-height:1.6}
.article-note{border:1px solid #d8bf72;background:#fff7d8;padding:13px 14px}
.article-note h2{border:0;padding:0;margin:0 0 6px;font-size:16px}
.article-note p{margin:0}
.article-sources ul{margin:0;padding-left:18px;line-height:1.7}
.article-sources a{font-weight:700}
.article-related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.article-side-card .btn{width:100%}
.home-hero{border-top:3px solid #168fc3}
.home-hero-side{padding:12px 14px;gap:0}
.home-hero-label{text-transform:uppercase;font-size:10px;font-weight:900;color:#777;letter-spacing:.07em;padding:0 2px 6px}
.home-hero-link{display:flex;align-items:center;gap:9px;padding:8px 6px;border-top:1px solid #c8c8c8;color:#333}
.home-hero-link:hover{background:#fff;text-decoration:none}
.home-hero-link b,.home-hero-link small{display:block}
.home-hero-link small{color:#777;margin-top:2px}
.home-tool-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #aaa;background:#f7f7f7;margin-bottom:12px}
.home-tool-strip a{padding:12px 14px;border-right:1px solid #ccc;color:#333}
.home-tool-strip a:last-child{border-right:0}
.home-tool-strip a:hover{background:#fff;text-decoration:none}
.home-tool-strip b,.home-tool-strip span{display:block}
.home-tool-strip span{font-size:11px;color:#777;margin-top:3px}
.home-section-head{padding:4px 2px 0}
.home-card-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.home-card-actions>a:not(.btn){font-size:12px;font-weight:900}
.home-generator-callout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:center}
.home-generator-action{border:1px solid #bbb;background:#fff;padding:14px;text-align:center}
.home-generator-action .ball-row{justify-content:center}
.home-post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.home-post-card{min-height:185px}
@media(max-width:850px){
  .news-hub-grid,.article-related-grid,.home-post-grid{grid-template-columns:1fr 1fr}
  .home-generator-callout{grid-template-columns:1fr}
}
@media(max-width:650px){
  .news-hub-grid,.article-related-grid,.home-post-grid,.home-tool-strip{grid-template-columns:1fr}
  .home-tool-strip a{border-right:0;border-bottom:1px solid #ccc}
  .home-tool-strip a:last-child{border-bottom:0}
  .article-hero{padding:16px}
  .article-body{padding:15px}
  .article-meta{gap:7px}
}
.news-card>time{display:block;margin-top:4px}


/* Lottery tab image logos */
.lottery-tab-logo{
  position:relative;
  display:block;
  width:145px;
  height:44px;
  max-width:88%;
  flex:0 1 145px;
}
.lottery-tab-logo::before,
.lottery-tab-logo::after{
  content:"";
  position:absolute;
  inset:0;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  transition:opacity .12s ease;
}
.lottery-tab-logo::before{background-image:var(--lottery-logo-gray);opacity:1}
.lottery-tab-logo::after{background-image:var(--lottery-logo-color);opacity:0}
.lottery-tab:hover .lottery-tab-logo::before,
.lottery-tab:focus-visible .lottery-tab-logo::before,
.lottery-tab.active .lottery-tab-logo::before{opacity:0}
.lottery-tab:hover .lottery-tab-logo::after,
.lottery-tab:focus-visible .lottery-tab-logo::after,
.lottery-tab.active .lottery-tab-logo::after{opacity:1}
.lottery-tab-logo-powerball{
  --lottery-logo-gray:url("../img/logos/powerball-gray.png");
  --lottery-logo-color:url("../img/logos/powerball-color.png");
}
.lottery-tab-logo-euromillions{
  --lottery-logo-gray:url("../img/logos/euromillions-gray.png");
  --lottery-logo-color:url("../img/logos/euromillions-color.png");
}
.lottery-tab-logo-megamillions{
  --lottery-logo-gray:url("../img/logos/megamillions-gray.png");
  --lottery-logo-color:url("../img/logos/megamillions-color.png");
}
.lottery-tab-logo-eurojackpot{
  --lottery-logo-gray:url("../img/logos/eurojackpot-gray.png");
  --lottery-logo-color:url("../img/logos/eurojackpot-color.png");
}
.lottery-tab-label{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
@media(max-width:560px){
  .lottery-tab-logo{width:125px;height:38px;flex-basis:125px}
}
