body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f9fafb;
  color: #111;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-weight: 700; }

/* DESKTOP NAV */
.desktop-nav a {
  margin-left: 15px;
  color: #555;
}

.desktop-nav a:hover {
  color: #111;
}

/* MOBILE MENU */
.menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 10px 20px;
  background: white;
}

.mobile-menu a {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* HERO */
.hero {
  position: relative;
}

.hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  border-radius: 12px;
}

.hero-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
}

.btn {
  background: #2563eb;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 10px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  margin-top: 20px;
}

/* CARDS */
.posts {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card h3 {
  margin: 8px 0;
}

.read {
  font-size: 14px;
  color: #2563eb;
}

/* SIDEBAR */
.sidebar {
  background: white;
  padding: 15px;
  border-radius: 12px;
}

.trend {
  display: block;
  margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 768px) {

  .desktop-nav { display: none; }

  .menu-btn { display: block; }

  .mobile-menu.show {
    display: flex;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .posts {
    grid-template-columns: 1fr;
  }

  .hero-content {
    position: static;
    color: #111;
    margin-top: 10px;
  }

  .overlay { display: none; }
}

.footer {
  margin-top: 40px;
  padding: 25px 0;
  background: #111;
  color: #fff;
  text-align: center;
}

.trend-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}

.trend-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.trend-item a {
  font-size: 14px;
  line-height: 1.3;
}

.card {
  position: relative;
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
}

.article-hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-hero img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    filter: brightness(0.95);
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}

.article-hero-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
}

.article-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.article-hero-content .category-pill {
    background: rgba(15, 76, 129, 0.85);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.article-wrapper p,
.article-wrapper li {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #0f4c81;
}

.article-wrapper h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #0b2f52;
}

.article-wrapper ul {
    padding-left: 1.25rem;
}

.back-to-top {
    right: 1rem;
    bottom: 1rem;
}