/* DanangNET Desktop Common Header V1 */

.dn-pc-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.97);
    border-bottom:1px solid #ebebeb;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.dn-pc-header-inner{
    width:min(calc(100% - 80px),1280px);
    height:82px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
}

.dn-pc-brand{
    justify-self:start;
    color:#222;
    font-size:25px;
    line-height:1;
    font-weight:900;
    letter-spacing:-1px;
    text-decoration:none;
}

.dn-pc-brand span{
    color:#1677ff;
}

.dn-pc-nav{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:2px;
}

.dn-pc-nav a{
    position:relative;
    height:100%;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#222;
    font-size:15px;
    font-weight:700;
    white-space:nowrap;
    text-decoration:none;
}

.dn-pc-nav a::after{
    content:"";
    position:absolute;
    left:20px;
    right:20px;
    bottom:18px;
    height:2px;
    background:#222;
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .18s ease;
}

.dn-pc-nav a:hover::after{
    transform:scaleX(1);
}

.dn-pc-header-actions{
    justify-self:end;
    display:flex;
    align-items:center;
    gap:8px;
}

.dn-pc-user{
    min-height:42px;
    padding:0 15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid #ddd;
    border-radius:999px;
    background:#fff;
    color:#222;
    font-size:13px;
    font-weight:750;
    text-decoration:none;
    transition:box-shadow .18s ease;
}

.dn-pc-user:hover{
    box-shadow:0 3px 12px rgba(0,0,0,.11);
}

.dn-pc-user i{
    font-size:16px;
}

@media(max-width:1099px){

    .dn-pc-header-inner{
        width:min(calc(100% - 40px),960px);
        height:auto;
        min-height:76px;

        grid-template-columns:1fr auto;
        grid-template-areas:
            "brand actions"
            "nav nav";

        padding-top:7px;
    }

    .dn-pc-brand{
        grid-area:brand;
    }

    .dn-pc-nav{
        grid-area:nav;
        height:50px;
    }

    .dn-pc-header-actions{
        grid-area:actions;
    }

    .dn-pc-nav a{
        padding:0 23px;
    }

    .dn-pc-nav a::after{
        bottom:6px;
    }
}


/* DanangNET Desktop Common Header V2 */
.dn-pc-nav a.is-active::after{transform:scaleX(1);}
.dn-pc-nav a.is-active{color:#111;}

.dn-pc-user[data-dn-mypage-link]{
    min-height:42px;
    padding:0 15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid #ddd;
    border-radius:999px;
    background:#fff;
    color:#222;
    font-size:13px;
    font-weight:750;
    line-height:1;
    text-decoration:none;
    transition:box-shadow .18s ease,border-color .18s ease;
}
.dn-pc-user[data-dn-mypage-link]:hover{box-shadow:0 3px 12px rgba(0,0,0,.11);}
.dn-pc-user[data-dn-mypage-link].is-active{
    border-color:#222;
    box-shadow:0 0 0 1px #222 inset;
}
.dn-pc-user .dn-mypage-avatar{flex:0 0 28px;}
.dn-pc-user .dn-mypage-label{display:inline-block;white-space:nowrap;}

/* Desktop Header Active Menu Color */
.dn-pc-nav a.is-active::after{
    background:#ff6633;
}
