/* ============================
   HERO
   ============================ */
.ms-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  background: #2a3a38 url('images/elephant-hill-2.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ms-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.ms-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 80px;
  color: #fff;
}
.ms-hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
}
.ms-hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 1rem;
}
.ms-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
}

/* ANCHOR BAR inside hero */
.ms-anchor-bar {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0;
    padding: 0 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.15);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ms-anchor-bar::-webkit-scrollbar {
    display: none;
}
.ms-anchor-bar a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.ms-anchor-bar a:hover {
  color: #fff;
  border-bottom-color: #f5a623;
}

/* ============================
   SHARED SECTION STYLES
   ============================ */
.ms-section { background: #fafaf7; }
.ms-section.alt-bg { background: #fff; }
.ms-container {
  max-width: 1100px;
  margin: 0 auto;
}
.ms-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.ms-section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #2a3a38;
  margin-bottom: 0.4rem;
}
.ms-section-header p {
  color: #888;
  font-size: 1rem;
}
.ms-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, #648381, transparent);
  margin: 0;
}

/* ============================
   MAGAZINE LAYOUT
   ============================ */
.magazine-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* FEATURED */
.article-featured {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.article-image-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.article-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-featured:hover .article-image-wrap img {
  transform: scale(1.04);
}
.article-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #648381;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.article-body {
  padding: 1.75rem;
}
.article-body h3 {
  font-size: 1.35rem;
  color: #2a3a38;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.article-meta {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 0.6rem;
}
.article-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.article-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: #648381;
  text-decoration: none;
  border-bottom: 2px solid #648381;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.article-read-more:hover { color: #2a3a38; border-color: #2a3a38; }

/* SECONDARY CARDS */
.articles-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.article-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 120px 1fr;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.article-card-image {
  overflow: hidden;
  height: 100%;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card-image img { transform: scale(1.06); }
.article-card-body {
  padding: 1rem 1.25rem;
}
.article-card-body h4 {
  font-size: 0.98rem;
  color: #2a3a38;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

/* ============================
   OUR STORYTELLERS
   ============================ */
.storytellers-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.storyteller-full-card {
  background: #f7fafa;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border-left: 4px solid #648381;
}
.storyteller-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e0ebea;
}
.storyteller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.storyteller-content { flex: 1; }
.storyteller-trail-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #648381;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.storyteller-content blockquote {
  font-size: 0.95rem;
  color: #444;
  font-style: italic;
  line-height: 1.8;
  margin: 0 0 0.75rem 0;
  border: none;
  padding: 0;
}
.storyteller-sig {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2a3a38;
  margin-bottom: 0.6rem;
}
.storyteller-ratings {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: #888;
}
.ms-cta-inline {
  text-align: center;
  padding: 2rem;
  background: #f0f5f5;
  border-radius: 10px;
}
.ms-cta-inline p {
  font-size: 1rem;
  color: #2a3a38;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.btn-ms {
  display: inline-block;
  text-decoration: none;
  background: #648381;
  color: #fff;
  padding: 0.7rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-ms:hover { background: #4f6b69; }

/* ============================
   ABOUT US / CHARTER
   ============================ */
.charter-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.charter-identity h3,
.charter-block h3 {
  font-size: 1.3rem;
  color: #2a3a38;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #648381;
}
.charter-identity p {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.charter-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.charter-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.charter-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #648381;
  min-width: 32px;
  line-height: 1.5;
}
.charter-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* POEM */
.poem-block {
  background: #648381;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
}
.poem-block h3 {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.poem-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 2.2;
  font-style: italic;
}

/* ============================
   NAV ACTIVE
   ============================ */
.navbar a.nav-active { color: #648381; font-weight: bold; }

/* ============================
   SCROLL REVEAL
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================
   TABLET
   ============================ */
@media (max-width: 1024px) {
  .ms-hero-content { padding: 0 40px; }
  .ms-anchor-bar { padding: 0 40px; }
  .magazine-layout { grid-template-columns: 1fr; }
  .article-featured .article-image-wrap { height: 240px; }
  .articles-secondary { display: grid; grid-template-columns: repeat(2, 1fr); }
  .charter-layout { grid-template-columns: 1fr; gap: 2rem; }
  .storytellers-full-grid { grid-template-columns: 1fr; }
}

/* ============================
   MOBILE
   ============================ */
@media (max-width: 767px) {
  .ms-hero { height: 55vh; }
  .ms-hero-content { padding: 0 20px; }
  .ms-anchor-bar { padding: 0 20px; overflow-x: auto; white-space: nowrap; }
  .articles-secondary { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 90px 1fr; }
  .storyteller-full-card { flex-direction: column; }
  .poem-block { padding: 2rem 1.25rem; }
}
