/*
 * 禹溪创投 - 页面样式
 * Page-specific Styles
 */

/* ============================================
   News Page Styles
   ============================================ */

/* News Categories */
.news-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.category-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.category-btn.active {
    color: var(--white);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* News List */
.news-page-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-list-item {
    display: flex;
    gap: 30px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-list-thumb {
    position: relative;
    width: 320px;
    min-height: 200px;
    flex-shrink: 0;
}

.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-thumb img {
    transform: scale(1.05);
}

.news-cat-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 4px;
}

.news-cat-tag.industry {
    background: var(--gold-color);
}

.news-list-content {
    flex: 1;
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.news-meta i {
    margin-right: 6px;
}

.news-list-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-list-title a:hover {
    color: var(--primary-color);
}

.news-list-summary {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gold-color);
    font-weight: 500;
}

.read-more:hover {
    color: var(--gold-dark);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn, .page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.page-btn:hover, .page-num:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-num.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.page-dots {
    color: var(--text-muted);
}

/* News Detail */
.page-header-compact {
    height: 150px;
    padding-top: 80px;
}

.page-header-compact .page-title {
    font-size: 1.5rem;
}

.news-detail-section {
    padding: 60px 0;
}

.news-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

.news-detail-main {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.news-detail-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.news-detail-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 20px;
}

.news-detail-meta {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-detail-meta i {
    margin-right: 8px;
    color: var(--gold-color);
}

.news-detail-cover {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-cover img {
    width: 100%;
    height: auto;
}

.news-detail-body {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-light);
}

.news-detail-body h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-body ul, .news-detail-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.news-detail-body li {
    margin-bottom: 12px;
    list-style: disc;
}

.news-detail-body ol li {
    list-style: decimal;
}

.news-detail-body blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: var(--bg-light);
    border-left: 4px solid var(--gold-color);
    border-radius: 0 8px 8px 0;
}

.news-detail-body blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
}

.news-detail-body blockquote cite {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-detail-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* News Share */
.news-detail-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.linkedin { background: #0077B5; }
.share-btn.twitter { background: #1DA1F2; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* News Navigation */
.news-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.news-nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-nav-item:hover {
    background: var(--primary-color);
}

.news-nav-item:hover .nav-label,
.news-nav-item:hover .nav-title {
    color: var(--white);
}

.news-nav-item.next {
    text-align: right;
}

.nav-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-title {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-nav-back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px 25px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-nav-back i {
    font-size: 1.25rem;
}

.news-nav-back:hover {
    color: var(--primary-color);
}

/* News Sidebar */
.news-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-color);
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-list li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.related-news-list li:last-child a {
    border-bottom: none;
}

.related-date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.related-title {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.related-news-list li a:hover .related-title {
    color: var(--primary-color);
}

.hot-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-news-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.hot-news-list li:last-child {
    border-bottom: none;
}

.hot-rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hot-news-list li:nth-child(1) .hot-rank { background: var(--gold-color); color: var(--white); }
.hot-news-list li:nth-child(2) .hot-rank { background: var(--gold-light); color: var(--white); }
.hot-news-list li:nth-child(3) .hot-rank { background: #d4c07a; color: var(--white); }

.hot-news-list li a {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.hot-news-list li a:hover {
    color: var(--primary-color);
}

.sidebar-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.sidebar-contact .widget-title {
    color: var(--white);
    border-bottom-color: var(--gold-color);
}

.sidebar-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.sidebar-contact p i {
    margin-right: 10px;
    color: var(--gold-color);
}

/* History Timeline Styles */
.history-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-color), var(--primary-color));
}

.history-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-year {
    flex-shrink: 0;
    width: 80px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-color);
    text-align: right;
    padding-right: 30px;
    position: relative;
}

.history-year::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 10px;
    width: 14px;
    height: 14px;
    background: var(--gold-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--gold-color);
}

.history-content {
    flex: 1;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--gold-color);
}

.history-content h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.history-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Culture Cards Styles */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.culture-card .culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.culture-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.culture-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .culture-card {
        padding: 30px 25px;
    }

    .culture-card .culture-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .culture-card {
        padding: 25px 20px;
    }

    .culture-card .culture-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .culture-card h3 {
        font-size: 1.1rem;
    }

    .culture-card p {
        font-size: 0.9rem;
    }
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 4px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

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

.team-avatar i {
    font-size: 3rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.team-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.team-card .team-role {
    color: var(--gold-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-card .team-bio {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Team Card Expandable */
.team-card {
    cursor: pointer;
    position: relative;
}

.team-card .team-bio {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.team-card.expanded .team-bio {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.team-card .expand-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--gold-color);
    transition: all 0.3s ease;
}

.team-card .expand-hint i {
    transition: transform 0.3s ease;
}

.team-card.expanded .expand-hint i {
    transform: rotate(180deg);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-card:hover .expand-hint {
    color: var(--primary-color);
}

/* Bio preview on non-expanded state */
.team-card .team-bio-preview {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-card.expanded .team-bio-preview {
    display: none;
}

/* History Timeline Responsive - Enhanced */
@media (max-width: 900px) {
    .history-timeline::before {
        left: 40px;
    }

    .history-item {
        padding-left: 70px;
    }

    .history-year {
        width: auto;
        font-size: 1.6rem;
    }

    .history-year::after {
        left: -36px;
    }
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 20px;
    }

    .history-item {
        flex-direction: column;
        gap: 15px;
        padding-left: 50px;
    }

    .history-year {
        width: auto;
        text-align: left;
        padding-right: 0;
        font-size: 1.5rem;
    }

    .history-year::after {
        left: -36px;
        right: auto;
    }

    .history-content {
        padding: 20px;
    }

    .history-content h4 {
        font-size: 1.05rem;
    }

    .history-content p {
        font-size: 0.9rem;
    }
}

/* App Download Button Hover */
.app-download-btn:hover {
    background: var(--gold-color) !important;
    transform: translateY(-2px);
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-info-section {
    background: var(--white);
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-intro h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-intro p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
}

.contact-card h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-card p a:hover {
    color: var(--primary-color);
}

.contact-card-sub {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
    margin-top: 5px;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-light);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-form-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form-info > p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-departments {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.department-item {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--gold-color);
}

.department-item h4 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.department-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
    width: 100%;
}

/* Map Section */
.map-section {
    background: var(--white);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    position: relative;
    height: 400px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95), rgba(26, 54, 93, 0.8));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.map-info i {
    font-size: 2rem;
    color: var(--gold-color);
}

.map-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.map-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Join Section */
.join-section {
    background: var(--bg-light);
}

.join-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.join-intro p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.join-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.benefit-item h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.job-openings h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.job-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.job-info h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.job-tags {
    display: flex;
    gap: 10px;
}

.job-tags span {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.job-contact {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.job-contact p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.job-contact a {
    color: var(--primary-color);
    font-weight: 500;
}

/* ============================================
   Enhanced Responsive Styles
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1024px) {
    /* News detail layout */
    .news-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-detail-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-widget {
        flex: 1;
        min-width: 280px;
    }

    /* Contact cards 2 columns */
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Contact form wrapper */
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Join benefits 2 columns */
    .join-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Team grid 2 columns on tablet */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .team-card {
        padding: 30px 20px;
    }

    .team-avatar {
        width: 110px;
        height: 110px;
    }

    /* News list thumb */
    .news-list-thumb {
        width: 280px;
    }
}

/* Tablet Portrait */
@media (max-width: 900px) {
    /* News list thumb smaller */
    .news-list-thumb {
        width: 240px;
        min-height: 180px;
    }

    .news-list-content {
        padding: 25px 25px 25px 0;
    }

    /* Contact form info */
    .contact-form-info h3 {
        font-size: 1.3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* News list vertical layout */
    .news-list-item {
        flex-direction: column;
    }

    .news-list-thumb {
        width: 100%;
        min-height: 200px;
    }

    .news-list-content {
        padding: 25px;
    }

    .news-list-title {
        font-size: 1.15rem;
    }

    .news-list-summary {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* News detail */
    .news-detail-main {
        padding: 25px;
    }

    .news-detail-title {
        font-size: 1.35rem;
    }

    .news-detail-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* News navigation */
    .news-nav {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-nav-item.next {
        text-align: left;
    }

    .news-nav-back {
        order: -1;
        flex-direction: row;
    }

    /* News sidebar */
    .news-detail-sidebar {
        flex-direction: column;
    }

    .sidebar-widget {
        min-width: auto;
    }

    /* Contact cards single column */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Contact departments */
    .contact-departments {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Contact form */
    .contact-form {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Map overlay */
    .map-overlay {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .map-info {
        flex-direction: column;
        gap: 8px;
    }

    .map-info i {
        font-size: 1.5rem;
    }

    /* Join benefits single column */
    .join-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        padding: 25px 20px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Team grid single column */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-card {
        padding: 30px 25px;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }

    .team-card h4 {
        font-size: 1.15rem;
    }

    /* Job items */
    .job-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .job-tags {
        justify-content: center;
        flex-wrap: wrap;
    }

    .job-item .btn {
        width: auto;
        min-width: 120px;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    /* Category buttons */
    .news-categories {
        gap: 10px;
        margin-bottom: 35px;
    }

    .category-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    /* News list */
    .news-list-thumb {
        min-height: 160px;
    }

    .news-list-content {
        padding: 20px;
    }

    .news-list-title {
        font-size: 1.05rem;
    }

    .news-meta {
        gap: 12px;
        font-size: 0.8rem;
    }

    .read-more {
        font-size: 0.85rem;
    }

    /* Pagination */
    .pagination {
        gap: 5px;
    }

    .page-btn, .page-num {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    /* Contact intro */
    .contact-intro h2 {
        font-size: 1.4rem;
    }

    .contact-intro p {
        font-size: 0.9rem;
    }

    /* Contact cards */
    .contact-card {
        padding: 25px 15px;
    }

    .contact-card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .contact-card h3 {
        font-size: 0.85rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    /* Form */
    .contact-form {
        padding: 20px 15px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    /* Map */
    .map-placeholder {
        height: 300px;
    }

    .map-info h4 {
        font-size: 1rem;
    }

    .map-info p {
        font-size: 0.85rem;
    }

    /* Join section */
    .join-intro p {
        font-size: 0.9rem;
    }

    .benefit-item h4 {
        font-size: 0.95rem;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }

    /* Team */
    .team-card {
        padding: 25px 20px;
    }

    .team-avatar {
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }

    .team-avatar i {
        font-size: 2.2rem;
    }

    .team-card h4 {
        font-size: 1.1rem;
    }

    .team-card .team-role {
        font-size: 0.85rem;
    }

    .team-card .team-bio {
        font-size: 0.8rem;
    }

    /* Job items */
    .job-info h4 {
        font-size: 0.95rem;
    }

    .job-tags span {
        padding: 3px 10px;
        font-size: 0.7rem;
    }

    .job-contact {
        padding: 20px 15px;
    }

    .job-contact p {
        font-size: 0.85rem;
    }

    /* History */
    .history-timeline::before {
        left: 15px;
    }

    .history-item {
        padding-left: 40px;
    }

    .history-year {
        font-size: 1.3rem;
    }

    .history-year::after {
        left: -31px;
        width: 12px;
        height: 12px;
    }

    .history-content {
        padding: 15px;
    }

    .history-content h4 {
        font-size: 1rem;
    }

    .history-content p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .category-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .news-list-content {
        padding: 18px;
    }

    .news-list-title {
        font-size: 1rem;
    }

    .page-btn, .page-num {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .contact-card {
        padding: 20px 12px;
    }

    .contact-form {
        padding: 18px 12px;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }

    .team-avatar i {
        font-size: 2rem;
    }

    .history-timeline::before {
        left: 12px;
    }

    .history-item {
        padding-left: 35px;
    }

    .history-year {
        font-size: 1.2rem;
    }
}
