@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');

:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-dark: #0e2f44;
    --accent: #e67e22;
    --accent-light: #f39c12;
    --green: #27ae60;
    --light: #f8f9fa;
    --lighter: #ffffff;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --gray-light: #ecf0f1;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.8;
    background: var(--lighter);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

.nav-brand-sub {
    font-size: 0.65rem;
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(26, 82, 118, 0.06);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    background: none;
    border: none;
}

.hamburger:hover {
    background: var(--gray-light);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
}

/* ========== PAGE HERO ========== */
.article-hero {
    padding-top: 76px;
    position: relative;
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
}

.article-hero-image .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 40%, #1a5276 70%, #1e6a94 100%);
}

.article-hero-image .img-placeholder .ph-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.article-hero-image .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    z-index: 1;
}

/* If real image: */
.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-image .hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.article-hero-image .hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background: white;
}

.article-hero-image .hero-shapes .shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -80px;
    animation: float 20s ease-in-out infinite;
}

.article-hero-image .hero-shapes .shape:nth-child(2) {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -40px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ========== ARTICLE LAYOUT ========== */
.article-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

/* ========== MAIN CONTENT ========== */
.article-main {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.article-header {
    padding: 2.5rem 2.5rem 0;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.2rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.article-breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumb a:hover {
    color: var(--accent);
}

.article-breadcrumb .sep {
    color: var(--gray-light);
}

.article-breadcrumb .current {
    color: var(--gray);
    font-weight: 500;
}

.article-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.tag-type {
    background: rgba(26, 82, 118, 0.08);
    color: var(--primary);
}

.tag-category {
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
}

.tag-status-upcoming {
    background: var(--accent);
    color: white;
}

.tag-status-completed {
    background: var(--gray-light);
    color: var(--gray);
}

.tag-status-open {
    background: var(--green);
    color: white;
}

.tag-featured {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.article-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.35;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--gray-light);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray);
}

.meta-item .meta-icon {
    font-size: 1rem;
}

.meta-item strong {
    color: var(--dark);
    font-weight: 600;
}

/* ========== THUMB NOTE ========== */
.article-thumb-note {
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, #f0f7fc, #e8f2f8);
    border-left: 4px solid var(--primary-light);
    margin: 0;
}

.article-thumb-note p {
    color: var(--primary-dark);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.8;
    font-style: italic;
}

/* ========== ARTICLE CONTENT ========== */
.article-content {
    padding: 2rem 2.5rem 2.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    line-height: 1.4;
    position: relative;
    padding-left: 16px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-light), var(--accent));
    border-radius: 2px;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.8rem;
    line-height: 1.4;
}

.article-content p {
    color: #444;
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 1.2rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.article-content li {
    color: #444;
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 0.4rem;
}

.article-content blockquote {
    background: var(--light);
    border-left: 4px solid var(--accent);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p {
    color: var(--dark);
    font-style: italic;
    margin-bottom: 0;
}

.article-content .content-image {
    width: 100%;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-content .content-image .img-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius);
}

.article-content .content-image .img-placeholder .ph-icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

.content-image-caption {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 0.5rem;
    font-style: italic;
}

.article-content .highlight-box {
    background: linear-gradient(135deg, #fef9f0, #fdf3e3);
    border: 1px solid rgba(230, 126, 34, 0.15);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.highlight-box ul {
    margin-bottom: 0;
}

.highlight-box li {
    font-size: 0.92rem;
}

/* ========== GALLERY STRIP ========== */
.article-gallery {
    padding: 0 2.5rem 2rem;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.gallery-item {
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

.gallery-item .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.gallery-item:hover::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
}

/* ========== ARTICLE FOOTER ========== */
.article-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    border-top: 1px solid var(--gray-light);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-share-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
}

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

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.fb {
    background: #1877f2;
    color: white;
}

.share-btn.wa {
    background: #25d366;
    color: white;
}

.share-btn.tw {
    background: #1da1f2;
    color: white;
}

.share-btn.link {
    background: var(--gray-light);
    color: var(--dark);
}

.share-btn.link:hover {
    background: var(--primary);
    color: white;
}

.copy-feedback {
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
}

/* ========== ARTICLE NAV ========== */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem 2.5rem;
    border-top: 1px solid var(--gray-light);
}

.article-nav-item {
    padding: 1.2rem;
    border-radius: 10px;
    background: var(--light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article-nav-item:hover {
    background: rgba(26, 82, 118, 0.06);
    transform: translateY(-2px);
}

.article-nav-item .nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-nav-item .nav-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
}

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

/* ========== SIDEBAR ========== */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-card-header {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.sidebar-card-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-body {
    padding: 1.5rem;
}

/* Event Details Sidebar */
.event-detail-list {
    list-style: none;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.event-detail-item:last-child {
    border-bottom: none;
}

.event-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.event-detail-text {
    flex: 1;
}

.event-detail-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.event-detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

/* CTA Sidebar */
.sidebar-cta {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #fef9f0, #fdf3e3);
}

.sidebar-cta .cta-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.sidebar-cta h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* Status Badge in Sidebar */
.sidebar-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sidebar-status .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.status-upcoming {
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
}

.status-upcoming .pulse {
    background: var(--accent);
}

.status-open {
    background: rgba(39, 174, 96, 0.1);
    color: var(--green);
}

.status-open .pulse {
    background: var(--green);
}

.status-completed {
    background: var(--gray-light);
    color: var(--gray);
}

.status-completed .pulse {
    background: var(--gray);
    animation: none;
}

/* Related Events */
.related-event-item {
    display: flex;
    gap: 12px;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.related-event-item:last-child {
    border-bottom: none;
}

.related-event-item:hover {
    padding-left: 4px;
}

.related-event-thumb {
    width: 70px;
    height: 56px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.related-event-thumb .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.related-event-info {
    flex: 1;
}

.related-event-info .re-date {
    font-size: 0.72rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 2px;
}

.related-event-info .re-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
    transition: var(--transition);
}

.related-event-item:hover .re-title {
    color: var(--primary-light);
}

/* Back link */
.back-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 8px;
}

.back-link:hover {
    background: rgba(26, 82, 118, 0.06);
    color: var(--primary);
    gap: 10px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.btn-green {
    background: var(--green);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    width: 100%;
}

.btn-green:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(26, 82, 118, 0.06);
    color: var(--primary);
    border: none;
    width: 100%;
}

.btn-ghost:hover {
    background: rgba(26, 82, 118, 0.12);
}

/* ========== RELATED SECTION (FULL WIDTH) ========== */
.related-full-section {
    padding: 4rem 2rem;
    background: var(--light);
}

.related-full-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-full-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.related-full-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.related-full-header .section-label::before,
.related-full-header .section-label::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--primary-light);
    opacity: 0.5;
}

.related-full-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.related-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-full-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.related-full-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.related-full-card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.related-full-card-image .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.related-full-card-image .img-placeholder .ph-icon {
    font-size: 2.2rem;
    opacity: 0.6;
}

.related-full-card-image .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.related-full-card-body {
    padding: 1.3rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-full-card-body .card-date {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.related-full-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-full-card-body p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    flex: 1;
}

.bg-red {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.bg-green {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.bg-blue {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.bg-teal {
    background: linear-gradient(135deg, #16a085, #1abc9c);
}

.bg-purple {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.bg-navy {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.bg-orange {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 800px;
    max-height: 80vh;
    border-radius: var(--radius);
    overflow: hidden;
}

.lightbox-content .img-placeholder {
    width: 600px;
    height: 400px;
    max-width: 80vw;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== FOOTER ========== */
.footer {
    background: #0d1b2a;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.footer-brand .footer-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1rem;
}

.footer-brand .footer-logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 0.88rem;
}

.contact-item .ci-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 500;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 2rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        gap: 0.3rem;
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .article-wrapper {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .article-sidebar {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .article-hero-image {
        height: 320px;
    }

    .article-header {
        padding: 2rem 1.5rem 0;
    }

    .article-thumb-note {
        padding: 1.2rem 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-gallery {
        padding: 0 1.5rem 1.5rem;
    }

    .article-footer {
        padding: 1.2rem 1.5rem 1.5rem;
    }

    .article-nav {
        padding: 1.5rem;
        grid-template-columns: 1fr;
    }

    .article-wrapper {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .nav-brand-name {
        font-size: 0.9rem;
    }

    .nav-brand-sub {
        display: none;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .gallery-item {
        height: 100px;
    }

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

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .article-wrapper {
        padding: 0 0.8rem;
    }

    .article-meta {
        gap: 0.8rem;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}