/* About Page Styles - Green Theme (No Animations) */

/* Tailwind utilities for richtext content */
.richtext-content p {
  margin-bottom: 1rem;
  color: #374151;
  line-height: 1.65;
  font-size: 1.0625rem;
}

.richtext-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1b2a1e;
}

.richtext-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #1b2a1e;
}

.richtext-content ul,
.richtext-content ol {
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  list-style-type: disc;
}

.richtext-content li {
  margin-bottom: 0.5rem;
  color: #374151;
}

.richtext-content strong {
  font-weight: 600;
  color: #1b2a1e;
}

/* Green gradient backgrounds - matching home page */
.gradient-bg {
  background: linear-gradient(135deg, #1e8756 0%, #14532d 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #1e8756 0%, #14532d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass effect for cards */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 135, 86, 0.15);
  box-shadow: 0 6px 28px rgba(30, 135, 86, 0.08);
  transition: box-shadow 0.3s ease;
}

.glass-card:hover {
  box-shadow: 0 14px 44px rgba(30, 135, 86, 0.15);
}

/* Page background - light green */
.about-page-bg {
  background: linear-gradient(135deg, #f0fdf4 0%, #f7fbf8 50%, #ffffff 100%);
  min-height: 100vh;
}

/* Section title underline - green */
.section-underline {
  height: 4px;
  width: 64px;
  background: #1e8756;
  border-radius: 2px;
}

/* Hero portrait glow effect - green */
.portrait-glow {
  box-shadow: 0 0 40px rgba(30, 135, 86, 0.3);
}

/* Quick facts icons - matching home page colors */
.quick-fact-icon-green {
  color: #1e8756;
}

.quick-fact-icon-gold {
  color: #d4a841;
}

.quick-fact-icon-dark {
  color: #14532d;
}

/* Decorative circles - green shades */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
}

.decorative-circle-1 {
  top: 10%;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(30, 135, 86, 0.2);
}

.decorative-circle-2 {
  bottom: 10%;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(212, 168, 65, 0.15);
}

/* ══════════════════════════════════════════
   About Detail Page (about_detail_page.html)
   ══════════════════════════════════════════ */

/* ── Hero Banner ── */
.ab-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 24px 0 24px;
}
.ab-hero-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0d3b22 0%, #1e8756 60%, #2d6a4f 100%);
  border-radius: 20px 20px 0 0;
  padding: 48px 40px;
  overflow: hidden;
  position: relative;
}
.ab-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 40%);
  pointer-events: none;
}
.ab-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Portrait */
.ab-portrait-wrap { flex-shrink: 0; position: relative; }
.ab-portrait-ring {
  width: 160px; height: 160px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.4) 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.ab-portrait-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.ab-portrait-badge {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ab-portrait-badge svg { width: 18px; height: 18px; fill: #1e8756; }

/* Hero text */
.ab-hero-text { color: #fff; }
.ab-hero-name {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -.5px;
}
.ab-hero-subtitle {
  font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,.85);
  margin: 0 0 10px;
}
.ab-hero-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.5;
}
.ab-hero-divider {
  width: 48px; height: 3px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
}

/* ── Stat Bar ── */
.ab-stats { background: transparent; }
.ab-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.ab-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid #e5e7eb;
  transition: background .2s;
}
.ab-stat:last-child { border-right: none; }
.ab-stat:hover { background: #e6f4ea; }
.ab-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e8756, #14532d);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ab-stat-icon svg {
  width: 20px; height: 20px;
  stroke: #fff; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ab-stat-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px;
  color: #6b7280; margin-bottom: 3px;
}
.ab-stat-value {
  font-size: 14px; font-weight: 700;
  color: #1f2937; line-height: 1.3;
}

/* ── Body ── */
.ab-body {
  max-width: 948px;
  margin: 16px auto 48px;
  padding: 0 24px;
}
.ab-content-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}

/* Richtext */
.ab-richtext {
  color: #1f2937;
  line-height: 1.8;
  font-size: 16px;
}
.ab-richtext p { margin-bottom: 18px; }
.ab-richtext p:last-child { margin-bottom: 0; }
.ab-richtext h2 { font-size: 24px; font-weight: 700; color: #1e8756; margin: 28px 0 10px; }
.ab-richtext h3 { font-size: 19px; font-weight: 600; margin: 22px 0 8px; }
.ab-richtext ul, .ab-richtext ol { margin-left: 22px; margin-bottom: 16px; }
.ab-richtext li { margin-bottom: 6px; }
.ab-richtext a { color: #1e8756; font-weight: 600; text-decoration: none; }
.ab-richtext a:hover { text-decoration: underline; }
.ab-richtext blockquote {
  border-left: 4px solid #1e8756;
  padding: 12px 20px;
  margin: 22px 0;
  background: #e6f4ea;
  border-radius: 0 10px 10px 0;
  color: #6b7280; font-style: italic; font-size: 15px;
}
.ab-richtext img { max-width: 100%; border-radius: 12px; margin: 20px 0; }

/* ── Responsive (detail) ── */
@media (max-width: 700px) {
  .ab-hero-inner { flex-direction: column; text-align: center; gap: 24px; }
  .ab-hero-divider { margin: 0 auto; }
  .ab-stats-inner { flex-direction: column; }
  .ab-stat { border-right: none; border-bottom: 1px solid #e5e7eb; }
  .ab-stat:last-child { border-bottom: none; }
  .ab-content-card { padding: 24px 18px; }
}

/* ══════════════════════════════════════════
   About Index Page (about_index_page.html)
   ══════════════════════════════════════════ */

.leader-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  text-decoration: none;
  color: #1f2937;
}
.leader-card:hover { color: #1f2937; }

.leader-portrait {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e6f4ea;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.leader-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e8756, #14532d);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.leader-info { flex: 1; min-width: 0; }
.leader-name { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.leader-subtitle { font-size: 13px; font-weight: 600; color: #1e8756; margin: 0 0 4px; }
.leader-tagline {
  font-size: 12px; color: #6b7280; font-style: italic; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.leader-arrow {
  font-size: 22px; color: #1e8756; opacity: .5; flex-shrink: 0;
  transition: opacity .2s, transform .2s;
}
.tl-card-clickable:hover .leader-arrow { opacity: 1; transform: translateX(4px); }

.leader-role-badge {
  display: inline-flex;
  align-items: center;
  background: #1e8756;
  color: #fff;
  padding: 5px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.abi-empty {
  text-align: center;
  color: #6b7280;
  padding: 60px 24px;
  font-size: 15px;
}

/* ══════════════════════════════════════════
   Sticky date-range badge bar
   ══════════════════════════════════════════ */

.tl-datebar {
  position: fixed;
  top: 105px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #0d3b22 0%, #1e8756 60%, #2d6a4f 100%);
  box-shadow: 0 4px 16px rgba(13,59,34,.3);
  overflow-x: auto;
  scrollbar-width: none;
}
.tl-datebar::-webkit-scrollbar { display: none; }

/* Push page title and content down so they're not hidden behind the fixed bar */
.tl-datebar ~ .page-title-header {
  padding-top: 66px;
}
.tl-datebar ~ .gallery-page {
  padding-top: 0px;
}

.tl-datebar-pill {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .3px;
}

.tl-datebar-pill:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  color: #fff;
  transform: translateY(-1px);
}

.tl-datebar-pill.active {
  background: #fff;
  border-color: #fff;
  color: #1e8756;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   About Index Page – timeline overrides
   ══════════════════════════════════════════ */

/* Timeline container width */
.timeline-page #leaderTimeline {
  max-width: 1100px;
}

.timeline-page .timeline-item {
  width: 50%;
  padding: 70px 24px 50px;
  overflow: visible;
}

/* Hide the generic ::before dot — replaced by tl-dot-date */
.timeline-page .timeline-item::before {
  display: none;
}

/* Date badge sitting exactly on the centre line */
.tl-dot-date {
  position: absolute;
  top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1e8756;
  color: #fff;
  border-radius: 10px;
  padding: 5px 9px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(30,135,86,.4);
  z-index: 3;
  min-width: 46px;
  transform: translateX(50%);
}
.tl-left  .tl-dot-date {
  right: 0;
  transform: translateX(50%);
}
.tl-right .tl-dot-date {
  left: 0;
  transform: translateX(-50%);
}

.tl-dot-day { font-size: 17px; font-weight: 800; }
.tl-dot-mon { font-size: 9px;  font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.tl-dot-yr  { font-size: 9px;  font-weight: 600; color: rgba(255,255,255,.75); }


.tl-leader-expanded {
  padding: 0;
  overflow: hidden;
}

/* Header row: portrait + name/subtitle/tagline */
.tle-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 20px 16px;
  background: linear-gradient(135deg, #0d3b22 0%, #1e8756 60%, #2d6a4f 100%);
}

.tle-portrait {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.3);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.tle-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.tle-header-text {
  flex: 1;
  min-width: 0;
  color: #fff;
}

.tle-header-text .leader-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.tle-header-text .leader-subtitle {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tle-tagline-full {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-style: italic;
  margin: 0;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Stats row */
.tle-stats {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}

.tle-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  border-right: 1px solid #e5e7eb;
}

.tle-stat:last-child {
  border-right: none;
}

/* Biography */
.tle-body {
  padding: 20px 20px 4px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
  .tle-stats { flex-direction: column; }
  .tle-stat { border-right: none; border-bottom: 1px solid #e5e7eb; }
  .tle-stat:last-child { border-bottom: none; }

}
