*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #222;
  background: #fff;
  margin: 0;
}

a { color: #222; text-decoration: none; border-bottom: 1px solid #ccc; }
a:hover { border-bottom-color: #222; }

/* =====================
   TWO-COLUMN LAYOUT
   ===================== */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
}

/* =====================
   SIDEBAR
   ===================== */
.sidebar {
  width: 200px;
  flex-shrink: 0;
  padding: 3rem 2rem 3rem 2rem;
  border-right: 1px solid #eee;
  position: sticky;
  top: 0;
  height: 100vh;
}

.site-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  color: #222;
  margin-bottom: 1.5rem;
}

.site-title span {
  display: block;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  border: none;
  display: block;
}

.nav-link:hover,
.nav-active {
  color: #008080;
}

/* =====================
   MAIN CONTENT
   ===================== */
.content {
  flex: 1;
  padding: 3rem 3rem 3rem 3.5rem;
  max-width: 760px;
}

/* =====================
   HOME INTRO
   ===================== */
.home-intro {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.social-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  border: none;
}

.social-links a:hover { color: #008080; }

/* =====================
   POST CARDS
   ===================== */
.post-card {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #eee;
}

.post-meta {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.post-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 500
}

.post-card h3 a { border: none; color: #222; }
.post-card h3 a:hover { 
  border-bottom: 1px solid #222;
  text-decoration: none; 
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1 { font-size: 1.9rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.3rem; }
h2 { font-size: 1.3rem; font-weight: 600; margin-top: 2rem;  margin-bottom: 1px;}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: #bbb;
  border-top: 1px solid #eee;
  margin-top: 0;
}

/* =====================
   SUB TITLE & TAGS
   ===================== */

.post-subtitle {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  background: #f4f4f4;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 600px) {
  .site-wrapper { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 1.5rem 2rem;
  }
  .site-nav { flex-direction: row; flex-wrap: wrap; gap: 0.3rem 1rem; }
  .content { padding: 2rem; }
}

/* =====================
   POST GRID
   ===================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.post-grid .post-card {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.post-grid .post-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 0.8rem;
  display: block;
}

@media (max-width: 700px) {
  .post-grid { grid-template-columns: 1fr; }
}

.see-all {
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  color: #999999;
  text-decoration: none;
  display: inline-block;
  margin-top: -3px;
  margin-bottom: 8px;
}

.see-all:hover {
  color: #008080;
}