/* Inner pages — matches homepage brand (sidebar layout) */

/* Unified sidebar: undo legacy style.css `nav` rules when both sheets load */
#sidebar-menu nav {
  position: static;
  top: auto;
  z-index: auto;
  background: transparent;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  gap: 0;
}

#sidebar-menu nav a.nav-btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.site-page-main {
  flex: 1;
  min-width: 0;
  background: #F9F8F6;
}

.page-shell {
  padding: 1.5rem 1.25rem 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .page-shell {
    padding: 2rem 2.5rem 3rem;
  }
}

.page-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A84C;
  margin: 0 0 6px;
}

.page-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #0A2518;
  margin: 0 0 8px;
  line-height: 1.15;
}

.page-sub {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.55;
  max-width: 40rem;
}

.page-panel {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #0A2518;
  color: #C9A84C;
  border: none;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn-brand:hover {
  background: #123824;
  color: #e8d49e;
}

.btn-brand:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-brand-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0A2518;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.btn-brand-outline:hover,
.btn-brand-outline.active {
  background: #0A2518;
  color: #C9A84C;
  border-color: #0A2518;
}

/* Legacy class overrides from old style.css */
.site-page-main .btn-primary {
  background: #0A2518 !important;
  color: #C9A84C !important;
  border-radius: 0.75rem !important;
  box-shadow: none !important;
  font-size: 13px !important;
  padding: 0.65rem 1.25rem !important;
}

.site-page-main .btn-primary:hover {
  background: #123824 !important;
  transform: none !important;
}

.site-page-main .section-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  color: #0A2518 !important;
  margin: 0 0 8px !important;
}

.site-page-main .meta-line {
  color: #6b7280 !important;
  font-size: 14px !important;
  margin-bottom: 1.25rem !important;
}

.site-page-main .briefing,
.site-page-main .jobs {
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Reviews */
.rev-section {
  background: #F9F8F6;
  color: #374151;
  padding: 3.5rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.rev-section--page {
  border-radius: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  margin-top: 0;
}

.rev-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  max-width: 64rem;
  margin: 0 auto 1.75rem;
}

.rev-aggregate {
  text-align: right;
}

.rev-aggregate-stars {
  color: #e4c86b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rev-aggregate-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 800;
  color: #C9A84C;
  line-height: 1;
}

.rev-aggregate-meta {
  font-size: 11px;
  color: #6b7280;
  margin: 4px 0 0;
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .rev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rev-grid {
    grid-template-columns: 1fr;
  }
}

.rev-card {
  background: #184b38;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-top: 3px solid #C9A84C;
  border-radius: 1.1rem;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.rev-head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.rev-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #1a3d2b;
  color: #C9A84C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.rev-meta {
  min-width: 0;
  flex: 1;
}

.rev-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.rev-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.rev-badge {
  font-size: 9px;
  background: rgba(201, 168, 76, 0.18);
  color: #C9A84C;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rev-city {
  font-size: 11px;
  color: #C9A84C;
  font-weight: 600;
  margin-top: 2px;
}

.rev-stars-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 4px;
}

.rev-stars {
  color: #e4c86b;
  font-size: 13px;
  letter-spacing: 1px;
}

.rev-rating {
  font-size: 12px;
  color: #f0d98a;
  font-weight: 700;
}

.rev-text {
  font-size: 13px;
  line-height: 1.65;
  color: #f3f5ef;
  font-style: italic;
  margin: 0;
}

.rev-text--landing {
  min-height: 2.8em;
}

.rev-text--page {
  min-height: 5.6em;
  font-style: italic;
}

.rev-card:target .rev-text--page,
.rev-card.rev-card--highlight .rev-text--page {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  font-style: normal;
  line-height: 1.7;
}

.rev-card--highlight {
  outline: 2px solid #C9A84C;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.15);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rev-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  margin-top: auto;
}

.rev-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  font-weight: 700;
  color: #C9A84C;
  text-decoration: none;
}

.rev-read:hover {
  color: #e8d49e;
}

.rev-view-all-wrap {
  text-align: center;
  margin-top: 1.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.rev-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #0A2518;
  color: #0A2518;
  background: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.rev-view-all:hover {
  background: #0A2518;
  color: #C9A84C;
}

.rev-brand {
  font-size: 10px;
  color: rgba(201, 168, 76, 0.55);
  font-style: italic;
}

.rev-load-wrap {
  text-align: center;
  margin-top: 1.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.rev-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #C9A84C;
  background: transparent;
  color: #C9A84C;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.rev-load-more:hover {
  background: #C9A84C;
  color: #0A2518;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
