/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/



.pck-announcements-timeline {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: none !important;
}

.pck-announcement-item {
    display: grid;
    grid-template-columns: 170px 45px minmax(0, 1fr);
    position: relative;
    padding: 28px 32px 28px 32px;
    background: #ffffff;
    border: none !important;
}

.pck-announcement-date {
    font-size: 14px;
    line-height: 1.4;
    color: #111111;
    white-space: nowrap;
}

.pck-announcement-marker {
    position: relative;
    display: flex;
    justify-content: center;
}

.pck-announcement-marker::before {
    content: "";
    position: absolute;
    top: -28px;
    bottom: -28px;
    left: 50%;
    width: 1px;
    background: #eeeeee;
    transform: translateX(-50%);
}

.pck-announcement-marker span {
    width: 7px;
    height: 7px;
    background: #eeeeee;
    border-radius: 50%;
    display: block;
    margin-top: 5px;
    position: relative;
    z-index: 2;
}

.pck-announcement-content {
    min-width: 0;
    max-width: 100%;
}

.pck-announcement-title {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.pck-announcement-title a {
    color: #5b7fbd;
    text-decoration: none;
}

.pck-announcement-title a:hover {
    color: #3f6099;
    text-decoration: underline;
}

/* One-line excerpt */
.pck-announcement-excerpt {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
    color: #111111;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcements-empty {
    padding: 20px 32px;
    background: #ffffff;
    border: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .pck-announcement-item {
        display: block;
        padding: 22px 18px 22px 40px;
        position: relative;
    }

    .pck-announcement-marker {
        position: absolute;
        left: 13px;
        top: 22px;
        height: 100%;
    }

    .pck-announcement-marker::before {
        top: -22px;
        bottom: -22px;
    }

    .pck-announcement-date {
        font-weight: 600;
        margin-bottom: 8px;
    }

    .pck-announcement-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .pck-announcement-excerpt {
        font-size: 14px;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }
}