/* public/css/style.css */

:host,
:root {
  --mark-gradient: linear-gradient(
    to right,
    rgb(132, 38, 108.5),
    rgb(111.2, 57.1, 132.9),
    rgb(93.45, 63.5, 153.8),
    rgb(67.2, 71.6, 157.4)
  );
  --bd-gradient: linear-gradient(
    to right bottom,
    rgba(250, 250, 250, 1) 70%,
    rgba(255, 255, 255, 1) 50%
  );
  --bg-image: linear-gradient(
    to right bottom,
    rgba(200, 200, 200, 1) 30%,
    rgba(250, 250, 250, 1) 70%
  );
  --bg-image-before: linear-gradient(
    170deg,
    rgba(0, 0, 0, 0) 65%,
    rgba(0, 0, 0, 0.4) 90%
  );
}

a {
  color: var(--primary);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a,
a:hover {
  text-decoration: none;
}

mark {
  padding: 0;
  background: var(--mark-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.bd-masthead {
  position: relative;
  background-image: var(--bd-gradient);
}

.bg-image {
  background-color: rgba(0, 0, 0, 0.15);
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.bg-image:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--bg-image-before);
}

.text-line-clamp2,
.text-line-clamp3,
.text-line-clamp5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
  word-wrap: break-word;
  word-break: break-all;
}

.text-line-clamp3 {
  -webkit-line-clamp: 3;
}

.text-line-clamp5 {
  -webkit-line-clamp: 5;
}

.markdown-body {
  box-sizing: border-box;
}
