/* Basic reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Arial, Helvetica, sans-serif; color: #000; background: #fff; }

/* Layout */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 240px;
  height: 100vh;
  border-right: 1px solid #e6e6e6;
  padding: 20px 16px;
  background: #fff;
}

.content {
  margin-left: 240px;
  padding: 28px 20px 48px;
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .content {
    margin-left: 0;
  }
}

/* Sidebar */
.sidebar__brand { margin-bottom: 18px; }
.sidebar__brandLink {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 18px;
}
.sidebar__sub { color: #444; font-size: 12px; margin-top: 4px; }

.sidebar__nav { display: grid; gap: 10px; margin-top: 16px; }
.sidebar__link {
  text-decoration: none;
  color: #0645ad;
  font-size: 16px;
}
.sidebar__link:hover { text-decoration: underline; }
.sidebar__link.is-active { color: #000; }

.sidebar__footer { position: absolute; bottom: 14px; left: 16px; right: 16px; }
@media (max-width: 900px) { .sidebar__footer { position: static; margin-top: 14px; } }
.sidebar__note { color: #666; font-size: 12px; }

/* Main page typography (aiming for LawOfOne roomy look) */
.hero {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 18px 0 6px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 10px 0 16px;
}

.hero__quote {
  max-width: 980px;
  margin: 0 auto 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #222;
}

.hero__cite {
  display: inline-block;
  margin-left: 6px;
  color: #555;
}

.hero__intro {
  max-width: 980px;
  margin: 10px auto;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.libraryIntro {
  margin-top: 40px;
}

/* Sections */
.browse {
  max-width: 980px;
  margin: 34px auto 0;
  padding-top: 6px;
}

.browse h2 {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 18px 0 10px;
}

.browse__meta {
  text-align: center;
  font-size: 12px;
  color: #444;
  margin: 0 0 16px;
}

.browse__more {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
}

.browse__more a { color: #0645ad; text-decoration: none; }
.browse__more a:hover { text-decoration: underline; }

/* Link grid like LawOfOne’s “browse by session” columns */
.linkGrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 10px 18px;
  justify-items: center;
  align-items: center;
}
.linkGrid--sessions{
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  justify-items: center;
}

.linkGrid--tight { grid-template-columns: repeat(3, minmax(160px, 1fr)); }

@media (max-width: 900px) {
  .linkGrid { grid-template-columns: repeat(3, minmax(90px, 1fr)); }
  .linkGrid--tight { grid-template-columns: repeat(1, minmax(220px, 1fr)); }
}

.gridLink {
  color: #0645ad;
  text-decoration: none;
  font-size: 14px;
}

.gridLink:hover { text-decoration: underline; }

/* Footer */
.siteFooter {
  max-width: 980px;
  margin: 44px auto 0;
  padding-top: 18px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 12px;
}
body::before {
  content: "";

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centered */

    width: 60vmin;
    height: 60vmin;

  background-image: url("assets/cross-watermark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.06; /* adjust 0.03–0.12 to taste */

  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  body::before {
    width: 40vmin;
    height: 40vmin;
}
}
