@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800;900&display=swap");

:root {
    --brand-blue: #074986;
    --brand-blue-deep: #03264d;
    --brand-blue-soft: #e8f1fb;
    --brand-red: #f52224;
    --ink: #101820;
    --muted: #667481;
    --line: #dde5ee;
    --paper: #fbfcfe;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(3, 38, 77, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

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

p {
    color: var(--muted);
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 252, 254, 0.94);
    border-bottom: 1px solid rgba(7, 73, 134, 0.12);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 76px;
}

.brand img {
    width: 178px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #516171;
    font-size: 0.94rem;
    font-weight: 800;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown__trigger span {
    color: var(--brand-blue);
    font-size: 0.78rem;
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    padding: 8px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(3, 38, 77, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 10;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown__menu a {
    display: block;
    padding: 10px 12px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 999px;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1.02;
}

h1 {
    max-width: 760px;
    color: var(--white);
    font-size: clamp(2.45rem, 4.7vw, 4.05rem);
}

h2 {
    color: var(--brand-blue-deep);
    font-size: clamp(1.9rem, 3.5vw, 2.95rem);
}

h3 {
    color: var(--brand-blue-deep);
    font-size: 1.2rem;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-red);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 0;
    background:
        radial-gradient(circle at 74% 18%, rgba(245, 34, 36, 0.55), transparent 24%),
        linear-gradient(115deg, rgba(3, 38, 77, 0.98) 0%, rgba(3, 38, 77, 0.96) 58%, rgba(7, 73, 134, 0.94) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 46px;
    align-items: center;
    padding-bottom: 72px;
}

.hero .eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    color: var(--white);
    background: var(--brand-red);
    border-radius: 8px;
}

.hero__lead {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.18rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 900;
}

.button--primary {
    background: var(--white);
    color: var(--brand-blue-deep);
}

.button--primary:hover {
    background: #edf4fb;
}

.button--secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.button--secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.button--red {
    background: var(--brand-red);
    color: var(--white);
    border: 1px solid var(--brand-red);
}

.button--red:hover {
    background: #d7191b;
    border-color: #d7191b;
}

.button--ghost {
    color: var(--brand-blue);
    background: var(--white);
    border: 1px solid var(--line);
}

.button--ghost:hover {
    border-color: var(--brand-blue);
}

.button.is-success {
    color: #146c43;
    background: #d9f7e8;
    border-color: #b7ebcf;
}

form.is-submitting {
    opacity: 0.78;
    pointer-events: none;
}

.hero__visual {
    position: relative;
}

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 34px -22px -26px 40px;
    background: var(--brand-red);
    border-radius: 8px;
    transform: rotate(2deg);
}

.hero__visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1.24 / 1;
    border-radius: 8px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
    object-fit: cover;
}

.home-hero {
    padding: 76px 0;
}

.home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
    gap: 52px;
    align-items: center;
}

.home-hero__content h1 {
    max-width: 820px;
}

.home-hero__visual {
    position: relative;
}

.home-hero__visual img {
    width: 100%;
    aspect-ratio: 1.12 / 0.86;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.home-hero__badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    max-width: 320px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.home-hero__badge strong,
.home-hero__badge span {
    display: block;
}

.home-hero__badge strong {
    color: var(--brand-blue-deep);
    font-size: 1.2rem;
}

.home-hero__badge span {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 800;
}

.breadcrumbs {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 800;
}

.page-hero .breadcrumbs {
    color: var(--muted);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: currentColor;
    opacity: 0.55;
}

.breadcrumbs a:hover {
    color: var(--brand-red);
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 10px;
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
}

.badge--muted {
    color: var(--muted);
    background: #f2f5f8;
}

.badge--light {
    color: var(--brand-blue-deep);
    background: var(--white);
}

.badge--success {
    color: #146c43;
    background: #d9f7e8;
}

.badge--red {
    color: var(--brand-red);
    background: #ffe7e7;
}

.home-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 650px;
    margin-top: 30px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    border-radius: 8px;
}

.icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon .fa-solid {
    font-size: 1.15rem;
    line-height: 1;
}

.home-search .icon {
    align-self: center;
    width: 38px;
    height: 38px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.home-search input {
    min-height: 48px;
    padding: 10px 12px;
    color: var(--white);
    background: transparent;
    border: 0;
    font: inherit;
}

.home-search input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.home-search input:focus {
    outline: none;
}

.home-search button {
    min-height: 48px;
    padding: 10px 18px;
    color: var(--brand-blue-deep);
    background: var(--white);
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.section {
    padding: 78px 0;
}

.home-section {
    background: var(--paper);
}

.home-section--soft {
    background: var(--white);
    border-top: 1px solid rgba(7, 73, 134, 0.08);
    border-bottom: 1px solid rgba(7, 73, 134, 0.08);
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading-row h2 {
    max-width: 780px;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.explore-card,
.home-doc-card,
.home-article-card,
.home-feature-panel {
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
}

.explore-card {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    padding: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.explore-card:hover {
    border-color: rgba(245, 34, 36, 0.36);
    box-shadow: 0 22px 48px rgba(3, 38, 77, 0.12);
    transform: translateY(-6px);
}

.explore-card .icon {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.explore-card:hover .icon {
    color: var(--white);
    background: var(--brand-red);
    transform: translateY(-2px);
}

.explore-card--accent {
    background: var(--brand-blue-deep);
}

.explore-card--accent h3,
.explore-card--accent p {
    color: var(--white);
}

.explore-card--accent .icon {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.explore-card--accent:hover {
    background: #053764;
}

.explore-card--accent .text-link {
    color: #ffbfc1;
}

.explore-card span {
    color: var(--brand-red);
    font-weight: 900;
}

.explore-card p {
    margin: 12px 0 0;
}

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

.home-doc-card {
    padding: 24px;
}

.home-doc-card h3,
.home-article-card h3 {
    font-size: 1.28rem;
    line-height: 1.12;
}

.home-doc-card h3 a:hover,
.home-article-card h3 a:hover {
    color: var(--brand-blue);
}

.home-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.home-meta span {
    padding: 7px 10px;
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 900;
}

.home-small {
    margin: 12px 0 0;
    color: var(--brand-blue-deep);
    font-size: 0.92rem;
    font-weight: 900;
}

.home-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-article-card {
    overflow: hidden;
}

.home-article-card img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.home-article-card > div {
    padding: 20px;
}

.home-article-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--brand-blue-deep);
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    font-weight: 900;
}

.empty-state--boxed {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-top: 10px;
}

.empty-state--boxed p {
    max-width: 640px;
    margin: 0;
    font-weight: 700;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 30px;
}

.pagination a,
.pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    color: var(--brand-blue);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
}

.pagination__control {
    min-width: 96px;
}

.pagination__dots {
    color: var(--muted);
    background: transparent;
    border-color: transparent;
}

.pagination a:hover,
.pagination a.is-active {
    color: var(--white);
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.directory-band {
    background:
        linear-gradient(135deg, rgba(3, 38, 77, 0.98), rgba(7, 73, 134, 0.92)),
        var(--brand-blue-deep);
}

.directory-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    gap: 48px;
    align-items: center;
}

.directory-band h2,
.directory-band p {
    color: var(--white);
}

.directory-band .eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    color: var(--white);
    background: var(--brand-red);
    border-radius: 8px;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.practice-grid span {
    padding: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    font-weight: 900;
}

.home-duo-section {
    background: var(--paper);
}

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

.home-feature-panel {
    min-height: 330px;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(232, 241, 251, 0.9), rgba(255, 255, 255, 1)),
        var(--white);
}

.home-feature-panel .icon {
    margin-bottom: 18px;
}

.home-feature-panel p {
    max-width: 560px;
}

.lawyer-cta {
    background: var(--brand-red);
}

.lawyer-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.lawyer-cta h2,
.lawyer-cta p {
    color: var(--white);
}

.lawyer-cta .eyebrow {
    color: #ffe1e1;
}

.lawyer-cta__inner > div {
    max-width: 980px;
}

.lawyer-cta__button {
    flex: 0 0 auto;
    min-width: 220px;
    color: var(--brand-blue-deep);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(3, 38, 77, 0.16);
}

.lawyer-cta__button:hover {
    background: #f5f8fc;
}

.visual-section {
    background: var(--paper);
}

.visual-section--white {
    background: var(--white);
    border-top: 1px solid rgba(7, 73, 134, 0.08);
    border-bottom: 1px solid rgba(7, 73, 134, 0.08);
}

.visual-split {
    display: grid;
    grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
    gap: 58px;
    align-items: center;
}

.visual-split--reverse {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.visual-split p {
    margin-top: 18px;
    font-size: 1.08rem;
}

.section-image {
    position: relative;
}

.section-image::after {
    content: "";
    position: absolute;
    inset: 26px 26px -22px -22px;
    z-index: 0;
    background: var(--brand-blue-soft);
    border-radius: 8px;
}

.visual-section--white .section-image::after {
    background: rgba(245, 34, 36, 0.12);
}

.section-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1.28 / 0.9;
    border-radius: 8px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.mini-grid,
.article-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.mini-grid span,
.article-pills span {
    padding: 10px 13px;
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    border-radius: 8px;
    font-weight: 900;
}

.article-pills span {
    color: var(--white);
    background: var(--brand-red);
}

.focus-section {
    background: var(--white);
}

.focus-panel {
    padding: 46px;
    background: var(--brand-blue-deep);
    border-radius: 8px;
}

.focus-panel h2,
.focus-panel p {
    max-width: 840px;
    color: var(--white);
}

.focus-panel .eyebrow {
    color: #ffbfc1;
}

.focus-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.focus-grid span {
    padding: 11px 14px;
    color: var(--brand-blue-deep);
    background: var(--white);
    border-radius: 8px;
    font-weight: 800;
}

.placeholder-page {
    min-height: 58vh;
    display: flex;
    align-items: center;
}

.placeholder {
    max-width: 760px;
    padding: 70px 0;
}

.placeholder h1,
.page-hero h1 {
    color: var(--brand-blue-deep);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.placeholder p:last-child {
    max-width: 620px;
    font-size: 1.15rem;
}

.page-hero {
    background: var(--white);
}

.page-hero .section__heading {
    max-width: 820px;
    margin-bottom: 0;
}

.internal-hero,
.institutional-hero {
    background:
        radial-gradient(circle at 80% 10%, rgba(245, 34, 36, 0.38), transparent 24%),
        var(--brand-blue-deep);
}

.internal-hero__grid,
.institutional-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 42px;
    align-items: center;
}

.internal-hero h1,
.institutional-hero h1 {
    max-width: 880px;
}

.internal-hero p:not(.eyebrow),
.institutional-hero p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.internal-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.institutional-stat,
.institutional-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
}

.institutional-stat strong {
    display: block;
    color: var(--brand-red);
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.95;
}

.institutional-stat span {
    display: block;
    margin-top: 12px;
    color: var(--brand-blue-deep);
    font-weight: 900;
}

.institutional-section {
    background: var(--paper);
}

.institutional-content,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 32px;
    align-items: start;
}

.institutional-content article,
.public-form {
    padding: 32px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
}

.institutional-content article p {
    font-size: 1.05rem;
}

.institutional-card h3 {
    margin-bottom: 14px;
}

.institutional-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-weight: 800;
}

.institutional-card--dark {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.18);
}

.institutional-card--dark h3,
.institutional-card--dark p,
.institutional-card--dark a {
    color: var(--white);
}

.institutional-card--dark a {
    font-size: 1.15rem;
    font-weight: 900;
}

.not-found {
    min-height: 68vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 18%, rgba(245, 34, 36, 0.28), transparent 28%),
        var(--brand-blue-deep);
}

.not-found__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
    gap: 42px;
    align-items: center;
}

.not-found h1,
.not-found p {
    color: var(--white);
}

.not-found__code {
    color: rgba(255, 255, 255, 0.14);
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 900;
    line-height: 0.8;
    text-align: right;
}

.public-form {
    display: grid;
    gap: 16px;
}

.public-form label {
    display: grid;
    gap: 7px;
    color: var(--brand-blue-deep);
    font-weight: 900;
}

.public-form input,
.public-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    color: var(--ink);
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.public-form textarea {
    min-height: 180px;
    resize: vertical;
}

.public-form input:focus,
.public-form textarea:focus {
    outline: 3px solid rgba(7, 73, 134, 0.14);
    border-color: var(--brand-blue);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.article-list article {
    min-height: 220px;
    padding: 26px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(7, 73, 134, 0.07);
}

.feature-card span,
.article-list span {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--brand-red);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.volunteer-section {
    background:
        linear-gradient(90deg, rgba(232, 241, 251, 0.82), transparent 58%),
        var(--paper);
}

.volunteer-intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.volunteer-visual {
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(3, 38, 77, 0.09);
}

.volunteer-visual img {
    width: min(100%, 430px);
    margin: 0 auto;
}

.volunteer-copy {
    max-width: 720px;
}

.volunteer-copy h2,
.volunteer-ways-section h2 {
    color: var(--brand-blue-deep);
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1;
}

.volunteer-copy p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 1.1rem;
}

.volunteer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.volunteer-ways-section {
    background: var(--white);
}

.volunteer-ways-section .section__heading {
    max-width: 980px;
    margin-bottom: 36px;
}

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

.volunteer-way-card {
    min-height: 250px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
}

.volunteer-way-card .icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    color: var(--brand-red);
    background: var(--brand-blue-soft);
}

.volunteer-way-card h3 {
    color: var(--brand-blue-deep);
}

.volunteer-form-section {
    background: var(--paper);
}

.article-list {
    display: grid;
    gap: 16px;
}

.legislation-section,
.legislation-detail-section {
    background: var(--paper);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.45fr) auto auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.1);
    border-radius: 8px;
    box-shadow: 0 14px 42px rgba(3, 38, 77, 0.07);
}

.filter-bar label {
    display: grid;
    gap: 7px;
}

.filter-bar span {
    color: var(--brand-blue-deep);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    color: var(--ink);
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.filter-bar input:focus,
.filter-bar select:focus {
    outline: 3px solid rgba(7, 73, 134, 0.14);
    border-color: var(--brand-blue);
}

.notice {
    padding: 22px;
    color: var(--brand-blue-deep);
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.12);
    border-radius: 8px;
    font-weight: 800;
}

.legislation-list {
    display: grid;
    gap: 12px;
}

.legislation-card {
    position: relative;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.09);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(3, 38, 77, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.legislation-card:hover {
    border-color: rgba(7, 73, 134, 0.2);
    box-shadow: 0 14px 34px rgba(3, 38, 77, 0.07);
    transform: translateY(-1px);
}

.legislation-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.legislation-card__meta .badge {
    min-height: 26px;
    padding: 5px 9px;
    font-size: 0.76rem;
}

.legislation-card__meta span,
.article-pills span,
.mini-grid span {
    line-height: 1.2;
}

.legislation-card__meta span:not(.badge) {
    padding: 7px 10px;
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 900;
}

.legislation-card h2 {
    max-width: 900px;
    font-size: clamp(1.18rem, 1.75vw, 1.55rem);
    line-height: 1.18;
}

.legislation-card h2 a:hover {
    color: var(--brand-blue);
}

.legislation-card p {
    max-width: 900px;
    margin: 10px 0 0;
    color: #5f6f7f;
    font-size: 0.98rem;
    line-height: 1.58;
}

.legislation-facts,
.detail-facts {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.legislation-facts {
    grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
    gap: 10px 18px;
    margin-top: 10px;
}

.legislation-facts div,
.detail-facts div {
    display: grid;
    gap: 2px;
}

.legislation-facts dt,
.detail-facts dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.legislation-facts dd,
.detail-facts dd {
    margin: 0;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 800;
}

.legislation-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.95rem;
}

.text-link {
    color: var(--brand-blue);
    font-weight: 900;
}

.text-link:hover {
    color: var(--brand-red);
}

.text-link--pdf {
    color: var(--brand-red);
}

.results-summary {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #5f6f7f;
    font-size: 0.96rem;
}

.results-summary span {
    color: var(--brand-blue-deep);
    font-weight: 900;
}

.results-summary small {
    color: var(--muted);
    font: inherit;
}

.legislation-detail-hero {
    background:
        radial-gradient(circle at 76% 12%, rgba(245, 34, 36, 0.44), transparent 24%),
        var(--brand-blue-deep);
}

.legislation-detail-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.legislation-detail-hero h1 {
    max-width: 900px;
}

.legislation-detail-hero p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.legislation-detail-hero .button {
    flex: 0 0 auto;
}

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

.legislation-sidebar {
    position: sticky;
    top: 96px;
    padding: 22px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.06);
}

.legislation-sidebar .text-link {
    display: inline-flex;
    margin-top: 22px;
}

.legal-content {
    padding: 34px;
    color: #263441;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.06);
    font-size: 1.05rem;
    line-height: 1.82;
}

.legal-content--pdf {
    display: grid;
    gap: 24px;
}

.legal-content--pdf h2 {
    color: var(--brand-blue-deep);
}

.legal-content--pdf p {
    margin: 0;
}

.jurisprudence-section {
    background: var(--paper);
}

.jurisprudence-card h2 {
    max-width: 760px;
}

.jurisprudence-content h2 {
    margin-bottom: 18px;
    color: var(--brand-blue-deep);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.jurisprudence-content > p {
    margin-top: 0;
}

.jurisprudence-link-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: #f7fbff;
}

.jurisprudence-link-card .icon {
    width: 42px;
    height: 42px;
    color: var(--brand-red);
}

.jurisprudence-link-card h3 {
    font-size: 1.18rem;
}

.jurisprudence-link-card p {
    margin-top: 4px;
    font-size: 0.96rem;
}

.jurisprudence-link-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.jurisprudence-link-card .button {
    min-height: 42px;
    margin-top: 0;
    padding: 10px 16px;
}

.pdf-focus-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 24px;
    background: var(--brand-blue-soft);
    border: 1px solid rgba(7, 73, 134, 0.13);
    border-radius: 8px;
}

.pdf-focus-card .icon {
    width: 54px;
    height: 54px;
    color: var(--brand-red);
    background: var(--white);
}

.pdf-focus-card .button {
    margin-top: 18px;
}

.pdf-focus-card.jurisprudence-link-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: #f7fbff;
}

.pdf-focus-card.jurisprudence-link-card .icon {
    width: 42px;
    height: 42px;
    color: var(--brand-red);
}

.pdf-focus-card.jurisprudence-link-card .button {
    min-height: 42px;
    margin-top: 0;
    padding: 10px 16px;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.share-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 11px;
    color: var(--brand-blue-deep);
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.share-chip i,
.share-chip > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--white);
    background: var(--brand-blue);
    border-radius: 999px;
    font-size: 0.76rem;
}

.share-chip:hover,
.share-chip:focus {
    color: var(--brand-red);
    border-color: rgba(245, 34, 36, 0.32);
    background: var(--white);
}

.share-actions--icon-only {
    display: grid;
    grid-template-columns: repeat(4, 38px);
    justify-content: start;
    margin-top: 22px;
}

.share-actions__label {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.share-actions--icon-only .share-chip {
    width: 38px;
    min-width: 38px;
    padding: 0;
    gap: 0;
}

.share-actions--icon-only .share-chip i,
.share-actions--icon-only .share-chip > span:first-child {
    width: 100%;
    height: 100%;
    background: transparent;
    color: var(--brand-blue);
    font-size: 0.95rem;
}

.share-actions--icon-only .share-chip:hover i,
.share-actions--icon-only .share-chip:hover > span:first-child,
.share-actions--icon-only .share-chip:focus i,
.share-actions--icon-only .share-chip:focus > span:first-child {
    color: var(--brand-red);
}

.blog-section,
.article-detail-section {
    background: var(--paper);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-card {
    overflow: hidden;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
}

.blog-card__image {
    display: block;
    background: var(--brand-blue-soft);
}

.blog-card__image img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.blog-card__meta,
.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.blog-card__meta span:not(.badge),
.article-byline span {
    padding: 7px 10px;
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 900;
}

.blog-card h2 {
    font-size: clamp(1.2rem, 1.7vw, 1.48rem);
    line-height: 1.08;
}

.blog-card h2 a:hover {
    color: var(--brand-blue);
}

.blog-card p {
    margin: 14px 0 0;
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
}

.blog-card__footer span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.directory-section,
.profile-section {
    background: var(--paper);
}

.directory-filter {
    grid-template-columns: minmax(180px, 0.6fr) minmax(180px, 0.7fr) minmax(220px, 1fr) auto;
}

.directory-heading {
    margin-top: 18px;
}

.lawyer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lawyer-card {
    overflow: hidden;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lawyer-card:hover {
    border-color: rgba(7, 73, 134, 0.25);
    box-shadow: 0 22px 50px rgba(3, 38, 77, 0.12);
    transform: translateY(-5px);
}

.lawyer-card__media img {
    width: 100%;
    aspect-ratio: 1.56 / 0.72;
    object-fit: cover;
}

.lawyer-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.lawyer-card__badges,
.profile-badges,
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lawyer-card h3 {
    margin-top: 12px;
    font-size: clamp(1.18rem, 1.8vw, 1.42rem);
    line-height: 1.1;
}

.lawyer-card h3 a:hover {
    color: var(--brand-blue);
}

.lawyer-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    color: var(--brand-blue-deep);
    font-weight: 900;
}

.lawyer-location .icon,
.profile-contact .icon {
    width: 30px;
    height: 30px;
    color: var(--brand-red);
    background: #fff0f0;
}

.lawyer-location .icon svg,
.profile-contact .icon svg {
    width: 17px;
    height: 17px;
}

.lawyer-card .text-link {
    padding-top: 0;
}

.lawyer-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

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

.court-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.06);
}

.court-card__icon .icon {
    color: var(--brand-red);
}

.court-card h3 {
    margin-top: 8px;
    font-size: 1.28rem;
}

.court-card h3 a:hover {
    color: var(--brand-blue);
}

.court-card p {
    margin: 10px 0 0;
}

.court-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.court-detail-card h2 {
    margin-bottom: 14px;
}

.like-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 11px;
    color: var(--brand-blue-deep);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.like-button:hover,
.like-button:focus {
    color: var(--brand-red);
    border-color: rgba(245, 34, 36, 0.35);
    box-shadow: 0 12px 24px rgba(245, 34, 36, 0.12);
    transform: translateY(-2px);
}

.like-button__heart {
    color: var(--brand-red);
    font-size: 1.08rem;
    line-height: 1;
}

.like-button.is-liked {
    color: var(--white);
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.like-button.is-liked .like-button__heart {
    color: var(--white);
}

.like-button.is-loading {
    opacity: 0.7;
}

.like-button.has-error {
    animation: likeShake 0.3s ease;
}

.like-button--profile {
    width: fit-content;
    margin-top: 14px;
}

@keyframes likeShake {
    0%,
    100% {
        transform: translateX(0);
    }

    35% {
        transform: translateX(-3px);
    }

    70% {
        transform: translateX(3px);
    }
}

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

.profile-card,
.profile-content {
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
}

.profile-card {
    position: sticky;
    top: 96px;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    aspect-ratio: 1 / 0.92;
    object-fit: cover;
}

.profile-card__body {
    padding: 24px;
}

.profile-card h2 {
    font-size: 1.75rem;
}

.profile-contact {
    display: grid;
    gap: 9px;
    margin-top: 22px;
}

.profile-contact a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-blue-deep);
    font-weight: 900;
}

.profile-contact a:hover {
    color: var(--brand-red);
}

.social-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 16px;
    color: var(--brand-blue-deep);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-link-button i,
.social-link-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--white);
    background: var(--brand-blue);
    border-radius: 7px;
    font-size: 1rem;
}

.social-link-button:hover,
.social-link-button:focus {
    color: var(--brand-red);
    border-color: rgba(245, 34, 36, 0.32);
    box-shadow: 0 14px 28px rgba(3, 38, 77, 0.1);
    transform: translateY(-2px);
}

.social-link-button:hover i,
.social-link-button:hover span,
.social-link-button:focus i,
.social-link-button:focus span {
    background: var(--brand-red);
}

.profile-cta {
    width: 100%;
    margin-top: 22px;
}

.profile-content {
    display: grid;
    gap: 0;
    padding: 34px;
}

.profile-block + .profile-block {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.profile-block h2 {
    margin-bottom: 14px;
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.content-body {
    color: #263441;
    font-size: 1.07rem;
    line-height: 1.85;
}

.trivia-section,
.trivia-play-section {
    background: var(--paper);
}

.trivia-filter {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.55fr) auto auto;
}

.trivia-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.trivia-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    padding: 24px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trivia-card:hover {
    border-color: rgba(245, 34, 36, 0.28);
    box-shadow: 0 22px 50px rgba(3, 38, 77, 0.12);
    transform: translateY(-5px);
}

.trivia-card__top,
.trivia-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.trivia-card__category {
    display: flex;
    margin-top: 16px;
}

.trivia-card__category .badge {
    max-width: 100%;
    padding-inline: 14px;
    line-height: 1.15;
}

.trivia-card h3 {
    margin-top: 16px;
    font-size: 1.45rem;
}

.trivia-card h3 a:hover {
    color: var(--brand-blue);
}

.trivia-card p {
    margin-top: 12px;
}

.trivia-card__footer {
    margin-top: auto;
    padding-top: 22px;
}

.trivia-card__footer span {
    color: var(--muted);
    font-weight: 900;
}

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

.trivia-form,
.trivia-results,
.trivia-score {
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.07);
}

.trivia-form {
    display: grid;
    gap: 18px;
    grid-column: 1 / -1;
    padding: 28px;
}

.trivia-participant {
    padding: 20px;
    background: var(--brand-blue-soft);
    border: 1px solid rgba(7, 73, 134, 0.14);
    border-radius: 8px;
}

.trivia-participant label {
    display: grid;
    gap: 8px;
    color: var(--brand-blue-deep);
    font-weight: 900;
}

.trivia-participant input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    outline: none;
}

.trivia-participant input:focus {
    border-color: rgba(7, 73, 134, 0.55);
    box-shadow: 0 0 0 4px rgba(7, 73, 134, 0.1);
}

.question-card {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.question-card legend {
    padding: 0 8px;
    color: var(--brand-blue-deep);
    font-size: 1.12rem;
    font-weight: 900;
}

.answer-options {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.answer-options label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.answer-options label:hover {
    border-color: rgba(7, 73, 134, 0.35);
    background: var(--brand-blue-soft);
}

.answer-options input {
    margin-top: 5px;
    accent-color: var(--brand-red);
}

.trivia-form__actions,
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trivia-score {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.trivia-score span,
.result-card__label {
    color: var(--brand-red);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.trivia-score strong {
    display: block;
    margin-top: 10px;
    color: var(--brand-blue-deep);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.95;
}

.trivia-score__name {
    margin: 8px 0 0;
    color: var(--brand-blue-deep);
    font-size: 1.08rem;
    font-weight: 900;
}

.trivia-score .button {
    width: 100%;
    margin-top: 10px;
}

.trivia-results {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.result-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand-red);
    border-radius: 8px;
}

.result-card.is-correct {
    border-left-color: #168a4a;
}

.result-card.is-correct .result-card__label {
    color: #168a4a;
}

.result-card h2 {
    margin-top: 8px;
    font-size: 1.25rem;
}

.result-card p {
    margin: 10px 0 0;
}

.result-card__explanation {
    padding: 14px;
    background: var(--brand-blue-soft);
    border-radius: 8px;
    color: var(--brand-blue-deep);
    font-weight: 800;
}

.article-hero {
    background:
        radial-gradient(circle at 80% 12%, rgba(245, 34, 36, 0.44), transparent 24%),
        var(--brand-blue-deep);
}

.article-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 42px;
    align-items: center;
}

.article-hero__inner--text-only {
    display: block;
}

.article-hero h1 {
    max-width: 900px;
}

.article-hero p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.article-hero .article-byline {
    margin-top: 22px;
    margin-bottom: 0;
}

.article-hero .article-byline span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.article-hero img {
    width: 100%;
    aspect-ratio: 1.2 / 0.82;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

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

.article-sidebar {
    position: sticky;
    top: 96px;
    padding: 22px;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.06);
}

.article-sidebar .text-link {
    display: inline-flex;
    margin-top: 22px;
}

.article-content {
    padding: 34px;
    color: #263441;
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.11);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(3, 38, 77, 0.06);
    font-size: 1.07rem;
    line-height: 1.85;
}

.site-footer {
    background: #202832;
    border-top: 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.45fr) repeat(3, minmax(150px, 0.85fr)) minmax(230px, 1.05fr);
    gap: 36px;
    padding: 48px 0 34px;
}

.footer-brand img {
    width: 172px;
    margin-bottom: 18px;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 8px;
}

.site-footer a:not(.footer-brand) {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 800;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-newsletter {
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: none;
}

.footer-newsletter p {
    margin-bottom: 16px;
}

.footer-newsletter__button {
    width: 100%;
    min-height: 44px;
    color: var(--white);
    background: var(--brand-red);
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.footer-newsletter__button:hover {
    background: #d7191b;
    transform: translateY(-1px);
}

.subscription-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.subscription-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.subscription-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 38, 77, 0.56);
    backdrop-filter: blur(8px);
}

.subscription-modal__dialog {
    position: relative;
    width: min(100%, 520px);
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(3, 38, 77, 0.24);
}

.subscription-modal__dialog h2 {
    margin: 8px 0 8px;
    color: var(--brand-blue-deep);
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    line-height: 1;
}

.subscription-modal__dialog > p {
    margin-bottom: 18px;
}

.subscription-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    border: 0;
    border-radius: 50%;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.modal-open {
    overflow: hidden;
}

.subscribe-form {
    display: grid;
    gap: 12px;
}

.subscribe-form label {
    display: grid;
    gap: 5px;
    color: var(--brand-blue-deep);
    font-size: 0.88rem;
    font-weight: 900;
}

.subscribe-form input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.16);
    border-radius: 8px;
    font: inherit;
}

.subscribe-form select,
.subscribe-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(7, 73, 134, 0.16);
    border-radius: 8px;
    font: inherit;
}

.subscribe-form textarea {
    resize: vertical;
}

.subscribe-form input:focus {
    outline: 3px solid rgba(7, 73, 134, 0.14);
    border-color: var(--brand-blue);
}

.subscribe-form select:focus,
.subscribe-form textarea:focus {
    outline: 3px solid rgba(7, 73, 134, 0.14);
    border-color: var(--brand-blue);
}

.subscribe-form button {
    min-height: 42px;
    color: var(--white);
    background: var(--brand-red);
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.subscribe-form button:hover {
    background: #d7191b;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.subscribe-message {
    margin-bottom: 12px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 900;
}

.subscribe-message--success {
    color: #146c43;
    background: #d9f7e8;
}

.subscribe-message--error {
    color: #9f1d20;
    background: #ffe2e3;
}

.broken-link-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 12px;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    cursor: pointer;
}

.broken-link-trigger .icon {
    width: 18px;
    height: 18px;
    color: currentColor;
    background: transparent;
}

.broken-link-trigger:hover,
.broken-link-trigger:focus {
    color: var(--brand-red);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 282px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    margin: 0;
}

.footer-social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-social__icon i {
    font-size: 1rem;
}

.footer-social__icon--plus {
    background: var(--brand-red);
    border-color: var(--brand-red);
    font-size: 1.25rem;
}

.footer-social a:hover .footer-social__icon,
.footer-social a:focus .footer-social__icon {
    background: var(--brand-red);
    box-shadow: 0 12px 26px rgba(245, 34, 36, 0.18);
    transform: translateY(-3px);
}

.site-footer__bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.92rem;
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 16px 28px;
        background: var(--white);
        border-bottom: 1px solid rgba(7, 73, 134, 0.12);
        box-shadow: var(--shadow);
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 14px 16px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown::after {
        display: none;
    }

    .nav-dropdown__trigger {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .nav-dropdown__menu {
        position: static;
        display: none;
        gap: 4px;
        min-width: 0;
        margin: 0 0 8px 14px;
        padding: 4px;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-dropdown.is-open .nav-dropdown__menu {
        display: grid;
    }

    .nav-dropdown__menu a {
        padding: 10px 14px;
        color: var(--muted);
        background: #f8fafc;
    }

    .hero__grid,
    .home-hero__grid,
    .visual-split,
    .visual-split--reverse,
    .legislation-detail-layout,
    .article-hero__inner,
    .article-detail-layout,
    .directory-band__grid,
    .not-found__inner,
    .internal-hero__grid,
    .institutional-hero__grid,
    .volunteer-intro,
    .institutional-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .explore-grid,
    .home-list-grid,
    .home-article-grid,
    .lawyer-grid,
    .trivia-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lawyer-cta__inner,
    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .trivia-play-layout {
        grid-template-columns: 1fr;
    }

    .profile-card,
    .trivia-score {
        position: static;
    }

    .legislation-detail-hero__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .legislation-sidebar {
        position: static;
    }

    .article-sidebar {
        position: static;
    }

    .feature-grid,
    .blog-grid,
    .volunteer-ways-grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1160px);
    }

    .site-header__inner {
        min-height: 70px;
    }

    .brand img {
        width: 148px;
    }

    .site-nav {
        top: 70px;
        max-height: calc(100dvh - 70px);
    }

    .hero {
        padding-top: 54px;
    }

    .hero__grid {
        gap: 34px;
        padding-bottom: 48px;
    }

    h1 {
        font-size: clamp(2.35rem, 13vw, 3.85rem);
    }

    .hero__lead {
        font-size: 1.06rem;
    }

    .focus-panel {
        padding: 22px;
    }

    .section {
        padding: 56px 0;
    }

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

    .feature-grid,
    .blog-grid,
    .volunteer-ways-grid,
    .explore-grid,
    .home-list-grid,
    .home-article-grid,
    .home-duo-grid,
    .lawyer-grid,
    .court-grid,
    .trivia-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .home-search {
        grid-template-columns: 1fr;
    }

    .home-search .icon {
        display: none;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .home-hero__badge {
        position: static;
        margin-top: 12px;
    }

    .not-found__code {
        text-align: left;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .legislation-facts {
        grid-template-columns: 1fr;
    }

    .legal-content,
    .article-content,
    .profile-content {
        padding: 22px;
        font-size: 1rem;
    }

    .blog-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .trivia-filter {
        grid-template-columns: 1fr;
    }

    .trivia-form,
    .trivia-results {
        padding: 18px;
    }
}
