/* Honor Page Specific Styles */

.honor-banner {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.honor-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.honor-banner .container {
    position: relative;
    z-index: 1;
}

.honor-banner__content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.honor-banner__breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.honor-banner__breadcrumb a {
    color: #fff;
    transition: color 0.3s;
}

.honor-banner__breadcrumb a:hover {
    color: #EF7721;
}

.honor-banner__breadcrumb span {
    margin: 0 10px;
}

.honor-page {
    padding: 100px 0;
    background: #fcfcfc;
}

/* Section Header Styles (Unified with Contact/About) */
.honor-intro {
    max-width: 800px;
    margin-bottom: 60px;
}

.honor-section-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.honor-section-head__num {
    font-size: 48px;
    font-weight: 800;
    color: rgba(239, 119, 33, 0.1);
    line-height: 1;
    font-family: Arial, sans-serif;
}

.honor-section-head__title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    position: relative;
}

.honor-section-head__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: #EF7721;
}

.honor-intro__desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

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

.honor-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.honor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(239, 119, 33, 0.2);
}

.honor-card__img {
    position: relative;
    padding-top: 140%; /* Vertical certificate ratio */
    overflow: hidden;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.honor-card__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 20px; /* Padding for the certificate itself */
    transition: transform 0.5s;
}

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

.honor-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 119, 33, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    cursor: pointer;
}

.honor-card:hover .honor-card__overlay {
    opacity: 1;
}

.honor-card__info {
    padding: 24px;
    text-align: center;
}

.honor-card__info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s;
}

.honor-card:hover .honor-card__info h3 {
    color: #EF7721;
}

.honor-card__info p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}
