/* ==========================================================
LITHE HISTORY PAGE
========================================================== */

.history-page{

    padding:160px 8% 120px;

    min-height:100vh;

}

.history-header{

    text-align:center;

    margin-bottom:80px;

}

.history-header .eyebrow{

    letter-spacing:8px;

    text-transform:uppercase;

    font-size:13px;

    color:var(--gold);

    margin-bottom:18px;

}

.history-header h1{

    font-size:64px;

    font-family:"Cormorant Garamond",serif;

    color:white;

}

/* ==========================================================
GRID
========================================================== */

.history-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));

    gap:30px;

    max-width:1400px;

    margin:auto;

}

/* ==========================================================
CARD
========================================================== */

.history-card{

    padding:35px 30px;

    background:rgba(255,255,255,.02);

    border:1px solid rgba(255,255,255,.06);

    cursor:pointer;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}

.history-card:hover{

    transform:translateY(-6px);

    border-color:rgba(199,168,74,.35);

    box-shadow:0 25px 50px rgba(0,0,0,.35);

}

.history-card .card-date{

    font-size:12px;

    letter-spacing:2px;

    text-transform:uppercase;

    color:#8d8d8d;

    margin-bottom:14px;

}

.history-card h3{

    font-size:26px;

    font-family:"Cormorant Garamond",serif;

    color:white;

    margin-bottom:10px;

    line-height:1.2;

}

.history-card .card-category{

    font-size:13px;

    letter-spacing:2px;

    text-transform:uppercase;

    color:var(--gold);

}

/* ==========================================================
EMPTY STATE
========================================================== */

.empty-state{

    text-align:center;

    color:var(--text);

    font-size:18px;

    margin-top:80px;

}

/* ==========================================================
MODAL
========================================================== */

.listing-modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    backdrop-filter:blur(10px);

    z-index:9999;

    justify-content:center;

    align-items:center;

    padding:40px;

}

.listing-modal.active{

    display:flex;

}

.modal-content{

    position:relative;

    max-width:700px;

    width:100%;

    max-height:85vh;

    overflow-y:auto;

    background:#0A0A0A;

    border:1px solid rgba(199,168,74,.25);

    padding:60px 50px;

    box-shadow:0 40px 90px rgba(0,0,0,.6);

}

.close-modal{

    position:absolute;

    top:20px;

    right:24px;

    background:none;

    border:none;

    color:var(--gold);

    font-size:22px;

    cursor:pointer;

    opacity:.6;

    transition:opacity .3s ease;

}

.close-modal:hover{

    opacity:1;

}

.modal-section{

    margin-bottom:28px;

}

.modal-section h4{

    font-size:12px;

    letter-spacing:3px;

    text-transform:uppercase;

    color:var(--gold);

    margin-bottom:8px;

}

.modal-section p{

    color:var(--text);

    font-size:15px;

    line-height:1.8;

    white-space:pre-wrap;

}

/* ==========================================================
RESPONSIVE
========================================================== */

@media(max-width:768px){

    .history-page{

        padding:130px 20px 80px;

    }

    .history-header h1{

        font-size:42px;

    }

    .modal-content{

        padding:40px 25px;

    }

}