/* --------------------
 News detail
-------------------- */
.news {
    margin: 0 0 40px;
}

@media (min-width: 768px) {
    .news {
        margin: 0 0 100px;
    }
}

.news-container {
    margin: 0 auto;
    max-width: 1020px;
    padding: 0 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .news-container {
        padding: 0 30px;
    }
}

.news__detail__meta {
    align-items: stretch;
    display: flex;
    gap: 10px;
    margin: 0 0 16px;
}

.news__detail__date {
    display: block;
    font-size: var(--fs14);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .news__detail__date {
        font-size: var(--fs16);
    }
}

.news__detail__title {
    border-bottom: 1px solid #969797;
    display: block;
    font-size: var(--fs18);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin: 0 0 20px;
    padding: 0 0 16px;
}

@media (min-width: 768px) {
    .news__detail__title {
        font-size: var(--fs20);
    }
}

.news__detail__content {
    font-size: var(--fs14);
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin: 0 0 40px;
}

@media (min-width: 768px) {
    .news__detail__content {
        font-size: var(--fs16);
        margin: 0 0 60px;
    }
}

.news__detail__content p {
    margin: 0 0 1.5em;
}

.news__detail__content p:last-child {
    margin-bottom: 0;
}

.news__detail__content a {
    color: inherit;
    text-decoration: underline;
}

.news__detail__content a:focus {
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .news__detail__content a:hover {
        text-decoration: none;
    }
}

.news__detail__action a {
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--color-text);
    border-radius: 28px;
    color: inherit;
    display: flex;
    font-size: var(--fs14);
    font-weight: 500;
    height: 50px;
    justify-content: center;
    letter-spacing: 0.15em;
    line-height: 1.2;
    margin: 0 auto;
    padding: 0 0 0 0.15em;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 200px;
}

@media (min-width: 768px) {
    .news__detail__action a {
        font-size: var(--fs16);
        height: 56px;
        width: 214px;
    }
}

.news__detail__action a:before {
    background: linear-gradient(90deg, rgba(219, 34, 133, 0.15) 0%, rgba(151, 119, 226, 0.15) 50%, rgba(85, 192, 213, 0.15) 100%);
    border-radius: 28px;
    bottom: -1px;
    content: "";
    display: block;
    left: -1px;
    opacity: 0;
    position: absolute;
    right: -1px;
    top: -1px;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    z-index: 0;
}

.news__detail__action a span {
    display: block;
    position: relative;
    z-index: 1;
}

.news__detail__action a:focus {
    border-color: rgba(0, 0, 0, 0);
}

.news__detail__action a:focus:before {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .news__detail__action a:hover {
        border-color: rgba(0, 0, 0, 0);
    }

    .news__detail__action a:hover:before {
        opacity: 1;
    }
}