/*
|--------------------------------------------------------------------------
| VALORABANK
| LEGAL HUB CSS
|--------------------------------------------------------------------------
*/

.legal-hero{

    min-height:45vh;

    display:flex;
    align-items:center;

    background:
    linear-gradient(
        rgba(8,31,77,.95),
        rgba(8,31,77,.80)
    ),
    url('../images/legal/legal-hero.jpg');

    background-size:cover;
    background-position:center;

    color:#fff;

}

.legal-hero h1{

    font-size:3rem;
    font-weight:800;

}

.legal-section{

    padding:80px 0;

    background:#f8fafc;

}

/* ==============================
LAYOUT
============================== */

.legal-grid{

    display:grid;

    grid-template-columns:280px 1fr;

    gap:30px;

}

/* SIDEBAR */

.legal-sidebar{

    position:sticky;

    top:100px;

    height:fit-content;

}

.legal-sidebar a{

    display:block;

    padding:12px 15px;

    margin-bottom:10px;

    border-radius:12px;

    text-decoration:none;

    background:#fff;

    color:#081F4D;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

    transition:.3s;

}

.legal-sidebar a:hover{

    background:#081F4D;

    color:#fff;

}

/* CONTENT */

.legal-content{

    background:#fff;

    padding:40px;

    border-radius:25px;

    box-shadow:0 25px 80px rgba(0,0,0,.08);

}

.legal-content h2{

    margin-top:30px;

    color:#081F4D;

    font-weight:800;

}

.legal-content p{

    color:#475569;

    line-height:1.8;

}

/* TAGS */

.legal-tag{

    display:inline-block;

    padding:6px 12px;

    border-radius:20px;

    background:#103A8C;

    color:#fff;

    font-size:12px;

    margin-top:10px;

}

/* ==============================
RESPONSIVE
============================== */

@media(max-width:768px){

    .legal-grid{

        grid-template-columns:1fr;

    }

    .legal-sidebar{

        position:relative;

        top:0;

    }

}