.post-navigation-widget {
width: 752px;
display: flex;
flex-direction: row;
gap: 24px;
font-family: "Hanken Grotesk";
font-style: normal;
font-weight: 400;
justify-content: space-between;
}
.post-navigation-widget p,
.post-navigation-widget h1,
.post-navigation-widget h2,
.post-navigation-widget h3,
.post-navigation-widget h4,
.post-navigation-widget h5,
.post-navigation-widget h6 {
margin: 0;
}
.post-navigation-widget .post-card {
display: flex;
flex-direction: column;
gap: 16px;
width: calc(50% - 12px);
}
.post-navigation-widget .post-card.next {
margin-left: auto;
}
.post-navigation-widget .post-card .navigation-link {
display: flex;
flex-direction: column;
gap: 24px;
}
.post-navigation-widget .post-card .links{
display: flex;
flex-direction: column;
gap: 36px;
}
.post-navigation-widget .post-card .navigation-label {
display: flex;
flex-direction: row;
gap: 12px;
align-items: center;
font-size: 16px;
color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
text-decoration: underline;
text-underline-offset: 8px;
width: fit-content;
transition: 0.3s;
}
.post-navigation-widget .post-card.next .navigation-label {
align-self: flex-end;
}
.post-navigation-widget .post-card.previous .navigation-label:before,
.post-navigation-widget .post-card.next .navigation-label:after {
content: "";
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid;
background-image: url(//crombie.dev/wp-content/crombie-plugin/includes/widgets/post-navigation/assets/arrow-normal.svg);
background-repeat: no-repeat;
background-size: 16px 16px;
background-position: center;
transition: 0.3s;
}
.post-navigation-widget .post-card.next .navigation-label:after{
rotate: 180deg;
}
.post-navigation-widget .post-card .navigation-label:hover {
color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
transition: 0.3s;
}
.post-navigation-widget .post-card .navigation-label:hover:before,
.post-navigation-widget .post-card .navigation-label:hover:after {
background-image: url(//crombie.dev/wp-content/crombie-plugin/includes/widgets/post-navigation/assets/arrow-hover.svg);
transition: 0.3s;
}
.post-navigation-widget .links .featured-image-link{
position: relative;
line-height: 0;
overflow: hidden;
aspect-ratio: 182 / 137;
border-radius: 8px;
}
.post-navigation-widget .links .featured-image-link img {
width: 100%;
height: 100%;
object-fit: cover;
transition: 0.3s;
}
.post-navigation-widget .post-card:hover .links .featured-image-link img {
transform: scale(1.15);
transition: 0.3s;
}
.post-navigation-widget .featured-image-link .category {
position: absolute;
background: black;
color: white;
padding: 16px 16px;
top: 16px;
left: 16px;
border-radius: 24px;
font-size: 14px;
z-index: 1;
opacity: 0;
transition: 0.3s;
}
.post-navigation-widget .post-card:hover .featured-image-link .category{
opacity: 1;
transition: 0.3s;
}
.post-navigation-widget .post-card h6 {
color: var(--Gray-Gray-700, #DDD);
font-size: 24px;
font-weight: 700;
transition: 0.3s;
}
.post-navigation-widget .post-card:hover h6 {
color: white;
transition: 0.3s;
}
.post-navigation-widget .post-card .info {
display: flex;
flex-direction: row;
gap: 12px;
align-items: center;
font-size: 14px;
color: var(--Gray-Gray-500, #606060);
opacity: 0;
transition: 0.3s;
}
.post-navigation-widget .post-card:hover .info{
opacity: 1;
transition: 0.3s;
}
.post-navigation-widget .post-card .info .author-img {
height: 24px;
width: 24px;
}
.post-navigation-widget .post-card .info .author-img img {
height: 100%;
width: 100%;
border-radius: 50%;
}
.post-navigation-widget .post-card .info .author-name {
color: white;
text-decoration: underline;
text-underline-offset: 8px;
text-decoration-color: #606060;
transition: 0.3s;
}
.post-navigation-widget .post-card .info .author-name:hover{
text-decoration-color: white;
transition: 0.3s;
}
@media (max-width: 1200px) {
.post-navigation-widget .post-card .info {
opacity: 1;
}
}
@media (max-width: 767px) {
.post-navigation-widget {
display: none;
}
}