/* ===========================
   GLOBAL FRONTEND STYLE
=========================== */

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f4f4f4;
    color: #333;
}

a { text-decoration: none; color: inherit; }

/* HEADER */
.header {
    background: #ffffff;
    padding: 15px 20px;
    border-bottom: 1px solid #e3e3e3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2aa7c6;
}

.nav a {
    margin-left: 20px;
    color: #444;
    font-size: 16px;
}

.nav a:hover { color: #2aa7c6; }

/* SLIDER */
.slider {
    width: 100%;
    height: 320px;
    background: #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

/* POST CARD */
.post-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    margin-bottom: 20px;
    transition: .2s;
}

.post-card:hover {
    box-shadow: 0px 5px 20px rgba(0,0,0,0.12);
}

.post-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-title {
    padding: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

.post-excerpt {
    padding: 0 15px 15px;
    color: #555;
}

/* SIDEBAR */
.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2aa7c6;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 25px;
    background: #fff;
    border-top: 1px solid #e3e3e3;
    color: #666;
}
