body.staff-page-body {
    font-family: Arial, sans-serif !important;
    background-color: #f4f4f4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.staff-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../image/Container.png');
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin: 0;
}
.staff-hero-section h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.content-section {
    background-color: #ffffff;
    padding: 40px 20px;
}
.content-container {
    max-width: 1100px;
    margin: 0 auto;
}
.content-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.history-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 2rem;
    padding-left: 0;
    border: none;
}
.timeline-item {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.timeline-item:hover {
    background-color: #f0fff4;
    border-color: #cfe8cf;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.timeline-item:hover .timeline-year {
    background-color: #013912;
}
.timeline-year {
    align-self: flex-start;
    background-color: #888;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
}
.timeline-entry h3 {
    margin: 4px 0 8px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
}
.timeline-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 6px 0 8px 0;
    border: 1px solid #eee;
    display: none !important;
}
.timeline-caption {
    font-size: 0.9rem;
    color: #666;
    display: none !important;
}

.history-video-section {
    margin-top: 2rem;
}
.history-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 45%;
    height: 0;
}
.history-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.modal.open { display: flex; align-items: center; justify-content: center; }
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow: auto;
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: transparent;
}
.close-button:hover {
    color: #000;
}
#modalYear {
    background-color: #888;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 0;
}
#modalTitle {
    margin-top: 15px;
    font-size: 1.8rem;
}
#modalImage {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
}
#modalImage[src=""] {
    display: none;
}
#modalCaption:empty {
    display: none;
}
#modalCaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.about-nav {
    background-color: rgb(209, 209, 209);
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.about-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
}

.about-nav ul li {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
}

.about-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.about-nav ul li a:hover {
    background-color: rgb(163, 163, 163);
}

.about-nav ul li:nth-child(7) a {
    background-color: rgb(0, 95, 8);
    color: #ffffff;
}

.about-nav ul li:nth-child(7) a:hover {
    background-color: rgb(0, 59, 5);
}

@media (max-width: 768px) {
    .staff-hero-section {
        height: 45vh;
    }
    .staff-hero-section h1 {
        font-size: 2rem;
    }
    .about-nav {
        padding: 0.5rem 0;
    }
    .about-nav ul {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    .about-nav ul li a {
        padding: 0.75rem 1rem;
        width: 100vw;
        text-align: center;
    }
}