/* ============================================
   Josia — Cards & content blocks
   ============================================ */

.jr-card {
    background: var(--jr-bg-card);
    border: 1px solid var(--jr-border-dark);
    border-radius: var(--jr-radius-card);
    padding: 32px;
    transition: all var(--jr-transition);
}
.jr-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--jr-border-dark);
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--jr-accent);
    border: 2px solid var(--jr-bg-primary);
}
.timeline-year {
    font-family: var(--jr-font-nav);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--jr-accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.timeline-title {
    font-family: var(--jr-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--jr-text-light);
    margin-bottom: 4px;
}
.timeline-desc {
    font-size: 15px;
    color: var(--jr-text-muted);
    line-height: 1.6;
}

.section-light .timeline::before { background: var(--jr-border-light); }
.section-light .timeline-item::before { border-color: var(--jr-bg-light); }
.section-light .timeline-title { color: var(--jr-text-dark); }

/* Photo grid */
.photo-grid {
    display: grid;
    gap: 12px;
}
.photo-grid-2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid-3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--jr-radius-card);
    transition: transform var(--jr-transition);
}
.photo-grid img:hover { transform: scale(1.02); }

@media (max-width: 767px) {
    .photo-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Stat/counter items */
.stat-item {
    text-align: center;
    padding: 24px;
}
.stat-number {
    font-family: var(--jr-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--jr-accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-family: var(--jr-font-nav);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--jr-text-muted);
}
