/* --------------------------------------------------
   RESET & BASE
-------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, "Segoe UI", sans-serif;
  background: #f5f3ee;
  color: #222;
  line-height: 1.6;
}

/* Page wrapper */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.tagline {
  font-size: 1.2rem;
  margin-top: .5rem;
text-align:center;
}


.mission {
  font-size: 1rem;
  margin-top: .5rem;
text-align:center;
}

.hhshome {
background: url("hhsimages/SS-KingStreet-small.jpg");
padding: 50px;
background-size: cover;	
background-repeat: no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  text-align:center;
background-size: auto (default);
background-position: center center;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.site-header {
 background: #000000;      /* Pure black */
  color: #FFFFFF;  
  border-bottom: 4px solid #c49a6c;
}

.site-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-title {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
.site-nav {
  display: flex;
  gap: 0.75rem;
}

.nav-link {
  color: #fdfaf5;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.15s;
}

.nav-link:hover {
  background: #fdfaf5;
  color: #3b1f2b;
}

.nav-link.active {
  border-color: #fdfaf5;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: #000;
  border: 1px solid #fdfaf5;
  color: #fdfaf5;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* --------------------------------------------------
   INTRO BOX
-------------------------------------------------- */
.intro {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid #e0d7c8;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.intro p {
  margin: 0 0 0.9rem;
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */
.button {
  display: inline-block;
  background: #c49a6c;
  color: #1f1410;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #b1844f;
  transition: 0.15s;
}

.button:hover {
  background: #d2aa7a;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* --------------------------------------------------
   UPDATE TILE GRID
-------------------------------------------------- */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.update-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.1rem;
  border: 1px solid #e0d7c8;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.update-card:hover {
  border-color: #c49a6c;
}

.update-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a5a3a;
}

.update-tag {
  background: #f3e4d0;
  border: 1px solid #e0c7a4;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.update-title a {
  color: #2b1a14;
  text-decoration: none;
}

.update-title a:hover {
  text-decoration: underline;
}

.update-excerpt {
  font-size: 0.9rem;
  color: #444;
}

.update-link {
  font-weight: 600;
  color: #7a4b2b;
  text-decoration: none;
}

.update-link:hover {
  text-decoration: underline;
}

.update-image {
  width: 150px;
  height: 150px;
  height: 180px !important;
  border-radius: 4px;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background: #f0ebe2;
  border-top: 1px solid #d7cbb8;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }

  .site-nav.site-nav-open {
    display: flex;
  }
}


.hhs-logo-panel {
  background: url("hhsimages/Russell-Bowlby-Railway.jpg");
  display: flex;
  justify-content: center;
  padding: 20px;
  background-size: cover;
  background-repeat: no-repeat;
}

.hhs-logo-panel img {
  height: 100px;
  display: block;
  border-radius: 4px;
}

/* ---------------------------------------------
   GLOBAL PAGE CONTAINER (controls alignment)
---------------------------------------------- */
.page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 3rem;
}


/* ---------------------------------------------
   HERO SECTION (now aligned with page-inner)
---------------------------------------------- */
.about-hero {
  background: #000000;
  color: #FFFFFF;
  padding: 60px 0;
}

.about-hero .hero-inner {
  max-width: 900px;      /* aligned with page-inner */
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;     /* matches homepage hero */
}

.about-hero .hero-text h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.about-hero .hero-image img {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}


/* ---------------------------------------------
   INTRO SECTION (aligned with page-inner)
---------------------------------------------- */
.intro-about {
  margin: 2rem 0;
}

.intro-about .intro-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.intro-about .intro-image img {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


/* ---------------------------------------------
   CONTENT GRID (cards like homepage updates)
---------------------------------------------- */
.content-grid {
  margin-top: 2rem;        /* removed max-width + auto margin */
  display: grid;
  gap: 2rem;
}

.content-card {
  background: #fff;
  border: 1px solid #D8D2C4;
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.content-card h3 {
  margin-top: 0;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.content-card p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.content-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-top: 1rem;
  border-radius: 8px;
}


/* ---------------------------------------------
   OPTIONAL CONTENT BLOCK (if used)
---------------------------------------------- */
.content-block {
  background: #FFFFFF;
  border: 1px solid #D8D2C4;
  padding: 1.8rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}


/* ---------------------------------------------
   RESPONSIVE BEHAVIOUR
---------------------------------------------- */
@media (max-width: 800px) {
  .intro-about .intro-inner {
    flex-direction: column;
    text-align: center;
  }

  .intro-about .intro-text,
  .intro-about .intro-image {
    flex: 1 1 100%;
  }

  .intro-about .intro-image img {
    max-width: 260px;
  }
}

.hhs-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0.5rem;
  background: #f5f3ee;
  border-radius: 6px;
  line-height: 1.6;
}

.hhs-category {
  margin: 2.5rem auto;
  max-width: 900px;
}

.hhs-category h2 {
  background: #e5e5e5;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.hhs-book {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.hhs-book-info h3 {
  margin: 0 0 0.3rem;
}

.format {
  font-weight: normal;
  font-size: 0.9rem;
  color: #666;
}

.hhs-tile-section {
  max-width: 900px;
  margin: 2rem auto;
}

.hhs-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.hhs-tile {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: 0.2s ease;
}

.hhs-tile:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.hhs-tile-thumb {
  width: 70px;
  height: 90px;
  background: #e5e5e5;
  border-radius: 4px;
  flex-shrink: 0;
}

.hhs-tile-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.hhs-tile-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #444;
  text-decoration: underline;
}

