/* svc-pages 20261016: shared styles for the City Services pages (features, zoning, transportation, police, education).
   Loaded after gov.css. Navy, highway-sign green and the gold #f5b80c, on white and cream. */
main section, main > section { padding: 0; border-top: 0 !important; }
.sv-ico { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.25em; }

/* Banner */
.sv-hero { position: relative; background: #12223e var(--hero) center 50% / cover no-repeat; color: #fff; border-bottom: 5px solid var(--sign); }
.sv-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 34, 62, .96) 0%, rgba(18, 34, 62, .84) 46%, rgba(18, 34, 62, .3) 100%); }
.sv-hero .cv-in { position: relative; padding-top: 56px; padding-bottom: 64px; }
.sv-crumb { margin: 0 0 16px; font-family: var(--head); font-weight: 700; font-size: .92rem; color: #c9d3e3; }
.sv-crumb a { color: #fff; }
.sv-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--head); font-weight: 800; font-size: .95rem; color: #f5b80c; letter-spacing: .02em; }
.sv-kicker .cv-ic { width: 40px; height: 40px; border-radius: 10px; background: #f5efe3; border: 0; color: var(--navy); display: grid; place-items: center; }
.sv-kicker .cv-ic .ac { fill: #f5b80c; stroke: var(--navy); }
.sv-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.8rem); font-weight: 900; line-height: 1.03; letter-spacing: -.015em; margin: 0 0 16px; max-width: 16em; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.sv-hero .lead { font-size: 1.18rem; color: #e3e9f2; max-width: 38em; margin: 0 0 26px; }
.sv-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.sv-hero .button, .sv-wiki .button { background: #f5b80c; color: var(--navy3) !important; padding: 13px 22px; text-decoration: none; margin: 0; }
.sv-hero .button:hover, .sv-wiki .button:hover { background: #ffc928; }
.sv-hero .button.ghost, .sv-wiki .button.ghost { background: transparent; color: #fff !important; border: 2px solid #fff; }
.sv-hero .button.ghost:hover, .sv-wiki .button.ghost:hover { background: rgba(255, 255, 255, .12); }

/* At a glance: a strip of key facts lifted over the banner edge */
.sv-glance { position: relative; z-index: 2; margin-top: -34px; }
.sv-glance ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: 4px; box-shadow: 0 10px 28px rgba(18, 34, 62, .12); }
.sv-glance li { padding: 18px 22px; }
.sv-glance li + li { border-left: 1px solid var(--line); }
.sv-glance b { display: block; font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 1.08rem; line-height: 1.25; margin-bottom: 4px; }
.sv-glance span { color: var(--dim); font-size: .94rem; line-height: 1.45; display: block; }

/* Jump links */
.sv-jump { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sv-jump a { font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.sv-jump a:hover { border-color: var(--navy); background: var(--concrete); }

/* Sections */
.sv-sec { padding: 56px 0 0; scroll-margin-top: 20px; }
.cv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 3px solid var(--navy); margin-bottom: 20px; }
.cv-h h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.cv-h a { font-family: var(--head); font-weight: 700; }
.sv-sub { color: var(--dim); max-width: 46em; margin: -6px 0 22px; }
.sv-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.sv-split.rev > :first-child { order: 2; }
.sv-split p { margin: 0 0 14px; }
.sv-photo { margin: 0; }
.sv-photo img { display: block; width: 100%; height: auto; aspect-ratio: 14 / 9; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.sv-photo figcaption { font-size: .85rem; color: var(--dim); margin-top: 8px; }

/* Lists with ticks */
.sv-list { list-style: none; margin: 0 0 14px; padding: 0; }
.sv-list li { position: relative; padding: 0 0 10px 30px; }
.sv-list li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: #f5b80c; box-shadow: inset 0 0 0 4px #fff3c9; }
.sv-list b { color: var(--navy); font-family: var(--head); }

/* Building cards */
.sv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.sv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 4px; overflow: hidden; }
.sv-card .pic { background: #5ec35a; aspect-ratio: 4 / 3; overflow: hidden; }
.sv-card .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sv-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.sv-card h3 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.25; }
.sv-card p { margin: 0 0 12px; color: var(--dim); font-size: .95rem; line-height: 1.5; }
.sv-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; }
.sv-card dt { color: var(--dim); }
.sv-card dd { margin: 0; text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.sv-card.plain { border-top-color: var(--sign); }

/* Numbered steps */
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: st; }
.sv-steps li { counter-increment: st; background: var(--concrete); border-radius: 4px; padding: 20px 20px 18px; border-left: 5px solid var(--sign); }
.sv-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 800; margin-bottom: 10px; }
.sv-steps b { display: block; font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 1.08rem; margin-bottom: 4px; }
.sv-steps span { color: var(--dim); font-size: .95rem; line-height: 1.5; display: block; }

/* Tables */
.sv-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.sv-table { width: 100%; border-collapse: collapse; font-size: .97rem; background: #fff; }
.sv-table th, .sv-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sv-table thead th { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; font-size: .9rem; }
.sv-table tbody tr:nth-child(even) td { background: #f8f9fb; }
.sv-table tbody tr:last-child td { border-bottom: 0; }
.sv-table td.n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sv-note { font-size: .88rem; color: var(--dim); margin: 10px 0 0; }

/* Tips */
.sv-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.sv-tip { background: #fffaf0; border: 1px solid #efdfb8; border-left: 5px solid #f5b80c; border-radius: 4px; padding: 16px 18px; }
.sv-tip b { display: block; font-family: var(--head); font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.sv-tip span { color: var(--dim); font-size: .95rem; line-height: 1.5; display: block; }

/* The wiki callout */
.sv-wiki { margin-top: 56px; background: var(--navy); color: #dfe6f1; border-radius: 4px; border-bottom: 5px solid #f5b80c; }
.sv-wiki .in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center; padding: 28px 32px; }
.sv-wiki .book { width: 64px; height: 64px; border-radius: 14px; background: #f5efe3; color: var(--navy); display: grid; place-items: center; }
.sv-wiki .book .ac { fill: #f5b80c; stroke: var(--navy); }
.sv-wiki h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.sv-wiki p { margin: 0; }
.sv-wiki p a { color: #fff; }
.sv-wiki .sv-acts { justify-content: flex-end; }

/* Department tiles on the hub page */
.sv-depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sv-dept { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; border-radius: 4px; overflow: hidden; text-decoration: none; color: #fff; background: #12223e var(--p) center / cover no-repeat; }
.sv-dept::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 34, 62, .96) 0%, rgba(18, 34, 62, .6) 40%, rgba(18, 34, 62, .05) 75%); }
.sv-dept > * { position: relative; }
.sv-dept .cv-ic { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 10px; background: #f5efe3; border: 0; color: var(--navy); display: grid; place-items: center; }
.sv-dept .cv-ic .ac { fill: #f5b80c; stroke: var(--navy); }
.sv-dept b { font-family: var(--head); font-size: 1.3rem; font-weight: 800; padding: 0 20px; }
.sv-dept span.d { font-size: .95rem; color: #dbe3ee; padding: 2px 20px 18px; line-height: 1.45; }
.sv-dept::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #f5b80c; transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.sv-dept:hover::after, .sv-dept:focus-visible::after { transform: scaleX(1); }
.sv-dept:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sv-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sv-more a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-left: 5px solid var(--sign); border-radius: 4px; text-decoration: none; color: var(--text); background: #fff; }
.sv-more a:hover { background: var(--paper); border-left-color: #f5b80c; }
.sv-more b { display: block; font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 1.08rem; margin-bottom: 4px; }
.sv-more a:hover b { text-decoration: underline; }
.sv-more span { color: var(--dim); font-size: .94rem; line-height: 1.5; display: block; }
.sv-more em { display: block; font-style: normal; margin-top: 8px; font-family: var(--head); font-weight: 700; color: var(--navy2); font-size: .9rem; }

/* Steam band */
.cv-steam { background: var(--concrete); border-top: 5px solid var(--navy); padding: 40px 0; margin-top: 64px; }
.cv-steam .cv-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 32px; align-items: center; }
.cv-steam img { width: 96px; height: 96px; border-radius: 22px; }
.cv-steam h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cv-steam p { margin: 0; color: var(--dim); max-width: 40em; }
.cv-steam .button { text-decoration: none; padding: 13px 24px; margin: 0; }
footer.site-foot.cv-foot { margin-top: 0 !important; }

@media (max-width: 1000px) {
  .sv-glance ul { grid-template-columns: 1fr 1fr; }
  .sv-glance li:nth-child(3) { border-left: 0; }
  .sv-glance li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sv-depts { grid-template-columns: 1fr 1fr; }
  .sv-split { grid-template-columns: 1fr; gap: 24px; }
  .sv-split.rev > :first-child { order: 0; }
  .sv-wiki .in { grid-template-columns: auto 1fr; }
  .sv-wiki .sv-acts { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .sv-hero .cv-in { padding-top: 34px; padding-bottom: 58px; }
  .sv-hero .lead { font-size: 1.05rem; }
  .sv-acts .button { flex: 1 1 auto; text-align: center; }
  .sv-glance ul { grid-template-columns: 1fr; }
  .sv-glance li + li { border-left: 0; border-top: 1px solid var(--line); }
  .sv-depts { grid-template-columns: 1fr; }
  .sv-dept { min-height: 210px; }
  .sv-sec { padding-top: 44px; }
  .sv-wiki .in { grid-template-columns: 1fr; padding: 24px 20px; }
  .sv-wiki .book { width: 52px; height: 52px; }
  .cv-steam .cv-in { grid-template-columns: 1fr; }
  .cv-steam img { width: 72px; height: 72px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sv-dept::after { transition: none; } }
.sv-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sv-cards.sv-campus { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sv-campus .pic { background: #73e277; }
.sv-campus .body { padding: 12px 14px 14px; }
.sv-campus h3 { font-size: 1.02rem; }
.sv-campus dl { padding-top: 8px; margin-top: 4px; }
