/*
 Theme Name: Blocksy Child
 Theme URI: https://creativethemes.com/blocksy/
 Author: Your Name
 Author URI: https://yourwebsite.com
 Description: Child theme for the Blocksy theme.
 Template: blocksy
 Version: 1.0
*/
/* --- Container --- */
/* --- Custom Post Navigation --- */
.custom-post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 24px;
	padding-bottom:40px;
	background:white;
}

/* Shared styles */
.custom-post-navigation .nav-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-in-out;
  background: #fafafa;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}



.custom-post-navigation .thumb-wrap {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
}

.custom-post-navigation .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-post-navigation .nav-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: #222;
}

.custom-post-navigation .arrow {
  color: #666;
  width: 20px;
  height: 20px;
}

/* --- Left align prev --- */

.custom-post-navigation .prev {
  justify-content: flex-start;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
			background-color:#ffc300;

}

.custom-post-navigation .prev:before {
    pointer-events: none;
    position: absolute;
    content: '';
    height: 0;
    width: 0;
    bottom: 0;
    left: 0;
    background: white;
  background: linear-gradient(
    45deg,
    #fff 45%,       /* white highlight */
    #edbb19 50%,    /* soft pale yellow */
    #efc745 56%,    /* medium golden */
    #fff9b0 80%     /* deeper gold shadow */
  );  box-shadow: -1px -1px 1px rgb(192 188 188 / 30%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: width, height;
    transition-property: width, height;
}

.custom-post-navigation .prev:hover:before, .custom-post-navigation .prev:focus:before, .custom-post-navigation .prev:active:before {
    width: 25px;
    height: 25px;
}


.custom-post-navigation .next {
    justify-content: flex-end;
  text-align: right;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
		background-color:#ffc300;

}
.custom-post-navigation .next:hover:before, .custom-post-navigation .next:focus:before,.custom-post-navigation .next:active:before {
    width: 25px;
    height: 25px;
}

.custom-post-navigation .next:before {
    pointer-events: none;
    position: absolute;
    content: '';
    height: 0;
    width: 0;
    bottom: 0;
    right: 0;
    background:linear-gradient(315deg, #fff 45%, /* soft pale yellow */ #edbb19 50%, /* medium golden */ #efc745 56%, /* deeper gold shadow */ #fff9b0 80%);
  box-shadow: -1px -1px 1px rgb(192 188 188 / 30%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: width, height;
    transition-property: width, height;
}


.custom-post-navigation .nav-arrow svg {
  vertical-align: middle;
  margin-top: 1px;
}


/* Responsive — still left/right */
@media (max-width: 768px) {
  .custom-post-navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .custom-post-navigation .prev,
  .custom-post-navigation .next {
    justify-content: space-between;
  }
}
