.article-inner { padding: 3rem 0 4rem; @include grid(false, 67% auto); gap: 4rem; } .article-wrap { padding-top: 30px; } .article { &_desc { &-title { color: #292929; font-weight: 600; font-size: 17px; line-height: 1.4; } &-result { font-weight: 600; font-size: 20px; line-height: 1.4; margin: 50px 0 40px; color: #00822c; text-align: center; } &-photo { display: block; width: 100%; height: 450px; margin-bottom: 20px; img { width: 100%; height: 100%; object-fit: contain; -o-object-fit: contain; object-position: left; } } } &_btn { display: flex; align-items: center; // justify-content: ; margin-top: 40px; &.color-gr { a { color: #fff; } } a { font-weight: 600; font-size: 15px; line-height: 1.4; border: 1px solid transparent; background: #00822c; color: #fff; display: block; padding: 8px 30px; transition: 0.2s linear; &:hover { background: transparent; border-color: #00822c; color: #00822c; } } } &-test { display: flex; flex-direction: column; align-items: stretch; button { cursor: pointer; position: relative; display: flex; align-items: center; font-weight: 600; font-size: 14px; line-height: 1.4; max-width: 300px; padding: 5px 14px; margin-bottom: 12px; color: #00822c; border: 1px solid #00822c; transition: 0.2s linear; &::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #00822c; margin-right: 10px; text-align: center; align-self: center; } &:hover { border-color: #000; color: #000; &::before { background: #000; } } &.true { background: #00822c; border-color: #00822c; color: #fff; &::before { background: #fff; } } &.false { background: #ff0c00; border-color: #ff0c00; color: #fff; &::before { background: #fff; } } &.disabled { pointer-events: none; } } } &-hint { display: none; position: relative; &.active { display: block; animation: hint 0.2s linear; } } } @keyframes hint { 0% { top: 50px; } 100% { top: 0; } } .article-content-top { @include flex(column); gap: 1.2rem; } .article-item { @include imgStyle($objFit: contain); @include flex; align-items: flex-start; height: 55rem; overflow: hidden; } .article-prev, .article-next { top: 45%; } .article-head { @include flex(column); gap: 1.2rem; h2 { font-size: 2.4rem; font-weight: bold; line-height: 3.3rem; } span { font-weight: 600; font-size: 1.7rem; color: $base-green; } } .article-content { @include flex(column); gap: 4rem; } .article-desc { padding-top: 1.8rem; @include flex(column); gap: 2.4rem; a { color: rgb(59, 59, 255); } p, h5 { font-size: 1.7rem; line-height: 2.5rem; } p { img { max-height: 55rem; object-fit: cover; } } } .article-links { padding-top: 2.8rem; } .article-content-bottom { @include flex(column); gap: 3.2rem; h3 { font-size: 2.4rem; } } .article-bottom-head { h4, span { color: $base-black; font-weight: 300; } } .article-content-info { color: $base-black !important; font-weight: bold !important; } .article-items { display: none; } .align-center { align-items: center; flex-direction: row; } // Media @media screen and (max-width: 1080px) { .article-aside { display: none; &.test-aside { border-top: 0.1rem solid rgb(3, 159, 55); display: flex; flex-direction: row; flex-wrap: wrap; margin: 80px 0 0; .aside { &-ad { &-wrapper { width: calc(33.33% - 2.4rem); &-title { width: 100%; padding-top: 20px; } } } } } } .article-inner { display: block; } } @media screen and (max-width: 800px) { .article-inner { padding: 2.2rem 0 5rem; } .article-head { flex-direction: column-reverse; h2 { font-size: 1.9rem; } span { font-size: 1.5rem; color: $mild-gray; } } .article-content-top { gap: 2.5rem; } .article-content-bottom { gap: 2.5rem; h3 { font-size: 2rem; letter-spacing: 0.1em; text-align: center; } } .article-aside { &.test-aside { .aside { &-ad { &-wrapper { width: calc(50% - 2.4rem); &:nth-of-type(n + 3) { display: none; } } } } } } } @media screen and (max-width: 700px) { // .article-swiper-wrapper-lower { // display: none; // } .article-items { @include flex(column); gap: 2.5rem; } .article { &_desc { &-photo { height: auto; } } } .article-content-info { font-size: 1.7rem; } .article-bottom-head { font-size: 1.5rem; } .sub-news-left-content-item-content { gap: 0.5rem; } .article-bottom-item { gap: 1.4rem; } } @media screen and (max-width: 600px) { .article-aside { &.test-aside { margin-top: 50px; .aside { &-ad { &-wrapper { width: calc(100% - 2.4rem); a { height: 200px; } img { object-fit: contain; object-position: left; } } } } } } }