.text-square h1,
.text-square p {
  position: relative;
  display: inline-block;
}

/* TOP LEFT */
.square-top h1::before,
.square-top h2::before,
.square-top p::before {
  content: "";
  position: absolute;
  left: -23px;
  top: -8px;
  width: 33px;
  height: 32px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='33' height='32' viewBox='0 0 33 32'><path d='M32.767 -0.000240182V4.39984H5.83898L5.83829 31.9998H0.767006L0.767006 0.000450352L32.767 -0.000240182Z' fill='%23A40000'/></svg>") no-repeat center center;
  background-size: contain;
  pointer-events: none;
}

/* BOTTOM RIGHT */
.square-bot h1::after,
.square-bot h2::before,
.square-bot p::after {
  content: "";
  position: absolute;
  right: -23px;
  bottom: -8px;
  width: 33px;
  height: 32px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='33' height='32' viewBox='0 0 33 32'><path d='M32.767 -0.000240182V4.39984H5.83898L5.83829 31.9998H0.767006L0.767006 0.000450352L32.767 -0.000240182Z' fill='%23A40000'/></svg>") no-repeat center center;
  background-size: contain;
  transform: rotate(180deg);
  pointer-events: none;
}

h2 {
	padding-top: 5px;
}

.gradient-h3 {
  position: relative;
  display: inline-block;
  z-index: 2;
  background: linear-gradient(90deg, #A40000, #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  isolation: isolate; /* 🔥 key fix */
}