/* Dayspring Timeline */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Manrope:wght@400;500;700&display=swap");

.dayspring-timeline {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dayspring-timeline__track-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 8rem;
    width: 100%;
    padding-top: 15px;
}


.dayspring-timeline__line {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 1px;
    background: #c8c8c8;
    pointer-events: none;
}

.dayspring-timeline__track {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10%;
    padding: 0 400px;
    transition: transform 0.4s ease;
    min-width: max-content;
}

.dayspring-timeline__year {
    position: relative;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.2s;
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 80px;
    overflow: visible;
}

.dayspring-timeline__year::before {
    content: "";
    display: block;
    position: absolute;
    top: -0.3rem;
    left: 50%;
    margin-left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background 0.2s, transform 0.2s;
    transform: scale(0.9);
}

.dayspring-timeline__year.is-active::before {
    background: #dc2626;
}

.dayspring-timeline__year span {
    font-size: 5vw;
    font-weight: 400;
    font-family: "Manrope", sans-serif;
    color: #c8c8c8;
    transition: color 0.2s;
}

.dayspring-timeline__year.is-active span {
    color: #1e293b;
}


.dayspring-timeline__content {
    max-width: 1920px;
    width: 85%;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 0 2rem;
    min-height: 280px;
    position: relative;
}

.dayspring-timeline__content-inner {
    display: flex;
    gap: 8%;
    align-items: center;
}

.dayspring-timeline__content-left {
    width: 50%;
    min-width: 0;
}

.dayspring-timeline__slide-counter {
    display: inline-block;
    color: black;
    padding: 0.35rem 1.1rem;
    font-family: Inter, sans-serif;
    font-size: 15px;
    border: 1px solid;
    border-radius: 40px;
    margin-bottom: 30px;
}

.dayspring-timeline__title {
    font-size: 36px;
    font-weight: 400;
    color: #1e293b;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    font-family: Manrope, sans-serif;
}

.dayspring-timeline__text {
    font-size: 20px;
    color: #000000;
    line-height: 1.4;
    margin: 0 0 2.5rem;
    font-family: Inter, sans-serif;
    font-weight: 400;
}

.dayspring-timeline__nav-arrows {
    display: flex;
    gap: 0.5rem;
}

.dayspring-timeline__nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    transition: opacity 0.2s;
}

.dayspring-timeline__nav-btn:hover {
    opacity: 0.7;
}

.dayspring-timeline__nav-prev {
    background-image: url("https://dayspring-construction.huddy.dev/wp-content/uploads/2026/03/arrow-left.png");
}

.dayspring-timeline__nav-next {
    background-image: url("https://dayspring-construction.huddy.dev/wp-content/uploads/2026/03/arrow-right.png");
}

.dayspring-timeline__content-right {
    width: 50%;
    min-width: 0;
}

.dayspring-timeline__image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .dayspring-timeline__content {
        max-width: 1920px;
        width: 100%;
        margin: 0;
        padding: 0 10%;
    }

    .dayspring-timeline__content-inner {
        flex-direction: column;
        gap: 30px;
    }

    .dayspring-timeline__content-left,
    .dayspring-timeline__content-right {
        flex: none;
        width: 100%;
    }

    .dayspring-timeline__track {
        gap: 2rem;
    }
}