* {
    box-sizing: border-box;
}

.gl-copy-clipboard {
    text-align: right;
}

.gl-copy-btn {
	background: #fff;
  border: 1px solid #e2e4e7;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  color: #646970;
  gap: 8px;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 5px;
  height: auto;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  svg {
    min-width: 18px;
    width: 18px;
    height: 18px;
  }

  &:hover {
    border-color: #0842a7;
    color: #0842a7;
    path {
      stroke: #0842a7;
    }
    
  }

  &.active {
    background: #0842a7;
    color: #fff;
    border-color: #0842a7;

    path {
      stroke: #fff;
    }
  }

  &:focus {
    outline: none;
    box-shadow: none;
  }
}
button.gl-copy-btn.pro {
    background: #d0d0d0;
    border: #f00;
    cursor: not-allowed;
}

.page-numbers {
    padding: 15px;
}

a.video-link {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #646970;
    border: 1px solid #e2e4e7;
    transition: all 0.3s ease;
}

.video-link:focus {
    outline: none;
    box-shadow: none;
}

a.video-link svg {
    width: 16px;
    height: 16px;
}

a.video-link:hover {
    border-color: #0842a7;
    color: #0842a7;
    svg {
        path {
            stroke: #0842a7;
        }
    }
}


.guten-pattern-categories {
    display: grid;
    grid-template-columns: repeat( 4, 1fr);
    gap: 20px;
}

a.guten-pattern-category {
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
}

a.guten-pattern-category h3 {
    margin: 0 0 10px;
    font-weight: 500;
}

a.guten-pattern-category p {
    margin: 0;
    opacity: 0.5;
}

a.guten-pattern-category img {
    margin-bottom: 10px;
	width: 24px;
}

a.guten-pattern-category:hover {
    border-color: #4f3aa8;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1024px) {
	.guten-pattern-categories {
		grid-template-columns: repeat( 2, 1fr);
	}
}


/* Mobile View */
@media (max-width: 600px){
	.wp-block-button.is-style-hover-shadow {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.guten-pattern-categories {
		grid-template-columns: repeat( 1, 1fr);
	}
	
    .gl-copy-btn {
        width: 100%;
        justify-content: center;
    }

    a.video-link {
        width: 100%;
        justify-content: center;
    }

    .rp-devices {
      display: none !important;
    }
}