/* ============================================================
   theme2026.css — 2026 版前台公共样式（首页 / 证书查询 等共用）
   来源：原 index.jsp 的内联 <style> 抽出，抽出于 2026-11-12。
   注意：这是手写“精简版 Tailwind”，只包含页面实际用到的类；
   新增页面若用了新类，请确认这里是否有定义（未定义会静默失效）。
   ============================================================ */

        /* 整合所有外部CSS样式 + 自定义样式 */
        
        /* Tailwind CSS 核心样式（精简版核心样式） */
        *, ::before, ::after {
            box-sizing: border-box;
            border-width: 0;
            border-style: solid;
            border-color: #e5e7eb;
        }
        html {
            line-height: 1.5;
            -webkit-text-size-adjust: 100%;
            -moz-tab-size: 4;
            tab-size: 4;
            font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        }
        body {
            margin: 0;
            line-height: inherit;
        }
        hr {
            height: 0;
            color: inherit;
            border-top-width: 1px;
        }
        abbr:where([title]) {
            text-decoration: underline dotted;
        }
        h1, h2, h3, h4, h5, h6 {
            font-size: inherit;
            font-weight: inherit;
        }
        a {
            color: inherit;
            text-decoration: inherit;
        }
        b, strong {
            font-weight: bolder;
        }
        code, kbd, samp, pre {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: 1em;
        }
        small {
            font-size: 80%;
        }
        sub, sup {
            font-size: 75%;
            line-height: 0;
            position: relative;
            vertical-align: baseline;
        }
        sub {
            bottom: -0.25em;
        }
        sup {
            top: -0.5em;
        }
        table {
            text-indent: 0;
            border-color: inherit;
            border-collapse: collapse;
        }
        button, input, optgroup, select, textarea {
            font-family: inherit;
            font-size: 100%;
            font-weight: inherit;
            line-height: inherit;
            color: inherit;
            margin: 0;
            padding: 0;
        }
        button, select {
            text-transform: none;
        }
        [type='button'], [type='reset'], [type='submit'], button {
            -webkit-appearance: button;
            background-color: transparent;
            background-image: none;
        }
        :-moz-focusring {
            outline: auto;
        }
        :-moz-ui-invalid {
            box-shadow: none;
        }
        progress {
            vertical-align: baseline;
        }
        ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
            height: auto;
        }
        [type='search'] {
            -webkit-appearance: textfield;
            outline-offset: -2px;
        }
        ::-webkit-search-decoration {
            -webkit-appearance: none;
        }
        ::-webkit-file-upload-button {
            -webkit-appearance: button;
            font: inherit;
        }
        summary {
            display: list-item;
        }
        blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
            margin: 0;
        }
        fieldset {
            margin: 0;
            padding: 0;
        }
        legend {
            padding: 0;
        }
        ol, ul, menu {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        textarea {
            resize: vertical;
        }
        input::placeholder, textarea::placeholder {
            opacity: 1;
            color: #9ca3af;
        }
        [role='button'], button {
            cursor: pointer;
        }
        :disabled {
            cursor: default;
        }
        img, svg, video, canvas, audio, iframe, embed, object {
            display: block;
            vertical-align: middle;
        }
        img, video {
            max-width: 100%;
            height: auto;
        }
        [hidden] {
            display: none;
        }

        /* Tailwind 通用工具类 */
        .container {
            width: 100%;
            margin-right: auto;
            margin-left: auto;
            padding-right: 1rem;
            padding-left: 1rem;
        }
        @media (min-width: 640px) {
            .container {
                max-width: 640px;
            }
        }
        @media (min-width: 768px) {
            .container {
                max-width: 768px;
            }
        }
        @media (min-width: 1024px) {
            .container {
                max-width: 1024px;
            }
        }
        @media (min-width: 1280px) {
            .container {
                max-width: 1280px;
            }
        }
        @media (min-width: 1536px) {
            .container {
                max-width: 1536px;
            }
        }
        .mx-auto {
            margin-left: auto;
            margin-right: auto;
        }
        .px-6 {
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        .py-4 {
            padding-top: 1rem;
            padding-bottom: 1rem;
        }
        .py-10 {
            padding-top: 2.5rem;
            padding-bottom: 2.5rem;
        }
        .flex {
            display: flex;
        }
        .grid {
            display: grid;
        }
        .hidden {
            display: none;
        }
        .items-center {
            align-items: center;
        }
        .justify-between {
            justify-content: space-between;
        }
        .justify-center {
            justify-content: center;
        }
        .space-x-3 > :not([hidden]) ~ :not([hidden]) {
            --tw-space-x-reverse: 0;
            margin-right: calc(0.75rem * var(--tw-space-x-reverse));
            margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
        }
        .space-x-4 > :not([hidden]) ~ :not([hidden]) {
            --tw-space-x-reverse: 0;
            margin-right: calc(1rem * var(--tw-space-x-reverse));
            margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
        }
        .space-x-8 > :not([hidden]) ~ :not([hidden]) {
            --tw-space-x-reverse: 0;
            margin-right: calc(2rem * var(--tw-space-x-reverse));
            margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
        }
        .space-y-2 > :not([hidden]) ~ :not([hidden]) {
            --tw-space-y-reverse: 0;
            margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
            margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
        }
        .space-y-3 > :not([hidden]) ~ :not([hidden]) {
            --tw-space-y-reverse: 0;
            margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
            margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
        }
        .space-y-4 > :not([hidden]) ~ :not([hidden]) {
            --tw-space-y-reverse: 0;
            margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
            margin-bottom: calc(1rem * var(--tw-space-y-reverse));
        }
        .space-y-8 > :not([hidden]) ~ :not([hidden]) {
            --tw-space-y-reverse: 0;
            margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
            margin-bottom: calc(2rem * var(--tw-space-y-reverse));
        }
        .rounded-xl {
            border-radius: 0.75rem;
        }
        .rounded-lg {
            border-radius: 0.5rem;
        }
        .rounded-2xl {
            border-radius: 1rem;
        }
        .rounded-full {
            border-radius: 9999px;
        }
        .w-10 {
            width: 2.5rem;
        }
        .w-12 {
            width: 3rem;
        }
        .h-10 {
            height: 2.5rem;
        }
        .h-12 {
            height: 3rem;
        }
        .h-80 {
            height: 20rem;
        }
        .px-5 {
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }
        .py-2 {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }
        .text-2xl {
            font-size: 1.5rem;
            line-height: 2rem;
        }
        .text-4xl {
            font-size: 2.25rem;
            line-height: 2.5rem;
        }
        .text-sm {
            font-size: 0.875rem;
            line-height: 1.25rem;
        }
        .text-xl {
            font-size: 1.25rem;
            line-height: 1.75rem;
        }
        .font-bold {
            font-weight: 700;
        }
        .font-medium {
            font-weight: 500;
        }
        .font-semibold {
            font-weight: 600;
        }
        .opacity-90 {
            opacity: 0.9;
        }
        .opacity-50 {
            opacity: 0.5;
        }
        .opacity-100 {
            opacity: 1;
        }
        .relative {
            position: relative;
        }
        .absolute {
            position: absolute;
        }
        .top-0 {
            top: 0px;
        }
        .bottom-6 {
            bottom: 1.5rem;
        }
        .left-1\/2 {
            left: 50%;
        }
        .z-50 {
            z-index: 50;
        }
        .transform {
            transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
        }
        .-translate-x-1\/2 {
            --tw-translate-x: -50%;
        }
        .mt-1 {
            margin-top: 0.25rem;
        }
        .mt-2 {
            margin-top: 0.5rem;
        }
        .mt-4 {
            margin-top: 1rem;
        }
        .mt-8 {
            margin-top: 2rem;
        }
        .mb-1 {
            margin-bottom: 0.25rem;
        }
        .mb-2 {
            margin-bottom: 0.5rem;
        }
        .mb-4 {
            margin-bottom: 1rem;
        }
        .mb-6 {
            margin-bottom: 1.5rem;
        }
        .mb-8 {
            margin-bottom: 2rem;
        }
        .mb-10 {
            margin-bottom: 2.5rem;
        }
        .mr-2 {
            margin-right: 0.5rem;
        }
        .mr-4 {
            margin-right: 1rem;
        }
        .text-center {
            text-align: center;
        }
        .items-start {
            align-items: flex-start;
        }
        .w-full {
            width: 100%;
        }
        .pt-8 {
            padding-top: 2rem;
        }
        .pt-6 {
            padding-top: 1.5rem;
        }
        .pb-8 {
            padding-bottom: 2rem;
        }
        .py-3 {
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
        }
        .px-8 {
            padding-left: 2rem;
            padding-right: 2rem;
        }
        .p-4 {
            padding: 0.2rem;
        }
        .p-6 {
            padding: 1.5rem;
        }
        .p-8 {
            padding: 1rem;
			margin: 0.2rem;
        }
        .py-12 {
            padding-top: 3rem;
            padding-bottom: 3rem;
        }
        .border-b {
            border-bottom-width: 1px;
        }
        .border-t {
            border-top-width: 1px;
        }
        .border-2 {
            border-width: 2px;
        }
        .overflow-hidden {
            overflow: hidden;
        }
        .flex-col {
            flex-direction: column;
        }

        /* ============================================================
           补齐模板精简 Tailwind 中缺失的工具类
           说明：static2026 模板是手写精简版 Tailwind，只定义了页面用到的部分类，
           以下类被使用却没有任何定义，会静默失效：
             .block/.inline-block 缺失 -> <a class="block w-full"> 仍是 inline，
                                        w-full 与 text-center 一起失效（按钮缩成文字宽）
             .gap-6/.gap-8 缺失      -> grid 布局卡片之间没有间隙，三张卡片贴合
             .w-3/.h-3 缺失          -> 轮播指示点没有尺寸，等于不可见
             .border 缺失            -> 只有 border-* 的色值，没有 1px 边框
             .hover:border-* 缺失    -> 浏览器卡片悬停不变色
           ⚠ 必须放在下面「响应式工具类」之前：这些是基础类，与 .md:grid-cols-3 /
             .lg:grid-cols-2 同优先级，若放在文件末尾会反过来覆盖响应式栅格，导致永远单列。
           2026-11-12 补充
           ============================================================ */
        .block { display: block; }
        .inline-block { display: inline-block; }
        .sticky { position: -webkit-sticky; position: sticky; }
        .italic { font-style: italic; }

        /* 只补宽度与线型，颜色仍由 .border-xxx-200 决定 */
        .border { border-width: 1px; border-style: solid; }

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

        .mt-12 { margin-top: 3rem; }
        .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
        .text-blue-500 { color: #3b82f6; }
        .w-3 { width: 0.75rem; }
        .h-3 { height: 0.75rem; }

        /* 右上角登录按钮：不允许被 logo/导航挤压，否则窄屏会缩成竖排单字 */
        .header-bar > div:last-child { flex: 0 0 auto; }
        .header-bar > div:last-child a { white-space: nowrap; }

        /* ============================================================
           头部：深色底 + 原站 logo
           原 logo（assets/i/logo.png，933x150，透明底）由「金色校徽 +
           白色校名 + 白色系统名」组成，白色文字在白底上完全不可见，
           所以头部必须是深色底，logo 才能原样使用、不需要改色或重绘。
           2026-11-12
           ============================================================ */
        .site-header {
            background: linear-gradient(135deg, #0f172a 0%, #1b2a4a 55%, #16233d 100%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 6px 24px rgba(15, 23, 42, 0.18);
        }
        .header-logo { display: inline-block; line-height: 0; }
        .header-logo img {
            display: block;
            height: 46px;
            width: auto;
        }
        @media (max-width: 1199px) {
            .header-logo img { height: 40px; }
        }
        @media (max-width: 767px) {
            .header-logo img { height: 34px; }
        }
        /* 深底上的导航：默认浅灰，悬停用 logo 同色系的金黄 */
        .nav-link {
            font-weight: 500;
            color: #dbe3f0;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .nav-link:hover { color: #fbbf24; }
        .btn-login {
            display: inline-block;
            padding: 0.5rem 1.25rem;
            border-radius: 0.5rem;
            font-weight: 600;
            color: #1f2937;
            text-decoration: none;
            background: linear-gradient(135deg, #f7c948 0%, #f0a500 100%);
            transition: box-shadow 0.2s ease, transform 0.2s ease;
        }
        .btn-login:hover {
            box-shadow: 0 8px 18px rgba(240, 165, 0, 0.35);
            transform: translateY(-1px);
        }
        /* 仅供读屏器的 h1（logo 图里已有校名，视觉上不重复） */
        .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;
        }
        /* 公告为空时：右栏被左栏撑高，占位文字竖直居中才不显得空 */
        .notice-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 210px;
            color: #9ca3af;
            text-align: center;
        }

        /* 轮播指示点：尺寸交给 w-3/h-3，这里只做可点击与过渡 */
        .carousel-dot {
            cursor: pointer;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        .carousel-dot:hover { transform: scale(1.25); }

        .hover\:border-blue-400:hover { border-color: #60a5fa; }
        .hover\:border-green-400:hover { border-color: #4ade80; }
        .hover\:border-purple-400:hover { border-color: #c084fc; }
        .hover\:text-white:hover { color: #ffffff; }

        /* 响应式工具类 */
        @media (min-width: 640px) {
            .sm\:text-sm {
                font-size: 0.875rem;
                line-height: 1.25rem;
            }
        }
        @media (min-width: 768px) {
            .md\:flex {
                display: flex;
            }
            .md\:hidden {
                display: none;
            }
            .md\:grid-cols-3 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
            .md\:grid-cols-4 {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
            .md\:flex-row {
                flex-direction: row;
            }
            .md\:mt-0 {
                margin-top: 0px;
            }
        }
        @media (min-width: 1024px) {
            .lg\:grid-cols-2 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .lg\:grid-cols-3 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        /* Font Awesome 核心图标样式（精简版） */
        .fas, .fab {
            -moz-osx-font-smoothing: grayscale;
            -webkit-font-smoothing: antialiased;
            display: inline-block;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            line-height: 1;
        }
        .fa-graduation-cap:before {
            content: "\f19d";
        }
        .fa-user-plus:before {
            content: "\f234";
        }
        .fa-sign-in-alt:before {
            content: "\f2f6";
        }
        .fa-exclamation-circle:before {
            content: "\f06a";
        }
        .fa-calendar-alt:before {
            content: "\f073";
        }
        .fa-clock:before {
            content: "\f017";
        }
        .fa-play-circle:before {
            content: "\f144";
        }
        .fa-bullhorn:before {
            content: "\f0a1";
        }
        .fa-fire:before {
            content: "\f06d";
        }
        .fa-external-link-alt:before {
            content: "\f35d";
        }
        .fa-list:before {
            content: "\f03a";
        }
        .fa-chrome:before {
            content: "\f268";
        }
        .fa-exclamation-triangle:before {
            content: "\f071";
        }
        .fa-firefox:before {
            content: "\f269";
        }
        .fa-phone:before {
            content: "\f095";
        }
        .fa-envelope:before {
            content: "\f0e0";
        }
        .fa-map-marker-alt:before {
            content: "\f3c5";
        }
        .fa-search:before {
            content: "\f002";
        }
        .fa-download:before {
            content: "\f019";
        }

        /* 自定义样式 */
        * { 
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
        }
        .glass-effect { 
            backdrop-filter: blur(10px); 
        }
        .gradient-primary { 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
        }
        .gradient-secondary { 
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
        }
        .gradient-success { 
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
        }
        .gradient-warning { 
            background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); 
        }
        .gradient-danger { 
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
        }
        .shadow-soft { 
            box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
        }
        .shadow-hard { 
            box-shadow: 0 20px 60px rgba(0,0,0,0.15); 
        }
        .transition-all { 
            transition: all 0.3s ease; 
        }
        .hover-lift:hover { 
            transform: translateY(-5px); 
        }
        /* 补齐本页用到、但精简版 Tailwind 里缺失的工具类 */
        .truncate {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .min-w-0 { min-width: 0; }
        .ml-4 { margin-left: 1rem; }
        .no-underline { text-decoration: none; }

        /* 小屏导航：原设计用 hidden 直接藏掉且无汉堡按钮，这里改为换行展示。
           断点取 1200 而不是 768/1024：768~1199 之间，logo + 4 个链接 + 登录按钮
           横向排不下，链接会被压成两行（"证书查询及下/载"），改成整行独占后正常；
           1200 以上才放回同一行。
           2026-11-12 */
        .site-nav { display: none; }
        .site-nav a { white-space: nowrap; }
        @media (min-width: 1200px) {
            .site-nav {
                display: flex;
                align-items: center;
                gap: 2rem;
            }
        }
        @media (max-width: 1199px) {
            .header-bar { flex-wrap: wrap; }
            /* 换行顺序：第一行 logo + 登录，第二行整行导航。
               必须用 flex-basis:0（不能是 auto）：换行判定发生在收缩之前，
               basis:auto 会按标题原始宽度判断放不下，把登录按钮挤到下一行。
               不用 order 时 .site-nav 的 width:100% 也会把登录按钮挤到第三行最左侧。 */
            .header-bar > div:first-child {
                order: 1;
                flex: 1 1 0%;
                min-width: 0;
            }
            .header-bar > div:last-child {
                order: 2;
                flex: 0 0 auto;
            }
            .site-nav {
                order: 3;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                width: 100%;
                margin-top: 12px;
                gap: 8px 18px;
                font-size: 14px;
            }
            .site-nav a { white-space: nowrap; }
        }
        @media (max-width: 767px) {
            /* logo 换成图片后，第一行就是「logo + 登录」，宽度按 .header-logo img 控制，
               这里不再需要调 h1/p 字号（原文字版才会在窄屏挤成三行）。
               导航用两列网格：flex 自动换行会得到 3+1 的不平衡分布，2×2 更整齐。 */
            .site-nav {
                display: grid;
                grid-template-columns: 1fr 1fr;
                align-items: center;
                gap: 10px 8px;
                font-size: 13px;
            }
        }
        .animation-pulse-slow { 
            animation: pulse 2s infinite; 
        }
        @keyframes pulse { 
            0%, 100% { opacity: 1; } 
            50% { opacity: 0.7; } 
        }

        /* 自定义颜色类 */
        .bg-gray-50 {
            background-color: #f9fafb;
        }
        .bg-white {
            background-color: #ffffff;
        }
        .bg-gray-100 {
            background-color: #f3f4f6;
        }
        .bg-gray-200 {
            background-color: #e5e7eb;
        }
        .bg-gray-800 {
            background-color: #1f2937;
        }
        .bg-gray-700 {
            background-color: #374151;
        }
        .bg-red-100 {
            background-color: #fee2e2;
        }
        .bg-yellow-50 {
            background-color: #fffbeb;
        }
        .bg-blue-50 {
            background-color: #eff6ff;
        }
        .bg-green-50 {
            background-color: #ecfdf5;
        }
        .bg-red-50 {
            background-color: #fef2f2;
        }
        .bg-white\/90 {
            background-color: rgba(255, 255, 255, 0.9);
        }

        .text-white {
            color: #ffffff;
        }
        .text-gray-800 {
            color: #1f2937;
        }
        .text-gray-700 {
            color: #374151;
        }
        .text-gray-500 {
            color: #6b7280;
        }
        .text-gray-400 {
            color: #9ca3af;
        }
        .text-gray-300 {
            color: #d1d5db;
        }
        .text-gray-600 {
            color: #4b5563;
        }
        .text-blue-600 {
            color: #2563eb;
        }
        .text-red-700 {
            color: #b91c1c;
        }
        .text-red-600 {
            color: #dc2626;
        }
        .text-red-500 {
            color: #ef4444;
        }
        .text-yellow-800 {
            color: #854d0e;
        }
        .text-yellow-700 {
            color: #a16207;
        }
        .text-yellow-600 {
            color: #ca8a04;
        }
        .text-blue-800 {
            color: #1e40af;
        }
        .text-blue-700 {
            color: #1d4ed8;
        }
        .text-green-800 {
            color: #065f46;
        }
        .text-green-700 {
            color: #047857;
        }
        .text-green-600 {
            color: #059669;
        }
        .text-orange-500 {
            color: #f97316;
        }
        .text-green-500 {
            color: #22c55e;
        }

        .border-yellow-200 {
            border-color: #fde68a;
        }
        .border-blue-200 {
            border-color: #bfdbfe;
        }
        .border-green-200 {
            border-color: #bbf7d0;
        }
        .border-red-200 {
            border-color: #fecdd3;
        }
        .border-blue-500 {
            border-color: #3b82f6;
        }
        .border-blue-200 {
            border-color: #bfdbfe;
        }
        .border-blue-400 {
            border-color: #93c5fd;
        }
        .border-green-200 {
            border-color: #bbf7d0;
        }
        .border-green-400 {
            border-color: #4ade80;
        }
        .border-purple-200 {
            border-color: #e9d5ff;
        }
        .border-purple-400 {
            border-color: #c084fc;
        }
        .border-gray-700 {
            border-color: #374151;
        }

        .hover\:text-blue-600:hover {
            color: #2563eb;
        }
        .hover\:bg-gray-200:hover {
            background-color: #e5e7eb;
        }
        .hover\:shadow-lg:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        .hover\:bg-blue-50:hover {
            background-color: #eff6ff;
        }
        .hover\:bg-gray-100:hover {
            background-color: #f3f4f6;
        }
        .hover\:bg-gray-50:hover {
            background-color: #f9fafb;
        }

        /* 轮播图新增样式 */
        .carousel-container {
            position: relative;
            width: 100%;
            /* 高度必须在这里显式给：原模板用 .h-80(20rem) 定高，但本规则里的
               height:100% 会覆盖它，而父容器没有确定高度 -> 百分比退化为 auto，
               实际高度变成图片自然比例（桌面仅 251px），左右箭头与底部文字层
               在垂直方向重叠。改为分档固定高度，三档视口都不再挤。
               2026-11-12 */
            height: 220px;
            overflow: hidden;
        }
        @media (min-width: 768px) {
            .carousel-container { height: 380px; }
        }
        @media (min-width: 1280px) {
            .carousel-container { height: 440px; }
        }
        .carousel-slides {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease;
        }
        .carousel-slide {
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        /* 图片上的文字层：保证"校园风光"在浅色页面上依然清晰 */
        .slide-overlay {
            position: absolute;
            top: 0; right: 0; bottom: 0; left: 0;
            display: flex;
            align-items: flex-end;
            padding: 0 0 46px 48px;
            background:
                linear-gradient(90deg, rgba(15,23,42,.62) 0%, rgba(15,23,42,.20) 46%, rgba(15,23,42,.04) 100%),
                linear-gradient(180deg, rgba(15,23,42,.12) 0%, rgba(15,23,42,.10) 55%, rgba(15,23,42,.58) 100%);
        }
        .slide-caption { color: #fff; }
        .slide-caption .scene-no {
            display: inline-block;
            padding: 4px 10px;
            margin-bottom: 10px;
            font-size: 12px;
            letter-spacing: 3px;
            border: 1px solid rgba(255,255,255,.55);
            border-radius: 6px;
            background: rgba(255,255,255,.16);
        }
        .slide-caption h2 {
            font-size: 30px;
            font-weight: 700;
            letter-spacing: 2px;
            margin: 0 0 6px;
            text-shadow: 0 2px 14px rgba(0,0,0,.45);
        }
        .slide-caption p {
            font-size: 13px;
            opacity: .92;
            margin: 0;
        }
        /* 轮播控制按钮 */
        .carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
        }
        .carousel-control:hover {
            background-color: rgba(255,255,255,1);
        }
        .carousel-prev {
            left: 20px;
        }
        .carousel-next {
            right: 20px;
        }

        /* 小屏：文字层整体压缩，并隐藏左右箭头
           （hero 只有 220px，40px 的圆形按钮会压住文字；指示点本身可点击，
             再加上 9 秒自动轮播，去掉箭头不影响操作）
           ⚠ 必须放在 .carousel-control 之后：两者同优先级，
             放在前面会被后面的 display:flex 按源码顺序覆盖掉。
           2026-11-12 */
        @media (max-width: 767px) {
            .slide-overlay {
                padding: 0 20px 52px 20px;
            }
            .slide-caption .scene-no {
                font-size: 10px;
                letter-spacing: 2px;
                padding: 3px 8px;
                margin-bottom: 8px;
            }
            .slide-caption h2 {
                font-size: 20px;
                letter-spacing: 1px;
                margin-bottom: 4px;
            }
            .slide-caption p {
                font-size: 11px;
            }
            .carousel-control {
                display: none;
            }
        }

/* ============================================================
   公共片段用到的补充样式（2026-11-12 新增）
   ============================================================ */

/* 导航当前栏目高亮：金色文字 + 底部渐变细线 */
.nav-link.nav-active {
    color: #fbbf24;
    position: relative;
}
.nav-link.nav-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f7c948, #f0a500);
}

/* 页脚链接 */
.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #ffffff;
}

/* 表单基础件：供证书查询 / 登录 / 注册等页面复用 */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}
.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #111827;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
.form-input::placeholder {
    color: #9ca3af;
}
.form-hint {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
}
/* 表单校验态：JS 动态切换，注意保持与 .form-input / .form-hint 的先后关系 */
.form-input.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.form-hint.err {
    color: #dc2626;
}
.form-hint.ok {
    color: #15803d;
}

/* 版面辅助（2026-11-12 证书查询页用到，后续页面可复用） */
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
@media (min-width: 1024px) {
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}
.gap-4 {
    gap: 1rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.5rem;
}
