.news-wrapper{
   border: 1px solid #F8C360;
   background: #F8C360; 
   align-self: stretch;
   height: auto;
   padding-inline: var(--content-spacing);
   position: relative;
   padding-bottom: 50px;
   @media (max-width: 767px) {
    padding: 0 20px 36px 20px;
    height: auto;
   }
}

.news-wrapper .corner-wrapper{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 0;
    justify-content: center;
    align-items: center;
}



.news-wrapper .news-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

/* Left + Right line */
.news-wrapper .news-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: "Zen Antique";
    font-size: 24px;
    font-weight: 400;
    color: #0C0C3F;
    position: relative;
}

/* Left & Right long line */
.news-wrapper .news-title::before,
.news-wrapper .news-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #0C0C3F;
}

/* Title text wrapper */
.news-wrapper .news-title span {
    position: relative;
    padding: 0 20px; /* space for dots */
    white-space: nowrap;
}

/* 3 dots left & right of text */
.news-wrapper .news-title span::before,
.news-wrapper .news-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 7px;
    background:
        radial-gradient(circle at 3.5px 50%, #0C0C3F 3px, transparent 4px),
        radial-gradient(circle at 18px 50%, #0C0C3F 3px, transparent 4px),
        radial-gradient(circle at 33px 50%, #0C0C3F 3px, transparent 4px);
    background-repeat: no-repeat;
}

/* Position dots */
.news-wrapper .news-title span::before {
    left: -50px;
}

.news-wrapper .news-title span::after {
    right: -60px;
}

.news-wrapper .news-inner-posts{
    display: flex;
    width: 100%;
    height: auto;
    padding: 22px 126px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: #FFF;
    box-sizing: border-box;
    @media (max-width: 767px) {
        padding: 20px;
        gap: 16px;
        height: auto;
    }

}

.news-wrapper .news-inner-posts .posts-custom{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: stretch;
    width: 100%;
}

.more-link-custom {
    display: flex;
    width: 230px;
    height: 50px;
    margin: 0;
    padding: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    border-radius: 25px;
    border: 2px solid #F8C360;
    background: #338;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
    @media (max-width: 767px) {
        display: none;
    }
}
 .more-link-custom .more-link-text{
    color: #F8C360;
    text-align: center;
    font-family: "Gen Jyuu Gothic";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
}
.more-link-custom:hover{
    background: #F8C360;
    border-color: #338;
}
.more-link-custom:hover .more-link-text{
    color: #338;
}



/* Post News Item - Scoped to .news-wrapper (home page only) */
.news-wrapper .post-news{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 12px 0;
    align-self: stretch;
    border-bottom: 1px solid #DDD;
    @media (max-width: 767px) {
        border-bottom: unset;
        padding-block: unset;
        border-top: unset;
    }
}
.news-wrapper .post-news:last-child{
    @media (min-width: 767px) {
        border-bottom: unset;
    }
}


.news-wrapper .post-image{
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.news-wrapper .post-image a{
    display: block;
    width: 100%;
    height: 100%;
}

.news-wrapper .post-image img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.news-wrapper .post-content{
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.news-wrapper .post-header{
    display: flex;
    flex-direction: column;
}

.news-wrapper .post-meta{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 21px;
    @media (max-width: 767px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.news-wrapper .post-meta-info{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 21px;
}

.news-wrapper .post-date{
    color: #3D3D3D;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.news-wrapper .post-new-badge{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #FF9900;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-wrapper .post-title{
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    @media (max-width: 767px) {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

.news-wrapper .post-title .post-link{
    color: #333333;
    text-decoration: none;
}

.news-wrapper .post-title .post-link:hover{
    text-decoration: underline;
}

.news-wrapper .post-excerpt{
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    @media (max-width: 767px) {
        display: none;
    }
}