/* ============================================================
   MPTM & RTC 2026 — Inner Pages Shared CSS
   Extends style.css — all classes prefixed mptstc_
   ============================================================ */

/* ── INNER PAGE HERO BANNER (~25vh) ── */
.mptstc_inner-hero {
  position: relative;
  height: 25vh;
  min-height: 180px;
  max-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.mptstc_inner-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.mptstc_inner-hero-bg.mptstc_loaded { transform: scale(1); }
.mptstc_inner-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(26,15,6,0.82) 0%,
    rgba(26,15,6,0.55) 40%,
    rgba(26,15,6,0.25) 100%);
}
.mptstc_inner-hero-content {
  position: relative; z-index: 2;
  padding: 22px 32px 24px;
  animation: mptstc_heroIn 0.7s ease both;
}
.mptstc_inner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.mptstc_inner-breadcrumb a,
.mptstc_inner-breadcrumb span {
  font-size: 12px;
  color: rgba(245,239,228,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.mptstc_inner-breadcrumb a:hover { color: var(--mptstc-ochre); }
.mptstc_inner-breadcrumb .mptstc_bc-sep { color: rgba(245,239,228,0.4); font-size: 10px; }
.mptstc_inner-breadcrumb .mptstc_bc-current { color: var(--mptstc-ochre); font-weight: 600; }
.mptstc_inner-page-title {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  color: #fff;
  font-family: Georgia, serif;
  line-height: 1.2;
  margin: 0;
}
.mptstc_inner-page-title em { color: var(--mptstc-ochre); font-style: normal; }

/* ── SECTION BASE (re-declare for inner pages) ── */
.mptstc_section { padding: 48px 20px; }
.mptstc_section-cream { background: var(--mptstc-cream); }
.mptstc_section-white { background: var(--mptstc-cream-lt); }
.mptstc_container { max-width: 1100px; margin: 0 auto; }

/* ── ABOUT MPTM / RTC — DETAIL LAYOUT ── */
.mptstc_about-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.mptstc_about-detail-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,30,15,0.15);
  position: sticky;
  top: 80px;
}
.mptstc_about-detail-img img {
  width: 100%; display: block;
  transition: transform 0.5s ease;
}
.mptstc_about-detail-img:hover img { transform: scale(1.03); }
.mptstc_about-detail-body h2 {
  font-size: clamp(18px,2.5vw,26px);
  font-weight: 700; color: var(--mptstc-text);
  font-family: Georgia, serif; margin-bottom: 14px;
}
.mptstc_about-detail-body p {
  font-size: 14px; color: var(--mptstc-text-muted);
  line-height: 1.8; margin-bottom: 14px;
}
.mptstc_about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.mptstc_highlight-item {
  background: var(--mptstc-cream-lt);
  border: 1px solid var(--mptstc-border);
  border-left: 3px solid var(--mptstc-ochre);
  border-radius: 6px;
  padding: 12px 14px;
}
.mptstc_highlight-num {
  font-size: 22px; font-weight: 700;
  color: var(--mptstc-ochre);
  font-family: Georgia, serif;
  display: block;
}
.mptstc_highlight-label {
  font-size: 11px; color: var(--mptstc-text-muted);
  display: block; margin-top: 2px;
}
.mptstc_about-objectives {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
.mptstc_about-objectives li {
  font-size: 13px; color: var(--mptstc-text-md);
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--mptstc-border);
  position: relative; line-height: 1.6;
}
.mptstc_about-objectives li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--mptstc-ochre); font-weight: 700; font-size: 16px;
}
.mptstc_about-objectives li:last-child { border-bottom: none; }

/* ── FAM TOURS PAGE ── */
.mptstc_fam-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.mptstc_fam-page-card {
  background: var(--mptstc-cream-lt);
  border: 1px solid var(--mptstc-border);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mptstc_fam-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(44,30,15,0.14);
}
.mptstc_fam-page-img {
  height: 200px; overflow: hidden; position: relative;
}
.mptstc_fam-page-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.mptstc_fam-page-card:hover .mptstc_fam-page-img img { transform: scale(1.06); }
.mptstc_fam-page-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--mptstc-ochre); color: var(--mptstc-brown-dk);
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: 0.5px;
}
.mptstc_fam-page-body { padding: 20px; }
.mptstc_fam-page-type {
  font-size: 10px; font-weight: 700;
  color: var(--mptstc-ochre); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 6px;
}
.mptstc_fam-page-name {
  font-size: 16px; font-weight: 700;
  color: var(--mptstc-text); margin-bottom: 6px;
  font-family: Georgia, serif;
}
.mptstc_fam-page-stops {
  font-size: 12px; color: var(--mptstc-text-muted);
  margin-bottom: 14px;
}
.mptstc_fam-itinerary { list-style: none; padding: 0; margin: 0 0 16px; }
.mptstc_fam-itinerary li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--mptstc-border);
  font-size: 12px; color: var(--mptstc-text-md);
}
.mptstc_fam-itinerary li:last-child { border-bottom: none; }
.mptstc_fam-day-label {
  font-size: 10px; font-weight: 700;
  color: var(--mptstc-ochre); min-width: 36px;
  margin-top: 1px;
}

/* ── GALLERY PAGE ── */
.mptstc_gal-page-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 28px;
}
.mptstc_gal-filter-btn {
  background: var(--mptstc-cream-lt);
  border: 1.5px solid var(--mptstc-border);
  color: var(--mptstc-text-muted);
  padding: 7px 18px; font-size: 12px; font-weight: 600;
  border-radius: 20px; cursor: pointer;
  transition: all 0.25s ease;
}
.mptstc_gal-filter-btn:hover,
.mptstc_gal-filter-btn.mptstc_active {
  background: var(--mptstc-ochre);
  border-color: var(--mptstc-ochre);
  color: var(--mptstc-brown-dk);
}
.mptstc_gal-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mptstc_gal-page-item {
  border-radius: 8px; overflow: hidden;
  position: relative; cursor: pointer;
  aspect-ratio: 4/3;
}
.mptstc_gal-page-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.mptstc_gal-page-item:hover img { transform: scale(1.06); }
.mptstc_gal-page-overlay {
  position: absolute; inset: 0;
  background: rgba(44,30,15,0.5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
  padding: 12px;
}
.mptstc_gal-page-item:hover .mptstc_gal-page-overlay { opacity: 1; }
.mptstc_gal-page-overlay span { font-size: 28px; color: #fff; margin-bottom: 6px; }
.mptstc_gal-page-overlay p {
  font-size: 11px; color: rgba(255,255,255,0.85);
  text-align: center; margin: 0;
}

/* ── COMMITTEE PAGE ── */
.mptstc_committee-section { margin-bottom: 40px; }
.mptstc_committee-title {
  font-size: 18px; font-weight: 700;
  color: var(--mptstc-text); font-family: Georgia, serif;
  margin-bottom: 6px; padding-bottom: 10px;
  border-bottom: 2px solid var(--mptstc-ochre);
  display: flex; align-items: center; gap: 10px;
}
.mptstc_committee-title .mptstc_comm-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--mptstc-ochre);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--mptstc-brown-dk); font-weight: 700;
  flex-shrink: 0;
}
.mptstc_committee-desc {
  font-size: 13px; color: var(--mptstc-text-muted);
  margin-bottom: 16px; line-height: 1.6;
}
.mptstc_members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.mptstc_member-card {
  background: var(--mptstc-cream-lt);
  border: 1px solid var(--mptstc-border);
  border-radius: 10px; padding: 18px 14px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mptstc_member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44,30,15,0.1);
}
.mptstc_member-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--mptstc-ochre);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  color: var(--mptstc-brown-dk); font-family: Georgia, serif;
}
.mptstc_member-name { font-size: 12px; font-weight: 700; color: var(--mptstc-text); margin-bottom: 3px; }
.mptstc_member-role { font-size: 11px; color: var(--mptstc-ochre); font-weight: 600; margin-bottom: 4px; }
.mptstc_member-dept { font-size: 10px; color: var(--mptstc-text-muted); }

/* ── EVENTS PAGE ── */
.mptstc_events-tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--mptstc-border);
  margin-bottom: 28px; overflow-x: auto;
}
.mptstc_events-tab {
  padding: 11px 22px; font-size: 13px; font-weight: 600;
  color: var(--mptstc-text-muted); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  white-space: nowrap; transition: all 0.25s ease;
  background: none; border-top: none; border-left: none; border-right: none;
}
.mptstc_events-tab:hover { color: var(--mptstc-ochre); }
.mptstc_events-tab.mptstc_active {
  color: var(--mptstc-brown);
  border-bottom-color: var(--mptstc-ochre);
  font-weight: 700;
}
.mptstc_events-panel { display: none; }
.mptstc_events-panel.mptstc_active { display: block; }
.mptstc_event-card {
  background: var(--mptstc-cream-lt);
  border: 1px solid var(--mptstc-border);
  border-radius: 10px; overflow: hidden;
  display: grid; grid-template-columns: 260px 1fr;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.mptstc_event-card:hover {
  box-shadow: 0 10px 30px rgba(44,30,15,0.12);
  transform: translateY(-2px);
}
.mptstc_event-card-img {
  height: 100%; min-height: 160px; overflow: hidden;
}
.mptstc_event-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.mptstc_event-card:hover .mptstc_event-card-img img { transform: scale(1.05); }
.mptstc_event-card-body { padding: 22px; }
.mptstc_event-card-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.mptstc_event-meta-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--mptstc-text-muted);
}
.mptstc_event-meta-tag span { color: var(--mptstc-ochre); }
.mptstc_event-card-title {
  font-size: 17px; font-weight: 700;
  color: var(--mptstc-text); font-family: Georgia, serif;
  margin-bottom: 8px; line-height: 1.3;
}
.mptstc_event-card-desc {
  font-size: 13px; color: var(--mptstc-text-muted);
  line-height: 1.7; margin-bottom: 14px;
}
.mptstc_event-card-footer {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.mptstc_event-status {
  display: inline-block; padding: 4px 12px;
  border-radius: 20px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.mptstc_status-upcoming { background: rgba(45,90,39,0.12); color: #2d5a27; }
.mptstc_status-past { background: rgba(154,122,90,0.15); color: #7a5a3a; }
.mptstc_status-live { background: rgba(200,150,42,0.15); color: #7a5010; }

/* ── TIMELINE FULL (events page) ── */
.mptstc_full-timeline { position: relative; padding-left: 32px; }
.mptstc_full-tl-line {
  position: absolute; left: 6px; top: 0; bottom: 0;
  width: 2px; background: rgba(200,150,42,0.3);
}
.mptstc_full-tl-item {
  position: relative; margin-bottom: 28px;
  padding-left: 24px;
}
.mptstc_full-tl-dot {
  position: absolute; left: -28px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mptstc-ochre);
  border: 3px solid var(--mptstc-cream);
  box-shadow: 0 0 0 1px var(--mptstc-ochre);
  z-index: 1;
}
.mptstc_full-tl-date {
  font-size: 11px; font-weight: 700; color: var(--mptstc-ochre);
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px;
}
.mptstc_full-tl-content {
  background: var(--mptstc-cream-lt);
  border: 1px solid var(--mptstc-border);
  border-radius: 8px; padding: 14px 18px;
}
.mptstc_full-tl-title {
  font-size: 14px; font-weight: 700;
  color: var(--mptstc-text); margin-bottom: 4px;
  font-family: Georgia, serif;
}
.mptstc_full-tl-desc {
  font-size: 12px; color: var(--mptstc-text-muted); line-height: 1.6;
}

/* ── PAGE SHARED TYPOGRAPHY ── */
.mptstc_page-intro {
  max-width: 720px; margin: 0 auto 36px;
  text-align: center;
}
.mptstc_page-intro p {
  font-size: 14px; color: var(--mptstc-text-muted); line-height: 1.8;
}
.mptstc_sec-label {
  font-size: 10px; font-weight: 700; color: var(--mptstc-ochre);
  letter-spacing: 2.5px; text-transform: uppercase;
  text-align: center; margin-bottom: 6px; display: block;
}
.mptstc_sec-title {
  font-size: clamp(18px,2.5vw,26px); font-weight: 700;
  color: var(--mptstc-text); text-align: center;
  margin-bottom: 8px; font-family: Georgia, serif;
}
.mptstc_sec-subtitle {
  font-size: 13px; color: var(--mptstc-text-muted);
  text-align: center; max-width: 560px;
  margin: 0 auto 28px; line-height: 1.7;
}
.mptstc_divider {
  width: 48px; height: 1px;
  background: var(--mptstc-ochre);
  margin: 10px auto 22px;
}
.mptstc_view-all { text-align: center; margin-top: 24px; }
.mptstc_btn-ghost {
  background: transparent; border: 1.5px solid var(--mptstc-ochre);
  color: var(--mptstc-ochre); padding: 10px 28px; font-size: 12px; font-weight: 700;
  border-radius: var(--mptstc-radius); cursor: pointer;
  transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.mptstc_btn-ghost:hover {
  background: var(--mptstc-ochre); color: var(--mptstc-brown-dk); transform: translateY(-1px);
}
.mptstc_btn-primary {
  background: var(--mptstc-ochre); color: var(--mptstc-brown-dk);
  border: 2px solid var(--mptstc-ochre);
  padding: 9px 22px; font-size: 13px; font-weight: 700;
  border-radius: var(--mptstc-radius); cursor: pointer;
  transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.mptstc_btn-primary:hover {
  background: var(--mptstc-ochre-lt); border-color: var(--mptstc-ochre-lt);
  transform: translateY(-1px);
}

/* ── RESPONSIVE INNER PAGES ── */
@media (max-width: 900px) {
  .mptstc_about-detail-grid { grid-template-columns: 1fr; }
  .mptstc_about-detail-img { position: static; }
  .mptstc_event-card { grid-template-columns: 1fr; }
  .mptstc_event-card-img { min-height: 200px; }
  .mptstc_gal-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mptstc_inner-hero-content { padding: 16px 18px 20px; }
  .mptstc_about-highlights { grid-template-columns: 1fr 1fr; }
  .mptstc_gal-page-grid { grid-template-columns: repeat(2, 1fr); }
  .mptstc_members-grid { grid-template-columns: repeat(2, 1fr); }
  .mptstc_section { padding: 32px 14px; }
}
@media (max-width: 400px) {
  .mptstc_gal-page-grid { grid-template-columns: 1fr; }
  .mptstc_members-grid { grid-template-columns: 1fr; }
  .mptstc_about-highlights { grid-template-columns: 1fr; }
}
