﻿/* Extracted from views\story_list.php */

.story-container {
        padding: 60px 5%;
        background: #0b0b0e;
        min-height: 100vh;
    }
    .archive-header {
        text-align: center;
        margin-bottom: 80px;
    }
    .archive-header h1 {
        font-family: 'Cinzel', serif;
        font-size: 48px;
        color: #ffd700;
        letter-spacing: 5px;
        text-transform: uppercase;
        margin-bottom: 15px;
    }
    .archive-header p {
        color: #888;
        font-size: 18px;
        font-style: italic;
    }
    .story-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
        max-width: 1400px;
        margin: 0 auto;
    }
    .story-card {
        position: relative;
        height: 500px;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255,215,0,0.2);
        cursor: pointer;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        text-decoration: none;
    }
    .story-card:hover {
        transform: translateY(-15px) scale(1.02);
        border-color: #ffd700;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    .story-card-img {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: transform 0.8s ease;
    }
    .story-card:hover .story-card-img {
        transform: scale(1.1);
    }
    .story-card-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 40px;
        text-align: left;
    }
    .story-card .tribe-tag {
        font-size: 12px;
        color: #ffd700;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 10px;
        font-weight: bold;
    }
    .story-card h2 {
        font-family: 'Cinzel', serif;
        font-size: 28px;
        color: #fff;
        margin: 0;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .story-card .shorthand {
        color: #ccc;
        font-style: italic;
        margin-top: 5px;
        font-size: 16px;
    }
    .story-card .btn-read {
        margin-top: 25px;
        align-self: flex-start;
        padding: 8px 25px;
        background: rgba(255,215,0,0.1);
        border: 1px solid #ffd700;
        color: #ffd700;
        font-family: 'Cinzel', serif;
        font-size: 12px;
        border-radius: 4px;
        transition: 0.3s;
    }
    .story-card:hover .btn-read {
        background: #ffd700;
        color: #000;
    }
