/* ═══ Post Feed ═══ */
.feed {
  background: var(--cream);
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
}
.feed__inner {
  max-width: 680px;
  margin: 0 auto;
}

/* Post card */
.post-card {
  border-bottom: 1px solid rgba(42, 31, 20, 0.08);
}
.post-card:first-child {
  border-top: 1px solid rgba(42, 31, 20, 0.08);
}
.post-card__link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}
.post-card__link:hover .post-card__title {
  color: var(--coffee);
}
.post-card__body {
  flex: 1;
  min-width: 0;
}
.post-card__meta {
  margin-bottom: var(--space-sm);
}
.post-card__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--espresso);
  transition: color var(--duration-fast) ease;
}
.post-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  max-width: 560px;
}
.post-card__image {
  flex-shrink: 0;
  width: 180px;
  align-self: center;
}
.post-card__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Feed card (articles page partial) */
.feed-card__link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}
.feed-card__body {
  flex: 1;
  min-width: 0;
}
.feed-card__image {
  flex-shrink: 0;
  width: 180px;
  align-self: center;
}
.feed-card__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Pagination */
.feed__pagination {
  max-width: 680px;
  margin: var(--space-2xl) auto 0;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.btn--outline {
  color: var(--text-secondary);
  border: 1px solid rgba(42, 31, 20, 0.15);
  background: transparent;
}
.btn--outline:hover {
  background: rgba(42, 31, 20, 0.04);
  color: var(--espresso);
}
.btn--primary {
  color: var(--text-on-dark);
  background: var(--espresso);
  border: none;
}
.btn--primary:hover {
  background: var(--near-black);
}

/* ═══ Bottom Section (2-column) ═══ */
.bottom-section {
  background: var(--cream);
  border-top: 1px solid rgba(42, 31, 20, 0.08);
  padding: var(--space-2xl) var(--space-lg);
}
.bottom-section__inner {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}
.bottom-col__label {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}
.bottom-col__brand {
  font-size: 20px;
  font-weight: 900;
  color: var(--espresso);
}
.bottom-col__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: var(--space-xs);
}

/* Subscribe form in bottom section */
.bottom-subscribe {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.bottom-subscribe__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(42, 31, 20, 0.12);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--espresso);
  outline: none;
  min-width: 0;
}
.bottom-subscribe__input:focus {
  border-color: var(--coffee);
}
.bottom-subscribe__input::placeholder {
  color: var(--sand);
}
.bottom-subscribe__btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 14px;
}

/* Tags */
.bottom-tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.bottom-tag {
  font-size: 15px;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) ease;
}
.bottom-tag:hover {
  color: var(--espresso);
}

@media (max-width: 768px) {
  .bottom-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}
