.card-news-page .card-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 60px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.card-news-page .card-news-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card-news-page .card-news-cover {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #f6f8fc;
}

.card-news-page .card-news-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-news-page .card-news-cover.is-empty > img {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%) scale(.704);
}

.card-news-page .card-news-cover:focus-visible {
    outline: 3px solid #1065ff;
    outline-offset: 3px;
}

.card-news-page .card-news-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.card-news-page .card-news-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 1.4em;
    color: #111;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-news-page .card-news-date {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.card-news-page .card-news-card:hover .card-news-title,
.card-news-page .card-news-card:focus-visible .card-news-title {
    color: #1065ff;
}

.card-news-page .card-news-empty {
    padding: 96px 20px;
    color: #666;
    text-align: center;
}

.card-news-page .card-news-pagination {
    margin-top: 64px;
}

.card-news-detail .card-news-detail-inner {
    max-width: 1400px;
}

.card-news-detail .card-news-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
    padding-bottom: 60px;
    border-bottom: 1px solid #e5e5e5;
    z-index: auto;
}

.card-news-detail .card-news-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.card-news-detail .card-news-heading-row .title {
    min-width: 0;
}

.card-news-detail .card-news-heading-row .ico-share {
    flex: 0 0 32px;
    margin: 0;
}

.card-news-detail .card-news-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.card-news-detail .card-news-heading-row .title {
    margin: 0;
    color: #111;
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    overflow-wrap: anywhere;
}

.card-news-detail .card-news-date {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    color: #999;
    font-size: 16px;
    line-height: 1;
}

.card-news-detail .card-news-department {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: #000;
    font-size: 16px;
    line-height: 1;
}

.card-news-detail .card-news-department dt {
    color: #999;
}

.card-news-detail .card-news-department dd {
    margin: 0;
    white-space: nowrap;
}

.card-news-detail .card-news-department dd:first-of-type::after {
    display: inline-block;
    width: 1px;
    height: 10px;
    margin-left: 16px;
    background: #ddd;
    vertical-align: -1px;
    content: "";
}

.card-news-detail .card-news-gallery {
    display: grid;
    grid-template-columns: 73px minmax(0, 600px) 73px;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 866px;
    margin: 80px auto 0;
}

.card-news-detail .card-news-swiper,
.card-news-detail .card-news-slide-placeholder {
    grid-column: 2;
}

.card-news-detail .card-news-gallery-arrow.is-prev {
    grid-column: 1;
}

.card-news-detail .card-news-gallery-arrow.is-next {
    grid-column: 3;
}

.card-news-detail .card-news-swiper {
    width: 100%;
    overflow: hidden;
}

.card-news-detail .card-news-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #f6f8fc;
}

.card-news-detail .card-news-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-news-detail .card-news-slide-logo {
    transform: scale(.704);
}

.card-news-detail .card-news-gallery-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 73px;
    height: 73px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #464555;
    cursor: pointer;
}

.card-news-detail .card-news-gallery-arrow img {
    display: block;
}

.card-news-detail .card-news-gallery-arrow:focus-visible,
.card-news-detail .card-news-image-page:focus-visible {
    outline: 3px solid #1065ff;
    outline-offset: 3px;
}

.card-news-detail .card-news-image-pages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 40px auto 0;
    padding: 0;
    list-style: none;
}

.card-news-detail .card-news-image-page {
    width: 20px;
    min-width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #f0f0f0;
    color: #333;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.card-news-detail .card-news-image-page.is-active {
    background: #1759d9;
    color: #fff;
    font-weight: 700;
}

.card-news-detail .card-news-description {
    max-width: 800px;
    margin: 24px auto 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.card-news-detail .card-news-description a {
    color: #1065ff;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.card-news-detail .card-news-list-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 60px;
    margin: 36px auto 0;
}

.card-news-detail .card-news-related {
    margin-top: 100px;
    border-top: 1px solid #e5e5e5;
}

.card-news-detail .card-news-related-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    min-height: 84px;
    border-bottom: 1px solid #e5e5e5;
}

.card-news-detail .card-news-related-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111;
    font-size: 14px;
}

.card-news-detail .card-news-related-label::after {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1px solid #464555;
    border-left: 1px solid #464555;
    content: "";
}

.card-news-detail .card-news-related-row.is-prev .card-news-related-label::after {
    transform: rotate(45deg);
}

.card-news-detail .card-news-related-row.is-next .card-news-related-label::after {
    transform: rotate(225deg);
}

.card-news-detail .card-news-related-link {
    display: block;
    overflow: hidden;
    padding: 18px 20px;
    border-left: 1px solid #e5e5e5;
    color: #666;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-news-detail .card-news-related-link:hover,
.card-news-detail .card-news-related-link:focus-visible {
    color: #1065ff;
}

@media (max-width: 1024px) {
    .card-news-page .card-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 32px;
    }

    .card-news-page .card-news-title {
        font-size: 18px;
    }

    .card-news-page .card-news-date {
        font-size: 14px;
    }

    .card-news-detail .card-news-header {
        gap: 16px;
        padding-bottom: 24px;
    }

    .card-news-detail .card-news-heading-row {
        gap: 12px;
    }

    .card-news-detail .card-news-heading-row .title {
        font-size: 28px;
    }

    .card-news-detail .card-news-meta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .card-news-detail .card-news-department {
        flex-wrap: wrap;
        gap: 8px 12px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.4;
    }

    .card-news-detail .card-news-department dd:first-of-type::after {
        margin-left: 12px;
    }

    .card-news-detail .card-news-gallery {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 8px;
        max-width: 720px;
        margin-top: 28px;
    }

    .card-news-detail .card-news-gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .card-news-detail .card-news-gallery-arrow img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .card-news-detail .card-news-image-pages {
        margin-top: 20px;
    }

    .card-news-detail .card-news-description {
        margin-top: 24px;
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
    }

    .card-news-detail .card-news-related {
        margin-top: 64px;
    }
}

@media (max-width: 1351px) and (min-width: 1025px) {
    .card-news-page .card-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .card-news-page .card-news-grid {
        column-gap: 12px;
        row-gap: 28px;
    }

    .card-news-page .card-news-cover {
        border-radius: 8px;
    }

    .card-news-page .card-news-copy {
        gap: 8px;
        padding-top: 12px;
    }

    .card-news-page .card-news-title {
        font-size: 15px;
    }

    .card-news-page .card-news-date {
        font-size: 12px;
    }

    .card-news-detail .card-news-heading-row .title {
        font-size: 22px;
    }

    .card-news-detail .card-news-date {
        font-size: 13px;
    }

    .card-news-detail .card-news-department {
        font-size: 12px;
    }

    .card-news-detail .card-news-department dd:first-of-type::after {
        margin-left: 8px;
    }

    .card-news-detail .card-news-related-row {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 68px;
    }

    .card-news-detail .card-news-related-label {
        gap: 8px;
        font-size: 12px;
    }

    .card-news-detail .card-news-related-link {
        padding: 15px 12px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    body.card-news-layout #header .header-wrap {
        gap: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }

    body.card-news-layout #header .logo .link-home {
        width: 140px;
        height: 16px;
    }

    body.card-news-layout #header .header-tools {
        flex: 0 0 auto;
        gap: 4px;
    }

    body.card-news-layout #header .header-tools .partner .btn-partner {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
        font-size: 0;
        background-position: center;
    }

    body.card-news-layout #header .header-tools .search-wrap .btn-area .btn-search-toggle,
    body.card-news-layout #header .header-tools .btn-mobile-menu {
        width: 40px;
        height: 40px;
        background-size: 24px 24px;
    }

    .card-news-detail .card-news-department dd:first-of-type::after {
        display: none;
    }
}
