.screen {
    max-width: 1248px;
    background-color: #ffffff;
    margin: 108px auto;
    padding: 0 120px;
    min-height: calc(100vh - 108px * 2 - 285px);
}

.screen .text-wrapper {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    letter-spacing: 0;
    white-space: nowrap;
    padding-top: 48px;
}

.screen .text-wrapper-2 {
    margin-top: 24px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    color: #000000;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0;
}

.screen .rectangle {
    width: 113px;
    height: 7px;
    background: linear-gradient(90deg, #009A55 0%, #00FF00 100%);
    margin: 24px auto 48px;
    border-radius: 100px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px;
}

.page-item {
    text-decoration: none;
    width: 32px;
    height: 32px;
    color: #8A8A8A;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.page-item.active {
    border-radius: 16px;
    background-color: #00BD68;
    color: #fff;
}

.page-item.disabled {
    opacity: 0.5;
}

.page-item.next, .page-item.prev {
    border: 1px solid #E6E6E6;
    border-radius: 16px;
}

.page-item.prev img {
    transform: rotate(180deg);
}

.screen .text-wrapper-3 {
    top: 1px;
    left: 11px;
    color: #ffffff;
    position: absolute;
    width: 10px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0;
    line-height: 28.8px;
    white-space: nowrap;
}

.screen .text-wrapper-4 {
    top: 0;
    left: 10px;
    color: #00BD68;
    position: absolute;
    width: 10px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0;
    line-height: 28.8px;
    white-space: nowrap;
}

.screen .div-wrapper {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 0;
    left: 90px;
    border: 1px solid #00BD68;
    border-radius: 1000px;
}

.ionicon-fill-none {
    width: 16px;
    height: 16px;
    text-align: center;
}

.screen .group-2 {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 0;
    left: 135px;
    border: 1px solid #00BD68;
    border-radius: 1000px
}

/* Remove the problematic fa-solid rule */
.screen .element-wrapper {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 0;
    left: 180px;
    border-radius: 1000px;
    border: 1px solid;
    border-color: #00BD68;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen .element-wrapper ion-icon {
    font-size: 20px;
    color: #4caf50;
    font-weight: bold;
    --ionicon-stroke-width: 64px;
}

.screen .element {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 10px;
    left: 10px;
    aspect-ratio: 1;
    object-fit: cover;
}

.view p {
    margin-top: -20px;
    color: red;
    font-weight: 700;
}

/* News list container */
.screen .news-list {
    padding-top: 32px;
}

/* Individual news item */
.screen .view {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    transition: background-color 0.2s ease;
}

.screen .view:hover {
    background-color: #f8f9fa;
}

.date-wrapper {
    display: flex;
    align-items: center;
}

/* Date styling */
.screen .text-wrapper-6 {
    width: 80px;
    font-weight: 400;
    color: #666666;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Category tag */
.screen .group-3 {
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.screen .overlap-group-2 {
    position: relative;
    background-color: #00BD68;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
}

.screen .text-wrapper-7 {
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    line-height: 18px;
    white-space: nowrap;
    letter-spacing: 0;
    position: relative;
    background: linear-gradient(to bottom, #019B61 0%, #00AE63 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 17px;
    border-radius: 8px;
}

/* Title styling */
.screen .text-wrapper-5 {
    flex: 1;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    margin-right: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* Arrow icon using Font Awesome */
.screen .view .fa-solid {
    width: 20px;
    height: 20px;
    color: #00BD68;
    font-size: 16px;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.screen .view .fa-solid:hover {
    color: #00BD68;
}

/* Arrow icon */
.screen .img,
.screen ion-icon.img {
    width: 20px;
    height: 20px;
    color: #68b82f;
    font-size: 20px;
    font-weight: bold;
    --ionicon-stroke-width: 64px;
    flex-shrink: 0;
}

/* Remove NEW tag for cleaner design */
.screen .text-wrapper-8 {
    display: none;
}

/* Remove line class as we use border-bottom */
.screen .line {
    display: none;
}

/* Remove overlap-2 positioning */
.screen .overlap-2 {
    position: relative;
    width: 100%;
    height: auto;
}

/* Adding comprehensive responsive media queries for mobile devices */

/* Medium screens smaller than 1000px */
@media (max-width: 999px) and (min-width: 769px) {
    .screen .text-wrapper-3 {
        font-size: 14px;
        line-height: 24px;
    }

    .screen .text-wrapper-4 {
        font-size: 14px;
        line-height: 24px;
    }

    .screen .element-wrapper ion-icon {
        font-size: 16px;
    }

    /* News item layout */
    .screen .view {
        min-height: 50px;
        padding: 10px 0;
    }

    /* Category tag */
    .screen .overlap-group-2 {
        height: 20px;
        min-width: 60px;
    }

    /* Title styling */
    .screen .text-wrapper-5 {
        font-size: 14px;
        margin-right: 15px;
        /* white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-overflow: unset;
        overflow: hidden;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-height: 2.8em; */
        width: 70%;
    }

    .screen .img,
    .screen ion-icon.img {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }
    .screen .view .fa-solid {
        position: absolute;
        width: 17px;
        height: 17px;
        color: #00BD68;
        font-size: 16px;
        flex-shrink: 0;
        margin-left: 95%;
    }
}

@media (max-width: 768px) {
    .screen {
        margin-top: 68px;
        padding: 0 60px;
    }

    /* Mobile view layout */
    .screen .view {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
        margin: 0 auto;
        gap: 16px;
    }

    .screen .overlap-group-2 {
        background-color: #00BD68;
        height: 20px;
        min-width: 60px;
    }

    /* Mobile title */
    .screen .text-wrapper-5 {
        width: calc(100% - 30px);
        font-size: 14px;
        line-height: 1.6;
        margin-right: 0;
        padding-right: 30px;
    }

    /* Mobile arrow icon - make visible */

    .screen .view .fa-solid {
        position: absolute;
        margin-top: 35px;
        left: 93%;
        width: 20px;
        height: 20px;
        font-size: 16px;
     
        display: block;

    }
    .screen .img,
    .screen ion-icon.img {
        position: absolute;
        top: 15px;
        right: 0;
        width: 20px;
        height: 20px;
        font-size: 20px;
        color: #68b82f;
        display: block;
    }

    .screen .text-wrapper-3 {
        position: relative;
        width: auto;
        height: auto;
        top: auto;
        left: auto;
        font-size: 14px;
        line-height: 1;
        color: #ffffff;
        transform: none;
    }

    .screen .text-wrapper-4 {
        position: relative;
        width: auto;
        height: auto;
        top: auto;
        left: auto;
        font-size: 14px;
        line-height: 1;
        color: #00BD68;
        transform: none;
    }

    .screen .element-wrapper {
        width: 25px;
        height: 25px;
        border-radius: 1000px;
        border: 1px solid #00BD68;
    }

    .screen .element-wrapper ion-icon {
        font-size: 24px;
        color: #00BD68;
        font-weight: 900;
    }
}

/* Desktop layout fixes - ensure proper display on large screens */
/* Desktop layout fixes - ensure proper display on large screens */
@media (min-width: 1000px) {
    .screen .text-wrapper-3 {
        top: 1px;
        left: 11px;
        font-size: 18px;
        line-height: 28.8px;
        position: absolute;
    }

    .screen .div-wrapper {
        left: 90px;
    }

    .screen .group-2 {
        left: 135px;
    }

    .screen .element-wrapper {
        left: 180px;
        border-radius: 1000px;
    }

    .screen .text-wrapper-4 {
        top: 0;
        left: 10px;
        font-size: 18px;
        line-height: 28.8px;
        position: absolute;
    }

    /* Desktop view layout */
    .screen .view {
        flex-direction: row;
        align-items: center;
        height: auto;
        min-height: 59px;
        padding: 15px 0;
    }

    .screen .overlap-group-2 {
        min-width: 72px;
        height: 24px;
    }

    /* Desktop title */
    .screen .text-wrapper-5 {
        flex: 1;
        font-size: 16px;
        line-height: 1.6;
        margin-right: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
    }

    /* Desktop arrow */
    .screen .view .fa-solid {
        position: relative;
        width: 20px;
        height: 20px;

        font-size: 16px;
        flex-shrink: 0;
        margin: 0;
    }

    .screen .img,
    .screen ion-icon.img {
        width: 20px;
        height: 20px;
        font-size: 20px;
        color: #68b82f;
    }
}

/* Tablet landscape (769px - 999px) */
@media (min-width: 769px) and (max-width: 999px) {
    .screen .view {
        min-height: 50px;
        padding: 10px 0;
        margin-left: 10%;
        margin: 0 auto;
    }

    .screen .overlap-group-2 {
        height: 20px;
        min-width: 60px;
    }

    .screen .text-wrapper-5 {
        font-size: 14px;
        margin-right: 15px;
    }


    .screen .view .fa-solid {
        position: absolute;
        right: 0;
        width: 16px;
        height: 16px;
        font-size: 14px;

        flex-shrink: 0;
    }

    .screen .img,
    .screen ion-icon.img {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }
}

/* Ensure ion-icons load properly */
ion-icon {
    font-size: 20px;
    color: #666;
    margin-left: 0;
}

/* Proper styling for chevron icons */
.screen .img {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #666;
}

.separator {
  width: 1px;
  height: 21px;
  background-color: #E6E6E6;
  margin-left: 8px;
  margin-right: 8px;
}
