.policy-overview {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 90px);
    align-items: start;
    color: #fff;
    background: #073f5d;
}

.policy-overview h2,
.special-groups-section h2 { margin: 10px 0 16px; font: clamp(30px, 4vw, 52px) var(--serif); }
.policy-overview p { max-width: 620px; color: rgba(255,255,255,.78); line-height: 1.85; }
.policy-legend { display: grid; gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.policy-legend div { padding: 23px 25px; display: grid; grid-template-columns: 120px 1fr; gap: 22px; background: rgba(5,42,63,.86); }
.policy-legend strong { color: #f1d8aa; font: 18px var(--serif); }
.policy-legend span { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.7; }

.policy-source-note { margin: 0 0 28px; padding: 16px 20px; color: var(--muted); border-left: 3px solid var(--gold); background: #fff; font-size: 13px; line-height: 1.75; }
.policy-stage-list { gap: 28px; }
.policy-stage { scroll-margin-top: calc(var(--header-height) + 20px); }
.policy-stage header { align-items: start; }
.policy-stage header p { margin: 8px 0 0; max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.policy-stage-highlights { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.policy-stage-highlights span { padding: 9px 13px; color: var(--brand-deep); background: var(--accent-soft); border: 1px solid rgba(0,90,132,.12); font-size: 12px; }

.policy-items { display: grid; gap: 10px; }
.policy-item { border: 1px solid var(--line); background: #fff; }
.policy-item > summary { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; cursor: pointer; list-style: none; }
.policy-item > summary::-webkit-details-marker { display: none; }
.policy-item > summary span { min-width: 0; display: grid; grid-template-columns: minmax(180px, .8fr) minmax(180px, 1.2fr); align-items: baseline; gap: 20px; }
.policy-item > summary b { color: var(--ink); font: 18px var(--serif); }
.policy-item > summary small { color: var(--brand); font-size: 13px; font-weight: 700; }
.policy-item > summary i { flex: 0 0 auto; color: var(--brand); font-style: normal; font-size: 20px; transition: transform .2s; }
.policy-item[open] > summary i { transform: rotate(45deg); }
.policy-item[open] > summary { border-bottom: 1px solid var(--line); background: #f8fafb; }
.policy-item-body { padding: 20px; display: grid; grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.1fr); gap: 28px; }
.policy-item-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.policy-item-body p strong { margin-bottom: 8px; display: block; color: var(--ink); font-size: 11px; letter-spacing: .12em; }
.policy-item-body ul { margin: 0; padding: 0 0 0 20px; color: var(--muted); background: transparent; font-size: 13px; line-height: 1.8; }
.policy-item-warning { border-left: 3px solid #c78a39; }
.policy-item-warning > summary::after { content: "需核验当年口径"; margin-left: auto; color: #8b5d20; font-size: 11px; }

.higher-policy-nav { margin: 30px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.higher-policy-nav a { padding: 9px 14px; color: var(--brand); border: 1px solid rgba(0,90,132,.24); background: #fff; font-size: 12px; }
.higher-policy-nav a:hover { color: #fff; background: var(--brand); }
.higher-policy-groups { display: grid; gap: 32px; }
.higher-policy-group { scroll-margin-top: calc(var(--header-height) + 20px); }
.higher-policy-group h4 { margin: 0 0 13px; color: var(--brand-deep); font: 22px var(--serif); }

.policy-apply-tip { margin-top: 24px; padding: 20px 22px; display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: start; border: 1px solid rgba(176,132,65,.28); background: #fffaf1; }
.policy-apply-tip strong { color: #8b672c; font-size: 12px; letter-spacing: .12em; }
.policy-apply-tip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.policy-apply-section { background: #fff; }
.policy-apply-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); list-style: none; }
.policy-apply-steps li { min-width: 0; padding: 28px 24px; border-right: 1px solid var(--line); }
.policy-apply-steps li:last-child { border-right: 0; }
.policy-apply-steps > li > span { color: var(--gold); font: 28px Georgia,serif; }
.policy-apply-steps h3 { margin: 18px 0 10px; font: 20px var(--serif); }
.policy-apply-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.special-groups-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(35px, 7vw, 110px); align-items: start; background: #eaf2f5; }
.special-groups-copy p { max-width: 560px; color: var(--muted); line-height: 1.8; }
.special-groups-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(0,90,132,.14); border: 1px solid rgba(0,90,132,.14); list-style: none; }
.special-groups-list li { padding: 18px 20px; color: var(--ink); background: rgba(255,255,255,.78); font-size: 13px; line-height: 1.6; }
.official-channel-actions { display: flex; align-items: center; gap: 18px; }

@media (max-width: 980px) {
    .policy-overview,
    .special-groups-section { grid-template-columns: 1fr; }
    .policy-apply-steps { grid-template-columns: 1fr 1fr; }
    .policy-apply-steps li:nth-child(2) { border-right: 0; }
    .policy-apply-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
    .policy-legend div,
    .policy-item-body,
    .policy-apply-tip { grid-template-columns: 1fr; gap: 10px; }
    .policy-item > summary { align-items: flex-start; }
    .policy-item > summary span { grid-template-columns: 1fr; gap: 6px; }
    .policy-item-warning > summary::after { display: none; }
    .policy-apply-steps,
    .special-groups-list { grid-template-columns: 1fr; }
    .policy-apply-steps li { border-right: 0; border-bottom: 1px solid var(--line); }
    .policy-apply-steps li:last-child { border-bottom: 0; }
    .official-channel-actions { width: 100%; align-items: flex-start; flex-direction: column; }
}

/* Student aid feature film and large stage navigator */
.aid-promotion {
    color: var(--ink);
    background: linear-gradient(180deg, #f4f8fa 0%, #e9f1f5 100%);
}
.aid-promotion-player {
    overflow: hidden;
    border: 1px solid rgba(0, 90, 132, .18);
    border-radius: 18px;
    background: #07151d;
    box-shadow: 0 26px 70px rgba(7, 63, 93, .16);
}
.aid-promotion-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #050b0f;
}
.aid-promotion-meta {
    padding: 22px 28px;
    display: grid;
    grid-template-columns: 190px minmax(260px, .8fr) 1fr;
    gap: 24px;
    align-items: center;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(100deg, #063750 0%, #075a80 58%, #0d6c91 100%);
}
.aid-promotion-meta span { color: #efd6a9; font-size: 9px; letter-spacing: .15em; }
.aid-promotion-meta strong { font: 24px var(--serif); }
.aid-promotion-meta p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.8; }

.stage-chooser.stage-chooser-large {
    padding: clamp(34px, 5vw, 68px) var(--page-x);
    align-items: stretch;
    gap: clamp(28px, 4vw, 60px);
    background:
        radial-gradient(circle at 94% 0%, rgba(224, 182, 108, .2), transparent 28%),
        linear-gradient(120deg, #052f46, #074d6d 62%, #063a54);
}
.stage-chooser-large > span {
    width: min(260px, 24vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: normal;
}
.stage-chooser-large > span small {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .52);
    font: 8px var(--sans);
    letter-spacing: .16em;
}
.stage-chooser-large > span strong {
    color: #f5dfb6;
    font: clamp(25px, 2.3vw, 36px)/1.35 var(--serif);
}
.stage-chooser-large > span em {
    margin-top: 13px;
    color: rgba(255, 255, 255, .63);
    font: normal 11px/1.7 var(--sans);
}
.stage-chooser.stage-chooser-large > div {
    gap: 10px;
}
.stage-chooser-large a {
    position: relative;
    min-height: 132px;
    padding: 23px 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 4px;
    background: rgba(255, 255, 255, .045);
    transition: transform .22s ease, color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.stage-chooser-large a:hover,
.stage-chooser-large a:focus-visible {
    color: #092f43;
    border-color: #f1d69e !important;
    background: #f1d69e;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
    transform: translateY(-5px);
}
.stage-chooser-large a small {
    margin: 0;
    color: rgba(255, 255, 255, .52);
    font: 14px Georgia, serif;
}
.stage-chooser-large a strong {
    color: inherit;
    font: clamp(17px, 1.35vw, 22px)/1.3 var(--serif);
}
.stage-chooser-large a i {
    position: absolute;
    right: 18px;
    bottom: 17px;
    color: #efd49a;
    font: normal 24px/1 var(--sans);
    transition: transform .22s ease;
}
.stage-chooser-large a:hover small,
.stage-chooser-large a:focus-visible small { color: rgba(9, 47, 67, .55); }
.stage-chooser-large a:hover i,
.stage-chooser-large a:focus-visible i { color: #092f43; transform: translateX(5px); }

@media (max-width: 980px) {
    .aid-promotion-meta { grid-template-columns: 1fr; gap: 8px; }
    .stage-chooser.stage-chooser-large { flex-direction: column; }
    .stage-chooser-large > span { width: 100%; }
    .stage-chooser.stage-chooser-large > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .aid-promotion-player { border-radius: 10px; }
    .aid-promotion-meta { padding: 18px; }
    .stage-chooser.stage-chooser-large > div { grid-template-columns: 1fr; }
    .stage-chooser-large a { min-height: 104px; }
}

/* Prominent student-aid AI entry */
.theme-aid .portal-page-actions:has(a:only-child) {
    width: 100%;
    margin-top: 30px;
}
.theme-aid .portal-page-actions a:only-child {
    position: relative;
    isolation: isolate;
    width: min(520px, 100%);
    min-height: 78px;
    padding: 20px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(238, 205, 145, .75);
    border-radius: 6px;
    background: linear-gradient(105deg, #064f70, #087dac 55%, #0b668c);
    box-shadow: 0 16px 38px rgba(0, 90, 132, .22), inset 0 0 0 1px rgba(255, 255, 255, .1);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .04em;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.theme-aid .portal-page-actions a:only-child::before {
    content: 'AI';
    position: absolute;
    z-index: -1;
    right: 60px;
    color: rgba(255, 255, 255, .08);
    font: 700 72px/1 var(--sans);
    letter-spacing: -.08em;
}
.theme-aid .portal-page-actions a:only-child::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -60% auto -60% -30%;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transform: skewX(-18deg);
    animation: aidAiShine 3.8s ease-in-out infinite;
}
.theme-aid .portal-page-actions a:only-child span {
    margin-left: 22px;
    color: #f3d8a4;
    font-size: 27px;
    transition: transform .25s ease;
}
.theme-aid .portal-page-actions a:only-child:hover,
.theme-aid .portal-page-actions a:only-child:focus-visible {
    color: #fff;
    filter: brightness(1.08) saturate(1.1);
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(0, 90, 132, .3), 0 0 0 4px rgba(8, 125, 172, .1);
}
.theme-aid .portal-page-actions a:only-child:hover span,
.theme-aid .portal-page-actions a:only-child:focus-visible span { transform: translateX(7px); }
@keyframes aidAiShine {
    0%, 58% { left: -32%; opacity: 0; }
    66% { opacity: 1; }
    88%, 100% { left: 120%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-aid .portal-page-actions a:only-child::after { animation: none; }
}
