/*
|--------------------------------------------------------------------------
| SAN NICODEMO ABATE
|--------------------------------------------------------------------------
| PUBLIC PROJECT UPDATES TIMELINE
|--------------------------------------------------------------------------
|
| Dedicated styles for the database-driven project updates shown on the
| Statue Project page.
|
|--------------------------------------------------------------------------
*/

.statue-project-updates {
    width: min(1180px, calc(100% - 40px));
    margin: 66px auto 0;
    padding: clamp(32px, 5vw, 58px);

    border: 1px solid rgba(16, 38, 58, 0.10);
    border-radius: 26px;

    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(215, 165, 31, 0.08),
            transparent 24%
        ),
        #ffffff;

    box-shadow: 0 18px 44px rgba(13, 34, 54, 0.08);
}

.statue-project-updates .eyebrow {
    margin: 0;

    color: #b37f00;

    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.statue-project-updates-head {
    max-width: 780px;
}

.statue-project-updates-head h2 {
    margin: 10px 0 14px;

    color: #10263a;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.statue-project-updates-head > p:last-child {
    margin: 0;

    color: #697b8d;

    line-height: 1.75;
}

.statue-project-timeline {
    position: relative;

    margin-top: 34px;
    padding-left: 38px;
}

.statue-project-timeline::before {
    content: "";

    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 8px;

    width: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #d7a51f 0%,
            rgba(215, 165, 31, 0.22) 100%
        );
}

.statue-project-timeline-item {
    position: relative;

    margin: 0 0 24px;
}

.statue-project-timeline-item:last-child {
    margin-bottom: 0;
}

.statue-project-timeline-marker {
    position: absolute;
    top: 22px;
    left: -38px;

    width: 18px;
    height: 18px;

    border: 4px solid #ffffff;
    border-radius: 50%;

    background: #d7a51f;

    box-shadow:
        0 0 0 1px rgba(215, 165, 31, 0.35),
        0 5px 12px rgba(13, 34, 54, 0.10);
}

.statue-project-timeline-card {
    overflow: hidden;

    padding: 28px 30px;

    border: 1px solid rgba(13, 34, 54, 0.08);
    border-radius: 19px;

    background:
        linear-gradient(
            135deg,
            #fffdf7 0%,
            #ffffff 68%
        );

    box-shadow:
        0 12px 30px rgba(13, 34, 54, 0.055);
}

.statue-project-update-date {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    border: 1px solid rgba(215, 165, 31, 0.18);
    border-radius: 999px;

    background: rgba(215, 165, 31, 0.08);

    color: #9d7200;

    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.statue-project-timeline-card h3 {
    margin: 16px 0 10px;

    color: #10263a;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.7vw, 2.25rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.statue-project-update-body {
    max-width: 820px;

    color: #697b8d;

    font-size: 0.97rem;
    line-height: 1.75;
}

.statue-project-update-image {
    overflow: hidden;

    margin: 24px 0 0;

    border: 1px solid rgba(13, 34, 54, 0.08);
    border-radius: 16px;

    background: #fbf8f0;
}

.statue-project-update-image img {
    display: block;

    width: 100%;
    max-height: 520px;

    object-fit: cover;
}


@media (max-width: 900px) {

    .statue-project-updates {
        width: min(100% - 28px, 1180px);

        margin-top: 48px;
        padding: 34px 28px;
    }

    .statue-project-timeline {
        padding-left: 34px;
    }

    .statue-project-timeline-marker {
        left: -34px;
    }
}


@media (max-width: 600px) {

    .statue-project-updates {
        width: calc(100% - 20px);

        margin-top: 34px;
        padding: 24px 18px;

        border-radius: 20px;
    }

    .statue-project-updates-head h2 {
        font-size: 2.2rem;
    }

    .statue-project-timeline {
        margin-top: 26px;
        padding-left: 27px;
    }

    .statue-project-timeline::before {
        left: 6px;
    }

    .statue-project-timeline-marker {
        top: 19px;
        left: -27px;

        width: 15px;
        height: 15px;

        border-width: 3px;
    }

    .statue-project-timeline-card {
        padding: 22px 18px;

        border-radius: 16px;
    }

    .statue-project-timeline-card h3 {
        margin-top: 14px;

        font-size: 1.65rem;
    }

    .statue-project-update-body {
        font-size: 0.93rem;
        line-height: 1.7;
    }

    .statue-project-update-date {
        font-size: 0.62rem;
    }

    .statue-project-update-image {
        margin-top: 18px;

        border-radius: 13px;
    }
}
