/* Editorial direction: parchment, red ink, local illustrations. */
body.pali-theme { --f-editorial:Georgia,'Times New Roman','Noto Sans Devanagari',serif; --hero-paper:#f3e7d2; --hero-red:#b63827; }
.pali-theme :is(.page-hero.page-hero--editorial,.election-war-hero,.corner-war-hero,.kyc-hero,.result-banner),
.pali-theme.page-home .home-welcome.hero {
 position:relative; isolation:isolate; background-color:var(--hero-paper);
 background-image:linear-gradient(116deg,transparent 64%,#c79b5420 64%,#c79b5420 76%,transparent 76%),repeating-linear-gradient(90deg,transparent 0,transparent 31px,#87603709 32px,#87603709 33px),linear-gradient(100deg,#fbf3e6,#ecd9b8);
 border:0; border-bottom:3px solid #bb3b2e; border-image:repeating-linear-gradient(90deg,#bb3b2e 0 35px,#eacb82 35px 70px) 3; border-radius:0; padding:30px 0 44px;
}
.pali-theme :is(.page-hero.page-hero--editorial,.election-war-hero,.corner-war-hero,.kyc-hero)::before,
.pali-theme :is(.page-hero.page-hero--editorial,.election-war-hero,.corner-war-hero,.kyc-hero)::after { display:none; }
.pali-theme .page-hero--editorial .page-hero-inner { background:none; border:0; border-radius:0; box-shadow:none; padding:28px 0 0; grid-template-columns:minmax(0,1fr) 250px; gap:60px; }
.pali-theme :is(.election-war-hero-grid,.corner-war-grid,.kyc-hero-grid) { padding:28px 0 0; grid-template-columns:minmax(0,1fr) 250px; gap:60px; }
.pali-theme :is(.page-hero-title,#election-war-title,#kyc-page-title,.corner-war-copy h1,.result-verdict-intro h1) { font-family:var(--f-editorial); font-size:clamp(38px,4.8vw,66px); font-weight:700; line-height:1.08; letter-spacing:-.045em; color:#2c2118; }
.pali-theme :is(.page-hero-title span,#election-war-title em,#kyc-page-title span,.corner-war-copy h1 span,.result-verdict-intro h1 span) { color:var(--hero-red); }
.pali-theme :is(.page-hero-kicker,.editorial-election .election-war-kicker,.kyc-overline,.corner-war-stamp,.result-verdict-intro .eyebrow) { display:inline-block; background:#efcc45; color:#3e301b; border:0; border-radius:0; padding:8px 12px; font:700 10px/1.5 var(--f-ui); letter-spacing:.13em; margin-bottom:19px; }
.pali-theme :is(.page-hero-sub,.election-war-deck,.corner-war-copy>p:not(.corner-war-stamp),.kyc-hero-copy>p:not(.kyc-overline)) { font-size:16px; color:#756650; line-height:1.85; max-width:750px; margin-top:17px; }
.pali-theme :is(.breadcrumb,.election-crumbs) { font:650 10px/1.7 var(--f-ui); text-transform:uppercase; letter-spacing:.07em; }
.pali-theme .page-hero--editorial .editorial-art,.pali-theme :is(.election-war-hero,.corner-war-hero,.kyc-hero) .editorial-art { max-width:250px; margin:0; }
.pali-theme .editorial-art-stamp { border:2px solid var(--hero-red); border-radius:0; background:#fff7e6; color:var(--hero-red); transform:rotate(-6deg); padding:7px 10px; font-size:9px; box-shadow:none; }
.pali-theme .editorial-art-badge { background:#fff8e9; color:var(--hero-red); border:1px solid #d3b88e; box-shadow:6px 6px 0 #9c6c2920; border-radius:50%; }
.pali-theme.discovery-business .page-hero-inner { grid-template-columns:minmax(0,1fr) 160px; }
.pali-theme .business-identity { width:140px; border-radius:12px; color:var(--hero-red); background:#fff6e5; border:2px solid #a88b65; transform:rotate(-3deg); box-shadow:8px 8px 0 #b9915720; font-family:var(--f-editorial); font-size:48px; }
.pali-theme .result-verdict-hero { background:none; border:0; border-radius:0; box-shadow:none; padding:0; margin:0; }
.pali-theme .result-verdict-intro .eyebrow { max-width:none; }
.pali-theme .result-banner { padding-block:38px; }
.pali-theme.page-home .home-welcome.hero { padding-block:48px 42px; margin-bottom:24px; }
.pali-theme.page-home .home-welcome .hero-title { font-family:var(--f-editorial); font-size:clamp(48px,5.8vw,80px); letter-spacing:-.055em; line-height:1.05; }
.pali-theme.page-home .home-welcome .hero-title-accent { color:var(--hero-red); }
.pali-theme.page-home .hero-title-accent::after { border-color:var(--hero-red); }
.pali-theme.page-home .home-welcome .hero-badge { display:inline-flex; background:#efcc45; padding:7px 11px; color:#3e301b; font-size:9px; }
.pali-theme.page-home .hero-popular a { background:#fff9ed; border-color:#d6c3a4; }
/* The urgent row follows elections and every complete card is tappable. */
.pali-theme.page-home .result-home { padding-bottom:28px; }
.home-urgent { padding:0 0 38px; }
.urgent-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:16px; }
.urgent-heading .eyebrow { margin-bottom:5px; }
.urgent-heading h2 { font:700 27px/1.2 var(--f-editorial); letter-spacing:-.025em; }
.urgent-heading > a { color:var(--terra-dark); font-size:12px; min-height:44px; display:flex; align-items:center; gap:14px; }
.urgent-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.urgent-contact { display:flex; align-items:center; gap:13px; padding:20px 17px; border:1px solid #dfc9ad; border-radius:12px; background:#fff9ef; color:var(--ink); transition:background .2s,transform .2s; }
.urgent-contact:hover { background:#f7e8d3; transform:translateY(-2px); text-decoration:none; }
.urgent-icon { display:grid; place-items:center; color:var(--hero-red); flex-shrink:0; }
.urgent-label { font-size:11px; color:var(--ink-3); }
.urgent-label strong { display:block; font-size:28px; color:var(--ink); line-height:1.2; margin-top:5px; font-variant-numeric:tabular-nums; }
.urgent-call { display:grid; place-items:center; width:34px; height:34px; background:#f5e5ce; color:var(--hero-red); border-radius:50%; margin-left:auto; flex-shrink:0; }
/* Spotlight is a compact directory preview, not a second oversized feature. */
.pali-theme.page-home #featured { padding-block:36px; background:#f1e9db; }
.pali-theme.page-home #featured .sec-head { margin-bottom:20px; }
.pali-theme.page-home #featured .sec-title { font-size:30px; }
.pali-theme.page-home #featured .biz-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.pali-theme.page-home #featured .spotlight-card { display:grid; grid-template-columns:36px minmax(0,1fr); gap:8px 12px; padding:18px; border-radius:12px; }
.pali-theme.page-home #featured .spotlight-mark { width:36px; height:36px; font-size:20px; border-radius:8px; grid-row:1/3; }
.pali-theme.page-home #featured .biz-card-head { min-height:0; padding:0; display:block; }
.pali-theme.page-home #featured .biz-category { font-size:9px; background:none; padding:0; color:var(--ink-3); }
.pali-theme.page-home #featured .biz-card-body { grid-column:2; padding:0; }
.pali-theme.page-home #featured .biz-name { font-size:18px; margin:0 0 7px; line-height:1.3; }
.pali-theme.page-home #featured .biz-addr { font-size:11px; line-height:1.5; margin:0; }
.pali-theme.page-home #featured .biz-card-foot { grid-column:1/-1; margin:4px 0 0; padding:10px 0 0; background:none; gap:8px; }
.pali-theme.page-home #featured .biz-card-foot a { font-size:11px; min-height:40px; padding:8px 10px; }
/* City essentials has a single, left-aligned heading above its service grid. */
.pali-theme.page-home .home-help > .container { display:block; }
.pali-theme.page-home .home-help .sec-head { display:block; text-align:left; margin-bottom:26px; }
.pali-theme.page-home .home-help .sec-title { max-width:none; }
.pali-theme.page-home .home-help .utility-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.pali-theme.page-home .home-help .utility-card--hub { display:flex; align-items:flex-start; gap:15px; }
.pali-theme.page-home .home-help .utility-card-icon { flex-shrink:0; }
.pali-theme.page-home .community-owner { background:#ecd6af; color:#382818; border:1px solid #d3b889; border-radius:14px; padding:28px 32px; box-shadow:0 4px 0 #d4ba8d40; }
.pali-theme.page-home .community-owner .eyebrow { color:#87432a; }
.pali-theme.page-home .community-owner h3 { color:#382818; font-family:var(--f-editorial); font-size:31px; letter-spacing:-.035em; }
.pali-theme.page-home .community-owner p:not(.eyebrow) { color:#6d563c; }
.pali-theme.page-home .community-owner .btn-primary { background:#a63526; border-color:#a63526; color:#fff; }
/* A quieter civic footer with clear paths and one strong closing thought. */
.pali-theme .site-footer { background:#eee3cf; color:#35291c; padding-top:40px; border-top:1px solid #d4bea0; }
.footer-masthead { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-bottom:30px; margin-bottom:30px; border-bottom:1px solid #cfbda4; }
.footer-edition { font-size:9px; font-weight:700; letter-spacing:.17em; color:#886e4c; }
.footer-masthead p { font:700 clamp(30px,3.4vw,46px)/1.1 var(--f-editorial); letter-spacing:-.045em; margin-top:12px; }
.footer-masthead p em { font-style:normal; color:#ab3d29; }
.footer-home-link { display:inline-flex; align-items:center; gap:20px; min-height:44px; color:#8a3826; font-size:12px; border-bottom:1px solid #b68d67; }
.pali-theme .footer-grid { grid-template-columns:1.5fr 1fr 1fr 1.15fr; gap:35px; padding-bottom:30px; border:0; }
.pali-theme .footer-brand img { width:104px; padding:0; background:none; filter:none; border-radius:0; }
.pali-theme .footer-h { color:#3e2e1c; font-size:12px; margin-bottom:17px; }
.pali-theme .site-footer :is(.footer-p,.footer-links a,.footer-contact,.footer-contact a,.footer-copy,.footer-legal a,.footer-tagline) { color:#685740; font-size:12px; }
.pali-theme .footer-links { display:grid; gap:9px; }
.pali-theme .footer-links a { display:inline-flex; align-items:center; min-height:30px; }
.pali-theme .footer-contact { gap:7px; }
.pali-theme .footer-contact p { flex-wrap:wrap; gap:5px; }
.pali-theme .footer-contact-label { display:none; }
.pali-theme .footer-contact a { overflow-wrap:anywhere; }
.pali-theme .site-footer .footer-contact p > span,.pali-theme .site-footer .footer-copy a { color:#685740; }
.pali-theme .site-footer .soc-btn { background:#fff6e5; color:#855237; border:1px solid #d7c3a6; border-radius:50%; width:36px; height:36px; }
.pali-theme .footer-cta-btn { background:transparent; border:0; border-bottom:1px solid #d7c3a6; border-radius:0; color:#7e3c27; justify-content:flex-start; padding:11px 0; margin:0; font-size:12px; }
.pali-theme .footer-cta-btn:hover { background:#e5d3b7; }
.pali-theme .site-footer a:hover { color:#aa3524; }
.pali-theme .site-footer :focus-visible { outline-color:#a73525; }
.pali-theme .footer-bottom { border-top:1px solid #cfbda4; padding-block:20px; }
.pali-theme .footer-legal { gap:15px; }
@media(max-width:1050px) {
 .pali-theme .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
 .urgent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pali-theme.page-home #featured .biz-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pali-theme.page-home .home-help .utility-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .pali-theme .page-hero--editorial .page-hero-inner,.pali-theme :is(.election-war-hero-grid,.corner-war-grid,.kyc-hero-grid) { grid-template-columns:minmax(0,1fr) 110px; gap:20px; padding-top:22px; }
 .pali-theme :is(.page-hero-title,#election-war-title,#kyc-page-title,.corner-war-copy h1,.result-verdict-intro h1) { font-size:39px; }
 .pali-theme .page-hero--editorial .editorial-art { max-width:110px; }
 .pali-theme :is(.page-hero-sub,.election-war-deck,.corner-war-copy>p:not(.corner-war-stamp)) { font-size:14px; }
 .pali-theme .editorial-art-stamp { display:none; }
 .pali-theme.discovery-business .page-hero-inner { grid-template-columns:minmax(0,1fr) 90px; }
 .pali-theme .business-identity { width:85px; font-size:30px; }
 .pali-theme.page-home .home-welcome.hero { padding-block:32px; }
 .pali-theme.page-home .home-welcome .hero-title { font-size:58px; }
 .pali-theme.page-home .community-owner { gap:18px; padding:24px; }
 .pali-theme.page-home .community-owner img { width:110px; }
 .pali-theme.page-home .community-owner .btn-primary { margin:0; }
}
@media(max-width:520px) {
 .pali-theme :is(.page-hero.page-hero--editorial,.election-war-hero,.corner-war-hero,.kyc-hero) { padding:23px 0 30px; }
 .pali-theme .page-hero--editorial .page-hero-inner,.pali-theme :is(.election-war-hero-grid,.corner-war-grid,.kyc-hero-grid) { grid-template-columns:minmax(0,1fr) 75px; gap:12px; }
 .pali-theme :is(.page-hero-title,#election-war-title,#kyc-page-title,.corner-war-copy h1,.result-verdict-intro h1) { font-size:34px; line-height:1.12; }
 .pali-theme .page-hero-kicker { font-size:8px; padding:6px 9px; }
 .pali-theme .page-hero--editorial .editorial-art { max-width:75px; align-self:center; }
 .pali-theme.page-home .home-welcome .hero-title { font-size:48px; }
 .urgent-heading { flex-wrap:wrap; gap:5px; }
 .urgent-heading h2 { font-size:25px; }
 .urgent-grid { gap:9px; }
 .urgent-contact { display:grid; grid-template-columns:20px minmax(0,1fr); padding:15px 12px; gap:8px; }
 .urgent-icon { width:20px; }
 .urgent-label { font-size:10px; }
 .urgent-label strong { font-size:25px; }
 .urgent-call { display:none; }
 .pali-theme.page-home #featured .biz-grid,.pali-theme.page-home .home-help .utility-grid { grid-template-columns:minmax(0,1fr); }
 .pali-theme.page-home #featured .sec-title { font-size:27px; }
 .pali-theme.page-home .community-owner { flex-direction:column; align-items:flex-start; }
 .pali-theme.page-home .community-owner h3 { font-size:29px; }
 .footer-masthead { align-items:flex-start; flex-direction:column; gap:16px; }
 .pali-theme .footer-grid { gap:28px 18px; }
 .pali-theme .footer-brand,.pali-theme .footer-grid > div:last-child { grid-column:1/-1; }
 .pali-theme .footer-grid > div { min-width:0; }
 .pali-theme .site-footer { padding-top:30px; padding-bottom:15px; }
}
