@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=Inter:wght@400;500&display=swap');

body {
  font-family: 'Inter', sans-serif;
  color: #222;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: #ffffff !important;
  border-bottom: 0.5px solid #e5e5e5 !important;
}

.navbar-brand {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #111 !important;
}

.nav-link {
  font-size: 13px !important;
  color: #555 !important;
}

.nav-link:hover {
  color: #111 !important;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #aaa;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid #e5e5e5;
  display: block;
}

.work-intro {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 0 2rem;
}

.listing-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.listing-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 0.5px solid #e5e5e5;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

.listing-card:first-child {
  border-top: 0.5px solid #e5e5e5;
}

.listing-card:hover {
  opacity: 0.7;
}

.listing-thumb {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
}

.listing-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.listing-content {
  flex: 1;
}

.listing-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: #111;
  margin: 0 0 6px;
  line-height: 1.3;
}

.listing-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 10px;
}

.work-meta {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  margin-bottom: 6px;
}

.work-link {
  display: inline-block;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  border-bottom: 0.5px solid #ccc;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
  margin-top: 8px;
}

.work-link:hover {
  color: #111;
  border-color: #888;
}

.work-links {
  display: flex;
  gap: 1rem;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.tag {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
  font-weight: 400;
}

.tag-tools  { background: #EAF3DE; color: #27500A; }
.tag-tech   { background: #E6F1FB; color: #0C447C; }
.tag-domain { background: #EEEDFE; color: #3C3489; }

hr {
  border: none;
  border-top: 0.5px solid #e5e5e5;
  margin: 2.5rem 0;
}

@media (max-width: 768px) {
  .listing-card {
    flex-direction: column;
  }

  .listing-thumb {
    width: 100%;
    height: 200px;
  }
}

.all-projects-wrapper {
  display: flex;
  gap: 4rem;
  padding: 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.filter-sidebar {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.filter-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #aaa;
  margin-bottom: 0.75rem;
}

.filter-btn {
  background: none;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.15s;
}

.filter-btn.active {
  color: #111;
  font-weight: 500;
}

.filter-btn:hover {
  color: #111;
}

.posts-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 0.5px solid #e5e5e5;
  align-items: flex-start;
  transition: opacity 0.15s;
}

.post-card:first-child {
  border-top: 0.5px solid #e5e5e5;
}

.post-card:hover {
  opacity: 0.7;
}

.post-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 110px;
  overflow: hidden;
  border-radius: 8px;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post-content {
  flex: 1;
}

.post-meta {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  margin-bottom: 6px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: #111;
  line-height: 1.3;
  margin-bottom: 8px;
}

.post-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.post-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .all-projects-wrapper {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .filter-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: none;
  }

  .filter-label {
    display: none;
  }

  .filter-btn {
    border: 0.5px solid #ccc;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
  }

  .filter-btn.active {
    background: #111;
    color: #ffffff;
    border-color: #111;
  }

  .post-card {
    flex-direction: column;
  }

  .post-thumb {
    width: 100%;
    height: 200px;
  }
}

.post-card {
  text-decoration: none;
  color: inherit;
}

.post-card-soon {
  opacity: 0.5;
  cursor: default;
}

.coming-soon-tag {
  font-size: 11px;
  color: #bbb;
  margin-top: 6px;
}

a.post-card {
  text-decoration: none;
  color: inherit;
}

a.post-card * {
  text-decoration: none;
  color: inherit;
}

a.post-card:hover {
  opacity: 0.7;
}

