/* About Magazine */

.aboutPage__magazine {
    margin-top: 120px;
}

.aboutPage__text.magazine__text,
.communityPage__text.magazine__text,
.commitPage__text.magazine__text {
    font-size: 22px;
    margin-top: 52px;
}

.magazine__item--container {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 auto;
    width: 100%;
}

.swiper_magazine {
    margin-top: 80px;
    overflow: hidden;
    padding-bottom: 67px;
    position: relative;
}

.swiper_magazine .swiper-slide {
    height: auto;
}

.magazine__item--img img {
    border-radius: 25px;
    height: 245px;
    object-fit: cover;
    position: relative;
    width: 100%;
}

.magazine__item--keywordList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.magazine__item--keyword {
    background: #1e1e1e;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    padding: 5px 10px;
}

.magazine__item--keyword:hover {
    color: #fff;
    line-height: 1.2;
}

.magazine__item--title.aboutPage__text,
.magazine__item--title.communityPage__text,
.magazine__item--title.commitPage__text {
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
}

.magazine__item--button,
.aboutPage__magazine--link,
.aboutPage__history--link {
    border: 1px solid #000;
    border-radius: 16px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-left: auto;
    margin-top: 32px;
    padding: 13px 40px 13px 20px;
    position: relative;
    width: fit-content;
}

.magazine__item--button {
    margin-top: auto;
}

.magazine__item--button::before,
.aboutPage__magazine--link::before,
.aboutPage__history--link::before {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    height: 7px;
    position: absolute;
    right: 20px;
    top: 47%;
    transform: rotate(45deg) translateY(-50%);
    vertical-align: top;
    width: 7px;
}

.swiper-container-horizontal.swiper_magazine > .swiper-scrollbar {
    bottom: 0;
}

.aboutPage__magazine--link {
    border: 1px solid #000;
    border-radius: 49px;
    color: #000;
    display: block;
    font-size: 20px;
    line-height: 1;
    margin: 82px auto 0;
    max-width: 600px;
    padding: 22px 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.aboutPage__magazine--link::before {
    height: 15px;
    right: 60px;
    width: 15px;
}

.magazine__item--content.aboutPage__text,
.magazine__item--content.communityPage__text,
.magazine__item--content.commitPage__text {
    font-size: 16px;
    margin: 15px 0;
}

.magazine__item--new {
    background: #fff;
    color: #1e1e1e;
    font-size: 14px;
    font-weight: 700;
    left: 15px;
    padding: 0 8px;
    position: absolute;
    top: 12px;
}

@media screen and (max-width: 767px) {
    .aboutPage__magazine {
        margin-top: 80px;
    }

    .aboutPage__magazine .aboutPage__title {
        font-size: 32px;
    }

    .aboutPage__text.magazine__text,
    .communityPage__text.magazine__text,
    .commitPage__text.magazine__text {
        font-size: 14px;
        margin-top: 20px;
    }

    .magazine__item--img img {
        border-radius: 0;
        height: 190px;
    }

    .swiper_magazine {
        margin-top: 40px;
        padding-bottom: 35px;
    }

    .magazine__item--keyword {
        font-size: 14px;
        padding: 4px 16px;
    }

    .magazine__item--keywordList {
        gap: 15px;
    }

    .magazine__item--title.aboutPage__text,
    .magazine__item--title.communityPage__text,
    .magazine__item--title.commitPage__text {
        font-size: 16px;
        margin-top: 20px;
    }

    .magazine__item--content.aboutPage__text,
    .magazine__item--content.communityPage__text,
    .magazine__item--content.commitPage__text {
        font-size: 14px;
        margin-top: 15px;
    }

    .magazine__item--button,
    .aboutPage__magazine--link,
    .aboutPage__history--link {
        font-size: 12px;
    }

    .magazine__item--button {
        padding: 12px 30px 12px 20px;
    }

    .magazine__item--button::before,
    .aboutPage__magazine--link::before,
    .aboutPage__history--link::before {
        border-width: 1px 1px 0 0;
        height: 6px;
        right: 20px;
        width: 6px;
    }

    .aboutPage__magazine--link {
        margin-top: 40px;
        padding: 16px 0;
    }
}
