/*
Theme Name: jio lottery — Gallery
Version: 1.1.0
Text Domain: jio-lottery
Requires PHP: 8.2
Requires at least: 6.4
*/
*{box-sizing:border-box}html{scroll-padding-top:92px}body{margin:0;background:#fbf7ed;color:#123934;font:17px/1.6 system-ui,sans-serif}a{color:#075449;text-underline-offset:4px}a:hover{color:#a74617}a:active,button:active{filter:brightness(.85)}:focus-visible{outline:3px solid #dc7134;outline-offset:3px}button,summary{cursor:pointer}img{max-width:100%;height:auto;display:block}header{position:sticky;top:0;z-index:10;background:#082f2c;color:white}.admin-bar header{top:32px}.bar,.wrap{max-width:1220px;margin:auto;padding:0 clamp(14px,4vw,50px)}.bar,.brand,#navigation,.actions,.links,.telegram{display:flex;align-items:center;gap:16px}.bar{min-height:68px}.brand{font-size:21px;font-weight:800;white-space:nowrap;gap:8px}.bar a,footer a{color:inherit;text-decoration:none}#navigation{margin-left:auto;font-size:15px}.bar .visit,.visit,.actions>a{display:inline-block;background:#ffc486;color:#193530;border-radius:8px;padding:9px 15px;font-weight:750;text-decoration:none;white-space:nowrap}.bar details{position:relative}.bar details div{position:absolute;background:#143f39;padding:12px;min-width:145px}.bar details a,.periods a{display:block;padding:4px}.skip{position:fixed;top:-100px;z-index:20;background:white}.skip:focus{top:0}#toggle{display:none}#shade{position:fixed;inset:0;background:#052a2580;border:0;z-index:8}main.wrap{padding-top:32px;padding-bottom:70px;min-height:55vh}h1,h2,h3{line-height:1.13;text-wrap:balance}h1{font-size:clamp(36px,6vw,77px);margin:24px 0 12px;letter-spacing:-.05em}h2{font-size:clamp(24px,3.4vw,37px);letter-spacing:-.03em}.hero{display:grid;grid-template-columns:.85fr 1.15fr;background:#10413b;color:#fff5e0;border-radius:18px;overflow:hidden}.intro{padding:clamp(22px,4vw,54px)}.hero picture,.hero>img{min-height:100%;width:100%;object-fit:cover}.hero picture img{width:100%;height:100%;object-fit:cover}.actions,.links{flex-wrap:wrap}.actions a:first-child{background:#f9efda}.copy,.summary{max-width:760px}.summary{font-size:20px}.cover{width:min(100%,740px);border-radius:12px}.toc,.disclosure,.timer,details{padding:12px 0}.timer{background:#123d39;color:white;padding:24px;border-radius:16px;max-width:700px}.timer dl{display:grid;grid-template-columns:1fr 1fr}.timer dd{font-variant-numeric:tabular-nums}.links a{padding:7px 13px;border:1px solid #afbdb0;border-radius:7px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards a{overflow:hidden;text-decoration:none;border:1px solid #b8c5b5;border-radius:12px;background:#fff}.cards strong{display:block;padding:16px}.cards img{width:100%}.wrap>section{margin:32px 0}footer{background:#082f2c;color:#f5efdd;padding:36px 0 64px}.foot{display:grid;grid-template-columns:1fr 2fr 1fr;gap:24px}.foot nav{display:grid;grid-template-columns:1fr 1fr;gap:4px}.fine{margin-top:28px;font-size:14px}.telegram{display:inline-flex}.float{position:fixed;right:12px;bottom:12px;color:white;background:#176555;padding:12px;border-radius:50%;z-index:5}.crumb,.toc{font-size:14px}.bar button{background:transparent;color:white;border:1px solid #75938c;padding:7px;border-radius:6px}
@media(max-width:1000px){#toggle{display:block;margin-left:auto}#navigation{display:none;position:absolute;top:100%;left:0;right:0;background:#082f2c;max-height:75vh;overflow:auto;padding:18px}#navigation.open{display:grid}#navigation details div{position:static}.hero{grid-template-columns:1fr 1fr}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.foot,.hero,.cards{grid-template-columns:1fr}.hero picture img{height:auto;aspect-ratio:640/498}.hero .intro{padding:22px}.bar{gap:7px;min-height:56px}.bar .visit{font-size:13px;padding:7px 9px}.brand{font-size:16px}.brand img{width:30px}.wrap>section{margin:20px 0}.admin-bar header{top:46px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.brand img{width:155px;height:auto}@media(max-width:700px){.brand img{width:108px}}

.guide-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-cards a{display:flex;align-items:center;gap:12px;background:#fffdf5;border:1px solid #b4c2b1;border-radius:12px;padding:12px;text-decoration:none}.guide-cards img{border-radius:10px}.guide-cards a:hover,.cards a:hover{border-color:#9d5029}.guide-cards a:active,.cards a:active{background:#f5dfba}@media(max-width:1000px){.guide-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.guide-cards{grid-template-columns:1fr}}


body{background:#f3f9dc;color:#1d3024;font-family:"Trebuchet MS",Arial,sans-serif}header,footer{background:#164b4a;color:#fffbea}.bar .visit,.visit,.actions>a{border-radius:2px;background:#f9c468;color:#263225}.brand img,.foot-logo{width:174px;height:auto}.foot-logo{margin:0 0 15px}.mast{border-top:3px solid #164b4a;padding:20px clamp(15px,3vw,42px) 0;background:#e4f3ac}.folio{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#254944;font:bold .8rem/1.4 monospace;letter-spacing:.07em}.folio span{letter-spacing:0}.mast h1{font-family:Georgia,serif;font-weight:500;line-height:1.02;letter-spacing:-.055em;font-size:clamp(41px,7vw,98px);margin:.25em 0 .12em}.mast p{max-width:700px}.mast .actions{margin:14px 0 22px}.mast .actions a:first-child{background:#164b4a;color:white}.jlcg-hero-art{position:relative}.jlcg-hero-art picture img{width:100%;height:auto;aspect-ratio:2.65;object-fit:cover}.jlcg-hero-wordmark{position:absolute;left:14px;bottom:14px;width:150px;background:#164b4a;padding:5px 9px}.route{display:grid;grid-template-columns:1fr 2fr;gap:24px;border-block:1px solid #809476;padding:12px 0;align-items:center}.route div{display:flex;flex-wrap:wrap;gap:15px}.route h2{font:italic 26px Georgia,serif}.cards{counter-reset:notes;gap:0 24px}.cards a{display:grid;grid-template-columns:38% 1fr;align-items:center;border:0;border-bottom:1px solid #9aa98a;border-radius:0;background:transparent;padding:14px 0}.cards img{aspect-ratio:1.2;object-fit:cover}.cards strong{font-family:Georgia,serif;font-size:18px;padding:10px;line-height:1.2}.guide-cards a{border-radius:0}.cover{float:right;width:39%;margin:0 0 18px 30px;border-radius:0}.copy{max-width:100%;line-height:1.7}.copy p{max-width:76ch}.copy:after{content:"";display:block;clear:both}.crumb{border-bottom:1px solid #adbda4}.wrap>h1{max-width:22ch;font-family:Georgia,serif}.timer{background:#164b4a}.float,#navigation details div{background:#164b4a}.bar a:not(.visit),footer a{color:#fffbea}.foot .periods a{border-left:2px solid #f9c468;padding-left:10px;margin-bottom:4px}.wrap>section:first-child{margin-top:0}
@media(max-width:1000px){#navigation.open{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#164b4a}#period-menu{grid-column:1/-1}.cards{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.brand img{width:110px}.mast{padding:14px 12px 0}.mast .actions{gap:8px}.mast .actions a{font-size:14px;padding:8px;white-space:normal}.folio span{font-size:10px}.jlcg-hero-art picture img{aspect-ratio:640/498}.jlcg-hero-wordmark{width:110px}.route,.cards{grid-template-columns:1fr}.route{gap:0}.route a{display:block}.cover{float:none;width:100%;margin:0}.cards a{grid-template-columns:32% 1fr}.bar{gap:6px}.foot{grid-template-columns:1fr}main.wrap{padding-top:12px}}

body{background:#f1fff5;color:#182e32}header,#navigation,.bar details div{background:#2743a3}footer{background:#472060;color:white}.edition{display:grid;grid-template-columns:1.23fr 1fr;background:#fff0ad;border:1px solid #bdac73;align-items:center}.edition-art{min-width:0}.edition-intro{padding:clamp(15px,3vw,50px)}.edition-intro small{letter-spacing:.13em;font-weight:700}.edition-art picture img{width:100%;height:auto}.edition h1{font-family:Georgia,serif;font-weight:500;line-height:1.02}.edition .jlcg-hero-wordmark{display:none}.cards a{display:grid;grid-template-columns:30% 1fr;align-items:center;gap:12px;background:white;border-bottom:2px solid #2743a3;border-radius:0}.cards a img{width:100%;height:auto}.cards a strong{padding:8px}.guide-cards a{border-left:5px solid #2743a3;border-radius:0}.cover{float:right;width:38%;margin:0 0 24px 32px}.copy{max-width:820px}main>section:last-of-type{clear:both}.timer{background:#36305e}.bar .visit,.actions .visit{background:#ffdc65;color:#241834}.edition .actions a:first-child{background:#233c88;color:white}.bar .brand img,.foot-logo{background:#fff8d9;border-radius:4px}.wrap h2{font-family:Georgia,serif}.foot nav{grid-template-columns:1fr 1fr}footer .foot a,footer .fine{color:white}
@media(max-width:760px){.edition{display:flex;flex-direction:column}.edition-art{order:1;width:100%}.edition-intro{width:100%}.edition h1{margin:8px 0;font-size:clamp(34px,9vw,55px)}.cover{float:none;width:100%;margin:10px 0}.cards{grid-template-columns:1fr}#navigation{background:#2743a3}.edition-intro p{margin:8px 0}.actions{gap:6px}}
.edition .jlcg-hero-art picture img{aspect-ratio:16/10;object-fit:cover}.edition-intro{container-type:inline-size}.edition-intro h1{font-size:clamp(32px,14cqw,78px)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cards a{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;background:#fff;padding:0 0 12px}.cards img{aspect-ratio:1.9;width:100%}.cards a:first-child{grid-column:span 2;display:grid;grid-template-columns:1.25fr 1fr}.cards a:first-child strong{font-size:clamp(20px,3vw,36px)}.cards a img{border-radius:0}.foot nav{display:grid}.bar .brand img{padding:3px}.jlcg-hero-art{width:100%}@media(max-width:1020px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.edition .jlcg-hero-art picture img{aspect-ratio:640/498}.cards,.cards a:first-child{display:grid;grid-template-columns:1fr}.cards a:first-child{grid-column:auto}#navigation.open{right:0;left:auto;width:min(88vw,360px);max-height:calc(100dvh - 65px);overflow:auto}}
.jlcg-notes{clear:both;margin-block:3rem}.jlcg-notes>h2{border-top:3px solid #263a83;padding-top:.7rem}.jlcg-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}.jlcg-story{display:flex;flex-direction:column;border:1px solid #cfded8;background:#fffdf7;text-decoration:none;color:#1f3039}.jlcg-story-photo{width:100%;aspect-ratio:8/5;background:#e9efe7}.jlcg-story-photo img{width:100%;height:100%;object-fit:contain}.jlcg-story-caption{padding:15px 18px 20px}.jlcg-story-caption small{color:#79501a;font:700 .73rem/1.4 system-ui;letter-spacing:.07em;text-transform:uppercase}.jlcg-story-caption h3{font:600 clamp(19px,1.7vw,27px)/1.18 Georgia,serif;margin:.4rem 0 0;letter-spacing:-.025em}.jlcg-story:is(:hover,:focus-visible){border-color:#2743a3}.jlcg-story:is(:hover,:focus-visible) h3{text-decoration:underline;text-underline-offset:4px}@media(min-width:1001px){.jlcg-story:first-child{grid-column:span 2;display:grid;grid-template-columns:1.4fr 1fr;align-items:center;background:#fff0ad}.jlcg-story:first-child h3{font-size:clamp(26px,2.8vw,40px)}}@media(max-width:1000px){.jlcg-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.jlcg-story-grid{grid-template-columns:1fr;gap:18px}.jlcg-story-caption{padding:12px 14px 16px}}
