/*========================================================================== Blog One CSS ==========================================================================*/ .blog__one { &-item { position: relative; z-index: 2; &-image { position: relative; z-index: 1; overflow: hidden; &::before { position: absolute; top: 0; left: -75%; z-index: 0; display: block; content: ''; width: 30%; height: 100%; transform: skewX(-25deg); background: var(--text-white); opacity: 0.4; z-index: 1; } img { width: 100%; transition: all 1.5s cubic-bezier(0, 0, 0.2, 1); &:hover { transform: scale3d(1.1, 1.1, 1.1); } } &-date { position: absolute; right: 30px; bottom: 30px; background: var(--primary-color-1); display: inline-block; border-radius: 6px; padding: 10px 16px; text-align: center; span { color: var(--text-white); display: block; } .text-three { font-size: 24px; line-height: 24px; font-weight: 700; position: relative; padding-bottom: 6px; margin-bottom: 6px; &::before { position: absolute; content: ''; left: 50%; transform: translateX(-50%); bottom: 0; background: var(--text-white); opacity: 0.2; width: 30px; height: 2px; } } .text-five { font-size: 14px; line-height: 14px; text-transform: uppercase; font-weight: 600; } } } &-content { padding: 17px 40px 40px 40px; border: 1px solid var(--color-10); border-top: 0; transition: 0.4s; &-meta { border-bottom: 1px solid var(--color-10); padding-bottom: 16px; margin-bottom: 15px; ul { padding: 0; margin: 0; li { padding: 0; display: inline-block; list-style: none; padding-right: 30px; margin-right: 30px; border-right: 1px solid var(--color-10); color: var(--color-2); font-weight: 600; font-size: 16px; line-height: 26px; font-family: var(--heading-font); &:last-child { margin: 0; padding: 0; border: 0; } a { transition: 0.4s; i { color: var(--primary-color-1); margin-right: 10px; font-size: 18px; } &:hover { color: var(--primary-color-1); } } } } } h4 { margin-bottom: 15px; a { transition: 0.4s; &:hover { color: var(--primary-color-1); } } } } &:hover { .blog__one-item { &-image::before { animation: animation 0.95s; } &-content { box-shadow: var(--box-shadow-1); } } } } .btn-two { background: var(--bg-white); color: var(--text-heading-color); &:hover { color: var(--text-white); } } } /*========================================================================== Blog Two CSS ==========================================================================*/ .blog__two { .btn-six { &::before { background: var(--primary-color-2); } &:hover { color: var(--text-white); border-color: var(--primary-color-2); } } &-item { position: relative; z-index: 2; &-image { position: relative; z-index: 1; overflow: hidden; &::before { position: absolute; top: 0; left: -75%; z-index: 0; display: block; content: ''; width: 30%; height: 100%; transform: skewX(-25deg); background: var(--text-white); opacity: 0.4; z-index: 1; } img { width: 100%; transition: all 1.5s cubic-bezier(0, 0, 0.2, 1); transform: scale(1.02); &:hover { transform: scale3d(1.1, 1.1, 1.1); } } &-date { position: absolute; left: 40px; bottom: 30px; background: var(--primary-color-2); display: inline-block; border-radius: 6px; padding: 13px 20px 10px 20px; text-align: center; span { color: var(--text-white); } .text-three { font-size: 24px; line-height: 24px; font-weight: 700; position: relative; margin-right: 10px; padding-right: 15px; &::before { position: absolute; content: ''; top: 50%; transform: translateY(-50%); right: 0; background: var(--text-white); opacity: 0.4; width: 1px; height: 20px; } } .text-five { font-size: 14px; line-height: 14px; text-transform: uppercase; font-weight: 600; position: relative; bottom: 3px; } } } &-content { padding: 17px 40px 40px 40px; background: var(--bg-white); box-shadow: var(--box-shadow-1); &-meta { border-bottom: 1px solid var(--color-10); padding-bottom: 16px; margin-bottom: 15px; ul { padding: 0; margin: 0; li { padding: 0; display: inline-block; list-style: none; padding-right: 30px; margin-right: 30px; border-right: 1px solid var(--color-10); color: var(--color-2); font-weight: 600; font-size: 16px; line-height: 26px; font-family: var(--heading-font); &:last-child { margin: 0; padding: 0; border: 0; } a { transition: 0.4s; i { color: var(--primary-color-2); margin-right: 10px; font-size: 18px; } &:hover { color: var(--primary-color-2); } } } } } h4 { margin-bottom: 15px; a { transition: 0.4s; &:hover { color: var(--primary-color-2); } } } .btn-six { margin-top: 15px; border-color: var(--color-4); color: var(--text-heading-color); font-size: 14px; line-height: 24px; border-radius: 22px; padding: 9px 24px 8px 24px; &::before { background: var(--primary-color-2); } &:hover { color: var(--text-white); border-color: var(--primary-color-2); } } } &:hover { .blog__two-item-image::before { animation: animation 0.95s; } } &.page { .blog__two-item { &-image-date { background: var(--primary-color-1); } &-content { &-meta ul li a { i { color: var(--primary-color-1); } &:hover { color: var(--primary-color-1); } } h4 a:hover { color: var(--primary-color-1); } .btn-six { &::before { background: var(--primary-color-1); } &:hover { border-color: var(--primary-color-1); } } } } } } } /*========================================================================== Blog Three CSS ==========================================================================*/ .blog__three { &-item { position: relative; z-index: 2; &-image { position: relative; z-index: 1; overflow: hidden; &::before { position: absolute; top: 0; left: -75%; z-index: 0; display: block; content: ''; width: 30%; height: 100%; transform: skewX(-25deg); background: var(--text-white); opacity: 0.4; z-index: 1; } img { width: 100%; transition: all 1.5s cubic-bezier(0, 0, 0.2, 1); &:hover { transform: scale3d(1.1, 1.1, 1.1); } } } &-content { padding: 20px 30px 30px 30px; background: var(--bg-white); box-shadow: var(--box-shadow-1); margin: 0 30px; border-radius: 4px; margin-top: -80px; margin-bottom: 49px; position: relative; transition: 0.6s; z-index: 1; &::after { content: ''; position: absolute; left: 0; top: 0; height: 80px; width: 4px; background: var(--primary-color-3); border-radius: 6px 0px 0px 0px; transition: 0.6s; } &-meta { border-bottom: 1px solid var(--color-10); padding-bottom: 16px; margin-bottom: 17px; ul { padding: 0; margin: 0; li { padding: 0; display: inline-block; list-style: none; margin-right: 30px; color: var(--color-2); font-weight: 600; font-size: 16px; line-height: 26px; font-family: var(--heading-font); &:last-child { margin: 0; } a { transition: 0.4s; i { color: var(--primary-color-3); margin-right: 10px; font-size: 18px; } &:hover { color: var(--primary-color-3); } } } } } h4 { a { transition: 0.4s; &:hover { color: var(--primary-color-3); } } } &-btn { margin-top: -28px; opacity: 0; position: relative; z-index: -1; transition: 0.6s; .simple-btn-1 { color: var(--primary-color-3); &:hover { color: var(--text-heading-color); } } } } &:hover { .blog__three-item { &-image::before { animation: animation 0.95s; } } } &.blog__three-item-hover { .blog__three-item { &-content { margin-bottom: 0; &::after { height: 100%; border-radius: 6px 0px 0px 6px; } &-btn { opacity: 1; margin-top: 20px; z-index: 1; } } } } } } /*========================================================================== News Details CSS ==========================================================================*/ .blog__details { &-left { &-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border-color-1); flex-wrap: wrap; column-gap: 20px; row-gap: 5px; &-content { h6 { font-size: 18px; line-height: 28px; font-weight: 700; } } .author { gap: 15px; display: flex; align-items: center; &-avatar img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; } &-info { span { font-size: 14px; line-height: 24px; font-weight: 500; } h6 { font-size: 18px; line-height: 28px; font-weight: 700; } } } } &-box { background: var(--color-6); border: 1px solid var(--border-color-4); padding: 45px; display: flex; gap: 30px; margin: 30px 0; i { font-size: 64px; color: var(--primary-color-1); } h5 { font-family: var(--theme-font-1); font-weight: 500; margin-bottom: 20px; } } &-tag { display: flex; align-items: center; column-gap: 30px; row-gap: 20px; margin-top: 30px; margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color-1); flex-wrap: wrap; h6 { font-size: 20px; line-height: 30px; } } &-author { background: var(--color-6); border: 1px solid var(--border-color-4); padding: 45px; display: flex; gap: 25px; &-image { width: 120px; height: 120px; min-width: 120px; img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; } } .social__icon ul { padding: 0; margin: 0; display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; li { list-style: none; a i { width: 35px; height: 35px; font-size: 14px; background: var(--bg-white); color: var(--text-heading-color); transition: 0.4s; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; &:hover { color: var(--text-white); background: var(--primary-color-1); } } } } } &-comment { &-item { padding-bottom: 25px; margin-bottom: 30px; border-bottom: 1px solid var(--border-color-1); &-comment { &-image { float: left; img { min-width: 80px; width: 80px; height: 80px; object-fit: cover; border-radius: 50%; } } &-content { padding-left: 30px; overflow: hidden; span { font-size: 14px; margin-bottom: 5px; display: inline-block; } h6 { font-size: 18px; line-height: 28px; a { float: right; transition: 0.4s; font-family: var(--heading-font); font-style: normal; font-weight: 700; font-size: 14px; line-height: 24px; color: var(--text-heading-color); border: 1px solid var(--border-color-1); padding: 7px 18px; border-radius: 4px; i { margin-right: 10px; } &:hover { color: var(--text-white); background: var(--primary-color-1); border-color: var(--primary-color-1); } } } p { max-width: 580px; margin-bottom: 0; } } } } } &-contact { h5 { margin-bottom: 5px; } } } } /*========================================================================== News Standard CSS ========================================================================== */ .news__standard { &-left { &-item { &-image { position: relative; z-index: 1; overflow: hidden; &::before { position: absolute; top: 0; left: -75%; z-index: 0; display: block; content: ''; width: 30%; height: 100%; transform: skewX(-25deg); background: var(--text-white); opacity: 0.4; z-index: 1; } img { width: 100%; transition: all 1.5s cubic-bezier(0, 0, 0.2, 1); &:hover { transform: scale3d(1.1, 1.1, 1.1); } } &:hover { &::before { animation: animation 0.95s; } } } &-content { padding: 40px; box-shadow: var(--box-shadow-1); &-meta { margin-bottom: 15px; ul { padding: 0; margin: 0; li { display: inline-block; margin-right: 30px; list-style: none; &:last-child { margin: 0; } a { transition: 0.4s; i { color: var(--primary-color-1); margin-right: 10px; } &:hover { color: var(--primary-color-1); } } } } } h3 a { transition: 0.4s; &:hover { color: var(--primary-color-1); } } p { margin-bottom: 35px; } } } } } @media (max-width: 1399px) { .blog__one { &-item { &-content { padding: 17px 30px 30px 30px; &-meta { ul { li { padding-right: 20px; margin-right: 20px; } } } } } } .blog__three { &-item { &-content { margin: 0 20px; margin-top: -80px; margin-bottom: 49px; &-meta { ul { li { margin-right: 20px; } } } } } } .blog__two { &-item { &-content { padding: 17px 30px 30px 30px; &-meta { ul { li { padding-right: 20px; margin-right: 20px; } } } } } } } @media (max-width: 1199px) { .news__standard { &-left-item-content { padding: 40px 30px; h3 { font-size: 28px; line-height: 38px; } } } } @media (max-width: 575px) { .blog__three-item-content { margin: 0 10px; margin-top: -80px; margin-bottom: 49px; } .news__standard { &-left-item-content { padding: 30px 25px; h3 { font-size: 22px; line-height: 32px; } &-meta ul li { margin-right: 15px; } } } .blog__details-left-author { display: grid; padding: 40px 30px; } .blog__details-left-box { display: block; padding: 40px 30px; h5 { font-size: 20px; line-height: 30px; } } .blog__details-left-comment-item-comment { &-image { float: initial; } &-content { padding-left: 0; margin-top: 20px; } } } @media (max-width: 359px) { .blog__one { &-item { &-content { padding: 17px 25px 25px 25px; &-meta { ul { li { padding-right: 12px; margin-right: 0; border: 0; } } } } } } .blog__three-item-content { padding: 20px 22px 30px 22px; &-meta ul li { margin-right: 5px; a i { margin-right: 8px; } } } }