/*
Theme Name: Prison Law Firm Modern
Theme URI: https://prisonlawfirm.com/
Author: OpenAI for Prison Law Firm
Author URI: https://prisonlawfirm.com/
Description: A modern, high-conversion WordPress theme for PrisonLawFirm.com, built around federal prison advocacy, First Step Act help, BOP remedies, early release strategy, and support for prisoners, families, and lawyers nationwide.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plf-modern
Tags: custom-logo, custom-menu, featured-images, blog, wide-blocks, legal, responsive-layout
*/

:root {
  --plf-black: #070707;
  --plf-charcoal: #121212;
  --plf-ink: #1c1b18;
  --plf-muted: #5f5a4d;
  --plf-gold: #caa74b;
  --plf-gold-light: #ead18b;
  --plf-cream: #f7f1e3;
  --plf-warm: #fbfaf7;
  --plf-line: rgba(28, 27, 24, .14);
  --plf-white: #ffffff;
  --plf-radius: 24px;
  --plf-radius-sm: 14px;
  --plf-shadow: 0 24px 70px rgba(7, 7, 7, .14);
  --plf-serif: Georgia, 'Times New Roman', serif;
  --plf-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--plf-warm);
  color: var(--plf-ink);
  font-family: var(--plf-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--plf-gold);
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

p {
  margin: 0 0 1.15rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  line-height: 1.05;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--plf-serif);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

ul,
ol {
  padding-left: 1.2rem;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.content-width {
  width: min(920px, calc(100% - 40px));
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--plf-gold);
  clip: auto !important;
  clip-path: none;
  color: var(--plf-black);
  display: block;
  font-weight: 800;
  height: auto;
  left: 8px;
  padding: 12px 14px;
  top: 8px;
  width: auto;
  z-index: 100000;
}

.top-bar {
  background: var(--plf-black);
  border-bottom: 1px solid rgba(202, 167, 75, .32);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  letter-spacing: .025em;
  position: relative;
  z-index: 50;
}

.top-bar__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 38px;
  gap: 18px;
}

.top-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.top-bar a {
  color: rgba(255, 255, 255, .88);
}

.top-bar a:hover {
  color: var(--plf-gold-light);
}

.site-header {
  background: rgba(7, 7, 7, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: box-shadow .25s ease, background .25s ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, .97);
  box-shadow: 0 12px 44px rgba(0, 0, 0, .22);
}

.nav-wrap {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  min-height: 86px;
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 210px;
}

.brand img,
.custom-logo-link img {
  max-height: 58px;
  width: auto;
}

.main-navigation {
  justify-self: end;
}

.primary-menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  align-items: center;
  display: flex;
  gap: 8px;
}

.primary-menu a {
  border-radius: 999px;
  color: rgba(255, 255, 255, .84);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 10px 12px;
  text-transform: uppercase;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  background: rgba(202, 167, 75, .13);
  color: var(--plf-gold-light);
}

.header-cta,
.button,
.search-submit {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: .03em;
  line-height: 1;
  min-height: 48px;
  padding: 0 20px;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.header-cta,
.button--gold,
.search-submit {
  background: linear-gradient(135deg, var(--plf-gold), var(--plf-gold-light));
  color: var(--plf-black) !important;
  box-shadow: 0 14px 34px rgba(202, 167, 75, .25);
}

.header-cta:hover,
.button:hover,
.search-submit:hover {
  transform: translateY(-2px);
}

.button--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--plf-white) !important;
}

.button--ghost {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--plf-white) !important;
}

.button--dark {
  background: var(--plf-black);
  color: var(--plf-white) !important;
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  display: none;
  height: 46px;
  padding: 0;
  width: 46px;
}

.nav-toggle__bar {
  background: var(--plf-white);
  display: block;
  height: 2px;
  margin: 5px auto;
  transition: transform .2s ease, opacity .2s ease;
  width: 20px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(202, 167, 75, .2), transparent 34%),
    linear-gradient(135deg, #080808 0%, #16120a 50%, #080808 100%);
  color: var(--plf-white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  content: '';
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
  position: absolute;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  min-height: 720px;
  padding-block: 86px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker-link {
  color: var(--plf-gold);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .18em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero-lede {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: .8rem;
  font-weight: 800;
  padding: 8px 12px;
}

.hero-panel {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 32px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.hero-panel::after {
  background: linear-gradient(135deg, transparent, rgba(202, 167, 75, .18));
  border-radius: inherit;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-panel > * {
  position: relative;
  z-index: 2;
}

.hero-panel__badge {
  background: var(--plf-gold);
  border-radius: 999px;
  color: var(--plf-black);
  display: inline-flex;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .1em;
  margin-bottom: 22px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.hero-panel h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.hero-panel p,
.hero-panel li {
  color: rgba(255, 255, 255, .76);
}

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.check-list li {
  align-items: flex-start;
  display: flex;
  gap: 11px;
  margin: 12px 0;
}

.check-list li::before {
  background: var(--plf-gold);
  border-radius: 999px;
  color: var(--plf-black);
  content: '✓';
  display: inline-flex;
  flex: 0 0 24px;
  font-size: .82rem;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  line-height: 24px;
  margin-top: 1px;
}

.section {
  padding-block: clamp(72px, 8vw, 116px);
}

.section--cream {
  background: var(--plf-cream);
}

.section--dark {
  background:
    radial-gradient(circle at 82% 20%, rgba(202, 167, 75, .18), transparent 34%),
    var(--plf-black);
  color: var(--plf-white);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading--split {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr minmax(260px, 420px);
}

.section-heading--split p:last-child,
.section-heading--center p:last-child {
  color: var(--plf-muted);
}

.section-heading--center {
  margin-inline: auto;
  max-width: 780px;
  text-align: center;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.content-card,
.post-card,
.team-card,
.quote-card,
.sidebar-cta,
.widget {
  background: var(--plf-white);
  border: 1px solid var(--plf-line);
  border-radius: var(--plf-radius);
  box-shadow: 0 16px 44px rgba(7, 7, 7, .06);
}

.service-card {
  min-height: 310px;
  padding: 26px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  box-shadow: var(--plf-shadow);
  transform: translateY(-4px);
}

.service-card__number {
  color: var(--plf-gold);
  font-family: var(--plf-serif);
  font-size: 2rem;
  line-height: 1;
}

.service-card h3 {
  margin-top: 24px;
}

.service-card p {
  color: var(--plf-muted);
  font-size: .95rem;
}

.service-card a,
.text-link,
.team-card a,
.post-card a.text-link {
  color: var(--plf-ink);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: var(--plf-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.proof-grid {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: .82fr 1.18fr;
}

.quote-card {
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-color: rgba(255, 255, 255, .16);
  color: var(--plf-white);
  padding: 38px;
}

.quote-card p {
  font-family: var(--plf-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.2;
}

.quote-card span {
  color: var(--plf-gold-light);
  font-weight: 900;
}

.proof-list p:not(.eyebrow),
.proof-list li,
.section--dark .mini-grid p {
  color: rgba(255, 255, 255, .72);
}

.mini-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.mini-grid > div {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 18px;
}

.mini-grid h3 {
  color: var(--plf-white);
}

.team-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.team-card {
  display: grid;
  gap: 24px;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
  padding: 22px;
}

.team-card img {
  aspect-ratio: 1;
  border-radius: 20px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.team-card p {
  color: var(--plf-muted);
  font-size: .95rem;
}

.lawyer-strip {
  align-items: center;
  background: var(--plf-white);
  border: 1px solid var(--plf-line);
  border-radius: 34px;
  box-shadow: var(--plf-shadow);
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto;
  padding: clamp(28px, 5vw, 54px);
}

.lawyer-strip p:not(.eyebrow) {
  color: var(--plf-muted);
  max-width: 760px;
}

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

.post-grid--archive {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover {
  box-shadow: var(--plf-shadow);
  transform: translateY(-4px);
}

.post-card__image {
  background: var(--plf-black);
  display: block;
  overflow: hidden;
}

.post-card__image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .3s ease;
  width: 100%;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__placeholder {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at center, rgba(202, 167, 75, .24), transparent 45%), var(--plf-black);
  color: var(--plf-gold);
  display: flex;
  font-family: var(--plf-serif);
  font-size: 3rem;
  justify-content: center;
}

.post-card__body {
  padding: 24px;
}

.post-card__meta,
.article-meta {
  color: var(--plf-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .82rem;
  font-weight: 750;
  gap: 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.post-card h2,
.post-card h3 {
  font-family: var(--plf-serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.post-card p {
  color: var(--plf-muted);
}

.updated:not(.published) {
  display: none;
}

.page-hero,
.article-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(202, 167, 75, .18), transparent 34%),
    linear-gradient(135deg, #090909, #1a1408);
  color: var(--plf-white);
  overflow: hidden;
  position: relative;
}

.page-hero__inner,
.article-hero__inner {
  padding-block: clamp(84px, 10vw, 140px);
}

.page-hero h1,
.article-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow),
.article-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, .75);
  font-size: 1.15rem;
  max-width: 720px;
}

.content-card {
  padding: clamp(28px, 5vw, 58px);
}

.entry-content {
  color: #24231f;
  font-size: 1.065rem;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.1em;
}

.entry-content h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.entry-content h3 {
  font-family: var(--plf-serif);
  font-size: clamp(1.5rem, 2vw, 2.05rem);
}

.entry-content a {
  color: #7b5f0e;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(202, 167, 75, .6);
  text-underline-offset: 3px;
}

.entry-content blockquote {
  border-left: 5px solid var(--plf-gold);
  color: var(--plf-ink);
  font-family: var(--plf-serif);
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 2rem 0;
  padding: 8px 0 8px 24px;
}

.entry-content table {
  border-collapse: collapse;
  margin: 2rem 0;
  width: 100%;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--plf-line);
  padding: 12px 14px;
  text-align: left;
}

.entry-content th {
  background: var(--plf-cream);
}

.featured-image {
  border-radius: 22px;
  margin-bottom: 28px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
}

.article-section {
  background: var(--plf-cream);
}

.article-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.article-card {
  background: var(--plf-white);
  border: 1px solid var(--plf-line);
  border-radius: 30px;
  box-shadow: 0 18px 54px rgba(7, 7, 7, .08);
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
}

.featured-image--article {
  margin: calc(clamp(28px, 5vw, 58px) * -1) calc(clamp(28px, 5vw, 58px) * -1) 36px;
  border-radius: 0;
}

.sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 120px;
}

.sidebar-cta,
.widget {
  padding: 24px;
}

.sidebar-cta {
  background: var(--plf-black);
  color: var(--plf-white);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, .74);
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li + li {
  border-top: 1px solid var(--plf-line);
  margin-top: 10px;
  padding-top: 10px;
}

.entry-footer {
  border-top: 1px solid var(--plf-line);
  margin-top: 38px;
  padding-top: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a {
  background: var(--plf-cream);
  border-radius: 999px;
  color: var(--plf-ink);
  font-size: .82rem;
  font-weight: 800;
  padding: 6px 10px;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.pagination-wrap {
  margin-top: 42px;
  text-align: center;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.page-numbers {
  align-items: center;
  background: var(--plf-white);
  border: 1px solid var(--plf-line);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 12px;
}

.page-numbers.current {
  background: var(--plf-black);
  color: var(--plf-white);
}

.search-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  max-width: 680px;
}

.search-form label {
  flex: 1;
}

.search-field {
  background: var(--plf-white);
  border: 1px solid var(--plf-line);
  border-radius: 999px;
  font: inherit;
  min-height: 50px;
  padding: 0 18px;
  width: 100%;
}

.footer-cta {
  background:
    radial-gradient(circle at 15% 10%, rgba(202, 167, 75, .22), transparent 35%),
    var(--plf-black);
  color: var(--plf-white);
  padding-block: clamp(58px, 7vw, 86px);
}

.footer-cta__grid {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto;
}

.footer-cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 840px;
}

.footer-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, .72);
  max-width: 760px;
}

.footer-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer {
  background: #050505;
  color: rgba(255, 255, 255, .74);
  padding-block: 56px 24px;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
}

.footer-logo img {
  max-height: 70px;
  width: auto;
}

.footer-tagline {
  color: var(--plf-gold-light);
  font-family: var(--plf-serif);
  font-size: 1.6rem;
  margin-top: 20px;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, .55);
  max-width: 520px;
}

.footer-column h3 {
  color: var(--plf-white);
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-column ul,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li,
.footer-menu li {
  margin-bottom: 10px;
}

.footer-column a,
.footer-menu a {
  color: rgba(255, 255, 255, .72);
}

.footer-column a:hover,
.footer-menu a:hover {
  color: var(--plf-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  font-size: .82rem;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 20px;
}

.mobile-sticky-cta {
  background: linear-gradient(135deg, var(--plf-gold), var(--plf-gold-light));
  bottom: 14px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(7, 7, 7, .28);
  color: var(--plf-black) !important;
  display: none;
  font-size: .86rem;
  font-weight: 950;
  left: 20px;
  padding: 13px 18px;
  position: fixed;
  right: 20px;
  text-align: center;
  text-transform: uppercase;
  z-index: 60;
}

.wp-block-button__link {
  border-radius: 999px;
  font-weight: 900;
}

.wp-block-quote {
  border-left-color: var(--plf-gold);
}

.alignwide {
  margin-left: calc((920px - 1180px) / 2);
  max-width: 1180px;
  width: 1180px;
}

@media (max-width: 1100px) {
  .service-grid,
  .post-grid,
  .post-grid--archive {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 920px) {
  .top-bar__inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar__links {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .brand img,
  .custom-logo-link img {
    max-height: 48px;
    max-width: 230px;
  }

  .nav-toggle {
    display: block;
  }

  .main-navigation {
    background: rgba(7, 7, 7, .98);
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
    display: none;
    left: 0;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .nav-open .main-navigation {
    display: block;
  }

  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .primary-menu a {
    border: 1px solid rgba(255, 255, 255, .1);
    justify-content: center;
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .proof-grid,
  .team-grid,
  .lawyer-strip,
  .footer-cta__grid,
  .section-heading--split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 70px;
  }

  .lawyer-strip,
  .footer-cta__actions {
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .site-shell,
  .content-width {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding-block: 58px;
  }

  .service-grid,
  .post-grid,
  .post-grid--archive,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    max-height: 330px;
  }

  .hero-actions,
  .search-form {
    flex-direction: column;
  }

  .button,
  .search-submit {
    width: 100%;
  }

  .content-card,
  .article-card {
    border-radius: 22px;
    padding: 24px;
  }

  .featured-image--article {
    margin: -24px -24px 28px;
  }

  .post-nav-links {
    flex-direction: column;
    gap: 12px;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .site-footer {
    padding-bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* Prison page custom landing layout */
.plf-prison-page {
  background: var(--plf-warm);
}

.prison-hero {
  background:
    radial-gradient(circle at 16% 16%, rgba(202, 167, 75, .24), transparent 32%),
    radial-gradient(circle at 92% 20%, rgba(202, 167, 75, .14), transparent 28%),
    linear-gradient(135deg, rgba(5, 5, 5, .98), rgba(18, 18, 18, .96) 48%, rgba(29, 23, 12, .98));
  color: var(--plf-white);
  overflow: hidden;
  position: relative;
}

.prison-hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: '';
  inset: 0;
  opacity: .55;
  position: absolute;
}

.prison-hero::after {
  background: linear-gradient(90deg, rgba(7,7,7,.84), transparent 52%), radial-gradient(circle at 68% 62%, rgba(202,167,75,.18), transparent 30%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.prison-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  min-height: 760px;
  padding-block: clamp(80px, 9vw, 128px);
  position: relative;
  z-index: 2;
}

.prison-hero h1 {
  font-size: clamp(3rem, 6vw, 6.6rem);
  max-width: 920px;
}

.prison-hero__lede {
  color: rgba(255,255,255,.78);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  max-width: 760px;
}

.prison-hero__actions,
.prison-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.prison-hero__actions {
  margin-top: 30px;
}

.prison-hero__chips {
  margin-top: 32px;
}

.prison-hero__chips span,
.prison-anchor-wrap span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 850;
  padding: 8px 12px;
}

.prison-hero__notice {
  color: rgba(255,255,255,.56);
  font-size: .9rem;
  margin-top: 20px;
  max-width: 720px;
}

.prison-hero__panel {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 36px;
  box-shadow: 0 36px 110px rgba(0,0,0,.36);
  padding: clamp(24px, 4vw, 42px);
}

.prison-score-card {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 34px);
}

.prison-score-card__label {
  color: var(--plf-gold-light);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.prison-score-card strong {
  color: var(--plf-gold-light);
  display: block;
  font-family: var(--plf-serif);
  font-size: clamp(3rem, 7vw, 6.2rem);
  letter-spacing: -.06em;
  line-height: .9;
}

.prison-score-card span {
  color: var(--plf-white);
  display: block;
  font-weight: 950;
  letter-spacing: .08em;
  margin: 12px 0 18px;
  text-transform: uppercase;
}

.prison-score-card p:last-child {
  color: rgba(255,255,255,.74);
  margin-bottom: 0;
}

.prison-visual-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
}

.prison-visual-grid span {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(202,167,75,.3), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  color: var(--plf-white);
  display: flex;
  font-weight: 950;
  justify-content: center;
  letter-spacing: .08em;
}

.prison-anchor-section {
  background: var(--plf-black);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(202,167,75,.22);
  position: sticky;
  top: 86px;
  z-index: 20;
}

.admin-bar .prison-anchor-section {
  top: 118px;
}

.prison-anchor-wrap {
  align-items: center;
  display: flex;
  gap: 18px;
  min-height: 72px;
  overflow-x: auto;
}

.prison-anchor-wrap > span {
  color: var(--plf-gold-light);
  flex: 0 0 auto;
}

.prison-anchor-nav {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.prison-anchor-nav a {
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  font-size: .82rem;
  font-weight: 850;
  padding: 9px 12px;
}

.prison-anchor-nav a:hover {
  background: rgba(255,255,255,.08);
  color: var(--plf-gold-light);
}

.prison-section {
  padding-block: clamp(72px, 8vw, 118px);
}

.prison-section--cream {
  background: var(--plf-cream);
}

.prison-section--dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(202,167,75,.18), transparent 34%),
    var(--plf-black);
  color: var(--plf-white);
}

.prison-section-heading {
  margin-bottom: 36px;
}

.prison-section-heading--split {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
}

.prison-section-heading--center {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.prison-section-heading p:not(.eyebrow),
.prison-copy-block p,
.prison-feature-card p,
.prison-list-panel p,
.prison-step-list p,
.prison-timeline-card span,
.prison-family-band p,
.prison-faq-grid p,
.prison-final-cta p {
  color: var(--plf-muted);
}

.prison-section--dark .prison-copy-block p,
.prison-section--dark .prison-list-panel p {
  color: rgba(255,255,255,.72);
}

.prison-card-grid {
  display: grid;
  gap: 20px;
}

.prison-card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.prison-feature-card,
.prison-list-panel,
.prison-step-list,
.prison-timeline-card,
.prison-family-band,
.prison-faq-grid details,
.prison-final-cta__card,
.prison-warning-card {
  background: var(--plf-white);
  border: 1px solid var(--plf-line);
  border-radius: 28px;
  box-shadow: 0 18px 54px rgba(7,7,7,.07);
}

.prison-feature-card {
  padding: 30px;
}

.prison-feature-card__number {
  color: var(--plf-gold);
  display: block;
  font-family: var(--plf-serif);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 26px;
}

.prison-warning-card {
  background: #fff8e7;
  border-color: rgba(202,167,75,.4);
  margin-top: 22px;
  padding: 22px 26px;
}

.prison-two-col {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
}

.prison-two-col--reverse {
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, .92fr);
}

.prison-copy-block h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
}

.prison-copy-block .button {
  margin-top: 18px;
}

.prison-list-panel,
.prison-step-list,
.prison-timeline-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.prison-list-panel > div,
.prison-step-list > div,
.prison-timeline-card > div {
  padding: 26px;
}

.prison-list-panel > div + div,
.prison-step-list > div + div,
.prison-timeline-card > div + div {
  border-top: 1px solid var(--plf-line);
}

.prison-list-panel--dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}

.prison-list-panel--dark > div + div {
  border-top-color: rgba(255,255,255,.13);
}

.prison-step-list span {
  align-items: center;
  background: var(--plf-black);
  border-radius: 999px;
  color: var(--plf-gold-light);
  display: inline-flex;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  margin-bottom: 12px;
  width: 34px;
}

.prison-timeline-card div {
  position: relative;
}

.prison-timeline-card strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.prison-family-band {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  padding: clamp(28px, 5vw, 54px);
}

.prison-family-band h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.prison-family-list li {
  color: var(--plf-ink);
}

.prison-faq-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.prison-faq-grid details {
  padding: 0;
}

.prison-faq-grid summary {
  cursor: pointer;
  font-weight: 950;
  list-style: none;
  padding: 22px 24px;
}

.prison-faq-grid summary::-webkit-details-marker {
  display: none;
}

.prison-faq-grid summary::after {
  color: var(--plf-gold);
  content: '+';
  float: right;
  font-size: 1.25rem;
  line-height: 1;
}

.prison-faq-grid details[open] summary::after {
  content: '–';
}

.prison-faq-grid details p {
  border-top: 1px solid var(--plf-line);
  margin: 0;
  padding: 0 24px 22px;
}

.prison-final-cta {
  background:
    radial-gradient(circle at 18% 18%, rgba(202,167,75,.22), transparent 34%),
    linear-gradient(135deg, #050505, #171208);
  color: var(--plf-white);
  padding-block: clamp(76px, 9vw, 124px);
}

.prison-final-cta__grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
}

.prison-final-cta h2 {
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
}

.prison-final-cta p {
  color: rgba(255,255,255,.74);
}

.prison-final-cta__card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  padding: clamp(26px, 4vw, 40px);
}

.prison-final-cta__card p {
  color: rgba(255,255,255,.72);
}

@media (max-width: 1100px) {
  .prison-hero__grid,
  .prison-card-grid--three,
  .prison-two-col,
  .prison-two-col--reverse,
  .prison-family-band,
  .prison-final-cta__grid,
  .prison-section-heading--split {
    grid-template-columns: 1fr;
  }

  .prison-anchor-section {
    top: 76px;
  }

  .admin-bar .prison-anchor-section {
    top: 122px;
  }
}

@media (max-width: 680px) {
  .prison-hero__grid {
    min-height: auto;
    padding-block: 64px;
  }

  .prison-hero__actions,
  .prison-copy-block .button,
  .prison-final-cta__card .button {
    width: 100%;
  }

  .prison-visual-grid,
  .prison-faq-grid {
    grid-template-columns: 1fr;
  }

  .prison-anchor-section {
    position: static;
  }

  .prison-anchor-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .prison-section {
    padding-block: 58px;
  }
}
