
    /* --- NECTAR DESIGN SYSTEM --- */
    :root {
        --primary: #284469;
        --primary-deep: #1e3554;
        --accent: #FEC763;
        --academic-cream: #fdfdfb;
        --academic-border: #d4cfc3;
        --text-main: #1e3554;
        --text-muted: #475569;
        --white: #ffffff;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { background-color: var(--academic-cream); color: var(--text-main); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }

    /* NAVBAR GLASSMORPHISM */
    nav {
      background-color: #284469;
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      color: var(--white); padding: 0 5%; height: 75px;
      display: flex; justify-content: space-between; align-items: center;
      position: fixed; width: 100%; top: 0; z-index: 1000;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-brand { display: flex; align-items: center; gap: 14px; }
    .nav-logo { height: 64px; width: 64px; object-fit: contain; border-radius: 50%; border: 1.5px solid var(--accent); }
    .brand-text h1 { font-family: 'Montserrat', serif; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.5px; color: var(--white); }
    .brand-text p { font-size: 0.72rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
    .nav-links { display: flex; list-style: none; gap: 24px; align-items: center; }
    .nav-links a { color: #f1f5f9; text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
    .nav-links a:hover { color: var(--accent); }
    .nav-btn { background: transparent; border: 1px solid var(--accent) !important; color: var(--accent) !important; padding: 6px 16px; border-radius: 4px; font-weight: 600; }
    .nav-btn:hover { background: var(--accent); color: var(--primary) !important; }
    
    /* HAMBURGER */
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { width: 22px; height: 2px; background: white; }
    /* --- CONTAINER SINGLE COLUMN FEED --- */
    .container { max-width: 850px; margin: 120px auto 60px; padding: 0 20px; }

   
    /* Header Section */
    .container { max-width: 1200px; margin: 120px auto 60px; padding: 0 20px; }
    .academic-editorial-header { text-align: center; margin-bottom: 50px; }
    .academic-editorial-header h2 { font-family: 'Playfair Display', serif; color: var(--primary); font-size: 2.5rem; margin-bottom: 10px; }
    .editorial-subtitle { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
    .editorial-double-line { margin: 15px auto; width: 150px; }
    .line-thick { height: 3px; background-color: var(--primary); width: 100%; margin-bottom: 3px; }
    .line-thin { height: 1px; background-color: var(--accent); width: 100%; }

    /* Admin Form */
    .post-form { background: var(--white); border: 1px solid var(--academic-border); padding: 30px; border-radius: 10px; margin-bottom: 40px; display: none; }
    .post-form h3 { font-family: 'Playfair Display', serif; color: var(--primary); margin-bottom: 15px; }
    .post-form input, .post-form select, .post-form textarea { width: 100%; padding: 12px; margin-top: 10px; border: 1px solid var(--academic-border); border-radius: 5px; font-family: 'Inter', sans-serif; }
    .btn-publish { background: var(--primary); color: white; border: none; padding: 12px 25px; border-radius: 5px; font-weight: 700; cursor: pointer; margin-top: 15px; transition: 0.3s; width: 100%; text-transform: uppercase; letter-spacing: 1px; }
    .btn-publish:hover { background: var(--primary-deep); color: var(--accent); }

    /* Flip Card Grid */
    .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
    .flipboard-card { perspective: 1000px; height: 400px; }
    .card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s; transform-style: preserve-3d; cursor: pointer; }
    .flipboard-card:hover .card-inner { transform: rotateY(180deg); }
    
    .card-front, .card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 10px; border: 1px solid var(--academic-border); overflow: hidden; }
    
    /* Front Card (The Photo) */
    .card-front { background: var(--white); display: flex; flex-direction: column; }
    .gallery-img-wrapper { height: 75%; width: 100%; overflow: hidden; background: #eee; position: relative; }
    .gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
    .volume-tag { position: absolute; top: 15px; right: 15px; background: var(--primary); color: var(--accent); padding: 5px 12px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; border: 1px solid var(--accent); }
    .card-front-content { padding: 15px; text-align: left; }
    .card-front-content h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--primary); }
    .flip-hint { font-size: 0.7rem; color: var(--accent); font-weight: 600; margin-top: 5px; }

    /* Back Card (Details) */
    .card-back { background: var(--primary); color: var(--white); transform: rotateY(180deg); padding: 30px; display: flex; flex-direction: column; justify-content: center; border: 2px solid var(--accent); }
    .card-back h3 { font-family: 'Playfair Display', serif; color: var(--accent); margin-bottom: 15px; }
    .card-back p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; color: #cbd5e1; }
    .gallery-meta { font-size: 0.75rem; border-top: 1px solid rgba(197, 160, 33, 0.3); padding-top: 15px; text-align: left; }
    .gallery-meta span { display: block; margin-bottom: 5px; }

    /* Admin Buttons */
    .actions { display: flex; gap: 10px; margin-top: 15px; }
    .act-btn { flex: 1; padding: 8px; font-size: 0.75rem; font-weight: 700; border: 1px solid var(--accent); cursor: pointer; background: transparent; color: var(--accent); border-radius: 4px; }
    .act-btn:hover { background: var(--accent); color: var(--primary); }

    /* Modal */
    .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 33, 71, 0.8); display: none; align-items: center; justify-content: center; z-index: 2000; }
    .modal-content { background: var(--white); padding: 30px; border-radius: 10px; width: 90%; max-width: 500px; }

    @media (max-width: 768px) { .nav-links { display: none; } .academic-editorial-header h2 { font-size: 1.8rem; } }
