@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f2f0eb;
  color: #020016;
  font-family: "Barlow", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  background: #0b0a16;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  z-index: 1000;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.blog-hero {
  padding: clamp(48px, 6vw, 96px) 24px;
  display: flex;
  justify-content: center;
}

.hero-text {
  max-width: 900px;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #020016;
}

.hero-text p {
  margin-top: 16px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 400;
  color: #020016;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 360px));
  gap: 32px;
  padding: 0 24px clamp(64px, 8vw, 120px);
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
  justify-content: center;
}

.post-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-media {
  background: #0b0a16;
  border-radius: 20px;
}

.post-media.square {
  aspect-ratio: 1 / 1;
}

.post-media.wide {
  aspect-ratio: 16 / 9;
}

.post-media.portrait {
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mock-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #171526 0%, #0b0a16 100%);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-rows: 12px 18px 1fr;
  gap: 16px;
}

.mock-header {
  width: 40%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.mock-title {
  width: 70%;
  height: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
}

.mock-field {
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.mock-button {
  height: 38px;
  border-radius: 12px;
  background: #ffb806;
}

.mock-footer {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.3);
}

.post-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #020016;
}

.post-content p {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 400;
  color: #020016;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }
}
