/*!
 * hnhkszwlbsite v1.0.0 (https://wlb.yt43700.top/)
 * Copyright 2025 anndfine
 * Licensed under MIT (https://github.com/anndfine/hnhkszwlbsite/blob/main/LICENSE.md)
 */

.backgound-main {
    background-color: rgb(255, 253, 254);
}

.nav-link-text {
    display: block;
    /* color: #191a19; */
}

.carousel-overlay {
    background: rgba(0, 0, 0, 0.7);
    /* 黑色半透明 */
    z-index: 1;
    /* 在图片上方但在内容下方 */
}

.z-2 {
    z-index: 2;
    /* 确保内容在最上层 */
}

.fillscreen-img {
    min-height: 100vh;
    min-width: none;
}

.img-fillcontainer {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.img-fillcontainer>img {
    height: auto;
    width: 100%;
    max-width: none;
}

.img-max300px {
    max-height: 300px;
    /* 限制容器最大高度 */
    display: flex;
    /* 使用 flex 布局 */
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
}

.img-max300px>img {
    height: auto;
    width: 100%;
    max-width: none;
    object-fit: cover;
    /* 保持图片比例并覆盖容器 */
}

.mutedtext {
    color: #534b52;
}

.h5_5 {

    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;

}

/* 优化 */
hr {
    margin: 8px 0;
    color: inherit;
    background-color: currentColor;
    /* border: 0; */
    opacity: .25;
}

.bloder-1 {
    font-weight: bolder;
}

.bloder-2 {
    font-weight: 800;
}

.bloder-3 {
    font-weight: 500;
}

.bloder-4 {
    font-weight: 400;
}

.bloder-5 {
    font-weight: 300;
}

.h-45 {
    height: 45% !important;
}

/* 岗位 */

.job-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
    border-radius: 2px;
}

.job-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 1.5rem;
}

.job-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0;
    position: relative;
    transition: all 0.3s;
}

.job-tabs .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.job-tabs .nav-link.active {
    color: #0d6efd;
    background-color: transparent;
    border: none;
}

.job-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #0d6efd;
    border-radius: 2px 2px 0 0;
}

.job-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    background: #fff;
}

.job-card .card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(13, 110, 253, 0.03);
}

.job-card .job-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    color: #0d6efd;
}

.requirement-item {
    border-bottom: 1px dashed #e9ecef;
    padding: 0.75rem 0;
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-item .bi {
    color: #198754;
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.skill-badge {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-weight: 500;
    border-radius: 50px;
}

.stats-container {
    background-color: rgba(13, 110, 253, 0.03);
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d6efd;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .job-tabs .nav-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .job-card .job-title {
        font-size: 1.5rem;
    }
}

/* 活动实拍 */

:root {
    --primary-color: #3a86ff;
    --secondary-color: #ff006e;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.gallery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-header h2 {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background-color: var(--card-bg);
    border: none;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.card-info {
    padding: 20px;
    background: var(--card-bg);
    position: relative;
    z-index: 2;
}

.card-info h4 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.card-info p {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.badge-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.view-btn {
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    border: none;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.view-btn:hover {
    background: var(--primary-color);
    color: white;
}

.view-btn i {
    margin-right: 5px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.waterfall-grid {
    column-count: 3;
    column-gap: 30px;
}

.waterfall-item {
    break-inside: avoid;
    margin-bottom: 30px;
}

/* 大图预览模态框样式 */
.image-modal .modal-dialog {
    max-width: 95vw;
    max-height: 95vh;
    margin: 0 auto;
}

.image-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    background-color: transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.image-modal .modal-body {
    padding: 0;
    position: relative;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.image-modal .modal-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.img-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.img-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

.image-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 5;
}

.image-details h4 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.image-details p {
    margin-bottom: 0;
    opacity: 0.9;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    border: none;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    border: none;
    font-size: 1.5rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 992px) {
    .waterfall-grid {
        column-count: 2;
    }

    .image-modal .modal-dialog {
        max-width: 100vw;
        max-height: 100vh;
    }

    .image-modal .modal-img {
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .waterfall-grid {
        column-count: 1;
    }

    .gallery-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .image-modal .modal-img {
        max-height: 50vh;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .image-details {
        padding: 15px;
    }

    .image-details h4 {
        font-size: 1.2rem;
    }
}