/* ─── News Hero ───────────────────────────────── */
.news-hero {
    padding: 140px 0 0;
    background: linear-gradient(135deg, #002B5B 0%, #004C8A 60%, #0F6EB4 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s;
}

.breadcrumb a:hover { color: var(--fju-yellow); }

.breadcrumb-sep {
    opacity: 0.4;
    font-size: 0.75rem;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.25s;
    margin-bottom: 28px;
}

.back-link:hover { color: var(--fju-yellow); }

/* Category pills */
.hero-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.hero-category .cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* News Title */
.news-hero h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
    line-height: 1.5;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

/* Key Stats Strip */
.hero-stats {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.hero-stat {
    flex: 1;
    padding: 16px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat:last-child { border-right: none; }

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.stat-value.highlight { color: #FEEAA4; }

/* ─── Layout ──────────────────────────────────── */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    padding: 60px 0 120px;
    align-items: start;
}

/* ─── Main Content ────────────────────────────── */
.detail-main {
    min-width: 0;
}

.content-block {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 24px;
}

.block-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--fju-blue);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--fju-yellow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-title .title-icon {
    font-size: 1.1rem;
}

/* Rich text news content (from admin editor) */
.news-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-main);
}

.news-content p + p { margin-top: 16px; }

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    font-family: 'Noto Serif TC', serif;
    color: var(--fju-blue);
    margin: 24px 0 12px;
    line-height: 1.5;
}

.news-content ul,
.news-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.news-content li + li { margin-top: 6px; }

.news-content a {
    color: var(--fju-blue);
    text-decoration: underline;
}

.news-content blockquote {
    border-left: 3px solid var(--fju-yellow);
    background: var(--primary-soft);
    padding: 12px 20px;
    margin: 16px 0;
    color: var(--text-muted);
}

.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.news-content table th,
.news-content table td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    text-align: left;
}

.news-content-empty {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 20px 0;
    text-align: center;
}

/* Attachment */
.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

.attachment-item:hover {
    border-color: var(--fju-blue);
    background: var(--primary-soft);
    color: var(--fju-blue);
}

.attachment-icon { font-size: 1.2rem; }

/* ─── Sidebar ─────────────────────────────────── */
.detail-sidebar {
    position: sticky;
    top: 120px;
}

.info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 76, 138, 0.06);
    margin-bottom: 20px;
}

.info-card-header {
    background: linear-gradient(135deg, #004C8A, #0F6EB4);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-card-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-hours-badge {
    background: var(--fju-yellow);
    color: #7A6200;
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.82rem;
}

.info-rows {
    padding: 8px 0;
}

.info-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.info-row:last-child { border-bottom: none; }

.info-row-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding-top: 2px;
}

.info-row-value {
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.5;
}

.info-row-value a {
    color: var(--fju-blue);
}

/* CTA Button */
.btn-register {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--fju-blue);
    color: white;
    text-align: center;
    font-family: 'Noto Serif TC', serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.05em;
    border-radius: 10px;
}

.btn-register:hover {
    background: var(--primary-dark);
}

.btn-register-wrap {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.reg-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Share card */
.share-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px;
}

.share-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

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

.share-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.share-btn:hover {
    background: var(--primary-soft);
    border-color: var(--fju-blue);
    color: var(--fju-blue);
}

/* ─── Related News ────────────────────────────── */
.related-section {
    padding: 80px 0 120px;
    background: var(--bg-light);
}

.related-header {
    margin-bottom: 40px;
}

.related-header h2 {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.related-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--fju-blue);
    box-shadow: 0 12px 30px rgba(0, 76, 138, 0.08);
}

.related-body {
    padding: 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-cat {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    align-self: flex-start;
}

.related-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 12px;
}

.related-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-hero h1 { font-size: 1.6rem; }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stat {
        flex: 1 0 45%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 24px 20px;
    }
}
