/* Existing dashboard-managed banners remain separate from the editable hero. */
.hp-managed-banners{position:relative;max-width:1120px;margin:12px auto;border-radius:10px;overflow:hidden}
.hp-managed-slide{position:relative}.hp-managed-slide[hidden]{display:none}.hp-managed-slide img{display:block;width:100%;height:auto;max-height:220px;object-fit:cover}.hp-managed-slide span{position:absolute;bottom:12px;left:16px;padding:8px 12px;background:var(--primary);color:#fff;border-radius:6px;font-size:12px}
.hp-managed-controls{position:absolute;right:12px;bottom:12px;display:flex;gap:6px}.hp-managed-controls button{background:white;color:var(--primary);border:1px solid #dde5f0;border-radius:6px;width:32px;height:32px;cursor:pointer}
*{box-sizing:border-box}body.hp{margin:0;font-family:'Poppins','Segoe UI',system-ui,sans-serif;background:#f2f6fd;color:#16213e;font-size:14px;overflow-x:clip}
.hp a{text-decoration:none;color:inherit}
.hp-top{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 2px 10px rgba(13,27,76,.12);display:flex;align-items:center;gap:10px;padding:8px 14px 8px 12px;height:62px}
.hp-logo{display:flex;align-items:center;gap:6px;flex-shrink:0;width:170px}
.hp-logo img{height:52px;width:auto}.hp-logo b{font-size:21px;color:var(--navy);line-height:1}.hp-logo b i{font-style:normal;color:var(--green)}
.hp-logo small{display:block;font-size:8.5px;color:#555;font-weight:500;margin-top:2px}
.hp-nav{display:flex;gap:2px;flex:1;align-items:center;min-width:0}
.hp-nav a{padding:7px 10px;border-radius:7px;font-weight:500;font-size:12.5px;white-space:nowrap}
.hp-nav a.on,.hp-nav a:hover{background:var(--primary);color:#fff}
.hp-right{display:flex;gap:8px;align-items:center;flex-shrink:0}
.hp-right>a{border:1px solid #d6dff5;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;background:#fff;display:flex;gap:6px;align-items:center}
.hp-right a small{display:block;font-weight:400;font-size:9px;color:#666}
.hp-right .post{background:var(--accent);color:#fff;border-color:var(--accent)}
.hp-burger{display:none;background:var(--primary);color:#fff;border:0;border-radius:8px;padding:8px 12px;font-weight:600}
.hp-hero{position:relative;background:var(--navy) center/cover no-repeat;min-height:520px;padding:26px 24px 0}
.hp-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0) 40%);pointer-events:none}
.hp-hero>*{position:relative}
.hp-ht{text-align:center;margin-left:14%;margin-right:20%}
.hp-ht h1{margin:0;font-size:clamp(26px,4vw,46px);font-weight:800;color:var(--navy);text-shadow:0 2px 0 #fff}
.hp-ht h1 em{font-style:normal;color:var(--primary)}.hp-ht h1 u{text-decoration:none;color:var(--green)}
.hp-ht p{margin:4px 0 12px;font-size:clamp(13px,1.6vw,18px);font-weight:700;color:var(--navy);background:rgba(255,255,255,.55);display:inline-block;padding:2px 12px;border-radius:20px}
.hp-ben{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;font-size:11.5px;font-weight:600;color:var(--navy)}
.hp-ben span{display:flex;gap:6px;align-items:center;background:rgba(255,255,255,.7);padding:4px 10px;border-radius:20px}
.hp-ben i{color:var(--primary);font-size:17px}
.hp-script{position:absolute;right:20%;top:90px;font-family:'Brush Script MT',cursive;font-size:30px;color:var(--navy);width:150px;text-align:center;line-height:1.1;transform:rotate(-8deg)}
.hp-cities{position:absolute;right:24px;top:90px;width:170px;background:rgba(255,255,255,.88);border-radius:12px;padding:10px 14px;font-weight:600;font-size:12px;line-height:1.7}
.hp-cities h4{margin:0 0 3px;font-size:12px;color:var(--primary)}.hp-cities a{display:block}.hp-cities a:hover{color:var(--accent)}
.hp-cities .more{margin-top:6px;background:#ffd23f;border-radius:6px;text-align:center;padding:2px}
.hp-sbox{position:relative;margin:190px auto 0;max-width:700px;margin-left:21%}
.hp-tabs{display:flex;gap:2px;align-items:flex-end}
.hp-tabs button{border:0;background:rgba(255,255,255,.9);padding:9px 16px;border-radius:10px 10px 0 0;font-weight:600;font-size:12.5px;cursor:pointer;color:#333}
.hp-tabs button.on{background:var(--primary);color:#fff;padding:12px 24px;font-size:14px}
.hp-tabs .adv{margin-left:auto;background:#fff;color:var(--primary)}
.hp-sform{background:rgba(255,255,255,.95);border-radius:0 12px 12px 12px;padding:14px;display:grid;grid-template-columns:repeat(3,1fr) 1.2fr;gap:8px;box-shadow:0 10px 30px rgba(13,27,76,.25)}
.hp-f{border:1px solid #d6dff5;border-radius:8px;padding:5px 8px;background:#fff}
.hp-f label{display:block;font-size:10px;color:#667;font-weight:600}.hp-f select,.hp-f input{width:100%;border:0;outline:0;font:600 12px inherit;background:transparent;padding:2px 0}
.hp-go{background:linear-gradient(180deg,#ff8a3d,var(--accent));color:#fff;border:0;border-radius:8px;font-weight:700;font-size:15px;cursor:pointer}
.hp-pop{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;font-size:11px;align-items:center}
.hp-pop a{background:#eef3ff;color:var(--primary);border:1px solid #cbd8f7;border-radius:12px;padding:2px 9px;font-weight:600}
.hp-wrap{max-width:1500px;margin:0 auto;padding:0 12px}
.hp-stats{display:flex;gap:8px;margin:14px 0;align-items:stretch}
.hp-st{flex:1;background:#fff;border-radius:10px;padding:9px 10px;display:flex;align-items:center;gap:8px;box-shadow:0 2px 8px rgba(13,27,76,.08)}
.hp-st i{font-size:28px;color:var(--primary)}.hp-st:nth-child(2n) i{color:var(--accent)}.hp-st:nth-child(3n) i{color:var(--green)}
.hp-st b{font-size:18px;display:block;line-height:1.1;color:var(--navy)}.hp-st span{font-size:10.5px;color:#556}
.hp-lb{flex:1.7;background:linear-gradient(90deg,#0e5a2c,#2c9a4b);color:#fff;border-radius:10px;padding:10px 16px;display:flex;align-items:center;gap:12px;justify-content:space-between}
.hp-lb b{font-size:20px;display:block}.hp-lb span{font-size:11px}.hp-lb i{background:#ffd23f;color:#000;width:34px;height:34px;border-radius:50%;display:grid;place-items:center}
.hp-h{display:flex;align-items:center;gap:14px;margin:18px 0 8px}.hp-h h2{margin:0;font-size:20px;color:var(--navy)}.hp-h h2 em{font-style:normal;color:var(--primary)}.hp-h .all{margin-left:auto;color:var(--primary);font-weight:600;font-size:12px}
.hp-cats{display:flex;gap:10px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}.hp-cats::-webkit-scrollbar{display:none}
.hp-cat{flex:0 0 calc((100% - 90px)/10);min-width:120px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 6px rgba(13,27,76,.1);text-align:center;font-size:11.5px;font-weight:600}
.hp-cat img{width:100%;height:68px;object-fit:cover;display:block}.hp-cat span{display:block;padding:6px 4px}
.hp-arr{border:0;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.3);border-radius:50%;width:28px;height:28px;cursor:pointer}
.hp-main{display:grid;grid-template-columns:1fr 215px;gap:12px;align-items:start}
.hp-ptabs{display:flex;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #cdd9f5}
.hp-ptabs button{border:0;background:#fff;padding:6px 14px;font-weight:600;font-size:12px;cursor:pointer}.hp-ptabs button.on{background:var(--primary);color:#fff}
.hp-pan{display:none;grid-template-columns:repeat(5,1fr);gap:10px}.hp-pan.on{display:grid}
.hp-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(13,27,76,.12);font-size:11px;display:flex;flex-direction:column}
.hp-img{position:relative;height:100px;background:#dfe8f8}.hp-img img{width:100%;height:100%;object-fit:cover;display:block}.hp-noimg{display:block;height:100%;background:linear-gradient(135deg,#1f4fd8,#6f9cf0)}
.hp-badge{position:absolute;left:6px;top:6px;background:var(--green);color:#fff;font-weight:700;font-size:10px;padding:2px 8px;border-radius:4px}
.b-featured{background:#f4b400;color:#222}.b-urgent{background:#e5322d}.b-premium{background:#8a2be2}
.hp-heart{position:absolute;right:6px;top:6px;border:0;background:#fff;width:22px;height:22px;border-radius:50%;cursor:pointer;color:#e5322d;font-size:11px}.hp-heart.on i:before{content:"\f415"}
.hp-body{padding:7px 8px;flex:1}.hp-body h3{margin:0;font-size:12px}.hp-loc{color:#667;margin:2px 0 4px;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp-loc i{color:var(--accent)}
.hp-row{display:flex;justify-content:space-between;gap:4px;align-items:flex-end}.hp-row strong{font-size:14px;color:var(--navy)}.hp-row span{font-size:10px;color:#556;text-align:right}
.hp-btns{display:flex;gap:4px;padding:0 6px 7px}.hp-btns a{flex:1;text-align:center;color:#fff;border-radius:4px;padding:5px 2px;font-size:10.5px;font-weight:600}
.hp-btns .g{background:var(--green)}.hp-btns .w{background:#1ca05a}.hp-btns .d{background:var(--primary)}
.hp-empty{grid-column:1/-1;padding:30px;text-align:center;background:#fff;border-radius:8px}
.hp-promo{background:linear-gradient(180deg,#1f4fd8,#0d2f9c);color:#fff;border-radius:10px;padding:14px 12px 0;text-align:center;overflow:hidden;position:relative}
.hp-promo h3{margin:0;font-size:19px;line-height:1.2}.hp-promo h3 small{display:block;font-size:15px;font-weight:600}.hp-promo h3 b{color:#ffd23f}
.hp-promo ul{list-style:none;padding:0;margin:8px 0;text-align:left;font-size:11.5px}.hp-promo li:before{content:"\2713 ";color:#7dffa1}
.hp-promo img{width:100%;height:120px;object-fit:cover;object-position:top;margin-top:4px;border-radius:8px}
.hp-promo a.btn{display:block;background:var(--accent);margin:8px 0 12px;padding:8px;border-radius:6px;font-weight:700;font-size:12px}
.hp-foot{background:var(--navy);color:#c9d3f5;margin-top:24px;padding:20px 12px;text-align:center;font-size:12px}.hp-foot nav{display:flex;gap:16px;justify-content:center;margin:8px 0;flex-wrap:wrap}
.hp-modal{position:fixed;inset:0;background:rgba(13,27,76,.7);z-index:100;display:none;align-items:center;justify-content:center;padding:16px}.hp-modal.on{display:flex}
.hp-mbox{background:#fff;border-radius:14px;padding:24px;max-width:400px;width:100%}.hp-mbox h3{margin:0 0 6px;color:var(--navy)}.hp-mbox input{width:100%;padding:11px;border:1px solid #bcc9ee;border-radius:8px;margin:6px 0;font-size:15px}
.hp-mbox button{width:100%;padding:11px;border:0;border-radius:8px;background:var(--accent);color:#fff;font-weight:700;cursor:pointer}.hp-err{color:#c0262d;font-size:12px;min-height:16px}
/* ===== v3 desktop geometry (1024 reference) ===== */
.hp-top{height:50px;padding:4px 10px 4px 8px;gap:6px}
.hp-logo{width:158px;flex-direction:column;gap:0;justify-content:center;text-align:center}.hp-logo img{height:22px;width:74px;object-fit:contain}.hp-logo b{font-size:17px;line-height:1;color:var(--green)}.hp-logo b i{color:var(--primary)}.hp-logo small{font-size:7px;line-height:1;margin-top:1px}
.hp-nav{gap:0}.hp-dd{position:relative}.hp-dd>a{display:block;padding:6px 4px;font-size:9px;border-radius:6px;font-weight:500}
.hp-dd>a i{font-size:8px}.hp-dd>a.on,.hp-dd:hover>a{background:var(--primary);color:#fff}
.hp-dd .sub{display:none;position:absolute;top:100%;left:0;min-width:190px;background:#fff;border-radius:8px;box-shadow:0 8px 20px rgba(13,27,76,.25);padding:4px;z-index:60}
.hp-dd:hover .sub,.hp-dd:focus-within .sub{display:block}.hp-dd .sub a{display:block;padding:7px 10px;font-size:12px;border-radius:5px}.hp-dd .sub a:hover{background:#eef3ff;color:var(--primary)}
.hp-right{gap:4px}.hp-right>a{padding:4px 5px;font-size:9px;border-radius:6px}.hp-right a small{font-size:7px}
.hp-hero{height:255px;min-height:0;padding:0;overflow:visible}
.hp-ht{position:absolute;left:15%;right:20%;top:12px;margin:0}
.hp-ht h1{font-size:34px;line-height:1.1}.hp-ht p{font-size:14px;margin:2px 0 8px}
.hp-ben{gap:8px;font-size:9px}.hp-ben span{padding:2px 7px}.hp-ben i{font-size:15px}
.hp-script{right:21%;top:38px;font-size:22px;width:110px}
.hp-map{position:absolute;right:64px;top:8px;width:92px;height:auto;z-index:2}
.hp-cities{right:4px;top:20px;width:66px;padding:0;background:none;font-size:9.5px;line-height:1.55;color:var(--navy);text-shadow:0 0 3px #fff}
.hp-cities h4{display:none}.hp-cities .more{font-size:8px;padding:1px;color:#222;text-shadow:none}
.hp-sbox{position:absolute;left:17%;width:66%;top:135px;margin:0;max-width:none;z-index:3}
.hp-tabs button,.hp-tabs .adv{padding:4px 12px;font-size:10px;border:0;background:rgba(255,255,255,.9);border-radius:8px 8px 0 0;font-weight:600}.hp-tabs button.on{padding:6px 18px;font-size:11px}
.hp-sform{grid-template-columns:1fr 1fr 1fr 1fr 1.15fr;padding:7px;gap:6px}
.hp-f{padding:3px 6px}.hp-f label{font-size:8px}.hp-f select,.hp-f input{font-size:10px}
.hp-go{font-size:12px;padding:6px}.hp-pop{font-size:8.5px;gap:5px}.hp-pop a{padding:1px 6px}
.hp-wrap{padding:0 8px;position:relative}
.hp-stats{margin:-14px 0 0;gap:5px;flex-wrap:nowrap;position:relative;z-index:4}
.hp-st{flex:1 1 0;min-width:0;padding:5px 6px;gap:5px;border-radius:6px}.hp-st i{font-size:22px}.hp-st b{font-size:14px}.hp-st span{font-size:8px}
.hp-lb{flex:2.3 1 0;padding:4px 10px;border-radius:6px}.hp-lb b{font-size:15px}.hp-lb span{font-size:8px}.hp-lb i{width:24px;height:24px}
.hp-h{margin:8px 0 5px;gap:10px}.hp-h h2{font-size:15px}.hp-h .all{font-size:9px}.hp-arr{width:20px;height:20px;font-size:9px;padding:0}
.hp-cats{gap:6px}.hp-cat{flex:0 0 calc((100% - 54px)/10);min-width:0;font-size:8.5px}.hp-cat img{height:56px}.hp-cat span{padding:3px 2px;line-height:1.2}
.hp-main{grid-template-columns:1fr 205px;gap:10px}.hp-main>div>.hp-h{margin-top:14px}
.hp-ptabs button{padding:4px 10px;font-size:9px}
.hp-pan{gap:6px}.hp-card{font-size:9px}.hp-img{height:60px}.hp-badge{font-size:8px;padding:1px 6px}.hp-heart{width:18px;height:18px;font-size:9px}
.hp-body{padding:4px 6px}.hp-body h3{font-size:10px}.hp-loc{font-size:8.5px;margin:1px 0 2px}.hp-row strong{font-size:13px;color:var(--green)}.hp-row span{font-size:8px}
.hp-btns{gap:3px;padding:0 5px 5px}.hp-btns a{font-size:8.5px;padding:3px 1px}
.b-premium,.b-urgent{background:#d6212b}
.hp-promo{margin-top:14px;min-height:165px;padding:12px 10px;text-align:left;background-color:#0d2f9c;background-repeat:no-repeat;background-position:right bottom;background-size:50% auto;position:relative}
.hp-promo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1442c4 40%,rgba(20,66,196,.1) 100%)}
.hp-promo>*{position:relative}.hp-promo h3{font-size:15px}.hp-promo h3 small{font-size:12px}
.hp-promo ul{font-size:9.5px;margin:6px 0;line-height:1.5}.hp-promo a.btn{position:absolute;left:8px;right:8px;bottom:8px;margin:0;text-align:center;font-size:10px;padding:6px}
@media(max-width:760px){
.hp-top{height:56px}.hp-nav{display:none}.hp-burger{display:block;margin-left:auto}
.hp-nav.open{display:flex;position:absolute;top:56px;left:0;right:0;background:#fff;flex-direction:column;padding:8px;max-height:75vh;overflow:auto}
.hp-dd .sub{position:static;display:block;box-shadow:none;padding:0 0 0 12px}.hp-dd>a{font-size:13px;padding:9px}
.hp-right .ph,.hp-right .wl,.hp-right .post,.hp-cities,.hp-script,.hp-map{display:none}
.hp-hero{height:auto;padding:14px 10px 10px}.hp-ht,.hp-sbox{position:relative;inset:auto;z-index:1;margin:0}.hp-ht h1{font-size:24px}.hp-ben{font-size:10px}
.hp-sbox{margin-top:12px;width:auto}.hp-sform{grid-template-columns:1fr 1fr}.hp-go{grid-column:1/-1;padding:11px}.hp-f select,.hp-f input{font-size:13px}.hp-tabs button{font-size:11px;white-space:nowrap}
.hp-stats{flex-wrap:wrap;margin-top:10px}.hp-st{flex:1 1 45%}.hp-lb{flex:1 1 100%}
.hp-cats{overflow-x:auto}.hp-cat{flex:0 0 110px;font-size:11px}.hp-cat img{height:70px}
.hp-main{grid-template-columns:1fr}.hp-pan{grid-template-columns:repeat(2,1fr)}.hp-card{font-size:11px}.hp-img{height:90px}.hp-btns a{font-size:10px}.hp-body h3{font-size:12px}.hp-loc{font-size:10px}
.hp-h h2{font-size:17px}.hp-h .all{font-size:11px}.hp-ptabs{overflow-x:auto}.hp-ptabs button{font-size:11px;white-space:nowrap}.hp-promo{margin-top:12px}.hp-promo h3{font-size:19px}}
.hp-tabs .adv{margin-left:auto;color:var(--primary)}
.hp-logo.hp-logo-full img{width:100%;height:44px;object-fit:contain}
@media(max-width:760px){.hp-h{flex-wrap:wrap}.hp-ptabs{max-width:100%;width:100%;order:3}.hp-tabs{overflow-x:auto}.hp-logo{width:145px}.hp-ht{margin-right:0}.hp-modal.on~*{pointer-events:none}}
@media(min-width:761px) and (max-width:900px){.hp-ht h1{font-size:28px}.hp-right .ph{display:none}}
/* Keep the complete logo and readable navigation within the header. */
.hp-top{height:auto;min-height:68px;padding:8px 12px;gap:12px}
.hp-logo{width:170px;min-height:52px;overflow:visible}
.hp-logo img{height:26px;width:90px;max-width:100%;object-fit:contain;object-position:center}
.hp-logo.hp-logo-full img{height:auto;max-height:52px;width:100%;object-fit:contain}
.hp-dd>a{font-size:13px;font-weight:700;padding:8px 6px}
.hp-dd>a i{font-size:10px}
.hp-dd .sub a{font-size:13px;font-weight:600}
.hp-right>a{font-size:11px;font-weight:600}
.hp-promo{align-self:start}
@media(min-width:1200px){
  .hp-top{flex-wrap:nowrap;gap:6px;padding:8px}
  .hp-logo{width:clamp(118px,11vw,170px)}
  .hp-logo b{font-size:clamp(15px,1.2vw,17px)}
  .hp-nav{order:0;flex:1 1 auto;justify-content:center;flex-wrap:nowrap;overflow:visible}
  .hp-dd>a{font-size:clamp(10.5px,.91vw,13px);padding:8px clamp(2px,.3vw,6px);font-weight:700}
  .hp-right{margin-left:auto;gap:3px}
  .hp-right>a{font-size:clamp(9px,.77vw,11px);padding:4px 3px;gap:3px;white-space:nowrap}
}
@media(min-width:761px) and (max-width:1199px){
  .hp-top{flex-wrap:nowrap}
  .hp-nav{display:none}
  .hp-burger{display:block;margin-left:auto}
  .hp-right .ph{display:none}
  .hp-nav.open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:8px;max-height:75vh;overflow:auto}
  .hp-dd .sub{position:static;display:block;box-shadow:none;padding:0 0 0 12px}
}
@media(max-width:760px){
  .hp-top{min-height:68px;gap:6px;padding:8px}
  .hp-logo{width:145px}
  .hp-nav.open{top:100%;align-items:stretch}
  .hp-dd>a{font-size:14px;font-weight:700}
  .hp-right>a{font-size:11px}
}
