/* =====================================================
   SENTOSA POST
   PREMIUM HEADER V2
===================================================== */

.main-header{

    position:sticky;
    top:0;
    z-index:9999;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.25);

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    transition:.35s ease;

}

.main-header.scrolled{

    background:rgba(255,255,255,.96);

    box-shadow:0 15px 35px rgba(0,0,0,.10);

}

.top-strip{

    height:4px;

    background:linear-gradient(
        90deg,
        #0A4D8C,
        #1D4ED8,
        #14A44D
    );

}

/* ========================= */

.header-flex{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

    padding:18px 0;

}

/* ========================= */

.logo-area{

    flex:0 0 auto;

}

.logo-rs{

    height:74px;

    transition:.35s;

}

.main-header.scrolled .logo-rs{

    height:60px;

}

/* ========================= */

.brand-area{

    flex:1;

    text-align:center;

}

.logo-sentosapost{

    width:540px;

    max-width:100%;

    height:auto;

    margin:auto;

    transition:.35s;

}

.main-header.scrolled .logo-sentosapost{

    width:470px;

}

.brand-tagline{

    margin-top:8px;

    color:#64748b;

    font-size:15px;

    font-weight:500;

}

/* ========================= */

.action-area{

    display:flex;

    align-items:center;

    gap:16px;

}

/* ========================= */

.search-box{

    width:420px;

    display:flex;

    align-items:center;

    overflow:hidden;

    border-radius:50px;

    background:#fff;

    border:2px solid #dbe5ef;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

}

.search-box i{

    color:#64748b;

    padding-left:18px;

    font-size:18px;

}

.search-box input{

    flex:1;

    border:none;

    outline:none;

    padding:15px;

    background:transparent;

}

.search-box button{

    width:58px;

    height:58px;

    border:none;

    color:#fff;

    background:linear-gradient(
        135deg,
        #0A4D8C,
        #1565C0
    );

}

.search-box:hover{

    border-color:#0A4D8C;

}

/* ========================= */

.btn-login{

    background:linear-gradient(
        135deg,
        #0A4D8C,
        #1565C0
    );

    color:#fff;

    padding:15px 28px;

    border-radius:50px;

    font-weight:600;

    text-decoration:none;

    box-shadow:0 10px 25px rgba(10,77,140,.25);

}

.btn-login:hover{

    color:#fff;

    transform:translateY(-2px);

}

/* ========================= */

.topbar{

    background:#0B2F57;

    color:#fff;

    font-size:13px;

    padding:8px 0;

}

.topbar a{

    color:#fff;

    margin-left:12px;

}

.topbar a:hover{

    color:#8EE59B;

}

/* ========================= */

@media(max-width:1200px){

.header-flex{

    flex-direction:column;

    gap:20px;

}

.brand-area{

    order:2;

}

.action-area{

    order:3;

    width:100%;

    justify-content:center;

}

.search-box{

    width:100%;

    max-width:650px;

}

}

@media(max-width:768px){

.logo-rs{

    height:58px;

}

.logo-sentosapost{

    width:330px;

}

.brand-tagline{

    font-size:13px;

}

.action-area{

    flex-direction:column;

}

.btn-login{

    width:100%;

    text-align:center;

}

}