/*

/* Style sheet for PointVictory.com 

/* Base styles to remove default browser spacing 
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333333;
  line-height: 1.6; /* Makes the article text comfortable to read 
}

/* to remove blue underline from links 
a {
  text-decoration: none;
}

/* ==========================================
   BANNER STYLES
   ========================================== 
.banner {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden;
}

#site-banner {
  background-color: #2c3e50; /* BIBLE gold #dfaf37 ;   HOME navy #2c3e50; GAMES dark green #004b49*  medium green #008080; bluegreen #0d98ba;
}

#bible-banner {
  background-color: #dfaf37 ;
}

#games-banner {
  background-color: #004b49 ;
}

.site-title {
  color: #ffffff;
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 1px;
  line-height: 60px;
}

.site-icon {
  height: 60px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-right: 15px;
}

*/

/* ==========================================
   1. MAIN CONTAINERS & NESTED ERA MECHANICS
   ========================================== */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: sans-serif;
}

.era-group {
  margin-bottom: 25px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.era-header {
  padding: 16px 20px;
  background-color: #f8fafc;
  cursor: pointer;
  list-style: none;
  outline: none;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease;
}

.era-header::-webkit-details-marker { display: none; }

.era-header:hover {
  background-color: #f1f5f9;
}

.era-group[open] .era-header {
  border-bottom-color: #e2e8f0;
}

.era-title {
  margin: 0;
  font-size: 1.35rem;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.era-title::after {
  content: '▼';
  font-size: 0.9rem;
  color: #94a3b8;
}

.era-group[open] .era-title::after {
  content: '▲';
}

.era-content {
  position: relative;
  padding: 30px 20px;
}

/* ==========================================
   2. SPINE LINE & BULLET SHAPES
   ========================================== */
.era-content::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px; 
  width: 4px;
  background-color: #e2e8f0;
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
  padding-left: 60px; 
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 35px; 
  top: 13px; 
  width: 14px;
  height: 14px;
  background-color: #dfaf37; 
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #dfaf37; 
  z-index: 1;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.timeline-item.no-details::after {
  background-color: #ffffff; 
}

.timeline-item:not(.no-details):hover::after {
  transform: translateY(-50%) rotate(45deg) scale(1.15);
}

/* ==========================================
   3. TEXT ROWS & TYPOGRAPHY PROPERTIES
   ========================================== */
.timeline-item summary,
.static-row {
  display: flex;
  flex-direction: column; 
  gap: 4px;
  list-style: none;
  outline: none;
}

.timeline-item summary {
  cursor: pointer;
  padding: 6px 10px;
  margin-left: 0px; 
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.timeline-item summary:hover {
  background-color: #f1f5f9;
}

.static-row {
  cursor: default; 
  padding: 6px 10px;
  margin-left: -10px;
}

.timeline-item summary::-webkit-details-marker { display: none; }

.date {
  font-size: 1.15rem; 
  font-weight: 700;
  color: #dfaf37; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.no-details .date {
  color: #cda12f; 
}

.title {
  margin: 0;
  font-size: 1.15rem; 
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

.title::after {
  content: ' ▾';
  font-size: 0.9rem;
  color: #64748b;
}

.title.no-arrow::after {
  content: ''; 
}

.timeline-item details[open] .title::after {
  content: ' ▴';
}

/* ==========================================
   4. ACCORDION SLIDE EXPANSION ENGINE
   ========================================== */
.content-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
}

.timeline-item details[open] ~ .content-wrapper,
.timeline-item details[open] .content-wrapper {
  max-height: 800px; /* Increased to accommodate extra image height scaling */
  opacity: 1;
}

.content {
  margin-top: 12px;
  padding: 16px;
  background-color: #f8fafc;
  border-left: 3px solid #dfaf37; 
  border-radius: 0 8px 8px 0;
  color: #475569;
  line-height: 1.6;
}

/* Media Flex Layout (Mobile-first stacked behavior) */
.image-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover; /* Prevents stretching */
  border-radius: 6px;
}

.text-block p {
  margin: 0;
}

/* ==========================================
   5. DESKTOP RESPONSIVE BREAKPOINTS
   ========================================== */
@media (min-width: 768px) {
  .timeline-item summary,
  .static-row {
    flex-direction: row; 
    align-items: baseline;
    gap: 20px;
  }
  
  .date {
    min-width: 90px; 
    text-align: right; 
  }

  .title {
    text-align: left; 
    flex-grow: 1; 
  }

  /* Side-by-side distribution layout for desktop screens */
  .image-layout {
    flex-direction: row;
    align-items: center;
  }

  .content-img {
    width: 180px; /* Fixed proportional anchor size */
    height: 120px;
  }
}

