/*
Theme Name: Astra Child
Description: Child theme for Astra
Author: Your Name
Template: astra
Version: 1.0.0
*/

@import url("../astra/style.css");




/* Base (anchor target) */
.custom-hover a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
}

/* Running border */
.custom-hover a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(90deg, #ffcc00 50%, transparent 50%) repeat-x,   /* TOP */
              linear-gradient(180deg, #ffcc00 50%, transparent 50%) repeat-y, /* RIGHT */
              linear-gradient(270deg, #ffcc00 50%, transparent 50%) repeat-x, /* BOTTOM */
              linear-gradient(0deg, #ffcc00 50%, transparent 50%) repeat-y;   /* LEFT */

  background-size: 200% 2px, 2px 200%, 200% 2px, 2px 200%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;

  opacity: 0;
}

/* Hover pe animation (ANTI-CLOCKWISE) */
.custom-hover a:hover::before {
  opacity: 1;
  animation: borderMove 2s linear infinite reverse;
}

/* Animation */
@keyframes borderMove {
  0% {
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  }
  100% {
    background-position: 200% 0, 100% 200%, -200% 100%, 0 -200%;
  }
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
	text-decoration: none !important;
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
/*     text-decoration: underline; */
}