/* --------------------
 News
-------------------- */
.news {
    background-color: var(--color-gray);
}

.news-layout {
    align-items: stretch;
    display: flex;
    flex-flow: column nowrap;
    gap: 60px 40px;
    margin: 0 auto;
    max-width: 1650px;
    padding: 60px 16px 100px;
    width: 100%;
}

@media (min-width: 768px) {
    .news-layout {
        flex-direction: row;
        padding: 120px 30px 140px;
    }
}

@media (min-width: 992px) {
    .news-layout {
        gap: 55px;
        padding: 150px 30px 240px;
    }
}

.news-layout__main {
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
}

@media (min-width: 768px) {
    .news-layout__main {
        width: auto;
    }
}

.news-layout__side {
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .news-layout__side {
        width: 160px;
    }
}

@media (min-width: 992px) {
    .news-layout__side {
        width: 180px;
    }
}

@media (min-width: 1240px) {
    .news-layout__side {
        width: 200px;
    }
}

.news__side__cat {
    margin: 0 0 40px;
}

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

.news__side__cat:last-child {
    margin-bottom: 0;
}

.news__side__cat__title {
    border-bottom: 2px solid var(--color-orange);
    color: var(--color-orange);
    font-size: var(--fs16);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    padding: 0 0 8px;
}

@media (min-width: 768px) {
    .news__side__cat__title {
        border-bottom-width: 3px;
        font-size: var(--fs18);
        margin: 0 0 16px;
    }
}

.news__side__cat__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news__side__cat__list > li {
    margin: 0 0 8px;
}

.news__side__cat__list > li a {
    color: var(--color-green);
    font-size: var(--fs16);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

@media (min-width: 768px) {
    .news__side__cat__list > li a {
        font-size: var(--fs18);
    }
}

.news__side__cat__list > li a:focus {
    color: var(--color-orange);
}

@media (hover: hover) and (pointer: fine) {
    .news__side__cat__list > li a:hover {
        color: var(--color-orange);
    }
}

.news__side__archive {
    margin: 0 0 40px;
}

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

.news__side__archive:last-child {
    margin-bottom: 0;
}

.news__side__archive__title {
    border-bottom: 2px solid var(--color-orange);
    color: var(--color-orange);
    font-size: var(--fs16);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    padding: 0 0 8px;
}

@media (min-width: 768px) {
    .news__side__archive__title {
        border-bottom-width: 3px;
        font-size: var(--fs18);
        margin: 0 0 16px;
    }
}

.news__side__archive__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news__side__archive__list > li {
    margin: 0 0 8px;
}

.news__side__archive__list > li a {
    color: var(--color-green);
    font-size: var(--fs16);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

@media (min-width: 768px) {
    .news__side__archive__list > li a {
        font-size: var(--fs18);
    }
}

.news__side__archive__list > li a:focus {
    color: var(--color-orange);
}

@media (hover: hover) and (pointer: fine) {
    .news__side__archive__list > li a:hover {
        color: var(--color-orange);
    }
}

.news__main {
    container-type: inline-size;
    margin: 0 0 0 auto;
    max-width: 1080px;
    width: 100%;
}

.news__main__list {
    align-items: stretch;
    display: flex;
    flex-flow: row wrap;
    gap: 40px 30px;
    justify-content: flex-start;
    margin: 0 0 60px;
}

@container (min-width: 480px) {
    .news__main__list {
        gap: 24px;
        margin: 0 0 80px;
    }
}

@media (min-width: 768px) {
    .news__main__list {
        gap: 24px;
        margin: 0 0 80px;
    }
}

@media (min-width: 992px) {
    .news__main__list {
        gap: 30px;
    }
}

@media (min-width: 1240px) {
    .news__main__list {
        gap: 40px 60px;
    }
}

.news__main__list__item {
    width: 100%;
}

@container (min-width: 480px) {
    .news__main__list__item {
        width: calc(50% - 12px);
    }
}

@media (min-width: 768px) {
    .news__main__list__item {
        width: calc(50% - 12px);
    }
}

@media (min-width: 992px) {
    .news__main__list__item {
        width: calc(33.33333% - 20px);
    }
}

@media (min-width: 1240px) {
    .news__main__list__item {
        width: calc(33.33333% - 40px);
    }
}

.news__main__list__item__link {
    border-radius: 15px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
    color: inherit;
    display: block;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

.news__main__list__item__link__fig img {
    aspect-ratio: 320/214;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

.news__main__list__item__link__fig:not(:has(img)):before {
    aspect-ratio: 320/214;
    background-image: url(../../assets/images/commons/com-post-thumb.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    display: block;
    height: auto;
    transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

.news__main__list__item__link__main {
    background-color: #fff;
    padding: 24px 20px 24px;
}

.news__main__list__item__link__main__category {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    gap: 6px;
    justify-content: flex-start;
    margin: 0 0 12px;
}

.news__main__list__item__link__main__category span {
    color: var(--color-deep-teal);
    display: block;
    font-size: var(--fs14);
    line-height: 1.2;
    margin: 0;
}

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

.news__main__list__item__link__main__date {
    display: block;
    font-size: var(--fs14);
    line-height: 1.2;
    margin: 0 0 6px;
}

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

.news__main__list__item__link__main__title {
    -webkit-box-orient: vertical;
    color: var(--color-deep-teal);
    display: -webkit-box;
    font-size: var(--fs16);
    font-weight: 700;
    -webkit-line-clamp: 2;
    line-height: 1.4;
    margin: 0;
    min-height: 50.4px;
    overflow: hidden;
    padding: 0 25px 0 0;
    position: relative;
    text-overflow: ellipsis;
    width: 100%;
    word-break: break-all;
}

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

.news__main__list__item__link__main__title:after {
    background-color: var(--color-deep-teal);
    bottom: 0;
    content: "";
    display: block;
    height: 20px;
    -webkit-mask-image: url(../../assets/images/icons/icon-black-circle-arrow-right.svg);
    mask-image: url(../../assets/images/icons/icon-black-circle-arrow-right.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    right: 0;
    width: 20px;
}

.news__main__list__item__link:focus {
    opacity: 0.65;
}

.news__main__list__item__link:focus .news__main__list__item__link__fig:before, .news__main__list__item__link:focus .news__main__list__item__link__fig img {
    transform: scale(1.05);
}

@media (hover: hover) and (pointer: fine) {
    .news__main__list__item__link:hover {
        opacity: 0.65;
    }

    .news__main__list__item__link:hover .news__main__list__item__link__fig:before, .news__main__list__item__link:hover .news__main__list__item__link__fig img {
        transform: scale(1.05);
    }
}

.news__detail {
    margin: 0 0 0 auto;
    max-width: 1080px;
    width: 100%;
}

.news__detail__main {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
    margin: 0 0 40px;
    padding: 16px;
}

@media (min-width: 768px) {
    .news__detail__main {
        border-radius: 15px;
        margin: 0 0 60px;
        padding: 30px;
    }
}

@media (min-width: 1240px) {
    .news__detail__main {
        padding: 50px;
    }
}

.news__detail__main__meta {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    margin: 0 0 12px;
}

.news__detail__main__meta__date {
    border-right: 1px solid #329135;
    display: block;
    font-size: var(--fs12);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 12px 0 0;
    padding: 0 12px 0 0;
    width: auto;
}

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

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

.news__detail__main__meta__category {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
    justify-content: flex-start;
    margin: 0;
}

.news__detail__main__meta__category a {
    color: var(--color-deep-teal);
    font-size: var(--fs12);
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

@media (min-width: 768px) {
    .news__detail__main__meta__category a {
        font-size: var(--fs14);
    }
}

@media (min-width: 992px) {
    .news__detail__main__meta__category a {
        font-size: var(--fs16);
    }
}

.news__detail__main__meta__category a:focus {
    color: var(--color-orange);
}

@media (hover: hover) and (pointer: fine) {
    .news__detail__main__meta__category a:hover {
        color: var(--color-orange);
    }
}

.news__detail__main__title {
    font-size: var(--fs28);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 24px;
    width: 100%;
}

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

@media (min-width: 992px) {
    .news__detail__main__title {
        font-size: var(--fs40);
        margin: 0 0 30px;
    }
}

.news__detail__main__fig {
    margin: 0 0 40px;
    text-align: center;
}

.news__detail__links {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.news__detail__links__item {
    min-width: 1px;
}

.news__detail__links__item a {
    align-items: center;
    color: var(--color-green);
    display: flex;
    flex-flow: row nowrap;
    font-size: var(--fs14);
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    line-height: 1.2;
    position: relative;
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: -webkit-fit-content;
    width: fit-content;
}

@media (min-width: 768px) {
    .news__detail__links__item a {
        font-size: var(--fs16);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .news__detail__links__item a {
        font-size: var(--fs18);
    }
}

.news__detail__links__item a.-prev:before {
    background-color: var(--color-green);
    content: "";
    display: block;
    height: 15px;
    -webkit-mask-image: url(../../assets/images/commons/com-pager-prev.svg);
    mask-image: url(../../assets/images/commons/com-pager-prev.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 9px;
}

@media (min-width: 768px) {
    .news__detail__links__item a.-prev:before {
        height: 20px;
        width: 12px;
    }
}

@media (min-width: 992px) {
    .news__detail__links__item a.-prev:before {
        height: 24px;
        width: 15px;
    }
}

.news__detail__links__item a.-prev:focus:before {
    background-color: var(--color-orange);
}

@media (hover: hover) and (pointer: fine) {
    .news__detail__links__item a.-prev:hover:before {
        background-color: var(--color-orange);
    }
}

.news__detail__links__item a.-next:after {
    background-color: var(--color-green);
    content: "";
    display: block;
    height: 15px;
    -webkit-mask-image: url(../../assets/images/commons/com-pager-next.svg);
    mask-image: url(../../assets/images/commons/com-pager-next.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 9px;
}

@media (min-width: 768px) {
    .news__detail__links__item a.-next:after {
        height: 20px;
        width: 12px;
    }
}

@media (min-width: 992px) {
    .news__detail__links__item a.-next:after {
        height: 24px;
        width: 15px;
    }
}

.news__detail__links__item a.-next:focus:after {
    background-color: var(--color-orange);
}

@media (hover: hover) and (pointer: fine) {
    .news__detail__links__item a.-next:hover:after {
        background-color: var(--color-orange);
    }
}

.news__detail__links__item a:focus {
    color: var(--color-orange);
}

@media (hover: hover) and (pointer: fine) {
    .news__detail__links__item a:hover {
        color: var(--color-orange);
    }
}