/* 
   MASTERPIECE PREMIUM BLOG - "THE MODERN JOURNAL" OVERLAY
   Focus: Asymmetrical magazine grid and editorial content styling.
   Requires: masterpiece-main.css
*/

/* JOURNAL OVERRIDES & SPECIFIC TOKENS */
:root {
    --journal-accent: rgba(255, 184, 28, 0.1);
}

/* ASYMMETRICAL MAGAZINE GRID */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.magazine-item {
    grid-column: span 12;
}

.magazine-item.featured {
    grid-column: span 12;
    margin-bottom: 100px;
}

.magazine-item.split {
    grid-column: span 6;
}

@media (max-width: 992px) {
    .magazine-item.split {
        grid-column: span 12;
    }
}

/* EDITORIAL TYPOGRAPHY */
.drop-cap::first-letter {
    font-family: 'Cinzel', serif;
    float: left;
    font-size: 75px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
    color: var(--gold-primary);
}

.editorial-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--gold-primary), transparent);
    margin: 40px 0;
    opacity: 0.3;
}

/* JOURNAL LAYOUT - FLEX WRAPPER */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 40px;
}

@media (max-width: 1200px) {
    .blog-container {
        flex-direction: column;
        padding: 0 20px;
    }
}

.blog-feed {
    flex: 2;
}

.blog-sidebar {
    flex: 1;
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* PREMIUM ARTICLES */
.amazing-post {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 184, 28, 0.05);
    padding: 50px;
    margin-bottom: 80px;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
}

.amazing-post:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 184, 28, 0.2);
    transform: translateY(-5px);
}

.post-meta {
    font-family: 'Marcellus', serif;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    opacity: 0.8;
}

.post-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.3;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-content-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 184, 28, 0.1);
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-cream);
    opacity: 0.7;
    margin-bottom: 30px;
    column-count: 2;
    column-gap: 40px;
}

@media (max-width: 768px) {
    .post-excerpt {
        column-count: 1;
    }
}

/* STORIES BAR */
.stories-bar {
    padding: 60px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 184, 28, 0.05);
}

.stories-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 0;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 90px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.story-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gold-primary);
    position: relative;
}

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #222;
    border: 3px solid var(--night-brown);
    object-fit: cover;
}

/* SIDEBAR WIDGETS */
.sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 184, 28, 0.05);
}

.widget-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    margin-bottom: 25px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 184, 28, 0.1);
    padding-bottom: 15px;
}

/* ACTION BUTTONS */
.post-actions {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 184, 28, 0.1);
    padding-top: 20px;
}

.action-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gold-primary);
    opacity: 0.6;
}

.action-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* BLOG ADMIN PANEL */
.blog-admin-panel {
    background: rgba(255, 184, 28, 0.03);
    padding: 40px;
    border: 1px dashed rgba(255, 184, 28, 0.2);
}

.blog-admin-btn {
    padding: 15px 40px;
    text-decoration: none;
    font-size: 11px;
}

/* STORY VIEWER MODAL */
#storyViewer {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
}

#storyViewer.show {
    display: flex;
}

.story-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.story-img {
    max-width: 100%;
    max-height: 85vh;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

/* LOGIN REVAMP SPECIFICS */
.login-card-revamp {
    text-align: center;
}

.login-card-revamp h2 {
    font-size: 24px;
    letter-spacing: 5px;
    margin-bottom: 40px;
}

/* PREMIUM LOGIN TRIGGER (Floating Button) */
.subtle-login-trigger {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(26, 17, 10, 0.9);
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 18px;
    cursor: pointer;
    z-index: 2500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.subtle-login-trigger:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--gold-primary);
    color: var(--night-brown);
    box-shadow: 0 0 20px rgba(255, 184, 28, 0.4);
}

.subtle-login-trigger::after {
    content: 'STAFF';
    position: absolute;
    left: 60px;
    background: var(--gold-primary);
    color: var(--night-brown);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    pointer-events: none;
}

.subtle-login-trigger:hover::after {
    opacity: 1;
    transform: translateX(0);
}