/* SEARCH FORM */
.tlr-search-wrap{
    max-width: 1100px;
    margin: 0 auto 30px;
}
.tlr-search{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 0.8fr auto;
    gap:12px;
    margin-bottom:24px;
}
.tlr-search input{
    padding:14px 16px;
    border:1px solid #ddd;
    font-size:15px;
    border-radius:6px;
    background:#fff;
}
#tlr-search-btn{
    background:#b08b57;
    color:#fff;
    border:none;
    padding:14px 22px;
    cursor:pointer;
    font-weight:600;
    border-radius:6px;
}
#tlr-search-btn:hover{
    opacity:0.94;
}

/* SEARCH RESULTS */
.tlr-results-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}
.tlr-case-card{
    padding:20px;
    border:1px solid #e8e8e8;
    border-radius:8px;
    background:#fff;
}
.tlr-title{
    margin:0 0 8px;
    font-size:22px;
    line-height:1.3;
}
.tlr-title a{
    text-decoration:none;
    color:#1d1d1d;
    font-weight:600;
}
.tlr-title a:hover{
    text-decoration:underline;
}
.tlr-meta{
    font-size:13px;
    color:#777;
    margin-top:4px;
    margin-bottom:10px;
}
.tlr-snippet{
    font-size:15px;
    color:#333;
    line-height:1.6;
    margin:0 0 14px;
}
.tlr-links{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}
.tlr-links a{
    text-decoration:none;
    color:#8f6b3c;
    font-size:14px;
    font-weight:600;
}
.tlr-links a:hover{
    text-decoration:underline;
}
.tlr-pagination{
    margin-top:20px;
    display:flex;
    gap:10px;
}
.tlr-pagination button{
    padding:10px 16px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
    border-radius:6px;
}
.tlr-loading,
.tlr-empty{
    color:#555;
    font-size:15px;
}

/* BROWSE PAGE */
.tlr-browse{
    max-width:1100px;
    margin:40px auto;
}
.tlr-browse h2{
    margin-bottom:20px;
}

/* YEAR NAVIGATION */
.tlr-year-scroll{
    display:grid;
    grid-template-columns:repeat(10,1fr);
    gap:8px;
    margin-bottom:25px;
    max-width:820px;
    padding-bottom:10px;
    border-bottom:1px solid #eee;
}
.tlr-year{
    text-decoration:none;
    color:#b24b43;
    font-size:14px;
    font-weight:600;
    padding:8px 0;
    text-align:center;
    border-radius:4px;
}
.tlr-year:hover{
    background:#f7f3ee;
}

/* MOBILE */
@media (max-width:768px){
    .tlr-search{
        grid-template-columns:1fr 1fr;
    }
    #tlr-search-btn{
        grid-column:span 2;
    }
    .tlr-year-scroll{
        grid-template-columns:repeat(5,1fr);
    }
    .tlr-title{
        font-size:18px;
    }
}
