/* Approved community homepage. All presentation stays scoped to this page;
 * shared game cards and the /games/ catalogue retain their own renderer. */
.jpp-site.jpp-home{--jpp-bg:#060d10;--jpp-surface:#0b1317;--jpp-line:#293236;--jpp-muted:#b8c0c3;background:var(--jpp-bg);font-size:14px;line-height:1.85}
.jpp-home .jpp-wrap{width:min(1280px,calc(100% - 64px))}
.jpp-home h2{font-size:clamp(22px,2.2vw,29px);line-height:1.7}
.jpp-home .jpp-button{min-height:46px;padding:10px 20px;border-radius:7px;font-size:13px}
.jpp-home .jpp-button-outline{border-color:#596064;background:#08101466}
.jpp-home .jpp-ref-art{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover}
.jpp-home .jpp-ref-section{padding-block:25px}
.jpp-home .jpp-ref-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}
.jpp-home .jpp-ref-subtle{color:var(--jpp-muted);font-size:12px;line-height:2}
.jpp-home .jpp-ref-inline-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:12px;color:var(--jpp-gold)}
.jpp-home .jpp-ref-inline-link svg{width:17px;height:17px}
.jpp-home .jpp-ref-inline-link:hover{text-decoration:underline;text-underline-offset:5px}
.jpp-home section[id],.jpp-home article[id],.jpp-home details[id]{scroll-margin-top:24px}

/* Compact reference header: logo right, six destinations centre, login left. */
.jpp-home .jpp-header{border-bottom:1px solid #1c292d;background:#060d10}
.jpp-home .jpp-header-inner{display:grid;grid-template-columns:170px minmax(0,1fr) auto;gap:24px;min-height:78px}
.jpp-home .jpp-header .jpp-brand{min-width:0;justify-self:start}
.jpp-home .jpp-header .jpp-brand img{width:150px;height:54px}
.jpp-home .jpp-header .jpp-brand span{display:none}
.jpp-home .jpp-desktop-nav{display:flex;justify-content:center;gap:clamp(15px,2vw,27px);min-width:0;font-size:13px}
.jpp-home .jpp-desktop-nav a{min-height:44px}
.jpp-home .jpp-header-actions{gap:0;justify-self:end;min-width:0}
.jpp-home .jpp-header .jpp-login{display:inline-flex;gap:8px;min-height:44px;padding:7px 14px;border:1px solid var(--jpp-gold);border-radius:7px;background:#090f12;font-size:12px;white-space:nowrap}
.jpp-home .jpp-login span{display:inline}
.jpp-home .jpp-login svg{width:18px;height:18px}
.jpp-home .jpp-header .jpp-login:hover{border-color:var(--jpp-gold);background:#1b2017}

/* Cinematic first screen: copy on the right, open photographic scene on the left. */
.jpp-home .jpp-ref-hero{position:relative;isolation:isolate;overflow:hidden;min-height:440px;background:#050b0e}
.jpp-home .jpp-ref-hero-art{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:40% 46%}
.jpp-home .jpp-ref-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#050b0e 0%,#050b0ef5 24%,#050b0e82 48%,#050b0e05 73%),linear-gradient(0deg,#060d10,transparent 27%)}
.jpp-home .jpp-ref-hero-inner{display:flex;align-items:center;min-height:440px;padding-block:40px 30px}
.jpp-home .jpp-ref-hero-copy{width:48%;max-width:600px;padding-inline-end:24px}
.jpp-home .jpp-ref-eyebrow{font-size:14px;color:#e5e5df;margin-bottom:15px}
.jpp-home .jpp-ref-hero h1{font-size:clamp(38px,4.2vw,60px);line-height:1.45;letter-spacing:-1.7px}
.jpp-home .jpp-ref-hero h1 em{color:var(--jpp-gold);font-style:normal}
.jpp-home .jpp-ref-hero-lead{max-width:520px;margin-top:16px;color:#ced1d0;font-size:14px;line-height:2.2}
.jpp-home .jpp-ref-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:25px}
.jpp-home .jpp-ref-hero-actions .jpp-button{min-width:165px}

/* Five entry paths, followed immediately by the compact city-first search. */
.jpp-home .jpp-ref-entry{position:relative;z-index:2;margin-top:-4px;padding-bottom:18px}
.jpp-home .jpp-ref-roles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:13px}
.jpp-home .jpp-ref-roles a{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;padding:8px 10px;border:1px solid #303a3e;border-radius:8px;background:linear-gradient(135deg,#192227,#0a1216);font-size:14px;line-height:1.65;transition:border-color .15s,background .15s}
.jpp-home .jpp-ref-roles svg{width:25px;height:25px;color:#ece8d9}
.jpp-home .jpp-ref-roles a:hover{border-color:var(--jpp-gold);background:#1e251f}
.jpp-home .jpp-search-form{border-radius:8px;padding:10px 12px 6px;background:#0b1316}
.jpp-home .jpp-search-main{grid-template-columns:180px 190px minmax(0,1fr) 160px;gap:10px}
.jpp-home .jpp-search-main>.jpp-city-field{order:1}
.jpp-home .jpp-search-main>.jpp-category-field{order:2}
.jpp-home .jpp-search-main>.jpp-search-field{order:3}
.jpp-home .jpp-search-main>.jpp-button{order:4;grid-column:auto}
.jpp-home .jpp-search-field,.jpp-home .jpp-city-field,.jpp-home .jpp-category-field{display:flex;align-items:center;gap:8px;min-width:0;padding:0 12px;border:1px solid #303a3e;border-radius:5px;background:#090f12}
.jpp-home .jpp-search-field svg,.jpp-home .jpp-city-field svg,.jpp-home .jpp-category-field svg{color:#d2d2ca;width:18px;height:18px}
.jpp-home .jpp-search-main input,.jpp-home .jpp-search-main select{height:44px;font-size:12px;padding-block:7px}
.jpp-home .jpp-search-main>.jpp-button{min-height:46px;font-size:13px;padding:9px 13px}
.jpp-home .jpp-city-note{font-size:10px;margin-top:5px!important;line-height:1.7}

/* Eight worlds in the exact two-row desktop composition. */
.jpp-home .jpp-ref-worlds{padding-top:10px;padding-bottom:27px}
.jpp-home .jpp-ref-world-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.jpp-home .jpp-ref-world{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;min-height:136px;overflow:hidden;padding:13px 15px;border:1px solid #384044;border-radius:7px;background:#192025}
.jpp-home .jpp-ref-world::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#030809f5,transparent 90%)}
.jpp-home .jpp-ref-world .jpp-ref-art{transition:transform .2s;filter:brightness(.77) saturate(.8)}
.jpp-home .jpp-ref-world span,.jpp-home .jpp-ref-world>svg{position:relative;z-index:2}
.jpp-home .jpp-ref-world span{font-size:15px;font-weight:700;line-height:1.6}
.jpp-home .jpp-ref-world>svg{width:18px;height:18px;color:var(--jpp-gold);margin-bottom:3px}
.jpp-home .jpp-ref-world:hover{border-color:var(--jpp-gold)}
.jpp-home .jpp-ref-world:hover .jpp-ref-art{transform:scale(1.04)}

/* Legacy progression right; team community left. */
.jpp-home .jpp-ref-community-band{padding-block:24px;border-block:1px solid #293235;background:linear-gradient(100deg,#0b1215,#071013 70%)}
.jpp-home .jpp-ref-community-grid{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:26px;align-items:stretch}
.jpp-home .jpp-ref-rank {
  display:flex;flex-direction:column;overflow:hidden;min-width:0;
  border:1px solid #374044;border-radius:7px;background:#0b1418;
}
.jpp-home .jpp-ref-rank-hero {
  position:relative;isolation:isolate;display:flex;align-items:center;
  flex:1 0 auto;min-height:235px;padding:clamp(16px,2.3vw,32px);
}
.jpp-home .jpp-ref-rank-hero>.jpp-ref-art {
  z-index:-2;object-fit:cover;object-position:67% 42%;transform:scaleX(-1);
}
.jpp-home .jpp-ref-rank-hero::after {
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to left,#0b1418 0%,#0b1418ed 20%,#0b141875 50%,transparent 70%),
    linear-gradient(to top,#0b1418,transparent 25%);
}
.jpp-home .jpp-ref-rank-copy {width:58%;margin-inline-end:auto;text-align:start}
.jpp-home .jpp-ref-rank h2 {font-size:clamp(20px,2.1vw,27px);line-height:1.55;text-wrap:balance}
.jpp-home .jpp-ref-rank-actions {display:flex;align-items:start;flex-direction:column;gap:6px;margin-block-start:12px}
.jpp-home .jpp-ref-rank-actions a {max-width:100%;min-height:40px;padding:6px 10px;background:#0b1418d9;border-color:#59605a}
.jpp-home .jpp-ref-rank-actions svg {flex:none;width:17px;height:17px;color:var(--jpp-gold)}
.jpp-home .jpp-ref-level-path {margin:0 clamp(12px,1.8vw,24px) 16px;padding:10px 14px;border:1px solid #444941;border-radius:7px;background:#101a1d;text-align:start}
.jpp-home .jpp-ref-level-path h3 {font-size:16px;line-height:1.6}
.jpp-home .jpp-level-intro {color:var(--jpp-muted);font-size:12px;margin:4px 0}
.jpp-home .jpp-level-preview {display:flex;align-items:center;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:8px 0 12px}
.jpp-home .jpp-level-badge {display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:3px 8px;border:1px solid #514830;border-radius:20px;font-size:12px;color:#f5dfaa;text-decoration:none}
.jpp-home .jpp-level-badge svg,.jpp-home .jpp-level-links svg {width:15px;height:15px;flex:none;color:var(--jpp-gold)}
.jpp-home .jpp-level-links {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.jpp-home .jpp-level-links a {display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;border:1px solid #4c514c;background:#1b2527;border-radius:6px;font-size:12px;color:var(--jpp-text);text-decoration:none}
.jpp-home .jpp-level-links a:hover,.jpp-home .jpp-level-badge:hover {border-color:var(--jpp-gold)}
.jpp-home .jpp-ref-disclosure{min-width:0;font-size:11px;color:var(--jpp-muted)}
.jpp-home .jpp-ref-disclosure summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;cursor:pointer;line-height:1.8}
.jpp-home .jpp-ref-disclosure summary::-webkit-details-marker{display:none}
.jpp-home .jpp-ref-disclosure summary::after{content:"+";font-size:15px;color:var(--jpp-gold)}
.jpp-home .jpp-ref-disclosure[open]>summary::after{content:"−"}
.jpp-home .jpp-ref-disclosure summary>svg{width:16px;height:16px}
.jpp-home .jpp-ref-disclosure>p{padding:12px;margin-block:3px 10px;border:1px solid #354044;border-radius:5px;background:#081115f2;color:#d6d9d9;line-height:2}
.jpp-home .jpp-ref-disclosure summary.jpp-button-primary{min-height:44px;color:#16140b;justify-content:center;font-size:12px}
.jpp-home .jpp-ref-disclosure summary.jpp-button-primary::after{color:#16140b}
.jpp-home .jpp-ref-rank-status>summary{justify-content:space-between;color:var(--jpp-gold)}
.jpp-home .jpp-ref-team{min-width:0;overflow:hidden;border:1px solid #374044;border-radius:7px;background:#0b1418}
.jpp-home .jpp-ref-team-picture{position:relative;height:185px;overflow:hidden}
.jpp-home .jpp-ref-team-picture .jpp-ref-art{object-position:50% 39%}
.jpp-home .jpp-ref-team-picture::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0b1418,transparent 55%)}
.jpp-home .jpp-ref-team-copy{position:relative;padding:0 20px 13px;margin-top:-15px;text-align:center}
.jpp-home .jpp-ref-team h2{font-size:27px;line-height:1.8}
.jpp-home .jpp-ref-small-links{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 14px;color:#d0d3d0;font-size:10px}
.jpp-home .jpp-ref-small-links span{display:inline-flex;align-items:center;gap:5px}
.jpp-home .jpp-ref-small-links svg{width:17px;height:17px;color:#ded5af}
.jpp-home .jpp-ref-team-copy>.jpp-button{min-height:44px;min-width:185px}
.jpp-home .jpp-ref-team .jpp-ref-disclosure>summary{max-width:220px;margin-inline:auto}
.jpp-home .jpp-ref-team-note{font-size:10px;color:#b4bdbc;margin-top:11px}
.jpp-home .jpp-ref-team .jpp-ref-inline-link{min-height:44px;font-size:11px}

/* Four compact cards, rendered by the shared canonical game-card API. */
.jpp-home .jpp-ref-experiences .jpp-ref-section-head{margin-bottom:0}
.jpp-home .jpp-ref-city-caption{font-size:11px;color:var(--jpp-muted)}
.jpp-home .jpp-ref-experience-types{display:flex;gap:9px;margin:12px 0 17px}
.jpp-home .jpp-ref-experience-types a{display:flex;align-items:center;justify-content:center;gap:8px;min-width:135px;min-height:44px;padding:6px 15px;border:1px solid #404544;border-radius:5px;font-size:12px;background:#121b1e}
.jpp-home .jpp-ref-experience-types a:first-child{color:var(--jpp-gold);border-color:#82713c}
.jpp-home .jpp-ref-experience-types a:hover{border-color:var(--jpp-gold)}
.jpp-home .jpp-ref-experience-types svg{width:18px;height:18px}
.jpp-home .jpp-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

.jpp-home .jpp-card-price-basis{padding:5px 3px 0;font-size:10px;line-height:1.7}
.jpp-home .jpp-more-row{margin-top:15px}
.jpp-home .jpp-more-row .jpp-button{min-height:44px;font-size:12px;padding:7px 17px}
.jpp-home .jpp-results-status{font-size:12px}

/* Editorial and council bands retain image-left / copy-right balance. */
.jpp-home .jpp-ref-media-band{border-block:1px solid #293235;background:#071013}
.jpp-home .jpp-ref-media-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.38fr);gap:26px;direction:ltr;min-height:310px}
.jpp-home .jpp-ref-media-inner>*{direction:rtl;min-width:0}
.jpp-home .jpp-ref-media-visual{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:center;min-height:280px;padding:18px 0}
.jpp-home .jpp-ref-media-visual .jpp-ref-art{z-index:-2;object-position:40% 40%}
.jpp-home .jpp-ref-media-visual::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#071013 0%,#07101310 55%),linear-gradient(270deg,#071013,transparent 20%)}
.jpp-home .jpp-ref-media-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;width:100%}
.jpp-home .jpp-ref-media-actions .jpp-button{min-width:155px;min-height:44px;padding:8px 12px;font-size:12px}
.jpp-home .jpp-ref-media-content{padding-block:20px 8px}
.jpp-home .jpp-ref-media-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}
.jpp-home .jpp-ref-media-cards>a{position:relative;isolation:isolate;display:block;height:180px;overflow:hidden;border:1px solid #43494a;border-radius:7px;background:#172126}
.jpp-home .jpp-ref-media-cards>a::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#040a0df5,transparent 90%)}
.jpp-home .jpp-ref-media-cards>a>span{position:absolute;inset:auto 10px 10px;z-index:2}
.jpp-home .jpp-ref-media-cards b{display:block;font-size:15px;line-height:1.7}
.jpp-home .jpp-ref-media-cards small{display:flex;align-items:center;gap:5px;color:#d3c9aa;font-size:10px;margin-top:4px}
.jpp-home .jpp-ref-media-cards small svg{width:13px;height:13px}
.jpp-home .jpp-ref-media-cards>a:hover{border-color:var(--jpp-gold)}
.jpp-home .jpp-ref-council-band{border-bottom:1px solid #293235;background:#081114}
.jpp-home .jpp-ref-council-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:25px;direction:ltr;min-height:190px}
.jpp-home .jpp-ref-council-inner>*{direction:rtl;min-width:0}
.jpp-home .jpp-ref-council-visual{position:relative;isolation:isolate;min-height:190px;overflow:hidden}
.jpp-home .jpp-ref-council-visual .jpp-ref-art{z-index:-2;object-position:45% 50%}
.jpp-home .jpp-ref-council-visual::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#081114,transparent 30%),linear-gradient(0deg,#08111433,#08111422)}
.jpp-home .jpp-ref-council-copy{padding-block:22px 10px}
.jpp-home .jpp-ref-council-copy>p{color:var(--jpp-muted);font-size:13px;margin-top:3px}
.jpp-home .jpp-ref-council-actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:16px}
.jpp-home .jpp-ref-council-actions .jpp-button{min-height:44px;padding:7px 14px;font-size:12px}
.jpp-home .jpp-ref-council-actions>span{display:inline-flex;align-items:center;gap:5px;min-height:38px;padding:5px 7px;border:1px solid #303b3f;border-radius:5px;font-size:10px;color:#d1d4cd}
.jpp-home .jpp-ref-council-actions>span svg{width:16px;height:16px;color:#e9dcae}

/* The two lower feature cards and the four builder tiles. */
.jpp-home .jpp-ref-learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-block:20px}
.jpp-home .jpp-ref-learning-card{position:relative;isolation:isolate;min-height:235px;overflow:hidden;padding:20px;border:1px solid #3e4547;border-radius:7px;background:#101a1e}
.jpp-home .jpp-ref-learning-card>.jpp-ref-art{z-index:-2;object-position:30% 45%}
.jpp-home .jpp-ref-learning-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#081115f5 8%,#081115c7 50%,#08111516)}
.jpp-home .jpp-ref-learning-card>div{width:63%}
.jpp-home .jpp-ref-learning-card h2{font-size:23px;white-space:nowrap}
.jpp-home .jpp-ref-learning-card ul{list-style:none;margin:12px 0 0;padding:0;color:#e2e1d9;font-size:12px}
.jpp-home .jpp-ref-learning-card li{display:flex;align-items:center;gap:8px;margin-top:5px}
.jpp-home .jpp-ref-learning-card li svg{width:17px;height:17px;color:var(--jpp-gold)}
.jpp-home .jpp-ref-learning-card .jpp-ref-disclosure{margin-top:8px}
.jpp-home .jpp-ref-learning-card .jpp-ref-disclosure summary{font-size:10px}
.jpp-home .jpp-ref-events>.jpp-ref-art{object-position:70% 45%}
.jpp-home .jpp-ref-events::after{background:linear-gradient(90deg,#081115f5 8%,#081115b8 50%,#08111515)}
.jpp-home .jpp-ref-events>div{width:55%;margin-inline-start:auto}
.jpp-home .jpp-ref-events .jpp-ref-disclosure summary{min-height:44px;width:max-content;max-width:100%;white-space:normal;padding:6px 12px;font-size:11px}
.jpp-home .jpp-ref-tools-band{padding-block:19px 7px;border-block:1px solid #2a3639;background:#081216}
.jpp-home .jpp-ref-tools-inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);gap:16px 20px;align-items:center}
.jpp-home .jpp-ref-tools-copy h2{font-size:24px}
.jpp-home .jpp-ref-tools-copy>p{font-size:12px;color:#c0c7c6;margin-top:4px}
.jpp-home .jpp-ref-tools-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.jpp-home .jpp-ref-tools-actions .jpp-button{min-height:44px;font-size:11px;padding:7px 11px;gap:7px}
.jpp-home .jpp-ref-tools-actions .jpp-button svg{width:16px;height:16px}
.jpp-home .jpp-ref-tool-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.jpp-home .jpp-ref-tool-cards>a{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:center;min-height:125px;overflow:hidden;padding:12px 6px;border:1px solid #3d474a;border-radius:6px;background:#162126;text-align:center}
.jpp-home .jpp-ref-tool-cards>a::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#02090ef5,transparent 100%)}
.jpp-home .jpp-ref-tool-cards>a>svg{position:absolute;inset:10px 10px auto auto;z-index:2;width:20px;height:20px;color:#f6e7b9}
.jpp-home .jpp-ref-tool-cards>a>span{position:relative;z-index:2;font-size:11px;font-weight:600;line-height:1.7}
.jpp-home .jpp-ref-tool-cards>a:hover{border-color:var(--jpp-gold)}
.jpp-home .jpp-ref-tools-status{grid-column:1/-1;margin-top:-10px}
.jpp-home .jpp-ref-tools-status>summary{justify-content:flex-end;font-size:10px;min-height:44px}
.jpp-home .jpp-ref-join-band{position:relative;isolation:isolate;overflow:hidden;background:#101b20}
.jpp-home .jpp-ref-join-band>.jpp-ref-art{z-index:-2;object-position:25% 45%;opacity:.6}
.jpp-home .jpp-ref-join-band::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#071014fa 18%,#071014b0 56%,#07101410)}
.jpp-home .jpp-ref-join-inner{min-height:130px;padding-block:22px}
.jpp-home .jpp-ref-join-inner h2{font-size:25px}
.jpp-home .jpp-ref-join-inner>div{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:10px}
.jpp-home .jpp-ref-join-inner p{font-size:11px;color:#c8cec9}
.jpp-home .jpp-ref-join-inner .jpp-button{min-height:44px;padding:8px 20px;font-size:12px}

/* The reference footer keeps the brand at the left of three clear link columns. */
.jpp-home .jpp-footer{margin-top:0;padding-block:25px 12px;border-top:2px solid var(--jlp-card-gold);background:#0c1010}
.jpp-home .jpp-ref-footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(200px,1.15fr);gap:36px;align-items:start}
.jpp-home .jpp-ref-footer-grid>*{min-width:0}
.jpp-home .jpp-ref-footer-brand{grid-column:4;grid-row:1;justify-self:end;width:100%;max-width:250px;text-align:left}
.jpp-home .jpp-ref-footer-brand .jpp-brand{align-items:flex-end;min-height:54px}
.jpp-home .jpp-ref-footer-brand .jpp-brand img{width:150px;height:54px}
.jpp-home .jpp-ref-footer-brand p{margin-top:12px;font-size:11px;line-height:2.1}
.jpp-home .jpp-ref-footer-grid>nav{display:flex;flex-direction:column;align-items:stretch;gap:0;font-size:12px}
.jpp-home .jpp-ref-footer-grid>nav h2{margin-bottom:7px;color:#e6e8e3;font-size:13px;line-height:1.9}
.jpp-home .jpp-ref-footer-grid>nav a{display:flex;align-items:center;min-height:44px;padding-block:5px;color:#b9c2c4;line-height:1.85}
.jpp-home .jpp-ref-footer-grid>nav a:hover{color:var(--jpp-gold)}
.jpp-home .jpp-ref-footer-base{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:54px;margin-top:18px;padding-top:9px;border-top:1px solid #1f2c30}
.jpp-home .jpp-ref-footer-base p{margin:0;font-size:10px;color:#9eaaae}
.jpp-home .jpp-ref-footer-base>a{display:inline-flex;align-items:center;gap:7px;min-width:44px;min-height:44px;font-size:11px;color:#bdc7c7}
.jpp-home .jpp-ref-footer-base>a:hover{color:var(--jpp-gold)}
.jpp-home .jpp-ref-footer-base>a svg{width:16px;height:16px;transform:rotate(90deg)}

@media(min-width:1440px){
 .jpp-home .jpp-ref-hero,.jpp-home .jpp-ref-hero-inner{min-height:480px}
 .jpp-home .jpp-ref-hero-copy{width:47%}
}
@media(max-width:1100px){
 .jpp-home .jpp-wrap{width:calc(100% - 44px)}
 .jpp-home .jpp-header-inner{grid-template-columns:145px minmax(0,1fr) auto;gap:18px;min-height:74px}
 .jpp-home .jpp-header .jpp-brand img{width:140px;height:50px}
 .jpp-home .jpp-desktop-nav{gap:16px;font-size:12px}
 .jpp-home .jpp-header .jpp-login{padding-inline:11px}
 .jpp-home .jpp-ref-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(180px,1.1fr);gap:24px}
 .jpp-home .jpp-ref-hero-copy{width:52%}
 .jpp-home .jpp-ref-hero h1{font-size:48px}
 .jpp-home .jpp-ref-eyebrow{font-size:12px}
 .jpp-home .jpp-ref-hero-lead{font-size:13px}
 .jpp-home .jpp-ref-roles a{font-size:12px;gap:9px}
 .jpp-home .jpp-search-main{grid-template-columns:145px 160px minmax(0,1fr) 140px}
 .jpp-home .jpp-search-main>.jpp-button{font-size:12px}
 .jpp-home .jpp-ref-world{min-height:112px;padding:12px}
 .jpp-home .jpp-ref-world span{font-size:13px}
 .jpp-home .jpp-ref-community-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px}
 .jpp-home .jpp-ref-rank h2,.jpp-home .jpp-ref-team h2{font-size:23px}
 .jpp-home .jpp-ref-team-copy{padding-inline:14px}
 .jpp-home .jpp-ref-small-links{font-size:9px;gap:4px}
 .jpp-home .jpp-ref-small-links svg{width:15px;height:15px}
 .jpp-home .jpp-ref-media-inner{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:18px}
 .jpp-home .jpp-ref-media-actions .jpp-button{min-width:125px;font-size:11px;padding:8px 10px}
 .jpp-home .jpp-ref-media-cards{gap:8px}
 .jpp-home .jpp-ref-media-cards b{font-size:13px}
 .jpp-home .jpp-ref-media-cards small{font-size:9px}
 .jpp-home .jpp-ref-council-actions{gap:7px}
 .jpp-home .jpp-ref-council-actions>span{font-size:9px;padding-inline:5px}
 .jpp-home .jpp-ref-learning-card{padding:16px}
 .jpp-home .jpp-ref-learning-card h2{font-size:20px}
 .jpp-home .jpp-ref-tools-inner{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
 .jpp-home .jpp-ref-tools-copy h2{font-size:21px}
 .jpp-home .jpp-ref-tool-cards>a>span{font-size:10px}
}
@media(min-width:801px) and (max-width:1024px){
 .jpp-home .jpp-header-inner{grid-template-columns:135px minmax(0,1fr) auto;gap:14px}
 .jpp-home .jpp-header .jpp-brand img{width:130px;height:48px}
 .jpp-home .jpp-desktop-nav{gap:12px;font-size:11px}
}
@media(max-width:800px){
 .jpp-home .jpp-wrap{width:calc(100% - 32px)}
 .jpp-home .jpp-header-inner{grid-template-columns:minmax(0,1fr) auto;gap:18px;min-height:72px}
 .jpp-home .jpp-header .jpp-brand img{width:132px;height:48px}
 .jpp-home .jpp-desktop-nav{display:none}
 .jpp-home .jpp-header .jpp-login{min-height:44px;font-size:12px;padding-inline:12px}
 .jpp-home .jpp-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
 .jpp-home .jpp-ref-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 30px}
 .jpp-home .jpp-ref-footer-brand{grid-column:2;grid-row:2;max-width:250px}
 .jpp-home .jpp-ref-hero,.jpp-home .jpp-ref-hero-inner{min-height:400px}
 .jpp-home .jpp-ref-hero-copy{width:61%;padding-inline-end:14px}
 .jpp-home .jpp-ref-hero h1{font-size:41px}
 .jpp-home .jpp-ref-hero-lead{font-size:12px}
 .jpp-home .jpp-ref-hero-actions{gap:10px}
 .jpp-home .jpp-ref-hero-actions .jpp-button{min-width:140px;font-size:12px;padding:9px 12px}
 .jpp-home .jpp-ref-roles{gap:8px}
 .jpp-home .jpp-ref-roles a{flex-direction:column;gap:4px;min-height:71px;padding:8px 5px;font-size:11px}
 .jpp-home .jpp-ref-roles svg{width:22px;height:22px}
 .jpp-home .jpp-search-main{grid-template-columns:1fr 1fr}
 .jpp-home .jpp-search-main>.jpp-search-field{grid-column:1/-1}
 .jpp-home .jpp-search-main>.jpp-button{grid-column:1/-1}
 .jpp-home .jpp-ref-world{min-height:103px;padding:10px;gap:5px}
 .jpp-home .jpp-ref-world span{font-size:11px}
 .jpp-home .jpp-ref-world>svg{width:15px;height:15px}
 .jpp-home .jpp-ref-community-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px}
 .jpp-home .jpp-ref-rank{min-height:380px}
 .jpp-home .jpp-ref-rank h2,.jpp-home .jpp-ref-team h2{font-size:20px}
 .jpp-home .jpp-ref-team-picture{height:165px}
 .jpp-home .jpp-ref-team-copy{padding-inline:10px}
 .jpp-home .jpp-ref-small-links{flex-wrap:wrap;justify-content:center;gap:5px 10px}
 .jpp-home .jpp-ref-team-note{font-size:9px}
 .jpp-home .jpp-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .jpp-home .jpp-ref-media-inner{grid-template-columns:1fr;gap:0}
 .jpp-home .jpp-ref-media-visual{order:2;min-height:230px;max-width:550px;width:100%;margin-inline:auto}
 .jpp-home .jpp-ref-media-visual::after{background:linear-gradient(0deg,#071013,transparent 75%),linear-gradient(90deg,#071013,transparent 20%,transparent 80%,#071013)}
 .jpp-home .jpp-ref-media-content{padding-bottom:0}
 .jpp-home .jpp-ref-media-cards{gap:12px}
 .jpp-home .jpp-ref-media-cards>a{height:205px}
 .jpp-home .jpp-ref-media-cards b{font-size:15px}
 .jpp-home .jpp-ref-council-inner{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px}
 .jpp-home .jpp-ref-council-actions>span{display:none}
 .jpp-home .jpp-ref-learning-card{min-height:245px}
 .jpp-home .jpp-ref-learning-card>div,.jpp-home .jpp-ref-events>div{width:100%}
 .jpp-home .jpp-ref-learning-card::after,.jpp-home .jpp-ref-events::after{background:linear-gradient(270deg,#081115ed,#0811159e)}
 .jpp-home .jpp-ref-learning-card h2{font-size:19px;white-space:normal}
 .jpp-home .jpp-ref-tools-inner{grid-template-columns:1fr;gap:16px}
 .jpp-home .jpp-ref-tool-cards>a{min-height:155px}
 .jpp-home .jpp-ref-tool-cards>a>span{font-size:12px}
 .jpp-home .jpp-ref-tools-status{margin-top:0}
}
@media(max-width:540px){
 .jpp-home .jpp-wrap{width:calc(100% - 26px)}
 .jpp-home .jpp-header-inner{min-height:68px;gap:14px}
 .jpp-home .jpp-header .jpp-brand img{width:122px;height:46px}
 .jpp-home .jpp-header .jpp-login{min-height:44px;gap:6px;padding:7px 10px;font-size:11px}
 .jpp-home .jpp-ref-footer-grid{gap:22px 18px}
 .jpp-home .jpp-ref-footer-grid>nav h2{font-size:12px}
 .jpp-home .jpp-ref-footer-grid>nav a{font-size:11px}
 .jpp-home .jpp-ref-footer-brand .jpp-brand img{width:118px;height:46px}
 .jpp-home .jpp-ref-footer-brand p{font-size:10px}
 .jpp-home .jpp-ref-footer-base{align-items:flex-start;flex-direction:column;gap:0;margin-top:14px}
 .jpp-home .jpp-ref-section{padding-block:20px}
 .jpp-home .jpp-ref-section-head{gap:12px;margin-bottom:13px}
 .jpp-home h2{font-size:22px}
 .jpp-home .jpp-ref-hero{min-height:510px}
 .jpp-home .jpp-ref-hero-art{height:340px;object-position:30% 20%}
 .jpp-home .jpp-ref-hero::after{background:linear-gradient(0deg,#060d10 0%,#060d10fc 24%,#060d10b8 56%,#060d1000 100%)}
 .jpp-home .jpp-ref-hero-inner{min-height:510px;align-items:flex-end;padding-block:180px 30px}
 .jpp-home .jpp-ref-hero-copy{width:100%;padding-inline-end:0}
 .jpp-home .jpp-ref-eyebrow{font-size:11px;margin-bottom:9px}
 .jpp-home .jpp-ref-hero h1{font-size:39px;line-height:1.45;letter-spacing:-1px}
 .jpp-home .jpp-ref-hero-lead{font-size:11px;line-height:2.15;margin-top:13px;max-width:350px}
 .jpp-home .jpp-ref-hero-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:19px;gap:10px}
 .jpp-home .jpp-ref-hero-actions .jpp-button{min-width:0;min-height:44px;padding:9px 7px;font-size:12px}
 .jpp-home .jpp-ref-entry{padding-bottom:12px;margin-top:0}
 .jpp-home .jpp-ref-roles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px}
 .jpp-home .jpp-ref-roles a{min-height:66px;font-size:11px}
 .jpp-home .jpp-ref-roles a:nth-child(4),.jpp-home .jpp-ref-roles a:nth-child(5){min-height:52px;flex-direction:row;gap:7px}
 .jpp-home .jpp-ref-roles a:nth-child(5){grid-column:2/4}
 .jpp-home .jpp-search-main{grid-template-columns:1fr 1fr;gap:8px}
 .jpp-home .jpp-search-main>.jpp-search-field,.jpp-home .jpp-search-main>.jpp-button{grid-column:1/-1}
 .jpp-home .jpp-search-main>.jpp-button{margin:0}
 .jpp-home .jpp-search-form{padding:9px 9px 7px}
 .jpp-home .jpp-search-field,.jpp-home .jpp-city-field,.jpp-home .jpp-category-field{padding:0 8px;border:1px solid #303a3e}
 .jpp-home .jpp-search-main input,.jpp-home .jpp-search-main select{font-size:11px}
 .jpp-home .jpp-search-main select{padding-inline-end:3px}
 .jpp-home .jpp-city-note{font-size:9px;line-height:1.9}
 .jpp-home .jpp-ref-worlds{padding-top:9px;padding-bottom:22px}
 .jpp-home .jpp-ref-world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .jpp-home .jpp-ref-world{min-height:110px;padding:11px 10px}
 .jpp-home .jpp-ref-world span{font-size:12px}
 .jpp-home .jpp-ref-community-band{padding-block:20px}
 .jpp-home .jpp-ref-community-grid{grid-template-columns:1fr;gap:20px}
 .jpp-home .jpp-ref-rank{min-height:350px}
 .jpp-home .jpp-ref-rank h2{font-size:23px}
 .jpp-home .jpp-ref-rank-status>summary{font-size:11px}
 .jpp-home .jpp-ref-team-picture{height:180px}
 .jpp-home .jpp-ref-team-copy{padding-inline:17px;padding-bottom:16px}
 .jpp-home .jpp-ref-team h2{font-size:25px}
 .jpp-home .jpp-ref-small-links{justify-content:space-between;font-size:10px;margin-block:11px 15px}
 .jpp-home .jpp-ref-team-note{font-size:10px}
 .jpp-home .jpp-ref-experiences .jpp-ref-section-head{align-items:flex-start;gap:8px}
 .jpp-home .jpp-ref-experiences h2{font-size:21px}
 .jpp-home .jpp-ref-experiences .jpp-ref-inline-link{font-size:10px;gap:4px;max-width:115px;line-height:1.9}
 .jpp-home .jpp-ref-experience-types{margin-top:11px}
 .jpp-home .jpp-ref-experience-types a{font-size:11px;min-width:115px;min-height:44px;padding:6px 11px}
 .jpp-home .jpp-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .jpp-home .jpp-card-price-basis{font-size:9px;padding-top:4px}
 .jpp-home .jpp-ref-media-content{padding-top:20px}
 .jpp-home .jpp-ref-media-cards{gap:8px;margin-top:13px}
 .jpp-home .jpp-ref-media-cards>a{height:160px}
 .jpp-home .jpp-ref-media-cards>a>span{inset-inline:7px;bottom:8px}
 .jpp-home .jpp-ref-media-cards b{font-size:12px}
 .jpp-home .jpp-ref-media-cards small{font-size:8px;gap:3px}
 .jpp-home .jpp-ref-media-cards small svg{width:11px;height:11px}
 .jpp-home .jpp-ref-media-visual{min-height:215px}
 .jpp-home .jpp-ref-media-actions .jpp-button{min-width:145px;min-height:44px;font-size:11px}
 .jpp-home .jpp-ref-council-inner{grid-template-columns:1fr;gap:0}
 .jpp-home .jpp-ref-council-copy{padding-top:19px;padding-bottom:4px}
 .jpp-home .jpp-ref-council-visual{order:2;min-height:170px}
 .jpp-home .jpp-ref-council-visual::after{background:linear-gradient(0deg,#081114,transparent 70%),linear-gradient(90deg,#081114,transparent 22%,transparent 80%,#081114)}
 .jpp-home .jpp-ref-council-actions{gap:8px;margin-top:13px}
 .jpp-home .jpp-ref-council-actions>span{display:inline-flex;font-size:9px;min-height:36px}
 .jpp-home .jpp-ref-council-actions>span:last-child{display:none}
 .jpp-home .jpp-ref-learning-grid{grid-template-columns:1fr;gap:14px}
 .jpp-home .jpp-ref-learning-card{min-height:220px;padding:17px}
 .jpp-home .jpp-ref-learning-card>div{width:67%}
 .jpp-home .jpp-ref-learning-card::after{background:linear-gradient(270deg,#081115f5 8%,#081115bd 50%,#08111520)}
 .jpp-home .jpp-ref-learning-card h2{font-size:22px;white-space:normal}
 .jpp-home .jpp-ref-learning-card ul{font-size:11px}
 .jpp-home .jpp-ref-learning-card .jpp-ref-disclosure summary{font-size:9px}
 .jpp-home .jpp-ref-events>div{width:57%}
 .jpp-home .jpp-ref-events::after{background:linear-gradient(90deg,#081115f5 8%,#081115bd 55%,#08111520)}
 .jpp-home .jpp-ref-events .jpp-ref-disclosure summary{font-size:11px}
 .jpp-home .jpp-ref-tools-copy h2{font-size:22px}
 .jpp-home .jpp-ref-tool-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .jpp-home .jpp-ref-tool-cards>a{min-height:135px}
 .jpp-home .jpp-ref-tool-cards>a>span{font-size:12px}
 .jpp-home .jpp-ref-tools-status>summary{justify-content:flex-start;font-size:10px}
 .jpp-home .jpp-ref-join-inner{min-height:190px;padding-block:23px}
 .jpp-home .jpp-ref-join-inner h2{max-width:85%;font-size:23px}
 .jpp-home .jpp-ref-join-inner>div{align-items:flex-start;flex-direction:column;gap:8px}
 .jpp-home .jpp-ref-join-inner p{font-size:10px}
}
@media(max-width:360px){
 .jpp-home .jpp-header .jpp-brand img{width:112px;height:44px}
 .jpp-home .jpp-ref-hero h1{font-size:35px}
 .jpp-home .jpp-ref-roles a{font-size:10px}
 .jpp-home .jpp-ref-world span{font-size:11px}
 .jpp-home .jpp-ref-rank h2{font-size:21px}
 .jpp-home .jpp-ref-team h2{font-size:23px}
 .jpp-home .jpp-ref-experiences .jpp-ref-section-head{flex-direction:column;gap:0}
 .jpp-home .jpp-ref-experiences .jpp-ref-inline-link{max-width:none;min-height:44px}
 .jpp-home .jpp-ref-media-actions .jpp-button{min-width:120px}
 .jpp-home .jpp-ref-learning-card h2{font-size:19px}
}

.jpp-home .jpp-header{position:absolute;inset:0 0 auto;z-index:5;background:linear-gradient(#061015c9,transparent);border:0}
.jpp-home .jpp-ref-hero-inner{padding-top:90px}

.jpp-home .jpp-search-form {padding:10px;background:#111a1d;border:1px solid #414848;border-inline-start:3px solid var(--jlp-card-gold);border-radius:8px}
.jpp-home .jpp-search-main {
  display:grid;grid-template-columns:clamp(92px,9vw,126px) minmax(0,1fr) clamp(130px,13vw,180px) 44px;
  grid-template-areas:"city types query submit";align-items:center;gap:8px;
}
.jpp-home .jpp-search-main>.jpp-city-field {grid-area:city}
.jpp-home .jpp-search-main>.jpp-search-field {grid-area:query}
.jpp-home .jpp-search-main>.jpp-search-field>svg {display:none}
.jpp-home .jpp-search-main>.jpp-search-submit {
  grid-area:submit;display:grid;place-items:center;width:44px;height:44px;min-height:44px;
  padding:0;margin:0;border-radius:8px;cursor:pointer;
}
.jpp-home .jpp-search-submit svg {display:block;width:20px;height:20px}
.jpp-home .jpp-type-buttons {
  grid-area:types;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:2px 6px;padding:0;border:0;margin:0;min-width:0;
}
.jpp-home .jpp-type-choice {position:relative;display:inline-flex;cursor:pointer;margin:0}
.jpp-home .jpp-type-choice input {position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.jpp-home .jpp-type-choice span {display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;min-height:44px;line-height:1.5;color:#e8e3d9;border:0;border-block-end:2px solid transparent;background:transparent;border-radius:3px;font-size:12px;white-space:nowrap}
.jpp-home .jpp-type-choice input:checked+span {color:#ffe49a;background:#28271f;border-block-end-color:var(--jlp-card-gold);font-weight:700}
.jpp-home .jpp-type-choice:hover span {background:#242c2c;color:#fff}
.jpp-home .jpp-type-choice input:focus-visible+span {outline:2px solid var(--jpp-gold);outline-offset:2px}
.jpp-home .jpp-city-note {display:none}
.jpp-site.jpp-home .jpp-map-panel {position:relative;padding:0;margin-block:6px 12px;border-radius:12px;background:#162226;overflow:hidden;min-height:74px}
.jpp-site.jpp-home .jpp-map-panel .jpp-map-heading {position:absolute;z-index:3;inset-block-start:12px;inset-inline-start:10px;max-width:calc(100% - 20px)}
.jpp-home .jpp-map-heading>div:first-child,.jpp-home .jpp-map-privacy {display:none}
.jpp-site.jpp-home .jpp-map-actions {gap:6px;flex-wrap:nowrap}
.jpp-site.jpp-home .jpp-map-actions .jpp-button {font-size:12px;line-height:1.4;min-height:44px;min-width:0;padding:6px 10px;color:#fff5d9;background:rgba(13,25,28,.83);border:1px solid #b9a578;border-radius:9px;backdrop-filter:blur(5px)}
.jpp-home .jpp-map-actions .jpp-button:hover {border-color:var(--jpp-gold)}
.jpp-home [data-map-body] {display:flex;flex-direction:column}
.jpp-home .jpp-map-layout {order:-1;display:block;min-height:74px}
.jpp-home .jpp-map-panel .jpp-map-canvas {height:clamp(240px,42vh,400px);min-height:0;border:0;border-radius:0}
.jpp-site.jpp-home .jpp-map-preview .jpp-map-canvas {height:74px}
.jpp-home .jpp-map-preview .leaflet-control-zoom,.jpp-home .jpp-map-preview .jpp-map-hint,.jpp-home .jpp-map-preview .jpp-map-toolbar,.jpp-home .jpp-map-preview .jpp-map-results,.jpp-home .jpp-map-preview .jpp-map-more {display:none}
.jpp-home .jpp-map-preview .jpp-map-canvas[hidden]+.jpp-map-results {display:block;padding-inline:12px}
.jpp-home .jpp-map-preview .jpp-map-canvas[hidden]+.jpp-map-results p:not([hidden]) {padding-top:60px;margin:0 0 6px}
.jpp-home .jpp-map-preview .jpp-map-results h3,.jpp-home .jpp-map-preview .jpp-map-results ul {display:none}
.jpp-home .jpp-map-preview .jpp-map-more:has(button:not([hidden])) {display:flex}
.jpp-home .jpp-map-toolbar,.jpp-home .jpp-map-hint,.jpp-home .jpp-map-more,.jpp-home .jpp-map-warning {margin:4px 10px;padding-block:4px}
.jpp-home .jpp-map-panel:not(.jpp-map-preview) .jpp-map-results {max-height:260px;padding:8px 12px}
.jpp-home .jpp-map-panel:not(.jpp-map-preview) .jpp-map-layout:has(.jpp-map-canvas[hidden]) {padding-block-start:64px}
.jpp-home .jpp-map-preview .jpp-map-poster-pin>div {scale:.65;transform-origin:50% 100%}
.jpp-home .jpp-featured {padding-block:10px 20px}
.jpp-home .jpp-featured .jpp-section-title {display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}
.jpp-home .jpp-featured .jpp-section-title h2 {font-size:clamp(18px,2vw,25px);margin:0}
.jpp-home .jpp-featured [data-results-status] {font-size:11px;line-height:1.5;margin:2px 0 6px}
.jpp-home .jpp-featured .jpp-results-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:clamp(8px,1vw,14px);margin-top:6px}
.jpp-home .jpp-featured .jpp-card-wrap {position:relative;min-width:0;container-type:inline-size}
.jpp-home .jpp-featured .jlp-premium-game-card-v4 {width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important}
.jpp-home .jpp-featured .jlp-premium-media {width:100%!important;height:auto!important;min-height:0!important}
.jpp-home .jpp-featured .jlp-premium-media>img {position:absolute!important;inset:0}
/* Pin these to physical poster corners across both RTL and LTR badge contents. */
.jpp-home .jpp-featured .jlp-premium-badges {
  inset:8px auto auto 8px!important;width:auto!important;max-width:calc(50% - 10px);
  gap:4px!important;flex-wrap:wrap;pointer-events:none;
}
.jpp-home .jpp-featured .jlp-premium-badge {
  min-width:0!important;max-width:100%;height:25px!important;min-height:25px!important;
  padding:2px 6px!important;background:#141410c9!important;gap:4px!important;
}
.jpp-home .jpp-featured .jlp-badge-city b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important;font-weight:600!important}
.jpp-home .jpp-featured .jlp-premium-age-badge {
  inset:auto auto 8px 8px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;
  font-size:12px!important;background:#141410c9!important;
}
.jpp-home .jpp-featured .jpp-card-rating {
  position:absolute;z-index:2;inset:8px 8px auto auto;max-width:calc(50% - 10px);margin:0;padding:3px 7px;
  border-radius:6px;background:#171810ef;color:#f6dc93;font-size:11px;line-height:1.5;pointer-events:none;
}
.jpp-home .jpp-featured .jpp-unrated {color:#ebe8dc}
.jpp-home .jpp-featured .jpp-card-wrap:has(>.jpp-card-rating) .jlp-badge-rating {display:none!important}

.jpp-home .jpp-featured .jlp-premium-specbox>div {grid-template-columns:minmax(0,1fr) 23px!important;column-gap:4px!important;padding-inline:4px!important}
.jpp-home .jpp-featured .jlp-premium-specbox img.jlp-card-spec-icon {
  width:23px!important;min-width:23px!important;max-width:23px!important;height:23px!important;min-height:23px!important;max-height:23px!important
}
.jpp-home .jpp-featured .jlp-premium-specbox>div span {
  max-width:100%;font-size:12px!important;line-height:1.45!important;font-weight:400!important;white-space:normal!important;overflow-wrap:break-word;
}
.jpp-home .jpp-featured .jlp-premium-cta {font-size:12px!important;line-height:1.6!important;padding-block:6px!important}
.jpp-home .jpp-featured .jlp-premium-footer {grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr)!important;column-gap:0!important}
.jpp-home .jpp-featured .jlp-premium-book {
  isolation:isolate;min-width:61px!important;max-width:74px!important;height:44px!important;min-height:44px!important;
  padding:0 7px!important;gap:4px!important;background:transparent!important;box-shadow:none!important;border:0!important;
}
.jpp-home .jpp-featured .jlp-premium-book::before {
  content:""!important;position:absolute;inset:7px 0;z-index:-1;border-radius:20px;background:var(--jpp-gold);pointer-events:none;
}
.jpp-home .jpp-featured .jlp-premium-book b {font-size:12px!important;line-height:1.4!important;font-weight:600!important}
.jpp-home .jpp-featured .jlp-premium-book svg {width:14px!important;min-width:14px!important;height:14px!important}
.jpp-home .jpp-featured .jlp-premium-price {font-size:11px!important;gap:3px!important}
.jpp-home .jpp-featured .jlp-premium-price strong {font-size:15px!important;font-weight:600!important}
.jpp-home .jpp-featured .jlp-premium-teaser-footer b {font-size:12px!important;font-weight:600!important}

@container (max-width:285px) {
  .jpp-home .jpp-featured .jlp-premium-price {display:flex!important;flex-wrap:wrap;justify-content:flex-start;max-width:100%}
  .jpp-home .jpp-featured .jlp-premium-specbox>div {column-gap:3px!important;padding-inline:3px!important}
}

@media(max-width:1099px){
 .jpp-home .jpp-search-main {grid-template-columns:minmax(92px,135px) minmax(0,1fr) 44px;grid-template-areas:"city query submit" "types types types"}
 .jpp-home .jpp-type-buttons {justify-content:flex-start}
}
@media(max-width:1019px){.jpp-home .jpp-featured .jpp-results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:840px){.jpp-home .jpp-featured .jpp-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){
 .jpp-home .jpp-ref-community-grid {grid-template-columns:1fr}
 .jpp-home .jpp-ref-rank-hero {min-height:210px}
 .jpp-home .jpp-ref-rank-actions a {font-size:12px}
}
@media(max-width:580px){
 .jpp-home .jpp-search-main {grid-template-columns:minmax(76px,.75fr) minmax(100px,1.25fr) 44px;gap:6px}
 .jpp-home .jpp-type-choice span{font-size:11px;padding:5px 8px}
 .jpp-site.jpp-home .jpp-map-actions .jpp-button{font-size:11px;padding-inline:8px}
 .jpp-home .jpp-featured .jpp-results-grid {grid-template-columns:minmax(0,1fr)}
 .jpp-home .jpp-featured .jpp-card-wrap {width:100%;max-width:390px;justify-self:center}
}
