/* =========================================================
   legal.css — Legal & Government links
   Serioz · i pavarur · pa emoji
========================================================= */

/* ---------- HEADER ---------- */
.legal-header{
    padding:5rem 0 3rem;
    max-width:820px;
    border-bottom:1px solid #e2e2e2;
    margin-bottom:1rem;
}
.legal-tag{
    display:inline-block;
    padding:.45rem 1rem;
    background:#f7f7f7;
    border:1px solid #e2e2e2;
    border-radius:999px;
    font-size:.7rem;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:#5c5c5c;
    margin-bottom:24px;
}
.legal-title{
    margin:0 0 1.5rem;
    font-weight:900;
    font-size:clamp(2.6rem,6vw,5rem);
    line-height:.92;
    letter-spacing:-.045em;
    text-transform:uppercase;
    color:#1a1a1a;
}
.legal-title em{
    font-family:'Instrument Serif',Georgia,serif;
    font-style:italic;
    font-weight:400;
    text-transform:none;
    color:#E41E20;
    letter-spacing:-.02em;
}
.legal-lead{
    font-family:'Instrument Serif',Georgia,serif;
    font-style:italic;
    font-size:clamp(1.05rem,1.8vw,1.25rem);
    line-height:1.6;
    color:#5c5c5c;
    max-width:56ch;
}

/* ---------- KATEGORI ---------- */
.legal-category{
    padding:4rem 0;
    border-bottom:1px solid #e2e2e2;
    scroll-margin-top:100px;
}
.legal-category:last-of-type{border-bottom:none}

.legal-cat-head{
    display:flex;
    align-items:flex-start;
    gap:20px;
    margin-bottom:2.5rem;
}
.legal-cat-icon{
    flex-shrink:0;
    width:56px;
    height:56px;
    border-radius:14px;
    background:#1a1a1a;
    color:#ffffff;
    display:grid;
    place-items:center;
}
.legal-cat-icon svg{
    width:26px;
    height:26px;
}
.legal-cat-text{flex:1;padding-top:4px}
.legal-cat-title{
    font-weight:900;
    font-size:1.35rem;
    letter-spacing:-.02em;
    text-transform:uppercase;
    color:#1a1a1a;
    margin-bottom:6px;
}
.legal-cat-desc{
    font-size:.92rem;
    color:#5c5c5c;
    font-family:'Instrument Serif',Georgia,serif;
    font-style:italic;
}

/* ---------- LIDHJET ---------- */
.legal-links{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:10px;
}

.legal-links a.legal-link{
    display:block !important;
    padding:20px 22px;
    background:#ffffff;
    border:1px solid #e2e2e2;
    border-radius:12px;
    color:#1a1a1a !important;
    text-decoration:none !important;
    cursor:pointer;
    transition:border-color .2s, background .2s, transform .15s, box-shadow .2s;
    position:relative;
}
.legal-links a.legal-link:hover,
.legal-links a.legal-link:focus{
    border-color:#1a1a1a;
    background:#fafafa;
    transform:translateY(-1px);
    box-shadow:0 12px 24px -18px rgba(0,0,0,.2);
    outline:none;
}
.legal-links a.legal-link:active{transform:translateY(0)}

.legal-link-title{
    display:block;
    font-weight:800;
    font-size:.98rem;
    line-height:1.3;
    color:#1a1a1a;
    margin-bottom:6px;
}
.legal-link-title::after{
    content:"";
    position:absolute;
    inset:0;
}
.legal-link-desc{
    display:block;
    font-size:.84rem;
    line-height:1.5;
    color:#5c5c5c;
}

/* Vija e kuqe në hover */
.legal-links a.legal-link::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:3px;
    background:#E41E20;
    border-radius:12px 0 0 12px;
    opacity:0;
    transition:opacity .2s;
}
.legal-links a.legal-link:hover::before{opacity:1}

/* ---------- SHËNIM ---------- */
.legal-note{
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin:3rem 0 5rem;
    padding:24px 26px;
    background:#f7f7f7;
    border:1px solid #e2e2e2;
    border-radius:12px;
}
.legal-note-icon{
    flex-shrink:0;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#1a1a1a;
    color:#fff;
    display:grid;
    place-items:center;
}
.legal-note-icon svg{width:20px;height:20px}
.legal-note p{
    font-size:.9rem;
    line-height:1.6;
    color:#5c5c5c;
    margin:0;
}
.legal-note strong{color:#1a1a1a;font-weight:700}

/* ---------- RESPONSIVE ---------- */
@media (max-width:700px){
    .legal-header{padding:3rem 0 2rem}
    .legal-title{font-size:clamp(2.2rem,9vw,3.4rem)}
    .legal-category{padding:2.5rem 0;scroll-margin-top:80px}
    .legal-cat-head{gap:14px;margin-bottom:1.75rem}
    .legal-cat-icon{width:44px;height:44px;border-radius:12px}
    .legal-cat-icon svg{width:22px;height:22px}
    .legal-cat-title{font-size:1.15rem}
    .legal-links{grid-template-columns:1fr;gap:8px}
    .legal-links a.legal-link{padding:16px 18px}
    .legal-link-title{font-size:.94rem}
    .legal-link-desc{font-size:.8rem}
    .legal-note{padding:18px 20px;margin-bottom:3rem}
}