/* =========================================================
   1CC - AGB
========================================================= */

html{
    scroll-behavior:smooth;
}

.agb-container{
    width:min(1220px,calc(100% - 80px));
    margin:0 auto;
}


/* =========================================================
   HERO
========================================================= */

.agb-hero{
    position:relative;
    overflow:hidden;
    padding:60px 0 52px;
    border-bottom:1px solid #e4e8eb;
    background:linear-gradient(135deg,#f8f8f6 0%,#fafafa 100%);
}

.agb-hero::after{
    content:"";
    position:absolute;
    top:-245px;
    right:-100px;
    width:535px;
    height:535px;
    border:78px solid rgba(243,198,35,.07);
    border-radius:50%;
    pointer-events:none;
}

.agb-kicker{
    position:relative;
    z-index:1;
    display:block;
    width:max-content;
    padding-top:16px;
    color:#202c3c;
    font-size:10px;
    font-weight:700;
    letter-spacing:3px;
}

.agb-kicker::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:44px;
    height:2px;
    background:#f3c623;
}

.agb-hero h1{
    position:relative;
    z-index:1;
    max-width:850px;
    margin:19px 0 13px;
    color:#202c3c;
    font-size:50px;
    line-height:1.04;
    letter-spacing:-1.9px;
}

.agb-hero>.agb-container>p{
    position:relative;
    z-index:1;
    max-width:690px;
    margin:0;
    color:#68737e;
    font-size:16px;
    line-height:1.65;
}

.agb-meta{
    position:relative;
    z-index:1;
    display:flex;
    flex-wrap:wrap;
    gap:10px 24px;
    margin-top:22px;
}

.agb-meta span{
    color:#8a949d;
    font-size:11px;
    font-weight:600;
}


/* =========================================================
   PAGE
========================================================= */

.agb-page{
    padding:44px 0 82px;
    background:#fff;
}

.agb-layout{
    display:grid;
    grid-template-columns:250px minmax(0,1fr);
    gap:62px;
    align-items:start;
}


/* =========================================================
   NAVIGATION
========================================================= */

.agb-nav{
    position:sticky;
    top:110px;
    max-height:calc(100vh - 135px);
    overflow:auto;
    border-top:1px solid #dde2e6;
    scrollbar-width:thin;
}

.agb-nav-title{
    display:block;
    padding:16px 0 11px;
    color:#9b7500;
    font-size:9px;
    font-weight:700;
    letter-spacing:2.2px;
}

.agb-nav a{
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    gap:7px;
    align-items:start;

    padding:9px 2px;

    border-bottom:1px solid #eceff1;

    color:#6f7a84;

    font-size:10.5px;
    line-height:1.35;

    transition:
        color .2s ease,
        padding-left .2s ease;
}

.agb-nav a>span:first-child{
    color:#b88900;
    font-weight:700;
}

.agb-nav a>span:last-child{
    min-width:0;
}

.agb-nav a:hover{
    padding-left:6px;
    color:#202c3c;
}


/* =========================================================
   CHAPTERS
========================================================= */

.agb-content{
    min-width:0;
}

.agb-section{
    display:grid;
    grid-template-columns:50px minmax(0,1fr);
    gap:20px;

    padding:0 0 50px;
    margin-bottom:48px;

    border-bottom:1px solid #dfe4e7;

    scroll-margin-top:105px;
}

.agb-section-number{
    display:flex;
    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;

    border-radius:50%;

    color:#202c3c;
    background:#f3c623;

    font-size:11px;
    font-weight:700;
}

.agb-section-label{
    display:block;
    margin-bottom:9px;
    color:#b88900;
    font-size:9px;
    font-weight:700;
    letter-spacing:2.1px;
}

.agb-section-body>h2{
    max-width:840px;

    margin:0 0 25px;

    color:#202c3c;

    font-size:28px;
    line-height:1.18;

    letter-spacing:-.75px;
}


/* =========================================================
   CLAUSES
========================================================= */

.agb-text{
    border-top:1px solid #e5e9ec;
}

.agb-clause{
    display:grid;
    grid-template-columns:44px minmax(0,1fr);
    gap:12px;

    max-width:850px;

    margin:0;
    padding:18px 0;

    border-bottom:1px solid #eef0f2;

    color:#65717d;

    font-size:14px;
    line-height:1.8;
}

.agb-clause-number{
    color:#9b7500;
    font-size:11px;
    font-weight:700;
    line-height:1.8;
}

.agb-continuation{
    position:relative;

    max-width:806px;

    margin:0 0 0 44px;
    padding:11px 0 11px 18px;

    border-bottom:1px solid #eef0f2;

    color:#65717d;

    font-size:14px;
    line-height:1.75;
}

.agb-continuation::before{
    content:"";

    position:absolute;

    top:1.05em;
    left:0;

    width:6px;
    height:6px;

    border-radius:50%;

    background:#f3c623;
}


/* =========================================================
   UPDATED
========================================================= */

.agb-updated{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:20px;
}

.agb-updated>span{
    width:28px;
    height:2px;
    background:#f3c623;
}

.agb-updated p{
    margin:0;
    color:#919ba4;
    font-size:11px;
    font-weight:600;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:950px){

    .agb-layout{
        grid-template-columns:1fr;
        gap:32px;
    }

    .agb-nav{
        position:relative;
        top:auto;

        display:grid;
        grid-template-columns:repeat(4,1fr);

        max-height:none;
        overflow:visible;

        border:1px solid #e1e5e8;
        border-radius:14px;
    }

    .agb-nav-title{
        display:none;
    }

    .agb-nav a{
        min-height:60px;
        padding:10px;

        border-right:1px solid #e8ebed;

        align-content:center;
    }

    .agb-nav a:hover{
        padding-left:10px;
    }
}


@media(max-width:700px){

    .agb-container{
        width:calc(100% - 32px);
    }

    .agb-hero{
        padding:46px 0 40px;
    }

    .agb-hero::after{
        right:-355px;
    }

    .agb-hero h1{
        font-size:38px;
    }

    .agb-hero>.agb-container>p{
        font-size:14px;
    }

    .agb-page{
        padding:30px 0 58px;
    }

    .agb-nav{
        grid-template-columns:1fr 1fr;
    }

    .agb-section{
        grid-template-columns:1fr;
        gap:14px;

        padding-bottom:38px;
        margin-bottom:38px;
    }

    .agb-section-body>h2{
        font-size:25px;
    }

    .agb-clause{
        grid-template-columns:40px minmax(0,1fr);
        font-size:13px;
    }

    .agb-continuation{
        margin-left:40px;
        font-size:13px;
    }
}
