/* ============================================================
   pages.css  – shared styles for all inner pages
   (About, Our People, Our Investments, Blog/News, Contact)
   ============================================================ */

/* Make site-wrapper fill the viewport vertically so footer
   always sits at the bottom and no gap shows below it */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 36px); /* subtract .page-frame padding (18px × 2) */
}

/* The content area between nav and footer grows to fill space */
.page-content {
  flex: 1 0 auto;
  background-color: #ffffff;
}

/* ============ Page Hero Banner ============ */
.page-hero {
  width: 100%;
  height: 200px;
  background-color: #0d1b4c;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-hero img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============ Inner Page Body ============ */
.inner-body {
  padding: 30px 40px 40px 40px;
}

/* Gold heading used across pages */
.section-heading {
  color: var(--dig-gold);
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 18px;
}

/* ============ About Page ============ */
.about-img {
  width: 200px;
  height: auto;
  border: 3px solid var(--dig-gold);
  float: left;
  margin: 0 24px 16px 0;
}

/* ============ Our People Page ============ */
.people-img {
  width: 200px;
  height: auto;
  border: 3px solid var(--dig-gold);
  margin-bottom: 16px;
  display: block;
}

.people-img-caption {
  font-size: 0.8rem;
  text-align: center;
  color: #555;
  width: 200px;
  margin-bottom: 20px;
}

.people-img-block {
  float: left;
  margin: 0 24px 16px 0;
}

.highlight-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* BRW / Financial Review image badges */
.badge-img {
  width: 200px;
  height: auto;
  margin-bottom: 14px;
  border: 2px solid #ddd;
  display: block;
}

/* ============ Our Investments Page ============ */
.investments-sidebar {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 0;
  min-width: 160px;
}

.investments-sidebar a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  font-size: 0.92rem;
  transition: background 0.2s;
}

.investments-sidebar a:last-child {
  border-bottom: none;
}

.investments-sidebar a:hover,
.investments-sidebar a.active-cat {
  background-color: var(--dig-gold);
  color: #fff;
}

/* ============ Blog / News Page ============ */
.news-title-bar {
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: #ffffff;
  background-color: var(--dig-navy);
  padding: 10px 14px;
  margin-bottom: 0;
}

.news-block {
  border-bottom: 1px solid #ddd;
  padding: 14px 0;
}

.news-block:last-child {
  border-bottom: none;
}

.news-block p {
  font-size: 0.88rem;
  color: #333;
  margin-bottom: 6px;
}

.news-link {
  color: var(--dig-gold);
  font-size: 0.82rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-link:hover {
  text-decoration: underline;
  color: var(--dig-gold-light);
}

.news-image-block {
  position: relative;
  display: inline-block;
  margin: 8px 0;
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.news-overlay-text {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 8px;
}

/* ============ Contact Page ============ */
.contact-info p,
.contact-info li {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.7;
}

.contact-enquiry-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 12px;
}

.contact-enquiry-list li {
  color: var(--dig-gold);
  font-weight: bold;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.contact-form label {
  font-size: 0.85rem;
  color: #555;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 0;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--dig-gold);
  box-shadow: 0 0 0 2px rgba(184, 148, 47, 0.25);
}

.btn-send {
  background-color: #8baa4a;
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 10px 28px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.btn-send:hover {
  background-color: #7a9940;
  color: #fff;
}

.required-note {
  font-size: 0.78rem;
  color: #777;
  margin-top: 10px;
}

/* ============ Responsive ============ */
@media (max-width: 767.98px) {
  .inner-body {
    padding: 20px 18px 28px 18px;
  }

  .about-img,
  .people-img-block {
    float: none;
    margin: 0 auto 16px auto;
    display: block;
    width: 100%;
    max-width: 260px;
  }

  .page-hero {
    height: 130px;
  }

  .page-hero img {
    height: 130px;
  }

  .investments-sidebar {
    width: 100%;
  }

  .section-heading {
    font-size: 1.05rem;
  }

  .news-title-bar {
    font-size: 0.78rem;
  }
}
