/* ============================================================
   STYLE-BOOK — Premium Notebook Style
   Selector: .ulse-book
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Handwritten:wght@400;500;600&display=swap');

.ulse-book {
  position: relative;
  font-family: "Noto Sans Handwritten", sans-serif;
  font-size: 20px;
  line-height: 1.9;
  color: #1c4a8f;

  max-width: 900px;
  margin: 40px auto;

  /* Spiral left + tear paper right + ruled lines + base */
  background:
    url("../img/spiral.webp") left top repeat-y,
    url("../img/paper.webp") right top repeat-y,
    transparent;

  background-size:
    90px auto,    /* spiral width (fully visible) */
    auto 220px,   /* paper tear height */
    auto auto,
    auto;

  border-radius: 10px;

  padding-top: 35px;
  padding-bottom: 35px;
  padding-left: 130px; /* extra space for full spiral + gutter */
  padding-right: 60px;

  /* keep edges visible (no card look) */
  overflow: visible;
}

/* Vertical guide near spiral */
.ulse-book::before {
  content: "";
  position: absolute;
  top: 0;
  left: 110px;
  width: 2px;
  height: 100%;
  background: rgba(0, 70, 200, 0.45);
}

/* Remove blocking left strip to show full spiral */
.ulse-book::after {
  display: none;
}

/* ------------------------------------------------------------
   Content
------------------------------------------------------------ */
.ulse-book article {
  position: relative;
  z-index: 1;
  padding-right: 30px;
  /* horizontal ruled lines only after the vertical guide */
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 60, 200, 0.14) 0px,
      rgba(0, 60, 200, 0.14) 1px,
      transparent 1px,
      transparent 34px
    );
  background-position: 0 0;
  background-repeat: repeat;
}

.ulse-book article p {
  margin: 0 0 18px 0;
  font-size: 20px;
  line-height: 1.9;
  color: #345382;
}

.ulse-book article h2,
.ulse-book article h3 {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 16px;
  color: #031f4a;
}

.ulse-book article ul,
.ulse-book article ol {
  margin: 18px 0 20px 0;
  padding-left: 30px;
}

.ulse-book article li {
  margin-bottom: 10px;
}

.ulse-book article a {
  color: #254c85;
  text-decoration: none;
  border-bottom: 1px dotted #0a4fb8;
}

.ulse-book article a:hover {
  color: #062f74;
  border-bottom-style: solid;
}

.ulse-book article strong {
  font-weight: 600;
  color: #042660;
}

.ulse-book article em {
  font-style: italic;
}

.ulse-book article,
.ulse-book article p,
.ulse-book article h2,
.ulse-book article h3,
.ulse-book article li {
  font-family: "Noto Sans Handwritten", sans-serif !important;
}
