:root {
    --primary-color: #5b57f5;
    --primary-dark: #4338ca;
    --secondary-color: #ec4899;
    --bg-color: #f4f7ff;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #dbe2f3;
    --success-bg: #dcfce7;
    --success-text: #166534;
    --info-bg: #dbeafe;
    --info-text: #1d4ed8;
    --danger-bg: #fee2e2;
    --danger-text: #b91c1c;
    --shadow-sm: 0 8px 20px -16px rgb(15 23 42 / 0.35);
    --shadow-md: 0 20px 42px -26px rgb(15 23 42 / 0.4);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 9px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 10% 12%, rgba(91, 87, 245, 0.08), transparent 28%),
        radial-gradient(circle at 85% 2%, rgba(236, 72, 153, 0.07), transparent 24%),
        linear-gradient(180deg, #f8faff 0%, #f3f7ff 40%, #eef4ff 100%);
    line-height: 1.6;
}

a {
    color: var(--primary-dark);
    text-decoration-color: rgba(67, 56, 202, 0.25);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--primary-color);
}

.container {
    width: min(1250px, calc(100% - 2rem));
    margin: 0 auto;
}

.top-strip {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: #dbeafe;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    padding: 0.5rem 0;
}

.top-strip-link {
    color: #bfdbfe;
    font-weight: 600;
    text-decoration: none;
}

.site-header {
    position: relative;
    background: rgba(244, 247, 255, 0.85);
    border-bottom: 1px solid rgba(219, 226, 243, 0.8);
}

.site-header-inner {
    padding: 1rem 0;
}

.brand-row {
    margin-bottom: 0.9rem;
    text-align: center;
}

.home-inline-banner {
    margin: 0.25rem 0 0.95rem;
    text-align: center;
}

.home-inline-title {
    font-size: clamp(1.45rem, 1.18rem + 1vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.018em;
}

.home-inline-subtitle {
    margin-top: 0.35rem;
    color: var(--text-secondary);
}

.home-inline-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.48rem;
    margin-top: 0.55rem;
}

.home-inline-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.26rem 0.62rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e3a8a;
    background: #edf4ff;
    border: 1px solid #c7dbff;
}

.brand {
    display: inline-block;
    font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.45rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none;
    background: linear-gradient(120deg, #1611e5, #b6005a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.08rem;
}

.nav-toggle {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    color: #1e293b;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    margin-bottom: 0.8rem;
    display: none;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.top-nav a {
    text-decoration: none;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-primary);
    padding: 0.56rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.top-nav a:hover,
.top-nav a.is-active {
    border-color: rgba(22, 17, 229, 0.38);
    color: #1611e5;
    transform: translateY(-1px);
}

.top-nav .nav-cta {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(120deg, #1611e5, #b6005a);
}

.top-nav .nav-cta:hover,
.top-nav .nav-cta.is-active {
    border-color: transparent;
    color: #fff;
}

.nav-search {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-search-toggle {
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, #1611e5, #b6005a) border-box;
    color: #c026d3;
    width: auto;
    height: auto;
    padding: 0.5rem 0.66rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px -16px rgba(192, 38, 211, 0.45);
    transition: all 0.2s ease;
}

.nav-search-toggle:hover {
    color: #a21caf;
    filter: none;
    transform: translateY(-1px);
}

.nav-search-icon {
    width: 17px;
    height: 17px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-search-icon path:only-child {
    fill: currentColor;
    stroke: none;
}

.nav-search-form {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.25s ease, opacity 0.2s ease;
}

.nav-search.is-open .nav-search-form {
    max-width: 240px;
    opacity: 1;
}

.nav-search-input {
    width: 240px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.52rem 0.85rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.nav-search-input:focus {
    outline: none;
    border-color: rgba(192, 38, 211, 0.85);
    box-shadow: none;
}

.nav-search-input:focus-visible {
    outline: none;
    border-color: rgba(192, 38, 211, 0.85);
    box-shadow: none;
}

.hot-links-wrap {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.45rem;
}

.hot-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.hot-link-item {
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1;
    color: #1f3f8f;
    border: 1px solid #b9caef;
    background: #edf3ff;
    border-radius: 999px;
    padding: 0.38rem 0.68rem;
    transition: all 0.2s ease;
}

.hot-link-item:hover {
    color: #183171;
    background: #dfe9ff;
    border-color: #93afe8;
    transform: translateY(-1px);
}

.hot-links-row .hot-link-item:nth-child(3n + 2) {
    color: #0b5a59;
    border-color: #9fd9d7;
    background: #ebfbfb;
}

.hot-links-row .hot-link-item:nth-child(3n + 2):hover {
    color: #084847;
    background: #d8f5f4;
    border-color: #79c9c6;
}

.hot-links-row .hot-link-item:nth-child(3n + 3) {
    color: #7a234f;
    border-color: #e5bdd2;
    background: #fdf0f7;
}

.hot-links-row .hot-link-item:nth-child(3n + 3):hover {
    color: #611b3f;
    background: #f9e1ee;
    border-color: #d79ab8;
}

.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;
}

.content-wrap {
    margin-top: 1.3rem;
    margin-bottom: 2rem;
}

.ad-slot {
    border: 1px dashed #c7d2fe;
    color: #475569;
    border-radius: var(--radius-md);
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.4rem 0 1.25rem;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card,
.list-item,
.detail-card,
form,
.job-detail-header,
.job-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.card {
    padding: 1.1rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #edf2ff;
}

.card-icon {
    font-size: 1.3rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.card-list {
    list-style: none;
    display: grid;
    gap: 0rem;
}

.card-list li + li {
    border-top: 1px solid #eef2fb;
    padding-top: 0;
}

.card-list a {
    text-decoration: none;
    color: #111827;
    display: block;
    padding: 0.28rem 0.5rem;
    line-height: 1.8;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.card-list .status-badge {
    margin-top: 0;
    margin-left: 0.28rem;
    vertical-align: middle;
    padding: 0.18rem 0.5rem;
}

.card-list a:hover {
    background: #f5f7ff;
}

.card-list small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.status-badge,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin-top: 0.22rem;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.74rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.badge {
    background: #eef2ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.badge-released {
    background: var(--success-bg);
    color: var(--success-text);
}

.badge-new {
    background: var(--info-bg);
    color: var(--info-text);
}

.badge-urgent {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.badge-muted {
    background: #e2e8f0;
    color: #475569;
}

.view-more,
.btn-primary,
button[type="submit"] {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.62rem 1rem;
    background: #000080;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 14px 28px -18px rgba(0, 0, 128, 0.72);
}

.view-more {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.view-more:hover,
.btn-primary:hover,
button[type="submit"]:hover {
    background: #000080;
    filter: brightness(1.06);
}

.page-title {
    margin-bottom: 0.42rem;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.018em;
}

.page-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.policy-meta {
    margin: -0.35rem 0 0.95rem;
    color: #334155;
    font-size: 0.9rem;
}

.list-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
}

.list-item {
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.list-item:hover {
    border-color: #c1d0ee;
    box-shadow: 0 20px 34px -28px rgba(15, 23, 42, 0.45);
    transform: translateY(-1px);
}

.list-item h3 {
    margin-bottom: 0.2rem;
    font-size: 1.03rem;
    line-height: 1.35;
}

.list-item h3 a {
    color: #000080;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.list-item h3 a::after {
    content: "";
    width: 0.72rem;
    height: 0.72rem;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.92;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 5l5 5-5 5' stroke='%23000080' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.list-item h3 a:hover {
    color: #0a0a9f;
    text-decoration: underline;
    text-decoration-color: #0a0a9f;
    text-underline-offset: 2px;
}

.list-item p,
.list-item small {
    color: var(--text-secondary);
}

.detail-grid {
    display: grid;
    gap: 0.9rem;
}

.detail-card {
    padding: 1rem;
}

.detail-card + .detail-card {
    margin-top: 0.9rem;
}

.detail-card h2 {
    margin-bottom: 0.45rem;
    font-size: 1.18rem;
}

.detail-card p + p {
    margin-top: 0.55rem;
}

.content-list {
    list-style: disc;
    padding-left: 1.2rem;
}

.content-list li + li {
    margin-top: 0.28rem;
}

table,
.job-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #e3e8f7;
}

.job-table-scroll {
    overflow-x: auto;
}

.physical-standards-table th,
.physical-standards-table td {
    text-align: center;
}

.physical-standards-table th:first-child,
.physical-standards-table td:first-child {
    text-align: left;
    min-width: 190px;
}

th,
td,
.job-table td,
.job-table th {
    text-align: left;
    padding: 0.58rem 0.65rem;
    border-bottom: 1px solid #e6ebf9;
    font-size: 0.9rem;
}

th,
.job-table th {
    font-weight: 800;
    color: #1e293b;
    background: #f8faff;
}

form {
    padding: 1.05rem;
}

label {
    display: block;
    margin: 0.5rem 0 0.28rem;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.92rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d2dcf0;
    border-radius: 10px;
    padding: 0.64rem 0.74rem;
    background: #fff;
    color: #0f172a;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(91, 87, 245, 0.2);
    border-color: rgba(91, 87, 245, 0.48);
}

.form-alert {
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    margin: 0.5rem 0;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.form-alert-success {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.form-alert-error,
.field-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.field-error {
    border: 1px solid;
    border-radius: 8px;
    padding: 0.36rem 0.52rem;
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
}

.site-footer {
    border-top: 1px solid #dbe2f3;
    background: rgba(255, 255, 255, 0.6);
}

.site-footer-inner {
    padding: 1.2rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #475569;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
}

.footer-nav a {
    text-decoration: none;
    color: #334155;
}

.job-detail-header {
    padding: 1.15rem;
    margin-bottom: 1rem;
}

.job-detail-header h1 {
    font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.95rem);
    line-height: 1.25;
}

.job-subtitle,
.job-note {
    color: var(--text-secondary);
}

.job-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.job-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr);
    gap: 1rem;
}

.job-card {
    padding: 1rem;
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: 1.08rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.012em;
}

.job-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.job-box {
    background: #f8faff;
    border: 1px solid #e2e8f8;
    padding: 0.62rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.job-sidebar {
    position: sticky;
    top: 16px;
    height: fit-content;
}

.btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.65rem 0.7rem;
    margin-bottom: 0.52rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.btn-disabled {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #dbe3f4;
    cursor: not-allowed;
}

.btn-outline,
.btn-outline-inline {
    background: #eef2ff;
    color: #000080;
    border: 1px solid #c7d2fe;
    box-shadow: none;
}

.btn-outline-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    margin: 0;
}

.btn-reminder {
    background: #ede9fe;
    color: #4c1d95;
    border: 1px solid #c4b5fd;
    box-shadow: none;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
}

.btn-jobdwar {
    background: linear-gradient(120deg, #1611e5, #b6005a);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: none;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
}

.btn-outline:hover,
.btn-outline-inline:hover {
    background: #e0e7ff;
    filter: none;
}

.btn-reminder:hover {
    background: #ddd6fe;
    filter: none;
}

.btn-jobdwar:hover {
    background: linear-gradient(120deg, #221de8, #c40062);
    filter: none;
}

.nav-toggle {
    border: 0;
    background: #000080;
    color: #fff;
    box-shadow: 0 14px 28px -18px rgba(0, 0, 128, 0.72);
}

.nav-toggle:hover {
    background: #000080;
    filter: brightness(1.06);
}

.related-links-card h4 {
    margin: 0.5rem 0 0.35rem;
}

.related-links-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.5rem;
}

.related-links-card li + li {
    margin-top: 0.35rem;
}

.related-links-card li {
    position: relative;
    padding-left: 1.1rem;
}

.related-links-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.34rem;
    width: 0.72rem;
    height: 0.72rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 5l5 5-5 5' stroke='%23000080' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.related-links-card a {
    text-decoration: none;
    color: #000080;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.related-links-card a:hover {
    color: #0a0a9f;
    text-decoration: underline;
    text-decoration-color: #0a0a9f;
    text-underline-offset: 2px;
}

.selection-step-text,
.selection-process-detail {
    border-radius: 10px !important;
}

.selection-progress-wrap {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.selection-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: start;
    gap: 10px;
    position: relative;
}

.selection-step::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: -10px;
    width: 2px;
    background: #dbeafe;
}

.selection-step:last-child::after {
    display: none;
}

.selection-step-node {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1e3a8a;
    background: #dbeafe;
    border: 2px solid #93c5fd;
    box-shadow: 0 1px 2px rgb(30 64 175 / 0.18);
}

.selection-step-text {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    font-weight: 600;
    color: #0f172a;
}

.selection-process-detail {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    line-height: 1.65;
}

.table-top-gap {
    margin-top: 10px;
}

.table-bottom-gap {
    margin-bottom: 10px;
}

.muted-note {
    margin-top: 8px;
    color: #6b7280;
}

.year-title {
    margin: 10px 0 8px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.section-title-row .section-title {
    margin-bottom: 0;
}

.eligibility-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.eligibility-title-row p {
    margin: 0;
}

.section-action-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.section-action-group .btn-outline-inline {
    min-height: 32px;
}

.interest-form {
    display: grid;
    gap: 8px;
}

.interest-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
}

.interest-checkbox-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 14px;
    margin: 2px 0 0;
    width: fit-content;
    max-width: 100%;
}

.interest-checkbox-row input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
}

.reminder-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.reminder-shot {
    margin: 0;
    border: 1px solid #dbe3f4;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.reminder-shot img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.reminder-shot figcaption {
    padding: 8px 10px;
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
}

.reminder-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 8px;
}

.reminder-title-row .page-title {
    margin: 0;
    flex: 1;
}

.reminder-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 96px;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .reminder-title-row {
        align-items: stretch;
    }
}

.eligibility-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1200;
}

.eligibility-modal.is-open,
.eligibility-modal[aria-hidden="false"] {
    display: flex;
}

.eligibility-modal-dialog {
    width: 100%;
    max-width: 760px;
    max-height: min(90vh, 920px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #d1d5db;
}

.eligibility-modal-header,
.eligibility-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
}

.eligibility-modal-footer {
    border-bottom: none;
    border-top: 1px solid #e5e7eb;
}

.eligibility-modal-body {
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.eligibility-modal-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #334155;
}

.eligibility-checker-form {
    margin: 0;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

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

.eligibility-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eligibility-field.eligibility-field-note {
    grid-column: 1 / -1;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #eff6ff;
    gap: 6px;
}

.eligibility-field.is-hidden {
    display: none;
}

.eligibility-checker-note {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
    line-height: 1.4;
}

.eligibility-checker-note-sub {
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
}

.eligibility-radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px 14px;
}

.eligibility-radio-group.is-stacked {
    grid-template-columns: 1fr;
}

.eligibility-radio-group label {
    margin: 0;
    font-weight: 500;
}

.eligibility-radio-option {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 8px;
    align-items: start;
    line-height: 1.35;
    cursor: pointer;
}

.eligibility-radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
}

.eligibility-form-row {
    margin-bottom: 10px;
    display: grid;
    gap: 6px;
}

.eligibility-form-row label {
    margin: 0;
    font-weight: 600;
    color: #334155;
}

.eligibility-result,
.eligibility-result-box {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eligibility-result-item,
.eligibility-result-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    background: #f8fafc;
}

.eligibility-result-item.pass,
.eligibility-result-card.is-pass {
    border-color: #86efac;
    background: #f0fdf4;
}

.eligibility-result-item.fail,
.eligibility-result-card.is-fail {
    border-color: #fecaca;
    background: #fef2f2;
}

.eligibility-result-card ul {
    margin: 8px 0 0 18px;
}

.eligibility-error {
    color: #b91c1c;
    font-size: 0.8rem;
}

@media (min-width: 760px) {
    .grid,
    .list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1150px) {
    .grid,
    .list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .job-layout {
        grid-template-columns: 1fr;
    }

    .job-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 14px;
        line-height: 1.45;
    }

    .container {
        width: min(1250px, calc(100% - 1rem));
    }

    .top-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-inner {
        padding: 0.65rem 0;
    }

    .brand-row {
        text-align: center;
    }

    .home-inline-banner {
        text-align: center;
        margin-top: 0.1rem;
        margin-bottom: 0.55rem;
    }

    .home-inline-chips {
        justify-content: center;
    }

    .subtitle {
        font-size: 0.82rem;
    }

    .top-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .nav-toggle {
        display: none;
    }

    .top-nav a {
        border-radius: 999px;
    }

    .nav-search {
        width: auto;
    }

    .nav-search-toggle {
        border-radius: 999px;
        width: auto;
        justify-content: center;
        padding-inline: 0.66rem;
    }

    .nav-search.is-open .nav-search-form {
        max-width: 240px;
        width: auto;
    }

    .nav-search-input {
        width: 240px;
        border-radius: 999px;
    }

    .hot-links-row {
        justify-content: center;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .content-wrap {
        margin-top: 0.75rem;
        margin-bottom: 1.1rem;
    }

    .ad-slot {
        min-height: 66px;
        margin: 0.2rem 0 0.7rem;
    }

    .card {
        padding: 0.68rem;
        border-radius: 14px;
    }

    .card-header {
        gap: 0.42rem;
        margin-bottom: 0.55rem;
        padding-bottom: 0.45rem;
    }

    .card-icon {
        font-size: 1rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-list a {
        padding: 0.2rem 0.32rem;
    }

    .card-list li + li {
        padding-top: 0;
    }

    .status-badge,
    .badge {
        margin-top: 0.12rem;
        padding: 0.18rem 0.46rem;
        font-size: 0.68rem;
    }

    .view-more,
    .btn-primary,
    button[type="submit"] {
        margin-top: 0.5rem;
        padding: 0.46rem 0.72rem;
        font-size: 0.8rem;
    }

    .grid > .card:nth-child(1) {
        order: 1; /* Results */
    }

    .grid > .card:nth-child(3) {
        order: 2; /* Jobs */
    }

    .grid > .card:nth-child(2) {
        order: 3; /* Admit Cards */
    }

    .grid > .card:nth-child(6) {
        order: 4; /* Admissions */
    }

    .grid > .card:nth-child(4) {
        order: 5; /* General Links */
    }

    .grid > .card:nth-child(5) {
        order: 6; /* Answer Keys */
    }

    .job-grid-2 {
        grid-template-columns: 1fr;
    }

    .eligibility-fields-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-inner {
        justify-content: flex-start;
    }
}
