/* Wrapper to control the overall section width */


/* News container for spacing */
.news-container {
   
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
}

.news-menu-link a {
    text-decoration:underline;
    color: #A83B5E;
    font-weight: 700;
}

/* Each news item layout */
.news-item {
    /* display: flex; */
    flex-direction: column;
    align-items: flex-start;  /* Align to left */
    text-align: left;
    border-bottom: 1px solid #ddd;
    padding: 0px 0px;
}

/* Centered but narrower "オススメ" badge */
.news-badge {
    margin-bottom:8px;
    margin-right: 5px;
    background: #6A2226;;  /* Dark Red */
    color: white;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 3px;
    display: inline-block;
    width: fit-content;  /* Reduce width dynamically */
    min-width: 75px;
   
}

/* Title styling */
.news-content h3 {
    font-size: 19px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

/* Content styling */
.news-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}
/* Center align the pagination */
.pagination {
    display: flex;
    gap: 10px; /* Space between pagination buttons */
    margin-top: 20px; /* Adjust this for spacing from the content */
}

/* Style the individual pagination buttons */
.pagination a, .pagination span {
    padding: 10px 15px;
    border: 1px solid #A83B5E;;
    border-radius: 5px;
    color: #A83B5E;;
    text-decoration: none;
    font-size: 14px;
}

/* Style the active/current page */
.pagination .current {
    background-color: #A83B5E;
    color: white;
}

/* Style the 'Next' and 'Previous' buttons */
.pagination .prev, .pagination .next {
    padding: 10px 15px;
    border: 1px solid #A83B5E;;
    border-radius: 5px;
    background-color: #f1f1f1;
    color: #A83B5E;;
    font-weight: bold;
}

/* Hover effect for pagination buttons */
.pagination a:hover, .pagination .prev:hover, .pagination .next:hover {
    background-color: #A83B5E;;
    color: white;
    border-color: #A83B5E;
}

@media(min-width:770px) and (max-width:1024px){    
.news-content h3 {
    font-size: 18px;
}

.news-content p {
    font-size: 15px;
}
}


@media(max-width:769px){    
    .news-content h3 {
        font-size: 16px;
    }

    .news-content p {
        font-size: 13px;
    }
    }