/* Header Logo */
.wp-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.wp-logo {
  width: 80px;
  height: 80px;
  /*border-radius: 12px;
  border: 1px solid #e9e9e9;*/
  background: #fff;
  object-fit: cover;
  flex: 0 0 auto;
}

/* Ensure no padding around logo image */
.page-header .brand {
  padding: 0;
  font-family: "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: x-large;
  white-space: normal;   /* allow wrapping */
  max-width: 140px;      /* tweak to control where it wraps */
  line-height: 1.1;
}

/* Header Banner */
.top-banner {
  background: #e62727; /* red */
  color: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.top-banner__inner {
  padding: .75rem 1rem;
  font-family: 'Times New Roman', Times, serif;
  text-align: right;
  font-weight: 200;
}

/* Main 2-column layout */
.page-main { padding: 1rem 0 2rem; }

.page-main__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Left nav panel */
.side-nav__panel {
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.side-nav__heading {
  font-weight: 650;
  margin-bottom: .75rem;
}

.side-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.side-nav__item { margin: 0; }

.side-nav__link {
  display: block;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 120ms ease, transform 120ms ease;
}

.side-nav__link:hover,
.side-nav__link:focus-visible {
  border-color: #cfcfcf;
  transform: translateY(-1px);
  outline: none;
}

.side-nav__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;   /* forces YouTube-thumbnail-like proportions */
  object-fit: cover;
  background: #f3f3f3;
}

.side-nav__title {
  margin: .65rem .75rem .85rem;
  font-size: 1.02rem;
}

/* Small optional hint */
.side-nav__hint {
  margin: .9rem 0 0;
  font-size: .92rem;
  color: #555;
}

/* Main content cards */
.content__card {
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  background: #fff;
  padding: 1.25rem;
}

.content__title {
  margin: 0 0 .75rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.content__body p {
  margin: 0 0 .85rem;
  line-height: 1.6;
}

.content__body p:last-child { margin-bottom: 0; }

.content__card--rounded { margin-top: 1rem; }

.content__muted {
  margin: .25rem 0 0;
  color: #555;
}

/* Responsive: stack nav over content on smaller screens */
@media (max-width: 860px) {
  .page-main__grid {
    grid-template-columns: 1fr;
  }

  .side-nav__panel { padding: .9rem; }
}