/* ── Arbor Managers Press ────────────────────────────────────────── */

.press-wrap {
  padding: 2rem 0 3rem;
}

/* Two column layout */
.press-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

/* ── Post list ───────────────────────────────────────────────────── */

.press-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.press-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.press-item:last-child {
  border-bottom: none;
}

.press-thumb {
  width: 160px;
  min-width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
}

.press-item-body h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.press-item-body h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.press-item-body h3 a:hover {
  text-decoration: underline;
}

.press-item-body p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

/* ── Pagination ──────────────────────────────────────────────────── */

.press-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.press-page-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.press-page-link:hover {
  text-decoration: underline;
}

.press-page-status {
  color: #888;
  font-size: 0.85rem;
}

/* ── Single post ─────────────────────────────────────────────────── */

.press-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #666;
}

.press-post-meta a {
  color: var(--primary-color);
  text-decoration: none;
}

.press-post-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin: 0 0 1.25rem;
}

.press-hero-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.75rem;
}

.press-post-content h2 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 1.75rem 0 0.75rem;
}

.press-post-content h3 {
  font-size: 1rem;
  color: var(--primary-color);
  margin: 1.25rem 0 0.5rem;
}

.press-post-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.press-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.press-next-link {
  text-align: right;
}

/* ── Date ────────────────────────────────────────────────────────── */

.press-date {
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */

.press-sidebar {
  background: var(--light-color, #f4f4f4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  position: sticky;
  top: 100px; /* adjust to clear your fixed search bar */
}

.press-sidebar h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.press-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.press-sidebar-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.press-sidebar-list li:last-child {
  border-bottom: none;
}

.press-sidebar-list li.active a {
  color: var(--primary-color);
  font-weight: 700;
}

.press-sidebar-list a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-color);
  text-decoration: none;
  line-height: 1.4;
}

.press-sidebar-list a:hover {
  color: var(--primary-color);
}

.press-sidebar-viewall {
  display: block;
  margin: 0.5rem 0 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.press-sidebar-viewall:hover {
  text-decoration: underline;
}

.press-sidebar-date {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-top: 2px;
}

.press-sidebar-cta {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.press-sidebar-cta p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
}

.press-sidebar-cta a:not(.btn) {
  color: var(--primary-color);
  font-weight: 600;
}

.press-cta-btn {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .press-layout {
    grid-template-columns: 1fr;
  }

  .press-sidebar {
    position: static;
    order: -1; /* show sidebar above posts on mobile */
  }

  .press-item {
    flex-direction: column;
  }

  .press-thumb {
    width: 100%;
    min-width: unset;
    height: 180px;
  }
}
