/**
 * WRA Timeline Posts Styles
 * Styles for the timeline posts listing shortcode
 */

/*.wra-timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}*/

.wra-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.wra-timeline-title {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -1px;
    color: #151515;
    margin: 0;
}

.wra-timeline-year-filter {
   /* display: flex;
    align-items: center;
    gap: 10px;*/
    background: #EEE;
    border-bottom: 1px solid #c6c6c6;
    margin-bottom: 30px;
    height: 37px;
    padding: 3px 10px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.wra-timeline-year-filter label {
    color: #818181;
    font-size: 15px;
    font-weight: 300;
    margin-right: 3px;
    line-height: 30px;
    margin-bottom: 0;
}

/*.wra-year-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    min-width: 150px;
}*/

/*.wra-year-select:focus {
    outline: none;
    border-color: #ff6600;
}*/

.wra-timeline-wrapper {
    position: relative;
/*    padding-left: 40px;*/
}

/*.wra-timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #ff6600;
    z-index: 1;
}*/

/*.wra-timeline-posts {
    position: relative;
    z-index: 2;
}*/

.wra-timeline-posts{
    border-left: 6px solid #fd8002;
    padding-left: 6px;
}

.post {
    /* position: relative; */
    /* margin-bottom: 50px; */
    /* padding-left: 30px; */
    margin-left: -20px;
    background: url(../imgs/post_bg3.png) left top no-repeat;
    margin-right: 20px;
/*    padding: 20px 20px 20px 50px;*/
/*    position: relative;*/
/*    z-index: 2;*/
}

.post_bottom{
   /* content: "";
    position: absolute;
    bottom: 0;*/
    background: url(../imgs/post_bg_bottom.jpg) right top no-repeat;
    width: 610px;
    height: 9px;
   /* left: 0;
    z-index: -1;*/
}
.post_inner {
    padding: 20px 20px 20px 50px;
}
.post.t4 .imgs{
    display: flex;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}
.post.t4 .imgs img {
    width: 100px;
    height: 100px;
}
/* .wra-timeline-post::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #000;
    border: 2px solid #fff;
    z-index: 3;
} */
/*.post.t2 .text div{
    margin-bottom: 15px;
}*/
.post.t2 .text div a{
    color: #333;
    text-decoration: underline;
}
.post .date {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-bottom: 0;
}
.post.t2 .post_inner .info .img{
    margin-top: 8px;
    margin-bottom: 8px;
}
.post.t3 .post_inner{
    display: flex;
    gap: 10px;
}
.post.t3 .post_inner .imgs{
    flex: 0 0 220px;
    max-width: 220px;
}
.post.t3 .post_inner .info{
    flex: 0 0 320px;
    max-width: 320px;
}
.post.t3 .post_inner .imgs .img_big img {
    width: 200px;
    margin-bottom: 8px;
}
.post.t3 .post_inner .imgs .img_small{
    float: left;
}
.post.t3 .post_inner .imgs .img_small img {
    width: 96px;
    height: 96px;
}
.post.t3 .post_inner .imgs .img_small:nth-child(2n) {
    margin-right: 8px;
}
.post.t4 .post_inner .info .text a{
    color: #333;
    text-decoration: underline;
}
/* .wra-timeline-post-content {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}*/

/*.wra-timeline-post.type-4 .wra-timeline-post-images {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}*/

/*.wra-timeline-post-image {
    position: relative;
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
}*/

.wra-timeline-post.type-4 .wra-timeline-post-image img {
    width: 100px;
    height: 100px;
/*    object-fit: cover;*/
}

.wra-timeline-post.type-2 .wra-timeline-post-image img {
    width: 100%;
    height: auto;
/*    object-fit: cover;*/
}

/*.wra-timeline-post-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 1;
}*/

/*.wra-image-location {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
    z-index: 2;
    text-transform: uppercase;
}

.wra-image-sold {
    position: absolute;
    top: 30px;
    left: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}*/

.post .title {
    font-size: 22px;
    font-weight: 400;
    color: #151515;
    margin-bottom: 8px;
    line-height: 23px;
}

/*.wra-timeline-post-subtitle {
    display: none;
}*/

.post .text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0;
    color: #151515;
}

.wra-timeline-post-message {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
    display: none;
}

.wra-timeline-post-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
     display: none;
}

.wra-timeline-post-hashtag {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
}

.wra-timeline-post-hashtag:hover {
    color: #ff6600;
    text-decoration: underline;
}

/* Post type 1: Single large image */
.wra-timeline-post.type-1 .wra-timeline-post-images {
    display: block;
}

/*.wra-timeline-post.type-1 .wra-timeline-post-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 16/9;
}*/

/* Post type 2: 1 photo */
/*.wra-timeline-post.type-2 .wra-timeline-post-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4/3;
}*/

/* Post type 3: 3 photos */
.wra-timeline-post.type-3 .wra-timeline-post-image {
    width: calc(33.333% - 7px);
    height: 200px;
}

/* Post type 4: 5 photos */
/*.wra-timeline-post.type-4 .wra-timeline-post-image {
    width: calc(20% - 8px);
    height: 150px;
}*/

/* Loading state */
.wra-timeline-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1rem;
}

/*.wra-timeline-load-more-wrapper {*/
/*    text-align: center;*/
    /*margin-top: 40px;
    padding: 20px 0;*/
/*}*/

.wra-timeline-load-more {
    /*background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 12px 30px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    text-transform: lowercase;
    transition: all 0.3s ease;*/
    margin: 20px 0px 0px 30px;
    width: 570px;
    padding: 10px;
    background: #CCC;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    color: #666;
    border: 1px solid #AAA;
    cursor: pointer;
}

.wra-timeline-load-more:hover {
    background-color: #e8e8e8;
    border-color: #ccc;
    color: #444;
}

.wra-timeline-load-more:active {
    transform: translateY(1px);
}

.wra-timeline-no-posts {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1rem;
}

/* Responsive design */
@media (min-width: 768px) and (max-width: 992px){
    .post{
        background-size: cover;
        margin-left: -25px;
    }
    .post_inner {
        padding: 20px 20px 20px 80px;
    }
    .wra-timeline-load-more {
        margin: 20px 0px 0px 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wra-timeline-container {
        padding: 15px;
    }
    
    .wra-timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wra-timeline-title {
        font-size: 2rem;
    }
    
    .post{
            margin-right: -10px;
            background-size: cover;
    }
    
    .wra-timeline-post {
        padding-left: 25px;
    }
    
    .wra-timeline-post::before {
        left: -33px;
        width: 12px;
        height: 12px;
    }
    
    .wra-timeline-post-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }
    
    .wra-timeline-post.type-3 .wra-timeline-post-image,
    .wra-timeline-post.type-4 .wra-timeline-post-image {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px){
    .wra-timeline-load-more {
        margin: 20px 0px 0px 0;
        width: 100%;
    }
    .post.t3 .post_inner{
        flex-direction: column;
    }
    .post.t3 .post_inner .imgs,.post.t3 .post_inner .info {
        flex: 0 0 100%;
        max-width: 100%;
    }
}