/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy), #145079);
  color: var(--color-white);
  padding-block: var(--space-xl) var(--space-lg);
}
.page-hero h1 { color: var(--color-white); }
.page-hero p,
.page-hero__description {
	color: rgba(255,255,255,0.85);
	max-width: 600px;
	margin-top: 0.5rem;
}

/* .section-head__eyebrow defaults to ocean-blue, which is correct on
   the light-background homepage sections that use it, but unreadable
   against .page-hero's dark navy gradient — override to sand (the
   palette's established accent-on-navy color, e.g. the header logo's
   tagline text) and add the spacing before the heading that this
   context needs but base.css's heading reset (margin: 0) doesn't give
   it by default. */
.page-hero .section-head__eyebrow {
	color: var(--color-sand);
	margin-bottom: 0.4rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span:not(:last-child)::after { content: "/"; margin-left: 0.4rem; opacity: 0.6; }

/* ---------- Sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: var(--space-lg); }
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.sidebar-widget h3 { margin-bottom: var(--space-sm); font-size: 1rem; }

/* ---------- Recent Posts (with thumbnail) ---------- */
.sidebar-recent-posts { display: flex; flex-direction: column; gap: var(--space-sm); }

.sidebar-recent-posts li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.sidebar-recent-posts__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-light-gray);
}

.sidebar-recent-posts__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-recent-posts__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sidebar-recent-posts__title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-navy);
	line-height: 1.3;
	transition: color var(--transition);
}

.sidebar-recent-posts__title:hover { color: var(--color-ocean); }

.sidebar-recent-posts__date {
	font-size: 0.76rem;
	color: var(--color-text-muted);
	margin-top: 0.2rem;
}

/* ---------- Archives (native wp_get_archives output) ---------- */
.sidebar-archives {
	max-height: 260px;
	overflow-y: auto;
	font-size: 0.88rem;
	color: var(--color-text-muted);
}

.sidebar-archives li { margin-bottom: 0.4rem; }

.sidebar-archives a {
	color: var(--color-navy);
	font-weight: 600;
	transition: color var(--transition);
}

.sidebar-archives a:hover { color: var(--color-ocean); }

.content-with-sidebar {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@media (max-width: 900px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
}

/* ---------- Single article ---------- */
.entry-content { color: var(--color-text); font-size: 1.02rem; }
.entry-content > * + * { margin-top: var(--space-sm); }
.entry-content h2, .entry-content h3 { margin-top: var(--space-lg); }
.entry-content img { border-radius: var(--radius); }
