* {
    font-family: Microsoft YaHei, serif;
}

.banner {
    width: 100%;
    height: 360px;
    text-align: center;
    position: relative;
}

.banner > img {
    position: absolute;
    top: 0;
    left: calc(50% - 960px);
    height: 360px;
}

.banner .layui-carousel{
    position: absolute;
    left: calc(50% - 960px);
}

.banner .layui-carousel img{
    width: 1920px;
    height: 360px;
}

.banner .layui-carousel[lay-arrow=hover] .layui-carousel-arrow {
    /*opacity: 1;*/
    left: 8%;
}

.banner .layui-carousel[lay-arrow=hover] .layui-carousel-arrow[lay-type=add] {
    right: 8%;
}

.banner .m-width-1280 {
    position: relative;
    height: 360px;
}

.banner .login-box {
    position: absolute;
    right: 0;
    bottom: 55px;
    width: 260px;
    height: 294px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 8px 8px 20px 0 #2F353433;
    padding: 45px 40px;
    text-align: left;
}

.banner .login-box .login-title {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: center;
}

.banner .login-box .login-title a {
    position: relative;
    display: block;
    /*width: 75px;*/
    height: 25px;
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    /*margin-left: 25px;*/
    /*margin-right: 25px;*/
    color: #333333;
    cursor: pointer;
}

.banner .login-box .login-title a.active {
    color: #3b83f2;
}

.banner .login-box .login-title a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    transition: all 0.3s;
    border-radius: 2px;
    background: #3B83F2;
    width: 0;
}

.banner .login-box .login-title a:hover:after,
.banner .login-box .login-title a.active:after {
    width: 95%;
}

.banner .login-box .login-title .qrcode-login-tab {
    position: absolute;
    top: 0;
    right: 0px;
}

.banner .login-box .login-title .qrcode-login-tab:after {
    display: none;
}

.banner .login-box .login-title .qrcode-login-tab img{
    width: 50px;
}

.banner .login-box .login-content {
    display: none;
}

.banner .login-box .login-content.active {
    display: block;
}

.banner .login-box .login-content.qrcode-login-content {
    text-align: center;
}

.banner .login-box .login-content.qrcode-login-content img{
    width: 200px;
}

.banner .login-box .login-content.qrcode-login-content img:hover{
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.3);
}

.banner .login-box .login-content.qrcode-login-content .login-code-tip{
    margin-top: 20px;
    color: #999999;
}

.banner .login-box .captcha-img {
    height: 40px;
    width: 100%;
}

.banner .login-box .login-btn {
    margin-top: 20px;
    width: 260px;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
    color: #ffffff;
    border-radius: 4px;
    background: #3B83F2;
}

.banner .login-box .login-btn.btn-red{
    background: #af4040;
}

.banner .login-box .register-box {
    margin-top: 15px;
    text-align: right;
    color: #97979C;
}

.banner .login-box .register-box .register {
    margin-left: 5px;
    color: #3B83F2;
    cursor: pointer;
}

.banner .login-box .layui-text p{
    font-size: 16px;
    text-align: center;
}

.content {
    background-color: #ffffff;
    background-image: url("/static/project/img/index/20260331/bg.png");
    background-size: 100%;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.section {
    padding: 40px 0;
}

.section-title-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: "Source Han Serif CN", "Songti SC", serif;
}

.section-title-wrap.wrap1 {
    background: url("/static/project/img/index/20260331/title_bg_1.png") no-repeat center center;
    background-size: contain;
}

.section-title-wrap.wrap2 {
    background: url("/static/project/img/index/20260331/title_bg_2.png") no-repeat center center;
    background-size: contain;
}

.section-title-wrap.center {
    display: flex;
    justify-content: center;
}

.section-title-prefix {
    font-size: 28px;
    color: #111;
}

.section-title-main {
    font-size: 40px;
    color: #1658a0;
}

/* 我要办 - 卡片网格 */
.card-grid {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.card-grid-do {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    border-radius: 2px;
    border: 1px solid #FFF;
    background: #F5F8FD;
    box-shadow: 2px 2px 8px 0 rgba(59, 92, 143, 0.20);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-do {
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 8px 20px rgba(59, 92, 143, 0.3);
}

.card-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.08);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 20px;
}

/* 我要找 & 我要查 布局 */
.section-search-inner {
    display: flex;
    gap: 56px;
}

.column {
    flex: 1;
}

.column-right {
    display: flex;
    flex-direction: column;
}

/* 左侧纵向卡片 */
.card-vertical {
    margin-top: 24px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(59, 92, 143, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-vertical:hover {
    transform: translateY(-4px);
    box-shadow: 6px 8px 20px rgba(59, 92, 143, 0.3);
}

.card-vertical-bg {
    display: block;
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-vertical-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform 0.4s ease;
}

.card-vertical:hover .card-vertical-bg img {
    transform: scale(1.05);
}

.gradient-blue {
    background: linear-gradient(to left, #bfe5ff, #49a1fb);
}

.gradient-deep-blue {
    background: linear-gradient(to left, #2486ef, #0767d8);
}

.gradient-light-blue {
    background: linear-gradient(to left, #e5effc, #a8d6fb);
}

.card-vertical-content {
    position: relative;
    z-index: 100;
    margin-left: 40px;
    margin-top: 40px;
}

.card-vertical-content h3 {
    margin: 0 0 8px;
    font-size: 26px;
}

.card-vertical-content p {
    margin: 0;
    font-size: 16px;
}

.card-vertical-content.light {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.card-vertical-content.dark {
    color: #0158a6;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.7);
}

/* 右侧查询卡片 */
.card-grid-check {
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f8fd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-check:hover {
    transform: translateY(-4px);
    box-shadow: 6px 8px 20px rgba(59, 92, 143, 0.3);
}

.card-check.tall {
    height: 257px;
    position: relative;
    justify-content: center;
}

.card-check.tall .card-icon{
    position: relative;
    top: -25px;
}

.card-check-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px;
    background-color: #ebf5ff;
    text-align: center;
    font-size: 20px;
    border-radius: 0 0 4px 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-check:hover .card-check-footer {
    background-color: #3b83f2;
    color: #ffffff;
}

/* 友情链接 */
.section-links {
    padding-top: 32px;
}

.link-wrapper {
    position: relative;
    margin-top: 32px;
}

.link-container {
    /*overflow: hidden;*/
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

/* 分页导航按钮 */
.link-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 80px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(59, 92, 143, 0.15);
    z-index: 10;
}

/* 禁用状态样式 */
.link-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #e0e0e0;
}

.link-nav-btn:disabled svg {
    color: #999;
}

.link-nav-btn:disabled:hover {
    opacity: 0.3;
    background: #e0e0e0;
    box-shadow: 0 2px 12px rgba(59, 92, 143, 0.15);
    transform: translateY(-50%);
}

.link-nav-btn svg {
    width: 18px;
    height: 18px;
    color: #3b83f2;
    transition: transform 0.3s ease, color 0.3s ease;
}

.link-prev {
    left: -50px;
}

.link-next {
    right: -50px;
}

.link-nav-btn:hover {
    opacity: 1;
    background: linear-gradient(135deg, #3b83f2 0%, #1658a0 100%);
    box-shadow: 0 4px 20px rgba(59, 131, 242, 0.4);
}

.link-nav-btn:hover svg {
    color: #ffffff;
}

.link-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.link-prev:hover svg {
    transform: translateX(-2px);
}

.link-next:hover svg {
    transform: translateX(2px);
}

/* 卡片切换动画 */
.link-card {
    position: relative;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    background: url("/static/project/img/index/20260331/link_bg.png") no-repeat center center;
    background-size: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 88, 160, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.link-card:hover::before {
    background: rgba(22, 88, 160, 0.15);
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 88, 160, 0.3);
    color: #ffffff;
}

.link-card span,
.link-card {
    position: relative;
    z-index: 2;
}

/* 滑动动画 */
@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-90px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(90px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(90px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-90px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.link-grid.anim-out-left .link-card {
    animation: slideOutLeft 0.3s ease forwards;
}

.link-grid.anim-in-right .link-card {
    animation: slideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.link-grid.anim-out-right .link-card {
    animation: slideOutRight 0.3s ease forwards;
}

.link-grid.anim-in-left .link-card {
    animation: slideInLeft 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

