/* NYNPS Joomla 6 Child Template */

:root {
  --nynps-blue: #1f5f9f;
  --nynps-link: #005e8d;
  --nynps-navy: #052341;
  --nynps-menu: #10233f;
  --nynps-text: #1f2328;
  --nynps-border: #5f97c8;
  --nynps-light: #f8f8f8;
  --nynps-site-width: 1700px;
  --nynps-site-padding: 60px;
  --nynps-site-padding-mobile: 16px;
}

body {
  font-family: Roboto, Arial, sans-serif;
  color: var(--nynps-text);
  background: #ffffff;
}

a {
  color: var(--nynps-link);
  font-weight: 600;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--nynps-text);
  font-weight: 600;
}

p, li {
  line-height: 1.6;
}

/* ==========================================
   SHARED SITE WIDTH
   ========================================== */

.site-grid,
.container-header .grid-child,
.nynps-header-inner {
  max-width: var(--nynps-site-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--nynps-site-padding);
  padding-right: var(--nynps-site-padding);
  box-sizing: border-box;
}

/* ==========================================
   HEADER / BANNER
   ========================================== */















/* ==========================================
   MAIN NAVIGATION
   ========================================== */













/* ==========================================
   HOMEPAGE SERVICE BUTTON GRID
   ========================================== */

.nynps-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  margin: 18px 0 36px;
}

.nynps-service-grid a {
  display: block;
  background: var(--nynps-blue);
  color: #ffffff;
  text-align: center;
  padding: 10px 14px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.nynps-service-grid a:hover,
.nynps-service-grid a:focus {
  background: #777777;
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================
   FEATURED SERVICE BOX
   ========================================== */

.nynps-featured-box {
  border: 1px solid var(--nynps-border);
  padding: 24px;
  margin: 28px 0 36px;
  box-sizing: border-box;
  background: #ffffff;
}

.nynps-featured-box h2:first-child {
  font-size: 1.05rem;
  margin-top: 0;
}

.nynps-featured-box h2 {
  margin-bottom: 10px;
}

/* ==========================================
   SIDEBAR CARDS
   ========================================== */

.sidebar-right .card {
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  box-shadow: none;
  margin-bottom: 20px;
}

.sidebar-right .card-header {
  background: #f7f7f7;
  font-size: 1.1rem;
  font-weight: 700;
}

.sidebar-right .card-body {
  padding-top: 18px;
}

/* ==========================================
   SIDEBAR MENU TREE
   ========================================== */

.sidebar-right .mod-menu {
  font-size: 15px;
  line-height: 1.5;
}

/* Hide Joomla submenu arrows */
.sidebar-right .mod-menu__toggle,
.sidebar-right .mod-menu__toggle-sub {
  display: none !important;
}

/* Always show submenus */
.sidebar-right .mod-menu__sub {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  list-style: none;
  padding-left: 0;
  margin-top: 4px;
  margin-bottom: 10px;
}

/* Top-level menu items */
.sidebar-right .mod-menu > .nav-item {
  margin-bottom: 2px;
}

.sidebar-right .mod-menu > .nav-item > a,
.sidebar-right .mod-menu > .nav-item > span {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nynps-blue);
  margin-top: 10px;
  margin-bottom: 3px;
  text-decoration: none;
}

/* Child menu items */
.sidebar-right .mod-menu .mod-menu__sub a {
  display: block;
  padding: 3px 0 3px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nynps-blue);
  text-decoration: none;
}

/* Hover effects */
.sidebar-right .mod-menu a:hover,
.sidebar-right .mod-menu a:focus {
  color: var(--nynps-navy);
  text-decoration: underline;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 768px) {
  .site-grid,
  .container-header .grid-child,
  .nynps-header-inner {
    padding-left: var(--nynps-site-padding-mobile);
    padding-right: var(--nynps-site-padding-mobile);
  }

  

  

  

  

  

  

  .nynps-service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* ==========================================
   NYNPS FOOTER
   ========================================== */

.nynps-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--nynps-navy);
  color: #ffffff;
  padding: 42px 0 36px;
  box-sizing: border-box;
}

.nynps-footer-inner {
  max-width: var(--nynps-site-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--nynps-site-padding);
  padding-right: var(--nynps-site-padding);
  box-sizing: border-box;
}

.nynps-footer-rule {
  border: 0;
  border-top: 2px solid rgba(255,255,255,0.85);
  margin: 0 0 26px;
}

.nynps-footer p {
  color: #ffffff;
  max-width: 1250px;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.nynps-footer strong {
  color: #ffffff;
  font-weight: 700;
}

.nynps-footer em {
  color: #ffffff;
}

.nynps-footer-copy {
  margin-top: 38px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nynps-footer {
    padding: 36px 0 32px;
  }

  .nynps-footer-inner {
    padding-left: var(--nynps-site-padding-mobile);
    padding-right: var(--nynps-site-padding-mobile);
  }

  .nynps-footer p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .nynps-footer-copy {
    margin-top: 38px;
  }
}
/* Remove Cassiopeia extra footer strip/background */

.container-footer {
  background: var(--nynps-navy) !important;
  background-image: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.container-footer .grid-child {
  max-width: none !important;
  padding: 0 !important;
}
/* ==========================================
   LEGACY CONTENT SUPPORT
   ========================================== */

.np {
  font-size: 1rem;
  line-height: 1.7;
}

.blacklink {
  display: block;
  background: var(--nynps-blue);
  color: #ffffff !important;
  text-align: center;
  padding: 10px 14px;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
}

.blacklink:hover {
  background: #777777;
  color: #ffffff !important;
  text-decoration: none;
}

/* Legacy service button rows */

.row-fluid {
  margin-bottom: 12px;
}

.row-fluid .span12 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}

.row-fluid .span4 {
  width: auto;
}

/* Featured service box */

.row-fluid[style*="border: 1px solid #5f97c8"] {
  border: 1px solid #5f97c8 !important;
  padding: 24px !important;
  margin: 28px 0 36px;
  background: #ffffff;
  box-sizing: border-box;
}

.row-fluid[style*="border: 1px solid #5f97c8"] h2:first-child {
  margin-top: 0;
}

/* Article spacing */

.com-content-article h2 {
  margin-top: 30px;
  margin-bottom: 12px;
}

.com-content-article ul {
  margin-bottom: 20px;
}

.com-content-article p {
  margin-bottom: 18px;
}

/* Mobile */

@media (max-width: 768px) {

  .row-fluid .span12 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .blacklink {
    font-size: 1rem;
  }

}
/* ==========================================
   NYNPS CONTENT REFINEMENTS
   HOMEPAGE + ARTICLE PAGES
   ========================================== */

/* Darker link color */

:root {
  --nynps-link: #052341;
}

/* General links */

.com-content-article a,
.com-content-article a:visited,
.np a,
.np a:visited {
  color: #052341;
  font-weight: 600;
}

.com-content-article a:hover,
.np a:hover {
  color: #1f5f9f;
}

/* Service buttons */

.blacklink {
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .1px;
}

/* Homepage service grid spacing */

.row-fluid .span12 {
  gap: 10px 20px;
}

/* Featured box */

.row-fluid[style*="border: 1px solid #5f97c8"] {
  padding: 24px !important;
  margin-top: 24px;
  margin-bottom: 40px;
}

.row-fluid[style*="border: 1px solid #5f97c8"] h2.np {
  font-size: 1rem;
  margin-bottom: 8px;
}

.row-fluid[style*="border: 1px solid #5f97c8"] h2:not(.np) {
  margin-top: 0;
  margin-bottom: 14px;
}

/* Article headings */

.com-content-article h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-weight: 700;
}

.com-content-article h4 {
  margin-top: 24px;
}

/* Body copy */

.np,
.com-content-article p,
.com-content-article li {
  line-height: 1.75;
}

/* Lists */

.com-content-article ul {
  margin-bottom: 20px;
}

.com-content-article li {
  margin-bottom: 4px;
}

/* Sidebar menu */

.sidebar-right .mod-menu > .nav-item > a,
.sidebar-right .mod-menu > .nav-item > span {
  color: #052341;
  margin-top: 8px;
  margin-bottom: 3px;
}

.sidebar-right .mod-menu .mod-menu__sub a {
  color: #052341;
  font-size: .92rem;
  line-height: 1.35;
  font-weight: 600;
}

.sidebar-right .mod-menu a:hover {
  color: #1f5f9f;
}

/* Sidebar cards */

.sidebar-right .card {
  border: 1px solid #d9d9d9;
}

.sidebar-right .card-header {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Home page intro spacing */

.com-content-article h1 {
  margin-bottom: 20px;
}

/* Slightly improve readability */

.com-content-article {
  font-size: 1rem;
}

/* Mobile */

@media (max-width: 768px) {

  .blacklink {
    padding: 10px;
    font-size: .95rem;
  }

  .com-content-article h1 {
    font-size: 2rem;
  }

  .com-content-article h2 {
    font-size: 1.6rem;
  }

}
/* ==========================================
   NYNPS REBUILD ARTICLE SUPPORT
   Callouts, lists, section spacing
   ========================================== */

.nynps-rebuild {
  font-size: 1rem;
  line-height: 1.7;
}

.nynps-rebuild .row-fluid {
  margin-bottom: 0;
}

.nynps-rebuild h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-weight: 700;
}

.nynps-rebuild h2.np {
  font-size: 1.45rem;
}

.nynps-rebuild p {
  margin-bottom: 18px;
}

.nynps-rebuild hr {
  border: 0;
  border-top: 1px solid #d8d8d8;
  margin: 28px 0;
}

.nynps-callout {
  border: 1px solid var(--nynps-border);
  background: #ffffff;
  padding: 22px 24px;
  margin: 24px 0;
  box-sizing: border-box;
}

.nynps-callout h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.nynps-rebuild ul.vir {
  margin: 0 0 25px 25px !important;
  padding-left: 18px;
}

.nynps-rebuild li.vir {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* Article link color refinement */

.nynps-rebuild a {
  color: var(--nynps-link);
  font-weight: 600;
}

.nynps-rebuild a:hover,
.nynps-rebuild a:focus {
  color: var(--nynps-blue);
}

/* Mobile */

@media (max-width: 768px) {
  .nynps-callout {
    padding: 18px;
  }

  .nynps-rebuild h2.np {
    font-size: 1.3rem;
  }
}
/* ==========================================
   RON / SERVICE PAGE REFINEMENTS
   ========================================== */

.nynps-rebuild hr {
    border: 0;
    border-top: 1px solid #d9d9d9;
    margin: 32px 0;
}

.nynps-rebuild h2.np strong {
    font-weight: 700;
}

.nynps-rebuild .nynps-callout strong:first-child {
    color: var(--nynps-navy);
}

.nynps-rebuild .nynps-callout {
    border-left: 4px solid var(--nynps-blue);
}
/* ==========================================
   NYNPS ARTICLE PAGE TIGHTENING
   H1, paragraph spacing, sidebar tightening
   ========================================== */

/* Page title size */
.com-content-article h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 22px;
}

/* Slightly tighter article paragraph spacing */
.nynps-rebuild p {
  margin-bottom: 14px;
}

/* Slightly tighter list spacing */
.nynps-rebuild li.vir {
  margin-bottom: 6px;
}

/* Slightly tighter sidebar submenu links */
.sidebar-right .mod-menu .mod-menu__sub a {
  font-size: 0.90rem;
  line-height: 1.35;
}
/* ==========================================
   NYNPS FAQ PAGE
   ========================================== */

.nynps-rebuild.faq .faq-item {
  border-top: 1px solid #d8d8d8;
  padding: 20px 0;
}

.nynps-rebuild.faq .faq-item:first-of-type {
  border-top: none;
}

.nynps-rebuild.faq .faq-q {
  font-weight: 700;
  color: var(--nynps-navy);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.nynps-rebuild.faq .faq-a {
  font-size: 1rem;
  line-height: 1.65;
}

.nynps-rebuild.faq .faq-a a {
  font-weight: 700;
}

.nynps-rebuild.faq .faq-cta {
  border: 1px solid var(--nynps-border);
  padding: 22px 24px;
  margin-top: 28px;
  background: #ffffff;
}

.nynps-rebuild.faq .faq-cta .faq-q {
  font-size: 1.15rem;
}
/* ==========================================
   FIX FAQ PAGE OVERRIDING LEGACY HOME GRID
   ========================================== */

.nynps-rebuild.faq .row-fluid .span12 {
  display: block !important;
}

.nynps-rebuild.faq .faq-item {
  width: 100% !important;
  float: none !important;
  display: block !important;
}
/* ==========================================
   NYNPS MULTI-COLUMN LISTS
   ========================================== */

.nynps-list-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 18px 0 28px;
}

.nynps-list-columns ul {
  margin: 0 0 0 22px;
  padding-left: 18px;
}

.nynps-list-columns li {
  margin-bottom: 7px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .nynps-list-columns {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/* ==========================================
   NYNPS CUSTOM SIDEBAR
   ========================================== */

.nynps-custom-sidebar {
  font-size: 15px;
  line-height: 1.45;
  background: #fff;
}

.nynps-sidebar-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  margin-top: 12px;
}

.nynps-sidebar-section:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* MAIN SECTION LINKS */

.nynps-sidebar-heading {
  display: block;
  color: var(--nynps-navy);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  padding: 2px 0 8px 0;
  transition: all .2s ease;
}

.nynps-sidebar-heading:hover,
.nynps-sidebar-heading:focus {
  color: var(--nynps-blue);
  text-decoration: none;
}

/* CHILD LINKS */

.nynps-sidebar-section > a:not(.nynps-sidebar-heading) {
  display: block;
  color: #23354d;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0 6px 16px;
  border-left: 2px solid #eef2f7;
  transition: all .2s ease;
}

.nynps-sidebar-section > a:not(.nynps-sidebar-heading):hover,
.nynps-sidebar-section > a:not(.nynps-sidebar-heading):focus {
  color: var(--nynps-blue);
  border-left-color: var(--nynps-gold);
  padding-left: 20px;
  text-decoration: none;
}

/* ACTIVE PAGE */

.nynps-custom-sidebar .active,
.nynps-custom-sidebar .current {
  color: var(--nynps-blue);
  font-weight: 700;
}

/* MOBILE */

@media (max-width: 991px) {

  .nynps-custom-sidebar {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 2px solid #d7dce3;
  }

  .nynps-sidebar-heading {
    font-size: 1rem;
  }

  .nynps-sidebar-section > a:not(.nynps-sidebar-heading) {
    padding: 8px 0 8px 16px;
  }
}

/* ==========================================
   NYNPS POLISH PASS 1
   Headings, content spacing, sidebar, cards
   ========================================== */

:root {
  --nynps-gold: #c79a3b;
}

/* Better article rhythm */

.com-content-article {
  font-size: 1rem;
  line-height: 1.72;
}

.com-content-article h1 {
  font-size: 2.55rem;
  line-height: 1.15;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 28px;
  letter-spacing: -0.4px;
}

.com-content-article h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.com-content-article h3,
.com-content-article h3.med {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 34px;
  margin-bottom: 12px;
}

.com-content-article p,
.nynps-rebuild p,
.np {
  line-height: 1.72;
  margin-bottom: 17px;
}

.com-content-article ul {
  margin-top: 10px;
  margin-bottom: 26px;
}

.com-content-article li {
  line-height: 1.65;
  margin-bottom: 6px;
}

/* Section dividers */

.nynps-rebuild hr,
.com-content-article hr {
  border: 0;
  border-top: 1px solid #d9dee5;
  margin: 38px 0;
}

/* Callout box polish */

.nynps-callout,
.nynps-featured-box {
  border: 1px solid #6da4d5;
  border-left: 4px solid var(--nynps-blue);
  background: #ffffff;
  padding: 24px 26px;
  margin: 28px 0 36px;
  box-sizing: border-box;
}

.nynps-callout strong:first-child {
  color: var(--nynps-navy);
}

/* Contact and Hours card */

.sidebar-right .card {
  border: 1px solid #d7dce3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 22px;
}

.sidebar-right .card-header {
  background: var(--nynps-navy);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: none;
}

.sidebar-right .card-body {
  padding: 18px 18px 20px;
  font-size: .96rem;
  line-height: 1.65;
}

/* Custom sidebar polish */

.nynps-custom-sidebar {
  font-size: 15px;
  line-height: 1.45;
}

.nynps-sidebar-section {
  border-top: 1px solid #dde3ea;
  padding-top: 14px;
  margin-top: 14px;
}

.nynps-sidebar-section:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.nynps-sidebar-heading {
  display: block;
  color: var(--nynps-navy);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  padding: 3px 0 9px 0;
}

.nynps-sidebar-heading:hover,
.nynps-sidebar-heading:focus {
  color: var(--nynps-blue);
  text-decoration: none;
}

.nynps-sidebar-section > a:not(.nynps-sidebar-heading) {
  display: block;
  color: #20334d;
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  padding: 6px 0 6px 17px;
  border-left: 2px solid #e9eef4;
  transition: all .18s ease;
}

.nynps-sidebar-section > a:not(.nynps-sidebar-heading):hover,
.nynps-sidebar-section > a:not(.nynps-sidebar-heading):focus {
  color: var(--nynps-blue);
  border-left-color: var(--nynps-gold);
  padding-left: 21px;
  text-decoration: none;
}

/* Top nav slight polish */



/* Home buttons */

.nynps-service-grid a,
.blacklink {
  font-weight: 600;
  border-radius: 0;
  transition: background .18s ease;
}

/* Mobile refinement */

@media (max-width: 768px) {
  .com-content-article h1 {
    font-size: 2rem;
    line-height: 1.18;
    margin-bottom: 22px;
  }

  .com-content-article h2 {
    font-size: 1.45rem;
    margin-top: 38px;
  }

  .nynps-callout,
  .nynps-featured-box {
    padding: 18px;
    margin: 24px 0 30px;
  }

  .sidebar-right .card-body {
    padding: 16px;
  }
}
/* ==========================================
   NYNPS POLISH PASS 2
   Final desktop typography overrides
   ========================================== */

/* Internal article page title */
.com-content-article h1 {
  font-size: 2.3rem !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
  letter-spacing: -0.35px;
}

/* Major article section headings */
.com-content-article h2,
.nynps-rebuild h2,
.nynps-rebuild h2.np {
  font-size: 1.65rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin-top: 48px !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.2px;
}

/* Subsection headings */
.com-content-article h3,
.com-content-article h3.med,
.nynps-rebuild h3,
.nynps-rebuild h3.med {
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin-top: 34px !important;
  margin-bottom: 12px !important;
}

/* Smaller headings */
.com-content-article h4,
.nynps-rebuild h4 {
  font-size: 1.1rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin-top: 28px !important;
  margin-bottom: 10px !important;
}

/* Body readability */
.com-content-article p,
.nynps-rebuild p,
.np {
  font-size: 1rem !important;
  line-height: 1.72 !important;
  margin-bottom: 17px !important;
}

/* Lists */
.com-content-article ul,
.nynps-rebuild ul {
  margin-top: 10px !important;
  margin-bottom: 26px !important;
}

.com-content-article li,
.nynps-rebuild li {
  line-height: 1.65 !important;
  margin-bottom: 6px !important;
}

/* Horizontal rules */
.com-content-article hr,
.nynps-rebuild hr {
  border: 0 !important;
  border-top: 1px solid #d9dee5 !important;
  margin: 38px 0 !important;
}

/* Homepage title should stay slightly stronger */
body.view-featured .com-content-article h1,
body.itemid-101 .com-content-article h1 {
  font-size: 2.55rem !important;
}

/* Mobile heading protection */
@media (max-width: 768px) {
  .com-content-article h1 {
    font-size: 2rem !important;
    line-height: 1.18 !important;
    margin-bottom: 24px !important;
  }

  .com-content-article h2,
  .nynps-rebuild h2,
  .nynps-rebuild h2.np {
    font-size: 1.42rem !important;
    margin-top: 36px !important;
  }

  .com-content-article h3,
  .nynps-rebuild h3 {
    font-size: 1.18rem !important;
  }
}
/* ==========================================
   NYNPS FINAL DESKTOP POLISH PASS
   June 2026
   ========================================== */

/* H1 refinement */

.com-content-article h1 {
    font-size: 2.15rem !important;
    line-height: 1.15;
    margin-bottom: 38px !important;
    font-weight: 700;
}

/* H2 refinement */

.com-content-article h2,
.nynps-rebuild h2 {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-top: 42px;
    margin-bottom: 18px;
    font-weight: 700;
}

/* H3 refinement */

.com-content-article h3,
.nynps-rebuild h3 {
    font-size: 1.45rem;
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: 14px;
    font-weight: 700;
}

/* Better paragraph spacing */

.nynps-rebuild p,
.com-content-article p {
    margin-bottom: 18px;
    line-height: 1.75;
}

/* Slightly stronger horizontal rules */

.nynps-rebuild hr {
    border-top: 1px solid #d4d8de;
    margin: 36px 0;
}

/* Sidebar section breathing room */

.nynps-sidebar-section {
    padding-top: 16px;
    margin-top: 16px;
}

/* Sidebar child links */

.nynps-sidebar-section > a:not(.nynps-sidebar-heading) {
    padding: 8px 0 8px 16px;
    line-height: 1.45;
}

/* Sidebar headings */

.nynps-sidebar-heading {
    font-size: 1.08rem;
    padding-bottom: 10px;
}

/* Contact card header */

.sidebar-right .card-header {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .2px;
}

/* Callout box refinement */

.nynps-callout {
    padding: 24px 26px;
    margin: 28px 0;
}

/* Slightly improve overall article readability */

.com-content-article {
    font-size: 1.02rem;
}

/* Mobile protection */

@media (max-width: 768px) {

    .com-content-article h1 {
        font-size: 2rem !important;
        margin-bottom: 24px !important;
    }

    .com-content-article h2,
    .nynps-rebuild h2 {
        font-size: 1.55rem;
    }

    .com-content-article h3,
    .nynps-rebuild h3 {
        font-size: 1.25rem;
    }
}
/* ==========================================
   NYNPS POLISH PASS 3
   Final article spacing + top menu refinement
   ========================================== */

/* Article heading spacing refinement */

.com-content-article h2,
.nynps-rebuild h2 {
    margin-top: 50px !important;
    margin-bottom: 20px !important;
}

/* Keep first article H2 closer to the H1 when it acts like a subtitle */

.com-content-article h1 + h2,
.nynps-rebuild h1 + h2 {
    margin-top: 0 !important;
}

/* Top navigation polish */





/* Active top menu item */



/* Sidebar/card consistency */

.sidebar-right .card-header {
    background: var(--nynps-navy) !important;
    color: #ffffff !important;
}

/* Header image slight premium spacing - desktop only */



/* Mobile protection */

@media (max-width: 768px) {
    

    .com-content-article h2,
    .nynps-rebuild h2 {
        margin-top: 36px !important;
        margin-bottom: 16px !important;
    }
}
/* ==========================================
   NYNPS POLISH PASS 4
   Top menu active state + sidebar refinement
   ========================================== */

/* Refine top menu spacing */



/* Active top menu item - tighter underline */



/* Hover state */



/* Sidebar section breathing room */

.nynps-sidebar-section {
    margin-top: 20px !important;
    padding-top: 20px !important;
}

.nynps-sidebar-section:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Sidebar section headings */

.nynps-sidebar-heading {
    padding-bottom: 12px !important;
}

/* Sidebar child links */

.nynps-sidebar-section > a:not(.nynps-sidebar-heading) {
    padding: 8px 0 8px 16px !important;
}

/* Keep child hover smooth */

.nynps-sidebar-section > a:not(.nynps-sidebar-heading):hover,
.nynps-sidebar-section > a:not(.nynps-sidebar-heading):focus {
    padding-left: 21px !important;
}
/* ==========================================
   NYNPS HOMEPAGE POLISH PASS
   ========================================== */

/* Homepage H1 refinement */
body.view-featured .com-content-article h1,
body.itemid-101 .com-content-article h1 {
    font-size: 2.3rem !important;
    line-height: 1.15 !important;
    margin-bottom: 22px !important;
}

/* Featured service box stronger presentation */
.nynps-featured-box,
.row-fluid[style*="border: 1px solid #5f97c8"] {
    border: 1px solid #6da4d5 !important;
    border-left: 5px solid var(--nynps-blue) !important;
    background: #fafbfd !important;
    padding: 28px !important;
    margin-top: 28px !important;
    margin-bottom: 28px !important;
}

/* Featured box heading balance */
.nynps-featured-box h2,
.row-fluid[style*="border: 1px solid #5f97c8"] h2 {
    margin-top: 0 !important;
}

/* Reduce giant underlined section-heading links */
.com-content-article h2 a,
.com-content-article h3 a,
.nynps-rebuild h2 a,
.nynps-rebuild h3 a {
    color: var(--nynps-navy) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.com-content-article h2 a:hover,
.com-content-article h3 a:hover,
.nynps-rebuild h2 a:hover,
.nynps-rebuild h3 a:hover {
    color: var(--nynps-blue) !important;
    text-decoration: underline !important;
}

/* Homepage section spacing */
body.view-featured .com-content-article h2,
body.itemid-101 .com-content-article h2 {
    margin-top: 42px !important;
}
/* ==========================================
   HOMEPAGE POLISH PASS V2
   ========================================== */

/* Homepage H1 */

.page-header h1 {
    font-size: 2.45rem !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    max-width: 1000px;
}

/* Homepage service buttons */

.blacklink,
.nynps-service-grid a {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
}

/* Featured service box */

.nynps-featured-box,
.row-fluid[style*="border: 1px solid #5f97c8"] {
    border: 1px solid #8bb5db !important;
    border-left: 5px solid var(--nynps-blue) !important;
    background: #fafbfd !important;
    padding: 28px !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

/* Featured service heading */

.nynps-featured-box h2,
.row-fluid[style*="border: 1px solid #5f97c8"] h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
}

/* Homepage content headings */

.blog-featured h2,
.blog-featured h3,
.blog-featured h2 a,
.blog-featured h3 a {
    color: var(--nynps-navy) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.blog-featured h2 a:hover,
.blog-featured h3 a:hover {
    color: var(--nynps-blue) !important;
    text-decoration: underline !important;
}

/* Improve spacing between homepage sections */

.blog-featured h2 {
    margin-top: 42px !important;
    margin-bottom: 14px !important;
}

/* Slightly tighten homepage body text */

.blog-featured p {
    line-height: 1.7 !important;
}

/* Sidebar card refinement */

.sidebar-right .card {
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-right .card-header {
    letter-spacing: .2px;
}
/* ==========================================
   NYNPS HOMEPAGE FEATURED BOX FINAL TWEAK
   ========================================== */

.nynps-featured-box h2,
.row-fluid[style*="border: 1px solid #5f97c8"] h2 {
    color: var(--nynps-text) !important;
    font-size: 1.75rem !important;
    line-height: 1.22 !important;
}

.nynps-featured-box h2:first-child,
.row-fluid[style*="border: 1px solid #5f97c8"] h2:first-child {
    color: var(--nynps-navy) !important;
    font-size: 1.15rem !important;
    margin-bottom: 14px !important;
}
/* ==========================================
   HOMEPAGE BUTTON REFINEMENT
   ========================================== */

.blacklink,
.nynps-service-grid a {
    padding: 8px 12px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.15px !important;
}

/* ==========================================
   NYNPS TOP MENU POLISH
   ========================================== */









/* Mobile protection */

/* ==========================================
   NYNPS HOMEPAGE LOWER CONTENT POLISH
   ========================================== */

/* Homepage lower article sections */
.blog-featured .items-leading,
.blog-featured .blog-items {
    margin-top: 34px;
}

/* Homepage section headings */
.blog-featured h2,
.blog-featured h3 {
    color: var(--nynps-navy) !important;
    font-size: 1.85rem !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
    margin-top: 54px !important;
    margin-bottom: 14px !important;
}

/* Subtle section separator before major homepage sections */
.blog-featured h2::before,
.blog-featured h3::before {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    background: var(--nynps-blue);
    margin-bottom: 16px;
}

/* Keep first lower heading from feeling too far away */
.blog-featured h2:first-of-type,
.blog-featured h3:first-of-type {
    margin-top: 36px !important;
}

/* Homepage paragraph readability */
.blog-featured p,
.blog-featured li {
    font-size: 1rem !important;
    line-height: 1.72 !important;
}

/* Homepage lists */
.blog-featured ul {
    margin-top: 8px !important;
    margin-bottom: 22px !important;
}

/* Appointment / contact emphasis paragraphs */
.blog-featured p strong {
    color: var(--nynps-text);
}

/* Testimonials section refinement */
.blog-featured h2:has(a[href*="customer-reviews"]),
.blog-featured h3:has(a[href*="customer-reviews"]) {
    margin-top: 60px !important;
}

/* Review text spacing */
.blog-featured p + p {
    margin-top: 6px;
}

/* Reduce visual harshness of large linked headings */
.blog-featured h2 a,
.blog-featured h3 a {
    color: var(--nynps-navy) !important;
    text-decoration: none !important;
}

.blog-featured h2 a:hover,
.blog-featured h3 a:hover {
    color: var(--nynps-blue) !important;
    text-decoration: underline !important;
}
/* ==========================================
   NYNPS HOMEPAGE SECTION LINE REFINEMENT
   ========================================== */

/* Remove separator from featured box label */
.nynps-featured-box h2::before,
.row-fluid[style*="border: 1px solid #5f97c8"] h2::before {
    display: none !important;
}

/* Make homepage section markers more subtle */
.blog-featured h2::before,
.blog-featured h3::before {
    width: 48px !important;
    height: 2px !important;
    background: var(--nynps-gold) !important;
    margin-bottom: 14px !important;
}

/* Slightly tighten lower homepage sections */
.blog-featured h2,
.blog-featured h3 {
    margin-top: 46px !important;
}
/* ==========================================
   NYNPS HOMEPAGE SECTION SPACING TWEAK
   ========================================== */

.blog-featured h2,
.blog-featured h3 {
    margin-top: 38px !important;
    margin-bottom: 12px !important;
}

.blog-featured h2::before,
.blog-featured h3::before {
    margin-bottom: 10px !important;
}
/* ==========================================
   FINAL HOMEPAGE SPACING POLISH
   ========================================== */

.blog-featured .items-leading article,
.blog-featured .item-content {
    margin-bottom: 22px !important;
}

.blog-featured h2,
.blog-featured h3 {
    margin-top: 32px !important;
    margin-bottom: 10px !important;
}

.blog-featured p {
    margin-bottom: 14px !important;
}

.blog-featured ul {
    margin-bottom: 16px !important;
}

/* tighten gap below service buttons */
.home-service-grid,
.nynps-services-grid {
    margin-bottom: 28px !important;
}

/* tighten gap below featured box */
.nynps-featured-box {
    margin-bottom: 30px !important;
}
/* ==========================================
   NYNPS MOBILE HAMBURGER MENU
   ========================================== */

/* Hide custom mobile menu on desktop */


/* Mobile menu behavior */

/* ==========================================
   NYNPS MOBILE MENU POLISH PASS 1
   ========================================== */


/* ==========================================
   NYNPS MOBILE MENU POLISH PASS 2
   ========================================== */


/* ==========================================
   NYNPS MOBILE HOMEPAGE POLISH
   ========================================== */

@media (max-width: 768px) {

    .page-header h1 {
        font-size: 2.15rem !important;
        line-height: 1.14 !important;
        margin-bottom: 24px !important;
    }

    .blog-featured {
        padding-top: 4px !important;
    }

    .blacklink,
    .nynps-service-grid a {
        padding: 10px 12px !important;
        font-size: 0.95rem !important;
        margin-bottom: 0 !important;
    }

    .row-fluid {
        margin-bottom: 8px !important;
    }

    .nynps-featured-box,
    .row-fluid[style*="border: 1px solid #5f97c8"] {
        margin-top: 30px !important;
        margin-bottom: 32px !important;
        padding: 22px !important;
    }

    .nynps-featured-box h2,
    .row-fluid[style*="border: 1px solid #5f97c8"] h2 {
        font-size: 1.65rem !important;
        line-height: 1.22 !important;
    }

    .nynps-featured-box h2:first-child,
    .row-fluid[style*="border: 1px solid #5f97c8"] h2:first-child {
        font-size: 1rem !important;
    }

    .blog-featured h2,
    .blog-featured h3 {
        font-size: 1.55rem !important;
        line-height: 1.22 !important;
        margin-top: 34px !important;
    }

    .blog-featured p,
    .blog-featured li {
        font-size: 1rem !important;
        line-height: 1.68 !important;
    }
}
/* ==========================================
   NYNPS HOMEPAGE SERVICE CARDS
   ========================================== */

.nynps-service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 42px;
}

.nynps-service-card {
    display: block;
    background: #ffffff;
    border: 1px solid #d7dce3;
    border-left: 5px solid var(--nynps-blue);
    padding: 18px 18px 16px;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: all .18s ease;
}

.nynps-service-card span {
    display: block;
    color: var(--nynps-navy);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
}

.nynps-service-card small {
    display: block;
    color: #3c4756;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.45;
}

.nynps-service-card:hover,
.nynps-service-card:focus {
    border-left-color: var(--nynps-gold);
    box-shadow: 0 6px 18px rgba(5, 35, 65, .10);
    transform: translateY(-2px);
}

.nynps-service-card:hover span,
.nynps-service-card:focus span {
    color: var(--nynps-blue);
}

/* Mobile */
@media (max-width: 768px) {
    .nynps-service-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 22px 0 34px;
    }

    .nynps-service-card {
        padding: 16px;
    }

    .nynps-service-card span {
        font-size: 1rem;
    }

    .nynps-service-card small {
        font-size: .88rem;
    }
}
/* ==========================================
   NYNPS SERVICE CARD REFINEMENT
   ========================================== */

.nynps-service-card {
    min-height: 116px;
}

.nynps-service-card span {
    font-size: 1.08rem !important;
}

.nynps-service-card small {
    font-size: .92rem !important;
}

/* Mobile: make service cards 2 columns */
@media (max-width: 768px) {
    .nynps-service-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .nynps-service-card {
        min-height: 132px;
        padding: 14px 12px !important;
    }

    .nynps-service-card span {
        font-size: .92rem !important;
        line-height: 1.2 !important;
    }

    .nynps-service-card small {
        font-size: .78rem !important;
        line-height: 1.35 !important;
    }
}
/* ==========================================
   NYNPS SERVICE CARD FINAL REFINEMENT
   ========================================== */

.nynps-service-card-grid {
    align-items: stretch;
}

.nynps-service-card {
    height: 100%;
}

/* Mobile card balance */
@media (max-width: 768px) {

    .nynps-service-card {
        min-height: 146px !important;
    }

    .nynps-service-card-grid .nynps-service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        min-height: 118px !important;
    }
}
/* ==========================================
   NYNPS SERVICE CARD ORDER + MOBILE CTA
   ========================================== */

/* Hide the extra Contact/Review card on desktop */
.nynps-service-card-contact {
    display: none;
}

/* Desktop remains 3 x 3 */
.nynps-service-card-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Mobile becomes 5 x 2 */
@media (max-width: 768px) {

    .nynps-service-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .nynps-service-card-contact {
        display: block;
        background: var(--nynps-menu) !important;
        border-color: var(--nynps-menu) !important;
        border-left: 5px solid var(--nynps-gold) !important;
    }

    .nynps-service-card-contact span,
    .nynps-service-card-contact small {
        color: #ffffff !important;
    }

    .nynps-service-card-contact:hover,
    .nynps-service-card-contact:focus {
        background: var(--nynps-navy) !important;
        box-shadow: 0 6px 18px rgba(5, 35, 65, .18);
    }
}
/* ==========================================
   NYNPS MOBILE CTA CARD REFINEMENT
   ========================================== */

@media (max-width: 768px) {

    .nynps-service-card-contact {
        background: linear-gradient(135deg, var(--nynps-menu), var(--nynps-navy)) !important;
        border: 1px solid var(--nynps-menu) !important;
        border-left: 5px solid var(--nynps-gold) !important;
        box-shadow: 0 8px 20px rgba(5, 35, 65, .22);
    }

    .nynps-service-card-contact span {
        color: #ffffff !important;
        font-size: .98rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    .nynps-service-card-contact small {
        color: rgba(255,255,255,.92) !important;
        font-size: .78rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
    }

    .nynps-service-card-contact::after {
        content: "Contact Us →";
        display: inline-block;
        margin-top: 12px;
        color: var(--nynps-gold);
        font-size: .82rem;
        font-weight: 800;
    }

    .nynps-service-card-contact:hover,
    .nynps-service-card-contact:focus {
        background: var(--nynps-blue) !important;
        transform: translateY(-2px);
    }
}
/* ==========================================
   NYNPS MOBILE FREE DOCUMENT REVIEW CARD
   ========================================== */

@media (max-width: 768px) {

    .nynps-service-card-contact {
        display: block !important;
        background: #10233f !important;
        border: 1px solid #10233f !important;
        border-left: 5px solid #c79a3b !important;
        box-shadow: 0 6px 18px rgba(16,35,63,.18);
        transition: all .25s ease;
    }

    .nynps-service-card-contact:hover,
    .nynps-service-card-contact:focus {
        background: #17345d !important;
        transform: translateY(-2px);
    }

    /* FREE DOCUMENT REVIEW heading */
    .nynps-service-card-contact span {
        display: block;
        color: #c79a3b !important;
        font-size: .78rem !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }

    /* Body text */
    .nynps-service-card-contact small {
        display: block;
        color: #ffffff !important;
        font-size: .88rem !important;
        line-height: 1.5 !important;
        font-weight: 600 !important;
    }

    /* Contact Us arrow */
    .nynps-service-card-contact::after {
        content: "Contact Us →";
        display: block;
        margin-top: 14px;
        color: #c79a3b;
        font-size: .88rem;
        font-weight: 700;
    }
}
.nynps-service-card-contact {
    background: #0d2547;
    border-left: 4px solid #d4a63f;
}

.nynps-service-card-contact span {
    color: #d4a63f;
    font-size: 1.25em;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.nynps-service-card-contact small {
    color: #ffffff;
    font-size: .95em;
    line-height: 1.5;
    display: block;
}

.nynps-service-card-contact:after {
    content: "Contact Us →";
    display: block;
    color: #d4a63f;
    font-weight: 700;
    margin-top: 15px;
}
.contact-card-title{
    display:block;
    color:#d4a63f !important;
    font-size:1.25em;
    font-weight:700;
    margin-bottom:12px;
}
/* ==========================================
   NYNPS MOBILE CTA CARD FINAL BALANCE
   ========================================== */

@media (max-width: 768px) {

    .nynps-service-card-contact {
        padding: 16px 14px !important;
    }

    .nynps-service-card-contact .contact-card-title {
        font-size: .82rem !important;
        letter-spacing: .08em !important;
        margin-bottom: 14px !important;
    }

    .nynps-service-card-contact small {
        font-size: .82rem !important;
        line-height: 1.42 !important;
    }

    .nynps-service-card-contact::after {
        margin-top: 16px !important;
        font-size: .84rem !important;
    }
}
@media (max-width: 768px) {
    .nynps-service-card-contact::after {
        content: "" !important;
        display: none !important;
    }

    .nynps-service-card-contact small {
        color: #c79a3b !important;
        font-size: .92rem !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
    }
}
/* ==========================================
   NYNPS REVIEWS PAGE / HOMEPAGE REVIEWS
   ========================================== */

.nynps-reviews-page {
  margin-top: 10px;
}

.nynps-reviews-intro {
  max-width: 1050px;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.nynps-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 24px 0 34px;
}

.nynps-review-card {
  border: 1px solid #d8dfe7;
  border-left: 4px solid var(--nynps-blue);
  background: #ffffff;
  padding: 22px 24px;
  box-sizing: border-box;
}

.nynps-stars {
  color: #c79a3b;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.nynps-review-preview,
.nynps-review-card details p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.nynps-review-card summary {
  color: var(--nynps-blue);
  font-weight: 700;
  cursor: pointer;
  margin: 10px 0 14px;
}

.nynps-review-card summary:hover {
  color: var(--nynps-navy);
  text-decoration: underline;
}

.nynps-review-name {
  color: var(--nynps-navy);
  font-weight: 700;
  margin-bottom: 0;
}

.nynps-review-link-wrap {
  margin-top: 22px;
}

.nynps-review-button {
  display: inline-block;
  background: var(--nynps-blue);
  color: #ffffff !important;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
}

.nynps-review-button:hover,
.nynps-review-button:focus {
  background: var(--nynps-navy);
  color: #ffffff !important;
  text-decoration: none;
}

@media (max-width: 768px) {
  .nynps-review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nynps-review-card {
    padding: 18px;
  }

  .nynps-review-preview,
  .nynps-review-card details p {
    font-size: .95rem;
    line-height: 1.6;
  }
}
/* ==========================================
   NYNPS ABOUT PAGE HISTORY FEATURE
   ========================================== */

.history-title {
  margin-bottom: 28px;
}

.nynps-history-feature {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin: 20px 0 30px;
}

.nynps-history-photo-wrap {
  flex: 0 0 380px;
  margin: 0;
}

.nynps-history-photo {
  margin: 0;
}

.nynps-history-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  transition: .25s ease;
}

.nynps-history-photo img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.history-caption {
  max-width: 380px;
  margin: 14px auto 0;
  text-align: center;
}

.history-caption-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1f2d3d;
  margin-bottom: 6px;
}

.history-caption-subtitle {
  font-size: .95rem;
  color: #666;
  margin-bottom: 8px;
}

.history-caption-text {
  font-size: .95rem;
  line-height: 1.55;
  color: #444;
}

.nynps-history-copy {
  flex: 1 1 auto;
}

@media (max-width: 900px) {
  .nynps-history-feature {
    display: block;
  }

  .nynps-history-photo-wrap {
    max-width: 380px;
    margin: 0 auto 28px;
  }
}
/* ==========================================
   NYNPS FAQ QUICK NAVIGATION
   ========================================== */

.faq-nav-box {
  border: 1px solid #d8e0ea;
  border-left: 5px solid #1f5f9f;
  background: #f7f9fc;
  padding: 24px 26px;
  margin: 30px 0 34px;
}

.faq-nav-title {
  margin: 0 0 6px;
  color: #10233f;
  font-size: 1.35rem;
}

.faq-nav-intro {
  margin: 0 0 18px;
  color: #4b5563;
}

.faq-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.faq-nav-grid a {
  display: block;
  color: #10233f;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(31,95,159,.18);
  padding: 6px 0;
}

.faq-nav-grid a:hover {
  color: #1f5f9f;
  text-decoration: underline;
}

.faq-section-title {
  margin-top: 36px;
  margin-bottom: 18px;
  color: #10233f;
}

@media (max-width: 768px) {
  .faq-nav-grid {
    grid-template-columns: 1fr;
  }

  .faq-nav-box {
    padding: 20px;
  }
}
/* ==========================================
   NYNPS FAQ KNOWLEDGE CENTER
   ========================================== */

.faq-section-title{
    font-size:2rem;
    font-weight:700;
    color:#10233f;
    margin:60px 0 24px;
    scroll-margin-top:120px;
}

.faq-item{
    padding:22px 0;
    border-top:1px solid #e5e7eb;
}

.faq-q{
    font-size:1.25rem;
    font-weight:700;
    color:#10233f;
    margin-bottom:12px;
    line-height:1.4;
}

.faq-a{
    font-size:1.05rem;
    line-height:1.9;
    color:#333;
}

.faq-a p:last-child{
    margin-bottom:0;
}

.faq-a a{
    font-weight:600;
}

@media (max-width:768px){

.faq-section-title{
    font-size:1.6rem;
    margin:45px 0 20px;
}

.faq-q{
    font-size:1.1rem;
}

.faq-a{
    font-size:1rem;
}

}
/* ==========================================
   NYNPS DESKTOP MENU FINAL LOCK
   ========================================== */


/* ==========================================
   NYNPS MENU BREAKPOINT FINAL FIX
   ========================================== */

/* Full desktop menu only on wider screens */


/* Tablet and mobile use hamburger menu */

/* =====================================================
   NYNPS NAVIGATION — FINAL RESPONSIVE SYSTEM
   Desktop menu + custom mobile menu
   ===================================================== */


/* -----------------------------------------------------
   BASE DESKTOP NAVIGATION
   ----------------------------------------------------- */










/* Desktop hover */




/* Desktop active page */




/* -----------------------------------------------------
   LARGE DESKTOP
   1400px and wider
   ----------------------------------------------------- */




/* -----------------------------------------------------
   STANDARD DESKTOP
   1200px–1399px
   ----------------------------------------------------- */




/* -----------------------------------------------------
   SMALL LAPTOP
   1024px–1199px
   Keep full desktop menu, but tighten it
   ----------------------------------------------------- */




/* -----------------------------------------------------
   DESKTOP ONLY
   Hide custom mobile menu
   ----------------------------------------------------- */




/* -----------------------------------------------------
   TABLETS AND PHONES
   1023px and below
   ----------------------------------------------------- */




/* -----------------------------------------------------
   SMALL PHONES
   600px and below
   ----------------------------------------------------- */


/* =========================================================
   NYNPS 2026 HEADER / NAVIGATION
   Desktop navigation + seal
   ========================================================= */


/* =========================================================
   NYNPS 2026 NAVIGATION - DESKTOP LAYOUT FIX
   Seal + menu on one horizontal row
   ========================================================= */


/* ==========================================
   NYNPS RESPONSIVE NAV RESET
   ========================================== */


/* ==========================================
   NYNPS DESKTOP / MOBILE NAV SEPARATION
   ========================================== */




/* Desktop Home seal inside Main Menu */



/* Home seal inside desktop menu */




/* Remove Joomla's menu hover/current box from the seal */

/* Keep Home seal clean on hover/focus */


/* Prevent the seal's menu item from getting Joomla hover styling */


/* Seal itself should never visually change */

/* Home seal - completely clean background */

/* Fully neutralize Home/seal menu item states */


/* Kill any pseudo-elements Joomla/Cassiopeia may use */


/* Keep seal unchanged on interaction */

/* Home seal: remove ALL menu background/active/hover effects */


/* Home seal link itself */


/* Remove Cassiopeia's active/hover underline */

/* =========================================================
   NYNPS MOBILE / TABLET HEADER
   ========================================================= */





/* HERO BRANDING */
















/* Ultra-wide: align hero branding with main page content */

/* Wide screens */


/* Ultra-wide screens */


/* Preserve hero composition on ultra-wide screens */


/* Normal desktop/tablet — current composition */


/* Ultra-wide only — slightly favor the right-side composition */

/* =========================================================
   NYNPS HERO IMAGE — RESPONSIVE PHOTO CONTROL
   ========================================================= */

/* Hero container */


/* Actual hero photograph */


/* Keep branding above photograph */



/* =========================================================
   ULTRA-WIDE DESKTOP
   Preserve the entire right side of the photograph
   ========================================================= */




/* =========================================================
   STANDARD DESKTOP / LAPTOP
   Keep existing attractive crop
   ========================================================= */




/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */




/* =========================================================
   MOBILE
   Keep the photo anchored to the right so the
   tablet, document and pen remain visible
   ========================================================= */


/* ==========================================
   TEST — WHITE TOP NAVIGATION
   8/29/2026
   ========================================== */

/* Main desktop header */


/* Desktop navigation links */


/* Desktop navigation hover */


/* Keep seal unchanged */


/* Subtle divider between white nav and hero */


/* ==========================================
   MOBILE HEADER
   ========================================== */


/* ==========================================
   TEST FIX — WHITE RESPONSIVE / HAMBURGER NAV
   ========================================== */


/* ==========================================
   TEST FIX — KEEP MOBILE TOP BAR WHITE
   WHEN MENU IS OPEN
   ========================================== */

/* =========================================================
   NYNPS FINAL HEADER / NAVIGATION / HERO SYSTEM
   Consolidated 2026-08-29
   Replaces earlier experimental header/nav/hero overrides.
   ========================================================= */

/* ---------- Full-width banner / hero ---------- */
.container-banner,
.container-banner .grid-child,
.container-banner .moduletable,
.container-banner .mod-custom,
.container-banner .nynps-header {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- White navigation bar ---------- */
.container-header {
  background: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #d9dee5 !important;
  box-shadow: none !important;
}

.container-header .container-nav {
  width: 100% !important;
  max-width: 1536px !important;
  min-height: 96px;
  margin: 0 auto !important;
  padding: 0 60px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.container-header .mod-menu,
.container-header .metismenu {
  width: 100%;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 4px !important;
}

.container-header .mod-menu > li,
.container-header .metismenu > li {
  margin: 0 !important;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span,
.container-header .metismenu > li > a,
.container-header .metismenu > li > span {
  display: flex !important;
  align-items: center !important;
  color: #052341 !important;
  background: transparent !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .1px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  padding: 18px 22px 15px !important;
  border-bottom: 3px solid transparent !important;
  transition: color .18s ease, background .18s ease, border-color .18s ease !important;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .metismenu > li > a:hover,
.container-header .metismenu > li > a:focus {
  color: #1f5f9f !important;
  background: #f4f7fa !important;
  border-bottom-color: #1f5f9f !important;
  text-decoration: none !important;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li > a[aria-current="page"],
.container-header .metismenu > li.active > a,
.container-header .metismenu > li.current > a,
.container-header .metismenu > li > a[aria-current="page"] {
  color: #052341 !important;
  background: #f4f7fa !important;
  border-bottom-color: #1f5f9f !important;
}

/* ---------- Desktop home seal ---------- */
.container-header .metismenu > li.item-101,
.container-header .metismenu > li.item-101.current,
.container-header .metismenu > li.item-101.active,
.container-header .metismenu > li.item-101:hover,
.container-header .metismenu > li.item-101:focus-within {
  background: transparent !important;
  box-shadow: none !important;
}

.container-header .metismenu > li.item-101 > a.nynps-home-seal,
.container-header .metismenu > li.item-101 > a.nynps-home-seal:hover,
.container-header .metismenu > li.item-101 > a.nynps-home-seal:focus,
.container-header .metismenu > li.item-101 > a.nynps-home-seal:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 4px 0 !important;
}

.container-header .metismenu > li.item-101 > a::before,
.container-header .metismenu > li.item-101 > a::after {
  content: none !important;
  display: none !important;
}

.nynps-home-seal img,
.container-header .metismenu > li.item-101 img {
  display: block !important;
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* ---------- Desktop sizing ---------- */
@media (min-width: 1400px) {
  .container-header .mod-menu,
  .container-header .metismenu {
    gap: 8px !important;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span,
  .container-header .metismenu > li > a,
  .container-header .metismenu > li > span {
    padding-left: 26px !important;
    padding-right: 26px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .container-header .container-nav {
    padding-left: 42px !important;
    padding-right: 42px !important;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span,
  .container-header .metismenu > li > a,
  .container-header .metismenu > li > span {
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: .96rem !important;
  }
}

/* ---------- Responsive / hamburger navigation ---------- */
.nynps-mobile-menu {
  display: none;
}

@media (min-width: 1200px) {
  .nynps-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .container-header .container-nav {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .container-header .mod-menu,
  .container-header .metismenu {
    display: none !important;
  }

  #mod-custom115 {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nynps-mobile-menu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #052341 !important;
  }

  .nynps-mobile-menu details {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .nynps-mobile-menu details > summary {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 84px !important;
    margin: 0 !important;
    padding: 8px 22px !important;
    box-sizing: border-box !important;
    list-style: none !important;
    cursor: pointer !important;
    color: #052341 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #d9dee5 !important;
    box-shadow: none !important;
  }

  .nynps-mobile-menu summary::-webkit-details-marker {
    display: none !important;
  }

  .nynps-mobile-menu summary::marker {
    content: "";
  }

  .nynps-mobile-brand {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin: 0 !important;
    line-height: 0 !important;
  }

  .nynps-mobile-seal {
    display: block !important;
    width: 62px !important;
    height: 62px !important;
    max-width: 62px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .nynps-mobile-menu-label,
  .nynps-mobile-menu-label::before,
  .nynps-mobile-menu-label::after {
    color: #052341 !important;
  }

  .nynps-mobile-menu-label {
    display: block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .nynps-mobile-menu details[open] .nynps-mobile-menu-label {
    font-size: 0 !important;
  }

  .nynps-mobile-menu details[open] .nynps-mobile-menu-label::after {
    content: "✕ Close" !important;
    font-size: 16px !important;
    color: #052341 !important;
  }

  /* Keep the top row white even while the menu is open. */
  .nynps-mobile-menu details > summary,
  .nynps-mobile-menu details[open] > summary,
  .nynps-mobile-menu details > summary:hover,
  .nynps-mobile-menu details > summary:focus {
    color: #052341 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
  }

  /* Open menu panel remains navy. */
  .nynps-mobile-menu-panel {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 8px !important;
    box-sizing: border-box !important;
    background: var(--nynps-menu) !important;
  }

  .nynps-mobile-menu-panel a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }

  .nynps-mobile-menu-panel a:hover,
  .nynps-mobile-menu-panel a:focus {
    color: #ffffff !important;
    background: rgba(31,95,159,.55) !important;
    text-decoration: none !important;
  }
}

@media (max-width: 600px) {
  .nynps-mobile-menu details > summary {
    min-height: 78px !important;
    padding: 7px 16px !important;
  }

  .nynps-mobile-seal {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
  }

  .nynps-mobile-menu-panel a {
    padding: 13px 18px !important;
    font-size: .96rem !important;
  }
}

/* ---------- Hero image ---------- */
.nynps-header {
  width: 100% !important;
  min-height: 220px;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #001126 !important;
}

.nynps-header-inner {
  height: 220px;
  position: relative;
  z-index: 2;
}

.nynps-hero-image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  display: block;
}

/* On very wide screens, stop the photograph from endlessly stretching
   toward the browser edge. The remaining area stays the same navy as
   the hero, keeping the tablet/computer visually closer to the Court link. */
@media (min-width: 1700px) {
  .nynps-header {
    min-height: 190px;
  }

  .nynps-header-inner {
    height: 190px;
  }

  .nynps-hero-image {
    width: 1536px;
    max-width: 1536px;
    object-position: center center;
  }
}

@media (min-width: 1000px) and (max-width: 1699px) {
  .nynps-hero-image {
    width: 100%;
    max-width: none;
    object-position: center center;
  }
}

@media (min-width: 700px) and (max-width: 999px) {
  .nynps-hero-image {
    width: 100%;
    max-width: none;
    object-position: center center;
  }
}

@media (max-width: 699px) {
  .nynps-header {
    min-height: 135px;
  }

  .nynps-header-inner {
    height: 135px;
  }

  .nynps-hero-image {
    width: 100%;
    max-width: none;
    object-position: right center;
  }
}

/* ---------- Hero branding ---------- */
.nynps-hero-brand {
  position: absolute;
  /* Smooth responsive anchor: moves gradually with the viewport,
     but never drifts too far inward on ultra-wide screens. */
  left: clamp(70px, 8vw, 140px);
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  z-index: 2;
}

.nynps-hero-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nynps-hero-ny {
  font-size: 76px;
  font-weight: 300;
  letter-spacing: -5px;
  line-height: .85;
}

.nynps-hero-name {
  font-size: 28px;
  font-weight: 300;
  line-height: .95;
  margin-left: 10px;
  letter-spacing: 1px;
}

.nynps-hero-tagline {
  font-size: 17px;
  font-weight: 600;
  margin-left: 115px;
  margin-top: 5px;
}

.nynps-hero-button {
  display: inline-block;
  margin-top: 22px;
  padding: 9px 30px;
  border: 2px solid #ffffff;
  border-radius: 15px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 601px) and (max-width: 900px) {
  .nynps-hero-ny { font-size: 52px; }
  .nynps-hero-name { font-size: 19px; margin-left: 7px; }
  .nynps-hero-tagline { font-size: 13px; margin-left: 96px; }
  .nynps-hero-button { margin-top: 15px; padding: 7px 22px; font-size: 12px; }
}

@media (max-width: 600px) {
  .nynps-hero-brand {
    left: 7%;
    top: 52%;
    transform: translateY(-50%);
  }

  .nynps-hero-ny { font-size: 48px; }
  .nynps-hero-name { font-size: 18px; margin-left: 7px; line-height: .95; }
  .nynps-hero-tagline { font-size: 12px; margin-left: 92px; margin-top: 3px; }
  .nynps-hero-button { margin-top: 14px; padding: 7px 22px; font-size: 12px; }
}
/* Hero logo link — keep branding white */
.nynps-hero-logo,
.nynps-hero-logo:link,
.nynps-hero-logo:visited,
.nynps-hero-logo:hover,
.nynps-hero-logo:focus,
.nynps-hero-logo:active {
    color: #fff !important;
    text-decoration: none !important;

}

/* NYNPS footer seal — desktop and responsive */

.nynps-footer-inner {
  position: relative;
}


}

@media (max-width: 991px) {
  .nynps-footer-inner {
    background-image: none;
  }
}

/* Footer seal layout */

.nynps-footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 35px;
  align-items: center;
}

.nynps-footer-text {
  min-width: 0;
}

.nynps-footer-seal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nynps-footer-seal img {
  display: block;
  width: 170px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 991px) {
  .nynps-footer-layout {
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 20px;
  }

  .nynps-footer-seal img {
    width: 125px;
  }
}

@media (max-width: 767px) {
  .nynps-footer-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .nynps-footer-seal {
    justify-content: center;
  }

  .nynps-footer-seal img {
    width: 125px;
  }
}

/* Center footer copyright on mobile only */
@media (max-width: 767px) {
  .nynps-footer-copy {
    text-align: center;
  }
}

/* ==========================================
   NYNPS FIXED CONTACT BAR - TEST VERSION 1
   ========================================== */

/* Reserve space so the bar doesn't cover the header */
body {
  padding-top: 38px;
}

/* Fixed bar across the entire browser */
.nynps-contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 38px;
  z-index: 1050;
  background: #052341;
  color: #ffffff;
  box-sizing: border-box;
}

/* Match the site's content width */
.nynps-contact-bar-inner {
  max-width: 1700px;
  height: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

/* Contact links */
.nynps-contact-bar a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nynps-contact-bar a:hover,
.nynps-contact-bar a:focus {
  color: #e4c078 !important;
  text-decoration: underline !important;
}

.nynps-contact-icon {
  margin-right: 5px;
}

.nynps-contact-phone,
.nynps-contact-email,
.nynps-contact-hours {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nynps-contact-hours {
  font-size: 13px;
  font-weight: 500;
}

/* Desktop: show full email */
.nynps-contact-email-short {
  display: none;
}

/* Tablet and narrower desktop */
@media (max-width: 1199px) {

  .nynps-contact-bar-inner {
    padding-left: 24px;
    padding-right: 24px;
    gap: 12px;
  }

  .nynps-contact-email-full {
    display: none;
  }

  .nynps-contact-email-short {
    display: inline;
  }

  .nynps-contact-bar a,
  .nynps-contact-hours {
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 767px) {

  body {
    padding-top: 42px;
  }

  .nynps-contact-bar {
    height: 42px;
  }

  .nynps-contact-bar-inner {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }

  .nynps-contact-phone-label,
  .nynps-contact-hours {
    display: none;
  }

  .nynps-contact-bar a {
    font-size: 14px;
    font-weight: 700;
  }
}

/* ==========================================
   NYNPS FIXED CONTACT BAR - VERSION 2
   ========================================== */

body {
  padding-top: 44px;
}

.nynps-contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 44px;
  z-index: 1050;
  background: #052341;
  color: #ffffff;
  box-sizing: border-box;
}

.nynps-contact-bar-inner {
  max-width: 1700px;
  height: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-sizing: border-box;
}

.nynps-contact-bar a,
.nynps-contact-hours {
  color: #ffffff !important;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.nynps-contact-bar a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  text-decoration: none !important;
}

.nynps-contact-bar a:hover,
.nynps-contact-bar a:focus {
  color: #e4c078 !important;
  text-decoration: underline !important;
}

.nynps-contact-hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.nynps-contact-email-short {
  display: none;
}

/* Tablet and narrow desktop */
@media (max-width: 1199px) {

  .nynps-contact-bar-inner {
    padding: 0 24px;
  }

  .nynps-contact-hours {
    display: none;
  }

  .nynps-contact-bar a {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 767px) {

  body {
    padding-top: 46px;
  }

  .nynps-contact-bar {
    height: 46px;
  }

  .nynps-contact-bar-inner {
    padding: 0 16px;
    gap: 10px;
  }

  .nynps-contact-phone-label,
  .nynps-contact-email-full {
    display: none;
  }

  .nynps-contact-email-short {
    display: inline;
  }

  .nynps-contact-bar a {
    font-size: 15px;
    font-weight: 700;
  }
}

/* ==========================================
   NYNPS CONTACT BAR - RESPONSIVE REFINEMENT
   ========================================== */

/* Tablet: show Email Us instead of full email */
@media (min-width: 768px) and (max-width: 1199px) {

  .nynps-contact-email-full {
    display: none;
  }

  .nynps-contact-email-short {
    display: inline;
  }

  /* Keep hours visible on tablet */
  .nynps-contact-hours {
    display: inline-flex;
  }
}

/* Narrow tablet: prioritize phone and email */
@media (min-width: 768px) and (max-width: 850px) {

  .nynps-contact-hours {
    display: none;
  }
}

/* Mobile: phone and email only */
@media (max-width: 767px) {

  .nynps-contact-hours {
    display: none;
  }

  .nynps-contact-email-short {
    display: inline;
  }
}

/* ==========================================
   NYNPS STICKY MOBILE & TABLET NAVIGATION
   TEST VERSION 1
   ========================================== */

/* Tablet and phone only */
@media (max-width: 1199px) {

  .container-header {
    position: sticky !important;
    top: 44px !important;
    z-index: 1040 !important;
    background: #ffffff !important;
  }

}

/* Phone: account for taller contact bar */
@media (max-width: 767px) {

  .container-header {
    top: 46px !important;
  }

}

/* NYNPS CONTENT WIDTH TEST - VERSION 1 */

@media (min-width: 992px) {
  :root {
    --nynps-site-padding: 35px;
  }
}



/* ==========================================
   NYNPS SERVICE CARD HEIGHT FIX - V2
   Tablet landscape
   ========================================== */

@media (min-width: 769px) and (max-width: 1199px) {

  .nynps-service-card-grid {
    grid-auto-rows: auto !important;
    align-items: stretch !important;
  }

  .nynps-service-card {
    height: auto !important;
    min-height: max-content !important;
    padding: 18px 18px 22px !important;
    box-sizing: border-box !important;
  }

  .nynps-service-card span,
  .nynps-service-card small {
    height: auto !important;
    overflow: visible !important;
  }

}


/* ==========================================
   NYNPS MOBILE SUBMENU FIX - VERSION 2
   ========================================== */

@media (max-width: 1199px) {

  .nynps-mobile-menu-panel .nynps-mobile-submenu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .nynps-mobile-menu-panel .nynps-mobile-submenu > details {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #dce3eb;
  }

  .nynps-mobile-menu-panel .nynps-mobile-submenu > details > summary {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 15px 42px 15px 20px !important;
    background: #f3f6fa !important;
    color: #052341 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
  }

  .nynps-mobile-menu-panel .nynps-mobile-submenu > details > summary::after {
    content: "+" !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .nynps-mobile-menu-panel .nynps-mobile-submenu > details[open] > summary::after {
    content: "−" !important;
  }

  .nynps-mobile-menu-panel .nynps-mobile-submenu > details > a {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 20px 12px 34px !important;
    background: #ffffff !important;
    color: #052341 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    box-sizing: border-box;
    border-bottom: 1px solid #edf0f4;
  }

}

/* ==========================================
   NYNPS MOBILE MENU SCROLL FIX
   ========================================== */

@media (max-width: 1199px) {

  .nynps-mobile-menu > details {
    position: relative;
  }

  .nynps-mobile-menu-panel {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;

    max-height: calc(100dvh - 130px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    z-index: 1050 !important;
  }

}

/* ==========================================
   NYNPS EARLIER SIDEBAR STACKING
   Match hamburger breakpoint at 1199px
   ========================================== */

@media (min-width: 992px) and (max-width: 1199px) {

  /* Let the article occupy the full content width */
  .site-grid > .container-component {
    grid-area: auto !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-width: 0;
  }

  /* Move service directory below the article */
  .site-grid > .container-sidebar-right {
    grid-area: auto !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-width: 0;
  }

}


/* NYNPS - Prevent horizontal overflow */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.nynps-mobile-menu,
.nynps-mobile-menu-panel {
  max-width: 100%;
  box-sizing: border-box;
}

.nynps-mobile-menu-panel a {
  box-sizing: border-box;
  overflow-wrap: break-word;
}

/* NYNPS - Mobile menu right-edge clearance */

@media (max-width: 1199px) {
  .nynps-mobile-menu-panel {
    width: calc(100% - 8px) !important;
    right: auto !important;
  }
}

/* ==========================================
   NYNPS IPHONE SERVICE CARDS - V1
   October 11, 2026
   ========================================== */

@media (max-width: 767px) {

  .nynps-service-card-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .nynps-service-card {
    min-height: 0 !important;
    height: auto !important;
    padding: 16px !important;
  }

  .nynps-service-card span {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }

  .nynps-service-card small {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

}


/* ==========================================
   NYNPS MOBILE CONTENT WIDTH - V1
   October 11, 2026
   ========================================== */

@media (max-width: 767px) {

  .site-grid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .site-grid > .container-component {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0;
  }

}
/* NYNPS MOBILE PAGE TITLE REFINEMENT */

@media (max-width: 767px) {

  .com-content-article h1,
  .page-header h1 {
    font-size: 28px !important;
    line-height: 1.17 !important;
    letter-spacing: -0.3px;
  }

  body.view-featured .com-content-article h1,
  body.itemid-101 .com-content-article h1 {
    font-size: 29px !important;
    line-height: 1.17 !important;
  }

}

/* ==========================================
   NYNPS MOBILE HEADING HIERARCHY - V1
   October 11, 2026
   ========================================== */

@media (max-width: 767px) {

  /* Main page title: preserve approved size */
  .com-content-article h1,
  .page-header h1 {
    margin-bottom: 22px !important;
  }

  /* Secondary headings */
  .com-content-article h2,
  .nynps-rebuild h2,
  .nynps-rebuild h2.np {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    margin-top: 28px !important;
    margin-bottom: 14px !important;
  }

  /* Reduce gap below main title on homepage */
  body.view-featured .com-content-article h1,
  body.itemid-101 .com-content-article h1 {
    margin-bottom: 18px !important;
  }

}
/* ==========================================
   NYNPS MOBILE FEATURED SERVICE BOX - V1
   ========================================== */

@media (max-width: 767px) {

  .nynps-featured-box,
  .row-fluid[style*="border: 1px solid #5f97c8"] {
    padding: 14px !important;
  }

}