.wrap { padding-top: 2.75rem; } .wrap .tab { height: 2.5rem; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(151, 151, 151, 0.2); position: relative; } .tab .tab-item { height: 3.125rem; width: 6.25rem; font-size: 0.875rem; font-weight: 400; color: #222222; text-align: center; line-height: 3.125rem; } .tab .current-tab { position: absolute; bottom: 0; width: 3rem; height: 0.125rem; background-color: #1d52a2; transition: all 0.25s; } .wrap .content { padding: 0.9375rem; width: 100%; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; } .wrap .content > :not(:nth-child(2n)) { margin-right: 0.9375rem; } .content .content-item { width: calc((100% - 1.25rem) / 2); height: 9.75rem; background: #f4f4f4; border: 1px solid #bfbfbf; padding: 0.9375rem; margin-bottom: 0.9375rem; position: relative; } .content .content-item .title { height: 1rem; font-size: 0.875rem; font-weight: 500; color: #222222; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .content .content-item .detail { font-size: 0.75rem; font-weight: 400; color: #222222; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; margin: 0.9375rem 0 0.625rem; } .content .content-item .more { font-size: 0.75rem; font-weight: 400; color: #1d52a2; text-decoration: none; position: absolute; bottom: 0.9375rem; left: 0.9375rem; }