.main { position: relative; overflow: hidden; padding: 20px 0; @media (min-width: $tablet) { padding: 40px 0; } &__employers { display: flex; flex-direction: column; gap: 20px; @media (min-width: $laptop) { gap: 30px; } &-body { display: none; flex-direction: column; gap: 20px; @media (min-width: $laptop) { gap: 30px; } &.showed { display: flex; } .main__employers-item { display: none; &:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3), &:nth-of-type(4), &:nth-of-type(5), &:nth-of-type(6), &:nth-of-type(7), &:nth-of-type(8) { display: flex; } } &.active { .main__employers-item { display: flex; } } } &-more { margin: 0 auto; } &-item { display: flex; flex-direction: column; border: 1px solid #e7e7e7; border-radius: 8px; position: relative; overflow: hidden; padding: 10px; padding-top: 50px; padding-bottom: 30px; @media (min-width: $tablet) { flex-direction: row; align-items: center; justify-content: space-between; padding: 55px 20px; } &-inner { display: flex; flex-direction: column; @media (min-width: $tablet) { width: calc(100% - 200px); padding-right: 40px; } @media (min-width: $laptop) { flex-direction: row; align-items: center; } } &-pic { height: 30px; position: absolute; top: 10px; left: 10px; @media (min-width: $tablet) { position: static; width: 150px; height: auto; max-height: 150px; object-fit: contain; } } &-body { font-size: 12px; display: flex; flex-direction: column; gap: 10px; @media (min-width: $tablet) { font-size: 16px; padding-top: 20px; } @media (min-width: $laptop) { width: calc(100% - 150px); padding: 0; padding-left: 40px; } b { font-weight: 700; @media (min-width: $tablet) { font-size: 20px; } } i { font-style: normal; color: $gray; } } &-more { position: absolute; top: 10px; right: 10px; @media (min-width: $tablet) { width: 200px; padding: 0; position: static; } } &-label { background: $blue; color: $white; border-radius: 6px; width: 100%; height: 20px; display: flex; align-items: center; padding: 0 12px; position: absolute; bottom: 0; left: 0; font-size: 12px; line-height: 1; @media (min-width: $tablet) { max-width: 350px; height: 30px; font-size: 15px; } svg { width: 8px; height: 8px; @media (min-width: $tablet) { width: 12px; height: 12px; } } span { @include lines(1); width: calc(100% - 8px); padding-left: 6px; } } } &-one { display: flex; flex-direction: column; gap: 20px; } &-two { display: flex; flex-direction: column; gap: 20px; @media (min-width: $tablet) { flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 0; } .main__employers-item { width: calc(50% - 10px); flex-direction: column; align-items: stretch; padding-top: 30px; &-inner { width: 100%; padding: 0; } &-more { position: static; margin-top: 20px; @media (min-width: $laptop) { margin-left: 190px; } } &-label { max-width: none; } } } } &__employer-page { display: flex; flex-direction: column; gap: 20px; @media (min-width: $tablet) { gap: 30px; } &-title { color: $gray; margin: 0; font-size: 30px; @media (min-width: $tablet) { font-size: 36px; } @media (min-width: $laptop) { font-size: 44px; } } &-item { display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.4; @media (min-width: $tablet) { font-size: 18px; gap: 8px; } b { color: $green; font-size: 14px; @media (min-width: $tablet) { font-size: 20px; } } span { color: $gray; } } &-info { display: flex; flex-direction: column; gap: 20px; @media (min-width: $tablet) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 40px; } @media (min-width: $desktop) { grid-template-columns: repeat(4, 1fr); } } &-info &-item { b, span { @media (min-width: $tablet) { max-width: 300px; } } } &-tabs { display: flex; align-items: center; gap: 20px; @media (min-width: $tablet) { margin-top: 20px; } &-item { font-size: 22px; font-weight: 700; border: none; background: none; padding: 0; color: #9c9d9d; text-decoration: underline; text-decoration-thickness: 1px; @media (min-width: $tablet) { font-size: 24px; } &.active { color: $green; } } } &-body { display: flex; flex-direction: column; margin-top: 10px; @media (min-width: $tablet) { margin-top: 30px; } &-item { display: none; flex-direction: column; gap: 20px; &.showed { display: flex; } } } &-one { display: flex; flex-direction: column; gap: 20px; @media (min-width: $tablet) { display: grid; grid-template-columns: repeat(2, 1fr); } @media (min-width: $laptop) { grid-template-columns: repeat(3, 1fr); } @media (min-width: $desktop) { grid-template-columns: repeat(4, 1fr); gap: 30px 20px; } &-item { display: flex; flex-direction: column; gap: 10px; font-size: 12px; @media (min-width: $desktop) { font-size: 18px; } img { border-radius: 10px; object-fit: cover; width: 100%; max-height: 250px; aspect-ratio: 29/17; @media (min-width: $desktop) { margin-bottom: 10px; } } b { font-weight: 700; color: $green; } span { color: $gray; } } } &-two { display: flex; flex-direction: column; align-items: center; gap: 20px; &-item { width: 100%; display: flex; flex-direction: column; gap: 20px; padding: 20px 10px; border-radius: 12px; border: 1px solid #e7e7e7; position: relative; overflow: hidden; font-size: 12px; background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); @media (min-width: $tablet) { font-size: 16px; padding: 20px; padding-bottom: 50px; } @media (min-width: $desktop) { font-size: 18px; } &-toper { display: flex; align-items: center; font-size: 22px; font-weight: 700; color: $gray; @media (min-width: $tablet) { font-size: 30px; } img { width: 60px; aspect-ratio: 1/1; object-fit: contain; } span { width: calc(100% - 60px); padding-left: 10px; } } &-title { font-size: 18px; font-weight: 700; color: $green; @media (min-width: $tablet) { font-size: 24px; } } &-text { display: flex; flex-direction: column; gap: 8px; &-name { font-size: 14px; font-weight: 700; @media (min-width: $tablet) { font-size: 18px; } } &-body { color: $gray; display: flex; flex-direction: column; gap: 6px; padding: 0 10px; p { margin: 0; } ul { margin: 0; padding: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 6px; span { color: $gray; font-size: 14px; font-weight: 700; } } } } &-tags { color: $blue; font-weight: 500; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; } &-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } &-button { @media (min-width: $tablet) { position: absolute; bottom: 20px; left: 20px; width: 200px; padding: 0; } } &-button + &-button { @media (min-width: $tablet) { left: auto; right: 20px; } } &-bottom { display: flex; align-items: center; justify-content: space-between; &-date { color: $gray; @media (min-width: $tablet) { position: absolute; bottom: 20px; right: 240px; height: 42px; display: flex; align-items: center; } } &-like { @media (min-width: $tablet) { position: absolute; bottom: 20px; left: 240px; } } } } &-more { @media (min-width: $tablet) { margin-top: 10px; padding: 0; width: 200px; } } } &-two { &-item { display: none; &:nth-of-type(1), &:nth-of-type(2) { display: flex; } } &.active &-item { display: flex; } } } }