/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --psf-blue:        #1a56db;
  --psf-blue-dark:   #1245b8;
  --psf-blue-light:  #e8effd;
  --psf-blue-mid:    #3b72f6;
  --psf-text:        #111827;
  --psf-text-muted:  #6b7280;
  --psf-bg:          #f8f9fb;
  --psf-white:       #ffffff;
  --psf-border:      #e5e7eb;
  --psf-radius:      8px;
  --psf-radius-lg:   12px;
  --psf-shadow:      0 1px 4px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --psf-shadow-md:   0 4px 24px rgba(26,86,219,.12);
  --psf-container:   1200px;
  --psf-font:        'Inter', system-ui, -apple-system, sans-serif;
  --psf-transition:  .2s ease;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--psf-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--psf-text);
  background: var(--psf-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--psf-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout Utilities ──────────────────────────────────────────────────────── */
.psf-container {
  max-width: var(--psf-container);
  margin: 0 auto;
  padding: 0 24px;
}

.psf-section { padding: 64px 0; }
.psf-section--alt { background: var(--psf-white); }

.psf-section-header { margin-bottom: 40px; }
.psf-section-header--centered { text-align: center; }

.psf-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--psf-blue);
  margin-bottom: 8px;
}

.psf-section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--psf-text);
  margin-bottom: 12px;
}

.psf-section-desc { color: var(--psf-text-muted); max-width: 640px; }
.psf-section-header--centered .psf-section-desc { margin: 0 auto; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.psf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--psf-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--psf-transition), color var(--psf-transition), border-color var(--psf-transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.psf-btn--lg { padding: 14px 28px; font-size: 16px; }
.psf-btn--sm { padding: 6px 14px; font-size: 13px; }

.psf-btn--primary { background: var(--psf-blue); color: #fff; }
.psf-btn--primary:hover { background: var(--psf-blue-dark); text-decoration: none; color: #fff; }

.psf-btn--outline { background: transparent; color: var(--psf-blue); border-color: var(--psf-blue); }
.psf-btn--outline:hover { background: var(--psf-blue); color: #fff; text-decoration: none; }

.psf-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.psf-btn--outline-white:hover { background: #fff; color: var(--psf-blue); text-decoration: none; }

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.psf-card {
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: var(--psf-radius-lg);
  padding: 24px;
  box-shadow: var(--psf-shadow);
}
.psf-card__heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--psf-text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--psf-border);
}

/* ─── Breadcrumb ─────────────────────────────────────────────────────────────── */
.psf-breadcrumb {
  background: var(--psf-white);
  border-bottom: 1px solid var(--psf-border);
  padding: 12px 0;
  font-size: 13px;
}
.psf-breadcrumb nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.psf-breadcrumb a { color: var(--psf-blue); }
.psf-breadcrumb span[aria-current] { color: var(--psf-text-muted); }
.psf-breadcrumb span[aria-hidden] { color: var(--psf-border); }

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.psf-header {
  background: var(--psf-white);
  border-bottom: 1px solid var(--psf-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.psf-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.psf-header__brand { flex-shrink: 0; }
.psf-header__brand img { height: 36px; width: auto; }
.psf-header__logo-text { font-size: 18px; font-weight: 700; color: var(--psf-blue); }
.psf-header__nav { flex: 1; }
.psf-header__cta { margin-left: auto; flex-shrink: 0; }

/* Primary nav menu */
.psf-nav { list-style: none; display: flex; gap: 4px; }
.psf-nav li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--psf-text);
  border-radius: var(--psf-radius);
  transition: background var(--psf-transition);
}
.psf-nav li a:hover { background: var(--psf-blue-light); color: var(--psf-blue); text-decoration: none; }
.psf-nav li.current-menu-item > a { color: var(--psf-blue); font-weight: 600; }

/* Dropdown arrow indicator */
.psf-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: 0.6;
  transition: transform var(--psf-transition);
}
.psf-nav .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
  opacity: 1;
}

/* Dropdown submenus */
.psf-nav li { position: relative; }
.psf-nav .sub-menu,
.psf-nav ul ul {
  display: none !important;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: var(--psf-radius);
  box-shadow: var(--psf-shadow);
  z-index: 9999;
  padding: 6px;
  list-style: none;
  margin: 0;
}
.psf-nav li:hover > .sub-menu,
.psf-nav li:hover > ul,
.psf-nav li:focus-within > .sub-menu,
.psf-nav li:focus-within > ul {
  display: block !important;
}
.psf-nav .sub-menu li,
.psf-nav ul ul li { display: block; width: 100%; }
.psf-nav .sub-menu li a,
.psf-nav ul ul li a {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--psf-text);
  display: block;
  border-radius: 4px;
  white-space: nowrap;
}
.psf-nav .sub-menu li a:hover { background: var(--psf-blue-light); color: var(--psf-blue); }
.psf-nav .sub-menu .sub-menu,
.psf-nav ul ul ul { top: 0; left: 100%; }

/* Hamburger (mobile) */
.psf-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.psf-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--psf-text);
  border-radius: 2px;
  transition: transform var(--psf-transition), opacity var(--psf-transition);
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.psf-footer { background: #0f172a; color: #cbd5e1; margin-top: 0; }
.psf-footer__top { padding: 56px 0 40px; }
.psf-footer__grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 48px; }
.psf-footer__brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.psf-footer__tagline { font-size: 14px; color: #94a3b8; }
.psf-footer__heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; }
.psf-footer__menu { list-style: none; }
.psf-footer__menu li { margin-bottom: 8px; }
.psf-footer__menu a { color: #94a3b8; font-size: 14px; }
.psf-footer__menu a:hover { color: #fff; text-decoration: none; }
.psf-footer__bottom { border-top: 1px solid #1e293b; padding: 20px 0; }
.psf-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #64748b; }
.psf-footer__bottom-inner a { color: #64748b; }
.psf-footer__bottom-inner a:hover { color: #94a3b8; }
.psf-footer__bottom-inner nav { display: flex; gap: 20px; }

/* ─── Homepage ───────────────────────────────────────────────────────────────── */
/* ── Hero ── */
.psf-home-hero {
  background: #eef1fb;
  padding: 80px 0 72px;
  text-align: center;
}
.psf-home-hero__inner { max-width: 720px; margin: 0 auto; }
.psf-home-hero__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: #1a2b5e;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.psf-home-hero__title { font-size: clamp(28px, 5vw, 54px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; color: var(--psf-text); }
.psf-home-hero__subtitle { font-size: 18px; color: var(--psf-text-muted); max-width: 480px; margin: 0 auto 32px; }
.psf-home-hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.psf-home-hero__note { font-size: 13px; color: var(--psf-text-muted); }

/* ── Browse By State — geographic tile map ── */
.psf-home-states { background: var(--psf-white); }
.psf-home-states .psf-section-header { margin-bottom: 40px; }

/* Single shared blue container wrapping map + panel */
.psf-home-states__outer {
  background: #e8eef8;
  border-radius: 20px;
  padding: 32px;
}
.psf-home-states__grid { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }

.psf-home-states__map-card {
  /* No separate card — sits directly on the outer blue bg */
}

/* Geographic tile map */
.psf-tile-map {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 4px;
}
.psf-tile-map__state {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(26,86,219,.15);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #3b5bdb;
  text-decoration: none;
  transition: background var(--psf-transition), color var(--psf-transition), border-color var(--psf-transition);
}
.psf-tile-map__state:hover {
  background: var(--psf-blue);
  color: #fff;
  border-color: var(--psf-blue);
  text-decoration: none;
}

/* Right stats panel — white card on blue bg */
.psf-home-states__panel {
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.psf-home-states__panel .psf-label { margin-bottom: 4px; }
.psf-home-states__panel-title { font-size: 22px; font-weight: 800; margin: 0; }
.psf-home-states__panel p { font-size: 14px; color: var(--psf-text-muted); margin: 0; }
.psf-home-states__stat-row { display: flex; gap: 24px; padding-top: 16px; border-top: 1px solid var(--psf-border); margin-top: 4px; }
.psf-home-states__stat-small strong { display: block; font-size: 24px; font-weight: 800; color: var(--psf-blue); }
.psf-home-states__stat-small span { font-size: 12px; color: var(--psf-text-muted); }

/* ── Why / prospective students ── */
.psf-home-why {
  background: #eef1fb;
  padding: 72px 0;
}
.psf-home-why .psf-section-title { margin-top: 8px; margin-bottom: 12px; }
.psf-home-why__intro { font-size: 15px; color: var(--psf-text-muted); max-width: 600px; margin-bottom: 32px; }
.psf-home-why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.psf-home-why__card {
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: 12px;
  padding: 28px 24px;
}
.psf-home-why__card strong { display: block; font-size: 40px; font-weight: 800; color: var(--psf-blue); margin-bottom: 12px; }
.psf-home-why__card span { font-size: 14px; color: var(--psf-text-muted); line-height: 1.6; }
.psf-home-why__card a { color: var(--psf-blue); }
.psf-home-why__body { font-size: 15px; color: var(--psf-text-muted); max-width: 680px; margin-bottom: 12px; line-height: 1.7; }

/* ── Blue CTA Banner ── */
.psf-home-cta-banner {
  background: var(--psf-blue);
  color: #fff;
  padding: 40px 0;
}
.psf-home-cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.psf-home-cta-banner__inner p { font-size: 20px; font-weight: 700; margin: 0; }
.psf-btn--white { background: #fff; color: var(--psf-blue); }
.psf-btn--white:hover { background: var(--psf-blue-light); }

/* ── Guide columns ── */
.psf-guide-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.psf-guide-col {
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: 10px;
  padding: 20px 20px 24px;
}
.psf-guide-col__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--psf-text);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--psf-border);
  line-height: 1.3;
}
.psf-guide-col__title:hover { color: var(--psf-blue); text-decoration: none; }
.psf-guide-col__list { list-style: none; margin: 0; padding: 0; }
.psf-guide-col__list li { margin-bottom: 8px; }
.psf-guide-col__list li a { font-size: 13px; color: var(--psf-text-muted); line-height: 1.4; display: block; }
.psf-guide-col__list li a:hover { color: var(--psf-blue); text-decoration: none; }

/* ── Dark PharmD section ── */
.psf-home-pharmd-dark {
  background: #1a1f36;
  color: rgba(255,255,255,.85);
  text-align: center;
}
.psf-home-pharmd-dark .psf-container { max-width: 760px; }
.psf-home-pharmd-dark .psf-label { color: rgba(255,255,255,.45); display: block; margin-bottom: 24px; }
.psf-home-pharmd-dark__lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.psf-home-pharmd-dark__body {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
}

/* ── Compare table ── */
.psf-compare-table-wrap { margin-top: 28px; overflow-x: auto; }
.psf-compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.psf-compare-table th, .psf-compare-table td { padding: 12px 16px; border: 1px solid var(--psf-border); text-align: left; }
.psf-compare-table th { background: var(--psf-blue-light); color: var(--psf-blue); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.psf-compare-table tr:nth-child(even) td { background: var(--psf-bg); }

/* ── Find a school ── */
.psf-home-find__search-bar { max-width: 560px; }
.psf-home-find__search-bar .psf-label { display: block; margin-bottom: 10px; }

/* ── Who We Are ── */
.psf-home-about p { max-width: 720px; color: var(--psf-text-muted); margin-top: 16px; font-size: 15px; line-height: 1.7; }

/* ─── State Page ─────────────────────────────────────────────────────────────── */
.psf-state-hero {
  background: #eef1fb;
  padding: 40px 0 48px;
}
.psf-breadcrumb__nav { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--psf-text-muted); margin-bottom: 16px; flex-wrap: wrap; }
.psf-breadcrumb__nav a { color: var(--psf-text-muted); }
.psf-breadcrumb__nav a:hover { color: var(--psf-blue); text-decoration: none; }
.psf-breadcrumb__nav span[aria-hidden] { color: var(--psf-border); }
.psf-state-hero__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: #1a2b5e;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.psf-state-hero__title { font-size: clamp(24px, 3.5vw, 42px); font-weight: 800; line-height: 1.15; margin: 0; }
.psf-state-hero__intro { color: var(--psf-text-muted); max-width: 560px; font-size: 15px; }
.psf-state-hero__form-label { font-size: 14px; font-weight: 600; margin-bottom: 12px; }

.psf-state-intro { padding: 32px 0; background: var(--psf-white); }
.psf-state-schools-section { background: #eef1fb; padding: 48px 0; }

/* State intro content styling */
/* Blue subheadings inside state page content */
.psf-state-intro h2,
.psf-state-intro h3 { color: var(--psf-blue); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 28px; margin-bottom: 10px; }

/* Paragraph spacing */
.psf-state-intro p { margin-bottom: 16px; font-size: 15px; line-height: 1.7; color: var(--psf-text-muted); }

/* Remove HR lines in content */
.psf-state-intro hr { display: none; }

/* Two-column table layout */
.psf-state-intro table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.psf-state-intro td { vertical-align: top; padding: 0 16px 0 0; }
.psf-state-intro td:last-child { padding-right: 0; }

/* Intro row (widget + text side-by-side) */
.psf-intro-row {
  display: flex !important;
  gap: 32px;
  align-items: flex-start;
  float: none !important;
}
.psf-intro-row::before, .psf-intro-row::after { display: none !important; }
.psf-intro-row > [class*="fw-col-"] { float: none !important; width: auto !important; padding: 0 !important; }
.psf-intro-row > [class*="fw-col-"]:first-child { flex: 0 0 300px; }
.psf-intro-row > [class*="fw-col-"]:last-child  { flex: 1; min-width: 0; }

/* Fisher zip-search widget box — coloured frame around the ESY card */
.psf-state-widget-box {
  background: var(--psf-blue);
  border-radius: 16px;
  padding: 4px;
  box-shadow: 0 6px 24px rgba(26,86,219,.22);
  overflow: hidden;
}
/* Let the inner ESY card fill the frame cleanly */
.psf-state-widget-box > * { border-radius: 12px; overflow: hidden; }

/* ESY listings section — white background */
.psf-listings-section > .fw-container { background: #fff; }

/* Hide PHP-generated school cards (Unyson content is the canonical listing) */
.psf-state-schools-section { display: none; }

/* Gutenberg columns */
.psf-state-intro .wp-block-columns { gap: 32px; }
/* Elementor columns */
.psf-state-intro .elementor-row { display: flex; gap: 32px; align-items: flex-start; }
.psf-state-intro .elementor-col-33:first-child,
.psf-state-intro .elementor-column:first-child { flex-shrink: 0; }

/* Map section that follows "Show More Schools" — toggled via JS */
.psf-state-map-section { background: #eef1fb; padding: 32px 0; margin-top: 24px; border-radius: 12px; }

/* ── Unyson school listing cards (class added via JS to rows with admission btn) */

.psf-school-listing-card {
  background: #eef1fb;
  border: 1px solid #d0ddf0;
  border-radius: 12px;
  padding: 20px 24px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* School count heading injected by JS before first card */
.psf-school-count-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--psf-text);
  text-transform: none;
  letter-spacing: 0;
  margin: 32px 0 16px;
}

/* School name h2 — moved into description column by JS */
.psf-school-listing-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--psf-text);
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.psf-school-listing-card h2 a { color: inherit; }
.psf-school-listing-card h2 a:hover { color: var(--psf-blue); text-decoration: none; }

/* Private/Public · City badge */
.psf-school-badge {
  display: inline-block;
  background: rgba(26,86,219,.08);
  border: 1px solid rgba(26,86,219,.18);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--psf-blue);
  margin-bottom: 10px;
}

/* Data row — flex, top-aligned so logo sits at top with the title */
.psf-school-listing-card .fw-row.psf-data-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.psf-school-listing-card .fw-row.psf-data-row::before,
.psf-school-listing-card .fw-row.psf-data-row::after { display: none !important; }

.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"] {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Logo column — vertically centered */
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:first-child {
  flex: 0 0 120px;
  align-self: center;
}
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:first-child img {
  max-width: 120px;
  height: auto;
  border-radius: 6px;
}

/* Description column — column flex so title+badge+text stack */
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:nth-child(2) p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--psf-text-muted);
  margin: 0;
  padding: 0 !important;
}

/* Admission info column */
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:last-child {
  flex: 0 0 auto;
  align-self: center;
}
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:last-child a.fw-btn-blue {
  display: inline-block;
  background: var(--psf-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none !important;
}
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:last-child a.fw-btn-blue:hover {
  background: var(--psf-blue-dark);
}
/* Duplicate school name in right col */
.psf-school-listing-card .fw-row.psf-data-row [class*="fw-col-"]:last-child .hidden-pop { display: none; }

/* ── Unyson stats section (div_style1 boxes) ───────────────────────────────── */
.psf-stats-section { padding: 8px 0 32px; }
.psf-stats-section .fw-row {
  display: flex !important;
  gap: 16px;
  float: none !important;
}
.psf-stats-section .fw-row::before,
.psf-stats-section .fw-row::after { display: none !important; }
.psf-stats-section .fw-row > [class*="fw-col-"] {
  flex: 1;
  float: none !important;
  padding: 0 !important;
  width: auto !important;
}

.psf-state-intro .div_style1 {
  background: #1e3a8a;
  border-radius: 12px;
  padding: 24px 20px 20px;
  text-align: center;
  color: #fff;
  height: 100%;
}
.psf-state-intro .div_style1 h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65) !important;
  margin: 0 0 10px !important;
}
.psf-state-intro .div_style1 h4 span { color: inherit !important; }
.psf-state-intro .div_style1 h1 {
  font-size: 40px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 12px !important;
  text-align: center !important;
  line-height: 1.1;
}
.psf-state-intro .div_style1 h1 span { color: inherit !important; }
.psf-state-intro .div_style1 .table-responsive { margin-top: 0 !important; }
.psf-state-intro .div_style1 .main-table { margin-bottom: 0 !important; border: none; }
.psf-state-intro .div_style1 .main-table th {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,.55) !important;
  text-align: center !important;
  border: none;
  padding: 0 !important;
}
.psf-state-intro .div_style1 p { display: none; } /* hide "Click Here" links */

/* ── State intro: section headings ──────────────────────────────────────────── */
/* Kill any ">" pseudo-arrow added by legacy theme or Unyson */
.psf-state-intro h2::after,
.psf-state-intro h3::after { content: '' !important; display: none !important; }
/* General section headings (info & requirements, prerequisites, etc.) */
.psf-state-intro .fw-main-row h2:not(.psf-school-count-heading) {
  font-size: 26px;
  font-weight: 800;
  color: var(--psf-text);
  margin: 0 0 16px;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-transform: none;
}

/* ── Info / stats table (2-col: label + value) ──────────────────────────────── */
.psf-info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--psf-border);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0 32px;
  font-size: 14px;
}
.psf-info-table tr { border-bottom: 1px solid var(--psf-border); }
.psf-info-table tr:last-child { border-bottom: none; }
.psf-info-table tr:hover { background: #f5f7fc; }
.psf-info-table td { padding: 12px 16px; vertical-align: middle; }
.psf-info-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--psf-blue);
  font-size: 15px;
  white-space: nowrap;
}

/* ── Prerequisites table ─────────────────────────────────────────────────────── */
.psf-prereq-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 32px;
  border: 1px solid var(--psf-border);
  border-radius: 10px;
}
.psf-prereq-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
  font-size: 13px;
}
.psf-prereq-table th {
  background: #f0f3fb;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--psf-border);
  border-bottom: 2px solid var(--psf-border);
  white-space: nowrap;
  color: var(--psf-text);
}
.psf-prereq-table th:first-child { text-align: left; padding-left: 14px; min-width: 160px; }
.psf-prereq-table td {
  padding: 8px 6px;
  text-align: center;
  border-top: 1px solid var(--psf-border);
  border-right: 1px solid var(--psf-border);
  vertical-align: middle;
}
.psf-prereq-table td:first-child {
  text-align: left;
  font-weight: 600;
  padding-left: 14px;
  color: var(--psf-text);
  white-space: nowrap;
}
.psf-prereq-table tr:last-child td { border-bottom: none; }
/* Required pill */
.psf-prereq-r {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--psf-blue);
  color: #fff;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  min-width: 26px;
  letter-spacing: 0;
}
/* Conditionally Required pill */
.psf-prereq-cr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--psf-blue);
  border: 1.5px solid var(--psf-blue);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  min-width: 26px;
  letter-spacing: 0;
}

/* School cards */
.psf-school-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.psf-school-card {
  display: grid;
  grid-template-columns: 48px 80px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: var(--psf-radius-lg);
  padding: 20px 24px;
  transition: box-shadow var(--psf-transition), border-color var(--psf-transition);
}
.psf-school-card:hover { box-shadow: var(--psf-shadow-md); border-color: var(--psf-blue); }

.psf-school-card__rank {
  width: 36px; height: 36px;
  background: var(--psf-blue-light);
  color: var(--psf-blue);
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.psf-school-card__logo { display: flex; align-items: center; justify-content: center; }
.psf-school-card__logo img { max-width: 72px; max-height: 48px; object-fit: contain; }
.psf-school-card__logo-placeholder { font-size: 28px; color: var(--psf-border); }
.psf-school-card__name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.psf-school-card__name a { color: var(--psf-text); }
.psf-school-card__name a:hover { color: var(--psf-blue); text-decoration: none; }
.psf-school-card__type { font-size: 12px; color: var(--psf-text-muted); margin-bottom: 8px; }
.psf-school-card__stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--psf-text-muted); margin-bottom: 6px; }
.psf-school-card__stats i { color: var(--psf-blue); margin-right: 3px; }
.psf-school-card__excerpt { font-size: 13px; color: var(--psf-text-muted); line-height: 1.5; }

/* State stats bar */
.psf-state-stats { background: var(--psf-blue); color: #fff; padding: 40px 0; margin-top: 48px; }
.psf-state-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.psf-state-stats__item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.psf-state-stats__item:last-child { border-right: none; }
.psf-state-stats__value { display: block; font-size: 36px; font-weight: 800; }
.psf-state-stats__label { font-size: 13px; opacity: .8; margin-top: 4px; display: block; }

/* ─── Individual School Page ─────────────────────────────────────────────────── */
.psf-school-hero {
  background: var(--psf-white);
  border-bottom: 1px solid var(--psf-border);
  padding: 40px 0;
}
.psf-school-hero__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.psf-school-hero__info { display: flex; align-items: center; gap: 20px; }
.psf-school-hero__logo img { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--psf-border); border-radius: 8px; padding: 4px; }
.psf-school-hero__title { font-size: clamp(20px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.psf-school-hero__meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--psf-text-muted); }
.psf-school-hero__meta span { display: flex; align-items: center; gap: 6px; }
.psf-school-hero__meta i { color: var(--psf-blue); }

/* Quick-facts chips */
.psf-school-facts { background: var(--psf-blue-light); border-bottom: 1px solid var(--psf-border); padding: 20px 0; }
.psf-school-facts__grid { display: flex; gap: 0; flex-wrap: wrap; }
.psf-school-facts__item {
  display: flex;
  flex-direction: column;
  padding: 8px 24px;
  border-right: 1px solid var(--psf-border);
  min-width: 120px;
}
.psf-school-facts__item:last-child { border-right: none; }
.psf-school-facts__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--psf-text-muted); }
.psf-school-facts__value { font-size: 18px; font-weight: 700; color: var(--psf-blue); margin-top: 2px; }

/* School two-column layout */
.psf-school-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 64px;
  align-items: start;
}
.psf-school-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 80px; }

.psf-toc { list-style: none; }
.psf-toc li { border-bottom: 1px solid var(--psf-border); }
.psf-toc li:last-child { border-bottom: none; }
.psf-toc a { display: block; padding: 10px 0; font-size: 13px; color: var(--psf-text); transition: color var(--psf-transition), padding-left var(--psf-transition); }
.psf-toc a:hover, .psf-toc a.active { color: var(--psf-blue); padding-left: 8px; text-decoration: none; }

.psf-related-list { list-style: none; }
.psf-related-list li { border-bottom: 1px solid var(--psf-border); }
.psf-related-list li:last-child { border-bottom: none; }
.psf-related-list a { display: block; padding: 9px 0; font-size: 13px; color: var(--psf-text); }
.psf-related-list a:hover { color: var(--psf-blue); text-decoration: none; }
.psf-link-more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--psf-blue); font-weight: 600; }

/* ─── Entry Content (existing school HTML) ───────────────────────────────────── */
.psf-entry-content { min-width: 0; }
.psf-entry-content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; padding-top: 40px; border-top: 1px solid var(--psf-border); }
.psf-entry-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.psf-entry-content h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; color: var(--psf-text); }
.psf-entry-content h4 { font-size: 15px; font-weight: 700; margin: 24px 0 10px; color: var(--psf-text); }
.psf-entry-content p { margin-bottom: 16px; color: var(--psf-text); line-height: 1.7; }
.psf-entry-content a { color: var(--psf-blue); }
.psf-entry-content ul, .psf-entry-content ol { margin: 0 0 16px 24px; }
.psf-entry-content li { margin-bottom: 6px; line-height: 1.6; }

/* course-table — the main data table in every school page */
.psf-entry-content table,
.psf-entry-content .course-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
  border: 1px solid var(--psf-border);
  border-radius: var(--psf-radius);
  overflow: hidden;
}
.psf-entry-content table th,
.psf-entry-content .course-table th {
  background: var(--psf-blue);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}
.psf-entry-content table td,
.psf-entry-content .course-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--psf-border);
  vertical-align: top;
}
.psf-entry-content table tr:nth-child(even) td,
.psf-entry-content .course-table tr:nth-child(even) td {
  background: var(--psf-bg);
}
.psf-entry-content table i,
.psf-entry-content .course-table i { color: var(--psf-blue); margin-right: 4px; }

/* check-list — PharmD program highlights */
.psf-entry-content .check-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.psf-entry-content .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: var(--psf-radius);
  font-size: 14px;
  margin: 0;
}
.psf-entry-content .check-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--psf-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* ─── Guide Page ─────────────────────────────────────────────────────────────── */
.psf-guide-hero { background: var(--psf-white); border-bottom: 1px solid var(--psf-border); padding: 48px 0; }
.psf-guide-hero__title { font-size: clamp(24px, 3.5vw, 40px); font-weight: 800; margin-bottom: 12px; }
.psf-guide-hero__intro { font-size: 17px; color: var(--psf-text-muted); max-width: 640px; }

.psf-guide-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 80px;
  align-items: start;
}
.psf-guide-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 24px; }
.psf-guide-content { min-width: 0; }

/* ─── School Directory Table ─────────────────────────────────────────────────── */
.psf-school-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 24px; }
.psf-school-table th {
  background: var(--psf-blue);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  position: sticky;
  top: 64px;
}
.psf-school-table td { padding: 12px 14px; border-top: 1px solid var(--psf-border); vertical-align: middle; }
.psf-school-table__row:hover td { background: var(--psf-blue-light); }
.psf-school-table td:first-child a { color: var(--psf-blue); font-weight: 600; }

/* ─── Search Bar ─────────────────────────────────────────────────────────────── */
.psf-searchbar { position: relative; }
.psf-searchbar__form { display: flex; gap: 0; border: 2px solid var(--psf-border); border-radius: var(--psf-radius); overflow: hidden; background: var(--psf-white); transition: border-color var(--psf-transition); }
.psf-searchbar__form:focus-within { border-color: var(--psf-blue); }
.psf-searchbar__input { flex: 1; border: none; padding: 10px 14px; font-size: 14px; outline: none; color: var(--psf-text); }
.psf-searchbar__btn { background: var(--psf-blue); color: #fff; border: none; padding: 10px 16px; cursor: pointer; font-size: 15px; transition: background var(--psf-transition); }
.psf-searchbar__btn:hover { background: var(--psf-blue-dark); }
.psf-searchbar__results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--psf-white);
  border: 1px solid var(--psf-border);
  border-radius: var(--psf-radius);
  box-shadow: var(--psf-shadow);
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
}
.psf-search-results { list-style: none; }
.psf-search-results li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: var(--psf-text); border-bottom: 1px solid var(--psf-border); }
.psf-search-results li a:hover { background: var(--psf-blue-light); text-decoration: none; color: var(--psf-blue); }
.psf-search-results li a img { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; }
.psf-no-results { color: var(--psf-text-muted); padding: 12px 14px; font-size: 14px; }

/* ─── PDF Email Form ─────────────────────────────────────────────────────────── */
.psf-pdf-form__inner { display: flex; gap: 8px; }
.psf-pdf-form__input { flex: 1; border: 1px solid var(--psf-border); border-radius: var(--psf-radius); padding: 10px 14px; font-size: 14px; outline: none; }
.psf-pdf-form__input:focus { border-color: var(--psf-blue); }
.psf-pdf-status { font-size: 13px; margin-top: 8px; color: var(--psf-text-muted); }

/* ─── Misc ───────────────────────────────────────────────────────────────────── */
.psf-no-results { color: var(--psf-text-muted); font-size: 15px; padding: 32px 0; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .psf-school-layout,
  .psf-guide-layout { grid-template-columns: 1fr; }
  .psf-school-sidebar,
  .psf-guide-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .psf-school-sidebar .psf-school-sidebar__toc { grid-column: 1 / -1; }
  .psf-home-why__inner,
  .psf-home-find__inner { grid-template-columns: 1fr; }
  .psf-state-hero__inner { grid-template-columns: 1fr; }
  .psf-guide-cols { grid-template-columns: repeat(2, 1fr); }
  .psf-home-states__grid { grid-template-columns: 1fr; }
  .psf-home-states__outer { padding: 20px; }
  .psf-home-cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .psf-header__nav { display: none; }
  .psf-header__nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--psf-white); border-bottom: 1px solid var(--psf-border); padding: 16px; box-shadow: var(--psf-shadow); }
  .psf-header__nav.open .psf-nav { flex-direction: column; }
  .psf-header__cta { display: none; }
  .psf-header__hamburger { display: flex; }

  .psf-school-card { grid-template-columns: 1fr; gap: 12px; }
  .psf-school-card__rank { display: none; }
  .psf-check-list { grid-template-columns: 1fr; }
  .psf-entry-content .check-list { grid-template-columns: 1fr; }

  .psf-school-facts__grid { overflow-x: auto; }
  .psf-state-stats__grid { grid-template-columns: 1fr; gap: 0; }
  .psf-state-stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding: 20px 0; }
  .psf-state-stats__item:last-child { border-bottom: none; }
  .psf-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .psf-guide-cols { grid-template-columns: 1fr; }
  .psf-home-hero { padding: 48px 0 40px; }
  .psf-home-why__cards { grid-template-columns: 1fr; }
  .psf-home-states__grid { grid-template-columns: 1fr; gap: 24px; }
  .psf-state-abbr-grid { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }

  .psf-school-sidebar { grid-template-columns: 1fr; }
}
