/*-- -------------------------- -->
<---        Oliver Log          -->
<--- -------------------------- -*/

#oliver-log {
    padding: 7rem 1rem 5rem;
    background: #f7f4eb;
}

#oliver-log .cs-container {
    width: 100%;
    max-width: 58rem;
    margin: 0 auto;
}

.pdf-library__back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #4b5d3d;
    text-decoration: none;
    font-weight: 700;
}

.pdf-library__back:hover {
    text-decoration: underline;
}

.oliver-log__header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd6c7;
}

.oliver-log__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a745c;
}

.oliver-log__title {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1.08;
    color: #4b5d3d;
    max-width: 22ch;
}

.oliver-log__meta {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475043;
    max-width: 52rem;
}

.oliver-log__intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #ddd6c7;
}

.oliver-log__intro-text {
    max-width: 44rem;
}

.oliver-log__intro-text p {
    margin: 0 0 1rem;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #475043;
}

.oliver-log__intro-text p:last-child {
    margin-bottom: 0;
}

.oliver-log__intro-image {
    display: flex;
    justify-content: center;
}

.oliver-log__intro-image img {
    width: 100%;
    max-width: 22rem;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

.oliver-log__timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.oliver-update {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #ddd6c7;
}

.oliver-update:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.oliver-update__head {
    margin-bottom: 1rem;
}

.oliver-update__date {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #ece6d7;
    color: #4b5d3d;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.oliver-update__title {
    margin: 0;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.2;
    color: #4b5d3d;
    max-width: 24ch;
}

.oliver-update__body {
    max-width: 46rem;
}

.oliver-update__body p {
    margin: 0 0 1rem;
    font-size: 1.06rem;
    line-height: 1.9;
    color: #475043;
}

.oliver-update__body p:last-child {
    margin-bottom: 0;
}

.oliver-update__list {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
    max-width: 44rem;
}

.oliver-update__list li {
    margin-bottom: 0.55rem;
    font-size: 1.03rem;
    line-height: 1.8;
    color: #475043;
}

.oliver-update__gallery {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.oliver-update__gallery img {
    width: 100%;
    max-width: 22rem;
    height: auto;
    display: block;
    border-radius: 1rem;
    background: #f3eee2;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

.oliver-update__gallery--two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.oliver-update__gallery--two img {
    max-width: 100%;
}

.oliver-update--videos .oliver-update__body {
    max-width: 46rem;
}

.oliver-update--videos .interest-card__video-button + p {
    margin-top: 1rem;
}

.interest-card__video-button {
    font-size: 0.95rem;
    line-height: 2.75rem;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    min-width: 8rem;
    padding: 0 1.1rem;
    background-color: #4b5d3d;
    border: none;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    margin-top: 0.75rem;
}

.interest-card__video-button:hover {
    background-color: #3f4e33;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.video-lightbox[hidden] {
    display: none;
}

.video-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.video-lightbox__dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 52rem);
    background: #111;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
}

.video-lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.video-lightbox__dialog video {
    width: 100%;
    max-height: 80vh;
    display: block;
    background: #000;
}

/* Tablet */
@media only screen and (min-width: 48rem) {
    #oliver-log {
        padding: 8rem 1rem 6rem;
    }

    .oliver-log__intro {
        gap: 2rem;
    }

    .oliver-log__intro-image {
        justify-content: flex-start;
    }

    .oliver-update__gallery--two {
        grid-template-columns: repeat(2, minmax(0, 22rem));
        justify-content: start;
    }
}

/* Desktop */
@media only screen and (min-width: 64rem) {
    #oliver-log {
        padding: 9rem 1rem 7rem;
    }

    #oliver-log .cs-container {
        max-width: 62rem;
    }

    .oliver-log__title {
        max-width: 26ch;
    }

    .oliver-log__intro-image img {
        max-width: 30rem;
    }

    .oliver-update__gallery img {
        max-width: 30rem;
    }

    .oliver-update__gallery--two {
        grid-template-columns: repeat(2, minmax(0, 24rem));
    }
}