/*
============================================================
OUTSHINE — ASL | css/client.css | CLIENT-SPECIFIC SECTIONS
============================================================
Apicella & Schlesinger Attorneys at Law | New York, NY | est. 1973
Injury firm. Construction accidents and premises liability lead,
motor vehicle and serious injuries follow. The site sells Marni
F. Schlesinger. Everything here is ASL-only. Shared components
live in base.css and are not redefined here. Colors and fonts are
tokens from style.css.

Conventions
- Prefix ASL-only classes with .os-asl- so they are obvious in markup.
- To vary a base component, add a modifier class or a page wrapper
  class, never edit base.css.
- Copy compliance lives in the content, not here. No component in this
  file may imply outcomes.

TABLE OF CONTENTS
 1. BRAND: round seal logo sizing
 2. LEGACY BRIDGE (2026-11-21): keeps the pre-upgrade pages, header
    and widget footer presentable until each is rebuilt on the base.
    Remove a rule when the thing it props up has been rebuilt.
 3. HOME
 4. /construction-accident-lawyer and children
 5. /premises-liability-lawyer and children
 6. MOTOR VEHICLE pages
 7. SERIOUS INJURY pages
 8. ATTORNEY pages (Marni F. Schlesinger, Philip S. Schlesinger)
 9. /contact-us
10. BLOG (single post + archive)
============================================================
*/

/* ============================================================
   1. BRAND — round seal, needs more height than a wordmark
   ============================================================ */
/* The seal is a 300 x 300 square. Width is set with height, because another
   rule gives the logo a fixed 150 px width, which stretched the circle into an oval. */
.site-logo img { height: 96px; width: 96px; max-width: none; object-fit: contain; }
@media (max-width: 1024px) { .site-logo img { height: 104px; width: 104px; } }
@media (max-width: 480px) { .site-logo img { height: 92px; width: 92px; } }
.os-footer__logo img { max-width: 160px; }

/* ============================================================
   2. LEGACY BRIDGE — temporary, see table of contents
   ============================================================ */
/* Header: the seal and the old pages were designed for a navy header. */
.site-header { background-color: var(--os-brand-3); }
.site-header .main-navigation,
.site-header .main-navigation ul ul { background-color: var(--os-brand-3); }
.site-header .main-navigation .main-nav ul li > a,
.site-header .main-navigation .menu-toggle,
.site-header .main-navigation .menu-bar-item > a { color: var(--os-on-dark); }
.site-header .main-navigation .main-nav ul li:hover > a,
.site-header .main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--os-on-dark-soft); }

/* Old hero lists sit on a photo and carry the white text class;
   base.css colors strong text with ink, which made them unreadable. */
.has-base-3-color strong,
.has-base-3-color li,
.has-base-3-color a { color: inherit; }

/* Header at desktop: seal on the left; on the right a utility row (phone,
   Free Consultation, search) above the menu row. Six menu items plus the
   call to action do not fit one row beside the seal at laptop widths, so the
   two rows are deliberate. Contact is back in the menu (Chris, 2026-11-21).
   The old red top bar repeated the same call to action and is hidden. */
.top-bar { display: none; }
@media (min-width: 1025px) {
	.site-header .inside-header { max-width: 1360px; padding-top: 14px; padding-bottom: 14px; }
	.site-header .main-navigation .inside-navigation { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
	.site-header .main-navigation .menu-bar-items { order: -1; }
	.site-header .main-navigation .main-nav > ul { flex-wrap: nowrap; }
	.site-header .main-navigation .main-nav > ul > li > a { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
	.site-header .main-navigation .main-nav > ul > li:last-child > a { padding-right: 0; }
}



/* Old GenerateBlocks containers set their own text color (white on the navy
   band). base.css colors headings, paragraphs and list items directly, which
   overrode that and left dark text on navy. Let old containers decide again. */
/* Scoped to containers with no os- class, so it never touches components
   built on the base (their containers all carry an os- class). */
.gb-container:not([class*="os-"]) :is(h1, h2, h3, h4, h5, h6, p, li, strong) { color: inherit; }

/* Footer: the .os-footer element is hooked at generate_footer, which sits
   inside GP's .site-footer wrapper. base.css hides that wrapper, so it is
   shown again here and only the old widget area and copyright bar are hidden. */
.site-footer { display: block; }
.site-footer .footer-widgets,
.site-footer .site-info { display: none; }
/* The red brand-2 tagline does not pass contrast on the dark footer. */
.os-footer__b2 { color: var(--os-on-dark-muted); }
/* Footer phone link and the second heading in a column. */
.os-footer__nap a { color: var(--os-on-dark); }
.os-footer__col ul + h5 { margin-top: 28px; }

/* Header on phones and tablets: seal centered on its own row, the icon row
   (search, call, Free Consultation, menu) centered under it, tight padding,
   and less space between the header and the hero copy. */
@media (max-width: 1024px) {
	.site-header { padding-top: 4px; padding-bottom: 4px; }
	.site-header .inside-header { padding: 8px 16px; flex-wrap: wrap; justify-content: center; row-gap: 4px; }
	.site-header .site-logo { flex: 0 0 100%; display: flex; justify-content: center; margin: 0; }
	.site-header .site-logo a { display: inline-flex; }
	.site-header .mobile-menu-control-wrapper,
	.site-header .main-navigation .inside-navigation { width: 100%; justify-content: center; align-items: center; margin-left: 0; }
	.site-header .menu-bar-items { justify-content: center; margin: 0 auto; }
	.os-hero .os-hero__copy { padding-top: 12px; }
}

/* ============================================================
   2b. ACCENTS ON DARK BANDS (sitewide)
   ============================================================ */
/* Solid buttons on the navy header and dark hero use the brighter red. */
.os-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.os-header-cta__btn,
.os-mobile-cta .os-cta--call { background-color: var(--os-brand-2-on-dark) !important; border-color: var(--os-brand-2-on-dark) !important; color: #ffffff !important; }
.os-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.os-header-cta__btn:hover,
.os-mobile-cta .os-cta--call:hover { background-color: var(--os-brand-2-on-dark-hover) !important; border-color: var(--os-brand-2-on-dark-hover) !important; color: #ffffff !important; }
/* Icons and rules on dark bands. */
.os-hero-trust__item > svg,
.os-trust-bar__pill svg { color: var(--os-brand-2-on-dark); }
.os-hero .os-eyebrow::before,
.os-promise .os-eyebrow::before { background-color: var(--os-brand-2-on-dark); }
/* The small "Call today" label sits on the navy header. */
.os-header-cta__phone-tag { color: var(--os-on-dark-muted); }
/* Review stars are gold. */
.os-hero-trust .stars,
.os-hero-trust .stars svg { color: var(--os-star); }
/* Step numbers sit on a navy tile. */
/* !important on this block: base.css sets these with longer selectors. */
.os-steps .os-step .os-step__num { color: var(--os-brand-text) !important; }

/* ============================================================
   3. HOME
   ============================================================ */
/* Marni's profile photograph is 416 px wide; never scale it up. */
.os-promise .os-area-photo { max-width: 416px; justify-self: center; }
.os-promise .os-area-photo img { width: 100%; height: auto; display: block; }
/* Text links on the dark band need the on-dark color. */
.os-promise p a { color: var(--os-on-dark); text-decoration: underline; }
.os-promise p a:hover { color: var(--os-on-dark-soft); }
/* Body copy in the Marni band sits on navy. */
.os-promise .os-area-grid p,
.os-promise .os-area-grid li { color: var(--os-on-dark-soft); }
/* Red accents in the band use the on-dark red. */
.os-promise .os-eyebrow { color: var(--os-brand-2-on-dark); }
.os-promise .os-pillar__num { color: var(--os-brand-2-on-dark); }
.os-promise .os-pillar { border-color: var(--os-brand-2-on-dark); }
.os-promise .os-area-photo img { border-color: var(--os-brand-2-on-dark); }

/* ============================================================
   4. PRACTICE PAGES (construction pillar first, 2026-11-21)
   ============================================================ */
/* Chips (trades, boroughs) placed on a light band. base.css styles the chip
   for the dark area band, which left light text on a light surface. */
.os-surface .os-city-chip,
.os-section:not(.os-area) .os-city-chip { color: var(--os-ink); background-color: var(--os-chrome); border: 1px solid var(--os-line-strong); }
/* Law list and form blocks keep a readable measure. */
.os-asl-law { max-width: 860px; }
.os-asl-form { max-width: 760px; margin-left: auto; margin-right: auto; }
/* Text links inside body copy on practice pages read as links (2026-11-21).
   Without this they take the body color with no underline. Light bands only. */
.os-asl-law a,
.os-section:not(.os-area) .os-area-grid :is(p, li) a { color: var(--os-brand-2); text-decoration: underline; text-underline-offset: 2px; }
.os-asl-law a:hover,
.os-section:not(.os-area) .os-area-grid :is(p, li) a:hover { text-decoration-thickness: 2px; }

/* ============================================================
   5 to 10. Page sections are added here as each page is rebuilt.
   ============================================================ */
