body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111;
}

/* NAV */
.header {
  display: flex;
  justify-content: space-between;
  padding: 20px 10%;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
}

/* HERO */
.blog-hero {
  text-align: center;
  padding: 100px 20px;
}

.blog-hero h1 {
  font-size: 48px;
}

.blog-hero span {
  background: linear-gradient(90deg, #6a5cff, #4da6ff);
  -webkit-background-clip: text;
  color: transparent;
}

/* FEATURED */
.featured-section {
  display: flex;
  gap: 40px;
  padding: 60px 10%;
}

.featured {
  flex: 2;
  position: relative;
}

.featured img {
  width: 100%;
  border-radius: 20px;
}

.featured-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 20px;
  border-radius: 15px;
}

/* TRENDING */
.trending {
  flex: 1;
  background: #f5f7ff;
  padding: 20px;
  border-radius: 20px;
}

.trend-item {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.trend-item:hover {
  color: #6a5cff;
}

/* CATEGORIES */
.categories {
  padding: 20px 10%;
  text-align: center;
}

.categories button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  background: #eee;
  border-radius: 20px;
  cursor: pointer;
}

.categories .active {
  background: linear-gradient(90deg, #6a5cff, #4da6ff);
  color: white;
}

/* BLOG LIST */
.blog-list {
  padding: 40px 10%;
}

.blog-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.blog-item img {
  width: 150px;
  border-radius: 10px;
}

/* NEWSLETTER */
.newsletter {
  text-align: center;
  padding: 100px 20px;
}

.subscribe {
  margin-top: 20px;
}

.subscribe input {
  padding: 12px;
  width: 250px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.subscribe button {
  padding: 12px 25px;
  border: none;
  background: linear-gradient(90deg, #6a5cff, #4da6ff);
  color: white;
  border-radius: 20px;
}
.header {
  display:flex;
  justify-content:space-between;
  padding:20px 60px;
  align-items:center;
}

.header img {
  width:140px;
}

nav a {
  margin-left:25px;
  text-decoration:none;
  color:#444;
}
.read{
    margin-top:20px;
    padding:12px 25px;
    border:none;
    background:linear-gradient(90deg,#6a5cff,#4da6ff);
    color:white;
    border-radius:8px;
    cursor:pointer;
}