/* ============================================
   About Page — Specific Styles
   ============================================ */

/* ── Story Page Container ── */
.story-page-container {
    padding: 60px 0 100px;
    background: #fff;
}

.breadcrumb-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 0.875rem;
}

.breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Story Header ── */
.story-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.story-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.story-subtitle {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-weight: 500;
}

.story-meta {
    color: #888;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* ── Story Hero Image ── */
.story-hero-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Story Body ── */
.story-body {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.story-section {
    margin-bottom: 60px;
}

.section-number-title {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    display: block;
}

.section-content p {
    margin-bottom: 25px;
}

/* ── Infographic Box ── */
.infographic-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border-left: 6px solid var(--primary-orange);
}

.infographic-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* ── Partner List ── */
.list-unstyled li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.list-unstyled li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* ── Honor Item (inline style from about.html) ── */
.honor-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s;
}

.honor-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-orange);
}

.honor-icon {
    color: #d4af37;
    font-size: 1.5rem;
    margin-top: 3px;
}

.honor-text {
    font-weight: 500;
    color: #333;
}

/* ── Honor Timeline (Hall of Fame) ── */
.honor-timeline {
    position: relative;
    padding-left: 50px;
    border-left: 2px solid #f2f2f2;
    margin-left: 25px;
}

.year-block {
    position: relative;
    margin-bottom: 60px;
}

.year-label {
    position: absolute;
    left: -74px;
    top: 0;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 3px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--dark-blue);
    z-index: 5;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.honor-premium-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    max-width: 1100px;
}

.honor-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.honor-spotlight-img {
    height: 480px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.8s;
}

.honor-premium-card:hover .honor-spotlight-img {
    transform: scale(1.05);
}

.honor-card-body {
    padding: 40px;
}

.honor-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    margin-bottom: 15px;
    display: block;
}

.honor-item-row {
    background: #fdfdfd;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #f5f5f5;
    transition: all 0.3s;
    text-decoration: none !important;
}

.honor-item-row:hover {
    background: #fff;
    border-color: #d4af37;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
}

.honor-item-row i {
    color: #d4af37;
    font-size: 1.75rem;
}

.honor-name {
    font-weight: 600;
    color: #333;
    font-size: 1.125rem;
    line-height: 1.5;
}

/* ── Distinct Section Styling ── */
.moe-section {
    background: #f0f7ff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    border: 1px solid rgba(0, 51, 102, 0.05);
}

.moe-label {
    background: var(--dark-blue);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 1.125rem;
    display: inline-block;
    margin-bottom: 20px;
}

.national-section {
    background: #fff9f0;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    border: 1px solid rgba(255, 140, 0, 0.05);
}

.national-label {
    background: var(--primary-orange);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 1.125rem;
    display: inline-block;
    margin-bottom: 20px;
}

.moe-section .section-number-title {
    border-bottom: 2px solid rgba(0, 51, 102, 0.1);
}

.national-section .section-number-title {
    border-bottom: 2px solid rgba(255, 140, 0, 0.1);
}

.story-body {
    max-width: 1200px; /* Widened further for the project sections */
}

.project-detail-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    scroll-margin-top: 100px; /* Space for the sticky navbar */
}

.project-detail-card:target {
    border: 2px solid var(--primary-orange) !important;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.25) !important;
    background-color: #fffdfa !important;
    transform: scale(1.01);
}

.project-detail-card:target .section-number-title {
    color: var(--primary-orange);
}

.project-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.moe-section .project-detail-card {
    border-left: 4px solid #5d9cec; /* Softer Blue */
}

.national-section .project-detail-card {
    border-left: 4px solid #fdb45e; /* Softer Gold/Orange */
}

.project-detail-card .section-number-title {
    font-size: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .moe-section, .national-section {
        padding: 20px 15px;
    }
    .project-detail-card {
        padding: 20px;
    }
    .story-title {
        font-size: 1.75rem;
    }
    .story-subtitle {
        font-size: 1.25rem;
    }
    .section-number-title {
        font-size: 1.375rem;
    }
    .story-body {
        font-size: 1.125rem;
    }
}

/* ── Project Action Buttons ── */
.project-action-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.project-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    top: 0;
}

.project-action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    filter: brightness(1.08);
    color: #fff;
}

.project-action-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    filter: brightness(0.95);
}

/* 活動成果 — 琥珀橙 */
.project-action-btn--activity {
    background: linear-gradient(135deg, #e07b2a 0%, #c85e0a 100%);
    box-shadow: 0 4px 14px rgba(200, 94, 10, 0.35);
}
.project-action-btn--activity:hover {
    box-shadow: 0 8px 24px rgba(200, 94, 10, 0.4);
}

/* 媒體報導 — 青藍 */
.project-action-btn--report {
    background: linear-gradient(135deg, #0891b2 0%, #0e6e8c 100%);
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
}
.project-action-btn--report:hover {
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.4);
}

/* 照片花絮 — 紫羅蘭 */
.project-action-btn--pic {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.project-action-btn--pic:hover {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

@media (max-width: 576px) {
    .project-action-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .project-action-btn {
        max-width: 100%;
    }
}
