/* ==========================================
   HOMEPAGE
========================================== */

/* Alleen op de homepage de algemene contentbreedte overschrijven. */
.content:has(.home-page){
    max-width:none;
    margin:0;
    padding:0 20px 100px;
}

.home-page{
    width:100%;
    max-width:620px;
    margin:0 auto;
    padding:28px 0 20px;
}

.home-header{
    margin:0 0 6px;
    text-align:center;
}

.home-header h1{
    margin:0 0 8px;
    color:#0F2D52;
    font-size:clamp(2rem, 4vw, 3rem);
    line-height:1.08;
}

.home-header p{
    margin:0;
    color:#31445c;
    font-size:clamp(1rem, 1.8vw, 1.2rem);
}

/* ==========================================
   TWANNIE + TEKSTBALLON
========================================== */

.twannie-intro{
    position:relative;
    width:100%;
    max-width:400px;
    margin:0 auto 2px;
    overflow:hidden;
    border-radius:18px;
}

.twannie-intro-image{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    object-fit:contain;
}

.twannie-intro-text{
    position:absolute;
    left:74%;
    top:40%;
    width:39%;
    transform:translate(-50%, -50%);
    color:#0F2D52;
    text-align:center;
    line-height:1.3;
    pointer-events:none;
}

.twannie-intro-text strong,
.twannie-intro-text span,
.twannie-intro-text b{
    display:block;
}

.twannie-intro-text strong{
    margin-bottom:7px;
    font-size:1.1rem;
}

.twannie-intro-text span{
    font-size:.84rem;
}

.twannie-intro-text b{
    margin-top:7px;
    font-size:.86rem;
}

/* Oude decoratieve pseudo-elementen uitschakelen. */
.home-page::before,
.home-header::before{
    display:none !important;
    content:none !important;
}

/* ==========================================
   WEERKAART OP HOMEPAGE
========================================== */

.home-page .weather-card{
    max-width:300px;
    margin:0 auto 8px;
    padding:14px 16px;
    border-radius:18px;
}

.home-page .weather-temp{
    font-size:2.35rem;
    margin:8px 0;
}

.home-page .weather-grid{
    gap:6px;
}

.home-page .weather-message{
    margin:12px 0;
    padding:9px;
}

/* ==========================================
   MOBIEL
========================================== */

@media (max-width:600px){
    .header-user.is-logged-in{
    background:transparent;
    padding:0;
}

.header-user.is-logged-in .header-user-menu{
    position:relative;
    margin:0;
     left:18px;
}

.header-user.is-logged-in .header-user-button{
    margin:0;
    transform:none;
}

    

    .header-user-button{
    justify-content:flex-end;
    gap:6px;
}

.header-user-icon{
    margin-left:4px;
}

.header-user-arrow{
    margin-left:2px;
}

    .content:has(.home-page){
        padding:0 12px 110px;
    }

    .home-page{
        max-width:390px;
        padding-top:12px;
        padding-bottom:30px;
    }

    .home-header{
        margin-bottom:6px;
    }

    .home-header h1{
        font-size:1.55rem;
    }

    .home-header p{
        font-size:.98rem;
    }

    .twannie-intro{
        max-width:400px;
        margin-bottom:2px;
        border-radius:12px;
    }

    .twannie-intro-text{
    left:72%;
    top:33%;
    width:40%;
    transform:translate(-50%, -50%);
}
    

    .twannie-intro-text strong{
        margin-bottom:4px;
        font-size:1.5rem;
    }

    .twannie-intro-text span{
        font-size:.72rem;
        line-height:1.25;
    }

    .twannie-intro-text b{
        margin-top:5px;
        font-size:.75rem;
    }

    .home-page .weather-card{
    max-width:300px;
    margin-top:-50px;
    margin-bottom:8px;
    padding:13px 15px;
}
    .home-page .weather-temp{
        font-size:2.2rem;
        margin:6px 0;
    }

    .home-page .weather-message{
        margin:10px 0;
        padding:8px;
    }

.header-user-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.header-user-link:hover {
    color: white;
    text-decoration: none;
    opacity: 0.85;
}

.header-user-link span {
    color: white;
}
.header-user-menu{
    position:relative;


}

.header-user-button{
    border:none;
    cursor:pointer;
    font-family:inherit;
}

.header-user-arrow{
    font-size:10px;
    margin-left:2px;
}

.header-user-dropdown{
    display:none;
    position:absolute;
    top:56px;
    right:0;
    min-width:150px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
    overflow:hidden;
    z-index:1000;
}

.header-user-dropdown a{
    display:block;
    padding:11px 14px;
    color:#0F2D52;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.header-user-dropdown a:hover{
    background:#f2f6fa;
}

.header-user-menu.open .header-user-dropdown{
    display:block;
}
.header-user-button{
    background:rgba(255,255,255,.15);
    color:#fff;
    min-height:48px;
    border-radius:24px;
    padding:0 6px;
}

.header-user-button span{
    color:#fff;
}
.login-page form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.login-page label{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-size:18px;
}

.login-page input[type="email"],
.login-page input[type="password"]{
    width:100%;
    min-height:52px;
    padding:12px 14px;
    font-size:18px;
    box-sizing:border-box;
    border:1px solid #aaa;
    border-radius:10px;
}

.login-page button{
    min-height:52px;
    padding:12px 18px;
    font-size:18px;
    border-radius:10px;
    cursor:pointer;
}

}

