﻿.heritage-timeline {
    position: relative;
    padding-left: 35px;
}

    .heritage-timeline::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #5b3df5;
        border-radius: 10px;
    }

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 22px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e91e63;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e91e63;
}

.timeline-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: .2s;
}

    .timeline-card:hover {
        transform: translateY(-2px);
    }




.hero-section {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient( 135deg, #f8fafc, #eef4ff );
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    background: #e0f2fe;
    color: #0369a1;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: auto;
}

.highlight-item {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

    .highlight-item strong {
        display: block;
        font-size: 1.6rem;
        color: #0f172a;
    }

    .highlight-item span {
        color: #64748b;
    }

@media (max-width: 768px) {
    .hero-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}


.family-introduction {
    padding: 1rem 2rem 3rem;
    background: #ffffff;
}

.intro-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.intro-label {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: #0c4a6e;
    background: #e0f2fe;
    padding: .5rem 1rem;
    border-radius: 999px;
}

.family-introduction h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.family-introduction p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    max-width: 700px;
    margin: auto;
}

.intro-highlights {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.intro-stat {
    text-align: center;
}

    .intro-stat strong {
        display: block;
        font-size: 2rem;
        color: #0f172a;
    }

    .intro-stat span {
        color: #64748b;
    }


.featured-story-card {
    border-left: 5px solid #0d6efd;
    background: linear-gradient( 135deg, #f8fafc, #ffffff );
}

.story-badge {
    display: inline-block;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e40af;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-story-card h2 {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.featured-story-card .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

#featuredJourney .row {
    margin-top: 1rem !important;
}

.featured-story-card,
.featured-journey-card {
    border-left: 5px solid #4f46e5;
    border-radius: 16px;
}

.story-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e0e7ff;
    color: #4338ca;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
}
.section-transition {
    text-align: center;
    font-size: 1.5rem;
    color: #94a3b8;
    margin: 0.5rem 0;
}

.hero-title {
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    margin-bottom: 1rem;
}

.hero-actions {
    margin-bottom: 0;
}

.legacy-section {
    padding: 5rem 2rem;
    background: linear-gradient( 180deg, #f8fafc, #ffffff );
}

.legacy-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.legacy-badge {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #ede9fe;
    color: #6d28d9;
    font-weight: 600;
    font-size: .85rem;
}

.legacy-section h2 {
    padding: 3rem 2rem;
}

.legacy-intro {
    max-width: 700px;
    margin: auto;
    color: #64748b;
    font-size: 1.1rem;
}

.legacy-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: transform .2s ease;
}

    .legacy-card:hover {
        transform: translateY(-4px);
    }

.legacy-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.legacy-card h5 {
    margin-bottom: .75rem;
}

.legacy-card p {
    color: #64748b;
    font-size: .95rem;
    margin: 0;
}

.place-card-description {
    min-height: 110px;
}

.story-summary {
    min-height: 120px;
}

.story-summary {
    line-height: 1.7;
}

.card .badge {
    font-size: .75rem;
}

.card h5 {
    min-height: 60px;
}

.discovery-summary {
    min-height: 90px;
    line-height: 1.7;
}

.card .badge {
    font-size: .75rem;
}


.explorer-guide {
    margin: 1rem 0 2rem;
}

.guide-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

    .guide-card h5 {
        margin-bottom: .5rem;
    }

.guide-details {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

    .guide-details.show {
        display: block;
    }

    .guide-details a {
        display: block;
        padding: .45rem 0;
        color: #334155;
        text-decoration: none;
        transition: all .2s ease;
    }

        .guide-details a:hover {
            color: #4f46e5;
            padding-left: 4px;
        }

.guide-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.featured-journey {
    margin-top: 2rem;
}

.journey-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.journey-stop {
    padding: .6rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-weight: 600;
}

.journey-arrow {
    color: #64748b;
    font-weight: bold;
}

.timeline-card.active {
    border: 2px solid #4f46e5;
    background: #eef2ff;
}

.journey-timeline-container {
    height: 600px;
    overflow-y: auto;
    padding-right: 12px;
}
.story-badge {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
}



.connected-heritage {
    margin-bottom: 4rem;
}

    .connected-heritage h3 {
        color: #4338ca;
        margin-bottom: .5rem;
    }



.collection-hero {
    padding: 3rem 0;
}

    .collection-hero h1 {
        margin-bottom: 1rem;
    }

    .collection-hero .lead {
        max-width: 800px;
        margin: 0 auto;
    }

.story-badge {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 600;
}

.guide-details {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

    .guide-details.show {
        display: block;
    }


.collection-preview {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

    .collection-preview strong {
        display: block;
        margin-bottom: .75rem;
        color: #4338ca;
    }

    .collection-preview ul {
        margin: 0;
        padding-left: 1.25rem;
    }

    .collection-preview li {
        margin-bottom: .4rem;
        color: #64748b;
    }

.card {
    border-radius: 12px;
}

.card-body {
    overflow-wrap: break-word;
}



.collection-glance h3 {
    color: #4338ca;
    margin-bottom: .5rem;
}

.collection-glance small {
    display: block;
}


.collection-glance h3 {
    color: #4338ca;
    font-weight: 700;
    margin-bottom: .25rem;
}

.collection-glance small {
    display: block;
    text-transform: uppercase;
    letter-spacing: .05em;
}



.preservation-record {
    background: linear-gradient(180deg, #fdfdfd 0%, #f7f7f7 100%);
    border: 1px solid #d8d8d8;
    border-left: 6px solid #7c5a2b;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.preservation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preservation-icon {
    font-size: 2rem;
}

.preservation-header h2 {
    margin: 0;
    font-size: 1.7rem;
    color: #2c2c2c;
}

.preservation-subtitle {
    margin: .25rem 0 0;
    color: #666;
    font-size: .95rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.preservation-date {
    color: #7c5a2b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .5rem;
}

.preservation-timestamp {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 1.25rem;
}

.preservation-text {
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.preservation-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-item {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 1rem;
}

.meta-label {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #777;
    margin-bottom: .35rem;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
}

    .meta-value.active {
        color: #1e7e34;
    }

.preservation-quote {
    margin: 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #7c5a2b;
    background: rgba(124,90,43,.06);
    font-style: italic;
    color: #555;
}

@media (max-width: 768px) {
    .preservation-record {
        padding: 1.5rem;
    }

    .preservation-timestamp {
        font-size: 1.2rem;
    }

    .preservation-header h2 {
        font-size: 1.4rem;
    }
}


.heritage-breadcrumb {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #4338ca;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

    .heritage-breadcrumb .breadcrumb {
        background: transparent;
        margin: 0;
    }

    .heritage-breadcrumb .breadcrumb-item {
        font-size: 0.95rem;
        font-weight: 500;
    }

        .heritage-breadcrumb .breadcrumb-item a {
            color: #4338ca;
            text-decoration: none;
        }

            .heritage-breadcrumb .breadcrumb-item a:hover {
                text-decoration: underline;
            }

        .heritage-breadcrumb .breadcrumb-item.active {
            color: #111827;
            font-weight: 700;
        }

        .heritage-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            content: "›";
            color: #9ca3af;
            font-weight: 600;
        }