
:root{--navy:#0c2851;--blue:#1355a2;--red:#c72d3b;--light:#f4f7fc;--ink:#142640;--border:#dce4ef}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.55 system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:#f5f7fb}a{color:inherit;text-decoration:none}.wrap{max-width:1380px;margin:auto;padding:0 24px}
.utility{background:#091e3b;color:#e4ecf8;font-size:12px;font-weight:650;letter-spacing:.3px}.utility .wrap{padding-top:8px;padding-bottom:8px;display:flex;justify-content:space-between;gap:15px}.utility span{color:#b7cce8}
header{background:#fff;border-bottom:4px solid var(--red)}.top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:20px;padding-bottom:20px}.logo{display:block;font-size:clamp(24px,3vw,37px);font-weight:900;color:var(--navy);letter-spacing:-1.4px;line-height:1.15}.logo>span:not(.logo-mark){color:var(--red)}.logo small{display:block;color:#6e809b;font-size:10px;letter-spacing:2.4px;margin-left:42px;margin-top:5px}.logo-mark{display:inline-grid;place-items:center;background:var(--red);color:white;border-radius:10px;width:34px;height:34px;font-size:19px;vertical-align:middle}.top-cta{display:flex;align-items:center;gap:20px}.top-cta>span{font-size:12px;font-weight:850;color:var(--blue);letter-spacing:1px}
nav{background:var(--navy);box-shadow:0 5px 14px #0c285118}nav .wrap{display:flex;flex-wrap:wrap;align-items:center}nav a{padding:15px 13px;color:white;font-size:12px;letter-spacing:.35px;font-weight:850;transition:background .2s}nav a:hover,nav a:focus-visible{background:var(--red)}
.hero{position:relative;overflow:hidden;background:linear-gradient(112deg,rgba(6,26,56,.96),rgba(14,60,112,.88)),url('category-business-00.jpg') center 42%/cover;color:white;text-align:center;padding:70px 22px 76px}.hero:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:6px;background:linear-gradient(90deg,var(--red) 0 33%,white 33% 66%,#235bb0 66%)}.hero-inner{position:relative;z-index:1;max-width:850px;margin:auto}.eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:2px;color:var(--red)}.hero .eyebrow{color:#ffced3}.hero h1{font-size:clamp(38px,5.4vw,69px);letter-spacing:-2.5px;line-height:1.06;margin:16px 0 18px;font-weight:900}.hero h1 em{font-style:normal;color:#fff;border-bottom:5px solid #d93647}.hero p{font-size:clamp(15px,1.6vw,19px);color:#e3edfc;max-width:700px;margin:0 auto 24px}.hero form{display:flex;align-items:stretch;gap:8px;background:white;padding:7px;border-radius:12px;max-width:700px;margin:auto;box-shadow:0 14px 40px #0003}.hero form input{flex:1;min-width:0;margin:0!important;border:0!important;padding:14px!important;max-width:none!important;font-size:15px}.hero form .btn{white-space:nowrap}.actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:25px}
.btn{display:inline-block;background:var(--red);color:white;border:0;border-radius:8px;padding:12px 19px;font-size:12px;letter-spacing:.35px;font-weight:900;cursor:pointer;transition:transform .2s,background .2s}.btn:hover{background:#a91e2d;transform:translateY(-1px)}.btn.secondary{background:white;color:var(--navy)}.btn.secondary:hover{background:#eaf1fb}
.section{padding:30px 0}.section h2{color:var(--navy);font-size:clamp(23px,2.4vw,31px);margin:6px 0 20px;letter-spacing:-.7px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:18px;border-bottom:1px solid var(--border)}.section-heading h2{margin:5px 0 15px}.section-note{color:#77859b;font-size:12px;padding-bottom:18px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.tile,.panel{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 4px 18px #102b5610}.tile{display:block;text-align:left;padding-bottom:13px;transition:transform .2s,box-shadow .2s}.tile:hover{transform:translateY(-4px);box-shadow:0 10px 25px #102b5627}.tile .art{height:142px;display:grid;place-items:center;background:linear-gradient(135deg,#cfe3ff,#e9f2ff);background-position:center;background-size:cover;font-size:43px}.tile .art span{display:none}.tile .art:not([style]) span{display:block}.tile strong{display:block;margin:13px 13px 2px;color:var(--navy);font-size:14px;line-height:1.25}.tile small{display:block;margin:0 13px;color:var(--red);font-size:10px;letter-spacing:.5px;font-weight:850}.panel{padding:22px}.panel h3{color:var(--navy)}.notice{background:#fff4e7;border-left:5px solid #e7a034;padding:15px;margin:18px 0}.emergency{background:#fff0f1;border:2px solid #c72d3b;padding:24px;border-radius:12px}.emergency h2{margin-top:0;color:#a51d2d}
.ad{border:2px dashed #9fb3d0;background:repeating-linear-gradient(135deg,#f0f5fc,#f0f5fc 14px,#eaf1fb 14px,#eaf1fb 28px);color:var(--navy);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-weight:800;border-radius:9px;min-height:90px;padding:12px}.ad span{font-size:10px;color:#5c7295;letter-spacing:1.1px}.ad strong{font-size:17px;color:var(--red)}.ad small{font-size:10px;color:#667c9b}.ad:hover{border-color:var(--red)}.ads{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.square{aspect-ratio:1;min-height:0}.sidebar-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:26px}.sideads{display:grid;gap:14px;align-content:start}
table{width:100%;border-collapse:collapse;background:white}td,th{padding:12px;border-bottom:1px solid #dce6f2;text-align:left}th{background:var(--navy);color:white}input,select,textarea{width:100%;padding:11px;border:1px solid #b8c7d9;border-radius:6px;margin:5px 0 13px}label{font-weight:700}footer{background:#091e3b;color:white;padding:40px 0;margin-top:35px;border-top:6px solid var(--red)}footer h2{font-size:26px;margin:0}footer p{color:#cfdaeb}.footer-links{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0;font-size:13px;font-weight:750}.footer-links a:hover{color:#fff}.footer-links a{color:#b7cce8}small,.muted{color:#5c6b7f}.tag{background:#fbe3e6;color:#a8192b;border-radius:4px;padding:3px 7px;font-size:12px;font-weight:800}
@media(max-width:1000px){.top-cta>span,.section-note{display:none}.sidebar-layout{grid-template-columns:155px minmax(0,1fr)}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
@media(max-width:760px){.sidebar-layout{display:block}.sideads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.sideads .ad{aspect-ratio:auto;min-height:105px}.ads{grid-template-columns:1fr}.top{flex-wrap:wrap;justify-content:center;text-align:center}.logo small{margin-left:0}.top-cta{justify-content:center}.utility span{display:none}nav .wrap{justify-content:center;padding:0 6px}nav a{padding:10px 8px;font-size:10px}.hero{padding:46px 14px 55px}.hero form{flex-direction:column}.hero form .btn{width:100%}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile .art{height:112px}.tile strong{font-size:12px}.tile small{font-size:9px}.wrap{padding:0 14px}}
@media(max-width:360px){.grid{grid-template-columns:1fr 1fr}.logo{font-size:24px}.ad strong{font-size:13px}}

/* Approved visual redesign — original website behavior and data preserved */
:root{--navy:#071e48;--red:#c50018;--blue:#0b3978;--border:#d4deed}
body{background:#f5f7fb;font-family:Arial,Helvetica,sans-serif}
.utility{background:#061b41;color:#fff}.utility .wrap{padding-top:7px;padding-bottom:7px}
.patriotic-header{background:linear-gradient(110deg,#092657 0%,#0d326d 52%,#061b42 100%);border-bottom:3px solid #fff;position:relative;overflow:hidden}
.patriotic-header:before{content:'★ ★ ★';position:absolute;left:0;top:-9px;font-size:43px;letter-spacing:13px;color:#fff;opacity:.13;transform:rotate(-12deg)}
.patriotic-header .top{position:relative;padding-top:21px;padding-bottom:21px}.patriotic-header .logo{color:white;text-shadow:0 2px 3px #0004}.patriotic-header .logo>span:not(.logo-mark){color:#fa3042}.patriotic-header .logo small{color:#e3ebf8}.patriotic-header .top-cta>span{color:#e9f2ff}
nav{background:linear-gradient(180deg,#d31225,#a90011)}nav a{font-size:12px;border-right:1px solid #ffffff22}nav a:hover{background:#0d326d}
.hero{background:linear-gradient(180deg,rgba(3,19,45,.46),rgba(3,20,45,.38) 55%,rgba(4,26,61,.88)),url('johnstown-illustrative-hero.webp') center/cover;padding:76px 22px 0}
.hero h1{font-family:Georgia,serif;font-size:clamp(35px,4.9vw,68px);letter-spacing:-1.7px;text-shadow:0 3px 12px #0009}.hero h1 em{border-bottom:4px solid #e31b36}
.hero p{font-weight:700;text-shadow:0 2px 5px #000b}.hero .eyebrow{color:#fff}
.hero form{max-width:730px;border-radius:8px;margin-bottom:42px}.hero .actions{max-width:1050px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);background:#071e48e8;gap:0}
.hero .actions a{padding:16px 8px;color:#fff;font-weight:800;font-size:13px;border-right:1px solid #fff6}.hero .actions a:last-child{border:0}.hero .actions a:hover{background:#c50018}
.section-heading{justify-content:center;text-align:center;border:0;position:relative}.section-heading:before,.section-heading:after{content:'';height:3px;flex:1;background:linear-gradient(90deg,transparent,#ce1228);margin:0 14px 18px}.section-heading:after{background:linear-gradient(90deg,#ce1228,transparent)}.section-note{display:none}
.section-heading h2{font-family:Georgia,serif;font-size:clamp(24px,2.5vw,36px);letter-spacing:-.8px}.section{padding:25px 0}
.tile{border-radius:10px;box-shadow:0 4px 10px #00143c1c;padding-bottom:0}.tile .art{height:150px}.tile strong{background:#092958;color:white;text-align:center;margin:0;padding:13px 8px 4px;min-height:48px}.tile small{background:#092958;color:#c8d9f4;text-align:center;margin:0;padding:0 6px 12px}
.grid{grid-template-columns:repeat(auto-fill,minmax(192px,1fr));gap:14px}.tile:hover strong,.tile:hover small{background:#c50018;color:white}
.ad{background:linear-gradient(145deg,#0c3678,#071b40);border:2px solid #c4d6f4;color:white}.ad span{color:#e1eafb}.ad strong{color:white}.ad small{color:#c5d7f4}.ad:hover{border-color:#d3192c}
.feature-panel{border-radius:12px;background:#fff;border:1px solid #d5dce7;padding:24px;text-align:center}.feature-panel .section-heading{margin-bottom:0}.feature-panel p{max-width:750px;margin:0 auto 20px}
.quick-links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-card{display:flex;flex-direction:column;justify-content:end;gap:10px;min-height:185px;padding:20px;border-radius:12px;color:white;background:linear-gradient(145deg,#123d80,#061b40);box-shadow:0 4px 12px #0b245022}.quick-card:nth-child(2){background:linear-gradient(145deg,#1d5c85,#071c45)}.quick-card:nth-child(3){background:linear-gradient(145deg,#a71426,#071b40)}.quick-card strong{font-size:20px}.quick-card span{font-size:13px}.quick-card b{font-size:12px;background:#c50018;padding:9px;border-radius:7px;text-align:center}
@media(max-width:800px){.hero .actions{grid-template-columns:repeat(2,1fr)}.quick-links{grid-template-columns:repeat(2,1fr)}.patriotic-header .top{gap:8px}.hero{padding-top:45px}}
@media(max-width:520px){.hero .actions a{font-size:11px}.quick-links{grid-template-columns:1fr}.tile .art{height:118px}.patriotic-header .logo{font-size:27px}}

/* 2026-11-02: image proportion and responsive layout repair.
   Preserves all existing homepage categories, routes and content. */
.hero{
  background-color:#071e42;
  background-image:linear-gradient(180deg,rgba(3,19,45,.60),rgba(3,20,45,.45) 55%,rgba(4,26,61,.90)),url('johnstown-illustrative-hero.webp');
  background-position:center,center top;
  background-size:cover,contain;
  background-repeat:no-repeat,no-repeat;
}
.tile .art{
  background-color:#dce7f4;
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
}
/* Category images use a layered background; keep the photo proportional
   while allowing the dark caption gradient to fill the whole tile. */
.tile .art[style]{background-size:cover,contain;background-position:center,center;background-repeat:no-repeat,no-repeat}
.sidebar-layout,.sidebar-layout > div,.grid,.tile{min-width:0}
.tile strong,.tile small{overflow-wrap:anywhere}
@media(max-width:760px){
  .hero{padding:42px 14px 0;background-size:cover,contain}
  .hero h1{font-size:clamp(30px,8vw,44px);letter-spacing:-.7px}
  .hero .actions{margin-top:24px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tile .art{height:clamp(104px,26vw,145px)}
}
@media(max-width:390px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile strong{font-size:11px;padding:10px 5px 4px}}

/* 2026-11-02 visual correction: original Johnstown hero source is intrinsically
   distorted. Do not display it until a correctly proportioned replacement is available. */
.hero{background-image:radial-gradient(ellipse at 72% 24%,rgba(47,104,177,.65),transparent 55%),linear-gradient(125deg,#071b3b 0%,#123e79 52%,#071b3b 100%)!important;background-size:cover!important;background-position:center!important}
.tile .art,.tile .art:not([style]){background:linear-gradient(145deg,#e7f1ff,#bdd5f4)!important;min-height:140px;display:grid;place-items:center}
.tile .art span,.tile .art:not([style]) span{display:block!important;font-size:55px;line-height:1;text-shadow:0 2px 3px #ffffffa0}
@media(max-width:760px){.tile .art,.tile .art:not([style]){min-height:108px;height:108px}.tile .art span{font-size:43px}}

/* 2026-11-02: approved sidebar/footer advertising layout and responsive spacing */
.sidebar-layout{grid-template-columns:minmax(140px,175px) minmax(0,1fr) minmax(140px,175px);gap:16px}
.sideads{gap:14px}.ad{border:2px solid #d9e7ff;background:linear-gradient(145deg,#0e3c85,#071b40);box-shadow:0 4px 12px #0b24502a}
.ad span{color:#fff}.ad strong{color:#fff}.ad small{color:#d4e5ff}
.ad.square{width:100%;aspect-ratio:1;min-height:0}
.sidebar-layout + .section .grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.adsense-section{padding:10px 0 25px}.adsense-placeholder{border:2px dashed #9db7db;background:#f4f8ff;min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:18px;color:#234572}.adsense-placeholder strong{letter-spacing:3px;font-size:12px}.adsense-placeholder span{font-size:14px}
.contact-nav{background:#0b3978;border-radius:5px;margin:5px 0}.contact-panel{max-width:760px;margin:30px auto}
@media(max-width:1100px){.sidebar-layout{grid-template-columns:125px minmax(0,1fr) 125px;gap:10px}.ad strong{font-size:13px}.ad span,.ad small{font-size:9px}.sidebar-layout + .section .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sidebar-layout{display:flex;flex-direction:column}.sideads,.rightads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sideads .ad{aspect-ratio:1;min-height:0;padding:6px}.sideads .ad strong{font-size:11px}.sidebar-layout + .section .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Photographic design v3. Overrides prior temporary emoji/gradient patch. */
.patriotic-header{background:linear-gradient(90deg,rgba(5,24,61,.76),rgba(5,24,61,.48)),url('patriotic-header-art.webp') center/cover no-repeat!important;border-bottom:3px solid #e5f1ff}
.patriotic-header .logo{font-size:clamp(25px,3vw,39px);filter:drop-shadow(0 2px 2px #001)}
.hero{background-image:linear-gradient(90deg,rgba(4,22,55,.87),rgba(8,37,83,.72),rgba(4,22,55,.87)),url('homepage-scenic-art.webp')!important;background-size:cover,cover!important;background-position:center,center!important;background-repeat:no-repeat!important}
.hero h1{filter:drop-shadow(0 3px 4px #001)}
.tile .art,.tile .art:not([style]){height:145px;min-height:0;background-color:#174377!important;background-image:none;display:block;overflow:hidden;position:relative}
.tile .art[style]{background-size:cover!important;background-position:center!important}
.tile .art[style] .tile-icon{display:none!important}
.tile .art .tile-icon{font-size:40px!important;display:grid!important;place-items:center;height:100%;color:white}
.tile{border:2px solid #e0e8f8;box-shadow:0 4px 13px #102d5640}
.tile strong{border-top:2px solid #e51c35;background:linear-gradient(#104580,#071e4b);font-size:13px}
.tile small{background:#071e4b}
.section-heading h2{color:#09295c}
.ad{position:relative;overflow:hidden;background:linear-gradient(145deg,#103f86 0%,#071b44 75%)!important;border:3px solid #fff;outline:1px solid #a9bddc;box-shadow:0 4px 12px #001d4a3d}
.ad:before{content:'★ ★ ★';position:absolute;left:-7px;top:-5px;transform:rotate(-16deg);font-size:21px;letter-spacing:2px;color:#fff;opacity:.24}
.ad:after{content:'';position:absolute;right:-30px;bottom:-17px;width:125px;height:42px;border-top:12px solid #fff;border-bottom:12px solid #c40021;transform:rotate(-24deg);opacity:.70;pointer-events:none}
.ad strong{color:#fff;text-shadow:0 1px 2px #001}
.ad:hover{outline:2px solid #cf0024}
.adsense-placeholder{background:#f4f8ff;border:2px dashed #96b1d8}
@media(max-width:760px){.tile .art,.tile .art:not([style]){height:115px}.patriotic-header{background-position:center}.hero{background-position:center}}

/* Clean-photo repair: remove prior flyer-background image with oversized baked-in words. */
.hero{background-image:linear-gradient(100deg,rgba(5,23,58,.84),rgba(12,53,102,.67)),url('clean-johnstown-hero.webp')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
.patriotic-header{background-image:linear-gradient(95deg,rgba(6,27,65,.95),rgba(13,54,107,.86)),url('clean-johnstown-hero.webp')!important;background-size:cover!important;background-position:center 45%!important}
.tile .art,.tile .art:not([style]){background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#174377!important}
.tile .art[style]{background-size:cover!important;background-position:center!important}
.tile .art .tile-icon{display:none!important}
.tile{overflow:hidden}.tile .art{height:145px!important;aspect-ratio:16/9}
@media(max-width:760px){.tile .art{height:auto!important;min-height:105px;aspect-ratio:16/9}}

/* Homepage-only photographic tiles: preserve natural image proportions. */
.tile .art{aspect-ratio:16/9!important;height:auto!important;min-height:0!important;background-repeat:no-repeat!important;background-position:center!important;background-size:cover!important}
.tile .art[style]{background-size:cover!important}
@media(max-width:760px){.tile .art{aspect-ratio:16/9!important;height:auto!important;min-height:0!important}}
/* Avoid background image text/artifacts in the hero until a verified photo is available. */
.hero{background-image:linear-gradient(105deg,#0b2856,#24558b 55%,#0b2856)!important;background-size:cover!important}
.patriotic-header{background-image:linear-gradient(100deg,#071b3e,#17477d,#071b3e)!important}
