/*青年自造*/
#carouselExampleControls {
    margin-top: 0px;
}

.detail-head {
    width: 85%;
    margin: 0 auto;
    margin-top: 0px;
    color: #fff;
}

.youth-artical-item-title a {
    color: #5d5d5d;
}
.youthmaker-glaycontainer {
    background: #fafafa;
}
.youthmaker-glaycontainer:after {
    clear: both;
}
.youthmaker-container {
    width: 85%;
    margin: 0 auto;
    padding: 100px 0;
    height: 700px;
}
.youth-main-right {
    width: 50%;
    display: inline-block;
    float: left;
}
.rainbow-icon {
    width: 75px;
    display: block;
    margin-bottom: 10px;
}
.youth-main-title-img-block {
    width: 180px;
    display: inline-block;
    float: left;
}
.youth-main-title-img {
    width: 150px;
    display: block;
    padding-bottom: 40px;
    border-bottom: 1px solid #0d4e53;
    margin-bottom: 30px;
}
.youth-titlecontainer {
    width: 180px;
    color: #1e1e1e;
    display: inline-block;
}
.youth-title {
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 20px;
}
.youth-content {
    color: #494949;
    line-height: 24px;
}
.youthgroup {
    width: 300px;
    float: left;
    display: inline-block;
    margin-top: 80px;
    margin-left: 80px;
}
.youth-main-left {
    width: 50%;
    display: inline-block;
    float: left;
    position: relative;
}
.youth-main-left-box {
    width: 330px;
    text-align: center;
    display: inline-block;
}
.youth-main-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    color: #4b4b4b;
    text-align: center;
    margin-top: 80px;
    display: inline-block;
}
.youth-main-images {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.youth-main-images img {
    display: inline-block;
}
.youth-blocks {
    background: #0d4e53;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin-top: 10px;
}
.youth-plus {
    font-size: 30px;
    color: #0d4e53;
}
.youth-main-text {
    font-size: 14px;
    font-weight: 700;
    color: #303030;
    line-height: 30px;
    text-align: center;
}
.youth-group-images {
    display: inline-block;
    float: left;
    width: 0;
    position: absolute;
    top: 10px;
}
.youthgroup.margin0 {
    margin: 0;
}
.youthgroup.mt40 {
    margin-top: 40px;
}
.youth-publish-btn {
    color: #d75128;
    border: 1px solid #d75128;
    border-radius: 20px;
    padding: 12px 60px;
    width: fit-content;
    letter-spacing: 3px;
    margin: 0 auto;
    margin-top: 20px;
    font-weight: 700;
    display: inline-block;
}
.youth-publish-btn:hover {
    background: #d75128;
    color: #fff;
    border: 1px solid #d75128;
    text-decoration: none;
}
.youth-article-container {
    width: 85%;
    margin: 20px auto;
    display: block;
    padding-top: 0px;
}
.youth-artical-title-box {
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}
.youth-artical-title-text {
    margin-left: 20px;
    margin-top: 20px;
}
.youth-artical-title-text > .line1 {
    font-weight: 700;
    color: #0d4e53;
    font-size: 24px;
    margin-bottom: 20px;
}
.youth-artical-title-text > .line2 {
    font-weight: 700;
    color: #4f4f4f;
    font-size: 18px;
    margin-top: -20px;
}
.youth-hot-artical {
    display: grid;
    grid-template-columns: 70% 28%;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}
.youth-artical-right {
    padding-top: 20px;
    padding-right: 20px;
    margin-bottom: 40px;
    border-right: 1px solid #eee;
}

.youth-artical-right img {
    width: 90%;
    padding-bottom: 100px;
}

.max-h {
    width: 100%;
    max-height: 550px;
    overflow: hidden;
}

.youth-artical-right-btm {
    padding: 20px 0;
    position: relative;
}
.youth-artical-left {
    padding-top: 20px;
}
.youth-artical-left-block {
    display: flex;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.youth-artical-left-block:last-child {
    border-bottom: 0;
}
.youth-artical-content {
    display: grid;
    grid-template-columns: 10% 78% 10%;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 40px;
}
.youth-artical-content p {
    line-height: 24px;
    padding: 20px 0;
    color: #6c6c6c;
    font-weight: 700;
}
.artical-main-content {
    border-bottom: 1px solid #eee;
}
.youth-artical-middle-topic {
    padding: 20px 0;
}
.youth-artical-grid {
    display: grid;
    grid-template-columns: repeat(4, 23.8%);
    gap: 20px;
    padding-bottom: 20px;
}
.youth-artical-item {
    position: relative;
    height: 388px;
    background-color: #f7f7f7;
    overflow-y: hidden;
    box-shadow: 0.1px 0.1px 1px rgba(0, 0, 0, 0.1);
}
.youth-artical-item .artical-title__container {
    height: 120px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: block;
    background-color: #fff;
    padding: 10px;
    transform: translate3d(0, -100%, 0);
    transition: transform 300ms;
    line-height: 24px;
}
.youth-artical-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.youth-artical-grid .youth-artical-left-block {
    display: none;
}
.article-square-img {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.article-square-img.small-img {
    width: 100px;
    display: inline-block;
}
.youth-artical-item__overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    transition: transform 300ms;
    background-color: #f7f7f7;
    transform: translate3d(0, 100%, 0);
}
.youth-artical-item__body {
    flex-grow: 1;
    padding: 1rem;
    margin-top: 20px;
    background: #fff;
    opacity: 0;
    transition: opacity 500ms 100ms;
}
.youth-artical-item__body p {
    margin: 0;
    line-height: 24px;
}
.youth-artical-school {
    background: #3fa591;
    color: #fff;
    padding: 2px 7px;
    letter-spacing: 3px;
    width: fit-content;
    font-size: 12px;
    line-height: 24px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

.youth-artical-item:hover .artical-title__container,
.youth-artical-item__body {
    background: #f7f7f7;
    overflow: wrap;
    text-overflow: initial;
}

.youth-artical-item:hover .youth-artical-item-title {
    white-space: inherit;
}

.youth-artical-date {
    color: #0d4e53;
    letter-spacing: 3px;
    width: fit-content;
    font-size: 14px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}
.youth-artical-item-title {
    height: 50px;
    overflow: hidden;
}

.youth-artical-item .youth-artical-item-title {
    white-space: nowrap;
    text-overflow: ellipsis;
}
.youth-artical-item-title.left-block {
    font-size: 22px;
    line-height: 30px;
    height: 30px;
    font-weight: 700;
    color: #5d5d5d;
    margin-bottom: 10px;
}
.youth-artical-item-title.right-block {
    font-size: 22px;
    line-height: 30px;
    height: 60px;
    font-weight: 700;
    color: #5d5d5d;
}
.youth-artical-item-content {
    font-size: 16px;
    line-height: 30px;
    height: 30px;
    color: #5d5d5d;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.youth-artical-right-btm .know-more {
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #3fa591;
    position: absolute;
    bottom: 0px;
    left: 0;
}
.know-more {
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #3fa591;
    position: absolute;
    bottom: 30px;
    left: 20px;
}
.youth-artical-item a:hover ~ .youth-artical-item__overlay,
.youth-artical-item a:focus ~ .youth-artical-item__overlay {
    transform: translate3d(0, 0, 0);
}
.youth-artical-item
    a:hover
    ~ .youth-artical-item__overlay
    .artical-title__container,
.youth-artical-item
    a:focus
    ~ .youth-artical-item__overlay
    .artical-title__container {
    transform: translate3d(0, 0, 0);
}
.youth-artical-item
    a:hover
    ~ .youth-artical-item__overlay
    .youth-artical-item__body,
.youth-artical-item
    a:focus
    ~ .youth-artical-item__overlay
    .youth-artical-item__body {
    opacity: 1;
}
.youth-artical-item
    a:hover
    ~ .youth-artical-item__overlay
    .youth-artical-item-title,
.youth-artical-item
    a:focus
    ~ .youth-artical-item__overlay
    .youth-artical-item-title {
    height: 70px;
}
.youthmaker-banner {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
}

.youthmaker-bn {
    width: 95%;
    margin: 0 auto;
    margin-top: 350px;
    color: #fff;
}
.youthmaker-bncontainer {
    position: relative;
    text-align: center;
}
.youthmaker-bncontainer img.banner {
    width: 100%;
    max-width: 100%;
    display: inline;
}
.youthmaker-bncontainer.slick-slide img {
    display: inline;
}
.blog_content {
    line-height: 24px;
    padding: 20px 0;
    color: #6c6c6c;
    font-weight: 400;
}

.bntext-left {
    text-align: left;
    width: 80%;
}
.bntext-cate {
    font-size: 16px;
    letter-spacing: 3px;
    vertical-align: middle;
    line-height: 24px;
    margin-bottom: 20px;
}
.bntext-school {
    background: #3fa591;
    color: #fff;
    padding: 7px;
    letter-spacing: 3px;
    width: fit-content;
    font-size: 12px;
    margin-bottom: 20px;
}
.bntext-title {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}
.bntext-content {
    width: 50%;
    line-height: 20px;
    font-size: 14px;
    word-wrap: break-word;
    overflow: hidden;
    height: 40px;
    margin-bottom: 40px;
}
a.bntext-button {
    border: 1px solid #fff;
    border-radius: 23px;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    width: fit-content;
}
a.bntext-button:hover {
    color: #fff;
    background: #3fa591;
    border: 1px solid #3fa591;
}

.carousel-caption {
    top: 45%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -50%);
    width: 80%;
}

a {
    color: white;
}

a:hover {
    color: white;
}

.carousel-item img {
    min-width: 600px;
    min-height: 300px;
    max-height: 500px;
    height: 500px;
}

.img-bg-youthgroupM {
    display: none;
}

/* detail */
.cover-img {
    width: 50%;
    max-width: 50%;
}

.artical-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

.artical-tags .tags {
    padding: 3px 12px;
    border-radius: 14px;
    border: solid 1px #3fa591;
    color: #3fa591;
    font-family: PingFangTC;
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    margin-right: 10px;
    margin-bottom: 10px;
}
.previous-next {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.previous-next a {
    color: gray;
}

.youth-other-title {
    font-family: PingFangTC;
    font-size: 28px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: normal;
    color: #084b4e;
    margin-bottom: 20px;
}
iframe {
    max-width: 100%;
}

.breadcrumb a {
    line-height: 20px;
}

@media (max-width: 1050px) {
    #carouselExampleControls {
        margin-top: 0px;
    }
    .bntext-left {
        text-align: left;
        width: 90%;
    }
    .carousel-caption {
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }
    .bntext-title {
        font-size: 20px;
        margin-top: 20px;
    }
    .bntext-content {
        font-size: 12px;
        margin-bottom: 20px;
        width: 100%;
    }
    .bntext-school {
        margin-top: 5px;
        display: inline;
    }
    .bntext-cate {
        font-size: 16px;
        letter-spacing: 3px;
        vertical-align: middle;
        line-height: 24px;
        margin-bottom: 10px;
        margin-top: 10px;
        display: inline;
    }
    .carousel-item img {
        max-height: 500px;
        height: 300px;
    }
    .detail-head {
        width: 85%;
        margin: 0 auto;
        margin-top: 10px;
        color: #fff;
    }
    .breadcrumb {
        padding-top: 0;
    }
    .youth-article-container {
        margin-top: 10px;
    }
}

@media (max-width: 1200px) {
    .youth-artical-item-title {
        white-space: inherit;
    }
    .youthgroup {
        display: none;
    }
    .youth-main-right {
        width: 100%;
    }
    .youth-main-left {
        width: 100%;
    }
    .youth-main-title-img-block {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .youth-titlecontainer {
        width: 300px;
    }
    .youth-main-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .youthmaker-container {
        background-color: #fafafa;
        height: 1150px;
        padding: 30px 0;
    }
    .img-bg-youthgroupM {
        display: block;
    }
    .img-bg-youthgroupM img {
        width: 189px;
    }
    .youth-hot-artical {
        grid-template-columns: none;
        margin-bottom: 0;
        border-bottom: none;
    }
    .youth-artical-right {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 0;
    }
    .top-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .youth-artical-item-content {
        max-width: 100%;
        font-size: 16px;
        line-height: 30px;
        height: 30px;
        margin-bottom: 10px;
    }
    .youth-artical-grid {
        grid-template-columns: none;
        gap: 0px;
        padding-bottom: 20px;
    }
    .youth-artical-grid .youth-artical-left-block {
        display: flex;
    }
    .youth-artical-grid .youth-artical-item {
        display: none;
    }
    .youth-artical-left-block:last-child {
        border-bottom: 1px solid #eee;
    }
    .youth-artical-item-title.right-block {
        font-size: 16px;
    }
    .cover-img {
        width: 100%;
        max-width: 100%;
    }
    .youth-artical-content {
        grid-template-columns: none;
        grid-row-gap: 0;
    }
    .youth-artical-right img {
        width: 100%;
    }
    .youth-artical-title-text > .line2 {
        font-size: 14px;
    }
    .max-h {
        max-height: 367px;
    }
}
