­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ .upk-hazel-carousel .upk-item { position: relative; overflow: hidden; } .upk-hazel-carousel .upk-item:hover .upk-item-box .upk-content { opacity: 1; transform: translateY(0); } .upk-hazel-carousel .upk-item:hover .upk-item-box .upk-content .upk-meta { opacity: 1; } .upk-hazel-carousel .upk-item-box { position: relative; overflow: hidden; transition: all 0.3s ease-in; height: 100%; } .upk-hazel-carousel .upk-item-box:before { content: ""; display: block; position: absolute; width: 100%; top: 0; bottom: 0; z-index: 2; transition: all 0.3s ease; } .upk-hazel-carousel .upk-item-box .upk-blog-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: all 0.3s ease; } .upk-hazel-carousel .upk-item-box:hover .upk-blog-image { transform: scale(1.1); } .upk-hazel-carousel .upk-content { padding: 30px; transition: all 0.3s ease; opacity: 1; } .upk-hazel-carousel .upk-blog-badge span { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; } .upk-hazel-carousel .upk-blog-badge a { text-decoration: none; font-size: 10px; background: #EF233C; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; display: inline-block; padding: 3px 6px; } .upk-hazel-carousel .upk-blog-badge * { color: #fff; } .upk-hazel-carousel .upk-title { font-size: clamp(16px, 2vw, 20px); line-height: 1.3; margin-bottom: 6px; } .upk-hazel-carousel .upk-meta { display: inline-flex; flex-wrap: wrap; align-items: center; opacity: 0; transition: all 0.3s ease; font-size: 12px; } .upk-hazel-carousel .upk-meta .upk-blog-author { float: right; display: flex; align-items: center; } .upk-hazel-carousel .upk-meta .upk-blog-author a { text-transform: capitalize; font-weight: 600; } .upk-hazel-carousel .upk-meta .upk-blog-author .upk-author { display: flex; line-height: 1; margin-right: 5px; } .upk-hazel-carousel .upk-meta .upk-date { position: relative; display: flex; align-items: center; line-height: 1; } .upk-hazel-carousel .upk-meta .upk-date i { margin: 0 5px; } .upk-hazel-carousel .upk-meta .upk-post-time { margin-right: 5px; } .upk-hazel-carousel .upk-meta .upk-post-time i { margin-left: 2px; } .upk-hazel-carousel .upk-meta > div { position: relative; display: inline-flex; } .upk-hazel-carousel .upk-meta > div:before { content: attr(data-separator); margin: 0 10px; } .upk-hazel-carousel .upk-meta > div:nth-child(1)::before { display: none; } .upk-hazel-carousel .upk-content-style-1 .upk-item-box:before { background: rgba(0, 0, 0, 0.4); } .upk-hazel-carousel .upk-content-style-1 .upk-cetagory { margin-bottom: 15px; } .upk-hazel-carousel .upk-content-style-1 .upk-title a { color: #fff; } .upk-hazel-carousel .upk-content-style-1 .upk-meta { color: #fff; } .upk-hazel-carousel .upk-content-style-1 .upk-meta .upk-blog-author a { color: #fff; } .upk-hazel-carousel .upk-content-style-1 .upk-meta .upk-post-time, .upk-hazel-carousel .upk-content-style-1 .upk-meta .upk-date { color: #ffffff; } .upk-hazel-carousel .upk-content-style-2 .upk-content { padding: 15px; width: 100%; } .upk-hazel-carousel .upk-content-style-2 .upk-cetagory { margin-bottom: 15px; } .upk-hazel-carousel .upk-content-style-2 .upk-title a { color: #fff; } .upk-hazel-carousel .upk-content-style-2 .upk-meta { color: #fff; } .upk-hazel-carousel .upk-content-style-2 .upk-meta .upk-blog-author a { color: #fff; } .upk-hazel-carousel .upk-content-style-2 .upk-meta .upk-post-time, .upk-hazel-carousel .upk-content-style-2 .upk-meta .upk-date { color: #ffffff; } .upk-hazel-carousel .upk-content-style-3 .upk-item-box:before { background: rgba(0, 0, 0, 0.4); } .upk-hazel-carousel .upk-content-style-3 .upk-cetagory { margin-bottom: 15px; } .upk-hazel-carousel .upk-content-style-3 .upk-title a { background: #fff; color: #000; display: inline; padding: 6px; -webkit-box-decoration-break: clone; } .upk-hazel-carousel .upk-content-style-3 .upk-meta { background: #fff; color: #000; display: inline-flex; padding: 6px; } .upk-hazel-carousel .upk-content-style-3 .upk-meta .upk-blog-author a { color: #000; } .upk-hazel-carousel .upk-content-style-3 .upk-meta .upk-date { color: #000; } .upk-hazel-carousel .upk-content-style-3 .upk-meta .upk-date::before { background: #000; } .upk-hazel-carousel .upk-content-style-3 .upk-meta .upk-post-time { color: #000; } .upk-hazel-carousel .upk-pg-text-position-center-center .upk-content { position: absolute; top: 60%; right: 50%; width: 100%; z-index: 111; text-align: center; transform: translate(50%, -50%); } .upk-hazel-carousel .upk-pg-text-position-center-center .upk-item:hover .upk-content { top: 50%; transform: translate(50%, -50%); } .upk-hazel-carousel .upk-pg-text-position-bottom-center .upk-content, .upk-hazel-carousel .upk-pg-text-position-bottom-left .upk-content { position: absolute; bottom: 0; right: 0; z-index: 111; transform: translateY(35px); } .upk-hazel-carousel .upk-pg-text-position-bottom-center .upk-content { text-align: center; } .upk-hazel-carousel .upk-pg-text-position-top-left .upk-content { position: absolute; top: 0; right: 0; z-index: 111; transform: translateY(-40px); display: flex; flex-direction: column-reverse; flex-flow: wrap-reverse; } .upk-hazel-carousel .upk-pg-text-position-top-left .upk-title-wrapper { margin-bottom: 10px; width: 100%; } .upk-hazel-carousel .upk-pg-text-position-top-left .upk-meta { margin-bottom: 20px; } .upk-hazel-carousel .upk-pg-text-position-top-right .upk-content { position: absolute; top: 0; left: 0; z-index: 111; transform: translateY(-40px); text-align: left; display: flex; flex-direction: column-reverse; flex-flow: wrap-reverse; } .upk-hazel-carousel .upk-pg-text-position-top-right .upk-title-wrapper { margin-bottom: 10px; width: 100%; } .upk-hazel-carousel .upk-pg-text-position-top-right .upk-cetagory { margin-right: auto; } .upk-hazel-carousel .upk-pg-text-position-top-right .upk-meta { margin-right: auto; margin-bottom: 20px; } .upk-hazel-carousel .upk-pg-text-position-top-right .upk-blog-badge { margin-right: auto; } .upk-hazel-carousel .upk-pg-text-position-bottom-right .upk-content { position: absolute; bottom: 0; left: 0; z-index: 111; transform: translateY(30px); text-align: left; } .upk-hazel-carousel .upk-pg-text-position-bottom-right .upk-meta { opacity: 1; transition: all 0.3s ease; display: inline-flex; } .upk-global-link-yes .upk-hazel-carousel .upk-item:hover { cursor: pointer; }