/* Header */
.wp-site-blocks {
    position: relative;
}

header {
    background-color: transparent;
    border: 0;
    position: absolute;
    top: 0;
    width: 100%;
  	z-index: 999;
}

/* 404 and search pages */
body.error404 header,
body.search header{
    background-color: #fff;
    position: relative;
}

/* Hero header */
.digiblocks-highlight {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, #fe5252, #dc8989);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
}

.digiblocks-highlight:after {
    animation: underlineGrow 2s ease-out;
    background: linear-gradient(135deg, #fe5252, #dc8989);
    border-radius: 4px;
    bottom: 8px;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
}

@keyframes underlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Homepage code example */
.code-window {
  background-color: #1e1e1e;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.code-header {
  background-color: #2d2d2d;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.code-dots {
  display: flex;
  gap: 0.3rem;
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-title {
  color: #ccc;
  font-size: 0.9rem;
}

.code-content {
  padding: 1.5rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.code-line {
  color: #d4d4d4;
  margin-bottom: 0.2rem;
}

.code-comment { color: #6a9955; }
.code-function { color: #dcdcaa; }
.code-string { color: #ce9178; }
.code-keyword { color: #569cd6; }