/* ===== LIVEMACAU - style.css ===== */

:root {
    /* Color System */
    --lm-red: #c8102e;
    --lm-red-dark: #a00d24;
    --lm-red-light: #e63950;
    --lm-green: #007a4d;
    --lm-green-dark: #005c3a;
    --lm-green-light: #00a86b;
    --lm-gold: #d4af37;
    --lm-gold-dark: #b8941f;
    --lm-gold-light: #e6c558;
    --lm-white: #ffffff;
    --lm-bg: #f8f9fa;
    --lm-text: #1a1a2e;
    --lm-text-light: #4a4a5e;
    --lm-muted: #6c757d;
    --lm-border: #e0e0e0;
    --lm-shadow: 0 2px 16px rgba(0,0,0,0.08);
    --lm-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --lm-radius: 12px;
    --lm-radius-sm: 8px;
    --lm-transition: all 0.3s ease;
    --lm-nav-height: 72px;
    --lm-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--lm-font);
    color: var(--lm-text);
    background: var(--lm-bg);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: var(--lm-red); transition: var(--lm-transition); }
a:hover { color: var(--lm-red-dark); }
img { max-width: 100%; height: auto; }

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--lm-red); color: white;
    padding: 8px 16px; z-index: 9999; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Top Bar */
.topbar {
    background: var(--lm-text); color: rgba(255,255,255,0.85);
    font-size: 0.85rem; padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left span { margin-right: 20px; }
.topbar-left i { color: var(--lm-gold); margin-right: 5px; }
.topbar-right a {
    color: rgba(255,255,255,0.85); margin-left: 15px; font-size: 0.9rem;
}
.topbar-right a:hover { color: var(--lm-gold); }

/* Navbar */
.sticky-navbar {
    background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 8px 0; transition: var(--lm-transition);
    position: sticky; top: 0; z-index: 1000;
}
.sticky-navbar.scrolled { padding: 5px 0; box-shadow: var(--lm-shadow); }
.navbar-brand { display: flex; align-items: center; gap: 10px; padding: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.25rem; color: var(--lm-red); font-weight: 700; letter-spacing: -0.5px; }
.brand-text small { font-size: 0.62rem; color: var(--lm-muted); max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar-nav .nav-link {
    color: var(--lm-text); font-weight: 600; font-size: 0.9rem;
    padding: 7px 13px !important; border-radius: var(--lm-radius-sm);
    transition: var(--lm-transition); position: relative;
}
.navbar-nav .nav-link:hover { color: var(--lm-red); background: rgba(200,16,46,0.06); }
.navbar-nav .nav-link.active { color: var(--lm-red); }
.navbar-nav .nav-link.active::after {
    content: ''; position: absolute; bottom: 2px; left: 13px; right: 13px;
    height: 3px; background: var(--lm-gold); border-radius: 2px;
}
.dropdown-toggle::after { margin-left: 5px; font-size: 0.7rem; }
.lm-dropdown {
    border: none; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow-hover);
    padding: 8px; min-width: 180px; margin-top: 6px;
}
.lm-dropdown .dropdown-item {
    border-radius: var(--lm-radius-sm); padding: 9px 14px; font-weight: 600;
    font-size: 0.88rem; color: var(--lm-text); transition: var(--lm-transition);
    display: flex; align-items: center; gap: 10px;
}
.lm-dropdown .dropdown-item i { color: var(--lm-muted); width: 16px; font-size: 0.9rem; }
.lm-dropdown .dropdown-item:hover { background: rgba(200,16,46,0.06); color: var(--lm-red); }
.lm-dropdown .dropdown-item:hover i { color: var(--lm-red); }
.lm-dropdown .dropdown-item.active { background: rgba(200,16,46,0.08); color: var(--lm-red); }
.lm-dropdown .dropdown-item.active i { color: var(--lm-red); }
.btn-join {
    background: linear-gradient(135deg, var(--lm-red), var(--lm-red-dark));
    color: white !important; font-weight: 600; padding: 8px 20px !important;
    border-radius: 50px; border: none; transition: var(--lm-transition);
    box-shadow: 0 4px 15px rgba(200,16,46,0.3); display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.88rem; white-space: nowrap;
}
.btn-join:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,16,46,0.4); color: white; }

/* General */
.section { padding: 70px 0; }
.content-card-img { width: 100%; border-radius: var(--lm-radius); object-fit: cover; max-height: 446px; }
.content-banner-img { width: 100%; border-radius: var(--lm-radius); object-fit: cover; max-height: 300px; margin-bottom: 0; box-shadow: var(--lm-shadow); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
    font-size: 2rem; font-weight: 700; color: var(--lm-text); margin-bottom: 12px;
    position: relative; display: inline-block;
}
.section-title h2::after {
    content: ''; display: block; width: 60px; height: 4px; background: var(--lm-gold);
    border-radius: 2px; margin: 12px auto 0;
}
.section-title p { color: var(--lm-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Buttons */
.btn-lm-red { background: var(--lm-red); color: white; border: none; padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: var(--lm-transition); }
.btn-lm-red:hover { background: var(--lm-red-dark); color: white; transform: translateY(-2px); }
.btn-lm-gold { background: var(--lm-gold); color: var(--lm-text); border: none; padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: var(--lm-transition); }
.btn-lm-gold:hover { background: var(--lm-gold-dark); color: white; transform: translateY(-2px); }
.btn-lm-outline { background: transparent; color: var(--lm-red); border: 2px solid var(--lm-red); padding: 10px 26px; border-radius: 50px; font-weight: 600; transition: var(--lm-transition); }
.btn-lm-outline:hover { background: var(--lm-red); color: white; }
.btn-lm-green { background: var(--lm-green); color: white; border: none; padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: var(--lm-transition); }
.btn-lm-green:hover { background: var(--lm-green-dark); color: white; transform: translateY(-2px); }

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(15,52,96,0.88) 100%),
        url('../images/pexels/pexels-photo-28939966.jpeg') center center / cover no-repeat;
    color: white; padding: 60px 0 50px; position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212,175,55,0.1));
}
.page-banner h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.page-banner .breadcrumb { margin-bottom: 0; background: transparent; }
.page-banner .breadcrumb a { color: var(--lm-gold); }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white; padding: 90px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(200,16,46,0.15), transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,122,77,0.15), transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.3); color: var(--lm-gold);
    padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 2.8rem; font-weight: 700; line-height: 1.25; margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--lm-gold); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stat-item .num { font-size: 2rem; font-weight: 700; color: var(--lm-gold); }
.hero-stat-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* Cards */
.lm-card {
    background: white; border-radius: var(--lm-radius); overflow: hidden;
    box-shadow: var(--lm-shadow); transition: var(--lm-transition);
    height: 100%; display: flex; flex-direction: column;
}
.lm-card:hover { transform: translateY(-6px); box-shadow: var(--lm-shadow-hover); }
.lm-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--lm-bg); }
.lm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.lm-card:hover .lm-card-img img { transform: scale(1.08); }
.lm-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.lm-card-category {
    display: inline-block; background: rgba(200,16,46,0.08); color: var(--lm-red);
    font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 50px;
    margin-bottom: 10px;
}
.lm-card-title { font-size: 1.1rem; font-weight: 700; color: var(--lm-text); margin-bottom: 8px; line-height: 1.4; }
.lm-card-title a { color: var(--lm-text); }
.lm-card-title a:hover { color: var(--lm-red); }
.lm-card-text { color: var(--lm-muted); font-size: 0.9rem; flex: 1; }
.lm-card-meta { display: flex; align-items: center; gap: 15px; margin-top: 15px; font-size: 0.8rem; color: var(--lm-muted); }
.lm-card-meta i { color: var(--lm-gold); margin-right: 4px; }
.lm-card-link { margin-top: 15px; font-weight: 600; font-size: 0.9rem; color: var(--lm-red); display: inline-flex; align-items: center; gap: 5px; }
.lm-card-link:hover { gap: 10px; }

/* About Section */
.about-section { background: white; }
.about-img { border-radius: var(--lm-radius); overflow: hidden; box-shadow: var(--lm-shadow); position: relative; }
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.about-img .experience-badge {
    position: absolute; bottom: 20px; left: 20px; background: var(--lm-gold);
    color: var(--lm-text); padding: 15px 25px; border-radius: var(--lm-radius-sm);
    text-align: center; font-weight: 700;
}
.about-img .experience-badge .num { font-size: 1.8rem; display: block; }
.about-img .experience-badge .text { font-size: 0.8rem; font-weight: 600; }
.about-content h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 16px; }
.about-content .subtitle { color: var(--lm-red); font-weight: 600; margin-bottom: 10px; }
.about-content p { color: var(--lm-text-light); margin-bottom: 16px; }
.about-features { list-style: none; padding: 0; margin: 20px 0; }
.about-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 500; }
.about-features li i { color: var(--lm-green); font-size: 1.2rem; }

/* Service Cards */
.service-card {
    background: white; border-radius: var(--lm-radius); padding: 30px 24px;
    text-align: center; box-shadow: var(--lm-shadow); transition: var(--lm-transition);
    height: 100%; border: 1px solid transparent;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--lm-gold); box-shadow: var(--lm-shadow-hover); }
.service-icon {
    width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 18px; font-size: 1.6rem; color: white;
}
.service-icon.red { background: linear-gradient(135deg, var(--lm-red), var(--lm-red-dark)); }
.service-icon.green { background: linear-gradient(135deg, var(--lm-green), var(--lm-green-dark)); }
.service-icon.gold { background: linear-gradient(135deg, var(--lm-gold), var(--lm-gold-dark)); }
.service-icon.blue { background: linear-gradient(135deg, #2196f3, #1976d2); }
.service-icon.purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.service-icon.teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.service-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--lm-muted); font-size: 0.9rem; margin: 0; }

/* Agenda / Kegiatan */
.agenda-item {
    display: flex; gap: 20px; background: white; border-radius: var(--lm-radius);
    padding: 20px; box-shadow: var(--lm-shadow); transition: var(--lm-transition);
    margin-bottom: 20px; align-items: center;
}
.agenda-item:hover { box-shadow: var(--lm-shadow-hover); transform: translateX(5px); }
.agenda-date {
    min-width: 70px; text-align: center; background: linear-gradient(135deg, var(--lm-red), var(--lm-red-dark));
    color: white; border-radius: var(--lm-radius-sm); padding: 12px 8px; flex-shrink: 0;
}
.agenda-date .day { font-size: 1.5rem; font-weight: 700; display: block; line-height: 1; }
.agenda-date .month { font-size: 0.75rem; text-transform: uppercase; }
.agenda-content h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; }
.agenda-content .meta { font-size: 0.85rem; color: var(--lm-muted); }
.agenda-content .meta i { color: var(--lm-gold); margin-right: 4px; }
.agenda-status {
    font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; text-transform: uppercase;
}
.agenda-status.published { background: rgba(0,122,77,0.1); color: var(--lm-green); }
.agenda-status.completed { background: rgba(108,117,125,0.15); color: var(--lm-muted); }

/* Pengurus Cards */
.pengurus-card {
    background: white; border-radius: var(--lm-radius); overflow: hidden;
    box-shadow: var(--lm-shadow); transition: var(--lm-transition); text-align: center;
}
.pengurus-card:hover { transform: translateY(-6px); box-shadow: var(--lm-shadow-hover); }
.pengurus-avatar {
    width: 120px; height: 120px; border-radius: 50%; margin: 25px auto 15px;
    overflow: hidden; border: 4px solid var(--lm-gold);
}
.pengurus-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pengurus-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.pengurus-card .jabatan { color: var(--lm-red); font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.pengurus-card .wilayah { color: var(--lm-muted); font-size: 0.8rem; margin-bottom: 20px; }

/* Wilayah Cards */
.wilayah-card {
    background: white; border-radius: var(--lm-radius); overflow: hidden;
    box-shadow: var(--lm-shadow); transition: var(--lm-transition); height: 100%;
}
.wilayah-card:hover { transform: translateY(-6px); box-shadow: var(--lm-shadow-hover); }
.wilayah-card .wilayah-header {
    background: linear-gradient(135deg, var(--lm-green), var(--lm-green-dark));
    color: white; padding: 20px; text-align: center;
}
.wilayah-card .wilayah-header h5 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.wilayah-card .wilayah-body { padding: 20px; }
.wilayah-card .wilayah-body p { font-size: 0.85rem; color: var(--lm-muted); margin-bottom: 10px; }
.wilayah-card .wilayah-body p i { color: var(--lm-gold); width: 18px; }

/* Galeri */
.galeri-item {
    position: relative; border-radius: var(--lm-radius); overflow: hidden; cursor: pointer;
    box-shadow: var(--lm-shadow); aspect-ratio: 4/3;
}
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galeri-item:hover img { transform: scale(1.1); }
.galeri-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex; align-items: flex-end; padding: 15px; opacity: 0; transition: var(--lm-transition);
}
.galeri-item:hover .galeri-overlay { opacity: 1; }
.galeri-overlay h6 { color: white; margin: 0; font-size: 0.9rem; }
.galeri-overlay .cat { color: var(--lm-gold); font-size: 0.75rem; }
.galeri-filter .btn-filter {
    background: white; border: 1px solid var(--lm-border); color: var(--lm-text);
    padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    transition: var(--lm-transition); margin: 0 4px 8px;
}
.galeri-filter .btn-filter.active, .galeri-filter .btn-filter:hover {
    background: var(--lm-red); color: white; border-color: var(--lm-red);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--lm-red) 0%, var(--lm-red-dark) 100%);
    color: white; padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path fill="rgba(255,255,255,0.03)" d="M30 0l30 30-30 30L0 30z"/></svg>');
}
.cta-section h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; position: relative; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 25px; position: relative; }

/* Footer */
.site-footer {
    background: var(--lm-text); color: rgba(255,255,255,0.8); padding: 60px 0 0;
}
.footer-brand h4 { color: white; font-size: 1.3rem; margin: 15px 0 5px; }
.footer-brand small { color: var(--lm-gold); font-size: 0.78rem; }
.footer-logohk { width: 356px; height: auto; border-radius: 10px; }
.footer-desc { margin: 15px 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: white; transition: var(--lm-transition);
}
.footer-social a:hover { background: var(--lm-red); transform: translateY(-3px); }
.site-footer h5 { color: white; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.site-footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background: var(--lm-gold); border-radius: 2px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--lm-gold); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-contact li i { color: var(--lm-gold); margin-top: 4px; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; }

/* Back to top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px;
    background: var(--lm-red); color: white; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; opacity: 0; visibility: hidden;
    transition: var(--lm-transition); z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--lm-red-dark); color: white; transform: translateY(-3px); }

/* Page content */
.content-section { padding: 50px 0; background: var(--lm-bg); }
.content-card { background: white; border-radius: var(--lm-radius); padding: 40px; box-shadow: var(--lm-shadow); }
.content-card h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; color: var(--lm-text); }
.content-card h3 { font-size: 1.25rem; font-weight: 700; margin: 25px 0 12px; color: var(--lm-red); }
.content-card p { color: var(--lm-text-light); margin-bottom: 16px; }
.content-card ul, .content-card ol { margin-bottom: 16px; padding-left: 20px; }
.content-card li { margin-bottom: 8px; color: var(--lm-text-light); }

/* Sidebar */
.sidebar-widget {
    background: white; border-radius: var(--lm-radius); padding: 24px;
    box-shadow: var(--lm-shadow); margin-bottom: 24px;
}
.sidebar-widget h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--lm-gold); }
.sidebar-news-item { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--lm-border); }
.sidebar-news-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-news-item img { width: 70px; height: 70px; border-radius: var(--lm-radius-sm); object-fit: cover; flex-shrink: 0; }
.sidebar-news-item h6 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.sidebar-news-item h6 a { color: var(--lm-text); }
.sidebar-news-item h6 a:hover { color: var(--lm-red); }
.sidebar-news-item .date { font-size: 0.75rem; color: var(--lm-muted); }

/* Article detail */
.article-detail { background: white; border-radius: var(--lm-radius); overflow: hidden; box-shadow: var(--lm-shadow); }
.article-header { padding: 30px 40px 0; }
.article-header h1 { font-size: 1.9rem; font-weight: 700; margin-bottom: 15px; line-height: 1.3; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--lm-muted); font-size: 0.9rem; margin-bottom: 20px; }
.article-meta i { color: var(--lm-gold); margin-right: 5px; }
.article-img { width: 100%; height: 400px; object-fit: cover; }
.article-body { padding: 30px 40px 40px; }
.article-body p { margin-bottom: 18px; font-size: 1.05rem; line-height: 1.8; color: var(--lm-text-light); }
.article-share { display: flex; align-items: center; gap: 10px; padding: 20px 40px; border-top: 1px solid var(--lm-border); }
.article-share span { font-weight: 600; }
.article-share a {
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: white; font-size: 0.9rem;
}
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }
.share-li { background: #0a66c2; }

/* Filter buttons */
.filter-btn {
    background: white; border: 1px solid var(--lm-border); color: var(--lm-text);
    padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    transition: var(--lm-transition); margin: 0 4px 8px; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--lm-red); color: white; border-color: var(--lm-red); }

/* Search box */
.search-box { position: relative; }
.search-box input { padding: 12px 50px 12px 20px; border-radius: 50px; border: 1px solid var(--lm-border); font-size: 0.95rem; }
.search-box input:focus { border-color: var(--lm-red); box-shadow: 0 0 0 3px rgba(200,16,46,0.1); outline: none; }
.search-box button {
    position: absolute; right: 5px; top: 5px; bottom: 5px; border: none;
    background: var(--lm-red); color: white; border-radius: 50px; padding: 0 20px; transition: var(--lm-transition);
}
.search-box button:hover { background: var(--lm-red-dark); }

/* Forms */
.form-control, .form-select {
    border-radius: var(--lm-radius-sm); border: 1px solid var(--lm-border);
    padding: 12px 16px; font-size: 0.95rem; transition: var(--lm-transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--lm-red); box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.required { color: var(--lm-red); }

/* Alert */
.alert-lm { border-radius: var(--lm-radius-sm); border: none; padding: 15px 20px; }
.alert-success-lm { background: rgba(0,122,77,0.1); color: var(--lm-green-dark); }
.alert-danger-lm { background: rgba(200,16,46,0.08); color: var(--lm-red-dark); }

/* Org Chart */
.org-chart { text-align: center; padding: 20px 0; }
.org-level { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; position: relative; }
.org-level::after { content: ''; position: absolute; bottom: -20px; left: 50%; width: 2px; height: 20px; background: var(--lm-gold); }
.org-level:last-child::after { display: none; }
.org-node {
    background: white; border: 2px solid var(--lm-gold); border-radius: var(--lm-radius);
    padding: 15px 25px; min-width: 200px; box-shadow: var(--lm-shadow);
}
.org-node h5 { margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--lm-red); }
.org-node small { color: var(--lm-muted); }

/* Pagination */
.pagination .page-link {
    border: none; color: var(--lm-text); margin: 0 3px; border-radius: var(--lm-radius-sm);
    padding: 10px 16px; font-weight: 600; transition: var(--lm-transition);
}
.pagination .page-link:hover { background: var(--lm-red); color: white; }
.pagination .page-item.active .page-link { background: var(--lm-red); color: white; }
.pagination .page-item.disabled .page-link { color: var(--lm-muted); }

/* 404 */
.error-404 { text-align: center; padding: 80px 0; }
.error-404 .num { font-size: 6rem; font-weight: 700; color: var(--lm-red); line-height: 1; }
.error-404 h2 { font-size: 1.5rem; margin: 20px 0 10px; }
.error-404 p { color: var(--lm-muted); margin-bottom: 25px; }

/* Admin */
.admin-header {
    background: var(--lm-text); color: white; padding: 15px 0;
}
.admin-sidebar {
    background: white; min-height: calc(100vh - 60px); box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    padding: 20px 0;
}
.admin-menu { list-style: none; padding: 0; }
.admin-menu li a {
    display: flex; align-items: center; gap: 12px; padding: 12px 24px; color: var(--lm-text);
    font-weight: 600; font-size: 0.9rem; transition: var(--lm-transition); border-left: 3px solid transparent;
}
.admin-menu li a:hover, .admin-menu li a.active { background: rgba(200,16,46,0.05); color: var(--lm-red); border-left-color: var(--lm-red); }
.admin-menu li a i { width: 20px; }
.admin-content { padding: 30px; background: var(--lm-bg); min-height: calc(100vh - 60px); }
.stat-card {
    background: white; border-radius: var(--lm-radius); padding: 24px; box-shadow: var(--lm-shadow);
    display: flex; align-items: center; gap: 20px; transition: var(--lm-transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow-hover); }
.stat-icon { width: 55px; height: 55px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: white; }
.stat-info h3 { font-size: 1.8rem; font-weight: 700; margin: 0; }
.stat-info p { color: var(--lm-muted); margin: 0; font-size: 0.85rem; }
.admin-table { background: white; border-radius: var(--lm-radius); overflow: hidden; box-shadow: var(--lm-shadow); }
.admin-table table { margin: 0; }
.admin-table table thead { background: var(--lm-text); color: white; }
.admin-table table thead th { padding: 15px; font-size: 0.85rem; font-weight: 600; border: none; }
.admin-table table tbody td { padding: 12px 15px; vertical-align: middle; font-size: 0.9rem; }
.admin-table table tbody tr:hover { background: rgba(0,0,0,0.02); }
.badge-status { padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-active { background: rgba(0,122,77,0.1); color: var(--lm-green); }
.badge-pending { background: rgba(212,175,55,0.15); color: var(--lm-gold-dark); }
.badge-inactive { background: rgba(108,117,125,0.15); color: var(--lm-muted); }
.admin-login {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--lm-text), #16213e);
    padding: 20px;
}
.admin-login-card {
    background: white; border-radius: var(--lm-radius); padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-width: 420px; width: 100%;
}
.admin-login-logo { text-align: center; margin-bottom: 25px; }
.admin-login-logo img { width: 70px; height: 70px; border-radius: 16px; }
.admin-login-logo h4 { color: var(--lm-red); margin-top: 12px; font-weight: 700; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--lm-radius); }
.lightbox-close {
    position: absolute; top: 20px; right: 30px; color: white; font-size: 2rem;
    cursor: pointer; transition: var(--lm-transition);
}
.lightbox-close:hover { color: var(--lm-red); transform: scale(1.2); }
.lightbox-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: white; }

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse { background: white; padding: 15px; border-radius: var(--lm-radius); margin-top: 10px; box-shadow: var(--lm-shadow); }
    .navbar-nav .nav-link.active::after { display: none; }
    .hero h1 { font-size: 2.1rem; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.6rem; }
    .brand-text small { display: none; }
    .btn-join { width: 100%; justify-content: center; margin-top: 5px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .brand-text small { font-size: 0.58rem; max-width: 180px; }
    .navbar-nav .nav-link { padding: 7px 10px !important; font-size: 0.85rem; }
    .brand-text strong { font-size: 1.15rem; }
}
@media (max-width: 576px) {
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { gap: 25px; }
    .hero-stat-item .num { font-size: 1.5rem; }
    .topbar { display: none; }
    .section-title h2 { font-size: 1.4rem; }
    .article-header, .article-body, .article-share { padding-left: 20px; padding-right: 20px; }
    .article-header h1 { font-size: 1.4rem; }
    .content-card { padding: 20px; }
    .cta-section h2 { font-size: 1.6rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
