| 1 |
.upk-featured-list { |
| 2 |
position: relative; |
| 3 |
counter-reset: number-count; |
| 4 |
display: flex; |
| 5 |
flex-direction: column; |
| 6 |
grid-row-gap: 20px; |
| 7 |
} |
| 8 |
.upk-featured-list .upk-item { |
| 9 |
position: relative; |
| 10 |
} |
| 11 |
.upk-featured-list .upk-item .upk-item-box { |
| 12 |
width: 100%; |
| 13 |
} |
| 14 |
.upk-featured-list .upk-item .upk-image-wrap { |
| 15 |
display: none; |
| 16 |
overflow: hidden; |
| 17 |
} |
| 18 |
.upk-featured-list .upk-item .upk-image-wrap .upk-img { |
| 19 |
height: 100%; |
| 20 |
width: 100%; |
| 21 |
object-fit: cover; |
| 22 |
} |
| 23 |
.upk-featured-list .upk-item .upk-content { |
| 24 |
position: relative; |
| 25 |
display: flex; |
| 26 |
align-items: center; |
| 27 |
} |
| 28 |
.upk-featured-list .upk-item .upk-counter { |
| 29 |
counter-increment: number-count; |
| 30 |
height: 55px; |
| 31 |
min-width: 55px; |
| 32 |
width: 55px; |
| 33 |
background: #ffedef; |
| 34 |
text-align: center; |
| 35 |
border-radius: 80px; |
| 36 |
position: relative; |
| 37 |
display: inline-table; |
| 38 |
margin-right: 15px; |
| 39 |
} |
| 40 |
.upk-featured-list .upk-item .upk-counter:before { |
| 41 |
content: counter(number-count); |
| 42 |
color: #EF233C; |
| 43 |
font-weight: 600; |
| 44 |
font-size: 18px; |
| 45 |
line-height: 1; |
| 46 |
position: absolute; |
| 47 |
left: 50%; |
| 48 |
top: 50%; |
| 49 |
transform: translate(-50%, -50%); |
| 50 |
} |
| 51 |
.upk-featured-list .upk-item .upk-title { |
| 52 |
margin: 0; |
| 53 |
font-size: 16px; |
| 54 |
font-weight: 600; |
| 55 |
line-height: 1.4; |
| 56 |
} |
| 57 |
.upk-featured-list .upk-item .upk-title a { |
| 58 |
color: #2B2D42; |
| 59 |
} |
| 60 |
.upk-featured-list .upk-item .upk-title a:hover { |
| 61 |
color: #EF233C; |
| 62 |
} |
| 63 |
.upk-featured-list .upk-item .upk-category { |
| 64 |
padding-bottom: 5px; |
| 65 |
display: inline-flex; |
| 66 |
} |
| 67 |
.upk-featured-list .upk-item .upk-category a { |
| 68 |
color: #8D99AE; |
| 69 |
font-size: 13px; |
| 70 |
letter-spacing: 0.5px; |
| 71 |
display: -webkit-inline-box; |
| 72 |
line-height: 1; |
| 73 |
text-transform: capitalize; |
| 74 |
transition: all 0.3s ease; |
| 75 |
position: relative; |
| 76 |
display: flex; |
| 77 |
align-items: center; |
| 78 |
} |
| 79 |
.upk-featured-list .upk-item .upk-category a span { |
| 80 |
height: 8px; |
| 81 |
width: 8px; |
| 82 |
display: block; |
| 83 |
border-radius: 50%; |
| 84 |
margin-right: 5px; |
| 85 |
} |
| 86 |
.upk-featured-list .upk-item .upk-category a + a { |
| 87 |
margin-left: 10px; |
| 88 |
} |
| 89 |
.upk-featured-list .upk-item .upk-featured-meta { |
| 90 |
display: flex; |
| 91 |
flex-wrap: wrap; |
| 92 |
align-items: center; |
| 93 |
position: relative; |
| 94 |
color: #8D99AE; |
| 95 |
font-size: 11px; |
| 96 |
line-height: 1; |
| 97 |
padding-top: 10px; |
| 98 |
font-weight: 500; |
| 99 |
text-transform: uppercase; |
| 100 |
} |
| 101 |
.upk-featured-list .upk-item .upk-featured-meta .upk-author-name-wrap { |
| 102 |
display: flex; |
| 103 |
} |
| 104 |
.upk-featured-list .upk-item .upk-featured-meta .upk-author-name-wrap .upk-by { |
| 105 |
font-weight: 700; |
| 106 |
padding-right: 6px; |
| 107 |
} |
| 108 |
.upk-featured-list .upk-item .upk-featured-meta .upk-author-name-wrap .upk-author-name { |
| 109 |
text-decoration: none; |
| 110 |
color: #8D99AE; |
| 111 |
font-weight: 500; |
| 112 |
} |
| 113 |
.upk-featured-list .upk-item .upk-featured-meta > div { |
| 114 |
position: relative; |
| 115 |
display: inline-flex; |
| 116 |
} |
| 117 |
.upk-featured-list .upk-item .upk-featured-meta > div:before { |
| 118 |
content: attr(data-separator); |
| 119 |
margin: 0 5px; |
| 120 |
} |
| 121 |
.upk-featured-list .upk-item .upk-featured-meta > div:nth-child(1)::before { |
| 122 |
display: none; |
| 123 |
} |
| 124 |
.upk-featured-list .upk-item .upk-featured-meta .upk-post-time { |
| 125 |
margin-left: 5px; |
| 126 |
} |
| 127 |
.upk-featured-list .upk-item .upk-featured-meta .upk-post-time i { |
| 128 |
margin-right: 2px; |
| 129 |
} |
| 130 |
.upk-featured-list .upk-item:nth-child(1) .upk-image-wrap { |
| 131 |
display: flex; |
| 132 |
position: relative; |
| 133 |
overflow: hidden; |
| 134 |
width: 100%; |
| 135 |
} |
| 136 |
.upk-featured-list .upk-item:nth-child(1) .upk-image-wrap::before { |
| 137 |
content: ""; |
| 138 |
position: absolute; |
| 139 |
width: 100%; |
| 140 |
height: 100%; |
| 141 |
background: linear-gradient(358deg, rgba(16, 16, 19, 0.6509803922) 0, rgba(141, 153, 174, 0.1) 100%); |
| 142 |
} |
| 143 |
.upk-featured-list .upk-item:nth-child(1) .upk-content { |
| 144 |
position: absolute; |
| 145 |
bottom: 0; |
| 146 |
left: 0; |
| 147 |
padding: 30px; |
| 148 |
z-index: 11; |
| 149 |
} |
| 150 |
.upk-featured-list .upk-item:nth-child(1) .upk-title a { |
| 151 |
color: #fff; |
| 152 |
} |
| 153 |
.upk-featured-list .upk-item:nth-child(1) .upk-title a:hover { |
| 154 |
color: #EF233C; |
| 155 |
} |
| 156 |
.upk-featured-list .upk-item:nth-child(1) .upk-category a { |
| 157 |
color: #EDF2F4; |
| 158 |
} |
| 159 |
.upk-featured-list .upk-item:nth-child(1) .upk-featured-meta { |
| 160 |
color: #EDF2F4; |
| 161 |
} |
| 162 |
.upk-featured-list .upk-item:nth-child(1) .upk-featured-meta .upk-author-name-wrap .upk-author-name { |
| 163 |
color: #EDF2F4; |
| 164 |
} |
| 165 |
.upk-featured-list.upk-featured-style-1 .upk-content { |
| 166 |
padding: 0 30px; |
| 167 |
} |
| 168 |
.upk-featured-list.upk-featured-style-2 .upk-item-box { |
| 169 |
flex-direction: row-reverse; |
| 170 |
} |
| 171 |
.upk-featured-list.upk-featured-style-3 .upk-item-box { |
| 172 |
flex-direction: row; |
| 173 |
} |
| 174 |
.upk-featured-list.upk-featured-style-2, .upk-featured-list.upk-featured-style-3 { |
| 175 |
flex-direction: column; |
| 176 |
} |
| 177 |
.upk-featured-list.upk-featured-style-2 .upk-item-box, .upk-featured-list.upk-featured-style-3 .upk-item-box { |
| 178 |
display: flex; |
| 179 |
align-items: center; |
| 180 |
justify-content: space-between; |
| 181 |
grid-column-gap: 30px; |
| 182 |
} |
| 183 |
.upk-featured-list.upk-featured-style-2 .upk-image-wrap, .upk-featured-list.upk-featured-style-3 .upk-image-wrap { |
| 184 |
display: block; |
| 185 |
width: 100%; |
| 186 |
} |
| 187 |
.upk-featured-list.upk-featured-style-2 .upk-counter, .upk-featured-list.upk-featured-style-3 .upk-counter { |
| 188 |
display: none; |
| 189 |
} |
| 190 |
.upk-featured-list.upk-featured-style-2 .upk-content, .upk-featured-list.upk-featured-style-3 .upk-content { |
| 191 |
padding: 0; |
| 192 |
width: 100%; |
| 193 |
} |
| 194 |
|
| 195 |
.upk-global-link-yes .upk-featured-list .upk-item:hover { |
| 196 |
cursor: pointer; |
| 197 |
} |
| 198 |
|
| 199 |
@media (min-width: 768px) { |
| 200 |
.upk-featured-list .upk-item .upk-counter { |
| 201 |
height: 80px; |
| 202 |
width: 80px; |
| 203 |
min-width: 80px; |
| 204 |
margin-right: 20px; |
| 205 |
} |
| 206 |
.upk-featured-list .upk-item .upk-counter:before { |
| 207 |
font-size: 24px; |
| 208 |
} |
| 209 |
.upk-featured-list .upk-item .upk-title { |
| 210 |
font-size: 22px; |
| 211 |
} |
| 212 |
.upk-featured-list .upk-item .upk-featured-meta { |
| 213 |
font-size: 12px; |
| 214 |
} |
| 215 |
.upk-featured-list .upk-item .upk-category { |
| 216 |
padding-bottom: 8px; |
| 217 |
} |
| 218 |
.upk-featured-list .upk-item .upk-category a { |
| 219 |
font-size: 14px; |
| 220 |
} |
| 221 |
} |