/*==========================================================
RESET
==========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f7f8fa;
    color:#1f2937;
    line-height:1.7;
    font-size:16px;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

button,
input,
textarea{
    font:inherit;
}


/*==========================================================
CONTAINER
==========================================================*/

.container{
    width:min(1200px,92%);
    margin:auto;
}


/*==========================================================
HEADER
==========================================================*/

.header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    background:#ffffff;

    border-bottom:1px solid #e5e7eb;

    z-index:999;

    backdrop-filter:blur(8px);

}

.navbar{

    height:78px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


/*==========================================================
LOGO
==========================================================*/

.logo{

    font-size:2rem;

    font-weight:800;

    letter-spacing:-1px;

    color:#111827;

}

.logo span{

    color:#2563eb;

}


/*==========================================================
MENU
==========================================================*/

nav ul{

    display:flex;

    align-items:center;

    gap:34px;

}

nav a{

    font-size:1rem;

    font-weight:600;

    color:#374151;

    transition:.25s;

    position:relative;

}

nav a:hover{

    color:#2563eb;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#2563eb;

    transition:.25s;

}

nav a:hover::after{

    width:100%;

}


/*==========================================================
MAIN
==========================================================*/

main{

    min-height:70vh;

}


/*==========================================================
HERO
==========================================================*/

.hero{

    padding:90px 0 70px;

    background:linear-gradient(
        180deg,
        #ffffff 0%,
        #eef5ff 100%
    );

}

.hero-content{

    max-width:760px;

}

.hero-badge{

    display:inline-block;

    padding:8px 16px;

    background:#dbeafe;

    color:#1d4ed8;

    font-size:.9rem;

    font-weight:700;

    border-radius:999px;

    margin-bottom:22px;

}

.hero h1{

    font-size:3.5rem;

    line-height:1.15;

    color:#111827;

    margin-bottom:22px;

    font-weight:800;

}

.hero p{

    font-size:1.18rem;

    color:#6b7280;

    max-width:680px;

}

/*==========================================================
SECTION HEADER
==========================================================*/

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:end;

    margin-bottom:40px;

}

.section-header h2{

    font-size:2.2rem;

    color:#111827;

    margin-bottom:8px;

}

.section-header p{

    color:#6b7280;

}


/*==========================================================
ARTICLES
==========================================================*/

.articles{

    padding:80px 0;

}

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}


/*==========================================================
CARD
==========================================================*/

.card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.30s;

    border:1px solid #ececec;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.card a{

    display:block;

}

.card img{

    width:100%;

    height:230px;

    object-fit:cover;

    transition:.35s;

}

.card:hover img{

    transform:scale(1.04);

}

.card .content{

    padding:24px;

}


/*==========================================================
CARD META
==========================================================*/

.card-meta{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:16px;

    font-size:.9rem;

    color:#2563eb;

    font-weight:700;

}


/*==========================================================
CARD TITLE
==========================================================*/

.card h2{

    font-size:1.45rem;

    line-height:1.35;

    color:#111827;

    margin-bottom:16px;

    transition:.25s;

}

.card:hover h2{

    color:#2563eb;

}


/*==========================================================
CARD DESCRIPTION
==========================================================*/

.card p{

    color:#6b7280;

    line-height:1.8;

    margin-bottom:24px;

    display:-webkit-box;

    -webkit-line-clamp:4;

    -webkit-box-orient:vertical;

    overflow:hidden;

}


/*==========================================================
READ MORE
==========================================================*/

.read-more{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:#2563eb;

    font-weight:700;

    transition:.25s;

}

.card:hover .read-more{

    transform:translateX(6px);

}


/*==========================================================
EMPTY STATE
==========================================================*/

.empty-state{

    background:#fff;

    border-radius:18px;

    padding:70px 40px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

}

.empty-state h3{

    font-size:2rem;

    margin-bottom:12px;

}

.empty-state p{

    color:#6b7280;

}

/*==========================================================
FOOTER
==========================================================*/

.footer{

    background:#111827;

    color:#d1d5db;

    margin-top:60px;

    padding:70px 0 0;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:40px;

    padding-bottom:50px;

    border-bottom:1px solid rgba(255,255,255,.1);

}

.footer h3{

    color:#ffffff;

    font-size:1.15rem;

    margin-bottom:18px;

}

.footer p{

    color:#9ca3af;

    font-size:.95rem;

    line-height:1.8;

}

.footer ul{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer ul a{

    color:#9ca3af;

    font-size:.95rem;

    transition:.2s;

}

.footer ul a:hover{

    color:#2563eb;

}

.footer-bottom{

    text-align:center;

    padding:22px 0;

    font-size:.85rem;

    color:#6b7280;

}


/*==========================================================
ARTICLE PAGE
==========================================================*/

.article-page{

    padding:60px 0 100px;

}

.article{

    max-width:820px;

    margin:0 auto;

    background:#fff;

    border-radius:18px;

    padding:48px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    border:1px solid #ececec;

}

.article-header{

    margin-bottom:32px;

}

.article-category{

    display:inline-block;

    padding:6px 14px;

    background:#dbeafe;

    color:#1d4ed8;

    font-size:.85rem;

    font-weight:700;

    border-radius:999px;

    margin-bottom:18px;

}

.article-header h1{

    font-size:2.4rem;

    line-height:1.25;

    color:#111827;

    font-weight:800;

    margin-bottom:18px;

}

.article-description{

    font-size:1.15rem;

    color:#6b7280;

    margin-bottom:20px;

}

.article-meta{

    display:flex;

    align-items:center;

    gap:16px;

    font-size:.9rem;

    color:#9ca3af;

    font-weight:600;

    padding-bottom:24px;

    border-bottom:1px solid #ececec;

}

.article-image{

    margin:0 0 32px;

    border-radius:14px;

    overflow:hidden;

}

.article-image img{

    width:100%;

    height:auto;

    object-fit:cover;

}

.article-body p{

    color:#374151;

    font-size:1.08rem;

    line-height:1.9;

    margin-bottom:22px;

}

.source-box{

    margin-top:40px;

    padding:28px;

    background:#f7f8fa;

    border-radius:14px;

    border:1px solid #ececec;

}

.source-box h3{

    color:#111827;

    font-size:1.2rem;

    margin-bottom:10px;

}

.source-box p{

    color:#6b7280;

    font-size:.95rem;

    margin-bottom:18px;

}

.button{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:12px 24px;

    background:#2563eb;

    color:#ffffff;

    font-weight:700;

    border-radius:10px;

    transition:.25s;

}

.button:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

}


/*==========================================================
STATIC PAGES (about, contact, privacy, terms, cookies)
==========================================================*/

.page{

    padding:70px 0 100px;

}

.page-header{

    text-align:center;

    max-width:700px;

    margin:0 auto 50px;

}

.page-header h1{

    font-size:2.6rem;

    color:#111827;

    font-weight:800;

    margin-bottom:16px;

}

.page-header p{

    color:#6b7280;

    font-size:1.1rem;

}

.page-content{

    max-width:820px;

    margin:0 auto;

    background:#fff;

    border-radius:18px;

    padding:48px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    border:1px solid #ececec;

}

.page-content h2{

    font-size:1.5rem;

    color:#111827;

    margin:32px 0 14px;

}

.page-content h2:first-child{

    margin-top:0;

}

.page-content p{

    color:#374151;

    font-size:1.02rem;

    line-height:1.85;

    margin-bottom:14px;

}


/*==========================================================
RESPONSIVE
==========================================================*/

@media (max-width:768px){

    .navbar{

        height:auto;

        flex-direction:column;

        padding:18px 0;

        gap:14px;

    }

    nav ul{

        gap:20px;

    }

    .hero h1{

        font-size:2.4rem;

    }

    .hero p{

        font-size:1rem;

    }

    .section-header{

        flex-direction:column;

        align-items:start;

        gap:12px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        gap:32px;

    }

    .article{

        padding:28px;

    }

    .article-header h1{

        font-size:1.8rem;

    }

    .page-content{

        padding:28px;

    }

    .page-header h1{

        font-size:2rem;

    }

}